diff --git a/docs/index.html b/docs/index.html index c049e6deff9..c8e443fc461 100644 --- a/docs/index.html +++ b/docs/index.html @@ -79,6 +79,8 @@ Read Status Socket + + Presence
@@ -89,6 +91,7 @@
Meetings API Reference Calling API Reference + Presence API Reference
diff --git a/docs/presence/.nojekyll b/docs/presence/.nojekyll new file mode 100644 index 00000000000..e2ac6616add --- /dev/null +++ b/docs/presence/.nojekyll @@ -0,0 +1 @@ +TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. \ No newline at end of file diff --git a/docs/presence/assets/highlight.css b/docs/presence/assets/highlight.css new file mode 100644 index 00000000000..866350f6e39 --- /dev/null +++ b/docs/presence/assets/highlight.css @@ -0,0 +1,71 @@ +:root { + --light-hl-0: #795E26; + --dark-hl-0: #DCDCAA; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #A31515; + --dark-hl-2: #CE9178; + --light-hl-3: #0000FF; + --dark-hl-3: #569CD6; + --light-hl-4: #AF00DB; + --dark-hl-4: #C586C0; + --light-hl-5: #001080; + --dark-hl-5: #9CDCFE; + --light-hl-6: #0070C1; + --dark-hl-6: #4FC1FF; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +pre, code { background: var(--code-background); } diff --git a/docs/presence/assets/main.js b/docs/presence/assets/main.js new file mode 100644 index 00000000000..f7c83669cf8 --- /dev/null +++ b/docs/presence/assets/main.js @@ -0,0 +1,58 @@ +"use strict"; +"use strict";(()=>{var Qe=Object.create;var ae=Object.defineProperty;var Pe=Object.getOwnPropertyDescriptor;var Ce=Object.getOwnPropertyNames;var Oe=Object.getPrototypeOf,Re=Object.prototype.hasOwnProperty;var _e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Me=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ce(e))!Re.call(t,i)&&i!==n&&ae(t,i,{get:()=>e[i],enumerable:!(r=Pe(e,i))||r.enumerable});return t};var De=(t,e,n)=>(n=t!=null?Qe(Oe(t)):{},Me(e||!t||!t.__esModule?ae(n,"default",{value:t,enumerable:!0}):n,t));var de=_e((ce,he)=>{(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 h=t.utils.clone(n)||{};h.position=[a,l],h.index=s.length,s.push(new t.Token(r.slice(a,o),h))}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(ou?h+=2:a==u&&(n+=r[l+1]*i[h+1],l+=2,h+=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 u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}if(s.str.length==0&&(u.final=!0),i.push({node:u,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 l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}s.str.length==1&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var h=s.str.charAt(0),m=s.str.charAt(1),v;m in s.node.edges?v=s.node.edges[m]:(v=new t.TokenSet,s.node.edges[m]=v),s.str.length==1&&(v.final=!0),i.push({node:v,editsRemaining:s.editsRemaining-1,str:h+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),u=0;u1?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 ce=="object"?he.exports=n():e.lunr=n()}(this,function(){return t})})()});var le=[];function B(t,e){le.push({selector:e,constructor:t})}var Y=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureFocusedElementVisible(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){le.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()}ensureFocusedElementVisible(){this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null);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)}}};var I=class{constructor(e){this.el=e.el,this.app=e.app}};var J=class{constructor(){this.listeners={}}addEventListener(e,n){e in this.listeners||(this.listeners[e]=[]),this.listeners[e].push(n)}removeEventListener(e,n){if(!(e in this.listeners))return;let r=this.listeners[e];for(let i=0,s=r.length;i{let n=Date.now();return(...r)=>{n+e-Date.now()<0&&(t(...r),n=Date.now())}};var re=class extends J{constructor(){super();this.scrollTop=0;this.lastY=0;this.width=0;this.height=0;this.showToolbar=!0;this.toolbar=document.querySelector(".tsd-page-toolbar"),this.navigation=document.querySelector(".col-menu"),window.addEventListener("scroll",ne(()=>this.onScroll(),10)),window.addEventListener("resize",ne(()=>this.onResize(),10)),this.searchInput=document.querySelector("#tsd-search input"),this.searchInput&&this.searchInput.addEventListener("focus",()=>{this.hideShowToolbar()}),this.onResize(),this.onScroll()}triggerResize(){let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onResize(){this.width=window.innerWidth||0,this.height=window.innerHeight||0;let n=new CustomEvent("resize",{detail:{width:this.width,height:this.height}});this.dispatchEvent(n)}onScroll(){this.scrollTop=window.scrollY||0;let n=new CustomEvent("scroll",{detail:{scrollTop:this.scrollTop}});this.dispatchEvent(n),this.hideShowToolbar()}hideShowToolbar(){let n=this.showToolbar;this.showToolbar=this.lastY>=this.scrollTop||this.scrollTop<=0||!!this.searchInput&&this.searchInput===document.activeElement,n!==this.showToolbar&&(this.toolbar.classList.toggle("tsd-page-toolbar--hide"),this.navigation?.classList.toggle("col-menu--hide")),this.lastY=this.scrollTop}},R=re;R.instance=new re;var X=class extends I{constructor(n){super(n);this.anchors=[];this.index=-1;R.instance.addEventListener("resize",()=>this.onResize()),R.instance.addEventListener("scroll",r=>this.onScroll(r)),this.createAnchors()}createAnchors(){let n=window.location.href;n.indexOf("#")!=-1&&(n=n.substring(0,n.indexOf("#"))),this.el.querySelectorAll("a").forEach(r=>{let i=r.href;if(i.indexOf("#")==-1||i.substring(0,n.length)!=n)return;let s=i.substring(i.indexOf("#")+1),o=document.querySelector("a.tsd-anchor[name="+s+"]"),a=r.parentNode;!o||!a||this.anchors.push({link:a,anchor:o,position:0})}),this.onResize()}onResize(){let n;for(let i=0,s=this.anchors.length;ii.position-s.position);let r=new CustomEvent("scroll",{detail:{scrollTop:R.instance.scrollTop}});this.onScroll(r)}onScroll(n){let r=n.detail.scrollTop+5,i=this.anchors,s=i.length-1,o=this.index;for(;o>-1&&i[o].position>r;)o-=1;for(;o-1&&this.anchors[this.index].link.classList.remove("focus"),this.index=o,this.index>-1&&this.anchors[this.index].link.classList.add("focus"))}};var ue=(t,e=100)=>{let n;return()=>{clearTimeout(n),n=setTimeout(()=>t(),e)}};var me=De(de());function ve(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let n=document.querySelector("#tsd-search input"),r=document.querySelector("#tsd-search .results");if(!n||!r)throw new Error("The input field or the result list wrapper was not found");let i=!1;r.addEventListener("mousedown",()=>i=!0),r.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),n.addEventListener("focus",()=>t.classList.add("has-focus")),n.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Fe(t,r,n,s)}function Fe(t,e,n,r){n.addEventListener("input",ue(()=>{He(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"?pe(e,-1):s.key==="ArrowDown"?pe(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 Ae(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=me.Index.load(window.searchData.index))}function He(t,e,n,r){if(Ae(r,t),!r.index||!r.data)return;e.textContent="";let i=n.value.trim(),s=i?r.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${fe(u.parent,i)}.${l}`);let h=document.createElement("li");h.classList.value=u.classes??"";let m=document.createElement("a");m.href=r.base+u.url,m.innerHTML=l,h.append(m),e.appendChild(h)}}function pe(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 fe(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(ie(t.substring(s,o)),`${ie(t.substring(o,o+r.length))}`),s=o+r.length,o=n.indexOf(r,s);return i.push(ie(t.substring(s))),i.join("")}var Ne={"&":"&","<":"<",">":">","'":"'",'"':"""};function ie(t){return t.replace(/[&<>"'"]/g,e=>Ne[e])}var F="mousedown",ye="mousemove",j="mouseup",Z={x:0,y:0},ge=!1,se=!1,Be=!1,A=!1,xe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(xe?"is-mobile":"not-mobile");xe&&"ontouchstart"in document.documentElement&&(Be=!0,F="touchstart",ye="touchmove",j="touchend");document.addEventListener(F,t=>{se=!0,A=!1;let e=F=="touchstart"?t.targetTouches[0]:t;Z.y=e.pageY||0,Z.x=e.pageX||0});document.addEventListener(ye,t=>{if(se&&!A){let e=F=="touchstart"?t.targetTouches[0]:t,n=Z.x-(e.pageX||0),r=Z.y-(e.pageY||0);A=Math.sqrt(n*n+r*r)>10}});document.addEventListener(j,()=>{se=!1});document.addEventListener("click",t=>{ge&&(t.preventDefault(),t.stopImmediatePropagation(),ge=!1)});var K=class extends I{constructor(n){super(n);this.className=this.el.dataset.toggle||"",this.el.addEventListener(j,r=>this.onPointerUp(r)),this.el.addEventListener("click",r=>r.preventDefault()),document.addEventListener(F,r=>this.onDocumentPointerDown(r)),document.addEventListener(j,r=>this.onDocumentPointerUp(r))}setActive(n){if(this.active==n)return;this.active=n,document.documentElement.classList.toggle("has-"+this.className,n),this.el.classList.toggle("active",n);let r=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(r),setTimeout(()=>document.documentElement.classList.remove(r),500)}onPointerUp(n){A||(this.setActive(!0),n.preventDefault())}onDocumentPointerDown(n){if(this.active){if(n.target.closest(".col-menu, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(n){if(!A&&this.active&&n.target.closest(".col-menu")){let r=n.target.closest("a");if(r){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),r.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var oe;try{oe=localStorage}catch{oe={getItem(){return null},setItem(){}}}var Q=oe;var Le=document.head.appendChild(document.createElement("style"));Le.dataset.for="filters";var ee=class extends I{constructor(n){super(n);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),Le.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.checked}setLocalStorage(n){Q.setItem(this.key,n.toString()),this.value=n,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(n=>{n.style.display="block";let r=Array.from(n.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);n.style.display=r?"none":"block"})}};var te=class extends I{constructor(n){super(n);this.calculateHeights(),this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.textContent.replace(/\s+/g,"-").toLowerCase()}`,this.setLocalStorage(this.fromLocalStorage(),!0),this.summary.addEventListener("click",r=>this.toggleVisibility(r)),this.icon.style.transform=this.getIconRotation()}getIconRotation(n=this.el.open){return`rotate(${n?0:-90}deg)`}calculateHeights(){let n=this.el.open,{position:r,left:i}=this.el.style;this.el.style.position="fixed",this.el.style.left="-9999px",this.el.open=!0,this.expandedHeight=this.el.offsetHeight+"px",this.el.open=!1,this.collapsedHeight=this.el.offsetHeight+"px",this.el.open=n,this.el.style.height=n?this.expandedHeight:this.collapsedHeight,this.el.style.position=r,this.el.style.left=i}toggleVisibility(n){n.preventDefault(),this.el.style.overflow="hidden",this.el.open?this.collapse():this.expand()}expand(n=!0){this.el.open=!0,this.animate(this.collapsedHeight,this.expandedHeight,{opening:!0,duration:n?300:0})}collapse(n=!0){this.animate(this.expandedHeight,this.collapsedHeight,{opening:!1,duration:n?300:0})}animate(n,r,{opening:i,duration:s=300}){if(this.animation)return;let o={duration:s,easing:"ease"};this.animation=this.el.animate({height:[n,r]},o),this.icon.animate({transform:[this.icon.style.transform||this.getIconRotation(!i),this.getIconRotation(i)]},o).addEventListener("finish",()=>{this.icon.style.transform=this.getIconRotation(i)}),this.animation.addEventListener("finish",()=>this.animationEnd(i))}animationEnd(n){this.el.open=n,this.animation=void 0,this.el.style.height="auto",this.el.style.overflow="visible",this.setLocalStorage(n)}fromLocalStorage(){let n=Q.getItem(this.key);return n?n==="true":this.el.open}setLocalStorage(n,r=!1){this.fromLocalStorage()===n&&!r||(Q.setItem(this.key,n.toString()),this.el.open=n,this.handleValueChange(r))}handleValueChange(n=!1){this.fromLocalStorage()===this.el.open&&!n||(this.fromLocalStorage()?this.expand(!1):this.collapse(!1))}};function be(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,Ee(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),Ee(t.value)})}function Ee(t){document.documentElement.dataset.theme=t}ve();B(X,".menu-highlight");B(K,"a[data-toggle]");B(te,".tsd-index-accordion");B(ee,".tsd-filter-item input[type=checkbox]");var we=document.getElementById("theme");we&&be(we);var je=new Y;Object.defineProperty(window,"app",{value:je});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/docs/presence/assets/search.js b/docs/presence/assets/search.js new file mode 100644 index 00000000000..a377f80a0d9 --- /dev/null +++ b/docs/presence/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"kinds\":{\"8\":\"Enumeration\",\"16\":\"Enumeration Member\",\"256\":\"Interface\",\"1024\":\"Property\",\"2048\":\"Method\",\"65536\":\"Type literal\"},\"rows\":[{\"kind\":8,\"name\":\"PresenceStatus\",\"url\":\"enums/PresenceStatus.html\",\"classes\":\"tsd-kind-enum\"},{\"kind\":16,\"name\":\"ACTIVE\",\"url\":\"enums/PresenceStatus.html#ACTIVE\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"CALENDAR_ITEM\",\"url\":\"enums/PresenceStatus.html#CALENDAR_ITEM\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"CALL\",\"url\":\"enums/PresenceStatus.html#CALL\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"CLEAR\",\"url\":\"enums/PresenceStatus.html#CLEAR\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"DND\",\"url\":\"enums/PresenceStatus.html#DND\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"INACTIVE\",\"url\":\"enums/PresenceStatus.html#INACTIVE\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"MEETING\",\"url\":\"enums/PresenceStatus.html#MEETING\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"OOO\",\"url\":\"enums/PresenceStatus.html#OOO\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":16,\"name\":\"PRESENTING\",\"url\":\"enums/PresenceStatus.html#PRESENTING\",\"classes\":\"tsd-kind-enum-member tsd-parent-kind-enum\",\"parent\":\"PresenceStatus\"},{\"kind\":256,\"name\":\"IPresenceStatusObject\",\"url\":\"interfaces/IPresenceStatusObject.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"url\",\"url\":\"interfaces/IPresenceStatusObject.html#url\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"subject\",\"url\":\"interfaces/IPresenceStatusObject.html#subject\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"interfaces/IPresenceStatusObject.html#status\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"statusTime\",\"url\":\"interfaces/IPresenceStatusObject.html#statusTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"lastActive\",\"url\":\"interfaces/IPresenceStatusObject.html#lastActive\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"expiresTTL\",\"url\":\"interfaces/IPresenceStatusObject.html#expiresTTL\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"expiresTime\",\"url\":\"interfaces/IPresenceStatusObject.html#expiresTime\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"vectorCounters\",\"url\":\"interfaces/IPresenceStatusObject.html#vectorCounters\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"suppressNotifications\",\"url\":\"interfaces/IPresenceStatusObject.html#suppressNotifications\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":1024,\"name\":\"lastseenDeviceUrl\",\"url\":\"interfaces/IPresenceStatusObject.html#lastseenDeviceUrl\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPresenceStatusObject\"},{\"kind\":256,\"name\":\"IEventPayload\",\"url\":\"interfaces/IEventPayload.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"type\",\"url\":\"interfaces/IEventPayload.html#type\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IEventPayload\"},{\"kind\":1024,\"name\":\"payload\",\"url\":\"interfaces/IEventPayload.html#payload\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IEventPayload\"},{\"kind\":256,\"name\":\"IPresence\",\"url\":\"interfaces/IPresence.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":2048,\"name\":\"initialize\",\"url\":\"interfaces/IPresence.html#initialize\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"emitEvent\",\"url\":\"interfaces/IPresence.html#emitEvent\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"enable\",\"url\":\"interfaces/IPresence.html#enable\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"disable\",\"url\":\"interfaces/IPresence.html#disable\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"isEnabled\",\"url\":\"interfaces/IPresence.html#isEnabled\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"get\",\"url\":\"interfaces/IPresence.html#get\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"list\",\"url\":\"interfaces/IPresence.html#list\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"subscribe\",\"url\":\"interfaces/IPresence.html#subscribe\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"unsubscribe\",\"url\":\"interfaces/IPresence.html#unsubscribe\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"setStatus\",\"url\":\"interfaces/IPresence.html#setStatus\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"enqueue\",\"url\":\"interfaces/IPresence.html#enqueue\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":2048,\"name\":\"dequeue\",\"url\":\"interfaces/IPresence.html#dequeue\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresence\"},{\"kind\":256,\"name\":\"IWebex\",\"url\":\"interfaces/IWebex.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"internal\",\"url\":\"interfaces/IWebex.html#internal\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWebex\"},{\"kind\":1024,\"name\":\"presence\",\"url\":\"interfaces/IWebex.html#presence\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IWebex\"},{\"kind\":256,\"name\":\"IGenericKeyValue\",\"url\":\"interfaces/IGenericKeyValue.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":256,\"name\":\"IPresenceBatcher\",\"url\":\"interfaces/IPresenceBatcher.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":2048,\"name\":\"handleHttpSuccess\",\"url\":\"interfaces/IPresenceBatcher.html#handleHttpSuccess\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":2048,\"name\":\"handleItemFailure\",\"url\":\"interfaces/IPresenceBatcher.html#handleItemFailure\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":2048,\"name\":\"handleItemSuccess\",\"url\":\"interfaces/IPresenceBatcher.html#handleItemSuccess\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":2048,\"name\":\"fingerprintRequest\",\"url\":\"interfaces/IPresenceBatcher.html#fingerprintRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":2048,\"name\":\"fingerprintResponse\",\"url\":\"interfaces/IPresenceBatcher.html#fingerprintResponse\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":2048,\"name\":\"prepareRequest\",\"url\":\"interfaces/IPresenceBatcher.html#prepareRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":2048,\"name\":\"submitHttpRequest\",\"url\":\"interfaces/IPresenceBatcher.html#submitHttpRequest\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPresenceBatcher\"},{\"kind\":256,\"name\":\"IResponse\",\"url\":\"interfaces/IResponse.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"body\",\"url\":\"interfaces/IResponse.html#body\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IResponse\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"interfaces/IResponse.html#body.__type\",\"classes\":\"tsd-kind-type-literal tsd-parent-kind-property\",\"parent\":\"IResponse.body\"},{\"kind\":1024,\"name\":\"eventType\",\"url\":\"interfaces/IResponse.html#body.__type.eventType\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"IResponse.body.__type\"},{\"kind\":1024,\"name\":\"subject\",\"url\":\"interfaces/IResponse.html#body.__type.subject\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"IResponse.body.__type\"},{\"kind\":1024,\"name\":\"status\",\"url\":\"interfaces/IResponse.html#body.__type.status\",\"classes\":\"tsd-kind-property tsd-parent-kind-type-literal\",\"parent\":\"IResponse.body.__type\"},{\"kind\":256,\"name\":\"IPredicate\",\"url\":\"interfaces/IPredicate.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/IPredicate.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPredicate\"},{\"kind\":1024,\"name\":\"direction\",\"url\":\"interfaces/IPredicate.html#direction\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"IPredicate\"},{\"kind\":2048,\"name\":\"test\",\"url\":\"interfaces/IPredicate.html#test\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPredicate\"},{\"kind\":2048,\"name\":\"extract\",\"url\":\"interfaces/IPredicate.html#extract\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"IPredicate\"},{\"kind\":256,\"name\":\"ITransform\",\"url\":\"interfaces/ITransform.html\",\"classes\":\"tsd-kind-interface\"},{\"kind\":1024,\"name\":\"name\",\"url\":\"interfaces/ITransform.html#name\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ITransform\"},{\"kind\":1024,\"name\":\"direction\",\"url\":\"interfaces/ITransform.html#direction\",\"classes\":\"tsd-kind-property tsd-parent-kind-interface\",\"parent\":\"ITransform\"},{\"kind\":2048,\"name\":\"fn\",\"url\":\"interfaces/ITransform.html#fn\",\"classes\":\"tsd-kind-method tsd-parent-kind-interface\",\"parent\":\"ITransform\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,37.689]],[\"comment/0\",[]],[\"name/1\",[1,37.689]],[\"comment/1\",[]],[\"name/2\",[2,37.689]],[\"comment/2\",[]],[\"name/3\",[3,37.689]],[\"comment/3\",[]],[\"name/4\",[4,37.689]],[\"comment/4\",[]],[\"name/5\",[5,37.689]],[\"comment/5\",[]],[\"name/6\",[6,37.689]],[\"comment/6\",[]],[\"name/7\",[7,37.689]],[\"comment/7\",[]],[\"name/8\",[8,37.689]],[\"comment/8\",[]],[\"name/9\",[9,37.689]],[\"comment/9\",[]],[\"name/10\",[10,37.689]],[\"comment/10\",[]],[\"name/11\",[11,37.689]],[\"comment/11\",[]],[\"name/12\",[12,32.581]],[\"comment/12\",[]],[\"name/13\",[13,32.581]],[\"comment/13\",[]],[\"name/14\",[14,37.689]],[\"comment/14\",[]],[\"name/15\",[15,37.689]],[\"comment/15\",[]],[\"name/16\",[16,37.689]],[\"comment/16\",[]],[\"name/17\",[17,37.689]],[\"comment/17\",[]],[\"name/18\",[18,37.689]],[\"comment/18\",[]],[\"name/19\",[19,37.689]],[\"comment/19\",[]],[\"name/20\",[20,37.689]],[\"comment/20\",[]],[\"name/21\",[21,37.689]],[\"comment/21\",[]],[\"name/22\",[22,37.689]],[\"comment/22\",[]],[\"name/23\",[23,37.689]],[\"comment/23\",[]],[\"name/24\",[24,37.689]],[\"comment/24\",[]],[\"name/25\",[25,37.689]],[\"comment/25\",[]],[\"name/26\",[26,37.689]],[\"comment/26\",[]],[\"name/27\",[27,37.689]],[\"comment/27\",[]],[\"name/28\",[28,37.689]],[\"comment/28\",[]],[\"name/29\",[29,37.689]],[\"comment/29\",[]],[\"name/30\",[30,37.689]],[\"comment/30\",[]],[\"name/31\",[31,37.689]],[\"comment/31\",[]],[\"name/32\",[32,37.689]],[\"comment/32\",[]],[\"name/33\",[33,37.689]],[\"comment/33\",[]],[\"name/34\",[34,37.689]],[\"comment/34\",[]],[\"name/35\",[35,37.689]],[\"comment/35\",[]],[\"name/36\",[36,37.689]],[\"comment/36\",[]],[\"name/37\",[37,37.689]],[\"comment/37\",[]],[\"name/38\",[38,37.689]],[\"comment/38\",[]],[\"name/39\",[39,37.689]],[\"comment/39\",[]],[\"name/40\",[40,37.689]],[\"comment/40\",[]],[\"name/41\",[41,37.689]],[\"comment/41\",[]],[\"name/42\",[42,37.689]],[\"comment/42\",[]],[\"name/43\",[43,37.689]],[\"comment/43\",[]],[\"name/44\",[44,37.689]],[\"comment/44\",[]],[\"name/45\",[45,37.689]],[\"comment/45\",[]],[\"name/46\",[46,37.689]],[\"comment/46\",[]],[\"name/47\",[47,37.689]],[\"comment/47\",[]],[\"name/48\",[48,37.689]],[\"comment/48\",[]],[\"name/49\",[49,37.689]],[\"comment/49\",[]],[\"name/50\",[50,37.689]],[\"comment/50\",[]],[\"name/51\",[51,37.689]],[\"comment/51\",[]],[\"name/52\",[52,37.689]],[\"comment/52\",[]],[\"name/53\",[12,32.581]],[\"comment/53\",[]],[\"name/54\",[13,32.581]],[\"comment/54\",[]],[\"name/55\",[53,37.689]],[\"comment/55\",[]],[\"name/56\",[54,32.581]],[\"comment/56\",[]],[\"name/57\",[55,32.581]],[\"comment/57\",[]],[\"name/58\",[56,37.689]],[\"comment/58\",[]],[\"name/59\",[57,37.689]],[\"comment/59\",[]],[\"name/60\",[58,37.689]],[\"comment/60\",[]],[\"name/61\",[54,32.581]],[\"comment/61\",[]],[\"name/62\",[55,32.581]],[\"comment/62\",[]],[\"name/63\",[59,37.689]],[\"comment/63\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":51,\"name\":{\"51\":{}},\"comment\":{}}],[\"active\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"body\",{\"_index\":50,\"name\":{\"50\":{}},\"comment\":{}}],[\"calendar_item\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"call\",{\"_index\":3,\"name\":{\"3\":{}},\"comment\":{}}],[\"clear\",{\"_index\":4,\"name\":{\"4\":{}},\"comment\":{}}],[\"dequeue\",{\"_index\":36,\"name\":{\"36\":{}},\"comment\":{}}],[\"direction\",{\"_index\":55,\"name\":{\"57\":{},\"62\":{}},\"comment\":{}}],[\"disable\",{\"_index\":28,\"name\":{\"28\":{}},\"comment\":{}}],[\"dnd\",{\"_index\":5,\"name\":{\"5\":{}},\"comment\":{}}],[\"emitevent\",{\"_index\":26,\"name\":{\"26\":{}},\"comment\":{}}],[\"enable\",{\"_index\":27,\"name\":{\"27\":{}},\"comment\":{}}],[\"enqueue\",{\"_index\":35,\"name\":{\"35\":{}},\"comment\":{}}],[\"eventtype\",{\"_index\":52,\"name\":{\"52\":{}},\"comment\":{}}],[\"expirestime\",{\"_index\":17,\"name\":{\"17\":{}},\"comment\":{}}],[\"expiresttl\",{\"_index\":16,\"name\":{\"16\":{}},\"comment\":{}}],[\"extract\",{\"_index\":57,\"name\":{\"59\":{}},\"comment\":{}}],[\"fingerprintrequest\",{\"_index\":45,\"name\":{\"45\":{}},\"comment\":{}}],[\"fingerprintresponse\",{\"_index\":46,\"name\":{\"46\":{}},\"comment\":{}}],[\"fn\",{\"_index\":59,\"name\":{\"63\":{}},\"comment\":{}}],[\"get\",{\"_index\":30,\"name\":{\"30\":{}},\"comment\":{}}],[\"handlehttpsuccess\",{\"_index\":42,\"name\":{\"42\":{}},\"comment\":{}}],[\"handleitemfailure\",{\"_index\":43,\"name\":{\"43\":{}},\"comment\":{}}],[\"handleitemsuccess\",{\"_index\":44,\"name\":{\"44\":{}},\"comment\":{}}],[\"ieventpayload\",{\"_index\":21,\"name\":{\"21\":{}},\"comment\":{}}],[\"igenerickeyvalue\",{\"_index\":40,\"name\":{\"40\":{}},\"comment\":{}}],[\"inactive\",{\"_index\":6,\"name\":{\"6\":{}},\"comment\":{}}],[\"initialize\",{\"_index\":25,\"name\":{\"25\":{}},\"comment\":{}}],[\"internal\",{\"_index\":38,\"name\":{\"38\":{}},\"comment\":{}}],[\"ipredicate\",{\"_index\":53,\"name\":{\"55\":{}},\"comment\":{}}],[\"ipresence\",{\"_index\":24,\"name\":{\"24\":{}},\"comment\":{}}],[\"ipresencebatcher\",{\"_index\":41,\"name\":{\"41\":{}},\"comment\":{}}],[\"ipresencestatusobject\",{\"_index\":10,\"name\":{\"10\":{}},\"comment\":{}}],[\"iresponse\",{\"_index\":49,\"name\":{\"49\":{}},\"comment\":{}}],[\"isenabled\",{\"_index\":29,\"name\":{\"29\":{}},\"comment\":{}}],[\"itransform\",{\"_index\":58,\"name\":{\"60\":{}},\"comment\":{}}],[\"iwebex\",{\"_index\":37,\"name\":{\"37\":{}},\"comment\":{}}],[\"lastactive\",{\"_index\":15,\"name\":{\"15\":{}},\"comment\":{}}],[\"lastseendeviceurl\",{\"_index\":20,\"name\":{\"20\":{}},\"comment\":{}}],[\"list\",{\"_index\":31,\"name\":{\"31\":{}},\"comment\":{}}],[\"meeting\",{\"_index\":7,\"name\":{\"7\":{}},\"comment\":{}}],[\"name\",{\"_index\":54,\"name\":{\"56\":{},\"61\":{}},\"comment\":{}}],[\"ooo\",{\"_index\":8,\"name\":{\"8\":{}},\"comment\":{}}],[\"payload\",{\"_index\":23,\"name\":{\"23\":{}},\"comment\":{}}],[\"preparerequest\",{\"_index\":47,\"name\":{\"47\":{}},\"comment\":{}}],[\"presence\",{\"_index\":39,\"name\":{\"39\":{}},\"comment\":{}}],[\"presencestatus\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"presenting\",{\"_index\":9,\"name\":{\"9\":{}},\"comment\":{}}],[\"setstatus\",{\"_index\":34,\"name\":{\"34\":{}},\"comment\":{}}],[\"status\",{\"_index\":13,\"name\":{\"13\":{},\"54\":{}},\"comment\":{}}],[\"statustime\",{\"_index\":14,\"name\":{\"14\":{}},\"comment\":{}}],[\"subject\",{\"_index\":12,\"name\":{\"12\":{},\"53\":{}},\"comment\":{}}],[\"submithttprequest\",{\"_index\":48,\"name\":{\"48\":{}},\"comment\":{}}],[\"subscribe\",{\"_index\":32,\"name\":{\"32\":{}},\"comment\":{}}],[\"suppressnotifications\",{\"_index\":19,\"name\":{\"19\":{}},\"comment\":{}}],[\"test\",{\"_index\":56,\"name\":{\"58\":{}},\"comment\":{}}],[\"type\",{\"_index\":22,\"name\":{\"22\":{}},\"comment\":{}}],[\"unsubscribe\",{\"_index\":33,\"name\":{\"33\":{}},\"comment\":{}}],[\"url\",{\"_index\":11,\"name\":{\"11\":{}},\"comment\":{}}],[\"vectorcounters\",{\"_index\":18,\"name\":{\"18\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/docs/presence/assets/style.css b/docs/presence/assets/style.css new file mode 100644 index 00000000000..2d02570d016 --- /dev/null +++ b/docs/presence/assets/style.css @@ -0,0 +1,1280 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-text: #222; + --light-color-text-aside: #707070; + --light-color-link: #4da6ff; + --light-color-ts: #db1373; + --light-color-ts-interface: #139d2c; + --light-color-ts-enum: #9c891a; + --light-color-ts-class: #2484e5; + --light-color-ts-function: #572be7; + --light-color-ts-namespace: #b111c9; + --light-color-ts-private: #707070; + --light-color-ts-variable: #4d68ff; + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + --dark-color-ts: #ff6492; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-class: #61b0ff; + --dark-color-ts-function: #9772ff; + --dark-color-ts-namespace: #e14dff; + --dark-color-ts-private: #e2e2e2; + --dark-color-ts-variable: #4d68ff; + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + --color-ts: var(--light-color-ts); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-class: var(--light-color-ts-class); + --color-ts-function: var(--light-color-ts-function); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-private: var(--light-color-ts-private); + --color-ts-variable: var(--light-color-ts-variable); + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + --color-ts: var(--dark-color-ts); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-private: var(--dark-color-ts-private); + --color-ts-variable: var(--dark-color-ts-variable); + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +pre { + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1600px; + padding: 0 2rem; +} + +@media (min-width: 640px) { + .container { + padding: 0 4rem; + } +} +@media (min-width: 1200px) { + .container { + padding: 0 8rem; + } +} +@media (min-width: 1600px) { + .container { + padding: 0 12rem; + } +} + +/* Footer */ +.tsd-generator { + 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; +} + +.container-main { + display: flex; + justify-content: space-between; + position: relative; + margin: 0 auto; +} + +.col-4, +.col-8 { + box-sizing: border-box; + float: left; + padding: 2rem 1rem; +} + +.col-4 { + flex: 0 0 25%; +} +.col-8 { + flex: 1 0; + flex-wrap: wrap; + padding-left: 0; +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes shift-to-left { + from { + transform: translate(0, 0); + } + to { + transform: translate(-25%, 0); + } +} +@keyframes unshift-to-left { + from { + transform: translate(-25%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + padding: 10px; + border: 0.1em solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +@media (max-width: 1024px) { + html .col-content { + float: none; + max-width: 100%; + width: 100%; + padding-top: 3rem; + } + html .col-menu { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + max-width: 25rem; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-menu > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu :is(header, footer, .col-content) { + animation: shift-to-left 0.4s; + } + + .to-has-menu .col-menu { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu :is(header, footer, .col-content) { + animation: unshift-to-left 0.4s; + } + + .from-has-menu .col-menu { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu :is(header, footer, .col-content) { + transform: translate(-25%, 0); + } + .has-menu .col-menu { + visibility: visible; + transform: translate(0, 0); + display: grid; + align-items: center; + grid-template-rows: auto 1fr; + grid-gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} +.tsd-index-panel a, +.tsd-index-panel a.tsd-parent-kind-module { + color: var(--color-ts); +} +.tsd-index-panel a.tsd-parent-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-parent-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-parent-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-module { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-index-panel a.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-index-panel a.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-index-panel a.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-index-panel a.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-index-panel a.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-index-panel a.tsd-is-private { + color: var(--color-ts-private); +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: absolute; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} +.tsd-member [data-tsd-kind] { + color: var(--color-ts); +} +.tsd-member [data-tsd-kind="Interface"] { + color: var(--color-ts-interface); +} +.tsd-member [data-tsd-kind="Enum"] { + color: var(--color-ts-enum); +} +.tsd-member [data-tsd-kind="Class"] { + color: var(--color-ts-class); +} +.tsd-member [data-tsd-kind="Private"] { + color: var(--color-ts-private); +} + +.tsd-navigation a { + display: block; + margin: 0.4rem 0; + border-left: 2px solid transparent; + color: var(--color-text); + text-decoration: none; + transition: border-left-color 0.1s; +} +.tsd-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul { + margin: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li { + padding: 0; +} + +.tsd-navigation.primary .tsd-accordion-details > ul { + margin-top: 0.75rem; +} +.tsd-navigation.primary a { + padding: 0.75rem 0.5rem; + margin: 0; +} +.tsd-navigation.primary ul li a { + margin-left: 0.5rem; +} +.tsd-navigation.primary ul li li a { + margin-left: 1.5rem; +} +.tsd-navigation.primary ul li li li a { + margin-left: 2.5rem; +} +.tsd-navigation.primary ul li li li li a { + margin-left: 3.5rem; +} +.tsd-navigation.primary ul li li li li li a { + margin-left: 4.5rem; +} +.tsd-navigation.primary ul li li li li li li a { + margin-left: 5.5rem; +} +.tsd-navigation.primary li.current > a { + border-left: 0.15rem var(--color-text) solid; +} +.tsd-navigation.primary li.selected > a { + font-weight: bold; + border-left: 0.2rem var(--color-text) solid; +} +.tsd-navigation.primary ul li a:hover { + border-left: 0.2rem var(--color-text-aside) solid; +} +.tsd-navigation.primary li.globals + li > span, +.tsd-navigation.primary li.globals + li > a { + padding-top: 20px; +} + +.tsd-navigation.secondary.tsd-navigation--toolbar-hide { + max-height: calc(100vh - 1rem); + top: 0.5rem; +} +.tsd-navigation.secondary > ul { + display: inline; + padding-right: 0.5rem; + transition: opacity 0.2s; +} +.tsd-navigation.secondary ul li a { + padding-left: 0; +} +.tsd-navigation.secondary ul li li a { + padding-left: 1.1rem; +} +.tsd-navigation.secondary ul li li li a { + padding-left: 2.2rem; +} +.tsd-navigation.secondary ul li li li li a { + padding-left: 3.3rem; +} +.tsd-navigation.secondary ul li li li li li a { + padding-left: 4.4rem; +} +.tsd-navigation.secondary ul li li li li li li a { + padding-left: 5.5rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + margin: 0.25rem 0; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; +} +.tsd-accordion-summary > h1, +.tsd-accordion-summary > h2, +.tsd-accordion-summary > h3, +.tsd-accordion-summary > h4, +.tsd-accordion-summary > h5 { + display: inline-flex; + align-items: center; + vertical-align: middle; + margin-bottom: 0; + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +} +.tsd-accordion-summary { + display: block; + cursor: pointer; +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; +} +.tsd-index-accordion .tsd-accordion-summary svg { + margin-right: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +@media (min-width: 1024px) { + .col-content { + margin: 2rem auto; + } + + .menu-sticky-wrap { + position: sticky; + height: calc(100vh - 2rem); + top: 4rem; + right: 0; + padding: 0 1.5rem; + padding-top: 1rem; + margin-top: 3rem; + transition: 0.3s ease-in-out; + transition-property: top, padding-top, padding, height; + overflow-y: auto; + } + .col-menu { + border-left: 1px solid var(--color-accent); + } + .col-menu--hide { + top: 1rem; + } + .col-menu .tsd-navigation:not(:last-child) { + padding-bottom: 1.75rem; + } +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: fixed; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-page-toolbar--hide { + transform: translateY(-100%); +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +@media (max-width: 1024px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} diff --git a/docs/presence/enums/PresenceStatus.html b/docs/presence/enums/PresenceStatus.html new file mode 100644 index 00000000000..9e370f00ecf --- /dev/null +++ b/docs/presence/enums/PresenceStatus.html @@ -0,0 +1,96 @@ +PresenceStatus | Presence (@webex/plugin-presence)
+
+ +
+
+
+
+ +

Enumeration PresenceStatus

+
+
+
+ +
+
+

Enumeration Members

+
+
+

Enumeration Members

+
+ +
ACTIVE: "active"
+
+ +
CALENDAR_ITEM: "calendarItem"
+
+ +
CALL: "call"
+
+ +
CLEAR: "clear"
+
+ +
DND: "dnd"
+
+ +
INACTIVE: "inactive"
+
+ +
MEETING: "meeting"
+
+ +
OOO: "ooo"
+
+ +
PRESENTING: "presenting"
+
+
\ No newline at end of file diff --git a/docs/presence/index.html b/docs/presence/index.html new file mode 100644 index 00000000000..e4085362003 --- /dev/null +++ b/docs/presence/index.html @@ -0,0 +1,89 @@ +Presence (@webex/plugin-presence)
+
+ +
+
+
+
+

Presence (@webex/plugin-presence)

+
+ +

@webex/plugin-presence

+
+

standard-readme compliant

+
+

Plugin for the Presence service

+
+ + + +

Install

+
+
npm install --save @webex/plugin-presence
+
+ + +

Usage

+
+
import '@webex/plugin-presence';

import WebexCore from '@webex/webex-core';

const webex = new WebexCore();
webex.presence.WHATEVER; +
+ + +

Maintainers

+
+

This package is maintained by Cisco Webex for Developers.

+ + +

Contribute

+
+

Pull requests are welcome. Please see CONTRIBUTING.md for more details.

+ + +

License

+
+

© 2024 Cisco and/or its affiliates. All Rights Reserved.

+
+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IEventPayload.html b/docs/presence/interfaces/IEventPayload.html new file mode 100644 index 00000000000..3a67111079f --- /dev/null +++ b/docs/presence/interfaces/IEventPayload.html @@ -0,0 +1,65 @@ +IEventPayload | Presence (@webex/plugin-presence)
+
+ +
+
+
+
+ +

Interface IEventPayload

+
+

Hierarchy

+
    +
  • IEventPayload
+
+
+
+ +
+
+

Properties

+
+
+

Properties

+
+ +
type: string
+
+ +
payload: any
+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IGenericKeyValue.html b/docs/presence/interfaces/IGenericKeyValue.html new file mode 100644 index 00000000000..891cc35a2d6 --- /dev/null +++ b/docs/presence/interfaces/IGenericKeyValue.html @@ -0,0 +1,56 @@ +IGenericKeyValue | Presence (@webex/plugin-presence)
+
+ +
+
+
+
+ +

Interface IGenericKeyValue

+
+

Hierarchy

+
    +
  • IGenericKeyValue
+
+

Indexable

+
[id: string]: number
+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IPredicate.html b/docs/presence/interfaces/IPredicate.html new file mode 100644 index 00000000000..f6f8a010b68 --- /dev/null +++ b/docs/presence/interfaces/IPredicate.html @@ -0,0 +1,98 @@ +IPredicate | Presence (@webex/plugin-presence)
+
+ +
+
+
+ +
+

Hierarchy

+
    +
  • IPredicate
+
+
+
+ +
+
+

Properties

+
+
+

Methods

+
+
+

Properties

+
+ +
name: string
+
+ +
direction: string
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns Promise<boolean>

+
+ +
+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IPresence.html b/docs/presence/interfaces/IPresence.html new file mode 100644 index 00000000000..4a8394eff5c --- /dev/null +++ b/docs/presence/interfaces/IPresence.html @@ -0,0 +1,197 @@ +IPresence | Presence (@webex/plugin-presence)
+
+ +
+
+
+ +
+

Hierarchy

+
    +
  • IPresence
+
+
+
+ +
+
+

Methods

+
+ +
    + +
  • +

    Returns void

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns void

+
+ +
    + +
  • +

    Returns Promise<boolean>

+
+ +
    + +
  • +

    Returns Promise<boolean>

+
+ +
    + +
  • +

    Returns Promise<boolean>

+
+ +
+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      personIds: string[]
    +

    Returns Promise<{
        statusList: IPresenceStatusObject[];
    }>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      personIds: string | string[]
    • +
    • +
      Optional subscriptionTtl: number
    +

    Returns Promise<{
        responses: any[];
    }>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      personIds: string | string[]
    +

    Returns Promise<{
        responses: any;
    }>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      status: string
    • +
    • +
      ttl: number
    +

    Returns Promise<any>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      id: string
    +

    Returns void

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      id: string
    +

    Returns void

+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IPresenceBatcher.html b/docs/presence/interfaces/IPresenceBatcher.html new file mode 100644 index 00000000000..1afcb63fd62 --- /dev/null +++ b/docs/presence/interfaces/IPresenceBatcher.html @@ -0,0 +1,150 @@ +IPresenceBatcher | Presence (@webex/plugin-presence)
+
+ +
+
+
+
+ +

Interface IPresenceBatcher

+
+

Hierarchy

+
    +
  • IPresenceBatcher
+
+
+
+ +
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      res: any
    +

    Returns Promise<any>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      item: string
    • +
    • +
      response: any
    +

    Returns Promise<any>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      item: string
    • +
    • +
      response: any
    +

    Returns Promise<any>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      id: string
    +

    Returns Promise<string>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      id: string
    +

    Returns Promise<string>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      ids: string[]
    +

    Returns Promise<string[]>

+
+ +
    + +
  • +
    +

    Parameters

    +
      +
    • +
      subjects: any
    +

    Returns Promise<any>

+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IPresenceStatusObject.html b/docs/presence/interfaces/IPresenceStatusObject.html new file mode 100644 index 00000000000..25c33748bcd --- /dev/null +++ b/docs/presence/interfaces/IPresenceStatusObject.html @@ -0,0 +1,105 @@ +IPresenceStatusObject | Presence (@webex/plugin-presence)
+
+ +
+
+
+
+ +

Interface IPresenceStatusObject

+
+

Hierarchy

+
    +
  • IPresenceStatusObject
+
+
+
+ +
+
+

Properties

+
+ +
url: string
+
+ +
subject: string
+
+ +
+
+ +
statusTime: string
+
+ +
lastActive: string
+
+ +
expiresTTL: number
+
+ +
expiresTime: string
+
+ +
vectorCounters: object
+
+ +
suppressNotifications: boolean
+
+ +
lastseenDeviceUrl: string
+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IResponse.html b/docs/presence/interfaces/IResponse.html new file mode 100644 index 00000000000..d04076db681 --- /dev/null +++ b/docs/presence/interfaces/IResponse.html @@ -0,0 +1,69 @@ +IResponse | Presence (@webex/plugin-presence)
+
+ +
+
+
+ +
+

Hierarchy

+
    +
  • IResponse
+
+
+
+ +
+
+

Properties

+
+
+

Properties

+
+ +
body: {
    eventType: string;
    subject: string;
    status?: string;
}
+
+

Type declaration

+
    +
  • +
    eventType: string
  • +
  • +
    subject: string
  • +
  • +
    Optional status?: string
+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/ITransform.html b/docs/presence/interfaces/ITransform.html new file mode 100644 index 00000000000..a2882b71fcc --- /dev/null +++ b/docs/presence/interfaces/ITransform.html @@ -0,0 +1,85 @@ +ITransform | Presence (@webex/plugin-presence)
+
+ +
+
+
+ +
+

Hierarchy

+
    +
  • ITransform
+
+
+
+ +
+
+

Properties

+
+
+

Methods

+
fn +
+
+

Properties

+
+ +
name: string
+
+ +
direction: string
+
+

Methods

+
+ +
    + +
  • +
    +

    Parameters

    +
    +

    Returns void

+
+
\ No newline at end of file diff --git a/docs/presence/interfaces/IWebex.html b/docs/presence/interfaces/IWebex.html new file mode 100644 index 00000000000..f157c347d1a --- /dev/null +++ b/docs/presence/interfaces/IWebex.html @@ -0,0 +1,65 @@ +IWebex | Presence (@webex/plugin-presence)
+
+ +
+
+
+ +
+

Hierarchy

+
    +
  • IWebex
+
+
+
+ +
+
+

Properties

+
+
+

Properties

+
+ +
internal: any
+
+ +
presence: IPresence
+
+
\ No newline at end of file diff --git a/docs/presence/modules.html b/docs/presence/modules.html new file mode 100644 index 00000000000..5ab607e4eab --- /dev/null +++ b/docs/presence/modules.html @@ -0,0 +1,65 @@ +Presence (@webex/plugin-presence)
+
+ +
+
+
+
+

Presence (@webex/plugin-presence)

+
+
+

Index

+
+

Enumerations

+
+
+

Interfaces

+
+
+
\ No newline at end of file diff --git a/docs/samples/browser-plugin-presence/app.js b/docs/samples/browser-plugin-presence/app.js new file mode 100644 index 00000000000..c0b056d7200 --- /dev/null +++ b/docs/samples/browser-plugin-presence/app.js @@ -0,0 +1,205 @@ +/* eslint-env browser */ + +/* global Webex */ + +/* eslint-disable no-console */ +/* eslint-disable require-jsdoc */ + +// Declare some globals that we'll need throughout. +let webex; +let enableProd = true; +let subscribedUserIds = []; + +const credentialsFormElm = document.querySelector('#credentials'); +const tokenElm = document.querySelector('#access-token'); +const saveElm = document.querySelector('#access-token-save'); +const authStatusElm = document.querySelector('#access-token-status'); +const selfPresenceElm = document.querySelector('#self-presence-status'); +const selfPresenceBtn = document.querySelector('#sd-get-self-presence'); +const setPresenceStatusElm = document.querySelector('#set-presence'); +const setPresenceTtl = document.querySelector('#presence-ttl'); +const setPresenceBtn = document.querySelector('#sd-set-self-presence'); +const getPresenceBtn = document.querySelector('#sd-get-user-presence'); +const getUserPresenceElm = document.querySelector('#get-user-presence'); +const userPresenceStatusElm = document.querySelector('#user-presence-status'); +const presenceNotifications = document.querySelector('#subscribe-presence-notifications'); +const usersToSubOrUnsub = document.querySelector('#subscribe-id'); +const subscribePresenceBtn = document.querySelector('#subscribe-presence'); +const unsubscribePresenceBtn = document.querySelector('#unsubscribe-presence'); +const subscribeNotificationBox = document.querySelector('#subscribe-presence-notifications'); + +// Store and Grab `access-token` from localstorage +if (localStorage.getItem('date') > new Date().getTime()) { + tokenElm.value = localStorage.getItem('access-token'); +} else { + localStorage.removeItem('access-token'); +} + +tokenElm.addEventListener('change', (event) => { + localStorage.setItem('access-token', event.target.value); + localStorage.setItem('date', new Date().getTime() + 12 * 60 * 60 * 1000); +}); + +function changeEnv() { + enableProd = !enableProd; + enableProduction.innerHTML = enableProd ? 'In Production' : 'In Integration'; +} + +function updateStatus(enabled) { + selfPresenceBtn.disabled = !enabled; + setPresenceBtn.disabled = !enabled; + getPresenceBtn.disabled = !enabled; + subscribePresenceBtn.disabled = !enabled; + unsubscribePresenceBtn.disabled = !enabled; +} + + +async function initWebex(e) { + e.preventDefault(); + console.log('Authentication#initWebex()'); + + tokenElm.disabled = true; + saveElm.disabled = true; + selfPresenceBtn.disabled = true; + setPresenceBtn.disabled = true; + getPresenceBtn.disabled = true; + subscribePresenceBtn.disabled = true; + unsubscribePresenceBtn.disabled = true; + + authStatusElm.innerText = 'initializing...'; + + const webexConfig = { + config: { + logger: { + level: 'debug', // set the desired log level + }, + meetings: { + reconnection: { + enabled: true, + }, + enableRtx: true, + }, + encryption: { + kmsInitialTimeout: 8000, + kmsMaxTimeout: 40000, + batcherMaxCalls: 30, + caroots: null, + }, + dss: {}, + }, + credentials: { + access_token: tokenElm.value + } + }; + + if (!enableProd) { + webexConfig.config.services = { + discovery: { + u2c: 'https://u2c-intb.ciscospark.com/u2c/api/v1', + hydra: 'https://apialpha.ciscospark.com/v1/', + }, + }; + } + + webex = window.webex = Webex.init(webexConfig); + + webex.once('ready', () => { + console.log('Authentication#initWebex() :: Webex Ready'); + authStatusElm.innerText = 'Webex is ready. Saved access token!'; + }); + + webex.messages.listen() + .then(() => { + updateStatus(true); + }) + .catch((err) => { + console.error(`error listening to messages: ${err}`); + }); +} + +credentialsFormElm.addEventListener('submit', initWebex); + + +function getSelfPresence() { + console.log('Presence enabled: ', webex.presence.isEnabled()); + webex.presence.get(webex.internal.device.userId) + .then((res) => { + selfPresenceElm.innerText = JSON.stringify(res, null, 2); + }) + .catch((error) => { + console.log('Error while fetching self presence status', error); + selfPresenceElm.innerText = 'Error while fetching self presence status'; + }); +} + +function setSelfPresence() { + const status = setPresenceStatusElm.value; + const ttl = setPresenceTtl.value; + webex.presence.setStatus(status, ttl) + .then(() => { + console.log('Set status for the user successfully'); + }) + .catch((error) => { + console.log('Error occurred while setting user\'s status', error); + }) +} + +function getUserPresence() { + const userId = getUserPresenceElm.value.trim(); + webex.presence.get(userId) + .then((response) => { + userPresenceStatusElm.innerText = JSON.stringify(response, null, 2); + }) + .catch((error) => { + console.log('Error occurred while trying to get user\'s presence', error); + }) +} + +function handlePresenceUpdate(payload) { + let value = subscribeNotificationBox.innerText; + value += '\n\n'; + value += JSON.stringify(payload.data, null, 2); + subscribeNotificationBox.innerText = value; +} + +function setupPresenceListener() { + webex.internal.mercury.on('event:apheleia.subscription_update', handlePresenceUpdate); +} + +function removePresenceListener() { + webex.internal.mercury.off('event:apheleia.subscription_update', handlePresenceUpdate); +} + +function subscribePresence() { + const ids = usersToSubOrUnsub.value.trim().split(','); + if (subscribedUserIds.length == 0) { + setupPresenceListener(); + } + webex.presence.subscribe(ids) + .then(() => { + console.log('successfully subscribed'); + ids.map((id) => subscribedUserIds.push(id)); + }) + .catch((error) => { + console.log('encountered error while subscribing', error); + }) +} + +function removeFromArray(A, B) { + return A.filter(element => !B.includes(element)); +} + +function unsubscribePresence() { + const ids = usersToSubOrUnsub.value.trim().split(','); + if (subscribedUserIds.length == 0) { + removePresenceListener(); + } + webex.presence.unsubscribe(ids) + .then(() => { + console.log('successfully unsubscribed'); + subscribedUserIds = removeFromArray(subscribedUserIds, ids); + }) + .catch((error) => { + console.log('encountered error while unsubscribing', error); + }) +} diff --git a/docs/samples/browser-plugin-presence/index.html b/docs/samples/browser-plugin-presence/index.html new file mode 100644 index 00000000000..0a2a6f465b9 --- /dev/null +++ b/docs/samples/browser-plugin-presence/index.html @@ -0,0 +1,96 @@ + + + + + + Presence Kitchen Sink + + + + +
+
+
+ + +
+

Webex - Presence

+

Use this kitchen sink to interact with the Webex Presence service

+
+ + + +
+

Authentication

+
+

Note: Get an access token from our developer portal: https://developer.webex.com/docs/api/getting-started.

+

Note: Webex JS SDK must be initialized using a valid token.

+ + +
+
+ Credentials +
+

Initializes webex object and registers Webex JS SDK as a device.

+ ( Click to change the environment ) + +
+ + +
Not initialized
+
+
+
+
+ + +
+

Presence Actions

+

Note: To get userIds for the below operations, use the People API in the developer portal to search names and get user's respective userId values.

+
+
+ Get own user's presence status +
+ +
+

+
+            Set Presence Status
+            
+ + + +
+ + Get a different user's presence status +
+ + +
+

+            
+ +
+ Subscribe +
+

Input User IDs to subscribe for their respective presence statuses. Separate multiple IDs with a comma

+ + + +
Presence Notifications
+
+
+
+
+ +
+
+
+ + + + + diff --git a/docs/samples/browser-plugin-presence/style.css b/docs/samples/browser-plugin-presence/style.css new file mode 100644 index 00000000000..e8bca7f3eff --- /dev/null +++ b/docs/samples/browser-plugin-presence/style.css @@ -0,0 +1,358 @@ +body { + margin: 0; + padding: 0; + background-color: #eee; + font-family: sans-serif; + font-size: 16px; +} + +/* Nice defaults */ +h2 { + font-weight: 500; + font-size: 2.2rem; + margin: 0 0 1rem 0; +} + +section { + background-color: #fff; + padding: 1rem; + margin-bottom: 1.5rem; + border-radius: 8px; +} + +select { + min-width: 300px; + margin-right: 1rem; +} + +label { + font-size: 1rem; + margin-left: 0.2rem; + white-space: nowrap; +} +label:first-child { + margin-left: 0; +} + +pre { + padding: 0.5rem; + background-color: #eee; + white-space: pre-wrap; +} + +code { + display: inline-block; + padding: 0.0625rem 0.25rem; + font-family: Consolas, Liberation Mono, Courier, monospace; + line-height: 1rem; + color: crimson; + font-size: 0.8rem; + background-color: #ededed; + border: 0.0625rem solid rgba(0, 0, 0, 0.12); + border-radius: 0.25rem; + box-sizing: border-box; +} + +fieldset { + margin: 0 0.5rem; + margin-bottom: 2rem; + border: 1px solid rgba(0, 0, 0, 0.1); +} +fieldset p { + padding: 1rem 0; + margin: 0; +} +fieldset legend { + font-weight: bold; + font-size: 1.1rem; +} + +button, input[type="button"] { + position: relative; + display: inline-block; + min-width: 4.5rem; + font-family: CiscoSansTT Regular, Helvetica Neue, Helvetica, sans-serif; + font-weight: 400; + text-align: center; + text-decoration: none; + cursor: pointer; + border: none; + font-size: 0.9rem; + line-height: 1.5rem; + border-radius: 1.125rem; + height: 2.25rem; + padding: 0.375rem 1.125rem; + color: var(--md-button-secondary-text-color, #000); + background-color: var(--md-button-secondary-bg-color, #dedede); + border-color: transparent; + transition: background-color 0.15s ease; +} + +button:hover, input[type="button"]:hover { + color: var(--md-button-secondary-text-color, #000); + background-color: var(--md-button-secondary-hover-bg-color, #ccc); +} + +button:active, input[type="button"]:active { + background-color: var(--md-button-bg-color, rgba(0, 0, 0, 0.3)); +} + +button:disabled, input[type="button"]:disabled { + color: var(--md-button-disabled-text-color, rgba(0, 0, 0, 0.2)); + fill: var(--md-button-disabled-text-color, rgba(0, 0, 0, 0.2)); + background-color: var(--md-button-disabled-bg-color, rgba(0, 0, 0, 0.04)); + pointer-events: none; + cursor: default; +} + +button.btn--green, input[type="button"].btn--green { + color: #fff; + background-color: #00ab50; + border-color: transparent; +} + +button.btn--green:disabled, input[type="button"].btn--green:disabled{ + opacity: .5; +} + +button.btn--red, input[type="button"].btn--red { + color: #fff; + color: var(--md-button-cancel-text-color, #fff); + background-color: #f7644a; + background-color: var(--md-button-cancel-bg-color, #f7644a); + border-color: transparent; +} + +.btn--red:disabled, +.btn--green:disabled { + opacity: .5; +} + +button.btn-code, input[type="button"].btn-code { + font-family: Consolas, Liberation Mono, Courier, monospace; + margin: 0.2rem 0; +} + +input[type=text], +input[type=password], +input[type=email] { + width: 100%; + margin-bottom: 1rem; + box-sizing: border-box; + border: 0.0625rem solid; + border-color: var(--md-input-outline-color, #ccc); + background-color: var(--md-input-background-color, #fff); + border-radius: 4px; + font-family: CiscoSansTT Regular, Helvetica Neue, Helvetica, sans-serif; + font-size: 1rem; + height: 2.25rem; + width: 100%; + padding: 0 1rem; + transition: box-shadow 0.15s ease-out; +} + +input[type=text]:focus, +input[type=password]:focus, +input[type=email]:focus { + border-color: transparent; + outline: none; + box-shadow: 0 0 4px 2px rgba(0, 160, 209, 0.75); + transition: box-shadow 0.15s ease-in; +} + +.btn-group { + display: flex; + margin: 0.5rem 0; + margin-bottom: 0; +} +.btn-group button { + flex: 1; + margin-right: 1rem; +} +.btn-group button:last-of-type { + margin-right: 0; +} + +/* Utilities */ +.flex { + display: flex; +} + +.flex--wrap { + flex-wrap: wrap; +} + +.flex--center { + justify-content: center; +} + +/* Margin utils */ +.u-m { + margin: 1rem !important; +} + +.u-mv { + margin-top: 1rem !important; + margin-bottom: 1rem !important; +} + +.u-mb { + margin-bottom: 1rem !important; +} + +.u-mt { + margin-top: 1rem !important; +} + +/* Padding Utils */ +.u-p { + padding: 1rem !important; +} + +.u-pv { + padding-top: 1rem !important; + padding-bottom: 1rem !important; +} + +.u-pb { + padding-bottom: 1rem !important; +} + +.u-pt { + padding-top: 1rem !important; +} + +/* Misc Styles */ +.note { + margin: 0.8rem 0; + background: rgba(232, 232, 232, 0.4); + padding: 1rem; + border-radius: 6px; + color: #555; +} + +.transcription { + display: flex; + flex-direction: column; +} + +.transcription textarea { + width: 100%; + min-height: 10rem; +} + +.device-type-label { + width: 125px; + display: inline-block; +} + +.context-info { + width: 200px; + display: inline-block; +} + +.meeting-list { + list-style-type: none; +} + +/* Container - Docs / Streams Fixed */ +.container { + overflow: auto; + height: 100vh; +} + +.docs { + max-width: 87.5rem; + margin-top: 1.5rem; +} + +.hidden { + display: none; +} + +th , td { + border:1px solid black; + padding: 5px; + font-size: small; +} + +table { + border-collapse: collapse; +} + +.styled-table { + border-collapse: collapse; + margin: 1.5625 0; + font-size: 0.9em; + font-family: sans-serif; + min-width: 25rem; + box-shadow: 0 0 1.25rem rgba(0, 0, 0, 0.15); +} + +.styled-table thead tr { + background-color: #009879; + color: #ffffff; + text-align: left; +} + +.styled-table th, +.styled-table td { + padding: 1.25rem 1.25rem; +} + +.styled-table tbody tr { + border-bottom: 0.063rem solid #dddddd; +} + +.styled-table tbody tr:nth-of-type(even) { + background-color: #f3f3f3; +} + +.styled-table tbody tr:last-of-type { + border-bottom: 0.125rem solid #009879; +} + +h2 { + color: #0052bf; + font-size: 1.5rem; + width: 100%; +} + +legend { + font-size: 1.15rem; + color: #1a73e8; +} + +.collapsible { + cursor: pointer; +} + +.section-content { + height: auto; + visibility: visible; +} + +.collapsed { + height: 0; + visibility: hidden; +} + +.text-color { + color: #555; +} + +input[type="string"], +select { + padding: 0 0.5rem; + height: 1.75rem; + border-radius: 4px; + box-sizing: border-box; + border: 0.0625rem solid; + border-color: var(--md-input-outline-color, #ccc); + background-color: var(--md-input-background-color, #fff); + font-family: CiscoSansTT Regular, Helvetica Neue, Helvetica, sans-serif; + font-size: 1rem; + transition: box-shadow 0.15s ease-out; + color: #555; + width: 10rem; +} \ No newline at end of file diff --git a/docs/samples/index.html b/docs/samples/index.html index 54eabee35e6..1491e74e6c5 100644 --- a/docs/samples/index.html +++ b/docs/samples/index.html @@ -7,6 +7,7 @@

Hosted Samples

diff --git a/package.json b/package.json index f1bf6992da6..35c95473bad 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "build:dev": "NODE_ENV=development node ./tooling/index.js build", "prebuild:modules": "yarn && yarn @tools build:src && yarn @legacy-tools build:src && yarn workspace @webex/webex-core build:src && yarn @all build:src", "prebuild:docs": "rimraf ./docs/api", - "build:docs": "yarn workspace @webex/calling run build:docs && documentation build --config documentation/config.yml --format html --output ./docs/api --github ./packages/webex/src/index.js ./packages/@webex/plugin-*/src/index.[tj]s --babel=./babel.config.json", + "build:docs": "yarn workspace @webex/plugin-presence run build:docs && yarn workspace @webex/calling run build:docs && documentation build --config documentation/config.yml --format html --output ./docs/api --github ./packages/webex/src/index.js ./packages/@webex/plugin-*/src/index.[tj]s --babel=./babel.config.json", "check-karma-output": "./scripts/analyze-output.sh", "build:package": "node ./tooling/index.js build", "changelog:generate": "npx standard-changelog", diff --git a/packages/@webex/plugin-presence/package.json b/packages/@webex/plugin-presence/package.json index eaf85101538..d48dd472c01 100644 --- a/packages/@webex/plugin-presence/package.json +++ b/packages/@webex/plugin-presence/package.json @@ -20,7 +20,7 @@ ] }, "devDependencies": { - "@babel/core": "^7.17.10", + "@babel/core": "7.17.10", "@webex/babel-config-legacy": "workspace:*", "@webex/eslint-config-legacy": "workspace:*", "@webex/jest-config-legacy": "workspace:*", @@ -29,9 +29,10 @@ "@webex/test-helper-mocha": "workspace:*", "@webex/test-helper-mock-webex": "workspace:*", "@webex/test-helper-test-users": "workspace:*", - "eslint": "^8.24.0", - "prettier": "^2.7.1", - "sinon": "^9.2.4" + "eslint": "8.24.0", + "prettier": "2.7.1", + "sinon": "9.2.4", + "typedoc": "0.23.26" }, "dependencies": { "@webex/internal-plugin-device": "workspace:*", @@ -41,10 +42,11 @@ "@webex/test-helper-mock-webex": "workspace:*", "@webex/test-helper-test-users": "workspace:*", "@webex/webex-core": "workspace:*", - "lodash": "^4.17.21" + "lodash": "4.17.21" }, "scripts": { "build": "yarn run -T tsc --declaration true --declarationDir ./dist/types && yarn run build:src", + "build:docs": "typedoc --out ../../../docs/presence", "build:src": "webex-legacy-tools build -dest \"./dist\" -src \"./src\" -js -ts -maps", "deploy:npm": "yarn npm publish", "test": "yarn test:style && yarn test:unit && yarn test:integration && yarn test:browser", diff --git a/packages/@webex/plugin-presence/src/interface.ts b/packages/@webex/plugin-presence/src/interface.ts index cfb69b021e9..4f8bc74c8ee 100644 --- a/packages/@webex/plugin-presence/src/interface.ts +++ b/packages/@webex/plugin-presence/src/interface.ts @@ -1,14 +1,24 @@ +export enum PresenceStatus { + ACTIVE = 'active', + CALENDAR_ITEM = 'calendarItem', + CALL = 'call', + CLEAR = 'clear', + DND = 'dnd', + INACTIVE = 'inactive', + MEETING = 'meeting', + OOO = 'ooo', + PRESENTING = 'presenting', +} + export interface IPresenceStatusObject { url: string; subject: string; - status: string; + status: PresenceStatus; statusTime: string; lastActive: string; expiresTTL: number; - expiresTime: string; vectorCounters: object; suppressNotifications: boolean; - lastseeeDeviceUrl: string; } export interface IEventPayload { diff --git a/packages/@webex/plugin-presence/tsconfig.json b/packages/@webex/plugin-presence/tsconfig.json index 9b376c2b1d9..aa8ca880ded 100644 --- a/packages/@webex/plugin-presence/tsconfig.json +++ b/packages/@webex/plugin-presence/tsconfig.json @@ -1,4 +1,18 @@ { "extends": "../../../tsconfig.json", - "include": ["src"] + "include": ["src"], + "typedocOptions": { + "entryPoints": [ + "./src/interface.ts" + ], + "sort": [ + "source-order" + ], + "name": "Presence (@webex/plugin-presence)", + "disableSources": "true", + "entryPointStrategy": "expand", + "excludeExternals": "true", + "excludePrivate": "true", + "hideGenerator": "true", + }, } diff --git a/packages/webex/src/webex.js b/packages/webex/src/webex.js index 0581b8bf23f..670d082151f 100644 --- a/packages/webex/src/webex.js +++ b/packages/webex/src/webex.js @@ -14,6 +14,7 @@ require('@webex/plugin-authorization'); require('@webex/internal-plugin-calendar'); require('@webex/internal-plugin-device'); require('@webex/internal-plugin-presence'); +require('@webex/plugin-presence'); require('@webex/internal-plugin-support'); require('@webex/internal-plugin-llm'); require('@webex/plugin-attachment-actions'); diff --git a/yarn.lock b/yarn.lock index 8a9ee074b9f..0a1ecb24d9f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,6 +19,16 @@ __metadata: languageName: node linkType: hard +"@ampproject/remapping@npm:^2.1.0": + version: 2.3.0 + resolution: "@ampproject/remapping@npm:2.3.0" + dependencies: + "@jridgewell/gen-mapping": ^0.3.5 + "@jridgewell/trace-mapping": ^0.3.24 + checksum: d3ad7b89d973df059c4e8e6d7c972cbeb1bb2f18f002a3bd04ae0707da214cb06cc06929b65aa2313b9347463df2914772298bae8b1d7973f246bb3f2ab3e8f0 + languageName: node + linkType: hard + "@ampproject/remapping@npm:^2.2.0": version: 2.2.1 resolution: "@ampproject/remapping@npm:2.2.1" @@ -66,6 +76,16 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.24.1": + version: 7.24.2 + resolution: "@babel/code-frame@npm:7.24.2" + dependencies: + "@babel/highlight": ^7.24.2 + picocolors: ^1.0.0 + checksum: 70e867340cfe09ca5488b2f36372c45cabf43c79a5b6426e6df5ef0611ff5dfa75a57dda841895693de6008f32c21a7c97027a8c7bcabd63a7d17416cbead6f8 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.22.9, @babel/compat-data@npm:^7.23.3": version: 7.23.3 resolution: "@babel/compat-data@npm:7.23.3" @@ -73,6 +93,36 @@ __metadata: languageName: node linkType: hard +"@babel/compat-data@npm:^7.23.5": + version: 7.24.4 + resolution: "@babel/compat-data@npm:7.24.4" + checksum: 52ce371658dc7796c9447c9cb3b9c0659370d141b76997f21c5e0028cca4d026ca546b84bc8d157ce7ca30bd353d89f9238504eb8b7aefa9b1f178b4c100c2d4 + languageName: node + linkType: hard + +"@babel/core@npm:7.17.10": + version: 7.17.10 + resolution: "@babel/core@npm:7.17.10" + dependencies: + "@ampproject/remapping": ^2.1.0 + "@babel/code-frame": ^7.16.7 + "@babel/generator": ^7.17.10 + "@babel/helper-compilation-targets": ^7.17.10 + "@babel/helper-module-transforms": ^7.17.7 + "@babel/helpers": ^7.17.9 + "@babel/parser": ^7.17.10 + "@babel/template": ^7.16.7 + "@babel/traverse": ^7.17.10 + "@babel/types": ^7.17.10 + convert-source-map: ^1.7.0 + debug: ^4.1.0 + gensync: ^1.0.0-beta.2 + json5: ^2.2.1 + semver: ^6.3.0 + checksum: 2545fb24b4090c1e9ead0daad4713ae6fe779df0843e6e286509146f4dd09958bd067d80995f2cc09fdb01fd0dc936f42cdd6f70b3d058de48e124cd9a3cc93e + languageName: node + linkType: hard + "@babel/core@npm:^7.1.0, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.17.10, @babel/core@npm:^7.18.10, @babel/core@npm:^7.7.2, @babel/core@npm:^7.7.5, @babel/core@npm:^7.8.0": version: 7.23.3 resolution: "@babel/core@npm:7.23.3" @@ -122,6 +172,18 @@ __metadata: languageName: node linkType: hard +"@babel/generator@npm:^7.17.10, @babel/generator@npm:^7.24.1": + version: 7.24.4 + resolution: "@babel/generator@npm:7.24.4" + dependencies: + "@babel/types": ^7.24.0 + "@jridgewell/gen-mapping": ^0.3.5 + "@jridgewell/trace-mapping": ^0.3.25 + jsesc: ^2.5.1 + checksum: 1b6146c31386c9df3eb594a2c36b5c98da4f67f7c06edb3d68a442b92516b21bb5ba3ad7dbe0058fe76625ed24d66923e15c95b0df75ef1907d4068921a699b8 + languageName: node + linkType: hard + "@babel/helper-annotate-as-pure@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-annotate-as-pure@npm:7.22.5" @@ -140,6 +202,19 @@ __metadata: languageName: node linkType: hard +"@babel/helper-compilation-targets@npm:^7.17.10": + version: 7.23.6 + resolution: "@babel/helper-compilation-targets@npm:7.23.6" + dependencies: + "@babel/compat-data": ^7.23.5 + "@babel/helper-validator-option": ^7.23.5 + browserslist: ^4.22.2 + lru-cache: ^5.1.1 + semver: ^6.3.1 + checksum: c630b98d4527ac8fe2c58d9a06e785dfb2b73ec71b7c4f2ddf90f814b5f75b547f3c015f110a010fd31f76e3864daaf09f3adcd2f6acdbfb18a8de3a48717590 + languageName: node + linkType: hard + "@babel/helper-compilation-targets@npm:^7.20.7, @babel/helper-compilation-targets@npm:^7.22.15, @babel/helper-compilation-targets@npm:^7.22.6": version: 7.22.15 resolution: "@babel/helper-compilation-targets@npm:7.22.15" @@ -244,7 +319,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.23.3": +"@babel/helper-module-transforms@npm:^7.17.7, @babel/helper-module-transforms@npm:^7.23.3": version: 7.23.3 resolution: "@babel/helper-module-transforms@npm:7.23.3" dependencies: @@ -349,6 +424,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-option@npm:^7.23.5": + version: 7.23.5 + resolution: "@babel/helper-validator-option@npm:7.23.5" + checksum: 537cde2330a8aede223552510e8a13e9c1c8798afee3757995a7d4acae564124fe2bf7e7c3d90d62d3657434a74340a274b3b3b1c6f17e9a2be1f48af29cb09e + languageName: node + linkType: hard + "@babel/helper-wrap-function@npm:^7.22.20": version: 7.22.20 resolution: "@babel/helper-wrap-function@npm:7.22.20" @@ -360,6 +442,17 @@ __metadata: languageName: node linkType: hard +"@babel/helpers@npm:^7.17.9": + version: 7.24.4 + resolution: "@babel/helpers@npm:7.24.4" + dependencies: + "@babel/template": ^7.24.0 + "@babel/traverse": ^7.24.1 + "@babel/types": ^7.24.0 + checksum: ecd2dc0b3b32e24b97fa3bcda432dd3235b77c2be1e16eafc35b8ef8f6c461faa99796a8bc2431a408c98b4aabfd572c160e2b67ecea4c5c9dd3a8314a97994a + languageName: node + linkType: hard + "@babel/helpers@npm:^7.23.2": version: 7.23.4 resolution: "@babel/helpers@npm:7.23.4" @@ -382,6 +475,18 @@ __metadata: languageName: node linkType: hard +"@babel/highlight@npm:^7.24.2": + version: 7.24.2 + resolution: "@babel/highlight@npm:7.24.2" + dependencies: + "@babel/helper-validator-identifier": ^7.22.20 + chalk: ^2.4.2 + js-tokens: ^4.0.0 + picocolors: ^1.0.0 + checksum: 5f17b131cc3ebf3ab285a62cf98a404aef1bd71a6be045e748f8d5bf66d6a6e1aefd62f5972c84369472e8d9f22a614c58a89cd331eb60b7ba965b31b1bbeaf5 + languageName: node + linkType: hard + "@babel/node@npm:^7.14.9": version: 7.22.19 resolution: "@babel/node@npm:7.22.19" @@ -409,6 +514,15 @@ __metadata: languageName: node linkType: hard +"@babel/parser@npm:^7.17.10, @babel/parser@npm:^7.24.0, @babel/parser@npm:^7.24.1": + version: 7.24.4 + resolution: "@babel/parser@npm:7.24.4" + bin: + parser: ./bin/babel-parser.js + checksum: 94c9e3e592894cd6fc57c519f4e06b65463df9be5f01739bb0d0bfce7ffcf99b3c2fdadd44dc59cc858ba2739ce6e469813a941c2f2dfacf333a3b2c9c5c8465 + languageName: node + linkType: hard + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:^7.23.3": version: 7.23.3 resolution: "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@npm:7.23.3" @@ -1640,6 +1754,17 @@ __metadata: languageName: node linkType: hard +"@babel/template@npm:^7.16.7, @babel/template@npm:^7.24.0": + version: 7.24.0 + resolution: "@babel/template@npm:7.24.0" + dependencies: + "@babel/code-frame": ^7.23.5 + "@babel/parser": ^7.24.0 + "@babel/types": ^7.24.0 + checksum: f257b003c071a0cecdbfceca74185f18fe62c055469ab5c1d481aab12abeebed328e67e0a19fd978a2a8de97b28953fa4bc3da6d038a7345fdf37923b9fcdec8 + languageName: node + linkType: hard + "@babel/traverse@npm:^7.10.5, @babel/traverse@npm:^7.14.9, @babel/traverse@npm:^7.18.11, @babel/traverse@npm:^7.23.3, @babel/traverse@npm:^7.23.4, @babel/traverse@npm:^7.7.2": version: 7.23.4 resolution: "@babel/traverse@npm:7.23.4" @@ -1658,6 +1783,24 @@ __metadata: languageName: node linkType: hard +"@babel/traverse@npm:^7.17.10, @babel/traverse@npm:^7.24.1": + version: 7.24.1 + resolution: "@babel/traverse@npm:7.24.1" + dependencies: + "@babel/code-frame": ^7.24.1 + "@babel/generator": ^7.24.1 + "@babel/helper-environment-visitor": ^7.22.20 + "@babel/helper-function-name": ^7.23.0 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/parser": ^7.24.1 + "@babel/types": ^7.24.0 + debug: ^4.3.1 + globals: ^11.1.0 + checksum: 92a5ca906abfba9df17666d2001ab23f18600035f706a687055a0e392a690ae48d6fec67c8bd4ef19ba18699a77a5b7f85727e36b83f7d110141608fe0c24fe9 + languageName: node + linkType: hard + "@babel/types@npm:^7.0.0, @babel/types@npm:^7.0.0-beta.49, @babel/types@npm:^7.14.9, @babel/types@npm:^7.18.10, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.3, @babel/types@npm:^7.23.4, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.23.4 resolution: "@babel/types@npm:7.23.4" @@ -1669,6 +1812,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.17.10, @babel/types@npm:^7.24.0": + version: 7.24.0 + resolution: "@babel/types@npm:7.24.0" + dependencies: + "@babel/helper-string-parser": ^7.23.4 + "@babel/helper-validator-identifier": ^7.22.20 + to-fast-properties: ^2.0.0 + checksum: 4b574a37d490f621470ff36a5afaac6deca5546edcb9b5e316d39acbb20998e9c2be42f3fc0bf2b55906fc49ff2a5a6a097e8f5a726ee3f708a0b0ca93aed807 + languageName: node + linkType: hard + "@bcherny/json-schema-ref-parser@npm:10.0.5-fork": version: 10.0.5-fork resolution: "@bcherny/json-schema-ref-parser@npm:10.0.5-fork" @@ -2662,6 +2816,23 @@ __metadata: languageName: node linkType: hard +"@eslint/eslintrc@npm:^1.3.2": + version: 1.4.1 + resolution: "@eslint/eslintrc@npm:1.4.1" + dependencies: + ajv: ^6.12.4 + debug: ^4.3.2 + espree: ^9.4.0 + globals: ^13.19.0 + ignore: ^5.2.0 + import-fresh: ^3.2.1 + js-yaml: ^4.1.0 + minimatch: ^3.1.2 + strip-json-comments: ^3.1.1 + checksum: cd3e5a8683db604739938b1c1c8b77927dc04fce3e28e0c88e7f2cd4900b89466baf83dfbad76b2b9e4d2746abdd00dd3f9da544d3e311633d8693f327d04cd7 + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^2.1.3": version: 2.1.3 resolution: "@eslint/eslintrc@npm:2.1.3" @@ -2717,6 +2888,17 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/config-array@npm:^0.10.5": + version: 0.10.7 + resolution: "@humanwhocodes/config-array@npm:0.10.7" + dependencies: + "@humanwhocodes/object-schema": ^1.2.1 + debug: ^4.1.1 + minimatch: ^3.0.4 + checksum: 009d64be8d5bd098ff04e10af79e34f5633245250581fca032fac12a8667b2df8e7d169e69c05bff4d83ea3dd3c7d2d0e05ea9b94d89a7d092e26530caf6f8a3 + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.11.13": version: 0.11.13 resolution: "@humanwhocodes/config-array@npm:0.11.13" @@ -2728,6 +2910,13 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/gitignore-to-minimatch@npm:^1.0.2": + version: 1.0.2 + resolution: "@humanwhocodes/gitignore-to-minimatch@npm:1.0.2" + checksum: aba5c40c9e3770ed73a558b0bfb53323842abfc2ce58c91d7e8b1073995598e6374456d38767be24ab6176915f0a8d8b23eaae5c85e2b488c0dccca6d795e2ad + languageName: node + linkType: hard + "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -2735,6 +2924,13 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/object-schema@npm:^1.2.1": + version: 1.2.1 + resolution: "@humanwhocodes/object-schema@npm:1.2.1" + checksum: a824a1ec31591231e4bad5787641f59e9633827d0a2eaae131a288d33c9ef0290bd16fda8da6f7c0fcb014147865d12118df10db57f27f41e20da92369fcb3f1 + languageName: node + linkType: hard + "@humanwhocodes/object-schema@npm:^2.0.1": version: 2.0.1 resolution: "@humanwhocodes/object-schema@npm:2.0.1" @@ -3661,6 +3857,17 @@ __metadata: languageName: node linkType: hard +"@jridgewell/gen-mapping@npm:^0.3.5": + version: 0.3.5 + resolution: "@jridgewell/gen-mapping@npm:0.3.5" + dependencies: + "@jridgewell/set-array": ^1.2.1 + "@jridgewell/sourcemap-codec": ^1.4.10 + "@jridgewell/trace-mapping": ^0.3.24 + checksum: ff7a1764ebd76a5e129c8890aa3e2f46045109dabde62b0b6c6a250152227647178ff2069ea234753a690d8f3c4ac8b5e7b267bbee272bffb7f3b0a370ab6e52 + languageName: node + linkType: hard + "@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0": version: 3.1.1 resolution: "@jridgewell/resolve-uri@npm:3.1.1" @@ -3675,6 +3882,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/set-array@npm:^1.2.1": + version: 1.2.1 + resolution: "@jridgewell/set-array@npm:1.2.1" + checksum: 832e513a85a588f8ed4f27d1279420d8547743cc37fcad5a5a76fc74bb895b013dfe614d0eed9cb860048e6546b798f8f2652020b4b2ba0561b05caa8c654b10 + languageName: node + linkType: hard + "@jridgewell/source-map@npm:^0.3.3": version: 0.3.5 resolution: "@jridgewell/source-map@npm:0.3.5" @@ -3712,6 +3926,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25": + version: 0.3.25 + resolution: "@jridgewell/trace-mapping@npm:0.3.25" + dependencies: + "@jridgewell/resolve-uri": ^3.1.0 + "@jridgewell/sourcemap-codec": ^1.4.14 + checksum: 9d3c40d225e139987b50c48988f8717a54a8c994d8a948ee42e1412e08988761d0754d7d10b803061cc3aebf35f92a5dbbab493bd0e1a9ef9e89a2130e83ba34 + languageName: node + linkType: hard + "@jsdevtools/ono@npm:^7.1.3": version: 7.1.3 resolution: "@jsdevtools/ono@npm:7.1.3" @@ -8053,7 +8277,7 @@ __metadata: version: 0.0.0-use.local resolution: "@webex/plugin-presence@workspace:packages/@webex/plugin-presence" dependencies: - "@babel/core": ^7.17.10 + "@babel/core": 7.17.10 "@webex/babel-config-legacy": "workspace:*" "@webex/eslint-config-legacy": "workspace:*" "@webex/internal-plugin-device": "workspace:*" @@ -8065,10 +8289,11 @@ __metadata: "@webex/test-helper-mock-webex": "workspace:*" "@webex/test-helper-test-users": "workspace:*" "@webex/webex-core": "workspace:*" - eslint: ^8.24.0 - lodash: ^4.17.21 - prettier: ^2.7.1 - sinon: ^9.2.4 + eslint: 8.24.0 + lodash: 4.17.21 + prettier: 2.7.1 + sinon: 9.2.4 + typedoc: 0.23.26 languageName: unknown linkType: soft @@ -9146,7 +9371,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:6.12.6, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5, ajv@npm:~6.12.6": +"ajv@npm:6.12.6, ajv@npm:^6.10.0, ajv@npm:^6.12.3, ajv@npm:^6.12.4, ajv@npm:^6.12.5, ajv@npm:~6.12.6": version: 6.12.6 resolution: "ajv@npm:6.12.6" dependencies: @@ -10970,6 +11195,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.22.2": + version: 4.23.0 + resolution: "browserslist@npm:4.23.0" + dependencies: + caniuse-lite: ^1.0.30001587 + electron-to-chromium: ^1.4.668 + node-releases: ^2.0.14 + update-browserslist-db: ^1.0.13 + bin: + browserslist: cli.js + checksum: 436f49e796782ca751ebab7edc010cfc9c29f68536f387666cd70ea22f7105563f04dd62c6ff89cb24cc3254d17cba385f979eeeb3484d43e012412ff7e75def + languageName: node + linkType: hard + "browserstack-local@npm:^1.3.7, browserstack-local@npm:^1.4.5": version: 1.5.5 resolution: "browserstack-local@npm:1.5.5" @@ -11389,6 +11628,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001587": + version: 1.0.30001612 + resolution: "caniuse-lite@npm:1.0.30001612" + checksum: 2b6ab6a19c72bdf8dccac824944e828a2a1fae52c6dfeb2d64ccecfd60d0466d2e5a392e996da2150d92850188a5034666dceed34a38d978177f6934e0bf106d + languageName: node + linkType: hard + "capital-case@npm:^1.0.4": version: 1.0.4 resolution: "capital-case@npm:1.0.4" @@ -13234,7 +13480,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:~4.3.1, debug@npm:~4.3.2": +"debug@npm:4, debug@npm:4.3.4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:~4.3.1, debug@npm:~4.3.2": version: 4.3.4 resolution: "debug@npm:4.3.4" dependencies: @@ -14199,6 +14445,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.668": + version: 1.4.746 + resolution: "electron-to-chromium@npm:1.4.746" + checksum: 1fa8fad55ddf94ac8d7aa53b451ced4eec08cee0b765fe37fd70d2c560e4c4eff8bbd0ccf64bc6aa069484243c14ddda512974f770206a0b5e858b66cdd16768 + languageName: node + linkType: hard + "elliptic@npm:^6.5.3, elliptic@npm:^6.5.4": version: 6.5.4 resolution: "elliptic@npm:6.5.4" @@ -15091,7 +15344,7 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": +"eslint-scope@npm:^7.1.1, eslint-scope@npm:^7.2.2": version: 7.2.2 resolution: "eslint-scope@npm:7.2.2" dependencies: @@ -15126,6 +15379,55 @@ __metadata: languageName: node linkType: hard +"eslint@npm:8.24.0": + version: 8.24.0 + resolution: "eslint@npm:8.24.0" + dependencies: + "@eslint/eslintrc": ^1.3.2 + "@humanwhocodes/config-array": ^0.10.5 + "@humanwhocodes/gitignore-to-minimatch": ^1.0.2 + "@humanwhocodes/module-importer": ^1.0.1 + ajv: ^6.10.0 + chalk: ^4.0.0 + cross-spawn: ^7.0.2 + debug: ^4.3.2 + doctrine: ^3.0.0 + escape-string-regexp: ^4.0.0 + eslint-scope: ^7.1.1 + eslint-utils: ^3.0.0 + eslint-visitor-keys: ^3.3.0 + espree: ^9.4.0 + esquery: ^1.4.0 + esutils: ^2.0.2 + fast-deep-equal: ^3.1.3 + file-entry-cache: ^6.0.1 + find-up: ^5.0.0 + glob-parent: ^6.0.1 + globals: ^13.15.0 + globby: ^11.1.0 + grapheme-splitter: ^1.0.4 + ignore: ^5.2.0 + import-fresh: ^3.0.0 + imurmurhash: ^0.1.4 + is-glob: ^4.0.0 + js-sdsl: ^4.1.4 + js-yaml: ^4.1.0 + json-stable-stringify-without-jsonify: ^1.0.1 + levn: ^0.4.1 + lodash.merge: ^4.6.2 + minimatch: ^3.1.2 + natural-compare: ^1.4.0 + optionator: ^0.9.1 + regexpp: ^3.2.0 + strip-ansi: ^6.0.1 + strip-json-comments: ^3.1.0 + text-table: ^0.2.0 + bin: + eslint: bin/eslint.js + checksum: ca293ce7116599b742d7ab4d43db469beec22f40dd272092d809498be3cff3a7c567769f9763bdf6799aac13dd53447b93a99629b7b54092783046eb57eaced6 + languageName: node + linkType: hard + "eslint@npm:8.56.0": version: 8.56.0 resolution: "eslint@npm:8.56.0" @@ -15222,7 +15524,7 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": +"espree@npm:^9.4.0, espree@npm:^9.6.0, espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" dependencies: @@ -16955,7 +17257,7 @@ __metadata: languageName: node linkType: hard -"glob-parent@npm:^6.0.2": +"glob-parent@npm:^6.0.1, glob-parent@npm:^6.0.2": version: 6.0.2 resolution: "glob-parent@npm:6.0.2" dependencies: @@ -17138,6 +17440,15 @@ __metadata: languageName: node linkType: hard +"globals@npm:^13.15.0": + version: 13.24.0 + resolution: "globals@npm:13.24.0" + dependencies: + type-fest: ^0.20.2 + checksum: 56066ef058f6867c04ff203b8a44c15b038346a62efbc3060052a1016be9f56f4cf0b2cd45b74b22b81e521a889fc7786c73691b0549c2f3a6e825b3d394f43c + languageName: node + linkType: hard + "globals@npm:^13.19.0": version: 13.23.0 resolution: "globals@npm:13.23.0" @@ -17272,7 +17583,7 @@ __metadata: languageName: node linkType: hard -"grapheme-splitter@npm:^1.0.2": +"grapheme-splitter@npm:^1.0.2, grapheme-splitter@npm:^1.0.4": version: 1.0.4 resolution: "grapheme-splitter@npm:1.0.4" checksum: 0c22ec54dee1b05cd480f78cf14f732cb5b108edc073572c4ec205df4cd63f30f8db8025afc5debc8835a8ddeacf648a1c7992fe3dcd6ad38f9a476d84906620 @@ -20405,6 +20716,13 @@ __metadata: languageName: node linkType: hard +"js-sdsl@npm:^4.1.4": + version: 4.4.2 + resolution: "js-sdsl@npm:4.4.2" + checksum: ba705adc1788bf3c6f6c8e5077824f2bb4f0acab5a984420ce5cc492c7fff3daddc26335ad2c9a67d4f5e3241ec790f9e5b72a625adcf20cf321d2fd85e62b8b + languageName: node + linkType: hard + "js-string-escape@npm:^1.0.0": version: 1.0.1 resolution: "js-string-escape@npm:1.0.1" @@ -20756,7 +21074,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:2.x, json5@npm:^2.1.2, json5@npm:^2.2.3": +"json5@npm:2.x, json5@npm:^2.1.2, json5@npm:^2.2.1, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" bin: @@ -22028,7 +22346,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.0.0, lodash@npm:^4.11.1, lodash@npm:^4.12.0, lodash@npm:^4.17.10, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.2.1, lodash@npm:^4.6.1, lodash@npm:^4.7.0, lodash@npm:~4.17.15": +"lodash@npm:4.17.21, lodash@npm:^4.0.0, lodash@npm:^4.11.1, lodash@npm:^4.12.0, lodash@npm:^4.17.10, lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.2.1, lodash@npm:^4.6.1, lodash@npm:^4.7.0, lodash@npm:~4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -23960,6 +24278,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.14": + version: 2.0.14 + resolution: "node-releases@npm:2.0.14" + checksum: 59443a2f77acac854c42d321bf1b43dea0aef55cd544c6a686e9816a697300458d4e82239e2d794ea05f7bbbc8a94500332e2d3ac3f11f52e4b16cbe638b3c41 + languageName: node + linkType: hard + "node-scr@npm:^0.3.0": version: 0.3.0 resolution: "node-scr@npm:0.3.0" @@ -24410,7 +24735,7 @@ __metadata: languageName: node linkType: hard -"optionator@npm:^0.9.3": +"optionator@npm:^0.9.1, optionator@npm:^0.9.3": version: 0.9.3 resolution: "optionator@npm:0.9.3" dependencies: @@ -25435,6 +25760,15 @@ __metadata: languageName: node linkType: hard +"prettier@npm:2.7.1": + version: 2.7.1 + resolution: "prettier@npm:2.7.1" + bin: + prettier: bin-prettier.js + checksum: 55a4409182260866ab31284d929b3cb961e5fdb91fe0d2e099dac92eaecec890f36e524b4c19e6ceae839c99c6d7195817579cdffc8e2c80da0cb794463a748b + languageName: node + linkType: hard + "prettier@npm:^2.6.2": version: 2.8.8 resolution: "prettier@npm:2.8.8" @@ -27752,7 +28086,7 @@ __metadata: languageName: node linkType: hard -"sinon@npm:^9.2.4": +"sinon@npm:9.2.4, sinon@npm:^9.2.4": version: 9.2.4 resolution: "sinon@npm:9.2.4" dependencies: @@ -28657,7 +28991,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": +"strip-json-comments@npm:3.1.1, strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 492f73e27268f9b1c122733f28ecb0e7e8d8a531a6662efbd08e22cccb3f9475e90a1b82cab06a392f6afae6d2de636f977e231296400d0ec5304ba70f166443