waibu-mpa 2.22.0 → 2.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/MediaMTXWebRTCReader.html +3 -0
- package/docs/MpaComponent.html +3 -0
- package/docs/WaibuMpa.html +1 -1
- package/docs/data/search.json +1 -1
- package/docs/extend_waibuStatic_asset_js_reader.js.html +575 -0
- package/docs/global.html +1 -1
- package/docs/index.html +1 -1
- package/docs/index.js.html +750 -200
- package/docs/lib_build-page.js.html +403 -0
- package/docs/lib_class_component.js.html +333 -284
- package/docs/lib_config.js.html +237 -0
- package/docs/lib_helper.js.html +518 -0
- package/docs/lib_iconset-mappings.js.html +710 -0
- package/docs/module-Helper.html +3 -0
- package/extend/bajo/hook.js +1 -1
- package/extend/waibu/boot.js +9 -24
- package/extend/waibuMpa/route/logo/@id.js +6 -5
- package/index.js +638 -166
- package/lib/build-page.js +354 -7
- package/lib/class/component.js +18 -2
- package/lib/class/view-engine.js +1 -3
- package/lib/config.js +234 -0
- package/lib/helper.js +515 -0
- package/lib/iconset-mappings.js +357 -1
- package/package.json +4 -2
- package/wiki/CHANGES.md +4 -0
- package/lib/apply-format.js +0 -20
- package/lib/build-page/apply-include.js +0 -21
- package/lib/build-page/attrs-mutation.js +0 -80
- package/lib/build-page/concat-resources.js +0 -66
- package/lib/build-page/inject-elements/css.js +0 -16
- package/lib/build-page/inject-elements/link.js +0 -18
- package/lib/build-page/inject-elements/meta.js +0 -66
- package/lib/build-page/inject-elements/script.js +0 -89
- package/lib/build-page/inject-elements.js +0 -48
- package/lib/build-page/manipulation.js +0 -39
- package/lib/build-page/replace-tag.js +0 -46
- package/lib/build-routes.js +0 -148
- package/lib/collect-iconsets.js +0 -45
- package/lib/collect-themes.js +0 -104
- package/lib/collect-view-engines.js +0 -26
- package/lib/decorate.js +0 -14
- package/lib/error-handler.js +0 -30
- package/lib/favicon.js +0 -27
- package/lib/load-resource.js +0 -31
- package/lib/not-found-handler.js +0 -18
- package/lib/session/setup.js +0 -40
- package/lib/sub-app.js +0 -17
- /package/lib/{session → class}/store.js +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<!DOCTYPE html><html lang="en" style="font-size:16px"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Class: MediaMTXWebRTCReader</title><!--[if lt IE 9]>
|
|
2
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
3
|
+
<![endif]--><script src="scripts/third-party/hljs.js" defer="defer"></script><script src="scripts/third-party/hljs-line-num.js" defer="defer"></script><script src="scripts/third-party/popper.js" defer="defer"></script><script src="scripts/third-party/tippy.js" defer="defer"></script><script src="scripts/third-party/tocbot.min.js"></script><script>var baseURL="/",locationPathname="";baseURL=(locationPathname=document.location.pathname).substr(0,locationPathname.lastIndexOf("/")+1)</script><link rel="stylesheet" href="styles/clean-jsdoc-theme.min.css"><svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none"><defs><symbol id="copy-icon" viewbox="0 0 488.3 488.3"><g><path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/><path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/></g></symbol><symbol id="search-icon" viewBox="0 0 512 512"><g><g><path d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z"/></g></g><g><g><path d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z"/></g></g></symbol><symbol id="font-size-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></symbol><symbol id="add-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></symbol><symbol id="minus-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11h14v2H5z"/></symbol><symbol id="dark-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938 7.999 7.999 0 0 0 4 12z"/></symbol><symbol id="light-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></symbol><symbol id="reset-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.537 19.567A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3a8 8 0 1 0-2.46 5.772l.997 1.795z"/></symbol><symbol id="down-icon" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"></path></symbol><symbol id="codepen-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M16.5 13.202L13 15.535v3.596L19.197 15 16.5 13.202zM14.697 12L12 10.202 9.303 12 12 13.798 14.697 12zM20 10.869L18.303 12 20 13.131V10.87zM19.197 9L13 4.869v3.596l3.5 2.333L19.197 9zM7.5 10.798L11 8.465V4.869L4.803 9 7.5 10.798zM4.803 15L11 19.131v-3.596l-3.5-2.333L4.803 15zM4 13.131L5.697 12 4 10.869v2.262zM2 9a1 1 0 0 1 .445-.832l9-6a1 1 0 0 1 1.11 0l9 6A1 1 0 0 1 22 9v6a1 1 0 0 1-.445.832l-9 6a1 1 0 0 1-1.11 0l-9-6A1 1 0 0 1 2 15V9z"/></symbol><symbol id="close-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/></symbol><symbol id="menu-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"/></symbol></defs></svg></head><body data-theme="light"><div class="sidebar-container"><div class="sidebar" id="sidebar"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="sidebar-items-container"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="MediaMTXWebRTCReader.html">MediaMTXWebRTCReader</a></div><div class="sidebar-section-children"><a href="MpaComponent.html">MpaComponent</a></div><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-modules"><div>Modules</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="module-Helper.html">Helper</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#Conf">Conf</a></div><div class="sidebar-section-children"><a href="global.html#OnError">OnError</a></div><div class="sidebar-section-children"><a href="global.html#OnTrack">OnTrack</a></div><div class="sidebar-section-children"><a href="global.html#TConfig">TConfig</a></div><div class="sidebar-section-children"><a href="global.html#TConfigDev">TConfigDev</a></div><div class="sidebar-section-children"><a href="global.html#TConfigProd">TConfigProd</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetItem">TIconsetItem</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetMappings">TIconsetMappings</a></div><div class="sidebar-section-children"><a href="global.html#componentFactory">componentFactory</a></div><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div></div></div><div class="navbar-container" id="VuAckcnZhf"><nav class="navbar"><div class="navbar-left-items"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="navbar-right-items"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div><nav></nav></nav></div><div class="toc-container"><div class="toc-content"><span class="bold">On this page</span><div id="eed4d2a0bfd64539bb9df78095dec881"></div></div></div><div class="body-wrapper"><div class="main-content"><div class="main-wrapper"><section><header><h1 id="MediaMTXWebRTCReader-title" class="has-anchor">MediaMTXWebRTCReader</h1><div class="class-description"><p>WebRTC/WHEP reader.</p></div></header><article><div class="container-overview"><h2 id="constructor" class="has-anchor">Constructor</h2><h3 class="name has-anchor" id="MediaMTXWebRTCReader"><span class="type-signature"></span>new MediaMTXWebRTCReader<span class="signature">(conf)</span></h3><div class="description"><p>Create a MediaMTXWebRTCReader.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>conf</code></td><td class="type"><span class="param-type"><a href="global.html#Conf">Conf</a></span></td><td class="description last"><p>configuration.</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="extend_waibuStatic_asset_js_reader.js.html">extend/waibuStatic/asset/js/reader.js</a>, <a href="extend_waibuStatic_asset_js_reader.js.html#line25">line 25</a></li></ul></dd></div></dl></div><h2 id="methods" class="subsection-title has-anchor">Methods</h2><h3 class="name has-anchor" id="close"><span class="type-signature"></span>close<span class="signature">()</span></h3><div class="description"><p>Close the reader and all its resources.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="extend_waibuStatic_asset_js_reader.js.html">extend/waibuStatic/asset/js/reader.js</a>, <a href="extend_waibuStatic_asset_js_reader.js.html#line45">line 45</a></li></ul></dd></div></dl></article></section></div></div></div><div class="search-container" id="PkfLWpAbet" style="display:none"><div class="wrapper" id="iCxFxjkHbP"><button class="icon-button search-close-button" id="VjLlGakifb" aria-label="close search"><svg><use xlink:href="#close-icon"></use></svg></button><div class="search-box-c"><svg><use xlink:href="#search-icon"></use></svg> <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus></div><div class="search-result-c" id="fWwVHRuDuN"><span class="search-result-c-text">Type anything to view search result</span></div></div></div><div class="mobile-menu-icon-container"><button class="icon-button" id="mobile-menu" data-isopen="false" aria-label="menu"><svg><use xlink:href="#menu-icon"></use></svg></button></div><div id="mobile-sidebar" class="mobile-sidebar-container"><div class="mobile-sidebar-wrapper"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="mobile-nav-links"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="mobile-sidebar-items-c"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="MediaMTXWebRTCReader.html">MediaMTXWebRTCReader</a></div><div class="sidebar-section-children"><a href="MpaComponent.html">MpaComponent</a></div><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-modules"><div>Modules</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="module-Helper.html">Helper</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#Conf">Conf</a></div><div class="sidebar-section-children"><a href="global.html#OnError">OnError</a></div><div class="sidebar-section-children"><a href="global.html#OnTrack">OnTrack</a></div><div class="sidebar-section-children"><a href="global.html#TConfig">TConfig</a></div><div class="sidebar-section-children"><a href="global.html#TConfigDev">TConfigDev</a></div><div class="sidebar-section-children"><a href="global.html#TConfigProd">TConfigProd</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetItem">TIconsetItem</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetMappings">TIconsetMappings</a></div><div class="sidebar-section-children"><a href="global.html#componentFactory">componentFactory</a></div><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div><div class="mobile-navbar-actions"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div></div></div><script type="text/javascript" src="scripts/core.min.js"></script><script src="scripts/search.min.js" defer="defer"></script><script src="scripts/third-party/fuse.js" defer="defer"></script><script type="text/javascript">var tocbotInstance=tocbot.init({tocSelector:"#eed4d2a0bfd64539bb9df78095dec881",contentSelector:".main-content",headingSelector:"h1, h2, h3",hasInnerContainers:!0,scrollContainer:".main-content",headingsOffset:130,onClick:bringLinkToView})</script></body></html>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<!DOCTYPE html><html lang="en" style="font-size:16px"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Class: MpaComponent</title><!--[if lt IE 9]>
|
|
2
|
+
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
3
|
+
<![endif]--><script src="scripts/third-party/hljs.js" defer="defer"></script><script src="scripts/third-party/hljs-line-num.js" defer="defer"></script><script src="scripts/third-party/popper.js" defer="defer"></script><script src="scripts/third-party/tippy.js" defer="defer"></script><script src="scripts/third-party/tocbot.min.js"></script><script>var baseURL="/",locationPathname="";baseURL=(locationPathname=document.location.pathname).substr(0,locationPathname.lastIndexOf("/")+1)</script><link rel="stylesheet" href="styles/clean-jsdoc-theme.min.css"><svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none"><defs><symbol id="copy-icon" viewbox="0 0 488.3 488.3"><g><path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/><path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/></g></symbol><symbol id="search-icon" viewBox="0 0 512 512"><g><g><path d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z"/></g></g><g><g><path d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z"/></g></g></symbol><symbol id="font-size-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></symbol><symbol id="add-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></symbol><symbol id="minus-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11h14v2H5z"/></symbol><symbol id="dark-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938 7.999 7.999 0 0 0 4 12z"/></symbol><symbol id="light-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></symbol><symbol id="reset-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.537 19.567A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3a8 8 0 1 0-2.46 5.772l.997 1.795z"/></symbol><symbol id="down-icon" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"></path></symbol><symbol id="codepen-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M16.5 13.202L13 15.535v3.596L19.197 15 16.5 13.202zM14.697 12L12 10.202 9.303 12 12 13.798 14.697 12zM20 10.869L18.303 12 20 13.131V10.87zM19.197 9L13 4.869v3.596l3.5 2.333L19.197 9zM7.5 10.798L11 8.465V4.869L4.803 9 7.5 10.798zM4.803 15L11 19.131v-3.596l-3.5-2.333L4.803 15zM4 13.131L5.697 12 4 10.869v2.262zM2 9a1 1 0 0 1 .445-.832l9-6a1 1 0 0 1 1.11 0l9 6A1 1 0 0 1 22 9v6a1 1 0 0 1-.445.832l-9 6a1 1 0 0 1-1.11 0l-9-6A1 1 0 0 1 2 15V9z"/></symbol><symbol id="close-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/></symbol><symbol id="menu-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"/></symbol></defs></svg></head><body data-theme="light"><div class="sidebar-container"><div class="sidebar" id="sidebar"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="sidebar-items-container"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="MediaMTXWebRTCReader.html">MediaMTXWebRTCReader</a></div><div class="sidebar-section-children"><a href="MpaComponent.html">MpaComponent</a></div><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-modules"><div>Modules</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="module-Helper.html">Helper</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#Conf">Conf</a></div><div class="sidebar-section-children"><a href="global.html#OnError">OnError</a></div><div class="sidebar-section-children"><a href="global.html#OnTrack">OnTrack</a></div><div class="sidebar-section-children"><a href="global.html#TConfig">TConfig</a></div><div class="sidebar-section-children"><a href="global.html#TConfigDev">TConfigDev</a></div><div class="sidebar-section-children"><a href="global.html#TConfigProd">TConfigProd</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetItem">TIconsetItem</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetMappings">TIconsetMappings</a></div><div class="sidebar-section-children"><a href="global.html#componentFactory">componentFactory</a></div><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div></div></div><div class="navbar-container" id="VuAckcnZhf"><nav class="navbar"><div class="navbar-left-items"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="navbar-right-items"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div><nav></nav></nav></div><div class="toc-container"><div class="toc-content"><span class="bold">On this page</span><div id="eed4d2a0bfd64539bb9df78095dec881"></div></div></div><div class="body-wrapper"><div class="main-content"><div class="main-wrapper"><section><header><h1 id="MpaComponent-title" class="has-anchor">MpaComponent</h1><div class="class-description"><p>MpaComponent class definition.</p></div></header><article><div class="container-overview"><h2 id="constructor" class="has-anchor">Constructor</h2><h3 class="name has-anchor" id="MpaComponent"><span class="type-signature"></span>new MpaComponent<span class="signature">()</span></h3><div class="description"><p>Constructor</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line16">line 16</a></li></ul></dd></div></dl></div><h2 id="members" class="subsection-title has-anchor">Members</h2><h3 class="name has-anchor" id="afterBuildTag"><span class="type-signature"></span>afterBuildTag<span class="type-signature"></span></h3><div class="description"><p>Hook executed after building a tag.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line331">line 331</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="beforeBuildTag"><span class="type-signature"></span>beforeBuildTag<span class="type-signature"></span></h3><div class="description"><p>Hook executed before building a tag.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line324">line 324</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="buildChildTag"><span class="type-signature">(async) </span>buildChildTag<span class="type-signature"></span></h3><div class="description"><p>Builds a child tag based on a detector attribute.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line342">line 342</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="buildOptions"><span class="type-signature"></span>buildOptions<span class="type-signature"></span></h3><div class="description"><p>Builds the <code><option></code> elements for a <code><select></code> tag.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line227">line 227</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="buildSentence"><span class="type-signature">(async) </span>buildSentence<span class="type-signature"></span></h3><div class="description"><p>Builds a sentence with optional rendering and minification.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line300">line 300</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="buildTag"><span class="type-signature">(async) </span>buildTag<span class="type-signature"></span></h3><div class="description"><p>Builds a tag with the given parameters and options.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line107">line 107</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="buildUrl"><span class="type-signature"></span>buildUrl<span class="type-signature"></span></h3><div class="description"><p>Builds a URL with the given parameters.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line285">line 285</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="getMethod"><span class="type-signature"></span>getMethod<span class="type-signature"></span></h3><div class="description"><p>Determines the method to use based on the provided parameters.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line94">line 94</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="getWidget"><span class="type-signature">(async) </span>getWidget<span class="type-signature"></span></h3><div class="description"><p>Retrieves a widget builder class or instance for a specific method.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line82">line 82</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="iconAttr"><span class="type-signature">(async) </span>iconAttr<span class="type-signature"></span></h3><div class="description"><p>Processes icon-related attributes and appends them to the HTML.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line204">line 204</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="loadBaseWidgets"><span class="type-signature">(async) </span>loadBaseWidgets<span class="type-signature"></span></h3><div class="description"><p>Loads base factories dynamically from the file system.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line63">line 63</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="normalizeAttr"><span class="type-signature"></span>normalizeAttr<span class="type-signature"></span></h3><div class="description"><p>Normalizes the attributes of the given parameters.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line149">line 149</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="render"><span class="type-signature">(async) </span>render<span class="type-signature"></span></h3><div class="description"><p>Renders the final HTML for the given parameters.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="lib_class_component.js.html">lib/class/component.js</a>, <a href="lib_class_component.js.html#line172">line 172</a></li></ul></dd></div></dl></article></section></div></div></div><div class="search-container" id="PkfLWpAbet" style="display:none"><div class="wrapper" id="iCxFxjkHbP"><button class="icon-button search-close-button" id="VjLlGakifb" aria-label="close search"><svg><use xlink:href="#close-icon"></use></svg></button><div class="search-box-c"><svg><use xlink:href="#search-icon"></use></svg> <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus></div><div class="search-result-c" id="fWwVHRuDuN"><span class="search-result-c-text">Type anything to view search result</span></div></div></div><div class="mobile-menu-icon-container"><button class="icon-button" id="mobile-menu" data-isopen="false" aria-label="menu"><svg><use xlink:href="#menu-icon"></use></svg></button></div><div id="mobile-sidebar" class="mobile-sidebar-container"><div class="mobile-sidebar-wrapper"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="mobile-nav-links"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="mobile-sidebar-items-c"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="MediaMTXWebRTCReader.html">MediaMTXWebRTCReader</a></div><div class="sidebar-section-children"><a href="MpaComponent.html">MpaComponent</a></div><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-modules"><div>Modules</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="module-Helper.html">Helper</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#Conf">Conf</a></div><div class="sidebar-section-children"><a href="global.html#OnError">OnError</a></div><div class="sidebar-section-children"><a href="global.html#OnTrack">OnTrack</a></div><div class="sidebar-section-children"><a href="global.html#TConfig">TConfig</a></div><div class="sidebar-section-children"><a href="global.html#TConfigDev">TConfigDev</a></div><div class="sidebar-section-children"><a href="global.html#TConfigProd">TConfigProd</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetItem">TIconsetItem</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetMappings">TIconsetMappings</a></div><div class="sidebar-section-children"><a href="global.html#componentFactory">componentFactory</a></div><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div><div class="mobile-navbar-actions"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div></div></div><script type="text/javascript" src="scripts/core.min.js"></script><script src="scripts/search.min.js" defer="defer"></script><script src="scripts/third-party/fuse.js" defer="defer"></script><script type="text/javascript">var tocbotInstance=tocbot.init({tocSelector:"#eed4d2a0bfd64539bb9df78095dec881",contentSelector:".main-content",headingSelector:"h1, h2, h3",hasInnerContainers:!0,scrollContainer:".main-content",headingsOffset:130,onClick:bringLinkToView})</script></body></html>
|
package/docs/WaibuMpa.html
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<!DOCTYPE html><html lang="en" style="font-size:16px"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Class: WaibuMpa</title><!--[if lt IE 9]>
|
|
2
2
|
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
3
|
-
<![endif]--><script src="scripts/third-party/hljs.js" defer="defer"></script><script src="scripts/third-party/hljs-line-num.js" defer="defer"></script><script src="scripts/third-party/popper.js" defer="defer"></script><script src="scripts/third-party/tippy.js" defer="defer"></script><script src="scripts/third-party/tocbot.min.js"></script><script>var baseURL="/",locationPathname="";baseURL=(locationPathname=document.location.pathname).substr(0,locationPathname.lastIndexOf("/")+1)</script><link rel="stylesheet" href="styles/clean-jsdoc-theme.min.css"><svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none"><defs><symbol id="copy-icon" viewbox="0 0 488.3 488.3"><g><path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/><path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/></g></symbol><symbol id="search-icon" viewBox="0 0 512 512"><g><g><path d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z"/></g></g><g><g><path d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z"/></g></g></symbol><symbol id="font-size-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></symbol><symbol id="add-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></symbol><symbol id="minus-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11h14v2H5z"/></symbol><symbol id="dark-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938 7.999 7.999 0 0 0 4 12z"/></symbol><symbol id="light-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></symbol><symbol id="reset-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.537 19.567A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3a8 8 0 1 0-2.46 5.772l.997 1.795z"/></symbol><symbol id="down-icon" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"></path></symbol><symbol id="codepen-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M16.5 13.202L13 15.535v3.596L19.197 15 16.5 13.202zM14.697 12L12 10.202 9.303 12 12 13.798 14.697 12zM20 10.869L18.303 12 20 13.131V10.87zM19.197 9L13 4.869v3.596l3.5 2.333L19.197 9zM7.5 10.798L11 8.465V4.869L4.803 9 7.5 10.798zM4.803 15L11 19.131v-3.596l-3.5-2.333L4.803 15zM4 13.131L5.697 12 4 10.869v2.262zM2 9a1 1 0 0 1 .445-.832l9-6a1 1 0 0 1 1.11 0l9 6A1 1 0 0 1 22 9v6a1 1 0 0 1-.445.832l-9 6a1 1 0 0 1-1.11 0l-9-6A1 1 0 0 1 2 15V9z"/></symbol><symbol id="close-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/></symbol><symbol id="menu-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"/></symbol></defs></svg></head><body data-theme="light"><div class="sidebar-container"><div class="sidebar" id="sidebar"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="sidebar-items-container"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div></div></div><div class="navbar-container" id="VuAckcnZhf"><nav class="navbar"><div class="navbar-left-items"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="navbar-right-items"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div><nav></nav></nav></div><div class="toc-container"><div class="toc-content"><span class="bold">On this page</span><div id="eed4d2a0bfd64539bb9df78095dec881"></div></div></div><div class="body-wrapper"><div class="main-content"><div class="main-wrapper"><section><header><h1 id="WaibuMpa-title" class="has-anchor">WaibuMpa</h1><div class="class-description"><p>WaibuMpa class</p></div></header><article><div class="container-overview"><h2 id="constructor" class="has-anchor">Constructor</h2><h3 class="name has-anchor" id="WaibuMpa"><span class="type-signature"></span>new WaibuMpa<span class="signature">()</span></h3><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line22">line 22</a></li></ul></dd></div></dl></div></article></section></div></div></div><div class="search-container" id="PkfLWpAbet" style="display:none"><div class="wrapper" id="iCxFxjkHbP"><button class="icon-button search-close-button" id="VjLlGakifb" aria-label="close search"><svg><use xlink:href="#close-icon"></use></svg></button><div class="search-box-c"><svg><use xlink:href="#search-icon"></use></svg> <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus></div><div class="search-result-c" id="fWwVHRuDuN"><span class="search-result-c-text">Type anything to view search result</span></div></div></div><div class="mobile-menu-icon-container"><button class="icon-button" id="mobile-menu" data-isopen="false" aria-label="menu"><svg><use xlink:href="#menu-icon"></use></svg></button></div><div id="mobile-sidebar" class="mobile-sidebar-container"><div class="mobile-sidebar-wrapper"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="mobile-nav-links"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="mobile-sidebar-items-c"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div><div class="mobile-navbar-actions"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div></div></div><script type="text/javascript" src="scripts/core.min.js"></script><script src="scripts/search.min.js" defer="defer"></script><script src="scripts/third-party/fuse.js" defer="defer"></script><script type="text/javascript">var tocbotInstance=tocbot.init({tocSelector:"#eed4d2a0bfd64539bb9df78095dec881",contentSelector:".main-content",headingSelector:"h1, h2, h3",hasInnerContainers:!0,scrollContainer:".main-content",headingsOffset:130,onClick:bringLinkToView})</script></body></html>
|
|
3
|
+
<![endif]--><script src="scripts/third-party/hljs.js" defer="defer"></script><script src="scripts/third-party/hljs-line-num.js" defer="defer"></script><script src="scripts/third-party/popper.js" defer="defer"></script><script src="scripts/third-party/tippy.js" defer="defer"></script><script src="scripts/third-party/tocbot.min.js"></script><script>var baseURL="/",locationPathname="";baseURL=(locationPathname=document.location.pathname).substr(0,locationPathname.lastIndexOf("/")+1)</script><link rel="stylesheet" href="styles/clean-jsdoc-theme.min.css"><svg aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="display:none"><defs><symbol id="copy-icon" viewbox="0 0 488.3 488.3"><g><path d="M314.25,85.4h-227c-21.3,0-38.6,17.3-38.6,38.6v325.7c0,21.3,17.3,38.6,38.6,38.6h227c21.3,0,38.6-17.3,38.6-38.6V124 C352.75,102.7,335.45,85.4,314.25,85.4z M325.75,449.6c0,6.4-5.2,11.6-11.6,11.6h-227c-6.4,0-11.6-5.2-11.6-11.6V124 c0-6.4,5.2-11.6,11.6-11.6h227c6.4,0,11.6,5.2,11.6,11.6V449.6z"/><path d="M401.05,0h-227c-21.3,0-38.6,17.3-38.6,38.6c0,7.5,6,13.5,13.5,13.5s13.5-6,13.5-13.5c0-6.4,5.2-11.6,11.6-11.6h227 c6.4,0,11.6,5.2,11.6,11.6v325.7c0,6.4-5.2,11.6-11.6,11.6c-7.5,0-13.5,6-13.5,13.5s6,13.5,13.5,13.5c21.3,0,38.6-17.3,38.6-38.6 V38.6C439.65,17.3,422.35,0,401.05,0z"/></g></symbol><symbol id="search-icon" viewBox="0 0 512 512"><g><g><path d="M225.474,0C101.151,0,0,101.151,0,225.474c0,124.33,101.151,225.474,225.474,225.474 c124.33,0,225.474-101.144,225.474-225.474C450.948,101.151,349.804,0,225.474,0z M225.474,409.323 c-101.373,0-183.848-82.475-183.848-183.848S124.101,41.626,225.474,41.626s183.848,82.475,183.848,183.848 S326.847,409.323,225.474,409.323z"/></g></g><g><g><path d="M505.902,476.472L386.574,357.144c-8.131-8.131-21.299-8.131-29.43,0c-8.131,8.124-8.131,21.306,0,29.43l119.328,119.328 c4.065,4.065,9.387,6.098,14.715,6.098c5.321,0,10.649-2.033,14.715-6.098C514.033,497.778,514.033,484.596,505.902,476.472z"/></g></g></symbol><symbol id="font-size-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11.246 15H4.754l-2 5H.6L7 4h2l6.4 16h-2.154l-2-5zm-.8-2L8 6.885 5.554 13h4.892zM21 12.535V12h2v8h-2v-.535a4 4 0 1 1 0-6.93zM19 18a2 2 0 1 0 0-4 2 2 0 0 0 0 4z"/></symbol><symbol id="add-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"/></symbol><symbol id="minus-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M5 11h14v2H5z"/></symbol><symbol id="dark-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2h.1A6.979 6.979 0 0 0 10 7zm-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938 7.999 7.999 0 0 0 4 12z"/></symbol><symbol id="light-theme-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12zm0-2a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM11 1h2v3h-2V1zm0 19h2v3h-2v-3zM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93zM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121zm2.121-14.85l1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121zM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121zM23 11v2h-3v-2h3zM4 11v2H1v-2h3z"/></symbol><symbol id="reset-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M18.537 19.567A9.961 9.961 0 0 1 12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10c0 2.136-.67 4.116-1.81 5.74L17 12h3a8 8 0 1 0-2.46 5.772l.997 1.795z"/></symbol><symbol id="down-icon" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.7803 6.21967C13.0732 6.51256 13.0732 6.98744 12.7803 7.28033L8.53033 11.5303C8.23744 11.8232 7.76256 11.8232 7.46967 11.5303L3.21967 7.28033C2.92678 6.98744 2.92678 6.51256 3.21967 6.21967C3.51256 5.92678 3.98744 5.92678 4.28033 6.21967L8 9.93934L11.7197 6.21967C12.0126 5.92678 12.4874 5.92678 12.7803 6.21967Z"></path></symbol><symbol id="codepen-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M16.5 13.202L13 15.535v3.596L19.197 15 16.5 13.202zM14.697 12L12 10.202 9.303 12 12 13.798 14.697 12zM20 10.869L18.303 12 20 13.131V10.87zM19.197 9L13 4.869v3.596l3.5 2.333L19.197 9zM7.5 10.798L11 8.465V4.869L4.803 9 7.5 10.798zM4.803 15L11 19.131v-3.596l-3.5-2.333L4.803 15zM4 13.131L5.697 12 4 10.869v2.262zM2 9a1 1 0 0 1 .445-.832l9-6a1 1 0 0 1 1.11 0l9 6A1 1 0 0 1 22 9v6a1 1 0 0 1-.445.832l-9 6a1 1 0 0 1-1.11 0l-9-6A1 1 0 0 1 2 15V9z"/></symbol><symbol id="close-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 10.586l4.95-4.95 1.414 1.414-4.95 4.95 4.95 4.95-1.414 1.414-4.95-4.95-4.95 4.95-1.414-1.414 4.95-4.95-4.95-4.95L7.05 5.636z"/></symbol><symbol id="menu-icon" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0z"/><path d="M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z"/></symbol></defs></svg></head><body data-theme="light"><div class="sidebar-container"><div class="sidebar" id="sidebar"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="sidebar-items-container"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="MediaMTXWebRTCReader.html">MediaMTXWebRTCReader</a></div><div class="sidebar-section-children"><a href="MpaComponent.html">MpaComponent</a></div><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-modules"><div>Modules</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="module-Helper.html">Helper</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#Conf">Conf</a></div><div class="sidebar-section-children"><a href="global.html#OnError">OnError</a></div><div class="sidebar-section-children"><a href="global.html#OnTrack">OnTrack</a></div><div class="sidebar-section-children"><a href="global.html#TConfig">TConfig</a></div><div class="sidebar-section-children"><a href="global.html#TConfigDev">TConfigDev</a></div><div class="sidebar-section-children"><a href="global.html#TConfigProd">TConfigProd</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetItem">TIconsetItem</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetMappings">TIconsetMappings</a></div><div class="sidebar-section-children"><a href="global.html#componentFactory">componentFactory</a></div><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div></div></div><div class="navbar-container" id="VuAckcnZhf"><nav class="navbar"><div class="navbar-left-items"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="navbar-right-items"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div><nav></nav></nav></div><div class="toc-container"><div class="toc-content"><span class="bold">On this page</span><div id="eed4d2a0bfd64539bb9df78095dec881"></div></div></div><div class="body-wrapper"><div class="main-content"><div class="main-wrapper"><section><header><h1 id="WaibuMpa-title" class="has-anchor">WaibuMpa</h1><div class="class-description"><p>WaibuMpa class definition.</p><p><strong>Never</strong> call this function directly!!! It's only-meant to be called by the <a href="https://ardhi.github.io/bajo">Bajo framework</a> during plugin initialization.</p></div></header><article><div class="container-overview"><h2 id="constructor" class="has-anchor">Constructor</h2><h3 class="name has-anchor" id="WaibuMpa"><span class="type-signature"></span>new WaibuMpa<span class="signature">()</span></h3><div class="description"><p>Constructor</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line43">line 43</a></li></ul></dd></div></dl></div><h2 id="members" class="subsection-title has-anchor">Members</h2><h3 class="name has-anchor" id="config"><span class="type-signature"></span>config<span class="type-signature"></span></h3><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="type"><span class="param-type"><a href="global.html#TConfig">TConfig</a></span></td><td class="description last"><p>Configuration object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line67">line 67</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="configDev"><span class="type-signature"></span>configDev<span class="type-signature"></span></h3><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="type"><span class="param-type"><a href="global.html#TConfigDev">TConfigDev</a></span></td><td class="description last"><p>Development configuration object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line72">line 72</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="configProd"><span class="type-signature"></span>configProd<span class="type-signature"></span></h3><b class="subsection-title">Properties</b><div class="allow-overflow"><table class="props"><thead><tr><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="type"><span class="param-type"><a href="global.html#TConfigProd">TConfigProd</a></span></td><td class="description last"><p>Production configuration object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line76">line 76</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="htmlTags"><span class="type-signature"></span>htmlTags<span class="type-signature"> :Array.<string></span></h3><div class="description"><p>All supported HTML tags</p></div><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">Array.<string></span></li></ul></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line49">line 49</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="iconsetMappings"><span class="type-signature"></span>iconsetMappings<span class="type-signature"> :Object</span></h3><div class="description"><p>Iconset mappings</p></div><div class="member-item-container flex"><strong>Type:</strong><ul><li><span class="param-type">Object</span></li></ul></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line56">line 56</a></li></ul></dd></div></dl><h2 id="methods" class="subsection-title has-anchor">Methods</h2><h3 class="name has-anchor" id="_addRoutes"><span class="type-signature">(async) </span>_addRoutes<span class="signature">(options)</span><span class="type-signature"> → {Promise.<void>}</span></h3><div class="description"><p>Add routes to the application.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The options for adding routes</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>appPrefix</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The application prefix</p></td></tr><tr><td class="name"><code>prefix</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The route prefix</p></td></tr><tr><td class="name"><code>mods</code></td><td class="type"><span class="param-type">Array</span></td><td class="description last"><p>The route modules</p></td></tr><tr><td class="name"><code>appCtx</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The application context</p></td></tr><tr><td class="name"><code>cfg</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The configuration object</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line1050">line 1050</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<void></span></dd></dl></div><h3 class="name has-anchor" id="_applyFormat"><span class="type-signature">(async) </span>_applyFormat<span class="signature">(options)</span><span class="type-signature"> → {Promise.<string>}</span></h3><div class="description"><p>Apply formatting to the given text based on the options.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The options for formatting</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>text</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The text to format</p></td></tr><tr><td class="name"><code>locals</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The local variables for the template</p></td></tr><tr><td class="name"><code>opts</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for formatting</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line800">line 800</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The formatted text</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<string></span></dd></dl></div><h3 class="name has-anchor" id="_buildRoute"><span class="type-signature">(async) </span>_buildRoute<span class="signature">(options)</span><span class="type-signature"> → {Promise.<void>}</span></h3><div class="description"><p>Build routes based on the provided options.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The options for building routes</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>files</code></td><td class="type"><span class="param-type">Array</span></td><td class="description last"><p>The route files</p></td></tr><tr><td class="name"><code>pathPrefix</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The path prefix for the routes</p></td></tr><tr><td class="name"><code>dir</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The directory containing route files</p></td></tr><tr><td class="name"><code>ns</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The namespace for the routes</p></td></tr><tr><td class="name"><code>cfg</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The configuration object</p></td></tr><tr><td class="name"><code>parent</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The parent route object</p></td></tr><tr><td class="name"><code>urlPrefix</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The URL prefix for the routes</p></td></tr><tr><td class="name"><code>subRoute</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last"><p>Whether the route is a sub-route</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line969">line 969</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<void></span></dd></dl></div><h3 class="name has-anchor" id="_buildRoutes"><span class="type-signature">(async) </span>_buildRoutes<span class="signature">(prefix)</span><span class="type-signature"> → {Promise.<void>}</span></h3><div class="description"><p>Build routes for the application.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>prefix</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The route prefix</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line1075">line 1075</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<void></span></dd></dl></div><h3 class="name has-anchor" id="_decorate"><span class="type-signature"></span>_decorate<span class="signature">()</span></h3><div class="description"><p>Decorate the request and reply objects with additional properties and methods.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line819">line 819</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="_handleError"><span class="type-signature">(async) </span>_handleError<span class="signature">(err, req, reply)</span><span class="type-signature"> → {Promise.<string>}</span></h3><div class="description"><p>Handle general errors.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>err</code></td><td class="type"><span class="param-type">Error</span></td><td class="description last"><p>The error object</p></td></tr><tr><td class="name"><code>req</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The request object</p></td></tr><tr><td class="name"><code>reply</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The reply object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line905">line 905</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The rendered view</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<string></span></dd></dl></div><h3 class="name has-anchor" id="_handleNotFound"><span class="type-signature">(async) </span>_handleNotFound<span class="signature">(err, req, reply)</span><span class="type-signature"> → {Promise.<string>}</span></h3><div class="description"><p>Handle not found errors.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>err</code></td><td class="type"><span class="param-type">Error</span></td><td class="description last"><p>The error object</p></td></tr><tr><td class="name"><code>req</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The request object</p></td></tr><tr><td class="name"><code>reply</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The reply object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line878">line 878</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The rendered view</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<string></span></dd></dl></div><h3 class="name has-anchor" id="_handleSession"><span class="type-signature">(async) </span>_handleSession<span class="signature">()</span><span class="type-signature"> → {Promise.<void>}</span></h3><div class="description"><p>Handle session setup.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line1155">line 1155</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<void></span></dd></dl></div><h3 class="name has-anchor" id="_handleSubApp"><span class="type-signature">(async) </span>_handleSubApp<span class="signature">()</span><span class="type-signature"> → {Promise.<void>}</span></h3><div class="description"><p>Handle sub-applications.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line938">line 938</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<void></span></dd></dl></div><h3 class="name has-anchor" id="_loadResource"><span class="type-signature">(async) </span>_loadResource<span class="signature">(mod, item)</span><span class="type-signature"> → {Promise.<Array>}</span></h3><div class="description"><p>Load resources for the given module and item.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>mod</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The module object</p></td></tr><tr><td class="name"><code>item</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The item key to load resources for</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line841">line 841</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The loaded resources</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<Array></span></dd></dl></div><h3 class="name has-anchor" id="_trashOldSession"><span class="type-signature">(async) </span>_trashOldSession<span class="signature">()</span><span class="type-signature"> → {Promise.<void>}</span></h3><div class="description"><p>Trash old sessions.</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line1136">line 1136</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<void></span></dd></dl></div><h3 class="name has-anchor" id="buildUrl"><span class="type-signature"></span>buildUrl<span class="signature">(options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Build a URL based on the provided options.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>Options for building the URL</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>exclude</code></td><td class="type"><span class="param-type">Array.<string></span></td><td class="attributes"><optional><br></td><td class="default">[]</td><td class="description last"><p>Keys to exclude from the query string</p></td></tr><tr><td class="name"><code>prefix</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">'?'</td><td class="description last"><p>Prefix for the query string</p></td></tr><tr><td class="name"><code>base</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default"></td><td class="description last"><p>Base path for the URL</p></td></tr><tr><td class="name"><code>url</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">''</td><td class="description last"><p>URL to build upon</p></td></tr><tr><td class="name"><code>params</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>Parameters to include in the query string</p></td></tr><tr><td class="name"><code>prettyUrl</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default"></td><td class="description last"><p>Whether to use a pretty URL format</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line104">line 104</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The constructed URL</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="getAppTitle"><span class="type-signature"></span>getAppTitle<span class="signature">(req)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Get the title of the application.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>req</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The request object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line155">line 155</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The title of the application</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="getIconset"><span class="type-signature"></span>getIconset<span class="signature">(name, nameOnly<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Object|string|undefined}</span></h3><div class="description"><p>Get an iconset by name.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>name</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The name of the iconset</p></td></tr><tr><td class="name"><code>nameOnly</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">false</td><td class="description last"><p>Whether to return only the name</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line703">line 703</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The iconset object, name, or undefined if not found</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Object</span> |<wbr> <span class="param-type">string</span> |<wbr> <span class="param-type">undefined</span></dd></dl></div><h3 class="name has-anchor" id="getMenuPages"><span class="type-signature"></span>getMenuPages<span class="signature">(menu, path<span class="signature-attributes">opt</span>, subPath<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array}</span></h3><div class="description"><p>Get the pages from a menu based on the path and subPath.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>menu</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"></td><td class="description last"><p>The menu object</p></td></tr><tr><td class="name"><code>path</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="description last"><p>The path to filter the pages</p></td></tr><tr><td class="name"><code>subPath</code></td><td class="type"><span class="param-type">string</span> |<wbr> <span class="param-type">function</span></td><td class="attributes"><optional><br></td><td class="description last"><p>The subPath to filter the pages or a function to handle the filtering</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line593">line 593</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The filtered pages</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Array</span></dd></dl></div><h3 class="name has-anchor" id="getPluginTitle"><span class="type-signature"></span>getPluginTitle<span class="signature">(name, req)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Get the title of a plugin.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>name</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The name of the plugin</p></td></tr><tr><td class="name"><code>req</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The request object</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line141">line 141</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The title of the plugin</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="getResource"><span class="type-signature"></span>getResource<span class="signature">(name)</span><span class="type-signature"> → {Object}</span></h3><div class="description"><p>Get the resource information for a given name.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>name</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The name of the resource</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line167">line 167</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The resource information</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Object</span></dd></dl></div><h3 class="name has-anchor" id="getSessionId"><span class="type-signature"></span>getSessionId<span class="signature">(rawCookie, secure)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Get the session ID from the raw cookie.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>rawCookie</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The raw cookie string</p></td></tr><tr><td class="name"><code>secure</code></td><td class="type"><span class="param-type">boolean</span></td><td class="description last"><p>Whether the cookie is secure</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line185">line 185</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The session ID</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="getTheme"><span class="type-signature"></span>getTheme<span class="signature">(name, nameOnly<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Object|string|undefined}</span></h3><div class="description"><p>Get a theme by name.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>name</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The name of the theme</p></td></tr><tr><td class="name"><code>nameOnly</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">false</td><td class="description last"><p>Whether to return only the name</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line689">line 689</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The theme object, name, or undefined if not found</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Object</span> |<wbr> <span class="param-type">string</span> |<wbr> <span class="param-type">undefined</span></dd></dl></div><h3 class="name has-anchor" id="getViewEngine"><span class="type-signature"></span>getViewEngine<span class="signature">(ext)</span><span class="type-signature"> → {Object}</span></h3><div class="description"><p>Get the view engine for a given file extension.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>ext</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The file extension</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line197">line 197</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The view engine</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Object</span></dd></dl></div><h3 class="name has-anchor" id="groupAttrs"><span class="type-signature"></span>groupAttrs<span class="signature">(attribs<span class="signature-attributes">opt</span>, keys<span class="signature-attributes">opt</span>, removeEmpty<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Object}</span></h3><div class="description"><p>Group attributes by keys.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>attribs</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The attributes to group</p></td></tr><tr><td class="name"><code>keys</code></td><td class="type"><span class="param-type">Array</span> |<wbr> <span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">[]</td><td class="description last"><p>The keys to group by</p></td></tr><tr><td class="name"><code>removeEmpty</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">true</td><td class="description last"><p>Whether to remove empty groups</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line211">line 211</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The grouped attributes</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Object</span></dd></dl></div><h3 class="name has-anchor" id="init"><span class="type-signature">(async) </span>init<span class="signature">()</span></h3><div class="description"><p>Initialize the plugin</p></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line85">line 85</a></li></ul></dd></div></dl><h3 class="name has-anchor" id="jsonStringify"><span class="type-signature"></span>jsonStringify<span class="signature">(obj, replacer<span class="signature-attributes">opt</span>, space<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Custom JSON stringify function.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>obj</code></td><td class="type"><span class="param-type">any</span></td><td class="attributes"></td><td class="description last"><p>The object to stringify</p></td></tr><tr><td class="name"><code>replacer</code></td><td class="type"><span class="param-type">boolean</span> |<wbr> <span class="param-type">function</span></td><td class="attributes"><optional><br></td><td class="description last"><p>The replacer function or true for custom handling</p></td></tr><tr><td class="name"><code>space</code></td><td class="type"><span class="param-type">number</span> |<wbr> <span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="description last"><p>The space argument for JSON.stringify</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line280">line 280</a></li></ul></dd></div><div class="details-item-container"><dt class="tag-see bold">See</dt><dd class="tag-see"><ul><li><a href="https://github.com/siddharth-sunchu/native-methods/blob/master/JSONStringfy.js">https://github.com/siddharth-sunchu/native-methods/blob/master/JSONStringfy.js</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The JSON string</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="minify"><span class="type-signature"></span>minify<span class="signature">(text)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Minify HTML text.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>text</code></td><td class="type"><span class="param-type">string</span></td><td class="description last"><p>The HTML text to minify</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line263">line 263</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The minified HTML</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="paginationLayout"><span class="type-signature"></span>paginationLayout<span class="signature">(totalItems, itemsPerPage<span class="signature-attributes">opt</span>, currentPage<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array}</span></h3><div class="description"><p>Generate pagination layout.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>totalItems</code></td><td class="type"><span class="param-type">number</span> |<wbr> <span class="param-type">Object</span></td><td class="attributes"></td><td class="description last"><p>The total number of items or an object containing pagination info</p></td></tr><tr><td class="name"><code>itemsPerPage</code></td><td class="type"><span class="param-type">number</span></td><td class="attributes"><optional><br></td><td class="description last"><p>The number of items per page</p></td></tr><tr><td class="name"><code>currentPage</code></td><td class="type"><span class="param-type">number</span></td><td class="attributes"><optional><br></td><td class="description last"><p>The current page number</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line369">line 369</a></li></ul></dd></div><div class="details-item-container"><dt class="tag-see bold">See</dt><dd class="tag-see"><ul><li><a href="https://github.com/kyleparisi/pagination-layout/blob/master/pagination-layout-be.js">https://github.com/kyleparisi/pagination-layout/blob/master/pagination-layout-be.js</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The pagination layout</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Array</span></dd></dl></div><h3 class="name has-anchor" id="parseAttribs"><span class="type-signature"></span>parseAttribs<span class="signature">(text, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Object}</span></h3><div class="description"><p>Parse attributes from a string or object.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>text</code></td><td class="type"><span class="param-type">string</span> |<wbr> <span class="param-type">Object</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The text or object to parse</p></td></tr><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for parsing</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>delimiter</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">' '</td><td class="description last"><p>The delimiter for splitting the text</p></td></tr><tr><td class="name"><code>kvDelimiter</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">'='</td><td class="description last"><p>The delimiter for key-value pairs</p></td></tr><tr><td class="name"><code>camelCasedKey</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">true</td><td class="description last"><p>Whether to camelCase the keys</p></td></tr><tr><td class="name"><code>trimValue</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">true</td><td class="description last"><p>Whether to trim the values</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line619">line 619</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The parsed attributes</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Object</span></dd></dl></div><h3 class="name has-anchor" id="render"><span class="type-signature">(async) </span>render<span class="signature">(tpl, locals<span class="signature-attributes">opt</span>, opts<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<string>}</span></h3><div class="description"><p>Render a template using the appropriate view engine.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>tpl</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The template file path</p></td></tr><tr><td class="name"><code>locals</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The local variables for the template</p></td></tr><tr><td class="name"><code>opts</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for rendering</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line516">line 516</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The rendered template</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<string></span></dd></dl></div><h3 class="name has-anchor" id="renderString"><span class="type-signature">(async) </span>renderString<span class="signature">(text, locals<span class="signature-attributes">opt</span>, opts<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<string>}</span></h3><div class="description"><p>Render a string using the appropriate view engine.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>text</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The string to render</p></td></tr><tr><td class="name"><code>locals</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The local variables for the template</p></td></tr><tr><td class="name"><code>opts</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for rendering</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line501">line 501</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The rendered string</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<string></span></dd></dl></div><h3 class="name has-anchor" id="renderView"><span class="type-signature">(async) </span>renderView<span class="signature">(options)</span><span class="type-signature"> → {Promise.<string>}</span></h3><div class="description"><p>Render a view with the given options.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="description last"><p>The options for rendering the view</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>tpl</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The template to render</p></td></tr><tr><td class="name"><code>params</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The parameters for the template</p></td></tr><tr><td class="name"><code>opts</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for rendering</p></td></tr><tr><td class="name"><code>reply</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The reply object</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line721">line 721</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The rendered view</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Promise.<string></span></dd></dl></div><h3 class="name has-anchor" id="stringifyAttribs"><span class="type-signature"></span>stringifyAttribs<span class="signature">(obj, kebabCasedKey<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Stringify attributes from an object.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>obj</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The object to stringify</p></td></tr><tr><td class="name"><code>kebabCasedKey</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">true</td><td class="description last"><p>Whether to kebab-case the keys</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line655">line 655</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The stringified attributes</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="stripHtmlTags"><span class="type-signature"></span>stripHtmlTags<span class="signature">(html, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {string}</span></h3><div class="description"><p>Strip HTML tags from a string.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>html</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The HTML string to strip</p></td></tr><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for stripping</p></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line532">line 532</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The stripped string</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">string</span></dd></dl></div><h3 class="name has-anchor" id="urlToBreadcrumb"><span class="type-signature"></span>urlToBreadcrumb<span class="signature">(url, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array}</span></h3><div class="description"><p>Convert a URL to a breadcrumb array.</p></div><div class="method-member-container flex flex-col w-100 overflow-auto mt-20"><strong>Parameters:</strong><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>url</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"></td><td class="default"></td><td class="description last"><p>The URL to convert</p></td></tr><tr><td class="name"><code>options</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for conversion</p><h6>Properties</h6><table class="params"><thead><tr><th>Name</th><th>Type</th><th>Attributes</th><th>Default</th><th class="last">Description</th></tr></thead><tbody><tr><td class="name"><code>base</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">''</td><td class="description last"><p>The base URL to remove</p></td></tr><tr><td class="name"><code>delimiter</code></td><td class="type"><span class="param-type">string</span></td><td class="attributes"><optional><br></td><td class="default">'/'</td><td class="description last"><p>The delimiter for splitting the URL</p></td></tr><tr><td class="name"><code>returnParts</code></td><td class="type"><span class="param-type">boolean</span></td><td class="attributes"><optional><br></td><td class="default">false</td><td class="description last"><p>Whether to return the parts array</p></td></tr><tr><td class="name"><code>handler</code></td><td class="type"><span class="param-type">function</span></td><td class="attributes"><optional><br></td><td class="default"></td><td class="description last"><p>The handler function for each breadcrumb</p></td></tr><tr><td class="name"><code>handlerScope</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default"></td><td class="description last"><p>The scope for the handler function</p></td></tr><tr><td class="name"><code>handlerOpts</code></td><td class="type"><span class="param-type">Object</span></td><td class="attributes"><optional><br></td><td class="default">{}</td><td class="description last"><p>The options for the handler function</p></td></tr></tbody></table></td></tr></tbody></table></div><dl class="details"><div class="details-item-container"><dt class="tag-source bold">Source</dt><dd class="tag-source"><ul><li><a href="index.js.html">index.js</a>, <a href="index.js.html#line551">line 551</a></li></ul></dd></div></dl><div class="method-member-container mt-20"><strong>Returns:</strong><div class="param-desc"><ul><li>The breadcrumb array</li></ul></div><dl class="param-type"><dt>Type: </dt><dd><span class="param-type">Array</span></dd></dl></div></article></section></div></div></div><div class="search-container" id="PkfLWpAbet" style="display:none"><div class="wrapper" id="iCxFxjkHbP"><button class="icon-button search-close-button" id="VjLlGakifb" aria-label="close search"><svg><use xlink:href="#close-icon"></use></svg></button><div class="search-box-c"><svg><use xlink:href="#search-icon"></use></svg> <input type="text" id="vpcKVYIppa" class="search-input" placeholder="Search..." autofocus></div><div class="search-result-c" id="fWwVHRuDuN"><span class="search-result-c-text">Type anything to view search result</span></div></div></div><div class="mobile-menu-icon-container"><button class="icon-button" id="mobile-menu" data-isopen="false" aria-label="menu"><svg><use xlink:href="#menu-icon"></use></svg></button></div><div id="mobile-sidebar" class="mobile-sidebar-container"><div class="mobile-sidebar-wrapper"><a href="/" class="sidebar-title sidebar-title-anchor">WaibuMpa API</a><div class="mobile-nav-links"><div class="navbar-item"><a id="" href="https://www.npmjs.com/package/waibu-mpa" target="">NPM</a></div><div class="navbar-item"><a id="" href="https://github.com/ardhi/waibu-mpa" target="">Github</a></div><div class="navbar-item"><a id="" href="https://waibu.bajo.app/" target="">Waibu</a></div><div class="navbar-item"><a id="" href="https://bajo.app/" target="">Bajo</a></div></div><div class="mobile-sidebar-items-c"><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-classes"><div>Classes</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="MediaMTXWebRTCReader.html">MediaMTXWebRTCReader</a></div><div class="sidebar-section-children"><a href="MpaComponent.html">MpaComponent</a></div><div class="sidebar-section-children"><a href="WaibuMpa.html">WaibuMpa</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-modules"><div>Modules</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="module-Helper.html">Helper</a></div></div><div class="sidebar-section-title with-arrow" data-isopen="false" id="sidebar-global"><div>Global</div><svg><use xlink:href="#down-icon"></use></svg></div><div class="sidebar-section-children-container"><div class="sidebar-section-children"><a href="global.html#Conf">Conf</a></div><div class="sidebar-section-children"><a href="global.html#OnError">OnError</a></div><div class="sidebar-section-children"><a href="global.html#OnTrack">OnTrack</a></div><div class="sidebar-section-children"><a href="global.html#TConfig">TConfig</a></div><div class="sidebar-section-children"><a href="global.html#TConfigDev">TConfigDev</a></div><div class="sidebar-section-children"><a href="global.html#TConfigProd">TConfigProd</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetItem">TIconsetItem</a></div><div class="sidebar-section-children"><a href="global.html#TIconsetMappings">TIconsetMappings</a></div><div class="sidebar-section-children"><a href="global.html#componentFactory">componentFactory</a></div><div class="sidebar-section-children"><a href="global.html#factory">factory</a></div></div></div><div class="mobile-navbar-actions"><div class="navbar-right-item"><button class="icon-button search-button" aria-label="open-search"><svg><use xlink:href="#search-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button theme-toggle" aria-label="toggle-theme"><svg><use class="theme-svg-use" xlink:href="#dark-theme-icon"></use></svg></button></div><div class="navbar-right-item"><button class="icon-button font-size" aria-label="change-font-size"><svg><use xlink:href="#font-size-icon"></use></svg></button></div></div></div></div><script type="text/javascript" src="scripts/core.min.js"></script><script src="scripts/search.min.js" defer="defer"></script><script src="scripts/third-party/fuse.js" defer="defer"></script><script type="text/javascript">var tocbotInstance=tocbot.init({tocSelector:"#eed4d2a0bfd64539bb9df78095dec881",contentSelector:".main-content",headingSelector:"h1, h2, h3",hasInnerContainers:!0,scrollContainer:".main-content",headingsOffset:130,onClick:bringLinkToView})</script></body></html>
|
package/docs/data/search.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"list":[{"title":"Component#afterBuildTag","link":"<a href=\"Component.html#afterBuildTag\">afterBuildTag</a>","description":"<p>Hook executed after building a tag.</p>"},{"title":"Component#beforeBuildTag","link":"<a href=\"Component.html#beforeBuildTag\">beforeBuildTag</a>","description":"<p>Hook executed before building a tag.</p>"},{"title":"Component#buildChildTag","link":"<a href=\"Component.html#buildChildTag\">buildChildTag</a>","description":"<p>Builds a child tag based on a detector attribute.</p>"},{"title":"Component#buildOptions","link":"<a href=\"Component.html#buildOptions\">buildOptions</a>","description":"<p>Builds the <code><option></code> elements for a <code><select></code> tag.</p>"},{"title":"Component#buildSentence","link":"<a href=\"Component.html#buildSentence\">buildSentence</a>","description":"<p>Builds a sentence with optional rendering and minification.</p>"},{"title":"Component#buildTag","link":"<a href=\"Component.html#buildTag\">buildTag</a>","description":"<p>Builds a tag with the given parameters and options.</p>"},{"title":"Component#buildUrl","link":"<a href=\"Component.html#buildUrl\">buildUrl</a>","description":"<p>Builds a URL with the given parameters.</p>"},{"title":"Component#getBuilder","link":"<a href=\"Component.html#getBuilder\">getBuilder</a>","description":"<p>Retrieves a builder class or instance for a specific method.</p>"},{"title":"Component#getMethod","link":"<a href=\"Component.html#getMethod\">getMethod</a>","description":"<p>Determines the method to use based on the provided parameters.</p>"},{"title":"Component#iconAttr","link":"<a href=\"Component.html#iconAttr\">iconAttr</a>","description":"<p>Processes icon-related attributes and appends them to the HTML.</p>"},{"title":"Component#loadBaseFactories","link":"<a href=\"Component.html#loadBaseFactories\">loadBaseFactories</a>","description":"<p>Loads base factories dynamically from the file system.</p>"},{"title":"Component#normalizeAttr","link":"<a href=\"Component.html#normalizeAttr\">normalizeAttr</a>","description":"<p>Normalizes the attributes of the given parameters.</p>"},{"title":"Component#render","link":"<a href=\"Component.html#render\">render</a>","description":"<p>Renders the final HTML for the given parameters.</p>"},{"title":"WaibuMpa","link":"<a href=\"WaibuMpa.html\">WaibuMpa</a>"},{"title":"factory","link":"<a href=\"global.html#factory\">factory</a>","description":"<p>Plugin factory</p>"}]}
|
|
1
|
+
{"list":[{"title":"Conf","link":"<a href=\"global.html#Conf\">Conf</a>"},{"title":"MediaMTXWebRTCReader","link":"<a href=\"MediaMTXWebRTCReader.html\">MediaMTXWebRTCReader</a>","description":"<p>Create a MediaMTXWebRTCReader.</p>"},{"title":"MediaMTXWebRTCReader#close","link":"<a href=\"MediaMTXWebRTCReader.html#close\">close</a>","description":"<p>Close the reader and all its resources.</p>"},{"title":"MpaComponent","link":"<a href=\"MpaComponent.html\">MpaComponent</a>","description":"<p>Constructor</p>"},{"title":"MpaComponent#afterBuildTag","link":"<a href=\"MpaComponent.html#afterBuildTag\">afterBuildTag</a>","description":"<p>Hook executed after building a tag.</p>"},{"title":"MpaComponent#beforeBuildTag","link":"<a href=\"MpaComponent.html#beforeBuildTag\">beforeBuildTag</a>","description":"<p>Hook executed before building a tag.</p>"},{"title":"MpaComponent#buildChildTag","link":"<a href=\"MpaComponent.html#buildChildTag\">buildChildTag</a>","description":"<p>Builds a child tag based on a detector attribute.</p>"},{"title":"MpaComponent#buildOptions","link":"<a href=\"MpaComponent.html#buildOptions\">buildOptions</a>","description":"<p>Builds the <code><option></code> elements for a <code><select></code> tag.</p>"},{"title":"MpaComponent#buildSentence","link":"<a href=\"MpaComponent.html#buildSentence\">buildSentence</a>","description":"<p>Builds a sentence with optional rendering and minification.</p>"},{"title":"MpaComponent#buildTag","link":"<a href=\"MpaComponent.html#buildTag\">buildTag</a>","description":"<p>Builds a tag with the given parameters and options.</p>"},{"title":"MpaComponent#buildUrl","link":"<a href=\"MpaComponent.html#buildUrl\">buildUrl</a>","description":"<p>Builds a URL with the given parameters.</p>"},{"title":"MpaComponent#getMethod","link":"<a href=\"MpaComponent.html#getMethod\">getMethod</a>","description":"<p>Determines the method to use based on the provided parameters.</p>"},{"title":"MpaComponent#getWidget","link":"<a href=\"MpaComponent.html#getWidget\">getWidget</a>","description":"<p>Retrieves a widget builder class or instance for a specific method.</p>"},{"title":"MpaComponent#iconAttr","link":"<a href=\"MpaComponent.html#iconAttr\">iconAttr</a>","description":"<p>Processes icon-related attributes and appends them to the HTML.</p>"},{"title":"MpaComponent#loadBaseWidgets","link":"<a href=\"MpaComponent.html#loadBaseWidgets\">loadBaseWidgets</a>","description":"<p>Loads base factories dynamically from the file system.</p>"},{"title":"MpaComponent#normalizeAttr","link":"<a href=\"MpaComponent.html#normalizeAttr\">normalizeAttr</a>","description":"<p>Normalizes the attributes of the given parameters.</p>"},{"title":"MpaComponent#render","link":"<a href=\"MpaComponent.html#render\">render</a>","description":"<p>Renders the final HTML for the given parameters.</p>"},{"title":"OnError","link":"<a href=\"global.html#OnError\">OnError</a>"},{"title":"OnTrack","link":"<a href=\"global.html#OnTrack\">OnTrack</a>"},{"title":"TConfig","link":"<a href=\"global.html#TConfig\">TConfig</a>","description":"<p>Configuration object</p>"},{"title":"TConfigDev","link":"<a href=\"global.html#TConfigDev\">TConfigDev</a>","description":"<p>Configuration object for development environment</p>"},{"title":"TConfigProd","link":"<a href=\"global.html#TConfigProd\">TConfigProd</a>","description":"<p>Configuration object for production environment</p>"},{"title":"TIconsetItem","link":"<a href=\"global.html#TIconsetItem\">TIconsetItem</a>"},{"title":"TIconsetMappings","link":"<a href=\"global.html#TIconsetMappings\">TIconsetMappings</a>"},{"title":"WaibuMpa","link":"<a href=\"WaibuMpa.html\">WaibuMpa</a>","description":"<p>Constructor</p>"},{"title":"WaibuMpa#_addRoutes","link":"<a href=\"WaibuMpa.html#_addRoutes\">_addRoutes</a>","description":"<p>Add routes to the application.</p>"},{"title":"WaibuMpa#_applyFormat","link":"<a href=\"WaibuMpa.html#_applyFormat\">_applyFormat</a>","description":"<p>Apply formatting to the given text based on the options.</p>"},{"title":"WaibuMpa#_buildRoute","link":"<a href=\"WaibuMpa.html#_buildRoute\">_buildRoute</a>","description":"<p>Build routes based on the provided options.</p>"},{"title":"WaibuMpa#_buildRoutes","link":"<a href=\"WaibuMpa.html#_buildRoutes\">_buildRoutes</a>","description":"<p>Build routes for the application.</p>"},{"title":"WaibuMpa#_decorate","link":"<a href=\"WaibuMpa.html#_decorate\">_decorate</a>","description":"<p>Decorate the request and reply objects with additional properties and methods.</p>"},{"title":"WaibuMpa#_handleError","link":"<a href=\"WaibuMpa.html#_handleError\">_handleError</a>","description":"<p>Handle general errors.</p>"},{"title":"WaibuMpa#_handleNotFound","link":"<a href=\"WaibuMpa.html#_handleNotFound\">_handleNotFound</a>","description":"<p>Handle not found errors.</p>"},{"title":"WaibuMpa#_handleSession","link":"<a href=\"WaibuMpa.html#_handleSession\">_handleSession</a>","description":"<p>Handle session setup.</p>"},{"title":"WaibuMpa#_handleSubApp","link":"<a href=\"WaibuMpa.html#_handleSubApp\">_handleSubApp</a>","description":"<p>Handle sub-applications.</p>"},{"title":"WaibuMpa#_loadResource","link":"<a href=\"WaibuMpa.html#_loadResource\">_loadResource</a>","description":"<p>Load resources for the given module and item.</p>"},{"title":"WaibuMpa#_trashOldSession","link":"<a href=\"WaibuMpa.html#_trashOldSession\">_trashOldSession</a>","description":"<p>Trash old sessions.</p>"},{"title":"WaibuMpa#buildUrl","link":"<a href=\"WaibuMpa.html#buildUrl\">buildUrl</a>","description":"<p>Build a URL based on the provided options.</p>"},{"title":"WaibuMpa#config","link":"<a href=\"WaibuMpa.html#config\">config</a>"},{"title":"WaibuMpa#configDev","link":"<a href=\"WaibuMpa.html#configDev\">configDev</a>"},{"title":"WaibuMpa#configProd","link":"<a href=\"WaibuMpa.html#configProd\">configProd</a>"},{"title":"WaibuMpa#getAppTitle","link":"<a href=\"WaibuMpa.html#getAppTitle\">getAppTitle</a>","description":"<p>Get the title of the application.</p>"},{"title":"WaibuMpa#getIconset","link":"<a href=\"WaibuMpa.html#getIconset\">getIconset</a>","description":"<p>Get an iconset by name.</p>"},{"title":"WaibuMpa#getMenuPages","link":"<a href=\"WaibuMpa.html#getMenuPages\">getMenuPages</a>","description":"<p>Get the pages from a menu based on the path and subPath.</p>"},{"title":"WaibuMpa#getPluginTitle","link":"<a href=\"WaibuMpa.html#getPluginTitle\">getPluginTitle</a>","description":"<p>Get the title of a plugin.</p>"},{"title":"WaibuMpa#getResource","link":"<a href=\"WaibuMpa.html#getResource\">getResource</a>","description":"<p>Get the resource information for a given name.</p>"},{"title":"WaibuMpa#getSessionId","link":"<a href=\"WaibuMpa.html#getSessionId\">getSessionId</a>","description":"<p>Get the session ID from the raw cookie.</p>"},{"title":"WaibuMpa#getTheme","link":"<a href=\"WaibuMpa.html#getTheme\">getTheme</a>","description":"<p>Get a theme by name.</p>"},{"title":"WaibuMpa#getViewEngine","link":"<a href=\"WaibuMpa.html#getViewEngine\">getViewEngine</a>","description":"<p>Get the view engine for a given file extension.</p>"},{"title":"WaibuMpa#groupAttrs","link":"<a href=\"WaibuMpa.html#groupAttrs\">groupAttrs</a>","description":"<p>Group attributes by keys.</p>"},{"title":"WaibuMpa#htmlTags","link":"<a href=\"WaibuMpa.html#htmlTags\">htmlTags</a>","description":"<p>All supported HTML tags</p>"},{"title":"WaibuMpa#iconsetMappings","link":"<a href=\"WaibuMpa.html#iconsetMappings\">iconsetMappings</a>","description":"<p>Iconset mappings</p>"},{"title":"WaibuMpa#init","link":"<a href=\"WaibuMpa.html#init\">init</a>","description":"<p>Initialize the plugin</p>"},{"title":"WaibuMpa#jsonStringify","link":"<a href=\"WaibuMpa.html#jsonStringify\">jsonStringify</a>","description":"<p>Custom JSON stringify function.</p>"},{"title":"WaibuMpa#minify","link":"<a href=\"WaibuMpa.html#minify\">minify</a>","description":"<p>Minify HTML text.</p>"},{"title":"WaibuMpa#paginationLayout","link":"<a href=\"WaibuMpa.html#paginationLayout\">paginationLayout</a>","description":"<p>Generate pagination layout.</p>"},{"title":"WaibuMpa#parseAttribs","link":"<a href=\"WaibuMpa.html#parseAttribs\">parseAttribs</a>","description":"<p>Parse attributes from a string or object.</p>"},{"title":"WaibuMpa#render","link":"<a href=\"WaibuMpa.html#render\">render</a>","description":"<p>Render a template using the appropriate view engine.</p>"},{"title":"WaibuMpa#renderString","link":"<a href=\"WaibuMpa.html#renderString\">renderString</a>","description":"<p>Render a string using the appropriate view engine.</p>"},{"title":"WaibuMpa#renderView","link":"<a href=\"WaibuMpa.html#renderView\">renderView</a>","description":"<p>Render a view with the given options.</p>"},{"title":"WaibuMpa#stringifyAttribs","link":"<a href=\"WaibuMpa.html#stringifyAttribs\">stringifyAttribs</a>","description":"<p>Stringify attributes from an object.</p>"},{"title":"WaibuMpa#stripHtmlTags","link":"<a href=\"WaibuMpa.html#stripHtmlTags\">stripHtmlTags</a>","description":"<p>Strip HTML tags from a string.</p>"},{"title":"WaibuMpa#urlToBreadcrumb","link":"<a href=\"WaibuMpa.html#urlToBreadcrumb\">urlToBreadcrumb</a>","description":"<p>Convert a URL to a breadcrumb array.</p>"},{"title":"componentFactory","link":"<a href=\"global.html#componentFactory\">componentFactory</a>","description":"<p>Component factory function that creates the MpaComponent class.</p>"},{"title":"factory","link":"<a href=\"global.html#factory\">factory</a>","description":"<p>Plugin factory</p>"},{"title":"module:Helper","link":"<a href=\"module-Helper.html\">Helper</a>"},{"title":"module:Helper.addItem","link":"<a href=\"module-Helper.html#.addItem\">addItem</a>","description":"<p>Add an item to the container</p>"},{"title":"module:Helper.alert","link":"<a href=\"module-Helper.html#.alert\">alert</a>","description":"<p>Print warning message in page</p>"},{"title":"module:Helper.applyConcatRsc","link":"<a href=\"module-Helper.html#.applyConcatRsc\">applyConcatRsc</a>","description":"<p>Apply concatenation of resources (CSS, JS) based on configuration and cache results</p>"},{"title":"module:Helper.applyInclude","link":"<a href=\"module-Helper.html#.applyInclude\">applyInclude</a>","description":"<p>Apply include directive in the page</p>"},{"title":"module:Helper.attrsMutation","link":"<a href=\"module-Helper.html#.attrsMutation\">attrsMutation</a>","description":"<p>Mutate attributes of an element and its children</p>"},{"title":"module:Helper.buildPage","link":"<a href=\"module-Helper.html#.buildPage\">buildPage</a>","description":"<p>Build the final HTML page by processing the template, applying themes, iconsets, and manipulating the DOM as needed</p>"},{"title":"module:Helper.buildTheme","link":"<a href=\"module-Helper.html#.buildTheme\">buildTheme</a>","description":"<p>Build a theme</p>"},{"title":"module:Helper.collectInline","link":"<a href=\"module-Helper.html#.collectInline\">collectInline</a>","description":"<p>Collect inline resources (css, scripts) from theme/iconset and options</p>"},{"title":"module:Helper.collectRegular","link":"<a href=\"module-Helper.html#.collectRegular\">collectRegular</a>","description":"<p>Collect regular resources (css, scripts, links) from theme/iconset, frontmatter, and options</p>"},{"title":"module:Helper.concatResources","link":"<a href=\"module-Helper.html#.concatResources\">concatResources</a>","description":"<p>Concatenate resources (CSS, JS) based on configuration and cache results</p>"},{"title":"module:Helper.exports.collectIconsets","link":"<a href=\"module-Helper.html#.exports.collectIconsets\">exports.collectIconsets</a>","description":"<p>Collect iconsets</p>"},{"title":"module:Helper.exports.collectThemes","link":"<a href=\"module-Helper.html#.exports.collectThemes\">exports.collectThemes</a>","description":"<p>Collect themes</p>"},{"title":"module:Helper.exports.collectViewEngines","link":"<a href=\"module-Helper.html#.exports.collectViewEngines\">exports.collectViewEngines</a>","description":"<p>Collect view engines</p>"},{"title":"module:Helper.exports.injectElements","link":"<a href=\"module-Helper.html#.exports.injectElements\">exports.injectElements</a>","description":"<p>Inject elements into the page</p>"},{"title":"module:Helper.exports.printLink","link":"<a href=\"module-Helper.html#.exports.printLink\">exports.printLink</a>","description":"<p>Print a link element</p>"},{"title":"module:Helper.exports.printScript","link":"<a href=\"module-Helper.html#.exports.printScript\">exports.printScript</a>","description":"<p>Print a script element</p>"},{"title":"module:Helper.injectCss","link":"<a href=\"module-Helper.html#.injectCss\">injectCss</a>","description":"<p>Inject CSS into the page</p>"},{"title":"module:Helper.injectLink","link":"<a href=\"module-Helper.html#.injectLink\">injectLink</a>","description":"<p>Inject link elements into the page</p>"},{"title":"module:Helper.injectMeta","link":"<a href=\"module-Helper.html#.injectMeta\">injectMeta</a>","description":"<p>Inject meta tags into the page</p>"},{"title":"module:Helper.injectScript","link":"<a href=\"module-Helper.html#.injectScript\">injectScript</a>","description":"<p>Inject scripts into the page</p>"},{"title":"module:Helper.loadItems","link":"<a href=\"module-Helper.html#.loadItems\">loadItems</a>","description":"<p>Load items into the theme</p>"},{"title":"module:Helper.manipulation","link":"<a href=\"module-Helper.html#.manipulation\">manipulation</a>","description":"<p>Manipulate the DOM based on specific attributes and move elements as needed</p>"},{"title":"module:Helper.parseAttr","link":"<a href=\"module-Helper.html#.parseAttr\">parseAttr</a>","description":"<p>Parse attributes of an element and apply transformations</p>"},{"title":"module:Helper.replace","link":"<a href=\"module-Helper.html#.replace\">replace</a>","description":"<p>Replace unknown component tag with div or comment</p>"},{"title":"module:Helper.replaceTag","link":"<a href=\"module-Helper.html#.replaceTag\">replaceTag</a>","description":"<p>Replace unknown component tag with div or comment</p>"}]}
|