diff --git a/assets/icons.js b/assets/icons.js new file mode 100644 index 00000000..b79c9e89 --- /dev/null +++ b/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/assets/icons.svg b/assets/icons.svg new file mode 100644 index 00000000..7dead611 --- /dev/null +++ b/assets/icons.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/main.js b/assets/main.js index 7270cff8..d6f13886 100644 --- a/assets/main.js +++ b/assets/main.js @@ -1,8 +1,8 @@ "use strict"; -"use strict";(()=>{var Pe=Object.create;var ne=Object.defineProperty;var Ie=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=Ie(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Pe(_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),v=s.str.charAt(1),f;v in s.node.edges?f=s.node.edges[v]:(f=new t.TokenSet,s.node.edges[v]=f),s.str.length==1&&(f.final=!0),i.push({node:f,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.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}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()}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){let r=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=r}}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(()=>{Ne(t,e,n,r)},200));let i=!1;n.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Ve(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 Ne(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 v=document.createElement("li");v.classList.value=l.classes??"";let f=document.createElement("a");f.href=r.base+l.url,f.innerHTML=u+d,v.append(f),e.appendChild(v)}}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 Ve(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 Be={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Be[e])}var C=class{constructor(e){this.el=e.el,this.app=e.app}};var F="mousedown",pe="mousemove",B="mouseup",J={x:0,y:0},fe=!1,ee=!1,He=!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&&(He=!0,F="touchstart",pe="touchmove",B="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(pe,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(B,()=>{ee=!1});document.addEventListener("click",t=>{fe&&(t.preventDefault(),t.stopImmediatePropagation(),fe=!1)});var X=class extends C{constructor(e){super(e),this.className=this.el.dataset.toggle||"",this.el.addEventListener(B,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(F,n=>this.onDocumentPointerDown(n)),document.addEventListener(B,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 ve=document.head.appendChild(document.createElement("style"));ve.dataset.for="filters";var Y=class extends C{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()),ve.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } -`,this.handleValueChange()}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(),document.querySelectorAll(".tsd-index-section").forEach(e=>{e.style.display="block";let n=Array.from(e.querySelectorAll(".tsd-index-link")).every(r=>r.offsetParent==null);e.style.display=n?"none":"block"})}};var Z=class extends C{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,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(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.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.href===r.href&&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();})(); +"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: diff --git a/assets/style.css b/assets/style.css index 98a43779..778b9492 100644 --- a/assets/style.css +++ b/assets/style.css @@ -327,17 +327,14 @@ dd { } /* Footer */ -.tsd-generator { +footer { border-top: 1px solid var(--color-accent); padding-top: 1rem; padding-bottom: 1rem; max-height: 3.5rem; } - -.tsd-generator > p { - margin-top: 0; - margin-bottom: 0; - padding: 0 1rem; +.tsd-generator { + margin: 0 1em; } .container-main { @@ -405,7 +402,8 @@ dd { } body { background: var(--color-background); - font-family: "Segoe UI", sans-serif; + 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); } diff --git a/functions/default-1.html b/functions/default-1.html index 92dd2846..1270b6dd 100644 --- a/functions/default-1.html +++ b/functions/default-1.html @@ -1,9 +1,9 @@ -default | @nextcloud/moment

Function default

  • Parameters

    • Optional inp: MomentInput
    • Optional strict: boolean

      Strict parsing disables the deprecated fallback to the native Date constructor when +default | @nextcloud/moment

      Function default

      • Parameters

        • Optional inp: MomentInput
        • Optional strict: boolean

          Strict parsing disables the deprecated fallback to the native Date constructor when parsing a string.

          -

        Returns Moment

      • Parameters

        Returns Moment

      • Parameters

        • Optional inp: MomentInput
        • Optional format: MomentFormatSpecification
        • Optional strict: boolean

          Strict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.

          -

        Returns Moment

      • Parameters

        • Optional inp: MomentInput
        • Optional format: MomentFormatSpecification
        • Optional language: string
        • Optional strict: boolean

          Strict parsing requires that the format and input match exactly, including delimiters. +

        Returns Moment

      • Parameters

        • Optional inp: MomentInput
        • Optional format: MomentFormatSpecification
        • Optional language: string
        • Optional strict: boolean

          Strict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.

          -

        Returns Moment

      Generated using TypeDoc

      \ No newline at end of file +

    Returns Moment

\ No newline at end of file diff --git a/functions/default.calendarFormat.html b/functions/default.calendarFormat.html index ad85c085..05136ae2 100644 --- a/functions/default.calendarFormat.html +++ b/functions/default.calendarFormat.html @@ -1 +1 @@ -calendarFormat | @nextcloud/moment
  • Parameters

    Returns string

Generated using TypeDoc

\ No newline at end of file +calendarFormat | @nextcloud/moment
  • Parameters

    Returns string

\ No newline at end of file diff --git a/functions/default.defineLocale.html b/functions/default.defineLocale.html index 817eb478..ad5a7948 100644 --- a/functions/default.defineLocale.html +++ b/functions/default.defineLocale.html @@ -1 +1 @@ -defineLocale | @nextcloud/moment
  • Parameters

    Returns Locale

Generated using TypeDoc

\ No newline at end of file +defineLocale | @nextcloud/moment
  • Parameters

    Returns Locale

\ No newline at end of file diff --git a/functions/default.duration-1.html b/functions/default.duration-1.html index a414dd76..78c5bd11 100644 --- a/functions/default.duration-1.html +++ b/functions/default.duration-1.html @@ -1 +1 @@ -duration | @nextcloud/moment

Generated using TypeDoc

\ No newline at end of file +duration | @nextcloud/moment
\ No newline at end of file diff --git a/functions/default.invalid.html b/functions/default.invalid.html index bc0f25ce..cfffcfa1 100644 --- a/functions/default.invalid.html +++ b/functions/default.invalid.html @@ -1 +1 @@ -invalid | @nextcloud/moment

Generated using TypeDoc

\ No newline at end of file +invalid | @nextcloud/moment
\ No newline at end of file diff --git a/functions/default.isDate.html b/functions/default.isDate.html index 9bde62c5..c14b3053 100644 --- a/functions/default.isDate.html +++ b/functions/default.isDate.html @@ -1 +1 @@ -isDate | @nextcloud/moment
  • Parameters

    • m: any

    Returns m is Date

Generated using TypeDoc

\ No newline at end of file +isDate | @nextcloud/moment
  • Parameters

    • m: any

    Returns m is Date

\ No newline at end of file diff --git a/functions/default.isDuration.html b/functions/default.isDuration.html index ea0f7985..3570a079 100644 --- a/functions/default.isDuration.html +++ b/functions/default.isDuration.html @@ -1 +1 @@ -isDuration | @nextcloud/moment
  • Parameters

    • d: any

    Returns d is Duration

Generated using TypeDoc

\ No newline at end of file +isDuration | @nextcloud/moment
  • Parameters

    • d: any

    Returns d is Duration

\ No newline at end of file diff --git a/functions/default.isMoment.html b/functions/default.isMoment.html index 9aa9673b..59ef6dc1 100644 --- a/functions/default.isMoment.html +++ b/functions/default.isMoment.html @@ -1 +1 @@ -isMoment | @nextcloud/moment
  • Parameters

    • m: any

    Returns m is Moment

Generated using TypeDoc

\ No newline at end of file +isMoment | @nextcloud/moment
  • Parameters

    • m: any

    Returns m is Moment

\ No newline at end of file diff --git a/functions/default.lang.html b/functions/default.lang.html index a940537c..73cf84d7 100644 --- a/functions/default.lang.html +++ b/functions/default.lang.html @@ -1,3 +1,3 @@ -lang | @nextcloud/moment
  • Parameters

    • Optional language: string

    Returns string

    Deprecated

    in 2.8.0

    -
  • Parameters

    • Optional language: string
    • Optional definition: Locale

    Returns string

    Deprecated

    in 2.8.0

    -

Generated using TypeDoc

\ No newline at end of file +lang | @nextcloud/moment
  • Parameters

    • Optional language: string

    Returns string

    Deprecated

    in 2.8.0

    +
  • Parameters

    • Optional language: string
    • Optional definition: Locale

    Returns string

    Deprecated

    in 2.8.0

    +
\ No newline at end of file diff --git a/functions/default.locale-1.html b/functions/default.locale-1.html index 4f37ef20..cae08a23 100644 --- a/functions/default.locale-1.html +++ b/functions/default.locale-1.html @@ -1 +1 @@ -locale | @nextcloud/moment
  • Parameters

    • Optional language: string

    Returns string

  • Parameters

    • Optional language: string[]

    Returns string

  • Parameters

    Returns string

Generated using TypeDoc

\ No newline at end of file +locale | @nextcloud/moment
  • Parameters

    • Optional language: string

    Returns string

  • Parameters

    • Optional language: string[]

    Returns string

  • Parameters

    Returns string

\ No newline at end of file diff --git a/functions/default.localeData.html b/functions/default.localeData.html index 81f4d21f..8a452b05 100644 --- a/functions/default.localeData.html +++ b/functions/default.localeData.html @@ -1 +1 @@ -localeData | @nextcloud/moment
  • Parameters

    • Optional key: string | string[]

    Returns Locale

Generated using TypeDoc

\ No newline at end of file +localeData | @nextcloud/moment
  • Parameters

    • Optional key: string | string[]

    Returns Locale

\ No newline at end of file diff --git a/functions/default.locales.html b/functions/default.locales.html index 062eb20e..dc306014 100644 --- a/functions/default.locales.html +++ b/functions/default.locales.html @@ -1 +1 @@ -locales | @nextcloud/moment
  • Returns string[]

Generated using TypeDoc

\ No newline at end of file +locales | @nextcloud/moment
  • Returns string[]

\ No newline at end of file diff --git a/functions/default.max.html b/functions/default.max.html index 636e9d8f..25f23fbd 100644 --- a/functions/default.max.html +++ b/functions/default.max.html @@ -1 +1 @@ -max | @nextcloud/moment
  • Parameters

    Returns Moment

  • Parameters

    Returns Moment

Generated using TypeDoc

\ No newline at end of file +max | @nextcloud/moment
  • Parameters

    Returns Moment

  • Parameters

    Returns Moment

\ No newline at end of file diff --git a/functions/default.min.html b/functions/default.min.html index 39873225..9e202e65 100644 --- a/functions/default.min.html +++ b/functions/default.min.html @@ -1 +1 @@ -min | @nextcloud/moment
  • Parameters

    Returns Moment

  • Parameters

    Returns Moment

Generated using TypeDoc

\ No newline at end of file +min | @nextcloud/moment
  • Parameters

    Returns Moment

  • Parameters

    Returns Moment

\ No newline at end of file diff --git a/functions/default.months.html b/functions/default.months.html index e490054e..b744298a 100644 --- a/functions/default.months.html +++ b/functions/default.months.html @@ -1 +1 @@ -months | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

Generated using TypeDoc

\ No newline at end of file +months | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

\ No newline at end of file diff --git a/functions/default.monthsShort.html b/functions/default.monthsShort.html index 60874737..8ba5042a 100644 --- a/functions/default.monthsShort.html +++ b/functions/default.monthsShort.html @@ -1 +1 @@ -monthsShort | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

Generated using TypeDoc

\ No newline at end of file +monthsShort | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

\ No newline at end of file diff --git a/functions/default.normalizeUnits.html b/functions/default.normalizeUnits.html index b35ac9e8..bbf15cb3 100644 --- a/functions/default.normalizeUnits.html +++ b/functions/default.normalizeUnits.html @@ -1 +1 @@ -normalizeUnits | @nextcloud/moment
  • Parameters

    Returns string

Generated using TypeDoc

\ No newline at end of file +normalizeUnits | @nextcloud/moment
  • Parameters

    Returns string

\ No newline at end of file diff --git a/functions/default.now.html b/functions/default.now.html index 47426025..b39886be 100644 --- a/functions/default.now.html +++ b/functions/default.now.html @@ -1,2 +1,2 @@ -now | @nextcloud/moment
  • Returns unix time in milliseconds. Overwrite for profit.

    -

    Returns number

Generated using TypeDoc

\ No newline at end of file +now | @nextcloud/moment
  • Returns unix time in milliseconds. Overwrite for profit.

    +

    Returns number

\ No newline at end of file diff --git a/functions/default.parseTwoDigitYear.html b/functions/default.parseTwoDigitYear.html index e49f7fde..0c5a7664 100644 --- a/functions/default.parseTwoDigitYear.html +++ b/functions/default.parseTwoDigitYear.html @@ -1 +1 @@ -parseTwoDigitYear | @nextcloud/moment
  • Parameters

    • input: string

    Returns number

Generated using TypeDoc

\ No newline at end of file +parseTwoDigitYear | @nextcloud/moment
  • Parameters

    • input: string

    Returns number

\ No newline at end of file diff --git a/functions/default.parseZone.html b/functions/default.parseZone.html index 7a25da6c..7f47de88 100644 --- a/functions/default.parseZone.html +++ b/functions/default.parseZone.html @@ -1 +1 @@ -parseZone | @nextcloud/moment

Generated using TypeDoc

\ No newline at end of file +parseZone | @nextcloud/moment
\ No newline at end of file diff --git a/functions/default.relativeTimeRounding.html b/functions/default.relativeTimeRounding.html index 665315bb..f221218a 100644 --- a/functions/default.relativeTimeRounding.html +++ b/functions/default.relativeTimeRounding.html @@ -1 +1 @@ -relativeTimeRounding | @nextcloud/moment
  • Parameters

    • fn: ((num) => number)
        • (num): number
        • Parameters

          • num: number

          Returns number

    Returns boolean

  • Returns ((num) => number)

      • (num): number
      • Parameters

        • num: number

        Returns number

Generated using TypeDoc

\ No newline at end of file +relativeTimeRounding | @nextcloud/moment
  • Parameters

    • fn: ((num) => number)
        • (num): number
        • Parameters

          • num: number

          Returns number

    Returns boolean

  • Returns ((num) => number)

      • (num): number
      • Parameters

        • num: number

        Returns number

\ No newline at end of file diff --git a/functions/default.relativeTimeThreshold.html b/functions/default.relativeTimeThreshold.html index b043bdb6..6d945242 100644 --- a/functions/default.relativeTimeThreshold.html +++ b/functions/default.relativeTimeThreshold.html @@ -1 +1 @@ -relativeTimeThreshold | @nextcloud/moment

Function relativeTimeThreshold

  • Parameters

    • threshold: string

    Returns number | boolean

  • Parameters

    • threshold: string
    • limit: number

    Returns boolean

Generated using TypeDoc

\ No newline at end of file +relativeTimeThreshold | @nextcloud/moment

Function relativeTimeThreshold

  • Parameters

    • threshold: string

    Returns number | boolean

  • Parameters

    • threshold: string
    • limit: number

    Returns boolean

\ No newline at end of file diff --git a/functions/default.unix.html b/functions/default.unix.html index 1535baf1..334a2bb8 100644 --- a/functions/default.unix.html +++ b/functions/default.unix.html @@ -1 +1 @@ -unix | @nextcloud/moment
  • Parameters

    • timestamp: number

    Returns Moment

Generated using TypeDoc

\ No newline at end of file +unix | @nextcloud/moment
  • Parameters

    • timestamp: number

    Returns Moment

\ No newline at end of file diff --git a/functions/default.updateLocale.html b/functions/default.updateLocale.html index 259fb896..6f4d1232 100644 --- a/functions/default.updateLocale.html +++ b/functions/default.updateLocale.html @@ -1 +1 @@ -updateLocale | @nextcloud/moment
  • Parameters

    Returns Locale

Generated using TypeDoc

\ No newline at end of file +updateLocale | @nextcloud/moment
  • Parameters

    Returns Locale

\ No newline at end of file diff --git a/functions/default.utc.html b/functions/default.utc.html index 53e8cd4c..af9d395d 100644 --- a/functions/default.utc.html +++ b/functions/default.utc.html @@ -1,9 +1,9 @@ -utc | @nextcloud/moment
  • Parameters

    • Optional inp: MomentInput
    • Optional strict: boolean

      Strict parsing disables the deprecated fallback to the native Date constructor when +utc | @nextcloud/moment

      • Parameters

        • Optional inp: MomentInput
        • Optional strict: boolean

          Strict parsing disables the deprecated fallback to the native Date constructor when parsing a string.

          -

        Returns Moment

      • Parameters

        Returns Moment

      • Parameters

        • Optional inp: MomentInput
        • Optional format: MomentFormatSpecification
        • Optional strict: boolean

          Strict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.

          -

        Returns Moment

      • Parameters

        • Optional inp: MomentInput
        • Optional format: MomentFormatSpecification
        • Optional language: string
        • Optional strict: boolean

          Strict parsing requires that the format and input match exactly, including delimiters. +

        Returns Moment

      • Parameters

        • Optional inp: MomentInput
        • Optional format: MomentFormatSpecification
        • Optional language: string
        • Optional strict: boolean

          Strict parsing requires that the format and input match exactly, including delimiters. Strict parsing is frequently the best parsing option. For more information about choosing strict vs forgiving parsing, see the parsing guide.

          -

        Returns Moment

      Generated using TypeDoc

      \ No newline at end of file +

    Returns Moment

\ No newline at end of file diff --git a/functions/default.weekdays.html b/functions/default.weekdays.html index 511fe013..9124f305 100644 --- a/functions/default.weekdays.html +++ b/functions/default.weekdays.html @@ -1 +1 @@ -weekdays | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean
    • format: string

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • format: string
    • index: number

    Returns string

Generated using TypeDoc

\ No newline at end of file +weekdays | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean
    • format: string

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • format: string
    • index: number

    Returns string

\ No newline at end of file diff --git a/functions/default.weekdaysMin.html b/functions/default.weekdaysMin.html index 92158cbd..c21913a2 100644 --- a/functions/default.weekdaysMin.html +++ b/functions/default.weekdaysMin.html @@ -1 +1 @@ -weekdaysMin | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean
    • format: string

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • format: string
    • index: number

    Returns string

Generated using TypeDoc

\ No newline at end of file +weekdaysMin | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean
    • format: string

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • format: string
    • index: number

    Returns string

\ No newline at end of file diff --git a/functions/default.weekdaysShort.html b/functions/default.weekdaysShort.html index 68e1f918..4d4c6fd5 100644 --- a/functions/default.weekdaysShort.html +++ b/functions/default.weekdaysShort.html @@ -1 +1 @@ -weekdaysShort | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean
    • format: string

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • format: string
    • index: number

    Returns string

Generated using TypeDoc

\ No newline at end of file +weekdaysShort | @nextcloud/moment
  • Returns string[]

  • Parameters

    • index: number

    Returns string

  • Parameters

    • format: string

    Returns string[]

  • Parameters

    • format: string
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • index: number

    Returns string

  • Parameters

    • localeSorted: boolean
    • format: string

    Returns string[]

  • Parameters

    • localeSorted: boolean
    • format: string
    • index: number

    Returns string

\ No newline at end of file diff --git a/hierarchy.html b/hierarchy.html index 1ce7c728..44567e6d 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1 +1 @@ -@nextcloud/moment

Generated using TypeDoc

\ No newline at end of file +@nextcloud/moment
\ No newline at end of file diff --git a/index.html b/index.html index 33b90f5d..d8dd5433 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -@nextcloud/moment

@nextcloud/moment

@nextcloud/moment

Build Status +@nextcloud/moment

@nextcloud/moment

@nextcloud/moment

Build Status npm Documentation

Customized moment.js for Nextcloud automatic locale detection.

@@ -6,4 +6,4 @@

Usage

import moment from '@nextcloud/moment'

moment(1578511019).format('L')
// -> returns date formatted in format according to user locale
-

Generated using TypeDoc

\ No newline at end of file +
\ No newline at end of file diff --git a/interfaces/default.CalendarSpec.html b/interfaces/default.CalendarSpec.html index 433ae28c..d3810ffd 100644 --- a/interfaces/default.CalendarSpec.html +++ b/interfaces/default.CalendarSpec.html @@ -1,7 +1,7 @@ -CalendarSpec | @nextcloud/moment
interface CalendarSpec {
    lastDay?: CalendarSpecVal;
    lastWeek?: CalendarSpecVal;
    nextDay?: CalendarSpecVal;
    nextWeek?: CalendarSpecVal;
    sameDay?: CalendarSpecVal;
    sameElse?: CalendarSpecVal;
    [x: string]: CalendarSpecVal | undefined;
}

Indexable

[x: string]: CalendarSpecVal | undefined

Properties

lastDay?: CalendarSpecVal
lastWeek?: CalendarSpecVal
nextDay?: CalendarSpecVal
nextWeek?: CalendarSpecVal
sameDay?: CalendarSpecVal
sameElse?: CalendarSpecVal

Generated using TypeDoc

\ No newline at end of file +CalendarSpec | @nextcloud/moment
interface CalendarSpec {
    lastDay?: CalendarSpecVal;
    lastWeek?: CalendarSpecVal;
    nextDay?: CalendarSpecVal;
    nextWeek?: CalendarSpecVal;
    sameDay?: CalendarSpecVal;
    sameElse?: CalendarSpecVal;
    [x: string]: CalendarSpecVal | undefined;
}

Indexable

[x: string]: CalendarSpecVal | undefined

Properties

lastDay?: CalendarSpecVal
lastWeek?: CalendarSpecVal
nextDay?: CalendarSpecVal
nextWeek?: CalendarSpecVal
sameDay?: CalendarSpecVal
sameElse?: CalendarSpecVal
\ No newline at end of file diff --git a/interfaces/default.Duration.html b/interfaces/default.Duration.html index 86192ada..10f31d4b 100644 --- a/interfaces/default.Duration.html +++ b/interfaces/default.Duration.html @@ -1,33 +1,33 @@ -Duration | @nextcloud/moment
interface Duration {
    abs(): Duration;
    add(inp?, unit?): Duration;
    as(units): number;
    asDays(): number;
    asHours(): number;
    asMilliseconds(): number;
    asMinutes(): number;
    asMonths(): number;
    asSeconds(): number;
    asWeeks(): number;
    asYears(): number;
    clone(): Duration;
    days(): number;
    get(units): number;
    hours(): number;
    humanize(argWithSuffix?, argThresholds?): string;
    humanize(argThresholds?): string;
    isValid(): boolean;
    lang(locale): Moment;
    lang(): Locale;
    locale(): string;
    locale(locale): Duration;
    localeData(): Locale;
    milliseconds(): number;
    minutes(): number;
    months(): number;
    seconds(): number;
    subtract(inp?, unit?): Duration;
    toISOString(): string;
    toIsoString(): string;
    toJSON(): string;
    weeks(): number;
    years(): number;
}

Methods

  • Returns Duration

  • Parameters

    Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns Duration

  • Returns number

  • Parameters

    Returns number

  • Returns number

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Returns boolean

  • Parameters

    Returns Moment

    Deprecated

    since version 2.8.0

    -
  • Returns Locale

    Deprecated

    since version 2.8.0

    -
  • Returns string

  • Parameters

    Returns Duration

  • Returns Locale

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns string

  • Returns string

    Deprecated

  • Returns string

  • Returns number

  • Returns number

Generated using TypeDoc

\ No newline at end of file +Duration | @nextcloud/moment
interface Duration {
    abs(): Duration;
    add(inp?, unit?): Duration;
    as(units): number;
    asDays(): number;
    asHours(): number;
    asMilliseconds(): number;
    asMinutes(): number;
    asMonths(): number;
    asSeconds(): number;
    asWeeks(): number;
    asYears(): number;
    clone(): Duration;
    days(): number;
    get(units): number;
    hours(): number;
    humanize(argWithSuffix?, argThresholds?): string;
    humanize(argThresholds?): string;
    isValid(): boolean;
    lang(locale): Moment;
    lang(): Locale;
    locale(): string;
    locale(locale): Duration;
    localeData(): Locale;
    milliseconds(): number;
    minutes(): number;
    months(): number;
    seconds(): number;
    subtract(inp?, unit?): Duration;
    toISOString(): string;
    toIsoString(): string;
    toJSON(): string;
    weeks(): number;
    years(): number;
}

Methods

  • Returns Duration

  • Parameters

    Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns Duration

  • Returns number

  • Parameters

    Returns number

  • Returns number

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Returns boolean

  • Parameters

    Returns Moment

    Deprecated

    since version 2.8.0

    +
  • Returns Locale

    Deprecated

    since version 2.8.0

    +
  • Returns string

  • Parameters

    Returns Duration

  • Returns Locale

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns string

  • Returns string

    Deprecated

  • Returns string

  • Returns number

  • Returns number

\ No newline at end of file diff --git a/interfaces/default.DurationInputObject.html b/interfaces/default.DurationInputObject.html index fd3eab91..97e310ab 100644 --- a/interfaces/default.DurationInputObject.html +++ b/interfaces/default.DurationInputObject.html @@ -1,31 +1,31 @@ -DurationInputObject | @nextcloud/moment

Interface DurationInputObject

interface DurationInputObject {
    D?: number;
    M?: number;
    Q?: number;
    d?: number;
    date?: number;
    dates?: number;
    day?: number;
    days?: number;
    h?: number;
    hour?: number;
    hours?: number;
    m?: number;
    millisecond?: number;
    milliseconds?: number;
    minute?: number;
    minutes?: number;
    month?: number;
    months?: number;
    ms?: number;
    quarter?: number;
    quarters?: number;
    s?: number;
    second?: number;
    seconds?: number;
    w?: number;
    week?: number;
    weeks?: number;
    y?: number;
    year?: number;
    years?: number;
}

Hierarchy (view full)

Properties

D?: number
M?: number
Q?: number
d?: number
date?: number
dates?: number
day?: number
days?: number
h?: number
hour?: number
hours?: number
m?: number
millisecond?: number
milliseconds?: number
minute?: number
minutes?: number
month?: number
months?: number
ms?: number
quarter?: number
quarters?: number
s?: number
second?: number
seconds?: number
w?: number
week?: number
weeks?: number
y?: number
year?: number
years?: number

Generated using TypeDoc

\ No newline at end of file +DurationInputObject | @nextcloud/moment

Interface DurationInputObject

interface DurationInputObject {
    D?: number;
    M?: number;
    Q?: number;
    d?: number;
    date?: number;
    dates?: number;
    day?: number;
    days?: number;
    h?: number;
    hour?: number;
    hours?: number;
    m?: number;
    millisecond?: number;
    milliseconds?: number;
    minute?: number;
    minutes?: number;
    month?: number;
    months?: number;
    ms?: number;
    quarter?: number;
    quarters?: number;
    s?: number;
    second?: number;
    seconds?: number;
    w?: number;
    week?: number;
    weeks?: number;
    y?: number;
    year?: number;
    years?: number;
}

Hierarchy (view full)

Properties

D?: number
M?: number
Q?: number
d?: number
date?: number
dates?: number
day?: number
days?: number
h?: number
hour?: number
hours?: number
m?: number
millisecond?: number
milliseconds?: number
minute?: number
minutes?: number
month?: number
months?: number
ms?: number
quarter?: number
quarters?: number
s?: number
second?: number
seconds?: number
w?: number
week?: number
weeks?: number
y?: number
year?: number
years?: number
\ No newline at end of file diff --git a/interfaces/default.FromTo.html b/interfaces/default.FromTo.html index 6cf73d74..843e064b 100644 --- a/interfaces/default.FromTo.html +++ b/interfaces/default.FromTo.html @@ -1,3 +1,3 @@ -FromTo | @nextcloud/moment
interface FromTo {
    from: MomentInput;
    to: MomentInput;
}

Properties

from -to -

Properties

Generated using TypeDoc

\ No newline at end of file +FromTo | @nextcloud/moment
interface FromTo {
    from: MomentInput;
    to: MomentInput;
}

Properties

from +to +

Properties

\ No newline at end of file diff --git a/interfaces/default.Locale.html b/interfaces/default.Locale.html index 5fcc5adb..6b9b0ca3 100644 --- a/interfaces/default.Locale.html +++ b/interfaces/default.Locale.html @@ -1,27 +1,27 @@ -Locale | @nextcloud/moment
interface Locale {
    calendar(key?, m?, now?): string;
    firstDayOfWeek(): number;
    firstDayOfYear(): number;
    invalidDate(): string;
    isPM(input): boolean;
    longDateFormat(key): string;
    meridiem(hour, minute, isLower): string;
    months(): string[];
    months(m, format?): string;
    monthsParse(monthName, format, strict): number;
    monthsRegex(strict): RegExp;
    monthsShort(): string[];
    monthsShort(m, format?): string;
    monthsShortRegex(strict): RegExp;
    ordinal(n): string;
    pastFuture(diff, absRelTime): string;
    postformat(inp): string;
    preparse(inp): string;
    relativeTime(n, withoutSuffix, key, isFuture): string;
    set(config): void;
    week(m): number;
    weekdays(): string[];
    weekdays(m, format?): string;
    weekdaysMin(): string[];
    weekdaysMin(m): string;
    weekdaysMinRegex(strict): RegExp;
    weekdaysParse(weekdayName, format, strict): number;
    weekdaysRegex(strict): RegExp;
    weekdaysShort(): string[];
    weekdaysShort(m): string;
    weekdaysShortRegex(strict): RegExp;
}

Methods

  • Parameters

    Returns string

  • Returns number

  • Returns number

  • Returns string

  • Parameters

    • input: string

    Returns boolean

  • Parameters

    Returns string

  • Parameters

    • hour: number
    • minute: number
    • isLower: boolean

    Returns string

  • Returns string[]

  • Parameters

    • m: Moment
    • Optional format: string

    Returns string

  • Parameters

    • monthName: string
    • format: string
    • strict: boolean

    Returns number

  • Parameters

    • strict: boolean

    Returns RegExp

  • Returns string[]

  • Parameters

    • m: Moment
    • Optional format: string

    Returns string

  • Parameters

    • strict: boolean

    Returns RegExp

  • Parameters

    • n: number

    Returns string

  • Parameters

    • diff: number
    • absRelTime: string

    Returns string

  • Parameters

    • inp: string

    Returns string

  • Parameters

    • inp: string

    Returns string

  • Parameters

    Returns string

  • Parameters

    • config: Object

    Returns void

  • Parameters

    Returns number

  • Returns string[]

  • Parameters

    • m: Moment
    • Optional format: string

    Returns string

  • Returns string[]

  • Parameters

    Returns string

  • Parameters

    • strict: boolean

    Returns RegExp

  • Parameters

    • weekdayName: string
    • format: string
    • strict: boolean

    Returns number

  • Parameters

    • strict: boolean

    Returns RegExp

  • Returns string[]

  • Parameters

    Returns string

  • Parameters

    • strict: boolean

    Returns RegExp

Generated using TypeDoc

\ No newline at end of file +Locale | @nextcloud/moment
interface Locale {
    calendar(key?, m?, now?): string;
    firstDayOfWeek(): number;
    firstDayOfYear(): number;
    invalidDate(): string;
    isPM(input): boolean;
    longDateFormat(key): string;
    meridiem(hour, minute, isLower): string;
    months(): string[];
    months(m, format?): string;
    monthsParse(monthName, format, strict): number;
    monthsRegex(strict): RegExp;
    monthsShort(): string[];
    monthsShort(m, format?): string;
    monthsShortRegex(strict): RegExp;
    ordinal(n): string;
    pastFuture(diff, absRelTime): string;
    postformat(inp): string;
    preparse(inp): string;
    relativeTime(n, withoutSuffix, key, isFuture): string;
    set(config): void;
    week(m): number;
    weekdays(): string[];
    weekdays(m, format?): string;
    weekdaysMin(): string[];
    weekdaysMin(m): string;
    weekdaysMinRegex(strict): RegExp;
    weekdaysParse(weekdayName, format, strict): number;
    weekdaysRegex(strict): RegExp;
    weekdaysShort(): string[];
    weekdaysShort(m): string;
    weekdaysShortRegex(strict): RegExp;
}

Methods

  • Parameters

    Returns string

  • Returns number

  • Returns number

  • Returns string

  • Parameters

    • input: string

    Returns boolean

  • Parameters

    Returns string

  • Parameters

    • hour: number
    • minute: number
    • isLower: boolean

    Returns string

  • Returns string[]

  • Parameters

    • m: Moment
    • Optional format: string

    Returns string

  • Parameters

    • monthName: string
    • format: string
    • strict: boolean

    Returns number

  • Parameters

    • strict: boolean

    Returns RegExp

  • Returns string[]

  • Parameters

    • m: Moment
    • Optional format: string

    Returns string

  • Parameters

    • strict: boolean

    Returns RegExp

  • Parameters

    • n: number

    Returns string

  • Parameters

    • diff: number
    • absRelTime: string

    Returns string

  • Parameters

    • inp: string

    Returns string

  • Parameters

    • inp: string

    Returns string

  • Parameters

    Returns string

  • Parameters

    • config: Object

    Returns void

  • Parameters

    Returns number

  • Returns string[]

  • Parameters

    • m: Moment
    • Optional format: string

    Returns string

  • Returns string[]

  • Parameters

    Returns string

  • Parameters

    • strict: boolean

    Returns RegExp

  • Parameters

    • weekdayName: string
    • format: string
    • strict: boolean

    Returns number

  • Parameters

    • strict: boolean

    Returns RegExp

  • Returns string[]

  • Parameters

    Returns string

  • Parameters

    • strict: boolean

    Returns RegExp

\ No newline at end of file diff --git a/interfaces/default.LocaleSpecification.html b/interfaces/default.LocaleSpecification.html index 18f4d0d7..9a01ee0b 100644 --- a/interfaces/default.LocaleSpecification.html +++ b/interfaces/default.LocaleSpecification.html @@ -1,16 +1,16 @@ -LocaleSpecification | @nextcloud/moment

Interface LocaleSpecification

interface LocaleSpecification {
    calendar?: CalendarSpec;
    invalidDate?: string;
    isPM?: ((input) => boolean);
    longDateFormat?: LongDateFormatSpec;
    meridiem?: ((hour, minute, isLower) => string);
    meridiemParse?: RegExp;
    months?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
    monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
    ordinal?: ((n) => string);
    ordinalParse?: RegExp;
    relativeTime?: RelativeTimeSpec;
    week?: WeekSpec;
    weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
    weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn;
    weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn;
    [x: string]: any;
}

Indexable

[x: string]: any

Properties

calendar?: CalendarSpec
invalidDate?: string
isPM?: ((input) => boolean)

Type declaration

    • (input): boolean
    • Parameters

      • input: string

      Returns boolean

longDateFormat?: LongDateFormatSpec
meridiem?: ((hour, minute, isLower) => string)

Type declaration

    • (hour, minute, isLower): string
    • Parameters

      • hour: number
      • minute: number
      • isLower: boolean

      Returns string

meridiemParse?: RegExp
months?: string[] | StandaloneFormatSpec | MonthWeekdayFn
monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn
ordinal?: ((n) => string)

Type declaration

    • (n): string
    • Parameters

      • n: number

      Returns string

ordinalParse?: RegExp
relativeTime?: RelativeTimeSpec
week?: WeekSpec
weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn
weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn
weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn

Generated using TypeDoc

\ No newline at end of file +LocaleSpecification | @nextcloud/moment

Interface LocaleSpecification

interface LocaleSpecification {
    calendar?: CalendarSpec;
    invalidDate?: string;
    isPM?: ((input) => boolean);
    longDateFormat?: LongDateFormatSpec;
    meridiem?: ((hour, minute, isLower) => string);
    meridiemParse?: RegExp;
    months?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
    monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
    ordinal?: ((n) => string);
    ordinalParse?: RegExp;
    relativeTime?: RelativeTimeSpec;
    week?: WeekSpec;
    weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn;
    weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn;
    weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn;
    [x: string]: any;
}

Indexable

[x: string]: any

Properties

calendar?: CalendarSpec
invalidDate?: string
isPM?: ((input) => boolean)

Type declaration

    • (input): boolean
    • Parameters

      • input: string

      Returns boolean

longDateFormat?: LongDateFormatSpec
meridiem?: ((hour, minute, isLower) => string)

Type declaration

    • (hour, minute, isLower): string
    • Parameters

      • hour: number
      • minute: number
      • isLower: boolean

      Returns string

meridiemParse?: RegExp
months?: string[] | StandaloneFormatSpec | MonthWeekdayFn
monthsShort?: string[] | StandaloneFormatSpec | MonthWeekdayFn
ordinal?: ((n) => string)

Type declaration

    • (n): string
    • Parameters

      • n: number

      Returns string

ordinalParse?: RegExp
relativeTime?: RelativeTimeSpec
week?: WeekSpec
weekdays?: string[] | StandaloneFormatSpec | MonthWeekdayFn
weekdaysMin?: string[] | StandaloneFormatSpec | WeekdaySimpleFn
weekdaysShort?: string[] | StandaloneFormatSpec | WeekdaySimpleFn
\ No newline at end of file diff --git a/interfaces/default.LongDateFormatSpec.html b/interfaces/default.LongDateFormatSpec.html index 3143f0cc..8fe14c2c 100644 --- a/interfaces/default.LongDateFormatSpec.html +++ b/interfaces/default.LongDateFormatSpec.html @@ -1,13 +1,13 @@ -LongDateFormatSpec | @nextcloud/moment

Interface LongDateFormatSpec

interface LongDateFormatSpec {
    L: string;
    LL: string;
    LLL: string;
    LLLL: string;
    LT: string;
    LTS: string;
    l?: string;
    ll?: string;
    lll?: string;
    llll?: string;
    lt?: string;
    lts?: string;
}

Properties

L -LL -LLL -LLLL -LT -LTS -l? -ll? -lll? -llll? -lt? -lts? -

Properties

L: string
LL: string
LLL: string
LLLL: string
LT: string
LTS: string
l?: string
ll?: string
lll?: string
llll?: string
lt?: string
lts?: string

Generated using TypeDoc

\ No newline at end of file +LongDateFormatSpec | @nextcloud/moment

Interface LongDateFormatSpec

interface LongDateFormatSpec {
    L: string;
    LL: string;
    LLL: string;
    LLLL: string;
    LT: string;
    LTS: string;
    l?: string;
    ll?: string;
    lll?: string;
    llll?: string;
    lt?: string;
    lts?: string;
}

Properties

L +LL +LLL +LLLL +LT +LTS +l? +ll? +lll? +llll? +lt? +lts? +

Properties

L: string
LL: string
LLL: string
LLLL: string
LT: string
LTS: string
l?: string
ll?: string
lll?: string
llll?: string
lt?: string
lts?: string
\ No newline at end of file diff --git a/interfaces/default.Moment.html b/interfaces/default.Moment.html index 329241bc..aa99729c 100644 --- a/interfaces/default.Moment.html +++ b/interfaces/default.Moment.html @@ -1,117 +1,117 @@ -Moment | @nextcloud/moment
interface Moment {
    constructor: Function;
    add(amount?, unit?): Moment;
    add(unit, amount): Moment;
    calendar(): string;
    calendar(formats): string;
    calendar(time?, formats?): string;
    clone(): Moment;
    creationData(): MomentCreationData;
    date(d): Moment;
    date(): number;
    dates(d): Moment;
    dates(): number;
    day(d): Moment;
    day(): number;
    dayOfYear(): number;
    dayOfYear(d): Moment;
    days(d): Moment;
    days(): number;
    daysInMonth(): number;
    diff(b, unitOfTime?, precise?): number;
    endOf(unitOfTime): Moment;
    format(format?): string;
    from(inp, suffix?): string;
    fromNow(withoutSuffix?): string;
    get(unit): number;
    hasAlignedHourOffset(other?): boolean;
    hasOwnProperty(v): boolean;
    hour(h): Moment;
    hour(): number;
    hours(h): Moment;
    hours(): number;
    inspect(): string;
    invalidAt(): number;
    isAfter(inp?, granularity?): boolean;
    isBefore(inp?, granularity?): boolean;
    isBetween(a, b, granularity?, inclusivity?): boolean;
    isDST(): boolean;
    isDSTShifted(): boolean;
    isLeapYear(): boolean;
    isLocal(): boolean;
    isPrototypeOf(v): boolean;
    isSame(inp?, granularity?): boolean;
    isSameOrAfter(inp?, granularity?): boolean;
    isSameOrBefore(inp?, granularity?): boolean;
    isUTC(): boolean;
    isUtc(): boolean;
    isUtcOffset(): boolean;
    isValid(): boolean;
    isoWeek(): number;
    isoWeek(d): Moment;
    isoWeekYear(): number;
    isoWeekYear(d): Moment;
    isoWeekday(): number;
    isoWeekday(d): Moment;
    isoWeeks(): number;
    isoWeeks(d): Moment;
    isoWeeksInISOWeekYear(): number;
    isoWeeksInYear(): number;
    lang(language): Moment;
    lang(): Locale;
    local(keepLocalTime?): Moment;
    locale(): string;
    locale(locale): Moment;
    localeData(): Locale;
    max(inp?, format?, strict?): Moment;
    max(inp?, format?, language?, strict?): Moment;
    millisecond(ms): Moment;
    millisecond(): number;
    milliseconds(ms): Moment;
    milliseconds(): number;
    min(inp?, format?, strict?): Moment;
    min(inp?, format?, language?, strict?): Moment;
    minute(m): Moment;
    minute(): number;
    minutes(m): Moment;
    minutes(): number;
    month(M): Moment;
    month(): number;
    months(M): Moment;
    months(): number;
    parseZone(): Moment;
    parsingFlags(): MomentParsingFlags;
    propertyIsEnumerable(v): boolean;
    quarter(): number;
    quarter(q): Moment;
    quarters(): number;
    quarters(q): Moment;
    second(s): Moment;
    second(): number;
    seconds(s): Moment;
    seconds(): number;
    set(unit, value): Moment;
    set(objectLiteral): Moment;
    startOf(unitOfTime): Moment;
    subtract(amount?, unit?): Moment;
    subtract(unit, amount): Moment;
    to(inp, suffix?): string;
    toArray(): [number, number, number, number, number, number, number];
    toDate(): Date;
    toISOString(keepOffset?): string;
    toJSON(): string;
    toLocaleString(): string;
    toNow(withoutPrefix?): string;
    toObject(): MomentObjectOutput;
    toString(): string;
    unix(): number;
    utc(keepLocalTime?): Moment;
    utcOffset(): number;
    utcOffset(b, keepLocalTime?): Moment;
    valueOf(): number;
    week(): number;
    week(d): Moment;
    weekYear(): number;
    weekYear(d): Moment;
    weekday(): number;
    weekday(d): Moment;
    weeks(): number;
    weeks(d): Moment;
    weeksInYear(): number;
    year(y): Moment;
    year(): number;
    years(y): Moment;
    years(): number;
    zone(): number;
    zone(b): Moment;
    zoneAbbr(): string;
    zoneName(): string;
}

Hierarchy

  • Object
    • Moment

Properties

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

-

Methods

  • Returns string

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Returns Moment

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

    Deprecated

    use date(d)

    -
  • Returns number

    Deprecated

    use date()

    -
  • Parameters

    • d: string | number

    Returns Moment

  • Returns number

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Parameters

    • d: string | number

    Returns Moment

  • Returns number

  • Returns number

  • Parameters

    Returns number

  • Parameters

    Returns Moment

  • Parameters

    • Optional format: string

    Returns string

  • Parameters

    Returns string

  • Parameters

    • Optional withoutSuffix: boolean

    Returns string

  • Parameters

    Returns number

  • Parameters

    Returns boolean

  • Determines whether an object has a property with the specified name.

    -

    Parameters

    • v: PropertyKey

      A property name.

      -

    Returns boolean

  • Parameters

    • h: number

    Returns Moment

  • Returns number

  • Parameters

    • h: number

    Returns Moment

  • Returns number

  • Returns string

  • Returns number

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns boolean

  • Returns boolean

    Deprecated

    no reliable implementation

    -
  • Returns boolean

  • Returns boolean

  • Determines whether an object exists in another object's prototype chain.

    -

    Parameters

    • v: Object

      Another object whose prototype chain is to be checked.

      -

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns boolean

  • Returns boolean

    Deprecated

    use isUTC

    -
  • Returns boolean

  • Returns boolean

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: string | number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Returns number

  • Parameters

    Returns Moment

    Deprecated

    as of 2.8.0, use locale

    -
  • Returns Locale

    Deprecated

    as of 2.8.0, use locale

    -
  • Parameters

    • Optional keepLocalTime: boolean

    Returns Moment

  • Returns string

  • Parameters

    Returns Moment

  • Returns Locale

  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    -
  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    -
  • Parameters

    • ms: number

    Returns Moment

  • Returns number

  • Parameters

    • ms: number

    Returns Moment

  • Returns number

  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    -
  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    -
  • Parameters

    • m: number

    Returns Moment

  • Returns number

  • Parameters

    • m: number

    Returns Moment

  • Returns number

  • Parameters

    • M: string | number

    Returns Moment

  • Returns number

  • Parameters

    • M: string | number

    Returns Moment

    Deprecated

    use month(M)

    -
  • Returns number

    Deprecated

    use month()

    -
  • Returns Moment

  • Determines whether a specified property is enumerable.

    -

    Parameters

    • v: PropertyKey

      A property name.

      -

    Returns boolean

  • Returns number

  • Parameters

    • q: number

    Returns Moment

  • Returns number

  • Parameters

    • q: number

    Returns Moment

  • Parameters

    • s: number

    Returns Moment

  • Returns number

  • Parameters

    • s: number

    Returns Moment

  • Returns number

  • Parameters

    • unit: All
    • value: number

    Returns Moment

  • Parameters

    Returns Moment

  • Parameters

    Returns Moment

  • Parameters

    Returns string

  • Returns [number, number, number, number, number, number, number]

  • Returns Date

  • Parameters

    • Optional keepOffset: boolean

    Returns string

  • Returns string

  • Returns a date converted to a string using the current locale.

    -

    Returns string

  • Parameters

    • Optional withoutPrefix: boolean

    Returns string

  • Returns a string representation of an object.

    -

    Returns string

  • Returns number

  • Parameters

    • Optional keepLocalTime: boolean

    Returns Moment

  • Returns number

  • Parameters

    • b: string | number
    • Optional keepLocalTime: boolean

    Returns Moment

  • Returns number

    Unix timestamp in milliseconds

    -
  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • y: number

    Returns Moment

  • Returns number

  • Parameters

    • y: number

    Returns Moment

    Deprecated

    use year(y)

    -
  • Returns number

    Deprecated

    use year()

    -
  • Returns number

    Deprecated

    in favor of utcOffset

    -
  • Parameters

    • b: string | number

    Returns Moment

  • Returns string

  • Returns string

Generated using TypeDoc

\ No newline at end of file +Moment | @nextcloud/moment
interface Moment {
    constructor: Function;
    add(amount?, unit?): Moment;
    add(unit, amount): Moment;
    calendar(): string;
    calendar(formats): string;
    calendar(time?, formats?): string;
    clone(): Moment;
    creationData(): MomentCreationData;
    date(d): Moment;
    date(): number;
    dates(d): Moment;
    dates(): number;
    day(d): Moment;
    day(): number;
    dayOfYear(): number;
    dayOfYear(d): Moment;
    days(d): Moment;
    days(): number;
    daysInMonth(): number;
    diff(b, unitOfTime?, precise?): number;
    endOf(unitOfTime): Moment;
    format(format?): string;
    from(inp, suffix?): string;
    fromNow(withoutSuffix?): string;
    get(unit): number;
    hasAlignedHourOffset(other?): boolean;
    hasOwnProperty(v): boolean;
    hour(h): Moment;
    hour(): number;
    hours(h): Moment;
    hours(): number;
    inspect(): string;
    invalidAt(): number;
    isAfter(inp?, granularity?): boolean;
    isBefore(inp?, granularity?): boolean;
    isBetween(a, b, granularity?, inclusivity?): boolean;
    isDST(): boolean;
    isDSTShifted(): boolean;
    isLeapYear(): boolean;
    isLocal(): boolean;
    isPrototypeOf(v): boolean;
    isSame(inp?, granularity?): boolean;
    isSameOrAfter(inp?, granularity?): boolean;
    isSameOrBefore(inp?, granularity?): boolean;
    isUTC(): boolean;
    isUtc(): boolean;
    isUtcOffset(): boolean;
    isValid(): boolean;
    isoWeek(): number;
    isoWeek(d): Moment;
    isoWeekYear(): number;
    isoWeekYear(d): Moment;
    isoWeekday(): number;
    isoWeekday(d): Moment;
    isoWeeks(): number;
    isoWeeks(d): Moment;
    isoWeeksInISOWeekYear(): number;
    isoWeeksInYear(): number;
    lang(language): Moment;
    lang(): Locale;
    local(keepLocalTime?): Moment;
    locale(): string;
    locale(locale): Moment;
    localeData(): Locale;
    max(inp?, format?, strict?): Moment;
    max(inp?, format?, language?, strict?): Moment;
    millisecond(ms): Moment;
    millisecond(): number;
    milliseconds(ms): Moment;
    milliseconds(): number;
    min(inp?, format?, strict?): Moment;
    min(inp?, format?, language?, strict?): Moment;
    minute(m): Moment;
    minute(): number;
    minutes(m): Moment;
    minutes(): number;
    month(M): Moment;
    month(): number;
    months(M): Moment;
    months(): number;
    parseZone(): Moment;
    parsingFlags(): MomentParsingFlags;
    propertyIsEnumerable(v): boolean;
    quarter(): number;
    quarter(q): Moment;
    quarters(): number;
    quarters(q): Moment;
    second(s): Moment;
    second(): number;
    seconds(s): Moment;
    seconds(): number;
    set(unit, value): Moment;
    set(objectLiteral): Moment;
    startOf(unitOfTime): Moment;
    subtract(amount?, unit?): Moment;
    subtract(unit, amount): Moment;
    to(inp, suffix?): string;
    toArray(): [number, number, number, number, number, number, number];
    toDate(): Date;
    toISOString(keepOffset?): string;
    toJSON(): string;
    toLocaleString(): string;
    toNow(withoutPrefix?): string;
    toObject(): MomentObjectOutput;
    toString(): string;
    unix(): number;
    utc(keepLocalTime?): Moment;
    utcOffset(): number;
    utcOffset(b, keepLocalTime?): Moment;
    valueOf(): number;
    week(): number;
    week(d): Moment;
    weekYear(): number;
    weekYear(d): Moment;
    weekday(): number;
    weekday(d): Moment;
    weeks(): number;
    weeks(d): Moment;
    weeksInYear(): number;
    year(y): Moment;
    year(): number;
    years(y): Moment;
    years(): number;
    zone(): number;
    zone(b): Moment;
    zoneAbbr(): string;
    zoneName(): string;
}

Hierarchy

  • Object
    • Moment

Properties

constructor: Function

The initial value of Object.prototype.constructor is the standard built-in Object constructor.

+

Methods

  • Returns string

  • Parameters

    Returns string

  • Parameters

    Returns string

  • Returns Moment

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

    Deprecated

    use date(d)

    +
  • Returns number

    Deprecated

    use date()

    +
  • Parameters

    • d: string | number

    Returns Moment

  • Returns number

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Parameters

    • d: string | number

    Returns Moment

  • Returns number

  • Returns number

  • Parameters

    Returns number

  • Parameters

    Returns Moment

  • Parameters

    • Optional format: string

    Returns string

  • Parameters

    Returns string

  • Parameters

    • Optional withoutSuffix: boolean

    Returns string

  • Parameters

    Returns number

  • Parameters

    Returns boolean

  • Determines whether an object has a property with the specified name.

    +

    Parameters

    • v: PropertyKey

      A property name.

      +

    Returns boolean

  • Parameters

    • h: number

    Returns Moment

  • Returns number

  • Parameters

    • h: number

    Returns Moment

  • Returns number

  • Returns string

  • Returns number

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns boolean

  • Returns boolean

    Deprecated

    no reliable implementation

    +
  • Returns boolean

  • Returns boolean

  • Determines whether an object exists in another object's prototype chain.

    +

    Parameters

    • v: Object

      Another object whose prototype chain is to be checked.

      +

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns boolean

  • Returns boolean

    Deprecated

    use isUTC

    +
  • Returns boolean

  • Returns boolean

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: string | number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Returns number

  • Parameters

    Returns Moment

    Deprecated

    as of 2.8.0, use locale

    +
  • Returns Locale

    Deprecated

    as of 2.8.0, use locale

    +
  • Parameters

    • Optional keepLocalTime: boolean

    Returns Moment

  • Returns string

  • Parameters

    Returns Moment

  • Returns Locale

  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    +
  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    +
  • Parameters

    • ms: number

    Returns Moment

  • Returns number

  • Parameters

    • ms: number

    Returns Moment

  • Returns number

  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    +
  • Parameters

    Returns Moment

    Deprecated

    as of 2.7.0, use moment.min/max

    +
  • Parameters

    • m: number

    Returns Moment

  • Returns number

  • Parameters

    • m: number

    Returns Moment

  • Returns number

  • Parameters

    • M: string | number

    Returns Moment

  • Returns number

  • Parameters

    • M: string | number

    Returns Moment

    Deprecated

    use month(M)

    +
  • Returns number

    Deprecated

    use month()

    +
  • Returns Moment

  • Determines whether a specified property is enumerable.

    +

    Parameters

    • v: PropertyKey

      A property name.

      +

    Returns boolean

  • Returns number

  • Parameters

    • q: number

    Returns Moment

  • Returns number

  • Parameters

    • q: number

    Returns Moment

  • Parameters

    • s: number

    Returns Moment

  • Returns number

  • Parameters

    • s: number

    Returns Moment

  • Returns number

  • Parameters

    • unit: All
    • value: number

    Returns Moment

  • Parameters

    Returns Moment

  • Parameters

    Returns Moment

  • Parameters

    Returns string

  • Returns [number, number, number, number, number, number, number]

  • Returns Date

  • Parameters

    • Optional keepOffset: boolean

    Returns string

  • Returns string

  • Returns a date converted to a string using the current locale.

    +

    Returns string

  • Parameters

    • Optional withoutPrefix: boolean

    Returns string

  • Returns a string representation of an object.

    +

    Returns string

  • Returns number

  • Parameters

    • Optional keepLocalTime: boolean

    Returns Moment

  • Returns number

  • Parameters

    • b: string | number
    • Optional keepLocalTime: boolean

    Returns Moment

  • Returns number

    Unix timestamp in milliseconds

    +
  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • d: number

    Returns Moment

  • Returns number

  • Parameters

    • y: number

    Returns Moment

  • Returns number

  • Parameters

    • y: number

    Returns Moment

    Deprecated

    use year(y)

    +
  • Returns number

    Deprecated

    use year()

    +
  • Returns number

    Deprecated

    in favor of utcOffset

    +
  • Parameters

    • b: string | number

    Returns Moment

  • Returns string

  • Returns string

\ No newline at end of file diff --git a/interfaces/default.MomentBuiltinFormat.html b/interfaces/default.MomentBuiltinFormat.html index 62994c51..acf5acbe 100644 --- a/interfaces/default.MomentBuiltinFormat.html +++ b/interfaces/default.MomentBuiltinFormat.html @@ -1,2 +1,2 @@ -MomentBuiltinFormat | @nextcloud/moment

Interface MomentBuiltinFormat

interface MomentBuiltinFormat {
    __momentBuiltinFormatBrand: any;
}

Properties

__momentBuiltinFormatBrand: any

Generated using TypeDoc

\ No newline at end of file +MomentBuiltinFormat | @nextcloud/moment

Interface MomentBuiltinFormat

interface MomentBuiltinFormat {
    __momentBuiltinFormatBrand: any;
}

Properties

__momentBuiltinFormatBrand: any
\ No newline at end of file diff --git a/interfaces/default.MomentCreationData.html b/interfaces/default.MomentCreationData.html index 44839f0a..484f5513 100644 --- a/interfaces/default.MomentCreationData.html +++ b/interfaces/default.MomentCreationData.html @@ -1,6 +1,6 @@ -MomentCreationData | @nextcloud/moment

Interface MomentCreationData

interface MomentCreationData {
    format?: MomentFormatSpecification;
    input: MomentInput;
    isUTC: boolean;
    locale: Locale;
    strict?: boolean;
}

Properties

Properties

isUTC: boolean
locale: Locale
strict?: boolean

Generated using TypeDoc

\ No newline at end of file +MomentCreationData | @nextcloud/moment

Interface MomentCreationData

interface MomentCreationData {
    format?: MomentFormatSpecification;
    input: MomentInput;
    isUTC: boolean;
    locale: Locale;
    strict?: boolean;
}

Properties

Properties

isUTC: boolean
locale: Locale
strict?: boolean
\ No newline at end of file diff --git a/interfaces/default.MomentInputObject.html b/interfaces/default.MomentInputObject.html index c5e3d44e..05054b5c 100644 --- a/interfaces/default.MomentInputObject.html +++ b/interfaces/default.MomentInputObject.html @@ -1,25 +1,25 @@ -MomentInputObject | @nextcloud/moment
interface MomentInputObject {
    D?: number;
    M?: number;
    d?: number;
    date?: number;
    dates?: number;
    day?: number;
    days?: number;
    h?: number;
    hour?: number;
    hours?: number;
    m?: number;
    millisecond?: number;
    milliseconds?: number;
    minute?: number;
    minutes?: number;
    month?: number;
    months?: number;
    ms?: number;
    s?: number;
    second?: number;
    seconds?: number;
    y?: number;
    year?: number;
    years?: number;
}

Hierarchy (view full)

Properties

D?: number
M?: number
d?: number
date?: number
dates?: number
day?: number
days?: number
h?: number
hour?: number
hours?: number
m?: number
millisecond?: number
milliseconds?: number
minute?: number
minutes?: number
month?: number
months?: number
ms?: number
s?: number
second?: number
seconds?: number
y?: number
year?: number
years?: number

Generated using TypeDoc

\ No newline at end of file +MomentInputObject | @nextcloud/moment
interface MomentInputObject {
    D?: number;
    M?: number;
    d?: number;
    date?: number;
    dates?: number;
    day?: number;
    days?: number;
    h?: number;
    hour?: number;
    hours?: number;
    m?: number;
    millisecond?: number;
    milliseconds?: number;
    minute?: number;
    minutes?: number;
    month?: number;
    months?: number;
    ms?: number;
    s?: number;
    second?: number;
    seconds?: number;
    y?: number;
    year?: number;
    years?: number;
}

Hierarchy (view full)

Properties

D?: number
M?: number
d?: number
date?: number
dates?: number
day?: number
days?: number
h?: number
hour?: number
hours?: number
m?: number
millisecond?: number
milliseconds?: number
minute?: number
minutes?: number
month?: number
months?: number
ms?: number
s?: number
second?: number
seconds?: number
y?: number
year?: number
years?: number
\ No newline at end of file diff --git a/interfaces/default.MomentLongDateFormat.html b/interfaces/default.MomentLongDateFormat.html index e8419f71..9aee78a8 100644 --- a/interfaces/default.MomentLongDateFormat.html +++ b/interfaces/default.MomentLongDateFormat.html @@ -1,13 +1,13 @@ -MomentLongDateFormat | @nextcloud/moment

Interface MomentLongDateFormat

interface MomentLongDateFormat {
    L: string;
    LL: string;
    LLL: string;
    LLLL: string;
    LT: string;
    LTS: string;
    l?: string;
    ll?: string;
    lll?: string;
    llll?: string;
    lt?: string;
    lts?: string;
}

Properties

L -LL -LLL -LLLL -LT -LTS -l? -ll? -lll? -llll? -lt? -lts? -

Properties

L: string
LL: string
LLL: string
LLLL: string
LT: string
LTS: string
l?: string
ll?: string
lll?: string
llll?: string
lt?: string
lts?: string

Generated using TypeDoc

\ No newline at end of file +MomentLongDateFormat | @nextcloud/moment

Interface MomentLongDateFormat

interface MomentLongDateFormat {
    L: string;
    LL: string;
    LLL: string;
    LLLL: string;
    LT: string;
    LTS: string;
    l?: string;
    ll?: string;
    lll?: string;
    llll?: string;
    lt?: string;
    lts?: string;
}

Properties

L +LL +LLL +LLLL +LT +LTS +l? +ll? +lll? +llll? +lt? +lts? +

Properties

L: string
LL: string
LLL: string
LLLL: string
LT: string
LTS: string
l?: string
ll?: string
lll?: string
llll?: string
lt?: string
lts?: string
\ No newline at end of file diff --git a/interfaces/default.MomentObjectOutput.html b/interfaces/default.MomentObjectOutput.html index 0335fea8..96f2b579 100644 --- a/interfaces/default.MomentObjectOutput.html +++ b/interfaces/default.MomentObjectOutput.html @@ -1,8 +1,8 @@ -MomentObjectOutput | @nextcloud/moment

Interface MomentObjectOutput

interface MomentObjectOutput {
    date: number;
    hours: number;
    milliseconds: number;
    minutes: number;
    months: number;
    seconds: number;
    years: number;
}

Properties

date: number
hours: number
milliseconds: number
minutes: number
months: number
seconds: number
years: number

Generated using TypeDoc

\ No newline at end of file +MomentObjectOutput | @nextcloud/moment

Interface MomentObjectOutput

interface MomentObjectOutput {
    date: number;
    hours: number;
    milliseconds: number;
    minutes: number;
    months: number;
    seconds: number;
    years: number;
}

Properties

date: number
hours: number
milliseconds: number
minutes: number
months: number
seconds: number
years: number
\ No newline at end of file diff --git a/interfaces/default.MomentParsingFlags.html b/interfaces/default.MomentParsingFlags.html index fb5d8bb4..fdb401ef 100644 --- a/interfaces/default.MomentParsingFlags.html +++ b/interfaces/default.MomentParsingFlags.html @@ -1,13 +1,13 @@ -MomentParsingFlags | @nextcloud/moment

Interface MomentParsingFlags

interface MomentParsingFlags {
    charsLeftOver: number;
    empty: boolean;
    invalidFormat: boolean;
    invalidMonth: null | string;
    iso: boolean;
    meridiem: null | string;
    nullInput: boolean;
    overflow: number;
    parsedDateParts: any[];
    unusedInput: string[];
    unusedTokens: string[];
    userInvalidated: boolean;
}

Properties

charsLeftOver: number
empty: boolean
invalidFormat: boolean
invalidMonth: null | string
iso: boolean
meridiem: null | string
nullInput: boolean
overflow: number
parsedDateParts: any[]
unusedInput: string[]
unusedTokens: string[]
userInvalidated: boolean

Generated using TypeDoc

\ No newline at end of file +MomentParsingFlags | @nextcloud/moment

Interface MomentParsingFlags

interface MomentParsingFlags {
    charsLeftOver: number;
    empty: boolean;
    invalidFormat: boolean;
    invalidMonth: null | string;
    iso: boolean;
    meridiem: null | string;
    nullInput: boolean;
    overflow: number;
    parsedDateParts: any[];
    unusedInput: string[];
    unusedTokens: string[];
    userInvalidated: boolean;
}

Properties

charsLeftOver: number
empty: boolean
invalidFormat: boolean
invalidMonth: null | string
iso: boolean
meridiem: null | string
nullInput: boolean
overflow: number
parsedDateParts: any[]
unusedInput: string[]
unusedTokens: string[]
userInvalidated: boolean
\ No newline at end of file diff --git a/interfaces/default.MomentParsingFlagsOpt.html b/interfaces/default.MomentParsingFlagsOpt.html index 959fe649..29bf8bfd 100644 --- a/interfaces/default.MomentParsingFlagsOpt.html +++ b/interfaces/default.MomentParsingFlagsOpt.html @@ -1,13 +1,13 @@ -MomentParsingFlagsOpt | @nextcloud/moment

Interface MomentParsingFlagsOpt

interface MomentParsingFlagsOpt {
    charsLeftOver?: number;
    empty?: boolean;
    invalidFormat?: boolean;
    invalidMonth?: string;
    iso?: boolean;
    meridiem?: null | string;
    nullInput?: boolean;
    overflow?: number;
    parsedDateParts?: any[];
    unusedInput?: string[];
    unusedTokens?: string[];
    userInvalidated?: boolean;
}

Properties

charsLeftOver?: number
empty?: boolean
invalidFormat?: boolean
invalidMonth?: string
iso?: boolean
meridiem?: null | string
nullInput?: boolean
overflow?: number
parsedDateParts?: any[]
unusedInput?: string[]
unusedTokens?: string[]
userInvalidated?: boolean

Generated using TypeDoc

\ No newline at end of file +MomentParsingFlagsOpt | @nextcloud/moment

Interface MomentParsingFlagsOpt

interface MomentParsingFlagsOpt {
    charsLeftOver?: number;
    empty?: boolean;
    invalidFormat?: boolean;
    invalidMonth?: string;
    iso?: boolean;
    meridiem?: null | string;
    nullInput?: boolean;
    overflow?: number;
    parsedDateParts?: any[];
    unusedInput?: string[];
    unusedTokens?: string[];
    userInvalidated?: boolean;
}

Properties

charsLeftOver?: number
empty?: boolean
invalidFormat?: boolean
invalidMonth?: string
iso?: boolean
meridiem?: null | string
nullInput?: boolean
overflow?: number
parsedDateParts?: any[]
unusedInput?: string[]
unusedTokens?: string[]
userInvalidated?: boolean
\ No newline at end of file diff --git a/interfaces/default.MomentRelativeTime.html b/interfaces/default.MomentRelativeTime.html index 6726af59..0845a7f5 100644 --- a/interfaces/default.MomentRelativeTime.html +++ b/interfaces/default.MomentRelativeTime.html @@ -1,15 +1,15 @@ -MomentRelativeTime | @nextcloud/moment

Interface MomentRelativeTime

interface MomentRelativeTime {
    M: any;
    MM: any;
    d: any;
    dd: any;
    future: any;
    h: any;
    hh: any;
    m: any;
    mm: any;
    past: any;
    s: any;
    ss: any;
    y: any;
    yy: any;
}

Properties

M -MM -d -dd -future -h -hh -m -mm -past -s -ss -y -yy -

Properties

M: any
MM: any
d: any
dd: any
future: any
h: any
hh: any
m: any
mm: any
past: any
s: any
ss: any
y: any
yy: any

Generated using TypeDoc

\ No newline at end of file +MomentRelativeTime | @nextcloud/moment

Interface MomentRelativeTime

interface MomentRelativeTime {
    M: any;
    MM: any;
    d: any;
    dd: any;
    future: any;
    h: any;
    hh: any;
    m: any;
    mm: any;
    past: any;
    s: any;
    ss: any;
    y: any;
    yy: any;
}

Properties

M +MM +d +dd +future +h +hh +m +mm +past +s +ss +y +yy +

Properties

M: any
MM: any
d: any
dd: any
future: any
h: any
hh: any
m: any
mm: any
past: any
s: any
ss: any
y: any
yy: any
\ No newline at end of file diff --git a/interfaces/default.MomentSetObject.html b/interfaces/default.MomentSetObject.html index d12da07e..346829a7 100644 --- a/interfaces/default.MomentSetObject.html +++ b/interfaces/default.MomentSetObject.html @@ -1,49 +1,49 @@ -MomentSetObject | @nextcloud/moment
interface MomentSetObject {
    D?: number;
    DDD?: number;
    E?: number;
    GG?: number;
    M?: number;
    Q?: number;
    W?: number;
    d?: number;
    date?: number;
    dates?: number;
    day?: number;
    dayOfYear?: number;
    dayOfYears?: number;
    days?: number;
    e?: number;
    gg?: number;
    h?: number;
    hour?: number;
    hours?: number;
    isoWeek?: number;
    isoWeekYear?: number;
    isoWeekYears?: number;
    isoWeekday?: number;
    isoWeekdays?: number;
    isoWeeks?: number;
    m?: number;
    millisecond?: number;
    milliseconds?: number;
    minute?: number;
    minutes?: number;
    month?: number;
    months?: number;
    ms?: number;
    quarter?: number;
    quarters?: number;
    s?: number;
    second?: number;
    seconds?: number;
    w?: number;
    week?: number;
    weekYear?: number;
    weekYears?: number;
    weekday?: number;
    weekdays?: number;
    weeks?: number;
    y?: number;
    year?: number;
    years?: number;
}

Hierarchy (view full)

Properties

D?: number
DDD?: number
E?: number
GG?: number
M?: number
Q?: number
W?: number
d?: number
date?: number
dates?: number
day?: number
dayOfYear?: number
dayOfYears?: number
days?: number
e?: number
gg?: number
h?: number
hour?: number
hours?: number
isoWeek?: number
isoWeekYear?: number
isoWeekYears?: number
isoWeekday?: number
isoWeekdays?: number
isoWeeks?: number
m?: number
millisecond?: number
milliseconds?: number
minute?: number
minutes?: number
month?: number
months?: number
ms?: number
quarter?: number
quarters?: number
s?: number
second?: number
seconds?: number
w?: number
week?: number
weekYear?: number
weekYears?: number
weekday?: number
weekdays?: number
weeks?: number
y?: number
year?: number
years?: number

Generated using TypeDoc

\ No newline at end of file +MomentSetObject | @nextcloud/moment
interface MomentSetObject {
    D?: number;
    DDD?: number;
    E?: number;
    GG?: number;
    M?: number;
    Q?: number;
    W?: number;
    d?: number;
    date?: number;
    dates?: number;
    day?: number;
    dayOfYear?: number;
    dayOfYears?: number;
    days?: number;
    e?: number;
    gg?: number;
    h?: number;
    hour?: number;
    hours?: number;
    isoWeek?: number;
    isoWeekYear?: number;
    isoWeekYears?: number;
    isoWeekday?: number;
    isoWeekdays?: number;
    isoWeeks?: number;
    m?: number;
    millisecond?: number;
    milliseconds?: number;
    minute?: number;
    minutes?: number;
    month?: number;
    months?: number;
    ms?: number;
    quarter?: number;
    quarters?: number;
    s?: number;
    second?: number;
    seconds?: number;
    w?: number;
    week?: number;
    weekYear?: number;
    weekYears?: number;
    weekday?: number;
    weekdays?: number;
    weeks?: number;
    y?: number;
    year?: number;
    years?: number;
}

Hierarchy (view full)

Properties

D?: number
DDD?: number
E?: number
GG?: number
M?: number
Q?: number
W?: number
d?: number
date?: number
dates?: number
day?: number
dayOfYear?: number
dayOfYears?: number
days?: number
e?: number
gg?: number
h?: number
hour?: number
hours?: number
isoWeek?: number
isoWeekYear?: number
isoWeekYears?: number
isoWeekday?: number
isoWeekdays?: number
isoWeeks?: number
m?: number
millisecond?: number
milliseconds?: number
minute?: number
minutes?: number
month?: number
months?: number
ms?: number
quarter?: number
quarters?: number
s?: number
second?: number
seconds?: number
w?: number
week?: number
weekYear?: number
weekYears?: number
weekday?: number
weekdays?: number
weeks?: number
y?: number
year?: number
years?: number
\ No newline at end of file diff --git a/interfaces/default.RelativeTimeSpec.html b/interfaces/default.RelativeTimeSpec.html index d7af3477..48805dca 100644 --- a/interfaces/default.RelativeTimeSpec.html +++ b/interfaces/default.RelativeTimeSpec.html @@ -1,17 +1,17 @@ -RelativeTimeSpec | @nextcloud/moment
interface RelativeTimeSpec {
    M?: RelativeTimeSpecVal;
    MM?: RelativeTimeSpecVal;
    d?: RelativeTimeSpecVal;
    dd?: RelativeTimeSpecVal;
    future?: RelativeTimeFuturePastVal;
    h?: RelativeTimeSpecVal;
    hh?: RelativeTimeSpecVal;
    m?: RelativeTimeSpecVal;
    mm?: RelativeTimeSpecVal;
    past?: RelativeTimeFuturePastVal;
    s?: RelativeTimeSpecVal;
    ss?: RelativeTimeSpecVal;
    w?: RelativeTimeSpecVal;
    ww?: RelativeTimeSpecVal;
    y?: RelativeTimeSpecVal;
    yy?: RelativeTimeSpecVal;
}

Properties

M? -MM? -d? -dd? -future? -h? -hh? -m? -mm? -past? -s? -ss? -w? -ww? -y? -yy? -

Properties

Generated using TypeDoc

\ No newline at end of file +RelativeTimeSpec | @nextcloud/moment
interface RelativeTimeSpec {
    M?: RelativeTimeSpecVal;
    MM?: RelativeTimeSpecVal;
    d?: RelativeTimeSpecVal;
    dd?: RelativeTimeSpecVal;
    future?: RelativeTimeFuturePastVal;
    h?: RelativeTimeSpecVal;
    hh?: RelativeTimeSpecVal;
    m?: RelativeTimeSpecVal;
    mm?: RelativeTimeSpecVal;
    past?: RelativeTimeFuturePastVal;
    s?: RelativeTimeSpecVal;
    ss?: RelativeTimeSpecVal;
    w?: RelativeTimeSpecVal;
    ww?: RelativeTimeSpecVal;
    y?: RelativeTimeSpecVal;
    yy?: RelativeTimeSpecVal;
}

Properties

M? +MM? +d? +dd? +future? +h? +hh? +m? +mm? +past? +s? +ss? +w? +ww? +y? +yy? +

Properties

\ No newline at end of file diff --git a/interfaces/default.StandaloneFormatSpec.html b/interfaces/default.StandaloneFormatSpec.html index da3bb797..3af117cb 100644 --- a/interfaces/default.StandaloneFormatSpec.html +++ b/interfaces/default.StandaloneFormatSpec.html @@ -1,4 +1,4 @@ -StandaloneFormatSpec | @nextcloud/moment

Interface StandaloneFormatSpec

interface StandaloneFormatSpec {
    format: string[];
    isFormat?: RegExp;
    standalone: string[];
}

Properties

format: string[]
isFormat?: RegExp
standalone: string[]

Generated using TypeDoc

\ No newline at end of file +StandaloneFormatSpec | @nextcloud/moment

Interface StandaloneFormatSpec

interface StandaloneFormatSpec {
    format: string[];
    isFormat?: RegExp;
    standalone: string[];
}

Properties

format: string[]
isFormat?: RegExp
standalone: string[]
\ No newline at end of file diff --git a/interfaces/default.WeekSpec.html b/interfaces/default.WeekSpec.html index 5a938d3b..14823c24 100644 --- a/interfaces/default.WeekSpec.html +++ b/interfaces/default.WeekSpec.html @@ -1,3 +1,3 @@ -WeekSpec | @nextcloud/moment
interface WeekSpec {
    dow: number;
    doy?: number;
}

Properties

Properties

dow: number
doy?: number

Generated using TypeDoc

\ No newline at end of file +WeekSpec | @nextcloud/moment
interface WeekSpec {
    dow: number;
    doy?: number;
}

Properties

Properties

dow: number
doy?: number
\ No newline at end of file diff --git a/interfaces/default.argThresholdOpts.html b/interfaces/default.argThresholdOpts.html index d7d364d1..88cbefda 100644 --- a/interfaces/default.argThresholdOpts.html +++ b/interfaces/default.argThresholdOpts.html @@ -1,8 +1,8 @@ -argThresholdOpts | @nextcloud/moment
interface argThresholdOpts {
    M?: number;
    d?: number;
    h?: number;
    m?: number;
    s?: number;
    ss?: number;
    w?: null | number;
}

Properties

M? -d? -h? -m? -s? -ss? -w? -

Properties

M?: number
d?: number
h?: number
m?: number
s?: number
ss?: number
w?: null | number

Generated using TypeDoc

\ No newline at end of file +argThresholdOpts | @nextcloud/moment
interface argThresholdOpts {
    M?: number;
    d?: number;
    h?: number;
    m?: number;
    s?: number;
    ss?: number;
    w?: null | number;
}

Properties

M? +d? +h? +m? +s? +ss? +w? +

Properties

M?: number
d?: number
h?: number
m?: number
s?: number
ss?: number
w?: null | number
\ No newline at end of file diff --git a/modules.html b/modules.html index c3c5e54f..e60424b6 100644 --- a/modules.html +++ b/modules.html @@ -1,3 +1,3 @@ -@nextcloud/moment

@nextcloud/moment

Index

Namespaces

Functions

Generated using TypeDoc

\ No newline at end of file +@nextcloud/moment

@nextcloud/moment

Index

Namespaces

Functions

\ No newline at end of file diff --git a/modules/default.html b/modules/default.html index 7a356763..85f0bf2b 100644 --- a/modules/default.html +++ b/modules/default.html @@ -1,72 +1,72 @@ -default | @nextcloud/moment

Generated using TypeDoc

\ No newline at end of file +default | @nextcloud/moment
\ No newline at end of file diff --git a/modules/default.unitOfTime.html b/modules/default.unitOfTime.html index df79db9a..843e6fcd 100644 --- a/modules/default.unitOfTime.html +++ b/modules/default.unitOfTime.html @@ -1,11 +1,11 @@ -unitOfTime | @nextcloud/moment

Index

Type Aliases

Generated using TypeDoc

\ No newline at end of file +unitOfTime | @nextcloud/moment

Index

Type Aliases

\ No newline at end of file diff --git a/types/default.CalendarKey.html b/types/default.CalendarKey.html index 48ddeda5..0fd7dffc 100644 --- a/types/default.CalendarKey.html +++ b/types/default.CalendarKey.html @@ -1 +1 @@ -CalendarKey | @nextcloud/moment
CalendarKey: "sameDay" | "nextDay" | "lastDay" | "nextWeek" | "lastWeek" | "sameElse" | string

Generated using TypeDoc

\ No newline at end of file +CalendarKey | @nextcloud/moment
CalendarKey: "sameDay" | "nextDay" | "lastDay" | "nextWeek" | "lastWeek" | "sameElse" | string
\ No newline at end of file diff --git a/types/default.CalendarSpecVal.html b/types/default.CalendarSpecVal.html index 3e15fca8..6540d3a1 100644 --- a/types/default.CalendarSpecVal.html +++ b/types/default.CalendarSpecVal.html @@ -1 +1 @@ -CalendarSpecVal | @nextcloud/moment

Type alias CalendarSpecVal

CalendarSpecVal: string | ((m?, now?) => string)

Type declaration

    • (m?, now?): string
    • Parameters

      Returns string

Generated using TypeDoc

\ No newline at end of file +CalendarSpecVal | @nextcloud/moment

Type alias CalendarSpecVal

CalendarSpecVal: string | ((m?, now?) => string)

Type declaration

    • (m?, now?): string
    • Parameters

      Returns string

\ No newline at end of file diff --git a/types/default.DurationInputArg1.html b/types/default.DurationInputArg1.html index 3574fdf3..1a767eb5 100644 --- a/types/default.DurationInputArg1.html +++ b/types/default.DurationInputArg1.html @@ -1 +1 @@ -DurationInputArg1 | @nextcloud/moment

Type alias DurationInputArg1

DurationInputArg1: Duration | number | string | FromTo | DurationInputObject | null | undefined

Generated using TypeDoc

\ No newline at end of file +DurationInputArg1 | @nextcloud/moment

Type alias DurationInputArg1

DurationInputArg1: Duration | number | string | FromTo | DurationInputObject | null | undefined
\ No newline at end of file diff --git a/types/default.DurationInputArg2.html b/types/default.DurationInputArg2.html index 6608c09f..6b5b9d24 100644 --- a/types/default.DurationInputArg2.html +++ b/types/default.DurationInputArg2.html @@ -1 +1 @@ -DurationInputArg2 | @nextcloud/moment

Type alias DurationInputArg2

DurationInputArg2: DurationConstructor

Generated using TypeDoc

\ No newline at end of file +DurationInputArg2 | @nextcloud/moment

Type alias DurationInputArg2

DurationInputArg2: DurationConstructor
\ No newline at end of file diff --git a/types/default.LocaleSpecifier.html b/types/default.LocaleSpecifier.html index 46f1b7f2..c31dbc0c 100644 --- a/types/default.LocaleSpecifier.html +++ b/types/default.LocaleSpecifier.html @@ -1 +1 @@ -LocaleSpecifier | @nextcloud/moment

Type alias LocaleSpecifier

LocaleSpecifier: string | Moment | Duration | string[] | boolean

Generated using TypeDoc

\ No newline at end of file +LocaleSpecifier | @nextcloud/moment

Type alias LocaleSpecifier

LocaleSpecifier: string | Moment | Duration | string[] | boolean
\ No newline at end of file diff --git a/types/default.LongDateFormatKey.html b/types/default.LongDateFormatKey.html index b5aec709..2d5d3eac 100644 --- a/types/default.LongDateFormatKey.html +++ b/types/default.LongDateFormatKey.html @@ -1 +1 @@ -LongDateFormatKey | @nextcloud/moment

Type alias LongDateFormatKey

LongDateFormatKey: "LTS" | "LT" | "L" | "LL" | "LLL" | "LLLL" | "lts" | "lt" | "l" | "ll" | "lll" | "llll"

Generated using TypeDoc

\ No newline at end of file +LongDateFormatKey | @nextcloud/moment

Type alias LongDateFormatKey

LongDateFormatKey: "LTS" | "LT" | "L" | "LL" | "LLL" | "LLLL" | "lts" | "lt" | "l" | "ll" | "lll" | "llll"
\ No newline at end of file diff --git a/types/default.MomentFormatSpecification.html b/types/default.MomentFormatSpecification.html index 5549b572..bafcb920 100644 --- a/types/default.MomentFormatSpecification.html +++ b/types/default.MomentFormatSpecification.html @@ -1 +1 @@ -MomentFormatSpecification | @nextcloud/moment

Type alias MomentFormatSpecification

MomentFormatSpecification: string | MomentBuiltinFormat | (string | MomentBuiltinFormat)[]

Generated using TypeDoc

\ No newline at end of file +MomentFormatSpecification | @nextcloud/moment

Type alias MomentFormatSpecification

MomentFormatSpecification: string | MomentBuiltinFormat | (string | MomentBuiltinFormat)[]
\ No newline at end of file diff --git a/types/default.MomentInput.html b/types/default.MomentInput.html index 2a552037..8ed621de 100644 --- a/types/default.MomentInput.html +++ b/types/default.MomentInput.html @@ -1 +1 @@ -MomentInput | @nextcloud/moment
MomentInput: Moment | Date | string | number | (number | string)[] | MomentInputObject | null | undefined

Generated using TypeDoc

\ No newline at end of file +MomentInput | @nextcloud/moment
MomentInput: Moment | Date | string | number | (number | string)[] | MomentInputObject | null | undefined
\ No newline at end of file diff --git a/types/default.MonthWeekdayFn.html b/types/default.MonthWeekdayFn.html index 46b13b91..4763cc72 100644 --- a/types/default.MonthWeekdayFn.html +++ b/types/default.MonthWeekdayFn.html @@ -1 +1 @@ -MonthWeekdayFn | @nextcloud/moment
MonthWeekdayFn: ((momentToFormat, format?) => string)

Type declaration

    • (momentToFormat, format?): string
    • Parameters

      • momentToFormat: Moment
      • Optional format: string

      Returns string

Generated using TypeDoc

\ No newline at end of file +MonthWeekdayFn | @nextcloud/moment
MonthWeekdayFn: ((momentToFormat, format?) => string)

Type declaration

    • (momentToFormat, format?): string
    • Parameters

      • momentToFormat: Moment
      • Optional format: string

      Returns string

\ No newline at end of file diff --git a/types/default.RelativeTimeFuturePastVal.html b/types/default.RelativeTimeFuturePastVal.html index d0b1456b..e960b66d 100644 --- a/types/default.RelativeTimeFuturePastVal.html +++ b/types/default.RelativeTimeFuturePastVal.html @@ -1 +1 @@ -RelativeTimeFuturePastVal | @nextcloud/moment

Type alias RelativeTimeFuturePastVal

RelativeTimeFuturePastVal: string | ((relTime) => string)

Type declaration

    • (relTime): string
    • Parameters

      • relTime: string

      Returns string

Generated using TypeDoc

\ No newline at end of file +RelativeTimeFuturePastVal | @nextcloud/moment

Type alias RelativeTimeFuturePastVal

RelativeTimeFuturePastVal: string | ((relTime) => string)

Type declaration

    • (relTime): string
    • Parameters

      • relTime: string

      Returns string

\ No newline at end of file diff --git a/types/default.RelativeTimeKey.html b/types/default.RelativeTimeKey.html index e1e884b1..1d7d5708 100644 --- a/types/default.RelativeTimeKey.html +++ b/types/default.RelativeTimeKey.html @@ -1 +1 @@ -RelativeTimeKey | @nextcloud/moment

Type alias RelativeTimeKey

RelativeTimeKey: "s" | "ss" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "w" | "ww" | "M" | "MM" | "y" | "yy"

Generated using TypeDoc

\ No newline at end of file +RelativeTimeKey | @nextcloud/moment

Type alias RelativeTimeKey

RelativeTimeKey: "s" | "ss" | "m" | "mm" | "h" | "hh" | "d" | "dd" | "w" | "ww" | "M" | "MM" | "y" | "yy"
\ No newline at end of file diff --git a/types/default.RelativeTimeSpecVal.html b/types/default.RelativeTimeSpecVal.html index f4ffa61a..f20f8528 100644 --- a/types/default.RelativeTimeSpecVal.html +++ b/types/default.RelativeTimeSpecVal.html @@ -1 +1 @@ -RelativeTimeSpecVal | @nextcloud/moment

Type alias RelativeTimeSpecVal

RelativeTimeSpecVal: string | ((n, withoutSuffix, key, isFuture) => string)

Type declaration

    • (n, withoutSuffix, key, isFuture): string
    • Parameters

      Returns string

Generated using TypeDoc

\ No newline at end of file +RelativeTimeSpecVal | @nextcloud/moment

Type alias RelativeTimeSpecVal

RelativeTimeSpecVal: string | ((n, withoutSuffix, key, isFuture) => string)

Type declaration

    • (n, withoutSuffix, key, isFuture): string
    • Parameters

      Returns string

\ No newline at end of file diff --git a/types/default.WeekdaySimpleFn.html b/types/default.WeekdaySimpleFn.html index c0f7661e..060ee0c8 100644 --- a/types/default.WeekdaySimpleFn.html +++ b/types/default.WeekdaySimpleFn.html @@ -1 +1 @@ -WeekdaySimpleFn | @nextcloud/moment

Type alias WeekdaySimpleFn

WeekdaySimpleFn: ((momentToFormat) => string)

Type declaration

    • (momentToFormat): string
    • Parameters

      Returns string

Generated using TypeDoc

\ No newline at end of file +WeekdaySimpleFn | @nextcloud/moment

Type alias WeekdaySimpleFn

WeekdaySimpleFn: ((momentToFormat) => string)

Type declaration

    • (momentToFormat): string
    • Parameters

      Returns string

\ No newline at end of file diff --git a/types/default.unitOfTime.All.html b/types/default.unitOfTime.All.html index 71541dce..aa391fe8 100644 --- a/types/default.unitOfTime.All.html +++ b/types/default.unitOfTime.All.html @@ -1 +1 @@ -All | @nextcloud/moment
All: Base | _quarter | _isoWeek | _date | "weekYear" | "weekYears" | "gg" | "isoWeekYear" | "isoWeekYears" | "GG" | "dayOfYear" | "dayOfYears" | "DDD" | "weekday" | "weekdays" | "e" | "isoWeekday" | "isoWeekdays" | "E"

Generated using TypeDoc

\ No newline at end of file +All | @nextcloud/moment
All: Base | _quarter | _isoWeek | _date | "weekYear" | "weekYears" | "gg" | "isoWeekYear" | "isoWeekYears" | "GG" | "dayOfYear" | "dayOfYears" | "DDD" | "weekday" | "weekdays" | "e" | "isoWeekday" | "isoWeekdays" | "E"
\ No newline at end of file diff --git a/types/default.unitOfTime.Base.html b/types/default.unitOfTime.Base.html index f1230d80..d196845e 100644 --- a/types/default.unitOfTime.Base.html +++ b/types/default.unitOfTime.Base.html @@ -1 +1 @@ -Base | @nextcloud/moment
Base: "year" | "years" | "y" | "month" | "months" | "M" | "week" | "weeks" | "w" | "day" | "days" | "d" | "hour" | "hours" | "h" | "minute" | "minutes" | "m" | "second" | "seconds" | "s" | "millisecond" | "milliseconds" | "ms"

Generated using TypeDoc

\ No newline at end of file +Base | @nextcloud/moment
Base: "year" | "years" | "y" | "month" | "months" | "M" | "week" | "weeks" | "w" | "day" | "days" | "d" | "hour" | "hours" | "h" | "minute" | "minutes" | "m" | "second" | "seconds" | "s" | "millisecond" | "milliseconds" | "ms"
\ No newline at end of file diff --git a/types/default.unitOfTime.Diff.html b/types/default.unitOfTime.Diff.html index 6271c543..0bacf672 100644 --- a/types/default.unitOfTime.Diff.html +++ b/types/default.unitOfTime.Diff.html @@ -1 +1 @@ -Diff | @nextcloud/moment
Diff: Base | _quarter

Generated using TypeDoc

\ No newline at end of file +Diff | @nextcloud/moment
Diff: Base | _quarter
\ No newline at end of file diff --git a/types/default.unitOfTime.DurationAs.html b/types/default.unitOfTime.DurationAs.html index 377582ec..d7ac608e 100644 --- a/types/default.unitOfTime.DurationAs.html +++ b/types/default.unitOfTime.DurationAs.html @@ -1 +1 @@ -DurationAs | @nextcloud/moment
DurationAs: Base

Generated using TypeDoc

\ No newline at end of file +DurationAs | @nextcloud/moment
DurationAs: Base
\ No newline at end of file diff --git a/types/default.unitOfTime.DurationConstructor.html b/types/default.unitOfTime.DurationConstructor.html index 0b6a09e3..be1d4830 100644 --- a/types/default.unitOfTime.DurationConstructor.html +++ b/types/default.unitOfTime.DurationConstructor.html @@ -1 +1 @@ -DurationConstructor | @nextcloud/moment
DurationConstructor: Base | _quarter

Generated using TypeDoc

\ No newline at end of file +DurationConstructor | @nextcloud/moment
DurationConstructor: Base | _quarter
\ No newline at end of file diff --git a/types/default.unitOfTime.MomentConstructor.html b/types/default.unitOfTime.MomentConstructor.html index 27ad25aa..dee8e250 100644 --- a/types/default.unitOfTime.MomentConstructor.html +++ b/types/default.unitOfTime.MomentConstructor.html @@ -1 +1 @@ -MomentConstructor | @nextcloud/moment
MomentConstructor: Base | _date

Generated using TypeDoc

\ No newline at end of file +MomentConstructor | @nextcloud/moment
MomentConstructor: Base | _date
\ No newline at end of file diff --git a/types/default.unitOfTime.StartOf.html b/types/default.unitOfTime.StartOf.html index bce09ec9..ccd5a0c2 100644 --- a/types/default.unitOfTime.StartOf.html +++ b/types/default.unitOfTime.StartOf.html @@ -1 +1 @@ -StartOf | @nextcloud/moment
StartOf: Base | _quarter | _isoWeek | _date | null

Generated using TypeDoc

\ No newline at end of file +StartOf | @nextcloud/moment
StartOf: Base | _quarter | _isoWeek | _date | null
\ No newline at end of file diff --git a/types/default.unitOfTime._date.html b/types/default.unitOfTime._date.html index ccef8724..26d2073c 100644 --- a/types/default.unitOfTime._date.html +++ b/types/default.unitOfTime._date.html @@ -1 +1 @@ -_date | @nextcloud/moment
_date: "date" | "dates" | "D"

Generated using TypeDoc

\ No newline at end of file +_date | @nextcloud/moment
_date: "date" | "dates" | "D"
\ No newline at end of file diff --git a/types/default.unitOfTime._isoWeek.html b/types/default.unitOfTime._isoWeek.html index e014fc4d..1d76cafe 100644 --- a/types/default.unitOfTime._isoWeek.html +++ b/types/default.unitOfTime._isoWeek.html @@ -1 +1 @@ -_isoWeek | @nextcloud/moment
_isoWeek: "isoWeek" | "isoWeeks" | "W"

Generated using TypeDoc

\ No newline at end of file +_isoWeek | @nextcloud/moment
_isoWeek: "isoWeek" | "isoWeeks" | "W"
\ No newline at end of file diff --git a/types/default.unitOfTime._quarter.html b/types/default.unitOfTime._quarter.html index 00a5acf7..21996abd 100644 --- a/types/default.unitOfTime._quarter.html +++ b/types/default.unitOfTime._quarter.html @@ -1 +1 @@ -_quarter | @nextcloud/moment
_quarter: "quarter" | "quarters" | "Q"

Generated using TypeDoc

\ No newline at end of file +_quarter | @nextcloud/moment
_quarter: "quarter" | "quarters" | "Q"
\ No newline at end of file diff --git a/variables/default.HTML5_FMT.html b/variables/default.HTML5_FMT.html index 9e63b8c4..c70fd176 100644 --- a/variables/default.HTML5_FMT.html +++ b/variables/default.HTML5_FMT.html @@ -1 +1 @@ -HTML5_FMT | @nextcloud/moment
HTML5_FMT: {
    DATE: string;
    DATETIME_LOCAL: string;
    DATETIME_LOCAL_MS: string;
    DATETIME_LOCAL_SECONDS: string;
    MONTH: string;
    TIME: string;
    TIME_MS: string;
    TIME_SECONDS: string;
    WEEK: string;
}

Type declaration

  • DATE: string
  • DATETIME_LOCAL: string
  • DATETIME_LOCAL_MS: string
  • DATETIME_LOCAL_SECONDS: string
  • MONTH: string
  • TIME: string
  • TIME_MS: string
  • TIME_SECONDS: string
  • WEEK: string

Generated using TypeDoc

\ No newline at end of file +HTML5_FMT | @nextcloud/moment
HTML5_FMT: {
    DATE: string;
    DATETIME_LOCAL: string;
    DATETIME_LOCAL_MS: string;
    DATETIME_LOCAL_SECONDS: string;
    MONTH: string;
    TIME: string;
    TIME_MS: string;
    TIME_SECONDS: string;
    WEEK: string;
}

Type declaration

  • DATE: string
  • DATETIME_LOCAL: string
  • DATETIME_LOCAL_MS: string
  • DATETIME_LOCAL_SECONDS: string
  • MONTH: string
  • TIME: string
  • TIME_MS: string
  • TIME_SECONDS: string
  • WEEK: string
\ No newline at end of file diff --git a/variables/default.ISO_8601.html b/variables/default.ISO_8601.html index 79bce906..53ab2df0 100644 --- a/variables/default.ISO_8601.html +++ b/variables/default.ISO_8601.html @@ -1,2 +1,2 @@ -ISO_8601 | @nextcloud/moment

Constant used to enable explicit ISO_8601 format parsing.

-

Generated using TypeDoc

\ No newline at end of file +ISO_8601 | @nextcloud/moment

Constant used to enable explicit ISO_8601 format parsing.

+
\ No newline at end of file diff --git a/variables/default.RFC_2822.html b/variables/default.RFC_2822.html index 3fff32d3..636a0f12 100644 --- a/variables/default.RFC_2822.html +++ b/variables/default.RFC_2822.html @@ -1 +1 @@ -RFC_2822 | @nextcloud/moment

Generated using TypeDoc

\ No newline at end of file +RFC_2822 | @nextcloud/moment
\ No newline at end of file diff --git a/variables/default.defaultFormat.html b/variables/default.defaultFormat.html index 6779723e..98132385 100644 --- a/variables/default.defaultFormat.html +++ b/variables/default.defaultFormat.html @@ -1 +1 @@ -defaultFormat | @nextcloud/moment
defaultFormat: string

Generated using TypeDoc

\ No newline at end of file +defaultFormat | @nextcloud/moment
defaultFormat: string
\ No newline at end of file diff --git a/variables/default.defaultFormatUtc.html b/variables/default.defaultFormatUtc.html index 39522761..bcc94e0a 100644 --- a/variables/default.defaultFormatUtc.html +++ b/variables/default.defaultFormatUtc.html @@ -1 +1 @@ -defaultFormatUtc | @nextcloud/moment
defaultFormatUtc: string

Generated using TypeDoc

\ No newline at end of file +defaultFormatUtc | @nextcloud/moment
defaultFormatUtc: string
\ No newline at end of file diff --git a/variables/default.deprecationHandler.html b/variables/default.deprecationHandler.html index e8bc0e12..5ea92a57 100644 --- a/variables/default.deprecationHandler.html +++ b/variables/default.deprecationHandler.html @@ -1 +1 @@ -deprecationHandler | @nextcloud/moment
deprecationHandler: ((name, msg) => void) | null | undefined

Type declaration

    • (name, msg): void
    • Parameters

      • name: string | null
      • msg: string

      Returns void

Generated using TypeDoc

\ No newline at end of file +deprecationHandler | @nextcloud/moment
deprecationHandler: ((name, msg) => void) | null | undefined

Type declaration

    • (name, msg): void
    • Parameters

      • name: string | null
      • msg: string

      Returns void

\ No newline at end of file diff --git a/variables/default.fn.html b/variables/default.fn.html index 2d38605b..7ca4ce10 100644 --- a/variables/default.fn.html +++ b/variables/default.fn.html @@ -1 +1 @@ -fn | @nextcloud/moment
fn: Moment

Generated using TypeDoc

\ No newline at end of file +fn | @nextcloud/moment
fn: Moment
\ No newline at end of file diff --git a/variables/default.suppressDeprecationWarnings.html b/variables/default.suppressDeprecationWarnings.html index f62f75af..aec9d0f7 100644 --- a/variables/default.suppressDeprecationWarnings.html +++ b/variables/default.suppressDeprecationWarnings.html @@ -1 +1 @@ -suppressDeprecationWarnings | @nextcloud/moment

Variable suppressDeprecationWarnings

suppressDeprecationWarnings: boolean

Generated using TypeDoc

\ No newline at end of file +suppressDeprecationWarnings | @nextcloud/moment

Variable suppressDeprecationWarnings

suppressDeprecationWarnings: boolean
\ No newline at end of file diff --git a/variables/default.version.html b/variables/default.version.html index 470db479..a5e5754e 100644 --- a/variables/default.version.html +++ b/variables/default.version.html @@ -1 +1 @@ -version | @nextcloud/moment
version: string

Generated using TypeDoc

\ No newline at end of file +version | @nextcloud/moment
version: string
\ No newline at end of file