diff --git a/docs/build/docssite.js b/docs/build/docssite.js index b4534c58..c1ce9af1 100644 --- a/docs/build/docssite.js +++ b/docs/build/docssite.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -!function(e,t,r,o,c,s,i,n,a,l,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=a,(h=a.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,r){r.$r=[];const o=t.componentOnReady;t.componentOnReady=function(t){const c=this;function s(e){r.$r?r.$r.push([c,e]):r.componentOnReady(c,e)}return o&&o.call(c),t?s(t):e.Promise?new Promise(s):{then:s}}}(e,l,u),d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);(h=p.getAttribute("data-resources-url"))&&(c=h),!c&&p.src&&(c=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,o){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=c+"docssite.lc7q1hhy.js":(d.src=c+"docssite.a0cs8axq.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",c),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","vtu3zyh5",1],["header-bar","82updblm",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","vscrqboi",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","ms1l1l4a",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","82updblm",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","vscrqboi",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","82updblm",0,[["activeInGroup",5],["activeRouter",3,0,0,0,"activeRouter"],["component",1,0,1,2],["componentProps",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupIndex",1,0,"group-index",4],["isServer",3,0,0,0,"isServer"],["location",3,0,0,0,"location"],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","gkczrv46",0,[["activeClass",1,0,"active-class",2],["activeRouter",3,0,0,0,"activeRouter"],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["exact",1,0,1,3],["match",5],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-router","82updblm",0,[["activeRouter",3,0,0,0,"activeRouter"],["historyType",1,0,"history-type",2],["match",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","vscrqboi",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","9wxpo3m4",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype); \ No newline at end of file +!function(e,t,o,r,c,s,i,n,a,l,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=a,(h=a.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,o){o.$r=[];const r=t.componentOnReady;t.componentOnReady=function(t){const c=this;function s(e){o.$r?o.$r.push([c,e]):o.componentOnReady(c,e)}return r&&r.call(c),t?s(t):e.Promise?new Promise(s):{then:s}}}(e,l,u),d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);(h=p.getAttribute("data-resources-url"))&&(c=h),!c&&p.src&&(c=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,o,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in o)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=c+"docssite.lc7q1hhy.js":(d.src=c+"docssite.a0cs8axq.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",c),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","xxdq8tou",1],["header-bar","f5jhpa2x",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","vscrqboi",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","ms1l1l4a",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","f5jhpa2x",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","vscrqboi",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","f5jhpa2x",0,[["activeInGroup",5],["activeRouter",3,0,0,0,"activeRouter"],["component",1,0,1,2],["componentProps",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupIndex",1,0,"group-index",4],["isServer",3,0,0,0,"isServer"],["location",3,0,0,0,"location"],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","5szlxwny",0,[["activeClass",1,0,"active-class",2],["activeRouter",3,0,0,0,"activeRouter"],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["exact",1,0,1,3],["match",5],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-router","f5jhpa2x",0,[["activeRouter",3,0,0,0,"activeRouter"],["historyType",1,0,"history-type",2],["match",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","vscrqboi",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","9wxpo3m4",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype); \ No newline at end of file diff --git a/docs/build/docssite/5szlxwny.es5.js b/docs/build/docssite/5szlxwny.es5.js new file mode 100644 index 00000000..2992d42f --- /dev/null +++ b/docs/build/docssite/5szlxwny.es5.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +DocsSite.loadBundle("5szlxwny",["exports","./chunk-4440b782.js"],function(t,e){var i=window.DocsSite.h,r=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})},t.prototype.componentWillLoad=function(){var t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.handleClick=function(t){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')},t.prototype.getUrl=function(t){var e=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+t:e+t},t.prototype.render=function(){var t,e={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),i(this.custom,Object.assign({},e),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/5szlxwny.js b/docs/build/docssite/5szlxwny.js new file mode 100644 index 00000000..16f62fff --- /dev/null +++ b/docs/build/docssite/5szlxwny.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +const{h:t}=window.DocsSite;import{a as e}from"./chunk-f6f1d593.js";class s{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),e(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})}componentWillLoad(){this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidUnload(){this.unsubscribe()}handleClick(t){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')}getUrl(t){const e=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+t:e+t}render(){let e={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),t(this.custom,Object.assign({},e),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}export{s as StencilRouteLink}; \ No newline at end of file diff --git a/docs/build/docssite/82updblm.js b/docs/build/docssite/82updblm.js deleted file mode 100644 index 2aba6019..00000000 --- a/docs/build/docssite/82updblm.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:t}=window.DocsSite;import{a as e,b as o,c as n,d as i,e as s,f as r,g as a,h as c,i as l,j as h}from"./chunk-408bcc6b.js";class u{constructor(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}handleResize(){requestAnimationFrame(()=>{window.innerWidth>768&&(this.el.querySelector("nav").style.display="",this.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),this.isMobileMenuShown=!1)})}checkScroll(){const t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30}showNav(){if(this.isMobileMenuShown)return;this.isMobileMenuShown=!0;const t=this.el.querySelector("nav");t.style.display="flex",setTimeout(()=>{t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}hideNav(){if(!this.isMobileMenuShown)return;this.isMobileMenuShown=!1;const t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(()=>{t.style.display="none",document.body.classList.remove("no-scroll")},300)}render(){return t("header",{class:`${this.isSearchVisible?"visible-search":""} ${this.isSticky?"overlay":""}`},t("div",{class:"container"},t("div",{class:"logo"},t("stencil-route-link",{url:"/",exact:!0},t("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},t("g",{id:"icon","fill-rule":"nonzero"},t("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),t("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),t("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),t("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),t("span",{class:"version"},this.version)),t("icon-search",{query:this.query,size:"small"}),t("nav",null,t("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),t("stencil-route-link",{class:"nav__item",url:"/usage",onClick:()=>{this.toggleHeaderSearch.emit("hide"),this.hideNav()}},"Usage"),t("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",t("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{transform:"translate(0,1)"},t("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),t("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),t("span",{class:"close",onClick:this.hideNav.bind(this)},t("i",{class:"ion ion-md-close"}))),t("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},t("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",null,t("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),t("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),t("span",{class:"more",onClick:this.showNav.bind(this)},t("i",{class:"ion ion-md-more"}))))}static get is(){return"header-bar"}static get properties(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}}static get events(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]}static get style(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"}}const d=({children:e,scrollTopOffset:o},n)=>{let i;i=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();const s=e.map((t,e)=>{const s=n.getAttributes(t);return n.replaceAttributes(t,Object.assign({},s,{scrollTopOffset:o,group:i,groupIndex:e})),t});return t("div",null,s)};class p{constructor(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}searchHandler(t){this.query=t.detail}toggleHandler(t){this.isHeaderSearchVisible="show"===t.detail}componentWillLoad(){return fetch("/data.json").then(t=>{t.json().then(t=>{this.data=t,this.data.icons=this.data.icons.map(t=>(t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t))})})}checkScroll(){const t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(!e)return;const o=t.querySelector("input"),n=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"}}class m{constructor(){this.unsubscribe=(()=>{}),this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),e(t,{path:this.url,exact:this.exact,strict:!0})}componentWillLoad(){const t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:e=>(this.match=e,new Promise(e=>{t.componentDidRerender=e})),groupId:this.group,groupIndex:this.groupIndex})}componentDidUnload(){this.unsubscribe()}componentDidUpdate(){if(this.componentDidRerender){const t=this.el.firstElementChild;t&&t.componentOnReady?t.componentOnReady().then(()=>{this.componentDidRerender&&this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)}scrollTo(){const t=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&t&&!this.isServer)return"POP"===t.action&&null!=t.location.scrollPosition?this.queue.write(function(){window.scrollTo(t.location.scrollPosition[0],t.location.scrollPosition[1])}):this.queue.read(()=>this.queue.write(()=>{window.scrollTo(0,this.scrollTopOffset)}))}hostData(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}}render(){if(!this.activeRouter||!this.match)return null;const e=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},e,{component:this.component}));if(this.component){const o=this.component;return t(o,Object.assign({},e))}}static get is(){return"stencil-route"}static get properties(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}}}function g(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function f(t,e){return g(t,e)?t.substr(e.length):t}function y(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function w(t){return"/"===t.charAt(0)?t:"/"+t}function b(t){return"/"===t.charAt(0)?t.substr(1):t}function v(t){const{pathname:e,search:o,hash:n}=t;let i=e||"/";return o&&"?"!==o&&(i+="?"===o.charAt(0)?o:`?${o}`),n&&"#"!==n&&(i+="#"===n.charAt(0)?n:`#${n}`),i}function S(t){return"/"===t.charAt(0)}function x(t,e){for(let o=e,n=o+1,i=t.length;n=0;t--){const e=n[t];"."===e?x(n,t):".."===e?(x(n,t),c++):c&&(x(n,t),c--)}if(!r)for(;c--;c)n.unshift("..");!r||""===n[0]||n[0]&&S(n[0])||n.unshift("");let l=n.join("/");return a&&"/"!==l.substr(-1)&&(l+="/"),l}(i.pathname,n.pathname)):i.pathname=n.pathname:i.pathname||(i.pathname="/"),i.query=(s=i.search)?(/^[?#]/.test(s)?s.slice(1):s).split("&").reduce((t,e)=>{let[o,n]=e.split("=");return t[o]=n?decodeURIComponent(n.replace(/\+/g," ")):"",t},{}):{},i}function k(t,...e){t||console.error(...e)}function L(t,...e){t||console.warn(...e)}const O=()=>{let t,e=[];return{setPrompt:e=>(L(null==t,"A history supports only one prompt at a time"),t=e,()=>{t===e&&(t=null)}),confirmTransitionTo:(e,o,n,i)=>{if(null!=t){const s="function"==typeof t?t(e,o):t;"string"==typeof s?"function"==typeof n?n(s,i):(L(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==s)}else i(!0)},appendListener:t=>{let o=!0;const n=(...e)=>{o&&t(...e)};return e.push(n),()=>{o=!1,e=e.filter(t=>t!==n)}},notifyListeners:(...t)=>{e.forEach(e=>e(...t))}}},P=(t="scrollPositions")=>{let e=new Map;function n(t,n){if(e.set(t,n),o("sessionStorage")){const t=[];e.forEach((e,o)=>{t.push([o,e])}),window.sessionStorage.setItem("scrollPositions",JSON.stringify(t))}}return o("sessionStorage")&&(e=window.sessionStorage.getItem(t)?new Map(JSON.parse(window.sessionStorage.getItem(t))):e),"scrollRestoration"in history&&(history.scrollRestoration="manual"),{set:n,get:function(t){return e.get(t)},has:function(t){return e.has(t)},capture:function(t){n(t,[window.scrollX,window.scrollY])}}},A=()=>{try{return window.history.state||{}}catch(t){return{}}},T={hashbang:{encodePath:t=>"!"===t.charAt(0)?t:"!/"+b(t),decodePath:t=>"!"===t.charAt(0)?t.substr(1):t},noslash:{encodePath:b,decodePath:w},slash:{encodePath:w,decodePath:w}},H=()=>{const t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},M=t=>{const e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},q={browser:(t={})=>{k(n,"Browser history needs a DOM");const e=window.history,o=a(),h=!c(),u=P(),{forceRefresh:d=!1,getUserConfirmation:p=r,keyLength:m=6}=t,b=t.basename?y(w(t.basename)):"",S=t=>{t=t||{};const{key:e,state:o}=t,{pathname:n,search:i,hash:s}=window.location;let r=n+i+s;return L(!b||g(r,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+r+'" to begin with "'+b+'".'),b&&(r=f(r,b)),R(r,o,e)},x=()=>Math.random().toString(36).substr(2,m),T=O(),H=t=>{u.capture(G.location.key),Object.assign(G,t),G.location.scrollPosition=u.get(G.location.key),G.length=e.length,T.notifyListeners(G.location,G.action)},M=t=>{l(t)||E(S(t.state))},q=()=>{E(S(A()))};let I=!1;const E=t=>{if(I)I=!1,H();else{const e="POP";T.confirmTransitionTo(t,e,p,o=>{o?H({action:e,location:t}):j(t)})}},j=t=>{const e=G.location;let o=U.indexOf(e.key);-1===o&&(o=0);let n=U.indexOf(t.key);-1===n&&(n=0);const i=o-n;i&&(I=!0,N(i))},C=S(A());let U=[C.key];const D=t=>b+v(t),N=t=>{e.go(t)};let B=0;const V=t=>{1===(B+=t)?(i(window,"popstate",M),h&&i(window,"hashchange",q)):0===B&&(s(window,"popstate",M),h&&s(window,"hashchange",q))};let _=!1;const G={length:e.length,action:"POP",location:C,createHref:D,push:(t,n)=>{L(!("object"==typeof t&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const i=R(t,n,x(),G.location);T.confirmTransitionTo(i,"PUSH",p,t=>{if(!t)return;const n=D(i),{key:s,state:r}=i;if(o)if(e.pushState({key:s,state:r},null,n),d)window.location.href=n;else{const t=U.indexOf(G.location.key),e=U.slice(0,-1===t?0:t+1);e.push(i.key),U=e,H({action:"PUSH",location:i})}else L(void 0===r,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=n})},replace:(t,n)=>{L(!("object"==typeof t&&void 0!==t.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const i=R(t,n,x(),G.location);T.confirmTransitionTo(i,"REPLACE",p,t=>{if(!t)return;const n=D(i),{key:s,state:r}=i;if(o)if(e.replaceState({key:s,state:r},null,n),d)window.location.replace(n);else{const t=U.indexOf(G.location.key);-1!==t&&(U[t]=i.key),H({action:"REPLACE",location:i})}else L(void 0===r,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(n)})},go:N,goBack:()=>N(-1),goForward:()=>N(1),block:(t="")=>{const e=T.setPrompt(t);return _||(V(1),_=!0),()=>(_&&(_=!1,V(-1)),e())},listen:t=>{const e=T.appendListener(t);return V(1),()=>{V(-1),e()}}};return G},hash:(t={})=>{k(n,"Hash history needs a DOM");const e=window.history,o=h(),{getUserConfirmation:a=r,hashType:c="slash"}=t,l=t.basename?y(w(t.basename)):"",{encodePath:u,decodePath:d}=T[c],p=()=>{let t=d(H());return L(!l||g(t,l),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+l+'".'),l&&(t=f(t,l)),R(t)},m=O(),b=t=>{Object.assign(G,t),G.length=e.length,m.notifyListeners(G.location,G.action)};let S=!1,x=null;const P=()=>{const t=H(),e=u(t);if(t!==e)M(e);else{const t=p(),e=G.location;if(!S&&(E=t,(I=e).pathname===E.pathname&&I.search===E.search&&I.hash===E.hash&&I.key===E.key&&function t(e,o){if(e===o)return!0;if(null==e||null==o)return!1;if(Array.isArray(e))return Array.isArray(o)&&e.length===o.length&&e.every(function(e,n){return t(e,o[n])});const n=typeof e;if(n!==typeof o)return!1;if("object"===n){const n=e.valueOf(),i=o.valueOf();if(n!==e||i!==o)return t(n,i);const s=Object.keys(e),r=Object.keys(o);return s.length===r.length&&s.every(function(n){return t(e[n],o[n])})}return!1}(I.state,E.state)))return;if(x===v(t))return;x=null,A(t)}},A=t=>{if(S)S=!1,b();else{const e="POP";m.confirmTransitionTo(t,e,a,o=>{o?b({action:e,location:t}):q(t)})}},q=t=>{const e=G.location;let o=D.lastIndexOf(v(e));-1===o&&(o=0);let n=D.lastIndexOf(v(t));-1===n&&(n=0);const i=o-n;i&&(S=!0,N(i))},j=H(),C=u(j);j!==C&&M(C);const U=p();let D=[v(U)];const N=t=>{L(o,"Hash history go(n) causes a full page reload in this browser"),e.go(t)};let B=0;const V=t=>{1===(B+=t)?i(window,"hashchange",P):0===B&&s(window,"hashchange",P)};let _=!1;const G={length:e.length,action:"POP",location:U,createHref:t=>"#"+u(l+v(t)),push:(t,e)=>{L(void 0===e,"Hash history cannot push state; it is ignored");const o=R(t,void 0,void 0,G.location);m.confirmTransitionTo(o,"PUSH",a,t=>{if(!t)return;const e=v(o),n=u(l+e);if(H()!==n){x=e,(t=>window.location.hash=t)(n);const t=D.lastIndexOf(v(G.location)),i=D.slice(0,-1===t?0:t+1);i.push(e),D=i,b({action:"PUSH",location:o})}else L(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),b()})},replace:(t,e)=>{L(void 0===e,"Hash history cannot replace state; it is ignored");const o=R(t,void 0,void 0,G.location);m.confirmTransitionTo(o,"REPLACE",a,t=>{if(!t)return;const e=v(o),n=u(l+e);H()!==n&&(x=e,M(n));const i=D.indexOf(v(G.location));-1!==i&&(D[i]=e),b({action:"REPLACE",location:o})})},go:N,goBack:()=>N(-1),goForward:()=>N(1),block:(t="")=>{const e=m.setPrompt(t);return _||(V(1),_=!0),()=>(_&&(_=!1,V(-1)),e())},listen:t=>{const e=m.appendListener(t);return V(1),()=>{V(-1),e()}}};return G}};var I,E;class j{constructor(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=(()=>{}),this.match=null}titleSuffixChanged(t){this.activeRouter.set({titleSuffix:t})}computeMatch(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}}componentWillLoad(){const t=q[this.historyType]();t.listen(t=>{this.activeRouter.set({location:this.getLocation(t)})}),this.activeRouter.set({location:this.getLocation(t.location),titleSuffix:this.titleSuffix,root:this.root,history:t}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidLoad(){this.activeRouter.dispatch()}getLocation(t){const e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})}componentDidUnload(){this.unsubscribe()}render(){return t("slot",null)}static get is(){return"stencil-router"}static get properties(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}}}export{u as HeaderBar,p as IoniconsSite,m as StencilRoute,j as StencilRouter}; \ No newline at end of file diff --git a/docs/build/docssite/chunk-408bcc6b.js b/docs/build/docssite/chunk-408bcc6b.js deleted file mode 100644 index 5e44e39f..00000000 --- a/docs/build/docssite/chunk-408bcc6b.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:e}=window.DocsSite;var n="/",t="./",r=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e.replace(/([=!:$/()])/g,"\\$1")}function o(e){return e&&e.sensitive?"":"i"}function s(e,c,d){return e instanceof RegExp?function(e,n){if(!n)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var r=0;r-1;else{var v=i(g.prefix),w=g.repeat?"(?:"+g.pattern+")(?:"+v+"(?:"+g.pattern+"))*":g.pattern;r&&r.push(g),g.optional?g.partial?l+=v+"("+w+")?":l+="(?:"+v+"("+w+"))?":l+=v+"("+w+")"}}return c?(s||(l+="(?:"+d+")?"),l+="$"===f?"$":"(?="+f+")"):(s||(l+="(?:"+d+"(?="+f+"))?"),p||(l+="(?="+d+"|"+f+")")),new RegExp("^"+l,o(a))}(function(e,o){for(var s,c=[],d=0,u=0,f="",l=o&&o.delimiter||n,p=o&&o.delimiters||t,h=!1;null!==(s=r.exec(e));){var g=s[0],v=s[1],w=s.index;if(f+=e.slice(u,w),u=w+g.length,v)f+=v[1],h=!0;else{var x="",m=e[u],E=s[2],O=s[3],y=s[4],A=s[5];if(!h&&f.length){var $=f.length-1;p.indexOf(f[$])>-1&&(x=f[$],f=f.slice(0,$))}f&&(c.push(f),f="",h=!1);var _=""!==x&&void 0!==m&&m!==x,R="+"===A||"*"===A,S="?"===A||"*"===A,j=x||l,D=O||y;c.push({name:E||d++,prefix:x,delimiter:j,optional:S,repeat:R,partial:_,pattern:D?a(D):"[^"+i(j)+"]+?"})}}return(f||u(e[n.name]=p[t],e),{})}}const l=!("undefined"==typeof window||!window.document||!window.document.createElement),p=(e,n,t)=>e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent("on"+n,t),h=(e,n,t)=>e.removeEventListener?e.removeEventListener(n,t,!1):e.detachEvent("on"+n,t),g=(e,n)=>n(window.confirm(e)),v=e=>e.metaKey||e.altKey||e.ctrlKey||e.shiftKey,w=()=>{const e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history},x=()=>-1===window.navigator.userAgent.indexOf("Trident"),m=()=>-1===window.navigator.userAgent.indexOf("Firefox"),E=e=>void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS"),O=e=>{try{var n=window[e],t="__storage_test__";return n.setItem(t,t),n.removeItem(t),!0}catch(e){return e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&0!==n.length}};export{f as a,O as b,l as c,p as d,h as e,g as f,w as g,x as h,E as i,m as j,v as k}; \ No newline at end of file diff --git a/docs/build/docssite/chunk-438b3614.es5.js b/docs/build/docssite/chunk-438b3614.es5.js deleted file mode 100644 index 04e7d3ae..00000000 --- a/docs/build/docssite/chunk-438b3614.es5.js +++ /dev/null @@ -1,43 +0,0 @@ -/*! Built with http://stenciljs.com */ -DocsSite.loadBundle("chunk-438b3614.js", ["exports"], function (e) { window.DocsSite.h; var t = "/", n = "./", r = new RegExp(["(\\\\.)", "(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"), "g"); function i(e) { return e.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); } function o(e) { return e.replace(/([=!:$/()])/g, "\\$1"); } function a(e) { return e && e.sensitive ? "" : "i"; } function s(e, d, u) { return e instanceof RegExp ? function (e, t) { if (!t) - return e; var n = e.source.match(/\((?!\?)/g); if (n) - for (var r = 0; r < n.length; r++) - t.push({ name: r, prefix: null, delimiter: null, optional: !1, repeat: !1, partial: !1, pattern: null }); return e; }(e, d) : Array.isArray(e) ? function (e, t, n) { for (var r = [], i = 0; i < e.length; i++) - r.push(s(e[i], t, n).source); return new RegExp("(?:" + r.join("|") + ")", a(n)); }(e, d, u) : function (e, s, d) { return function (e, r, o) { for (var s = (o = o || {}).strict, d = !1 !== o.end, u = i(o.delimiter || t), c = o.delimiters || n, l = [].concat(o.endsWith || []).map(i).concat("$").join("|"), f = "", p = !1, h = 0; h < e.length; h++) { - var v = e[h]; - if ("string" == typeof v) - f += i(v), p = h === e.length - 1 && c.indexOf(v[v.length - 1]) > -1; - else { - var g = i(v.prefix), m = v.repeat ? "(?:" + v.pattern + ")(?:" + g + "(?:" + v.pattern + "))*" : v.pattern; - r && r.push(v), v.optional ? v.partial ? f += g + "(" + m + ")?" : f += "(?:" + g + "(" + m + "))?" : f += g + "(" + m + ")"; - } -} return d ? (s || (f += "(?:" + u + ")?"), f += "$" === l ? "$" : "(?=" + l + ")") : (s || (f += "(?:" + u + "(?=" + l + "))?"), p || (f += "(?=" + u + "|" + l + ")")), new RegExp("^" + f, a(o)); }(function (e, a) { for (var s, d = [], u = 0, c = 0, l = "", f = a && a.delimiter || t, p = a && a.delimiters || n, h = !1; null !== (s = r.exec(e));) { - var v = s[0], g = s[1], m = s.index; - if (l += e.slice(c, m), c = m + v.length, g) - l += g[1], h = !0; - else { - var w = "", x = e[c], E = s[2], O = s[3], y = s[4], A = s[5]; - if (!h && l.length) { - var R = l.length - 1; - p.indexOf(l[R]) > -1 && (w = l[R], l = l.slice(0, R)); - } - l && (d.push(l), l = "", h = !1); - var $ = "" !== w && void 0 !== x && x !== w, _ = "+" === A || "*" === A, S = "?" === A || "*" === A, D = w || f, L = O || y; - d.push({ name: E || u++, prefix: w, delimiter: D, optional: S, repeat: _, partial: $, pattern: L ? o(L) : "[^" + i(D) + "]+?" }); - } -} return (l || c < e.length) && d.push(l + e.substr(c)), d; }(e, d), s, d); }(e, d, u); } var d = {}; var u = 0; var c = !("undefined" == typeof window || !window.document || !window.document.createElement); e.matchPath = function (e, t) { - if (t === void 0) { t = {}; } - "string" == typeof t && (t = { path: t }); - var _a = t.path, n = _a === void 0 ? "/" : _a, _b = t.exact, r = _b === void 0 ? !1 : _b, _c = t.strict, i = _c === void 0 ? !1 : _c, _d = function (e, t) { var n = "" + t.end + t.strict, r = d[n] || (d[n] = {}), i = JSON.stringify(e); if (r[i]) - return r[i]; var o = [], a = { re: s(e, o, t), keys: o }; return u < 1e4 && (r[i] = a, u += 1), a; }(n, { end: r, strict: i }), o = _d.re, a = _d.keys, c = o.exec(e); - if (!c) - return null; - var l = c[0], f = c.slice(1), p = e === l; - return r && !p ? null : { path: n, url: "/" === n && "" === l ? "/" : l, isExact: p, params: a.reduce(function (e, t, n) { return e[t.name] = f[n], e; }, {}) }; -}, e.storageAvailable = (function (e) { try { - var t = window[e], n = "__storage_test__"; - return t.setItem(n, n), t.removeItem(n), !0; -} -catch (e) { - return e instanceof DOMException && (22 === e.code || 1014 === e.code || "QuotaExceededError" === e.name || "NS_ERROR_DOM_QUOTA_REACHED" === e.name) && 0 !== t.length; -} }), e.canUseDOM = c, e.addEventListener = (function (e, t, n) { return e.addEventListener ? e.addEventListener(t, n, !1) : e.attachEvent("on" + t, n); }), e.removeEventListener = (function (e, t, n) { return e.removeEventListener ? e.removeEventListener(t, n, !1) : e.detachEvent("on" + t, n); }), e.getConfirmation = (function (e, t) { return t(window.confirm(e)); }), e.supportsHistory = (function () { var e = window.navigator.userAgent; return (-1 === e.indexOf("Android 2.") && -1 === e.indexOf("Android 4.0") || -1 === e.indexOf("Mobile Safari") || -1 !== e.indexOf("Chrome") || -1 !== e.indexOf("Windows Phone")) && window.history && "pushState" in window.history; }), e.supportsPopStateOnHashChange = (function () { return -1 === window.navigator.userAgent.indexOf("Trident"); }), e.isExtraneousPopstateEvent = (function (e) { return void 0 === e.state && -1 === navigator.userAgent.indexOf("CriOS"); }), e.supportsGoWithoutReloadUsingHash = (function () { return -1 === window.navigator.userAgent.indexOf("Firefox"); }), e.isModifiedEvent = (function (e) { return e.metaKey || e.altKey || e.ctrlKey || e.shiftKey; }); }); diff --git a/docs/build/docssite/chunk-4440b782.es5.js b/docs/build/docssite/chunk-4440b782.es5.js new file mode 100644 index 00000000..bc06e7ec --- /dev/null +++ b/docs/build/docssite/chunk-4440b782.es5.js @@ -0,0 +1,37 @@ +/*! Built with http://stenciljs.com */ +DocsSite.loadBundle("chunk-4440b782.js", ["exports"], function (e) { window.DocsSite.h; var t = "/", n = "./", r = new RegExp(["(\\\\.)", "(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"), "g"); function i(e) { return e.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); } function a(e) { return e.replace(/([=!:$/()])/g, "\\$1"); } function u(e) { return e && e.sensitive ? "" : "i"; } function l(e, o, c) { return e instanceof RegExp ? function (e, t) { if (!t) + return e; var n = e.source.match(/\((?!\?)/g); if (n) + for (var r = 0; r < n.length; r++) + t.push({ name: r, prefix: null, delimiter: null, optional: !1, repeat: !1, partial: !1, pattern: null }); return e; }(e, o) : Array.isArray(e) ? function (e, t, n) { for (var r = [], i = 0; i < e.length; i++) + r.push(l(e[i], t, n).source); return new RegExp("(?:" + r.join("|") + ")", u(n)); }(e, o, c) : function (e, l, o) { return function (e, r, a) { for (var l = (a = a || {}).strict, o = !1 !== a.end, c = i(a.delimiter || t), s = a.delimiters || n, p = [].concat(a.endsWith || []).map(i).concat("$").join("|"), f = "", h = !1, d = 0; d < e.length; d++) { + var g = e[d]; + if ("string" == typeof g) + f += i(g), h = d === e.length - 1 && s.indexOf(g[g.length - 1]) > -1; + else { + var x = i(g.prefix), v = g.repeat ? "(?:" + g.pattern + ")(?:" + x + "(?:" + g.pattern + "))*" : g.pattern; + r && r.push(g), g.optional ? g.partial ? f += x + "(" + v + ")?" : f += "(?:" + x + "(" + v + "))?" : f += x + "(" + v + ")"; + } +} return o ? (l || (f += "(?:" + c + ")?"), f += "$" === p ? "$" : "(?=" + p + ")") : (l || (f += "(?:" + c + "(?=" + p + "))?"), h || (f += "(?=" + c + "|" + p + ")")), new RegExp("^" + f, u(a)); }(function (e, u) { for (var l, o = [], c = 0, s = 0, p = "", f = u && u.delimiter || t, h = u && u.delimiters || n, d = !1; null !== (l = r.exec(e));) { + var g = l[0], x = l[1], v = l.index; + if (p += e.slice(s, v), s = v + g.length, x) + p += x[1], d = !0; + else { + var m = "", $ = e[s], y = l[2], w = l[3], E = l[4], R = l[5]; + if (!d && p.length) { + var j = p.length - 1; + h.indexOf(p[j]) > -1 && (m = p[j], p = p.slice(0, j)); + } + p && (o.push(p), p = "", d = !1); + var O = "" !== m && void 0 !== $ && $ !== m, S = "+" === R || "*" === R, b = "?" === R || "*" === R, k = m || f, A = w || E; + o.push({ name: y || c++, prefix: m, delimiter: k, optional: b, repeat: S, partial: O, pattern: A ? a(A) : "[^" + i(k) + "]+?" }); + } +} return (p || s < e.length) && o.push(p + e.substr(s)), o; }(e, o), l, o); }(e, o, c); } var o = {}; var c = 0; e.matchPath = function (e, t) { + if (t === void 0) { t = {}; } + "string" == typeof t && (t = { path: t }); + var _a = t.path, n = _a === void 0 ? "/" : _a, _b = t.exact, r = _b === void 0 ? !1 : _b, _c = t.strict, i = _c === void 0 ? !1 : _c, _d = function (e, t) { var n = "" + t.end + t.strict, r = o[n] || (o[n] = {}), i = JSON.stringify(e); if (r[i]) + return r[i]; var a = [], u = { re: l(e, a, t), keys: a }; return c < 1e4 && (r[i] = u, c += 1), u; }(n, { end: r, strict: i }), a = _d.re, u = _d.keys, s = a.exec(e); + if (!s) + return null; + var p = s[0], f = s.slice(1), h = e === p; + return r && !h ? null : { path: n, url: "/" === n && "" === p ? "/" : p, isExact: h, params: u.reduce(function (e, t, n) { return e[t.name] = f[n], e; }, {}) }; +}; }); diff --git a/docs/build/docssite/chunk-f6f1d593.js b/docs/build/docssite/chunk-f6f1d593.js new file mode 100644 index 00000000..a3ee5b48 --- /dev/null +++ b/docs/build/docssite/chunk-f6f1d593.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +const{h:e}=window.DocsSite;var t="/",n="./",r=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e.replace(/([=!:$/()])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function l(e,o,s){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r-1;else{var x=i(d.prefix),v=d.repeat?"(?:"+d.pattern+")(?:"+x+"(?:"+d.pattern+"))*":d.pattern;r&&r.push(d),d.optional?d.partial?f+=x+"("+v+")?":f+="(?:"+x+"("+v+"))?":f+=x+"("+v+")"}}return o?(l||(f+="(?:"+s+")?"),f+="$"===p?"$":"(?="+p+")"):(l||(f+="(?:"+s+"(?="+p+"))?"),h||(f+="(?="+s+"|"+p+")")),new RegExp("^"+f,u(a))}(function(e,u){for(var l,o=[],s=0,c=0,p="",f=u&&u.delimiter||t,h=u&&u.delimiters||n,g=!1;null!==(l=r.exec(e));){var d=l[0],x=l[1],v=l.index;if(p+=e.slice(c,v),c=v+d.length,x)p+=x[1],g=!0;else{var m="",$=e[c],y=l[2],w=l[3],E=l[4],R=l[5];if(!g&&p.length){var j=p.length-1;h.indexOf(p[j])>-1&&(m=p[j],p=p.slice(0,j))}p&&(o.push(p),p="",g=!1);var O=""!==m&&void 0!==$&&$!==m,k="+"===R||"*"===R,A="?"===R||"*"===R,S=m||f,b=w||E;o.push({name:y||s++,prefix:m,delimiter:S,optional:A,repeat:k,partial:O,pattern:b?a(b):"[^"+i(S)+"]+?"})}}return(p||c(e[t.name]=h[n],e),{})}}export{p as a}; \ No newline at end of file diff --git a/docs/build/docssite/docssite.registry.json b/docs/build/docssite/docssite.registry.json index 33dd3c09..0a283f48 100644 --- a/docs/build/docssite/docssite.registry.json +++ b/docs/build/docssite/docssite.registry.json @@ -7,10 +7,10 @@ "corePolyfilled": "docssite.lc7q1hhy.js", "components": { "footer-bar": { - "$": "vtu3zyh5" + "$": "xxdq8tou" }, "header-bar": { - "$": "82updblm" + "$": "f5jhpa2x" }, "icon-list": { "$": "vscrqboi" @@ -19,7 +19,7 @@ "$": "ms1l1l4a" }, "ionicons-site": { - "$": "82updblm" + "$": "f5jhpa2x" }, "landing-page": { "$": "vscrqboi" @@ -28,13 +28,13 @@ "$": "d83fvjds" }, "stencil-route": { - "$": "82updblm" + "$": "f5jhpa2x" }, "stencil-route-link": { - "$": "gkczrv46" + "$": "5szlxwny" }, "stencil-router": { - "$": "82updblm" + "$": "f5jhpa2x" }, "toast-bar": { "$": "vscrqboi" diff --git a/docs/build/docssite/82updblm.es5.js b/docs/build/docssite/f5jhpa2x.es5.js similarity index 62% rename from docs/build/docssite/82updblm.es5.js rename to docs/build/docssite/f5jhpa2x.es5.js index 33bf3aca..919e1852 100644 --- a/docs/build/docssite/82updblm.es5.js +++ b/docs/build/docssite/f5jhpa2x.es5.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -DocsSite.loadBundle("82updblm",["exports","./chunk-438b3614.js"],function(t,e){var n=window.DocsSite.h,o=function(){function t(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.handleResize=function(){var t=this;requestAnimationFrame(function(){window.innerWidth>768&&(t.el.querySelector("nav").style.display="",t.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),t.isMobileMenuShown=!1)})},t.prototype.checkScroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30},t.prototype.showNav=function(){if(!this.isMobileMenuShown){this.isMobileMenuShown=!0;var t=this.el.querySelector("nav");t.style.display="flex",setTimeout(function(){t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}},t.prototype.hideNav=function(){if(this.isMobileMenuShown){this.isMobileMenuShown=!1;var t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(function(){t.style.display="none",document.body.classList.remove("no-scroll")},300)}},t.prototype.render=function(){var t=this;return n("header",{class:(this.isSearchVisible?"visible-search":"")+" "+(this.isSticky?"overlay":"")},n("div",{class:"container"},n("div",{class:"logo"},n("stencil-route-link",{url:"/",exact:!0},n("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},n("g",{id:"icon","fill-rule":"nonzero"},n("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),n("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),n("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),n("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),n("span",{class:"version"},this.version)),n("icon-search",{query:this.query,size:"small"}),n("nav",null,n("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),n("stencil-route-link",{class:"nav__item",url:"/usage",onClick:function(){t.toggleHeaderSearch.emit("hide"),t.hideNav()}},"Usage"),n("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",n("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{transform:"translate(0,1)"},n("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),n("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),n("span",{class:"close",onClick:this.hideNav.bind(this)},n("i",{class:"ion ion-md-close"}))),n("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},n("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",null,n("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),n("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),n("span",{class:"more",onClick:this.showNav.bind(this)},n("i",{class:"ion ion-md-more"}))))},Object.defineProperty(t,"is",{get:function(){return"header-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"events",{get:function(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"listeners",{get:function(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"},enumerable:!0,configurable:!0}),t}(),i=function(t,e){var o,i=t.children,r=t.scrollTopOffset;o=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();var a=i.map(function(t,n){var i=e.getAttributes(t);return e.replaceAttributes(t,Object.assign({},i,{scrollTopOffset:r,group:o,groupIndex:n})),t});return n("div",null,a)},r=function(){function t(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.searchHandler=function(t){this.query=t.detail},t.prototype.toggleHandler=function(t){this.isHeaderSearchVisible="show"===t.detail},t.prototype.componentWillLoad=function(){var t=this;return fetch("/data.json").then(function(e){e.json().then(function(e){t.data=e,t.data.icons=t.data.icons.map(function(t){return t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t})})})},t.prototype.checkScroll=function(){var t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(e){var n=t.querySelector("input"),o=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"},enumerable:!0,configurable:!0}),t}(),a=function(){function t(){this.unsubscribe=function(){},this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.url,exact:this.exact,strict:!0})},t.prototype.componentWillLoad=function(){var t=this,e=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(n){return t.match=n,new Promise(function(t){e.componentDidRerender=t})},groupId:this.group,groupIndex:this.groupIndex})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.componentDidUpdate=function(){var t=this;if(this.componentDidRerender){var e=this.el.firstElementChild;e&&e.componentOnReady?e.componentOnReady().then(function(){t.componentDidRerender&&t.componentDidRerender(),t.componentDidRerender=void 0,t.activeInGroup=!!t.match,t.scrollOnNextRender=t.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)},t.prototype.scrollTo=function(){var t=this,e=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&e&&!this.isServer)return"POP"===e.action&&null!=e.location.scrollPosition?this.queue.write(function(){window.scrollTo(e.location.scrollPosition[0],e.location.scrollPosition[1])}):this.queue.read(function(){return t.queue.write(function(){window.scrollTo(0,t.scrollTopOffset)})})},t.prototype.hostData=function(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}},t.prototype.render=function(){if(!this.activeRouter||!this.match)return null;var t=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},t,{component:this.component}));if(this.component){var e=this.component;return n(e,Object.assign({},t))}},Object.defineProperty(t,"is",{get:function(){return"stencil-route"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}},enumerable:!0,configurable:!0}),t}();function s(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function c(t,e){return s(t,e)?t.substr(e.length):t}function l(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function u(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function p(t){var e=t.pathname,n=t.search,o=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(i+="#"===o.charAt(0)?o:"#"+o),i}function d(t){return"/"===t.charAt(0)}function f(t,e){for(var n=e,o=n+1,i=t.length;o=0;u--){var h=i[u];"."===h?f(i,u):".."===h?(f(i,u),l++):l&&(f(i,u),l--)}if(!s)for(;l--;l)i.unshift("..");!s||""===i[0]||i[0]&&d(i[0])||i.unshift("");var p=i.join("/");return n&&"/"!==p.substr(-1)&&(p+="/"),p}(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i.query=(r=i.search)?(/^[?#]/.test(r)?r.slice(1):r).split("&").reduce(function(t,e){var n=e.split("="),o=n[0],i=n[1];return t[o]=i?decodeURIComponent(i.replace(/\+/g," ")):"",t},{}):{},i}function m(t){for(var e=[],n=1;n=0?e:0)+"#"+t)},P={browser:function(t){void 0===t&&(t={}),m(e.canUseDOM,"Browser history needs a DOM");var n=window.history,o=e.supportsHistory(),i=!e.supportsPopStateOnHashChange(),r=b(),a=t.forceRefresh,h=void 0!==a&&a,d=t.getUserConfirmation,f=void 0===d?e.getConfirmation:d,S=t.keyLength,x=void 0===S?6:S,O=t.basename?l(u(t.basename)):"",P=function(t){var e=(t=t||{}).key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return v(!O||s(i,O),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+O+'".'),O&&(i=c(i,O)),g(i,n,e)},R=function(){return Math.random().toString(36).substr(2,x)},L=y(),k=function(t){r.capture(N.location.key),Object.assign(N,t),N.location.scrollPosition=r.get(N.location.key),N.length=n.length,L.notifyListeners(N.location,N.action)},A=function(t){e.isExtraneousPopstateEvent(t)||j(P(t.state))},T=function(){j(P(w()))},H=!1,j=function(t){H?(H=!1,k()):L.confirmTransitionTo(t,"POP",f,function(e){e?k({action:"POP",location:t}):E(t)})},E=function(t){var e=N.location,n=q.indexOf(e.key);-1===n&&(n=0);var o=q.indexOf(t.key);-1===o&&(o=0);var i=n-o;i&&(H=!0,C(i))},M=P(w()),q=[M.key],I=function(t){return O+p(t)},C=function(t){n.go(t)},U=0,D=function(t){1===(U+=t)?(e.addEventListener(window,"popstate",A),i&&e.addEventListener(window,"hashchange",T)):0===U&&(e.removeEventListener(window,"popstate",A),i&&e.removeEventListener(window,"hashchange",T))},B=!1,N={length:n.length,action:"POP",location:M,createHref:I,push:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,R(),N.location);L.confirmTransitionTo(i,"PUSH",f,function(t){if(t){var e=I(i),r=i.key,a=i.state;if(o)if(n.pushState({key:r,state:a},null,e),h)window.location.href=e;else{var s=q.indexOf(N.location.key),c=q.slice(0,-1===s?0:s+1);c.push(i.key),q=c,k({action:"PUSH",location:i})}else v(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=e}})},replace:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,R(),N.location);L.confirmTransitionTo(i,"REPLACE",f,function(t){if(t){var e=I(i),r=i.key,a=i.state;if(o)if(n.replaceState({key:r,state:a},null,e),h)window.location.replace(e);else{var s=q.indexOf(N.location.key);-1!==s&&(q[s]=i.key),k({action:"REPLACE",location:i})}else v(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(e)}})},go:C,goBack:function(){return C(-1)},goForward:function(){return C(1)},block:function(t){void 0===t&&(t="");var e=L.setPrompt(t);return B||(D(1),B=!0),function(){return B&&(B=!1,D(-1)),e()}},listen:function(t){var e=L.appendListener(t);return D(1),function(){D(-1),e()}}};return N},hash:function(t){void 0===t&&(t={}),m(e.canUseDOM,"Hash history needs a DOM");var n=window.history,o=e.supportsGoWithoutReloadUsingHash(),i=t.getUserConfirmation,r=void 0===i?e.getConfirmation:i,a=t.hashType,h=void 0===a?"slash":a,d=t.basename?l(u(t.basename)):"",f=S[h],b=f.encodePath,w=f.decodePath,P=function(){var t=w(x());return v(!d||s(t,d),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+d+'".'),d&&(t=c(t,d)),g(t)},R=y(),L=function(t){Object.assign(N,t),N.length=n.length,R.notifyListeners(N.location,N.action)},k=!1,A=null,T=function(){var t,e,n=x(),o=b(n);if(n!==o)O(o);else{var i=P(),r=N.location;if(!k&&(e=i,(t=r).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});var o=typeof e;if(o!==typeof n)return!1;if("object"===o){var i=e.valueOf(),r=n.valueOf();if(i!==e||r!==n)return t(i,r);var a=Object.keys(e),s=Object.keys(n);return a.length===s.length&&a.every(function(o){return t(e[o],n[o])})}return!1}(t.state,e.state)))return;if(A===p(i))return;A=null,H(i)}},H=function(t){k?(k=!1,L()):R.confirmTransitionTo(t,"POP",r,function(e){e?L({action:"POP",location:t}):j(t)})},j=function(t){var e=N.location,n=I.lastIndexOf(p(e));-1===n&&(n=0);var o=I.lastIndexOf(p(t));-1===o&&(o=0);var i=n-o;i&&(k=!0,C(i))},E=x(),M=b(E);E!==M&&O(M);var q=P(),I=[p(q)],C=function(t){v(o,"Hash history go(n) causes a full page reload in this browser"),n.go(t)},U=0,D=function(t){1===(U+=t)?e.addEventListener(window,"hashchange",T):0===U&&e.removeEventListener(window,"hashchange",T)},B=!1,N={length:n.length,action:"POP",location:q,createHref:function(t){return"#"+b(d+p(t))},push:function(t,e){v(void 0===e,"Hash history cannot push state; it is ignored");var n=g(t,void 0,void 0,N.location);R.confirmTransitionTo(n,"PUSH",r,function(t){if(t){var e=p(n),o=b(d+e);if(x()!==o){A=e,function(t){window.location.hash=t}(o);var i=I.lastIndexOf(p(N.location)),r=I.slice(0,-1===i?0:i+1);r.push(e),I=r,L({action:"PUSH",location:n})}else v(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),L()}})},replace:function(t,e){v(void 0===e,"Hash history cannot replace state; it is ignored");var n=g(t,void 0,void 0,N.location);R.confirmTransitionTo(n,"REPLACE",r,function(t){if(t){var e=p(n),o=b(d+e);x()!==o&&(A=e,O(o));var i=I.indexOf(p(N.location));-1!==i&&(I[i]=e),L({action:"REPLACE",location:n})}})},go:C,goBack:function(){return C(-1)},goForward:function(){return C(1)},block:function(t){void 0===t&&(t="");var e=R.setPrompt(t);return B||(D(1),B=!0),function(){return B&&(B=!1,D(-1)),e()}},listen:function(t){var e=R.appendListener(t);return D(1),function(){D(-1),e()}}};return N}},R=function(){function t(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=function(){},this.match=null}return t.prototype.titleSuffixChanged=function(t){this.activeRouter.set({titleSuffix:t})},t.prototype.computeMatch=function(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}},t.prototype.componentWillLoad=function(){var t=this,e=P[this.historyType]();e.listen(function(e){t.activeRouter.set({location:t.getLocation(e)})}),this.activeRouter.set({location:this.getLocation(e.location),titleSuffix:this.titleSuffix,root:this.root,history:e}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidLoad=function(){this.activeRouter.dispatch()},t.prototype.getLocation=function(t){var e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.render=function(){return n("slot",null)},Object.defineProperty(t,"is",{get:function(){return"stencil-router"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}},enumerable:!0,configurable:!0}),t}();t.HeaderBar=o,t.IoniconsSite=r,t.StencilRoute=a,t.StencilRouter=R,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file +DocsSite.loadBundle("f5jhpa2x",["exports","./chunk-4440b782.js"],function(t,e){var n=window.DocsSite.h,o=function(){function t(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.handleResize=function(){var t=this;requestAnimationFrame(function(){window.innerWidth>768&&(t.el.querySelector("nav").style.display="",t.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),t.isMobileMenuShown=!1)})},t.prototype.checkScroll=function(){var t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30},t.prototype.showNav=function(){if(!this.isMobileMenuShown){this.isMobileMenuShown=!0;var t=this.el.querySelector("nav");t.style.display="flex",setTimeout(function(){t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}},t.prototype.hideNav=function(){if(this.isMobileMenuShown){this.isMobileMenuShown=!1;var t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(function(){t.style.display="none",document.body.classList.remove("no-scroll")},300)}},t.prototype.render=function(){var t=this;return n("header",{class:(this.isSearchVisible?"visible-search":"")+" "+(this.isSticky?"overlay":"")},n("div",{class:"container"},n("div",{class:"logo"},n("stencil-route-link",{url:"/",exact:!0},n("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},n("g",{id:"icon","fill-rule":"nonzero"},n("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),n("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),n("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),n("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),n("span",{class:"version"},this.version)),n("icon-search",{query:this.query,size:"small"}),n("nav",null,n("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),n("stencil-route-link",{class:"nav__item",url:"/usage",onClick:function(){t.toggleHeaderSearch.emit("hide"),t.hideNav()}},"Usage"),n("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",n("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",{transform:"translate(0,1)"},n("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),n("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),n("span",{class:"close",onClick:this.hideNav.bind(this)},n("i",{class:"ion ion-md-close"}))),n("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},n("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},n("g",null,n("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),n("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),n("span",{class:"more",onClick:this.showNav.bind(this)},n("i",{class:"ion ion-md-more"}))))},Object.defineProperty(t,"is",{get:function(){return"header-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}},enumerable:!0,configurable:!0}),Object.defineProperty(t,"events",{get:function(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"listeners",{get:function(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(t,"style",{get:function(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"},enumerable:!0,configurable:!0}),t}(),i=function(t,e){var o,i=t.children,r=t.scrollTopOffset;o=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();var a=i.map(function(t,n){var i=e.getAttributes(t);return e.replaceAttributes(t,Object.assign({},i,{scrollTopOffset:r,group:o,groupIndex:n})),t});return n("div",null,a)},r=function(){function t(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}return t.prototype.handleScroll=function(){requestAnimationFrame(this.checkScroll.bind(this))},t.prototype.searchHandler=function(t){this.query=t.detail},t.prototype.toggleHandler=function(t){this.isHeaderSearchVisible="show"===t.detail},t.prototype.componentWillLoad=function(){var t=this;return fetch("/data.json").then(function(e){e.json().then(function(e){t.data=e,t.data.icons=t.data.icons.map(function(t){return t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t})})})},t.prototype.checkScroll=function(){var t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(e){var n=t.querySelector("input"),o=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"},enumerable:!0,configurable:!0}),t}(),a=function(){function t(){this.unsubscribe=function(){},this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.url,exact:this.exact,strict:!0})},t.prototype.componentWillLoad=function(){var t=this,e=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(n){return t.match=n,new Promise(function(t){e.componentDidRerender=t})},groupId:this.group,groupIndex:this.groupIndex})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.componentDidUpdate=function(){var t=this;if(this.componentDidRerender){var e=this.el.firstElementChild;e&&e.componentOnReady?e.componentOnReady().then(function(){t.componentDidRerender&&t.componentDidRerender(),t.componentDidRerender=void 0,t.activeInGroup=!!t.match,t.scrollOnNextRender=t.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)},t.prototype.scrollTo=function(){var t=this,e=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&e&&!this.isServer)return"POP"===e.action&&null!=e.location.scrollPosition?this.queue.write(function(){window.scrollTo(e.location.scrollPosition[0],e.location.scrollPosition[1])}):this.queue.read(function(){return t.queue.write(function(){window.scrollTo(0,t.scrollTopOffset)})})},t.prototype.hostData=function(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}},t.prototype.render=function(){if(!this.activeRouter||!this.match)return null;var t=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},t,{component:this.component}));if(this.component){var e=this.component;return n(e,Object.assign({},t))}},Object.defineProperty(t,"is",{get:function(){return"stencil-route"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}},enumerable:!0,configurable:!0}),t}();function s(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function c(t,e){return s(t,e)?t.substr(e.length):t}function u(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function l(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function d(t){var e=t.pathname,n=t.search,o=t.hash,i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:"?"+n),o&&"#"!==o&&(i+="#"===o.charAt(0)?o:"#"+o),i}function f(t){return"/"===t.charAt(0)}function p(t,e){for(var n=e,o=n+1,i=t.length;o=0;l--){var h=i[l];"."===h?p(i,l):".."===h?(p(i,l),u++):u&&(p(i,l),u--)}if(!s)for(;u--;u)i.unshift("..");!s||""===i[0]||i[0]&&f(i[0])||i.unshift("");var d=i.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d}(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i.query=(r=i.search)?(/^[?#]/.test(r)?r.slice(1):r).split("&").reduce(function(t,e){var n=e.split("="),o=n[0],i=n[1];return t[o]=i?decodeURIComponent(i.replace(/\+/g," ")):"",t},{}):{},i}function m(t){for(var e=[],n=1;n=0?e:0)+"#"+t)},T={browser:function(t){void 0===t&&(t={}),m(b,"Browser history needs a DOM");var e,n=window.history,o=(-1===(e=window.navigator.userAgent).indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),r=P(),a=t.forceRefresh,h=void 0!==a&&a,f=t.getUserConfirmation,p=void 0===f?x:f,O=t.keyLength,L=void 0===O?6:O,k=t.basename?u(l(t.basename)):"",A=function(t){var e=(t=t||{}).key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return v(!k||s(i,k),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+i+'" to begin with "'+k+'".'),k&&(i=c(i,k)),g(i,n,e)},T=function(){return Math.random().toString(36).substr(2,L)},E=y(),j=function(t){r.capture(F.location.key),Object.assign(F,t),F.location.scrollPosition=r.get(F.location.key),F.length=n.length,E.notifyListeners(F.location,F.action)},H=function(t){(function(t){return void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS")})(t)||I(A(t.state))},M=function(){I(A(R()))},q=!1,I=function(t){q?(q=!1,j()):E.confirmTransitionTo(t,"POP",p,function(e){e?j({action:"POP",location:t}):C(t)})},C=function(t){var e=F.location,n=_.indexOf(e.key);-1===n&&(n=0);var o=_.indexOf(t.key);-1===o&&(o=0);var i=n-o;i&&(q=!0,B(i))},D=A(R()),_=[D.key],U=function(t){return k+d(t)},B=function(t){n.go(t)},N=0,V=function(t){1===(N+=t)?(w(window,"popstate",H),i&&w(window,"hashchange",M)):0===N&&(S(window,"popstate",H),i&&S(window,"hashchange",M))},G=!1,F={length:n.length,action:"POP",location:D,createHref:U,push:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,T(),F.location);E.confirmTransitionTo(i,"PUSH",p,function(t){if(t){var e=U(i),r=i.key,a=i.state;if(o)if(n.pushState({key:r,state:a},null,e),h)window.location.href=e;else{var s=_.indexOf(F.location.key),c=_.slice(0,-1===s?0:s+1);c.push(i.key),_=c,j({action:"PUSH",location:i})}else v(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=e}})},replace:function(t,e){v(!("object"==typeof t&&void 0!==t.state&&void 0!==e),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i=g(t,e,T(),F.location);E.confirmTransitionTo(i,"REPLACE",p,function(t){if(t){var e=U(i),r=i.key,a=i.state;if(o)if(n.replaceState({key:r,state:a},null,e),h)window.location.replace(e);else{var s=_.indexOf(F.location.key);-1!==s&&(_[s]=i.key),j({action:"REPLACE",location:i})}else v(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(e)}})},go:B,goBack:function(){return B(-1)},goForward:function(){return B(1)},block:function(t){void 0===t&&(t="");var e=E.setPrompt(t);return G||(V(1),G=!0),function(){return G&&(G=!1,V(-1)),e()}},listen:function(t){var e=E.appendListener(t);return V(1),function(){V(-1),e()}}};return F},hash:function(t){void 0===t&&(t={}),m(b,"Hash history needs a DOM");var e=window.history,n=-1===window.navigator.userAgent.indexOf("Firefox"),o=t.getUserConfirmation,i=void 0===o?x:o,r=t.hashType,a=void 0===r?"slash":r,h=t.basename?u(l(t.basename)):"",f=L[a],p=f.encodePath,O=f.decodePath,P=function(){var t=O(k());return v(!h||s(t,h),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+h+'".'),h&&(t=c(t,h)),g(t)},R=y(),T=function(t){Object.assign(G,t),G.length=e.length,R.notifyListeners(G.location,G.action)},E=!1,j=null,H=function(){var t,e,n=k(),o=p(n);if(n!==o)A(o);else{var i=P(),r=G.location;if(!E&&(e=i,(t=r).pathname===e.pathname&&t.search===e.search&&t.hash===e.hash&&t.key===e.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});var o=typeof e;if(o!==typeof n)return!1;if("object"===o){var i=e.valueOf(),r=n.valueOf();if(i!==e||r!==n)return t(i,r);var a=Object.keys(e),s=Object.keys(n);return a.length===s.length&&a.every(function(o){return t(e[o],n[o])})}return!1}(t.state,e.state)))return;if(j===d(i))return;j=null,M(i)}},M=function(t){E?(E=!1,T()):R.confirmTransitionTo(t,"POP",i,function(e){e?T({action:"POP",location:t}):q(t)})},q=function(t){var e=G.location,n=_.lastIndexOf(d(e));-1===n&&(n=0);var o=_.lastIndexOf(d(t));-1===o&&(o=0);var i=n-o;i&&(E=!0,U(i))},I=k(),C=p(I);I!==C&&A(C);var D=P(),_=[d(D)],U=function(t){v(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)},B=0,N=function(t){1===(B+=t)?w(window,"hashchange",H):0===B&&S(window,"hashchange",H)},V=!1,G={length:e.length,action:"POP",location:D,createHref:function(t){return"#"+p(h+d(t))},push:function(t,e){v(void 0===e,"Hash history cannot push state; it is ignored");var n=g(t,void 0,void 0,G.location);R.confirmTransitionTo(n,"PUSH",i,function(t){if(t){var e=d(n),o=p(h+e);if(k()!==o){j=e,function(t){window.location.hash=t}(o);var i=_.lastIndexOf(d(G.location)),r=_.slice(0,-1===i?0:i+1);r.push(e),_=r,T({action:"PUSH",location:n})}else v(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),T()}})},replace:function(t,e){v(void 0===e,"Hash history cannot replace state; it is ignored");var n=g(t,void 0,void 0,G.location);R.confirmTransitionTo(n,"REPLACE",i,function(t){if(t){var e=d(n),o=p(h+e);k()!==o&&(j=e,A(o));var i=_.indexOf(d(G.location));-1!==i&&(_[i]=e),T({action:"REPLACE",location:n})}})},go:U,goBack:function(){return U(-1)},goForward:function(){return U(1)},block:function(t){void 0===t&&(t="");var e=R.setPrompt(t);return V||(N(1),V=!0),function(){return V&&(V=!1,N(-1)),e()}},listen:function(t){var e=R.appendListener(t);return N(1),function(){N(-1),e()}}};return G}},E=function(){function t(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=function(){},this.match=null}return t.prototype.titleSuffixChanged=function(t){this.activeRouter.set({titleSuffix:t})},t.prototype.computeMatch=function(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}},t.prototype.componentWillLoad=function(){var t=this,e=T[this.historyType]();e.listen(function(e){t.activeRouter.set({location:t.getLocation(e)})}),this.activeRouter.set({location:this.getLocation(e.location),titleSuffix:this.titleSuffix,root:this.root,history:e}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidLoad=function(){this.activeRouter.dispatch()},t.prototype.getLocation=function(t){var e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.render=function(){return n("slot",null)},Object.defineProperty(t,"is",{get:function(){return"stencil-router"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}},enumerable:!0,configurable:!0}),t}();t.HeaderBar=o,t.IoniconsSite=r,t.StencilRoute=a,t.StencilRouter=E,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/f5jhpa2x.js b/docs/build/docssite/f5jhpa2x.js new file mode 100644 index 00000000..db7324be --- /dev/null +++ b/docs/build/docssite/f5jhpa2x.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +const{h:t}=window.DocsSite;import{a as e}from"./chunk-f6f1d593.js";class n{constructor(){this.isSticky=!1,this.query="",this.isSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}handleResize(){requestAnimationFrame(()=>{window.innerWidth>768&&(this.el.querySelector("nav").style.display="",this.el.classList.remove("show-mobile-menu"),document.body.classList.remove("no-scroll"),this.isMobileMenuShown=!1)})}checkScroll(){const t=document.documentElement.scrollTop||document.body.scrollTop;this.isSticky=t>30}showNav(){if(this.isMobileMenuShown)return;this.isMobileMenuShown=!0;const t=this.el.querySelector("nav");t.style.display="flex",setTimeout(()=>{t.classList.add("show-mobile-menu"),document.body.classList.add("no-scroll")},1)}hideNav(){if(!this.isMobileMenuShown)return;this.isMobileMenuShown=!1;const t=this.el.querySelector("nav");t.classList.remove("show-mobile-menu"),setTimeout(()=>{t.style.display="none",document.body.classList.remove("no-scroll")},300)}render(){return t("header",{class:`${this.isSearchVisible?"visible-search":""} ${this.isSticky?"overlay":""}`},t("div",{class:"container"},t("div",{class:"logo"},t("stencil-route-link",{url:"/",exact:!0},t("svg",{width:"32px",height:"32px",viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},t("g",{id:"icon","fill-rule":"nonzero"},t("circle",{id:"circle",fill:"#EAEEF5",cx:"16",cy:"16",r:"16"}),t("circle",{id:"circle_copy",fill:"#B4C1D8",cx:"16",cy:"16",r:"11"}),t("circle",{id:"circle_copy_2",fill:"#647AA1",cx:"16",cy:"16",r:"6"}),t("circle",{id:"circle_copy_3",fill:"#647AA1",cx:"23.5",cy:"8.5",r:"2"})))),"Ionicons"),t("span",{class:"version"},this.version)),t("icon-search",{query:this.query,size:"small"}),t("nav",null,t("stencil-route-link",{class:"nav__item",url:"/",exact:!0,onClick:this.hideNav.bind(this)},"Icons"),t("stencil-route-link",{class:"nav__item",url:"/usage",onClick:()=>{this.toggleHeaderSearch.emit("hide"),this.hideNav()}},"Usage"),t("a",{class:"nav__item",href:"https://github.com/ionic-team/ionicons"},"Github",t("svg",{width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",{transform:"translate(0,1)"},t("rect",{id:"bg",fill:"#e3e8f1",x:"0",y:"2",width:"9",height:"9",rx:"1.5"}),t("path",{d:"M9.18198052,1 L6.5,1 L6.5,0 L11,0 L11,1 L11,4.5 L10,4.5 L10,1.59619408 L4.02512627,7.57106781 L3.31801948,6.86396103 L9.18198052,1 Z",id:"arrow",fill:"#A4AEC3"})))),t("span",{class:"close",onClick:this.hideNav.bind(this)},t("i",{class:"ion ion-md-close"}))),t("a",{class:"btn sm-hide",href:"/ionicons.designerpack.zip"},t("svg",{width:"9px",height:"11px",viewBox:"0 0 9 11",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},t("g",null,t("rect",{id:"bg",fill:"#BAC3D1",x:"0",y:"9",width:"9",height:"2",rx:"1"}),t("path",{d:"M5,6.26776695 L7.26776695,4 L7.97487373,4.70710678 L4.70710678,7.97487373 L4.48743687,7.75520382 L4.26776695,7.97487373 L1,4.70710678 L1.70710678,4 L4,6.29289322 L4,0 L5,0 L5,6.26776695 Z",id:"arrow",fill:"#94A0B8"}))),"Designer pack"),t("span",{class:"more",onClick:this.showNav.bind(this)},t("i",{class:"ion ion-md-more"}))))}static get is(){return"header-bar"}static get properties(){return{el:{elementRef:!0},isMobileMenuShown:{state:!0},isSearchVisible:{type:Boolean,attr:"is-search-visible"},isSticky:{state:!0},query:{type:String,attr:"query"},version:{type:String,attr:"version"}}}static get events(){return[{name:"toggleHeaderSearch",method:"toggleHeaderSearch",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"window:scroll",method:"handleScroll",passive:!0},{name:"window:resize",method:"handleResize",passive:!0}]}static get style(){return"header-bar header{-webkit-transition:border .6s;transition:border .6s;position:fixed;width:100%;top:0;left:0;right:0;background:#fff;z-index:999;border-bottom:1px solid transparent;height:64px}header-bar header.overlay{border-bottom:1px solid rgba(0,0,0,.05)}header-bar .container,header-bar .logo,header-bar .logo a,header-bar nav{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}header-bar .logo,header-bar nav{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}header-bar nav{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}header-bar icon-search{-webkit-transition:opacity .5s;transition:opacity .5s;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;padding-left:60px;padding-right:60px;opacity:0;pointer-events:none}header-bar .visible-search icon-search{opacity:1;pointer-events:auto}header-bar .container{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding-top:12px;padding-bottom:12px}header-bar .logo a{font-weight:700;font-size:16px;color:var(--color-shark)}header-bar .logo svg{margin-right:10px}header-bar .logo .version{margin-left:10px;font-size:10px;font-weight:600;color:var(--color-oslo-gray);background-color:var(--color-catskill-white);border-radius:4px;padding:1px 5px;position:relative;top:-2px}header-bar a{text-decoration:none}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:30px}header-bar .nav__item{font-size:13px;font-weight:600}header-bar .nav__item,header-bar .nav__item a{-webkit-transition:color .3s;transition:color .3s;color:var(--color-pale-sky)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:var(--color-shark)}header-bar .nav__item .link-active{color:var(--color-heather);cursor:default}header-bar .nav__item svg{margin-left:6px}header-bar .nav__item:hover svg #arrow{-webkit-transform:translate(1px,-1px);transform:translate(1px,-1px)}header-bar .btn svg{margin-right:6px}header-bar .btn:hover svg #arrow{-webkit-transform:translate(0,1px);transform:translate(0,1px)}header-bar .more{padding:0 8px;font-size:28px;line-height:28px;color:var(--color-dodger-blue);cursor:pointer;display:none}header-bar nav span.close{display:none;font-size:28px}\@media screen and (max-width:992px){header-bar nav>*+*{margin-left:18px}header-bar icon-search{padding-left:30px;padding-right:30px}}\@media screen and (max-width:768px){header-bar .btn.sm-hide{display:none}header-bar .close,header-bar .more{cursor:pointer}header-bar .more{display:block}header-bar .nav__item+.nav__item,header-bar nav+.btn{margin-left:0;margin-top:30px}header-bar nav{-webkit-transition:opacity .3s;transition:opacity .3s;position:fixed;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:99999;background-image:linear-gradient(-223deg,#363e49 0,#1c1e21 100%);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0;display:none}header-bar nav .close{margin:0;position:absolute;top:14px;right:18px;color:#fff;cursor:pointer}header-bar .nav__item{-webkit-transition:-webkit-transform .4s;transition:-webkit-transform .4s;transition:transform .4s;transition:transform .4s,-webkit-transform .4s;-webkit-transform:translateY(8px);transform:translateY(8px)}header-bar .nav__item,header-bar .nav__item a{font-size:28px;color:rgba(255,255,255,.9)}header-bar .nav__item .link-active{color:rgba(255,255,255,.3)}header-bar .nav__item a:not(.link-active):hover,header-bar .nav__item:hover{color:rgba(255,255,255,.9)}header-bar .nav__item svg #bg{opacity:.2}header-bar nav.show-mobile-menu{opacity:1}header-bar nav.show-mobile-menu .nav__item{-webkit-transform:translateY(0);transform:translateY(0)}header-bar nav.show-mobile-menu .close{display:block}header-bar icon-search{padding-left:20px;padding-right:15px}}\@media screen and (max-width:520px){header-bar .version{display:none}}"}}const o=({children:e,scrollTopOffset:n},o)=>{let i;i=window.crypto?([1e7].toString()+-1e3.toString()+-4e3.toString()+-8e3.toString()+-1e11.toString()).replace(/[018]/g,function(t){return(t^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}):(1e17*Math.random()).toString();const s=e.map((t,e)=>{const s=o.getAttributes(t);return o.replaceAttributes(t,Object.assign({},s,{scrollTopOffset:n,group:i,groupIndex:e})),t});return t("div",null,s)};class i{constructor(){this.data={version:void 0,icons:[]},this.query="",this.isHeaderSearchVisible=!1}handleScroll(){requestAnimationFrame(this.checkScroll.bind(this))}searchHandler(t){this.query=t.detail}toggleHandler(t){this.isHeaderSearchVisible="show"===t.detail}componentWillLoad(){return fetch("/data.json").then(t=>{t.json().then(t=>{this.data=t,this.data.icons=this.data.icons.map(t=>(t.icons=t.icons.reverse(),t.name=t.icons[0].split("-").slice(1).join("-"),t))})})}checkScroll(){const t=document.querySelector("header .search-input"),e=document.querySelector("icon-list .search-input");if(!e)return;const n=t.querySelector("input"),o=e.querySelector("input");if(e.getBoundingClientRect().topdiv{height:100%}"}}class s{constructor(){this.unsubscribe=(()=>{}),this.componentProps={},this.exact=!1,this.group=null,this.groupIndex=null,this.routeRender=null,this.scrollTopOffset=null,this.match=null,this.activeInGroup=!1,this.scrollOnNextRender=!1}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),e(t,{path:this.url,exact:this.exact,strict:!0})}componentWillLoad(){const t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:e=>(this.match=e,new Promise(e=>{t.componentDidRerender=e})),groupId:this.group,groupIndex:this.groupIndex})}componentDidUnload(){this.unsubscribe()}componentDidUpdate(){if(this.componentDidRerender){const t=this.el.firstElementChild;t&&t.componentOnReady?t.componentOnReady().then(()=>{this.componentDidRerender&&this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup}):(this.componentDidRerender(),this.componentDidRerender=void 0,this.activeInGroup=!!this.match,this.scrollOnNextRender=this.activeInGroup)}else this.scrollOnNextRender&&(this.scrollTo(),this.scrollOnNextRender=!1)}scrollTo(){const t=this.activeRouter.get("history");if(null!=this.scrollTopOffset&&t&&!this.isServer)return"POP"===t.action&&null!=t.location.scrollPosition?this.queue.write(function(){window.scrollTo(t.location.scrollPosition[0],t.location.scrollPosition[1])}):this.queue.read(()=>this.queue.write(()=>{window.scrollTo(0,this.scrollTopOffset)}))}hostData(){if(!this.activeRouter||!this.match||this.group&&!this.activeInGroup)return{style:{display:"none"}}}render(){if(!this.activeRouter||!this.match)return null;const e=Object.assign({},this.componentProps,{history:this.activeRouter.get("history"),match:this.match});if(this.routeRender)return this.routeRender(Object.assign({},e,{component:this.component}));if(this.component){const n=this.component;return t(n,Object.assign({},e))}}static get is(){return"stencil-route"}static get properties(){return{activeInGroup:{state:!0},activeRouter:{context:"activeRouter"},component:{type:String,attr:"component"},componentProps:{type:"Any",attr:"component-props"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},group:{type:String,attr:"group"},groupIndex:{type:Number,attr:"group-index"},isServer:{context:"isServer"},location:{context:"location"},match:{state:!0},queue:{context:"queue"},routeRender:{type:"Any",attr:"route-render"},scrollTopOffset:{type:Number,attr:"scroll-top-offset"},url:{type:String,attr:"url"}}}}function r(t,e){return new RegExp("^"+e+"(\\/|\\?|#|$)","i").test(t)}function a(t,e){return r(t,e)?t.substr(e.length):t}function c(t){return"/"===t.charAt(t.length-1)?t.slice(0,-1):t}function l(t){return"/"===t.charAt(0)?t:"/"+t}function h(t){return"/"===t.charAt(0)?t.substr(1):t}function u(t){const{pathname:e,search:n,hash:o}=t;let i=e||"/";return n&&"?"!==n&&(i+="?"===n.charAt(0)?n:`?${n}`),o&&"#"!==o&&(i+="#"===o.charAt(0)?o:`#${o}`),i}function d(t){return"/"===t.charAt(0)}function p(t,e){for(let n=e,o=n+1,i=t.length;o=0;t--){const e=o[t];"."===e?p(o,t):".."===e?(p(o,t),c++):c&&(p(o,t),c--)}if(!r)for(;c--;c)o.unshift("..");!r||""===o[0]||o[0]&&d(o[0])||o.unshift("");let l=o.join("/");return a&&"/"!==l.substr(-1)&&(l+="/"),l}(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i.query=(s=i.search)?(/^[?#]/.test(s)?s.slice(1):s).split("&").reduce((t,e)=>{let[n,o]=e.split("=");return t[n]=o?decodeURIComponent(o.replace(/\+/g," ")):"",t},{}):{},i}function g(t,...e){t||console.error(...e)}function f(t,...e){t||console.warn(...e)}const w=()=>{let t,e=[];return{setPrompt:e=>(f(null==t,"A history supports only one prompt at a time"),t=e,()=>{t===e&&(t=null)}),confirmTransitionTo:(e,n,o,i)=>{if(null!=t){const s="function"==typeof t?t(e,n):t;"string"==typeof s?"function"==typeof o?o(s,i):(f(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),i(!0)):i(!1!==s)}else i(!0)},appendListener:t=>{let n=!0;const o=(...e)=>{n&&t(...e)};return e.push(o),()=>{n=!1,e=e.filter(t=>t!==o)}},notifyListeners:(...t)=>{e.forEach(e=>e(...t))}}},y=!("undefined"==typeof window||!window.document||!window.document.createElement),v=(t,e,n)=>t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n),b=(t,e,n)=>t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n),S=(t,e)=>e(window.confirm(t)),x=t=>{try{var e=window[t],n="__storage_test__";return e.setItem(n,n),e.removeItem(n),!0}catch(t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}},O=(t="scrollPositions")=>{let e=new Map;function n(t,n){if(e.set(t,n),x("sessionStorage")){const t=[];e.forEach((e,n)=>{t.push([n,e])}),window.sessionStorage.setItem("scrollPositions",JSON.stringify(t))}}return x("sessionStorage")&&(e=window.sessionStorage.getItem(t)?new Map(JSON.parse(window.sessionStorage.getItem(t))):e),"scrollRestoration"in history&&(history.scrollRestoration="manual"),{set:n,get:function(t){return e.get(t)},has:function(t){return e.has(t)},capture:function(t){n(t,[window.scrollX,window.scrollY])}}},R=()=>{try{return window.history.state||{}}catch(t){return{}}},L={hashbang:{encodePath:t=>"!"===t.charAt(0)?t:"!/"+h(t),decodePath:t=>"!"===t.charAt(0)?t.substr(1):t},noslash:{encodePath:h,decodePath:l},slash:{encodePath:l,decodePath:l}},k=()=>{const t=window.location.href,e=t.indexOf("#");return-1===e?"":t.substring(e+1)},A=t=>{const e=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,e>=0?e:0)+"#"+t)},P={browser:(t={})=>{g(y,"Browser history needs a DOM");const e=window.history,n=(()=>{const t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history})(),o=!(()=>-1===window.navigator.userAgent.indexOf("Trident"))(),i=O(),{forceRefresh:s=!1,getUserConfirmation:h=S,keyLength:d=6}=t,p=t.basename?c(l(t.basename)):"",x=t=>{t=t||{};const{key:e,state:n}=t,{pathname:o,search:i,hash:s}=window.location;let c=o+i+s;return f(!p||r(c,p),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+c+'" to begin with "'+p+'".'),p&&(c=a(c,p)),m(c,n,e)},L=()=>Math.random().toString(36).substr(2,d),k=w(),A=t=>{i.capture(N.location.key),Object.assign(N,t),N.location.scrollPosition=i.get(N.location.key),N.length=e.length,k.notifyListeners(N.location,N.action)},P=t=>{(t=>void 0===t.state&&-1===navigator.userAgent.indexOf("CriOS"))(t)||H(x(t.state))},T=()=>{H(x(R()))};let E=!1;const H=t=>{if(E)E=!1,A();else{const e="POP";k.confirmTransitionTo(t,e,h,n=>{n?A({action:e,location:t}):M(t)})}},M=t=>{const e=N.location;let n=I.indexOf(e.key);-1===n&&(n=0);let o=I.indexOf(t.key);-1===o&&(o=0);const i=n-o;i&&(E=!0,D(i))},q=x(R());let I=[q.key];const C=t=>p+u(t),D=t=>{e.go(t)};let j=0;const U=t=>{1===(j+=t)?(v(window,"popstate",P),o&&v(window,"hashchange",T)):0===j&&(b(window,"popstate",P),o&&b(window,"hashchange",T))};let _=!1;const N={length:e.length,action:"POP",location:q,createHref:C,push:(t,o)=>{f(!("object"==typeof t&&void 0!==t.state&&void 0!==o),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");const i=m(t,o,L(),N.location);k.confirmTransitionTo(i,"PUSH",h,t=>{if(!t)return;const o=C(i),{key:r,state:a}=i;if(n)if(e.pushState({key:r,state:a},null,o),s)window.location.href=o;else{const t=I.indexOf(N.location.key),e=I.slice(0,-1===t?0:t+1);e.push(i.key),I=e,A({action:"PUSH",location:i})}else f(void 0===a,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=o})},replace:(t,o)=>{f(!("object"==typeof t&&void 0!==t.state&&void 0!==o),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");const i=m(t,o,L(),N.location);k.confirmTransitionTo(i,"REPLACE",h,t=>{if(!t)return;const o=C(i),{key:r,state:a}=i;if(n)if(e.replaceState({key:r,state:a},null,o),s)window.location.replace(o);else{const t=I.indexOf(N.location.key);-1!==t&&(I[t]=i.key),A({action:"REPLACE",location:i})}else f(void 0===a,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(o)})},go:D,goBack:()=>D(-1),goForward:()=>D(1),block:(t="")=>{const e=k.setPrompt(t);return _||(U(1),_=!0),()=>(_&&(_=!1,U(-1)),e())},listen:t=>{const e=k.appendListener(t);return U(1),()=>{U(-1),e()}}};return N},hash:(t={})=>{g(y,"Hash history needs a DOM");const e=window.history,n=(()=>-1===window.navigator.userAgent.indexOf("Firefox"))(),{getUserConfirmation:o=S,hashType:i="slash"}=t,s=t.basename?c(l(t.basename)):"",{encodePath:h,decodePath:d}=L[i],p=()=>{let t=d(k());return f(!s||r(t,s),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+t+'" to begin with "'+s+'".'),s&&(t=a(t,s)),m(t)},x=w(),O=t=>{Object.assign(V,t),V.length=e.length,x.notifyListeners(V.location,V.action)};let R=!1,P=null;const H=()=>{const t=k(),e=h(t);if(t!==e)A(e);else{const t=p(),e=V.location;if(!R&&(E=t,(T=e).pathname===E.pathname&&T.search===E.search&&T.hash===E.hash&&T.key===E.key&&function t(e,n){if(e===n)return!0;if(null==e||null==n)return!1;if(Array.isArray(e))return Array.isArray(n)&&e.length===n.length&&e.every(function(e,o){return t(e,n[o])});const o=typeof e;if(o!==typeof n)return!1;if("object"===o){const o=e.valueOf(),i=n.valueOf();if(o!==e||i!==n)return t(o,i);const s=Object.keys(e),r=Object.keys(n);return s.length===r.length&&s.every(function(o){return t(e[o],n[o])})}return!1}(T.state,E.state)))return;if(P===u(t))return;P=null,M(t)}},M=t=>{if(R)R=!1,O();else{const e="POP";x.confirmTransitionTo(t,e,o,n=>{n?O({action:e,location:t}):q(t)})}},q=t=>{const e=V.location;let n=j.lastIndexOf(u(e));-1===n&&(n=0);let o=j.lastIndexOf(u(t));-1===o&&(o=0);const i=n-o;i&&(R=!0,U(i))},I=k(),C=h(I);I!==C&&A(C);const D=p();let j=[u(D)];const U=t=>{f(n,"Hash history go(n) causes a full page reload in this browser"),e.go(t)};let _=0;const N=t=>{1===(_+=t)?v(window,"hashchange",H):0===_&&b(window,"hashchange",H)};let B=!1;const V={length:e.length,action:"POP",location:D,createHref:t=>"#"+h(s+u(t)),push:(t,e)=>{f(void 0===e,"Hash history cannot push state; it is ignored");const n=m(t,void 0,void 0,V.location);x.confirmTransitionTo(n,"PUSH",o,t=>{if(!t)return;const e=u(n),o=h(s+e);if(k()!==o){P=e,(t=>window.location.hash=t)(o);const t=j.lastIndexOf(u(V.location)),i=j.slice(0,-1===t?0:t+1);i.push(e),j=i,O({action:"PUSH",location:n})}else f(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),O()})},replace:(t,e)=>{f(void 0===e,"Hash history cannot replace state; it is ignored");const n=m(t,void 0,void 0,V.location);x.confirmTransitionTo(n,"REPLACE",o,t=>{if(!t)return;const e=u(n),o=h(s+e);k()!==o&&(P=e,A(o));const i=j.indexOf(u(V.location));-1!==i&&(j[i]=e),O({action:"REPLACE",location:n})})},go:U,goBack:()=>U(-1),goForward:()=>U(1),block:(t="")=>{const e=x.setPrompt(t);return B||(N(1),B=!0),()=>(B&&(B=!1,N(-1)),e())},listen:t=>{const e=x.appendListener(t);return N(1),()=>{N(-1),e()}}};return V}};var T,E;class H{constructor(){this.root="/",this.historyType="browser",this.titleSuffix="",this.unsubscribe=(()=>{}),this.match=null}titleSuffixChanged(t){this.activeRouter.set({titleSuffix:t})}computeMatch(t){return{path:this.root,url:this.root,isExact:t===this.root,params:{}}}componentWillLoad(){const t=P[this.historyType]();t.listen(t=>{this.activeRouter.set({location:this.getLocation(t)})}),this.activeRouter.set({location:this.getLocation(t.location),titleSuffix:this.titleSuffix,root:this.root,history:t}),this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidLoad(){this.activeRouter.dispatch()}getLocation(t){const e=0==t.pathname.indexOf(this.root)?"/"+t.pathname.slice(this.root.length):t.pathname;return Object.assign({},t,{pathname:e})}componentDidUnload(){this.unsubscribe()}render(){return t("slot",null)}static get is(){return"stencil-router"}static get properties(){return{activeRouter:{context:"activeRouter"},historyType:{type:String,attr:"history-type"},match:{state:!0},root:{type:String,attr:"root"},titleSuffix:{type:String,attr:"title-suffix",watchCallbacks:["titleSuffixChanged"]}}}}export{n as HeaderBar,i as IoniconsSite,s as StencilRoute,H as StencilRouter}; \ No newline at end of file diff --git a/docs/build/docssite/gkczrv46.es5.js b/docs/build/docssite/gkczrv46.es5.js deleted file mode 100644 index 7530de4a..00000000 --- a/docs/build/docssite/gkczrv46.es5.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -DocsSite.loadBundle("gkczrv46",["exports","./chunk-438b3614.js"],function(t,e){var i=window.DocsSite.h,r=function(){function t(){this.unsubscribe=function(){},this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}return t.prototype.computeMatch=function(t){return t||(t=this.activeRouter.get("location").pathname),e.matchPath(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})},t.prototype.componentWillLoad=function(){var t=this;this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:function(e){t.match=e}}),this.match=this.computeMatch()},t.prototype.componentDidUnload=function(){this.unsubscribe()},t.prototype.handleClick=function(t){if(!e.isModifiedEvent(t)){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')}},t.prototype.getUrl=function(t){var e=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+t:e+t},t.prototype.render=function(){var t,e={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(e.class[this.anchorClass]=!0),"a"===this.custom&&(e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),i(this.custom,Object.assign({},e),i("slot",null))},Object.defineProperty(t,"is",{get:function(){return"stencil-route-link"},enumerable:!0,configurable:!0}),Object.defineProperty(t,"properties",{get:function(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/gkczrv46.js b/docs/build/docssite/gkczrv46.js deleted file mode 100644 index 50ff0878..00000000 --- a/docs/build/docssite/gkczrv46.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:t}=window.DocsSite;import{a as s,k as e}from"./chunk-408bcc6b.js";class i{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}computeMatch(t){return t||(t=this.activeRouter.get("location").pathname),s(t,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})}componentWillLoad(){this.unsubscribe=this.activeRouter.subscribe({isMatch:this.computeMatch.bind(this),listener:t=>{this.match=t}}),this.match=this.computeMatch()}componentDidUnload(){this.unsubscribe()}handleClick(t){if(!e(t)){if(t.preventDefault(),this.activeRouter)return this.activeRouter.get("history").push(this.getUrl(this.url));console.warn(' wasn\'t passed an instance of the router as the "router" prop!')}}getUrl(t){const s=this.activeRouter.get("root")||"/";return"/"==t.charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+t:s+t}render(){let s={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(s.class[this.anchorClass]=!0),"a"===this.custom&&(s=Object.assign({},s,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex})),t(this.custom,Object.assign({},s),t("slot",null))}static get is(){return"stencil-route-link"}static get properties(){return{activeClass:{type:String,attr:"active-class"},activeRouter:{context:"activeRouter"},anchorClass:{type:String,attr:"anchor-class"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},custom:{type:String,attr:"custom"},exact:{type:Boolean,attr:"exact"},match:{state:!0},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}export{i as StencilRouteLink}; \ No newline at end of file diff --git a/docs/build/docssite/vtu3zyh5.es5.js b/docs/build/docssite/vtu3zyh5.es5.js deleted file mode 100644 index 3e00f54a..00000000 --- a/docs/build/docssite/vtu3zyh5.es5.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -DocsSite.loadBundle("vtu3zyh5",["exports"],function(e){var o=window.DocsSite.h,r=function(){function e(){}return e.prototype.render=function(){return o("footer",null,o("div",{class:"container"},o("div",{class:"footer__open-source"},o("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},o("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),o("p",null,"Released under ",o("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),o("div",{class:"footer-menu"},o("a",{href:"cheatsheet.html"},"Cheatsheet"),o("a",{href:"/v1"},"v1"),o("a",{href:"/v2"},"v2"),o("a",{href:"https://ionicframework.com/docs/components/#icons"},"v3"),o("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))},Object.defineProperty(e,"is",{get:function(){return"footer-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-webkit-flex:0 0 8em;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"},enumerable:!0,configurable:!0}),e}();e.FooterBar=r,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/vtu3zyh5.js b/docs/build/docssite/vtu3zyh5.js deleted file mode 100644 index fdba2744..00000000 --- a/docs/build/docssite/vtu3zyh5.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! Built with http://stenciljs.com */ -const{h:e}=window.DocsSite;class o{render(){return e("footer",null,e("div",{class:"container"},e("div",{class:"footer__open-source"},e("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},e("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),e("p",null,"Released under ",e("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),e("div",{class:"footer-menu"},e("a",{href:"cheatsheet.html"},"Cheatsheet"),e("a",{href:"/v1"},"v1"),e("a",{href:"/v2"},"v2"),e("a",{href:"https://ionicframework.com/docs/components/#icons"},"v3"),e("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))}static get is(){return"footer-bar"}static get style(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-webkit-flex:0 0 8em;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"}}export{o as FooterBar}; \ No newline at end of file diff --git a/docs/build/docssite/xxdq8tou.es5.js b/docs/build/docssite/xxdq8tou.es5.js new file mode 100644 index 00000000..1d801d73 --- /dev/null +++ b/docs/build/docssite/xxdq8tou.es5.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +DocsSite.loadBundle("xxdq8tou",["exports"],function(e){var o=window.DocsSite.h,r=function(){function e(){}return e.prototype.render=function(){return o("footer",null,o("div",{class:"container"},o("div",{class:"footer__open-source"},o("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},o("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),o("p",null,"Released under ",o("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),o("div",{class:"footer-menu"},o("a",{href:"cheatsheet.html"},"Cheatsheet"),o("a",{href:"/v1"},"v1"),o("a",{href:"/v2"},"v2"),o("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),o("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))},Object.defineProperty(e,"is",{get:function(){return"footer-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-webkit-flex:0 0 8em;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"},enumerable:!0,configurable:!0}),e}();e.FooterBar=r,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/build/docssite/xxdq8tou.js b/docs/build/docssite/xxdq8tou.js new file mode 100644 index 00000000..49e67b5b --- /dev/null +++ b/docs/build/docssite/xxdq8tou.js @@ -0,0 +1,2 @@ +/*! Built with http://stenciljs.com */ +const{h:e}=window.DocsSite;class o{render(){return e("footer",null,e("div",{class:"container"},e("div",{class:"footer__open-source"},e("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},e("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),e("p",null,"Released under ",e("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),e("div",{class:"footer-menu"},e("a",{href:"cheatsheet.html"},"Cheatsheet"),e("a",{href:"/v1"},"v1"),e("a",{href:"/v2"},"v2"),e("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),e("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))}static get is(){return"footer-bar"}static get style(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-webkit-flex:0 0 8em;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"}}export{o as FooterBar}; \ No newline at end of file diff --git a/docs/fonts/ionicons.eot b/docs/fonts/ionicons.eot index c6d47da5..741790e7 100644 Binary files a/docs/fonts/ionicons.eot and b/docs/fonts/ionicons.eot differ diff --git a/docs/fonts/ionicons.svg b/docs/fonts/ionicons.svg index 4dc91d87..0dab6ec0 100644 --- a/docs/fonts/ionicons.svg +++ b/docs/fonts/ionicons.svg @@ -1,13 +1,13 @@ -Created by FontForge 20160407 at Wed May 16 09:40:49 2018 - By Adam Bradley -Copyright (c) 2018, Adam Bradley +Created by FontForge 20180321 at Thu May 17 11:02:08 2018 + By Kevin Ports +Copyright (c) 2018, Kevin Ports @@ -25,1394 +25,100 @@ Copyright (c) 2018, Adam Bradley unicode-range="U+F100-F4CD" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/fonts/ionicons.ttf b/docs/fonts/ionicons.ttf index 16b042d6..54fc538a 100644 Binary files a/docs/fonts/ionicons.ttf and b/docs/fonts/ionicons.ttf differ diff --git a/docs/fonts/ionicons.woff b/docs/fonts/ionicons.woff index 15f91273..1cac0f2b 100644 Binary files a/docs/fonts/ionicons.woff and b/docs/fonts/ionicons.woff differ diff --git a/docs/fonts/ionicons.woff2 b/docs/fonts/ionicons.woff2 index 3849805e..aae55db4 100644 Binary files a/docs/fonts/ionicons.woff2 and b/docs/fonts/ionicons.woff2 differ diff --git a/docs/index.html b/docs/index.html index ecab60cc..9b305396 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ Ionicons: The premium icon pack for Ionic Framework +!function(e,t,o,r,c,s,i,n,a,l,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=a,(h=a.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,o){o.$r=[];const r=t.componentOnReady;t.componentOnReady=function(t){const c=this;function s(e){o.$r?o.$r.push([c,e]):o.componentOnReady(c,e)}return r&&r.call(c),t?s(t):e.Promise?new Promise(s):{then:s}}}(e,l,u),d=(h=t.querySelectorAll("script")).length-1;d>=0&&!(p=h[d]).src&&!p.hasAttribute("data-resources-url");d--);(h=p.getAttribute("data-resources-url"))&&(c=h),!c&&p.src&&(c=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,o,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in o)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=c+"docssite.lc7q1hhy.js":(d.src=c+"docssite.a0cs8axq.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",c),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","xxdq8tou",1],["header-bar","f5jhpa2x",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","vscrqboi",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","ms1l1l4a",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","f5jhpa2x",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","vscrqboi",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","f5jhpa2x",0,[["activeInGroup",5],["activeRouter",3,0,0,0,"activeRouter"],["component",1,0,1,2],["componentProps",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupIndex",1,0,"group-index",4],["isServer",3,0,0,0,"isServer"],["location",3,0,0,0,"location"],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","5szlxwny",0,[["activeClass",1,0,"active-class",2],["activeRouter",3,0,0,0,"activeRouter"],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["exact",1,0,1,3],["match",5],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-router","f5jhpa2x",0,[["activeRouter",3,0,0,0,"activeRouter"],["historyType",1,0,"history-type",2],["match",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","vscrqboi",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","9wxpo3m4",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype); \ No newline at end of file diff --git a/docs/ionicons.js b/docs/ionicons.js index de2d8f42..d333ea64 100644 --- a/docs/ionicons.js +++ b/docs/ionicons.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -!function(e,t,n,r,o,i,s,c,l,u,a,d,m,p){for((a=e.ionicons=e.ionicons||{}).components=l,(m=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=m.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){n.$r=[];const r=t.componentOnReady;t.componentOnReady=function(t){const o=this;function i(e){n.$r?n.$r.push([o,e]):n.componentOnReady(o,e)}return r&&r.call(o),t?i(t):e.Promise?new Promise(i):{then:i}}}(e,u,a),d=(m=t.querySelectorAll("script")).length-1;d>=0&&!(p=m[d]).src&&!p.hasAttribute("data-resources-url");d--);(m=p.getAttribute("data-resources-url"))&&(o=m),!o&&p.src&&(o=(m=p.src.split("/").slice(0,-1)).join("/")+(m.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=o+"ionicons.xgh2cdgl.js":(d.src=o+"ionicons.l9otktp0.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",o),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["ion-icon","jhsqswyy",1,[["ariaLabel",1,0,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["md",1,0,1,2],["mode",3,0,0,0,"mode"],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]]]],HTMLElement.prototype); \ No newline at end of file +!function(e,t,n,r,i,o,s,c,l,u,a,d,m,p){for((a=e.ionicons=e.ionicons||{}).components=l,(m=l.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=m.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){n.$r=[];const r=t.componentOnReady;t.componentOnReady=function(t){const i=this;function o(e){n.$r?n.$r.push([i,e]):n.componentOnReady(i,e)}return r&&r.call(i),t?o(t):e.Promise?new Promise(o):{then:o}}}(e,u,a),d=(m=t.querySelectorAll("script")).length-1;d>=0&&!(p=m[d]).src&&!p.hasAttribute("data-resources-url");d--);(m=p.getAttribute("data-resources-url"))&&(i=m),!i&&p.src&&(i=(m=p.src.split("/").slice(0,-1)).join("/")+(m.length?"/":"")+"ionicons/"),d=t.createElement("script"),function(e,t,n,r){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in n)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=i+"ionicons.xgh2cdgl.js":(d.src=i+"ionicons.mx03kpck.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",i),d.setAttribute("data-namespace","ionicons"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["ion-icon","plvdxapx",1,[["ariaLabel",1,0,"aria-label",2],["color",1,0,1,2],["doc",3,0,0,0,"document"],["el",7],["icon",1,0,1,2],["ios",1,0,1,2],["isServer",3,0,0,0,"isServer"],["isVisible",5],["md",1,0,1,2],["mode",3,0,0,0,"mode"],["name",1,0,1,2],["resourcesUrl",3,0,0,0,"resourcesUrl"],["size",1,0,1,2],["src",1,0,1,2],["svgContent",5],["win",3,0,0,0,"window"]]]],HTMLElement.prototype); \ No newline at end of file diff --git a/docs/ionicons/ionicons.l9otktp0.js b/docs/ionicons/ionicons.l9otktp0.js deleted file mode 100644 index 8c544d4f..00000000 --- a/docs/ionicons/ionicons.l9otktp0.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! Built with http://stenciljs.com */ -(function(Context,namespace,hydratedCssClass,resourcesUrl,s){"use strict"; -s=document.querySelector("script[data-namespace='ionicons']");if(s){resourcesUrl=s.getAttribute('data-resources-url');} -(function(t,e,n,o){"use strict";function i(t){return{t:t[0],e:t[1],n:!!t[2],o:!!t[3],i:!!t[4]}}function c(t,e){if(A(e)&&"object"!=typeof e&&"function"!=typeof e){if(t===Boolean||3===t)return"false"!==e&&(""===e||!!e);if(t===Number||4===t)return parseFloat(e);if(t===String||2===t)return e.toString()}return e}function f(t,e,n,o){const i=t.c.get(e);i&&((o=i["s-ld"]||i.$activeLoading)&&((n=o.indexOf(e))>-1&&o.splice(n,1),o.length||(i["s-init"]&&i["s-init"](),i.$initLoad&&i.$initLoad())),t.c.delete(e))}function l(t,e,n){let o,i,c=null,f=!1,l=!1;for(var r=arguments.length;r-- >2;)R.push(arguments[r]);for(;R.length>0;)if((n=R.pop())&&void 0!==n.pop)for(r=n.length;r--;)R.push(n[r]);else"boolean"==typeof n&&(n=null),(l="function"!=typeof t)&&(null==n?n="":"number"==typeof n?n=String(n):"string"!=typeof n&&(l=!1)),l&&f?c[c.length-1].f+=n:null===c?c=[l?{f:n}:n]:c.push(l?{f:n}:n),f=l;if(null!=e){if(e.className&&(e.class=e.className),"object"==typeof e.class){for(r in e.class)e.class[r]&&R.push(r);e.class=R.join(" "),R.length=0}null!=e.l&&(o=e.l),null!=e.name&&(i=e.name)}return"function"==typeof t?t(Object.assign({},e,{children:c}),L):{r:t,s:c,f:void 0,u:e,a:o,p:i,d:void 0,v:!1}}function r(t,e,n,o){e.split(" ").forEach(e=>{t[e]=!0,n&&(t[`${e}-${n}`]=!0,o&&(t[`${e}-${n}-${o}`]=t[`${e}-${o}`]=!0))})}function s(t,e){t.m.has(e)||(t.m.set(e,!0),t.b?t.queue.write(()=>u(t,e)):t.queue.tick(()=>u(t,e)))}function u(t,e,n,o,i,c){if(t.m.delete(e),!t.y.has(e)){if(o=t.w.get(e),n=!o){if((i=t.c.get(e))&&i.$rendered&&(i["s-rn"]=!0),i&&!i["s-rn"])return(i["s-rc"]=i["s-rc"]||[]).push(()=>{u(t,e)}),void(i.$onRender=i["s-rc"]);o=function f(t,e,n,o,i,c,l){try{(function r(t,e,n,o,i,c,f){for(f in t.g.set(o,n),t.M.has(n)||t.M.set(n,{}),(c=Object.assign({color:{type:String}},e.properties)).mode={type:String},c)p(t,c[f],n,o,f,i)})(t,i=t.C(e).k,e,o=new i,n)}catch(n){o={},t.j(n,7,e,!0)}return t.w.set(e,o),o}(t,e,t.W.get(e));try{o.componentWillLoad&&(c=o.componentWillLoad())}catch(n){t.j(n,3,e)}}c&&c.then?c.then(()=>a(t,e,o,n)):a(t,e,o,n)}}function a(t,e,n,o){(function i(t,e,n,o,c){try{const i=e.k.host;let f;if(o.render||o.hostData||i||f){t.x=!0;const f=o.render&&o.render();let s;s=o.hostData&&o.hostData(),t.x=!1,i&&(s=function f(t,e,n){return t=t||{},Object.keys(e).forEach(o=>{"theme"===o?r(t.class=t.class||{},e[o],n.mode,n.color):"class"===o?r(t[o]=t[o]||{},e[o]):t[o]=e[o]}),t}(s,i,o));const u=t.N.get(n)||{};u.d=n;const a=l(null,s,f);t.N.set(n,t.render(u,a,c,e.k.encapsulation))}t.O(t,t.A,e,o.mode,n),n["s-rn"]=!0,n.$onRender&&(n["s-rc"]=n.$onRender),n["s-rc"]&&(n["s-rc"].forEach(t=>t()),n["s-rc"]=null)}catch(e){t.x=!1,t.j(e,8,n,!0)}})(t,t.C(e),e,n,!o);try{o?e["s-init"]():w(t.N.get(e))}catch(n){t.j(n,6,e,!0)}}function p(t,e,n,o,i,f,l,r){if(e.type||e.state){const s=t.M.get(n);e.state||(!e.attr||void 0!==s[i]&&""!==s[i]||(l=f&&f.S)&&A(r=l[e.attr])&&(s[i]=c(e.type,r)),n.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=c(e.type,n[i])),delete n[i])),o.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=o[i]),e.watchCallbacks&&(s[q+i]=e.watchCallbacks.slice()),m(o,i,function s(e){return(e=t.M.get(t.g.get(this)))&&e[i]},function u(n,o){(o=t.g.get(this))&&(e.state||e.mutable)&&d(t,o,i,n)})}else if(e.elementRef)v(o,i,n);else if(e.context){const c=t.T(e.context);void 0!==c&&v(o,i,c.R&&c.R(n)||c)}}function d(t,e,n,o,i,c,f){(i=t.M.get(e))||t.M.set(e,i={});const l=i[n];if(o!==l&&(i[n]=o,c=t.w.get(e))){if(f=i[q+n])for(let t=0;te!==t[l]));for(l=0,r=n.length;l=0;c--)(f=s[c])["s-hn"]!==m&&f["s-ol"]&&(e.J(f),e.K(r(f),f,l(f)),e.J(f["s-ol"]),f["s-ol"]=null,v=!0),i&&o(f,i);t.Z=!1}function i(t,o,i,c,f,r,s,u){const a=t["s-cr"]||t.$defaultHolder;for((s=a&&e.V(a)||t).shadowRoot&&(s=s.shadowRoot);f<=r;++f)c[f]&&(u=A(c[f].f)?e.I(c[f].f):n(null,i,f,t))&&(c[f].d=u,e.K(s,u,l(o)))}function c(t,n,i,c){for(;n<=i;++n)A(t[n])&&(c=t[n].d,d=!0,c["s-ol"]?e.J(c["s-ol"]):o(c,!0),e.J(c))}function f(t,e){return t.r===e.r&&t.a===e.a&&("slot"!==t.r||t.p===e.p)}function l(t){return t&&t["s-ol"]?t["s-ol"]:t}function r(t){return e.V(t["s-ol"]?t["s-ol"]:t)}const s=[];let u,a,p,d,v,m,b;return function u(h,$,w,g,M,k,C,j,W){if(p=w,m=e.X(h.d),b=h.d["s-cr"],a="scoped"===g||"shadow"===g&&!e.Y?"data-"+e.X(h.d):null,v=d=!1,p||a&&e.P(h.d,a+"-host",""),function s(u,a,p){const d=a.d=u.d,v=u.s,m=a.s;P=a.d&&A(e._(a.d))&&void 0!==a.d.ownerSVGElement,P="svg"===a.r||"foreignObject"!==a.r&&P,A(a.f)?(p=d["s-cr"]||d.$defaultHolder)?e.tt(e.V(p),a.f):u.f!==a.f&&e.tt(d,a.f):("slot"!==a.r&&y(t,u,a,P),A(v)&&A(m)?function b(t,u,a,p,d,v,m,h){let y=0,$=0,w=u.length-1,g=u[0],M=u[w],k=p.length-1,C=p[0],j=p[k];for(;y<=w&&$<=k;)if(null==g)g=u[++y];else if(null==M)M=u[--w];else if(null==C)C=p[++$];else if(null==j)j=p[--k];else if(f(g,C))s(g,C),g=u[++y],C=p[++$];else if(f(M,j))s(M,j),M=u[--w],j=p[--k];else if(f(g,j))"slot"!==g.r&&"slot"!==j.r||o(e.V(g.d)),s(g,j),e.K(t,g.d,e.et(M.d)),g=u[++y],j=p[--k];else if(f(M,C))"slot"!==g.r&&"slot"!==j.r||o(e.V(M.d)),s(M,C),e.K(t,M.d,g.d),M=u[--w],C=p[++$];else{for(d=null,v=y;v<=w;++v)if(u[v]&&A(u[v].a)&&u[v].a===C.a){d=v;break}A(d)?((h=u[d]).r!==C.r?m=n(u&&u[$],a,d,t):(s(h,C),u[d]=void 0,m=h.d),C=p[++$]):(m=n(u&&u[$],a,$,t),C=p[++$]),m&&e.K(r(g.d),m,l(g.d))}y>w?i(t,null==p[k+1]?null:p[k+1].d,a,p,$,k):$>k&&c(u,y,w)}(d,v,a,m):A(m)?(A(u.f)&&e.tt(d,""),i(d,null,a,m,0,m.length-1)):A(v)&&c(v,0,v.length-1)),P&&"svg"===a.r&&(P=!1)}(h,$),v){for(function t(n,o,i,c,f,l,r,u,a,p){for(f=0,l=(o=e.G(n)).length;f=0;r--)(c=u[r])["s-cn"]||c["s-nr"]||c["s-hn"]===i["s-hn"]||((3===(p=e.nt(c))||8===p)&&""===a||1===p&&null===e.ot(c,"slot")&&""===a||1===p&&e.ot(c,"slot")===a)&&(s.some(t=>t.it===c)||(d=!0,c["s-sn"]=a,s.push({ct:i,it:c})));1===e.nt(i)&&t(i)}}($.d),k=0;k{w(t,e)}))}function g(t,e,n,o,i){const c=t.nt(e);let f,l,r,s;if(i&&1===c){(l=t.ot(e,W))&&(r=l.split("."))[0]===o&&((s={}).r=t.X(s.d=e),n.s||(n.s=[]),n.s[r[1]]=s,n=s,i=""!==r[2]);for(let c=0;c{(i=e.L[c].st)&&(o.S[i]=t.ot(n,i))}),o}function k(t,e,n,o){n.connectedCallback=function(){(function n(t,e,o){t.y.delete(o),t.ut.has(o)||(t.ut.set(o,!0),o["s-id"]||(o["s-id"]=t.at()),function i(t,e,n){for(n=e;n=t.A._(n);)if(t.pt(n)){t.dt.has(e)||(t.c.set(e,n),n.$activeLoading&&(n["s-ld"]=n.$activeLoading),(n["s-ld"]=n["s-ld"]||[]).push(e));break}}(t,o),t.queue.tick(()=>t.vt(e,o,M(t.A,e,o))))})(t,e,this)},n.attributeChangedCallback=function(t,n,o){(function i(t,e,n,o,f,l,r){if(t&&o!==f)for(l in t)if((r=t[l]).st&&S(r.st)===S(n)){e[l]=c(r.mt,f);break}})(e.L,this,t,n,o)},n.disconnectedCallback=function(){(function e(t,n,o){!t.Z&&function i(t,e){for(;e;){if(!t.V(e))return 9!==t.nt(e);e=t.V(e)}}(t.A,n)&&(t.y.set(n,!0),f(t,n),w(t.N.get(n),!0),t.A.D(n),t.bt.delete(n),[t.c,t.ht,t.W].forEach(t=>t.delete(n)))})(t,this)},n["s-init"]=function(){(function e(t,n,o,i,c){if(!t.dt.has(n)&&t.w.get(n)&&!t.y.has(n)&&(!n["s-ld"]||!n["s-ld"].length)){delete n["s-ld"],t.dt.set(n,!0);try{w(t.N.get(n)),(c=t.ht.get(n))&&(c.forEach(t=>t(n)),t.ht.delete(n))}catch(e){t.j(e,4,n)}n.classList.add(o),f(t,n)}})(t,this,o)},n.forceUpdate=function(){s(t,this)},function i(t,e,n){e&&Object.keys(e).forEach(o=>{const i=e[o],f=i.yt;1===f||2===f?m(n,o,function e(){return(t.M.get(this)||{})[o]},function e(n){d(t,this,o,c(i.mt,n))}):6===f&&v(n,o,T)})}(t,e.L,n)}function C(t,e,n,o){return function(){const i=arguments;return function c(t,e,n){return new Promise(o=>{let i=e[n];i||(i=t.$t.querySelector(n)),i||(i=e[n]=t.z(n),t.Q(t.$t,i)),i.componentOnReady(o)})}(t,e,n).then(t=>t[o].apply(t,i))}}const j="data-ssrv",W="data-ssrc",x="$",E={},N=[],O={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},A=t=>null!=t,S=t=>t.toLowerCase(),T=()=>{},R=[],L={getAttributes:t=>t.u,replaceAttributes:(t,e)=>t.u=e},q="wc-",B={allowfullscreen:1,async:1,autofocus:1,autoplay:1,checked:1,controls:1,disabled:1,enabled:1,formnovalidate:1,hidden:1,multiple:1,noresize:1,readonly:1,required:1,selected:1,spellcheck:1},D="http://www.w3.org/1999/xlink";let P=!1;(function F(t,e,n,o,c,f,r){function u(t,e){if(!b[t.wt]){b[t.wt]=!0,k(y,a[t.wt]=t,e.prototype,f);{const n=e.observedAttributes=[];for(const e in t.L)t.L[e].st&&n.push(t.L[e].st)}n.customElements.define(t.wt,e)}}const a={html:{}},p={},d=n[t]=n[t]||{},v=function m(t,e,n){t.gt||(t.gt=((t,e,n,o)=>t.addEventListener(e,n,o)),t.Mt=((t,e,n,o)=>t.removeEventListener(e,n,o)));const o=new WeakMap,i={kt:n.documentElement,Ct:n.head,$t:n.body,jt:!1,nt:t=>t.nodeType,z:t=>n.createElement(t),U:(t,e)=>n.createElementNS(t,e),I:t=>n.createTextNode(t),Wt:t=>n.createComment(t),K:(t,e,n)=>t.insertBefore(e,n),J:t=>t.remove(),Q:(t,e)=>t.appendChild(e),G:t=>t.childNodes,V:t=>t.parentNode,et:t=>t.nextSibling,ft:t=>t.previousSibling,X:t=>S(t.nodeName),lt:t=>t.textContent,tt:(t,e)=>t.textContent=e,ot:(t,e)=>t.getAttribute(e),P:(t,e,n)=>t.setAttribute(e,n),xt:(t,e,n,o)=>t.setAttributeNS(e,n,o),q:(t,e)=>t.removeAttribute(e),Et:(t,o)=>"child"===o?t.firstElementChild:"parent"===o?i._(t):"body"===o?i.$t:"document"===o?n:"window"===o?e:t,B:(e,n,c,f,l,r,s,u)=>{const a=n;let p=e,d=o.get(e);if(d&&d[a]&&d[a](),"string"==typeof r?p=i.Et(e,r):"object"==typeof r?p=r:(u=n.split(":")).length>1&&(p=i.Et(e,u[0]),n=u[1]),!p)return;let v=c;(u=n.split(".")).length>1&&(n=u[0],v=(t=>{t.keyCode===O[u[1]]&&c(t)})),s=i.jt?{capture:!!f,passive:!!l}:!!f,t.gt(p,n,v,s),d||o.set(e,d={}),d[a]=(()=>{p&&t.Mt(p,n,v,s),d[a]=null})},D:(t,e)=>{const n=o.get(t);n&&(e?n[e]&&n[e]():Object.keys(n).forEach(t=>{n[t]&&n[t]()}))},Nt:(t,n,o)=>t&&t.dispatchEvent(new e.CustomEvent(n,o)),_:(t,e)=>(e=i.V(t))&&11===i.nt(e)?e.host:e};return i}(d,n,o);e.isServer=e.isPrerender=!(e.isClient=!0),e.window=n,e.location=n.location,e.document=o,e.resourcesUrl=e.publicPath=c,d.h=l,d.Context=e;const b=n.$definedCmps=n.$definedCmps||{};let h=0;const y={A:v,Ot:u,At:e.emit,C:t=>a[v.X(t)],T:t=>e[t],isClient:!0,pt:t=>!(!b[v.X(t)]&&!y.C(t)),at:()=>t+h++,j:(t,e,n)=>void 0,St:t=>(function e(t,n,o){return{create:C(t,n,o,"create"),componentOnReady:C(t,n,o,"componentOnReady")}})(v,p,t),queue:e.queue=function w(t,e){function n(t){for(let e=0;e0&&(u.push(...s),s.length=0),(p=r.length+s.length+u.length>0)?t.raf(i):a=0}const c=()=>e.performance.now(),f=Promise.resolve(),l=[],r=[],s=[],u=[];let a=0,p=!1;return t.raf||(t.raf=e.requestAnimationFrame.bind(e)),{tick(t){l.push(t),1===l.length&&f.then(()=>n(l))},read(e){r.push(e),p||(p=!0,t.raf(i))},write(e){s.push(e),p||(p=!0,t.raf(i))}}}(d,n),vt:function W(t,n){if(n.mode||(n.mode=v.ot(n,"mode")||e.mode),M(y.A,t,n),t.k)s(y,n);else{const e="string"==typeof t.Tt?t.Tt:t.Tt[n.mode],o=c+e+(function o(t,e){return 2===e.encapsulation||1===e.encapsulation&&!t}(v.Y,t)?".sc":"")+".js";import(o).then(e=>{try{(function o(t,e,n){const o=n.style;if(o){const i=n.is+(n.styleMode||x);if(!e[i]){const n=t.z("template");e[i]=n,n.innerHTML=``,t.Q(t.Ct,n)}}})(v,t,t.k=e[(t=>S(t).split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""))(t.wt)])}catch(e){t.k=class{}}s(y,n)}).catch(t=>void 0)}},c:new WeakMap,Rt:new WeakMap,ut:new WeakMap,bt:new WeakMap,dt:new WeakMap,g:new WeakMap,W:new WeakMap,w:new WeakMap,y:new WeakMap,m:new WeakMap,ht:new WeakMap,Lt:new WeakMap,N:new WeakMap,M:new WeakMap};y.render=$(y,v);const E=v.kt;E["s-ld"]=[],E["s-rn"]=!0,E["s-init"]=(()=>{y.dt.set(E,d.loaded=y.b=!0),v.Nt(n,"appload",{detail:{namespace:t}})}),function N(t,e,n){const o=n.querySelectorAll(`[${j}]`),i=o.length;let c,f,l,r,s,u;if(i>0)for(t.dt.set(n,!0),r=0;r{(function c(t,e,n,o,i,f,l){let r=n.wt+(o||x),s=n[r];if(s||(s=n[r=n.wt+x]),s){let o=e.Ct;if(e.Y)if(1===n.encapsulation)o=i.shadowRoot;else for(;i=e.V(i);)if(i.host&&i.host.shadowRoot){o=i.host.shadowRoot;break}const c=t.Rt.get(o)||{};if(!c[r]){l=s.content.cloneNode(!0);const n=o.querySelectorAll("[data-styles]");e.K(o,l,n.length&&n[n.length-1].nextSibling||o.qt),c[r]=!0,t.Rt.set(o,c)}}})(t,e,n,o,i)}),(d.components||[]).map(t=>(function e(t,n,o){const c={wt:t[0],L:{color:{st:"color"}}};c.Tt=t[1];const f=t[3];if(f)for(n=0;nu(t,class extends HTMLElement{})),function A(t,e){e.componentOnReady=((e,n)=>{if(t.C(e)&&!t.dt.has(e)){const o=t.ht.get(e)||[];o.push(n),t.ht.set(e,o)}else n(e)}),e.$r&&e.$r.forEach(t=>e.componentOnReady(t[0],t[1])),e.$r=null}(y,d),d.initialized=!0})(o,n,t,e,resourcesUrl,hydratedCssClass)})(window,document,Context,namespace); -})({},"ionicons","hydrated"); \ No newline at end of file diff --git a/docs/ionicons/ionicons.mx03kpck.js b/docs/ionicons/ionicons.mx03kpck.js new file mode 100644 index 00000000..447d5fe5 --- /dev/null +++ b/docs/ionicons/ionicons.mx03kpck.js @@ -0,0 +1,5 @@ +/*! Built with http://stenciljs.com */ +(function(Context,namespace,hydratedCssClass,resourcesUrl,s){"use strict"; +s=document.querySelector("script[data-namespace='ionicons']");if(s){resourcesUrl=s.getAttribute('data-resources-url');} +(function(t,e,n,o){"use strict";function i(t){return{t:t[0],e:t[1],n:!!t[2],o:!!t[3],i:!!t[4]}}function c(t,e){if(A(e)&&"object"!=typeof e&&"function"!=typeof e){if(t===Boolean||3===t)return"false"!==e&&(""===e||!!e);if(t===Number||4===t)return parseFloat(e);if(t===String||2===t)return e.toString()}return e}function f(t,e,n,o){const i=t.c.get(e);i&&((o=i["s-ld"]||i.$activeLoading)&&((n=o.indexOf(e))>-1&&o.splice(n,1),o.length||(i["s-init"]&&i["s-init"](),i.$initLoad&&i.$initLoad())),t.c.delete(e))}function r(t,e,n){let o,i,c=null,f=!1,r=!1;for(var l=arguments.length;l-- >2;)R.push(arguments[l]);for(;R.length>0;)if((n=R.pop())&&void 0!==n.pop)for(l=n.length;l--;)R.push(n[l]);else"boolean"==typeof n&&(n=null),(r="function"!=typeof t)&&(null==n?n="":"number"==typeof n?n=String(n):"string"!=typeof n&&(r=!1)),r&&f?c[c.length-1].f+=n:null===c?c=[r?{f:n}:n]:c.push(r?{f:n}:n),f=r;if(null!=e){if(e.className&&(e.class=e.className),"object"==typeof e.class){for(l in e.class)e.class[l]&&R.push(l);e.class=R.join(" "),R.length=0}null!=e.r&&(o=e.r),null!=e.name&&(i=e.name)}return"function"==typeof t?t(Object.assign({},e,{children:c}),L):{l:t,s:c,f:void 0,u:e,a:o,p:i,d:void 0,v:!1}}function l(t,e,n,o){e.split(" ").forEach(e=>{t[e]=!0,n&&(t[`${e}-${n}`]=!0,o&&(t[`${e}-${n}-${o}`]=t[`${e}-${o}`]=!0))})}function s(t,e){t.m.has(e)||(t.m.set(e,!0),t.b?t.queue.write(()=>u(t,e)):t.queue.tick(()=>u(t,e)))}function u(t,e,n,o,i,c){if(t.m.delete(e),!t.y.has(e)){if(o=t.w.get(e),n=!o){if((i=t.c.get(e))&&i.$rendered&&(i["s-rn"]=!0),i&&!i["s-rn"])return(i["s-rc"]=i["s-rc"]||[]).push(()=>{u(t,e)}),void(i.$onRender=i["s-rc"]);o=function f(t,e,n,o,i,c,r){try{(function l(t,e,n,o,i,c,f){for(f in t.g.set(o,n),t.M.has(n)||t.M.set(n,{}),(c=Object.assign({color:{type:String}},e.properties)).mode={type:String},c)p(t,c[f],n,o,f,i)})(t,i=t.C(e).k,e,o=new i,n)}catch(n){o={},t.j(n,7,e,!0)}return t.w.set(e,o),o}(t,e,t.W.get(e));try{o.componentWillLoad&&(c=o.componentWillLoad())}catch(n){t.j(n,3,e)}}c&&c.then?c.then(()=>a(t,e,o,n)):a(t,e,o,n)}}function a(t,e,n,o){(function i(t,e,n,o,c){try{const i=e.k.host;let f;if(o.render||o.hostData||i||f){t.x=!0;const f=o.render&&o.render();let s;s=o.hostData&&o.hostData(),t.x=!1,i&&(s=function f(t,e,n){return t=t||{},Object.keys(e).forEach(o=>{"theme"===o?l(t.class=t.class||{},e[o],n.mode,n.color):"class"===o?l(t[o]=t[o]||{},e[o]):t[o]=e[o]}),t}(s,i,o));const u=t.N.get(n)||{};u.d=n;const a=r(null,s,f);t.N.set(n,t.render(u,a,c,e.k.encapsulation))}t.O(t,t.A,e,o.mode,n),n["s-rn"]=!0,n.$onRender&&(n["s-rc"]=n.$onRender),n["s-rc"]&&(n["s-rc"].forEach(t=>t()),n["s-rc"]=null)}catch(e){t.x=!1,t.j(e,8,n,!0)}})(t,t.C(e),e,n,!o);try{o?e["s-init"]():w(t.N.get(e))}catch(n){t.j(n,6,e,!0)}}function p(t,e,n,o,i,f,r,l){if(e.type||e.state){const s=t.M.get(n);e.state||(!e.attr||void 0!==s[i]&&""!==s[i]||(r=f&&f.S)&&A(l=r[e.attr])&&(s[i]=c(e.type,l)),n.hasOwnProperty(i)&&(void 0===s[i]&&(s[i]=c(e.type,n[i])),delete n[i])),o.hasOwnProperty(i)&&void 0===s[i]&&(s[i]=o[i]),e.watchCallbacks&&(s[q+i]=e.watchCallbacks.slice()),m(o,i,function s(e){return(e=t.M.get(t.g.get(this)))&&e[i]},function u(n,o){(o=t.g.get(this))&&(e.state||e.mutable)&&d(t,o,i,n)})}else if(e.elementRef)v(o,i,n);else if(e.context){const c=t.T(e.context);void 0!==c&&v(o,i,c.R&&c.R(n)||c)}}function d(t,e,n,o,i,c,f){(i=t.M.get(e))||t.M.set(e,i={});const r=i[n];if(o!==r&&(i[n]=o,c=t.w.get(e))){if(f=i[q+n])for(let t=0;te!==t[r]));for(r=0,l=n.length;r=0;c--)(f=s[c])["s-hn"]!==m&&f["s-ol"]&&(e.J(f),e.K(l(f),f,r(f)),e.J(f["s-ol"]),f["s-ol"]=null,v=!0),i&&o(f,i);t.Z=!1}function i(t,o,i,c,f,l,s,u){const a=t["s-cr"]||t.$defaultHolder;for((s=a&&e.V(a)||t).shadowRoot&&(s=s.shadowRoot);f<=l;++f)c[f]&&(u=A(c[f].f)?e.I(c[f].f):n(null,i,f,t))&&(c[f].d=u,e.K(s,u,r(o)))}function c(t,n,i,c){for(;n<=i;++n)A(t[n])&&(c=t[n].d,d=!0,c["s-ol"]?e.J(c["s-ol"]):o(c,!0),e.J(c))}function f(t,e){return t.l===e.l&&t.a===e.a&&("slot"!==t.l||t.p===e.p)}function r(t){return t&&t["s-ol"]?t["s-ol"]:t}function l(t){return e.V(t["s-ol"]?t["s-ol"]:t)}const s=[];let u,a,p,d,v,m,b;return function u(h,$,w,g,M,k,C,j,W){if(p=w,m=e.X(h.d),b=h.d["s-cr"],a="scoped"===g||"shadow"===g&&!e.Y?"data-"+e.X(h.d):null,v=d=!1,p||a&&e.P(h.d,a+"-host",""),function s(u,a,p){const d=a.d=u.d,v=u.s,m=a.s;P=a.d&&A(e._(a.d))&&void 0!==a.d.ownerSVGElement,P="svg"===a.l||"foreignObject"!==a.l&&P,A(a.f)?(p=d["s-cr"]||d.$defaultHolder)?e.tt(e.V(p),a.f):u.f!==a.f&&e.tt(d,a.f):("slot"!==a.l&&y(t,u,a,P),A(v)&&A(m)?function b(t,u,a,p,d,v,m,h){let y=0,$=0,w=u.length-1,g=u[0],M=u[w],k=p.length-1,C=p[0],j=p[k];for(;y<=w&&$<=k;)if(null==g)g=u[++y];else if(null==M)M=u[--w];else if(null==C)C=p[++$];else if(null==j)j=p[--k];else if(f(g,C))s(g,C),g=u[++y],C=p[++$];else if(f(M,j))s(M,j),M=u[--w],j=p[--k];else if(f(g,j))"slot"!==g.l&&"slot"!==j.l||o(e.V(g.d)),s(g,j),e.K(t,g.d,e.et(M.d)),g=u[++y],j=p[--k];else if(f(M,C))"slot"!==g.l&&"slot"!==j.l||o(e.V(M.d)),s(M,C),e.K(t,M.d,g.d),M=u[--w],C=p[++$];else{for(d=null,v=y;v<=w;++v)if(u[v]&&A(u[v].a)&&u[v].a===C.a){d=v;break}A(d)?((h=u[d]).l!==C.l?m=n(u&&u[$],a,d,t):(s(h,C),u[d]=void 0,m=h.d),C=p[++$]):(m=n(u&&u[$],a,$,t),C=p[++$]),m&&e.K(l(g.d),m,r(g.d))}y>w?i(t,null==p[k+1]?null:p[k+1].d,a,p,$,k):$>k&&c(u,y,w)}(d,v,a,m):A(m)?(A(u.f)&&e.tt(d,""),i(d,null,a,m,0,m.length-1)):A(v)&&c(v,0,v.length-1)),P&&"svg"===a.l&&(P=!1)}(h,$),v){for(function t(n,o,i,c,f,r,l,u,a,p){for(f=0,r=(o=e.G(n)).length;f=0;l--)(c=u[l])["s-cn"]||c["s-nr"]||c["s-hn"]===i["s-hn"]||((3===(p=e.nt(c))||8===p)&&""===a||1===p&&null===e.ot(c,"slot")&&""===a||1===p&&e.ot(c,"slot")===a)&&(s.some(t=>t.it===c)||(d=!0,c["s-sn"]=a,s.push({ct:i,it:c})));1===e.nt(i)&&t(i)}}($.d),k=0;k{w(t,e)}))}function g(t,e,n,o,i){const c=t.nt(e);let f,r,l,s;if(i&&1===c){(r=t.ot(e,W))&&(l=r.split("."))[0]===o&&((s={}).l=t.X(s.d=e),n.s||(n.s=[]),n.s[l[1]]=s,n=s,i=""!==l[2]);for(let c=0;c{(i=e.L[c].st)&&(o.S[i]=t.ot(n,i))}),o}function k(t,e,n,o){n.connectedCallback=function(){(function n(t,e,o){t.y.delete(o),t.ut.has(o)||(t.ut.set(o,!0),o["s-id"]||(o["s-id"]=t.at()),function i(t,e,n){for(n=e;n=t.A._(n);)if(t.pt(n)){t.dt.has(e)||(t.c.set(e,n),n.$activeLoading&&(n["s-ld"]=n.$activeLoading),(n["s-ld"]=n["s-ld"]||[]).push(e));break}}(t,o),t.queue.tick(()=>t.vt(e,o,M(t.A,e,o))))})(t,e,this)},n.attributeChangedCallback=function(t,n,o){(function i(t,e,n,o,f,r,l){if(t&&o!==f)for(r in t)if((l=t[r]).st&&S(l.st)===S(n)){e[r]=c(l.mt,f);break}})(e.L,this,t,n,o)},n.disconnectedCallback=function(){(function e(t,n,o){!t.Z&&function i(t,e){for(;e;){if(!t.V(e))return 9!==t.nt(e);e=t.V(e)}}(t.A,n)&&(t.y.set(n,!0),f(t,n),w(t.N.get(n),!0),t.A.D(n),t.bt.delete(n),[t.c,t.ht,t.W].forEach(t=>t.delete(n)))})(t,this)},n["s-init"]=function(){(function e(t,n,o,i,c){if(!t.dt.has(n)&&t.w.get(n)&&!t.y.has(n)&&(!n["s-ld"]||!n["s-ld"].length)){delete n["s-ld"],t.dt.set(n,!0);try{w(t.N.get(n)),(c=t.ht.get(n))&&(c.forEach(t=>t(n)),t.ht.delete(n))}catch(e){t.j(e,4,n)}n.classList.add(o),f(t,n)}})(t,this,o)},n.forceUpdate=function(){s(t,this)},function i(t,e,n){e&&Object.keys(e).forEach(o=>{const i=e[o],f=i.yt;1===f||2===f?m(n,o,function e(){return(t.M.get(this)||{})[o]},function e(n){d(t,this,o,c(i.mt,n))}):6===f&&v(n,o,T)})}(t,e.L,n)}function C(t,e,n,o){return function(){const i=arguments;return function c(t,e,n){return new Promise(o=>{let i=e[n];i||(i=t.$t.querySelector(n)),i||(i=e[n]=t.z(n),t.Q(t.$t,i)),i.componentOnReady(o)})}(t,e,n).then(t=>t[o].apply(t,i))}}const j="data-ssrv",W="data-ssrc",x="$",E={},N=[],O={enter:13,escape:27,space:32,tab:9,left:37,up:38,right:39,down:40},A=t=>null!=t,S=t=>t.toLowerCase(),T=()=>{},R=[],L={getAttributes:t=>t.u,replaceAttributes:(t,e)=>t.u=e},q="wc-",B={allowfullscreen:1,async:1,autofocus:1,autoplay:1,checked:1,controls:1,disabled:1,enabled:1,formnovalidate:1,hidden:1,multiple:1,noresize:1,readonly:1,required:1,selected:1,spellcheck:1},D="http://www.w3.org/1999/xlink";let P=!1;(function F(t,e,n,o,c,f,l){function u(t,e){if(!b[t.wt]){b[t.wt]=!0,k(y,a[t.wt]=t,e.prototype,f);{const n=e.observedAttributes=[];for(const e in t.L)t.L[e].st&&n.push(t.L[e].st)}n.customElements.define(t.wt,e)}}const a={html:{}},p={},d=n[t]=n[t]||{},v=function m(t,e,n){t.gt||(t.gt=((t,e,n,o)=>t.addEventListener(e,n,o)),t.Mt=((t,e,n,o)=>t.removeEventListener(e,n,o)));const o=new WeakMap,i={kt:n.documentElement,Ct:n.head,$t:n.body,jt:!1,nt:t=>t.nodeType,z:t=>n.createElement(t),U:(t,e)=>n.createElementNS(t,e),I:t=>n.createTextNode(t),Wt:t=>n.createComment(t),K:(t,e,n)=>t.insertBefore(e,n),J:t=>t.remove(),Q:(t,e)=>t.appendChild(e),G:t=>t.childNodes,V:t=>t.parentNode,et:t=>t.nextSibling,ft:t=>t.previousSibling,X:t=>S(t.nodeName),rt:t=>t.textContent,tt:(t,e)=>t.textContent=e,ot:(t,e)=>t.getAttribute(e),P:(t,e,n)=>t.setAttribute(e,n),xt:(t,e,n,o)=>t.setAttributeNS(e,n,o),q:(t,e)=>t.removeAttribute(e),Et:(t,o)=>{return"child"===o?t.firstElementChild:"parent"===o?i._(t):"body"===o?i.$t:"document"===o?n:"window"===o?e:t},B:(e,n,c,f,r,l,s,u)=>{const a=n;let p=e,d=o.get(e);if(d&&d[a]&&d[a](),"string"==typeof l?p=i.Et(e,l):"object"==typeof l?p=l:(u=n.split(":")).length>1&&(p=i.Et(e,u[0]),n=u[1]),!p)return;let v=c;(u=n.split(".")).length>1&&(n=u[0],v=(t=>{t.keyCode===O[u[1]]&&c(t)})),s=i.jt?{capture:!!f,passive:!!r}:!!f,t.gt(p,n,v,s),d||o.set(e,d={}),d[a]=(()=>{p&&t.Mt(p,n,v,s),d[a]=null})},D:(t,e)=>{const n=o.get(t);n&&(e?n[e]&&n[e]():Object.keys(n).forEach(t=>{n[t]&&n[t]()}))},Nt:(t,n,o)=>t&&t.dispatchEvent(new e.CustomEvent(n,o)),_:(t,e)=>(e=i.V(t))&&11===i.nt(e)?e.host:e};return i}(d,n,o);e.isServer=e.isPrerender=!(e.isClient=!0),e.window=n,e.location=n.location,e.document=o,e.resourcesUrl=e.publicPath=c,d.h=r,d.Context=e;const b=n.$definedCmps=n.$definedCmps||{};let h=0;const y={A:v,Ot:u,At:e.emit,C:t=>a[v.X(t)],T:t=>e[t],isClient:!0,pt:t=>!(!b[v.X(t)]&&!y.C(t)),at:()=>t+h++,j:(t,e,n)=>void 0,St:t=>(function e(t,n,o){return{create:C(t,n,o,"create"),componentOnReady:C(t,n,o,"componentOnReady")}})(v,p,t),queue:e.queue=function w(t,e){function n(t){for(let e=0;e0&&(u.push(...s),s.length=0),(p=l.length+s.length+u.length>0)?t.raf(i):a=0}const c=()=>e.performance.now(),f=Promise.resolve(),r=[],l=[],s=[],u=[];let a=0,p=!1;return t.raf||(t.raf=e.requestAnimationFrame.bind(e)),{tick(t){r.push(t),1===r.length&&f.then(()=>n(r))},read(e){l.push(e),p||(p=!0,t.raf(i))},write(e){s.push(e),p||(p=!0,t.raf(i))}}}(d,n),vt:function W(t,n){if(n.mode||(n.mode=v.ot(n,"mode")||e.mode),M(y.A,t,n),t.k)s(y,n);else{const e="string"==typeof t.Tt?t.Tt:t.Tt[n.mode],o=c+e+(function o(t,e){return 2===e.encapsulation||1===e.encapsulation&&!t}(v.Y,t)?".sc":"")+".js";import(o).then(e=>{try{(function o(t,e,n){const o=n.style;if(o){const i=n.is+(n.styleMode||x);if(!e[i]){const n=t.z("template");e[i]=n,n.innerHTML=``,t.Q(t.Ct,n)}}})(v,t,t.k=e[(t=>S(t).split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""))(t.wt)])}catch(e){t.k=class{}}s(y,n)}).catch(t=>void 0)}},c:new WeakMap,Rt:new WeakMap,ut:new WeakMap,bt:new WeakMap,dt:new WeakMap,g:new WeakMap,W:new WeakMap,w:new WeakMap,y:new WeakMap,m:new WeakMap,ht:new WeakMap,Lt:new WeakMap,N:new WeakMap,M:new WeakMap};y.render=$(y,v);const E=v.kt;E["s-ld"]=[],E["s-rn"]=!0,E["s-init"]=(()=>{y.dt.set(E,d.loaded=y.b=!0),v.Nt(n,"appload",{detail:{namespace:t}})}),function N(t,e,n){const o=n.querySelectorAll(`[${j}]`),i=o.length;let c,f,r,l,s,u;if(i>0)for(t.dt.set(n,!0),l=0;l{(function c(t,e,n,o,i,f,r){let l=n.wt+(o||x),s=n[l];if(s||(s=n[l=n.wt+x]),s){let o=e.Ct;if(e.Y)if(1===n.encapsulation)o=i.shadowRoot;else for(;i=e.V(i);)if(i.host&&i.host.shadowRoot){o=i.host.shadowRoot;break}const c=t.Rt.get(o)||{};if(!c[l]){r=s.content.cloneNode(!0);const n=o.querySelectorAll("[data-styles]");e.K(o,r,n.length&&n[n.length-1].nextSibling||o.qt),c[l]=!0,t.Rt.set(o,c)}}})(t,e,n,o,i)}),(d.components||[]).map(t=>(function e(t,n,o){const c={wt:t[0],L:{color:{st:"color"}}};c.Tt=t[1];const f=t[3];if(f)for(n=0;nu(t,class extends HTMLElement{})),function A(t,e){e.componentOnReady=((e,n)=>{if(t.C(e)&&!t.dt.has(e)){const o=t.ht.get(e)||[];o.push(n),t.ht.set(e,o)}else n(e)}),e.$r&&e.$r.forEach(t=>e.componentOnReady(t[0],t[1])),e.$r=null}(y,d),d.initialized=!0})(o,n,t,e,resourcesUrl,hydratedCssClass)})(window,document,Context,namespace); +})({},"ionicons","hydrated"); \ No newline at end of file diff --git a/docs/ionicons/jhsqswyy.es5.js b/docs/ionicons/plvdxapx.es5.js similarity index 93% rename from docs/ionicons/jhsqswyy.es5.js rename to docs/ionicons/plvdxapx.es5.js index 41bdecba..75c9e92b 100644 --- a/docs/ionicons/jhsqswyy.es5.js +++ b/docs/ionicons/plvdxapx.es5.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -ionicons.loadBundle("jhsqswyy",["exports"],function(e){var t=window.ionicons.h,n=function(){function e(){this.svgContent=null,this.ariaLabel="",this.ios="",this.md="",this.name="",this.src="",this.icon=""}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.waitUntilVisible=function(e,t,n){if(this.win.IntersectionObserver){var i=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(i.disconnect(),n())},{rootMargin:t});i.observe(e)}else n()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=i.get(e);return t||(t=fetch(e,{keepalive:!0,cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),i.set(e,t)),t}(t).then(function(t){e.svgContent=t})}},e.prototype.getUrl=function(){var e=o(this.src);return e||((e=r(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(e):(e=o(this.icon))?e:(e=r(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(e):null)},e.prototype.getNamedUrl=function(e){return this.resourcesUrl+"svg/"+e+".svg"},e.prototype.hostData=function(){var e={role:"img"};this.ariaLabel||r(this.name,this.mode,this.ios,this.md)&&(e["aria-label"]=this.name.replace("ios-","").replace("md-","").replace(/\-/g," "));var t={};return this.size&&(t["icon-"+this.size]=!0),Object.assign({},e,{class:t})},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:function(e,t){if(t){var n=e.createDocumentFragment(),i=e.createElement("div");i.innerHTML=t,n.appendChild(i);for(var r=i.childNodes.length-1;r>=0;r--)"svg"!==i.childNodes[r].nodeName.toLowerCase()&&i.removeChild(i.childNodes[r]);var o=i.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var n=0;n0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=n,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file +ionicons.loadBundle("plvdxapx",["exports"],function(e){var t=window.ionicons.h,n=function(){function e(){this.svgContent=null,this.ariaLabel="",this.ios="",this.md="",this.name="",this.src="",this.icon=""}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.waitUntilVisible=function(e,t,n){if(this.win.IntersectionObserver){var i=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(i.disconnect(),n())},{rootMargin:t});i.observe(e)}else n()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=i.get(e);return t||(t=fetch(e,{keepalive:!0,cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),i.set(e,t)),t}(t).then(function(t){e.svgContent=t})}},e.prototype.getUrl=function(){var e=o(this.src);return e||((e=r(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(e):(e=o(this.icon))?e:(e=r(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(e):null)},e.prototype.getNamedUrl=function(e){return this.resourcesUrl+"svg/"+e+".svg"},e.prototype.hostData=function(){var e={role:"img"};this.ariaLabel||r(this.name,this.mode,this.ios,this.md)&&(e["aria-label"]=this.name.replace("ios-","").replace("md-","").replace(/\-/g," "));var t={};return this.size&&(t["icon-"+this.size]=!0),Object.assign({},e,{class:t})},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:function(e,t){if(t){var n=e.createDocumentFragment(),i=e.createElement("div");i.innerHTML=t,n.appendChild(i);for(var r=i.childNodes.length-1;r>=0;r--)"svg"!==i.childNodes[r].nodeName.toLowerCase()&&i.removeChild(i.childNodes[r]);var o=i.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var n=0;n0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=n,Object.defineProperty(e,"__esModule",{value:!0})}); \ No newline at end of file diff --git a/docs/ionicons/jhsqswyy.js b/docs/ionicons/plvdxapx.js similarity index 93% rename from docs/ionicons/jhsqswyy.js rename to docs/ionicons/plvdxapx.js index b7a0d61a..281918fc 100644 --- a/docs/ionicons/jhsqswyy.js +++ b/docs/ionicons/plvdxapx.js @@ -1,2 +1,2 @@ /*! Built with http://stenciljs.com */ -const{h:t}=window.ionicons;class e{constructor(){this.svgContent=null,this.ariaLabel="",this.ios="",this.md="",this.name="",this.src="",this.icon=""}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}waitUntilVisible(t,e,i){if(this.win.IntersectionObserver){const s=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t){let e=i.get(t);return e||(e=fetch(t,{keepalive:!0,cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=t})}}getUrl(){let t=n(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=s(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){const t={role:"img"};this.ariaLabel||s(this.name,this.mode,this.ios,this.md)&&(t["aria-label"]=this.name.replace("ios-","").replace("md-","").replace(/\-/g," "));const e={};return this.size&&(e[`icon-${this.size}`]=!0),Object.assign({},t,{class:e})}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:function(t,e){if(e){const i=t.createDocumentFragment(),s=t.createElement("div");s.innerHTML=e,i.appendChild(s);for(let t=s.childNodes.length-1;t>=0;t--)"svg"!==s.childNodes[t].nodeName.toLowerCase()&&s.removeChild(s.childNodes[t]);const n=s.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon}; \ No newline at end of file +const{h:t}=window.ionicons;class e{constructor(){this.svgContent=null,this.ariaLabel="",this.ios="",this.md="",this.name="",this.src="",this.icon=""}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}waitUntilVisible(t,e,i){if(this.win.IntersectionObserver){const s=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),i())},{rootMargin:e});s.observe(t)}else i()}loadIcon(){if(!this.isServer&&this.isVisible){const t=this.getUrl();t&&function(t){let e=i.get(t);return e||(e=fetch(t,{keepalive:!0,cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=t})}}getUrl(){let t=n(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=n(this.icon))?t:(t=s(this.icon,this.mode,this.ios,this.md))?this.getNamedUrl(t):null)}getNamedUrl(t){return`${this.resourcesUrl}svg/${t}.svg`}hostData(){const t={role:"img"};this.ariaLabel||s(this.name,this.mode,this.ios,this.md)&&(t["aria-label"]=this.name.replace("ios-","").replace("md-","").replace(/\-/g," "));const e={};return this.size&&(e[`icon-${this.size}`]=!0),Object.assign({},t,{class:e})}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:function(t,e){if(e){const i=t.createDocumentFragment(),s=t.createElement("div");s.innerHTML=e,i.appendChild(s);for(let t=s.childNodes.length-1;t>=0;t--)"svg"!==s.childNodes[t].nodeName.toLowerCase()&&s.removeChild(s.childNodes[t]);const n=s.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon}; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index fc36374e..ca138b24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -95,8 +95,8 @@ "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "dev": true, "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" + "micromatch": "3.1.10", + "normalize-path": "2.1.1" } }, "arr-diff": { @@ -117,16 +117,16 @@ "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", "dev": true, "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "repeat-element": "1.1.2", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" }, "dependencies": { "extend-shallow": { @@ -135,7 +135,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -146,18 +146,18 @@ "integrity": "sha512-zW8iXYZtXMx4kux/nuZVXjkLP+CyIK5Al5FHnj1OgTKGZfp4Oy6/ymtMSKFv3GD8DviEmUPmJg9eFdJ/JzudMg==", "dev": true, "requires": { - "anymatch": "^2.0.0", - "async-each": "^1.0.0", - "braces": "^2.3.0", - "fsevents": "^1.1.2", - "glob-parent": "^3.1.0", - "inherits": "^2.0.1", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^2.1.1", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.0.0", - "upath": "^1.0.0" + "anymatch": "2.0.0", + "async-each": "1.0.1", + "braces": "2.3.2", + "fsevents": "1.1.3", + "glob-parent": "3.1.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "4.0.0", + "normalize-path": "2.1.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0", + "upath": "1.1.0" } }, "expand-brackets": { @@ -166,13 +166,13 @@ "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", "dev": true, "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -181,7 +181,7 @@ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "is-descriptor": "0.1.6" } }, "extend-shallow": { @@ -190,7 +190,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } }, "is-accessor-descriptor": { @@ -199,7 +199,7 @@ "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -208,7 +208,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -219,7 +219,7 @@ "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -228,7 +228,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -239,9 +239,9 @@ "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "dev": true, "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" } }, "kind-of": { @@ -258,14 +258,14 @@ "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", "dev": true, "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" }, "dependencies": { "define-property": { @@ -274,7 +274,7 @@ "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "dev": true, "requires": { - "is-descriptor": "^1.0.0" + "is-descriptor": "1.0.2" } }, "extend-shallow": { @@ -283,7 +283,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -294,10 +294,10 @@ "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", "dev": true, "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" }, "dependencies": { "extend-shallow": { @@ -306,7 +306,7 @@ "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "is-extendable": "0.1.1" } } } @@ -317,8 +317,8 @@ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", "dev": true, "requires": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" + "is-glob": "3.1.0", + "path-dirname": "1.0.2" }, "dependencies": { "is-glob": { @@ -327,7 +327,7 @@ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", "dev": true, "requires": { - "is-extglob": "^2.1.0" + "is-extglob": "2.1.1" } } } @@ -338,7 +338,7 @@ "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-data-descriptor": { @@ -347,7 +347,7 @@ "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "kind-of": "6.0.2" } }, "is-descriptor": { @@ -356,9 +356,9 @@ "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "is-accessor-descriptor": "1.0.0", + "is-data-descriptor": "1.0.0", + "kind-of": "6.0.2" } }, "is-extglob": { @@ -373,7 +373,7 @@ "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", "dev": true, "requires": { - "is-extglob": "^2.1.1" + "is-extglob": "2.1.1" } }, "is-number": { @@ -382,7 +382,7 @@ "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", "dev": true, "requires": { - "kind-of": "^3.0.2" + "kind-of": "3.2.2" }, "dependencies": { "kind-of": { @@ -391,7 +391,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "^1.1.5" + "is-buffer": "1.1.6" } } } @@ -414,19 +414,19 @@ "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "dev": true, "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.2", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.9", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" } } } @@ -2939,6 +2939,7 @@ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.3.tgz", "integrity": "sha512-WIr7iDkdmdbxu/Gh6eKEZJL6KPE74/5MEsf2whTOFNxbIoIixogroLdKYqB6FDav4Wavh/lZdzzd3b2KxIXC5Q==", "dev": true, + "optional": true, "requires": { "nan": "2.7.0", "node-pre-gyp": "0.6.39" @@ -2947,12 +2948,14 @@ "abbrev": { "version": "1.1.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ajv": { "version": "4.11.8", "bundled": true, "dev": true, + "optional": true, "requires": { "co": "4.6.0", "json-stable-stringify": "1.0.1" @@ -2966,12 +2969,14 @@ "aproba": { "version": "1.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "are-we-there-yet": { "version": "1.1.4", "bundled": true, "dev": true, + "optional": true, "requires": { "delegates": "1.0.0", "readable-stream": "2.2.9" @@ -2980,27 +2985,32 @@ "asn1": { "version": "0.2.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "assert-plus": { "version": "0.2.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "asynckit": { "version": "0.4.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aws-sign2": { "version": "0.6.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "aws4": { "version": "1.6.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "balanced-match": { "version": "0.4.2", @@ -3049,12 +3059,14 @@ "caseless": { "version": "0.12.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "co": { "version": "4.6.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "code-point-at": { "version": "1.1.0", @@ -3096,6 +3108,7 @@ "version": "1.14.1", "bundled": true, "dev": true, + "optional": true, "requires": { "assert-plus": "1.0.0" }, @@ -3103,7 +3116,8 @@ "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -3111,6 +3125,7 @@ "version": "2.6.8", "bundled": true, "dev": true, + "optional": true, "requires": { "ms": "2.0.0" } @@ -3118,7 +3133,8 @@ "deep-extend": { "version": "0.4.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "delayed-stream": { "version": "1.0.0", @@ -3128,12 +3144,14 @@ "delegates": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "detect-libc": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "ecc-jsbn": { "version": "0.1.1", @@ -3147,7 +3165,8 @@ "extend": { "version": "3.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "extsprintf": { "version": "1.0.2", @@ -3157,12 +3176,14 @@ "forever-agent": { "version": "0.6.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "form-data": { "version": "2.1.4", "bundled": true, "dev": true, + "optional": true, "requires": { "asynckit": "0.4.0", "combined-stream": "1.0.5", @@ -3189,6 +3210,7 @@ "version": "1.0.5", "bundled": true, "dev": true, + "optional": true, "requires": { "fstream": "1.0.11", "inherits": "2.0.3", @@ -3199,6 +3221,7 @@ "version": "2.7.4", "bundled": true, "dev": true, + "optional": true, "requires": { "aproba": "1.1.1", "console-control-strings": "1.1.0", @@ -3214,6 +3237,7 @@ "version": "0.1.7", "bundled": true, "dev": true, + "optional": true, "requires": { "assert-plus": "1.0.0" }, @@ -3221,7 +3245,8 @@ "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -3246,12 +3271,14 @@ "har-schema": { "version": "1.0.5", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "har-validator": { "version": "4.2.1", "bundled": true, "dev": true, + "optional": true, "requires": { "ajv": "4.11.8", "har-schema": "1.0.5" @@ -3260,7 +3287,8 @@ "has-unicode": { "version": "2.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "hawk": { "version": "3.1.3", @@ -3282,6 +3310,7 @@ "version": "1.1.1", "bundled": true, "dev": true, + "optional": true, "requires": { "assert-plus": "0.2.0", "jsprim": "1.4.0", @@ -3305,7 +3334,8 @@ "ini": { "version": "1.3.4", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", @@ -3318,7 +3348,8 @@ "is-typedarray": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "isarray": { "version": "1.0.0", @@ -3328,7 +3359,8 @@ "isstream": { "version": "0.1.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "jodid25519": { "version": "1.0.2", @@ -3348,12 +3380,14 @@ "json-schema": { "version": "0.2.3", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "json-stable-stringify": { "version": "1.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "jsonify": "0.0.0" } @@ -3361,17 +3395,20 @@ "json-stringify-safe": { "version": "5.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "jsonify": { "version": "0.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "jsprim": { "version": "1.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "assert-plus": "1.0.0", "extsprintf": "1.0.2", @@ -3382,7 +3419,8 @@ "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -3423,12 +3461,14 @@ "ms": { "version": "2.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "node-pre-gyp": { "version": "0.6.39", "bundled": true, "dev": true, + "optional": true, "requires": { "detect-libc": "1.0.2", "hawk": "3.1.3", @@ -3447,6 +3487,7 @@ "version": "4.0.1", "bundled": true, "dev": true, + "optional": true, "requires": { "abbrev": "1.1.0", "osenv": "0.1.4" @@ -3456,6 +3497,7 @@ "version": "4.1.0", "bundled": true, "dev": true, + "optional": true, "requires": { "are-we-there-yet": "1.1.4", "console-control-strings": "1.1.0", @@ -3471,12 +3513,14 @@ "oauth-sign": { "version": "0.8.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "object-assign": { "version": "4.1.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "once": { "version": "1.4.0", @@ -3489,17 +3533,20 @@ "os-homedir": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "os-tmpdir": { "version": "1.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "osenv": { "version": "0.1.4", "bundled": true, "dev": true, + "optional": true, "requires": { "os-homedir": "1.0.2", "os-tmpdir": "1.0.2" @@ -3513,7 +3560,8 @@ "performance-now": { "version": "0.2.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "process-nextick-args": { "version": "1.0.7", @@ -3523,17 +3571,20 @@ "punycode": { "version": "1.4.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "qs": { "version": "6.4.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "rc": { "version": "1.2.1", "bundled": true, "dev": true, + "optional": true, "requires": { "deep-extend": "0.4.2", "ini": "1.3.4", @@ -3544,7 +3595,8 @@ "minimist": { "version": "1.2.0", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -3566,6 +3618,7 @@ "version": "2.81.0", "bundled": true, "dev": true, + "optional": true, "requires": { "aws-sign2": "0.6.0", "aws4": "1.6.0", @@ -3607,17 +3660,20 @@ "semver": { "version": "5.3.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "set-blocking": { "version": "2.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "signal-exit": { "version": "3.0.2", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "sntp": { "version": "1.0.9", @@ -3631,6 +3687,7 @@ "version": "1.13.0", "bundled": true, "dev": true, + "optional": true, "requires": { "asn1": "0.2.3", "assert-plus": "1.0.0", @@ -3646,7 +3703,8 @@ "assert-plus": { "version": "1.0.0", "bundled": true, - "dev": true + "dev": true, + "optional": true } } }, @@ -3671,7 +3729,8 @@ "stringstream": { "version": "0.0.5", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "strip-ansi": { "version": "3.0.1", @@ -3684,7 +3743,8 @@ "strip-json-comments": { "version": "2.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "tar": { "version": "2.2.1", @@ -3700,6 +3760,7 @@ "version": "3.4.0", "bundled": true, "dev": true, + "optional": true, "requires": { "debug": "2.6.8", "fstream": "1.0.11", @@ -3715,6 +3776,7 @@ "version": "2.3.2", "bundled": true, "dev": true, + "optional": true, "requires": { "punycode": "1.4.1" } @@ -3723,6 +3785,7 @@ "version": "0.6.0", "bundled": true, "dev": true, + "optional": true, "requires": { "safe-buffer": "5.0.1" } @@ -3736,7 +3799,8 @@ "uid-number": { "version": "0.0.6", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "util-deprecate": { "version": "1.0.2", @@ -3746,12 +3810,14 @@ "uuid": { "version": "3.0.1", "bundled": true, - "dev": true + "dev": true, + "optional": true }, "verror": { "version": "1.3.6", "bundled": true, "dev": true, + "optional": true, "requires": { "extsprintf": "1.0.2" } @@ -3760,6 +3826,7 @@ "version": "1.1.2", "bundled": true, "dev": true, + "optional": true, "requires": { "string-width": "1.0.2" } diff --git a/scripts/copy-tasks.js b/scripts/copy-tasks.js index 336aa1e6..1be2574d 100644 --- a/scripts/copy-tasks.js +++ b/scripts/copy-tasks.js @@ -17,6 +17,6 @@ fs.emptyDirSync(distFontsDir); fs.copySync(optimizedSvgsDir, collectionSvgsDir); fs.copySync(optimizedSvgsDir, docsSvgsDir); -fs.moveSync(optimizedSvgsDir, componentSvgsDir); +fs.moveSync(optimizedSvgsDir, componentSvgsDir, {overwrite: true}); fs.copySync(docsFontsDir, distFontsDir); diff --git a/scripts/manifest.json b/scripts/manifest.json index cdbdcee4..ac0f7d6d 100755 --- a/scripts/manifest.json +++ b/scripts/manifest.json @@ -1,6 +1,6 @@ { "prefix": "ion-", - "hash": "de492fb209db00f4df47a4fde307fd550e06b5ad13d0b13ca682393f1c9b0086", + "hash": "6039e6edf12df18d3ecb072b38966de4139d91699a91535c2d21cd4b2c2f4dff", "name": "Ionicons", "icons": [ { diff --git a/src/components.d.ts b/src/components.d.ts new file mode 100644 index 00000000..b846841f --- /dev/null +++ b/src/components.d.ts @@ -0,0 +1,445 @@ +/** + * This is an autogenerated file created by the Stencil build process. + * It contains typing information for all components that exist in this project + * and imports for stencil collections that might be configured in your stencil.config.js file + */ + +import '@stencil/core'; + +declare global { + namespace JSX { + interface Element {} + export interface IntrinsicElements {} + } + namespace JSXElements {} + + interface HTMLStencilElement extends HTMLElement { + componentOnReady(): Promise; + componentOnReady(done: (ele?: this) => void): void; + + forceUpdate(): void; + } + + interface HTMLAttributes {} +} + +import '@stencil/router'; + +import { + MatchResults, +} from '@stencil/router'; + +declare global { + + namespace StencilComponents { + interface IonIcon { + /** + * Specifies the label to use for accessibility. Defaults to the icon name. + */ + 'ariaLabel': string; + 'color': string; + /** + * A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. + */ + 'icon': string; + /** + * Specifies which icon to use on `ios` mode. + */ + 'ios': string; + /** + * Specifies which icon to use on `md` mode. + */ + 'md': string; + /** + * Specifies which icon to use from the built-in set of icons. + */ + 'name': string; + /** + * The size of the icon. Available options are: `"small"` and `"large"`. + */ + 'size': string; + /** + * Specifies the exact `src` of an SVG file to use. + */ + 'src': string; + } + } + + interface HTMLIonIconElement extends StencilComponents.IonIcon, HTMLStencilElement {} + + var HTMLIonIconElement: { + prototype: HTMLIonIconElement; + new (): HTMLIonIconElement; + }; + interface HTMLElementTagNameMap { + 'ion-icon': HTMLIonIconElement; + } + interface ElementTagNameMap { + 'ion-icon': HTMLIonIconElement; + } + namespace JSX { + interface IntrinsicElements { + 'ion-icon': JSXElements.IonIconAttributes; + } + } + namespace JSXElements { + export interface IonIconAttributes extends HTMLAttributes { + /** + * Specifies the label to use for accessibility. Defaults to the icon name. + */ + 'ariaLabel'?: string; + 'color'?: string; + /** + * A combination of both `name` and `src`. If a `src` url is detected it will set the `src` property. Otherwise it assumes it's a built-in named SVG and set the `name` property. + */ + 'icon'?: string; + /** + * Specifies which icon to use on `ios` mode. + */ + 'ios'?: string; + /** + * Specifies which icon to use on `md` mode. + */ + 'md'?: string; + /** + * Specifies which icon to use from the built-in set of icons. + */ + 'name'?: string; + /** + * The size of the icon. Available options are: `"small"` and `"large"`. + */ + 'size'?: string; + /** + * Specifies the exact `src` of an SVG file to use. + */ + 'src'?: string; + } + } +} + + +declare global { + + namespace StencilComponents { + interface FooterBar { + + } + } + + interface HTMLFooterBarElement extends StencilComponents.FooterBar, HTMLStencilElement {} + + var HTMLFooterBarElement: { + prototype: HTMLFooterBarElement; + new (): HTMLFooterBarElement; + }; + interface HTMLElementTagNameMap { + 'footer-bar': HTMLFooterBarElement; + } + interface ElementTagNameMap { + 'footer-bar': HTMLFooterBarElement; + } + namespace JSX { + interface IntrinsicElements { + 'footer-bar': JSXElements.FooterBarAttributes; + } + } + namespace JSXElements { + export interface FooterBarAttributes extends HTMLAttributes { + + } + } +} + + +declare global { + + namespace StencilComponents { + interface HeaderBar { + 'isSearchVisible': boolean; + 'query': string; + 'version': string; + } + } + + interface HTMLHeaderBarElement extends StencilComponents.HeaderBar, HTMLStencilElement {} + + var HTMLHeaderBarElement: { + prototype: HTMLHeaderBarElement; + new (): HTMLHeaderBarElement; + }; + interface HTMLElementTagNameMap { + 'header-bar': HTMLHeaderBarElement; + } + interface ElementTagNameMap { + 'header-bar': HTMLHeaderBarElement; + } + namespace JSX { + interface IntrinsicElements { + 'header-bar': JSXElements.HeaderBarAttributes; + } + } + namespace JSXElements { + export interface HeaderBarAttributes extends HTMLAttributes { + 'isSearchVisible'?: boolean; + 'onToggleHeaderSearch'?: (event: CustomEvent) => void; + 'query'?: string; + 'version'?: string; + } + } +} + + +declare global { + + namespace StencilComponents { + interface IconList { + 'data': any; + 'query': string; + } + } + + interface HTMLIconListElement extends StencilComponents.IconList, HTMLStencilElement {} + + var HTMLIconListElement: { + prototype: HTMLIconListElement; + new (): HTMLIconListElement; + }; + interface HTMLElementTagNameMap { + 'icon-list': HTMLIconListElement; + } + interface ElementTagNameMap { + 'icon-list': HTMLIconListElement; + } + namespace JSX { + interface IntrinsicElements { + 'icon-list': JSXElements.IconListAttributes; + } + } + namespace JSXElements { + export interface IconListAttributes extends HTMLAttributes { + 'data'?: any; + 'query'?: string; + } + } +} + + +declare global { + + namespace StencilComponents { + interface IconSearch { + 'autofocus': string; + 'query': string; + 'size': string; + } + } + + interface HTMLIconSearchElement extends StencilComponents.IconSearch, HTMLStencilElement {} + + var HTMLIconSearchElement: { + prototype: HTMLIconSearchElement; + new (): HTMLIconSearchElement; + }; + interface HTMLElementTagNameMap { + 'icon-search': HTMLIconSearchElement; + } + interface ElementTagNameMap { + 'icon-search': HTMLIconSearchElement; + } + namespace JSX { + interface IntrinsicElements { + 'icon-search': JSXElements.IconSearchAttributes; + } + } + namespace JSXElements { + export interface IconSearchAttributes extends HTMLAttributes { + 'autofocus'?: string; + 'onHasSearched'?: (event: CustomEvent) => void; + 'query'?: string; + 'size'?: string; + } + } +} + + +declare global { + + namespace StencilComponents { + interface IoniconsSite { + + } + } + + interface HTMLIoniconsSiteElement extends StencilComponents.IoniconsSite, HTMLStencilElement {} + + var HTMLIoniconsSiteElement: { + prototype: HTMLIoniconsSiteElement; + new (): HTMLIoniconsSiteElement; + }; + interface HTMLElementTagNameMap { + 'ionicons-site': HTMLIoniconsSiteElement; + } + interface ElementTagNameMap { + 'ionicons-site': HTMLIoniconsSiteElement; + } + namespace JSX { + interface IntrinsicElements { + 'ionicons-site': JSXElements.IoniconsSiteAttributes; + } + } + namespace JSXElements { + export interface IoniconsSiteAttributes extends HTMLAttributes { + + } + } +} + + +declare global { + + namespace StencilComponents { + interface LandingPage { + 'data': any; + 'query': string; + } + } + + interface HTMLLandingPageElement extends StencilComponents.LandingPage, HTMLStencilElement {} + + var HTMLLandingPageElement: { + prototype: HTMLLandingPageElement; + new (): HTMLLandingPageElement; + }; + interface HTMLElementTagNameMap { + 'landing-page': HTMLLandingPageElement; + } + interface ElementTagNameMap { + 'landing-page': HTMLLandingPageElement; + } + namespace JSX { + interface IntrinsicElements { + 'landing-page': JSXElements.LandingPageAttributes; + } + } + namespace JSXElements { + export interface LandingPageAttributes extends HTMLAttributes { + 'data'?: any; + 'query'?: string; + } + } +} + + +declare global { + + namespace StencilComponents { + interface NotfoundPage { + + } + } + + interface HTMLNotfoundPageElement extends StencilComponents.NotfoundPage, HTMLStencilElement {} + + var HTMLNotfoundPageElement: { + prototype: HTMLNotfoundPageElement; + new (): HTMLNotfoundPageElement; + }; + interface HTMLElementTagNameMap { + 'notfound-page': HTMLNotfoundPageElement; + } + interface ElementTagNameMap { + 'notfound-page': HTMLNotfoundPageElement; + } + namespace JSX { + interface IntrinsicElements { + 'notfound-page': JSXElements.NotfoundPageAttributes; + } + } + namespace JSXElements { + export interface NotfoundPageAttributes extends HTMLAttributes { + + } + } +} + + +declare global { + + namespace StencilComponents { + interface ToastBar { + 'selectedIcon': { + name: string, + icons: Array, + tags: Array + }; + 'selectedIconType': string; + } + } + + interface HTMLToastBarElement extends StencilComponents.ToastBar, HTMLStencilElement {} + + var HTMLToastBarElement: { + prototype: HTMLToastBarElement; + new (): HTMLToastBarElement; + }; + interface HTMLElementTagNameMap { + 'toast-bar': HTMLToastBarElement; + } + interface ElementTagNameMap { + 'toast-bar': HTMLToastBarElement; + } + namespace JSX { + interface IntrinsicElements { + 'toast-bar': JSXElements.ToastBarAttributes; + } + } + namespace JSXElements { + export interface ToastBarAttributes extends HTMLAttributes { + 'onClearToast'?: (event: CustomEvent) => void; + 'onToggleHeaderSearch'?: (event: CustomEvent) => void; + 'selectedIcon'?: { + name: string, + icons: Array, + tags: Array + }; + 'selectedIconType'?: string; + } + } +} + + +declare global { + + namespace StencilComponents { + interface UsagePage { + 'data': any; + 'match': MatchResults; + } + } + + interface HTMLUsagePageElement extends StencilComponents.UsagePage, HTMLStencilElement {} + + var HTMLUsagePageElement: { + prototype: HTMLUsagePageElement; + new (): HTMLUsagePageElement; + }; + interface HTMLElementTagNameMap { + 'usage-page': HTMLUsagePageElement; + } + interface ElementTagNameMap { + 'usage-page': HTMLUsagePageElement; + } + namespace JSX { + interface IntrinsicElements { + 'usage-page': JSXElements.UsagePageAttributes; + } + } + namespace JSXElements { + export interface UsagePageAttributes extends HTMLAttributes { + 'data'?: any; + 'match'?: MatchResults; + } + } +} + +declare global { namespace JSX { interface StencilJSX {} } }