mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-01 16:56:28 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0b67d51dd | ||
|
|
1c5942ad96 | ||
|
|
c635b65d75 | ||
|
|
a15a2f0f89 | ||
|
|
1a80387c54 | ||
|
|
bea74662db | ||
|
|
fcfe309839 | ||
|
|
918c27f1fd | ||
|
|
8f6706e1b4 | ||
|
|
ab0f7cab07 | ||
|
|
4d16d6b5bb |
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Built with http://stenciljs.com
|
||||
* 2018-05-26T19:51:49
|
||||
* 2018-05-29T00:29:08
|
||||
*/
|
||||
!function(e,t,r,o,s,i,n,c,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){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],s=0,i=0;i<o.length;i++)if(e[o[i]].componentOnReady){if(e[o[i]].componentOnReady(t,r))return;s++}if(s<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,l),s=s||u.resourcesUrl,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"),!s&&h&&(s=h),!s&&p.src&&(s=(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=s+"docssite.ytkmt3kl.js":(d.src=s+"docssite.febxuvpw.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","js9iloau",1],["header-bar","tl7zuo9g",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","bjphfriz",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","j5rbuqbp",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","tl7zuo9g",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","bjphfriz",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","tl7zuo9g",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","tl7zuo9g",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","bjphfriz",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","dnu5bejp",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
|
||||
!function(e,t,r,o,s,n,c,i,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){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],s=0,n=0;n<o.length;n++)if(e[o[n]].componentOnReady){if(e[o[n]].componentOnReady(t,r))return;s++}if(s<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,l),s=s||u.resourcesUrl,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"),!s&&h&&(s=h),!s&&p.src&&(s=(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=s+"docssite.xipa2scg.js":(d.src=s+"docssite.qyghugue.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","js9iloau",1],["header-bar","njnrhcsu",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","bjphfriz",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","j5rbuqbp",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","njnrhcsu",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","bjphfriz",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","njnrhcsu",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupMatch",1],["history",1],["isServer",3,0,0,0,"isServer"],["location",1],["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","ikjvkszj",0,[["activeClass",1,0,"active-class",2],["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],["el",7],["exact",1,0,1,3],["history",1],["location",1],["match",5],["root",1,0,1,2],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","njnrhcsu",0,[["el",7],["group",1,0,1,2],["location",1],["queue",3,0,0,0,"queue"],["scrollTopOffset",1,0,"scroll-top-offset",4]]],["stencil-router","njnrhcsu",0,[["history",5],["historyType",1,0,"history-type",2],["location",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","bjphfriz",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","dnu5bejp",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
|
||||
-2
@@ -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<t.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,c):Array.isArray(e)?function(e,n,t){for(var r=[],i=0;i<e.length;i++)r.push(s(e[i],n,t).source);return new RegExp("(?:"+r.join("|")+")",o(t))}(e,c,d):function(e,s,c){return function(e,r,a){for(var s=(a=a||{}).strict,c=!1!==a.end,d=i(a.delimiter||n),u=a.delimiters||t,f=[].concat(a.endsWith||[]).map(i).concat("$").join("|"),l="",p=!1,h=0;h<e.length;h++){var g=e[h];if("string"==typeof g)l+=i(g),p=h===e.length-1&&u.indexOf(g[g.length-1])>-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.length)&&c.push(f+e.substr(u)),c}(e,c),s,c)}(e,c,d)}const c={},d=1e4;let u=0;function f(e,n={}){"string"==typeof n&&(n={path:n});const{path:t="/",exact:r=!1,strict:i=!1}=n,{re:a,keys:o}=function(e,n){const t=`${n.end}${n.strict}`,r=c[t]||(c[t]={}),i=JSON.stringify(e);if(r[i])return r[i];const a=[],o={re:s(e,a,n),keys:a};return u<d&&(r[i]=o,u+=1),o}(t,{end:r,strict:i}),f=a.exec(e);if(!f)return null;const[l,...p]=f,h=e===l;return r&&!h?null:{path:t,url:"/"===t&&""===l?"/":l,isExact:h,params:o.reduce((e,n,t)=>(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};
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("chunk-438b3614.js",["exports"],function(e){window.DocsSite.h;var n="/",t="./",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 u(e,s,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<t.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,s):Array.isArray(e)?function(e,n,t){for(var r=[],i=0;i<e.length;i++)r.push(u(e[i],n,t).source);return new RegExp("(?:"+r.join("|")+")",a(t))}(e,s,d):function(e,u,s){return function(e,r,o){for(var u=(o=o||{}).strict,s=!1!==o.end,d=i(o.delimiter||n),c=o.delimiters||t,f=[].concat(o.endsWith||[]).map(i).concat("$").join("|"),l="",p=!1,v=0;v<e.length;v++){var h=e[v];if("string"==typeof h)l+=i(h),p=v===e.length-1&&c.indexOf(h[h.length-1])>-1;else{var g=i(h.prefix),m=h.repeat?"(?:"+h.pattern+")(?:"+g+"(?:"+h.pattern+"))*":h.pattern;r&&r.push(h),h.optional?h.partial?l+=g+"("+m+")?":l+="(?:"+g+"("+m+"))?":l+=g+"("+m+")"}}return s?(u||(l+="(?:"+d+")?"),l+="$"===f?"$":"(?="+f+")"):(u||(l+="(?:"+d+"(?="+f+"))?"),p||(l+="(?="+d+"|"+f+")")),new RegExp("^"+l,a(o))}(function(e,a){for(var u,s=[],d=0,c=0,f="",l=a&&a.delimiter||n,p=a&&a.delimiters||t,v=!1;null!==(u=r.exec(e));){var h=u[0],g=u[1],m=u.index;if(f+=e.slice(c,m),c=m+h.length,g)f+=g[1],v=!0;else{var w="",x=e[c],E=u[2],O=u[3],y=u[4],A=u[5];if(!v&&f.length){var R=f.length-1;p.indexOf(f[R])>-1&&(w=f[R],f=f.slice(0,R))}f&&(s.push(f),f="",v=!1);var _=""!==w&&void 0!==x&&x!==w,S="+"===A||"*"===A,$="?"===A||"*"===A,D=w||l,L=O||y;s.push({name:E||d++,prefix:w,delimiter:D,optional:$,repeat:S,partial:_,pattern:L?o(L):"[^"+i(D)+"]+?"})}}return(f||c<e.length)&&s.push(f+e.substr(c)),s}(e,s),u,s)}(e,s,d)}var s={},d=0,c=!("undefined"==typeof window||!window.document||!window.document.createElement);e.matchPath=function(e,n){void 0===n&&(n={}),"string"==typeof n&&(n={path:n});var t=n.path,r=void 0===t?"/":t,i=n.exact,o=void 0!==i&&i,a=n.strict,c=function(e,n){var t=""+n.end+n.strict,r=s[t]||(s[t]={}),i=JSON.stringify(e);if(r[i])return r[i];var o=[],a={re:u(e,o,n),keys:o};return d<1e4&&(r[i]=a,d+=1),a}(r,{end:o,strict:void 0!==a&&a}),f=c.re,l=c.keys,p=f.exec(e);if(!p)return null;var v=p[0],h=p.slice(1),g=e===v;return o&&!g?null:{path:r,url:"/"===r&&""===v?"/":v,isExact:g,params:l.reduce(function(e,n,t){return e[n.name]=h[t],e},{})}},e.storageAvailable=function(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}},e.canUseDOM=c,e.addEventListener=function(e,n,t){return e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent("on"+n,t)},e.removeEventListener=function(e,n,t){return e.removeEventListener?e.removeEventListener(n,t,!1):e.detachEvent("on"+n,t)},e.getConfirmation=function(e,n){return n(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}});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! 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 o(e){return e.replace(/([=!:$/()])/g,"\\$1")}function a(e){return e&&e.sensitive?"":"i"}function s(e,c,u){return e instanceof RegExp?function(e,n){if(!n)return e;var t=e.source.match(/\((?!\?)/g);if(t)for(var r=0;r<t.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,c):Array.isArray(e)?function(e,n,t){for(var r=[],i=0;i<e.length;i++)r.push(s(e[i],n,t).source);return new RegExp("(?:"+r.join("|")+")",a(t))}(e,c,u):function(e,s,c){return function(e,r,o){for(var s=(o=o||{}).strict,c=!1!==o.end,u=i(o.delimiter||n),l=o.delimiters||t,f=[].concat(o.endsWith||[]).map(i).concat("$").join("|"),d="",p=!1,h=0;h<e.length;h++){var m=e[h];if("string"==typeof m)d+=i(m),p=h===e.length-1&&l.indexOf(m[m.length-1])>-1;else{var g=i(m.prefix),v=m.repeat?"(?:"+m.pattern+")(?:"+g+"(?:"+m.pattern+"))*":m.pattern;r&&r.push(m),m.optional?m.partial?d+=g+"("+v+")?":d+="(?:"+g+"("+v+"))?":d+=g+"("+v+")"}}return c?(s||(d+="(?:"+u+")?"),d+="$"===f?"$":"(?="+f+")"):(s||(d+="(?:"+u+"(?="+f+"))?"),p||(d+="(?="+u+"|"+f+")")),new RegExp("^"+d,a(o))}(function(e,a){for(var s,c=[],u=0,l=0,f="",d=a&&a.delimiter||n,p=a&&a.delimiters||t,h=!1;null!==(s=r.exec(e));){var m=s[0],g=s[1],v=s.index;if(f+=e.slice(l,v),l=v+m.length,g)f+=g[1],h=!0;else{var w="",y=e[l],x=s[2],O=s[3],E=s[4],b=s[5];if(!h&&f.length){var j=f.length-1;p.indexOf(f[j])>-1&&(w=f[j],f=f.slice(0,j))}f&&(c.push(f),f="",h=!1);var A=""!==w&&void 0!==y&&y!==w,$="+"===b||"*"===b,R="?"===b||"*"===b,S=w||d,_=O||E;c.push({name:x||u++,prefix:w,delimiter:S,optional:R,repeat:$,partial:A,pattern:_?o(_):"[^"+i(S)+"]+?"})}}return(f||l<e.length)&&c.push(f+e.substr(l)),c}(e,c),s,c)}(e,c,u)}const c={},u=1e4;let l=0;function f(e,n={}){"string"==typeof n&&(n={path:n});const{path:t="/",exact:r=!1,strict:i=!1}=n,{re:o,keys:a}=function(e,n){const t=`${n.end}${n.strict}`,r=c[t]||(c[t]={}),i=JSON.stringify(e);if(r[i])return r[i];const o=[],a={re:s(e,o,n),keys:o};return l<u&&(r[i]=a,l+=1),a}(t,{end:r,strict:i}),f=o.exec(e);if(!f)return null;const[d,...p]=f,h=e===d;return r&&!h?null:{path:t,url:"/"===t&&""===d?"/":d,isExact:h,params:a.reduce((e,n,t)=>(e[n.name]=p[t],e),{})}}var d=function(n,t=function(n,t){return e("context-consumer",{subscribe:n,renderer:t})}){let r=new Map,i={location:null,titleSuffix:"",root:"/",history:null};function o(e,n){Array.isArray(e)?[...e].forEach(e=>{n[e]=i[e]}):n[e]=Object.assign({},i),n.forceUpdate()}function a(e){return n=>{r.has(n)||(r.set(n,e),o(e,n))}}function s(e,n){return a(n)(e),function(){r.delete(e)}}return{Provider:function({state:e,children:n}){return i=e,r.forEach(o),n},Consumer:function({children:e}){return t(s,e[0])},wrapConsumer:function(n,t){const r=n.is;return n=>{var{children:i}=n,o=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)n.indexOf(r[i])<0&&(t[r[i]]=e[r[i]])}return t}(n,["children"]);return e(r,Object.assign({ref:a(t)},o),i)}},injectProps:function(e,n){let t=null;const r=Object.keys(e.properties).find(n=>1==e.properties[n].elementRef);if(void 0==r)throw new Error(`Please ensure that your Component ${e.is} has an attribtue with "@Element" decorator. `+"This is required to be able to inject properties.");const i=e.prototype.componentWillLoad;e.prototype.componentWillLoad=function(){if(t=s(this[r],n),i)return i.bind(this)()};const o=e.prototype.componentDidUnload;e.prototype.componentDidUnload=function(){if(t(),o)return o.bind(this)()}}}}();const p=!("undefined"==typeof window||!window.document||!window.document.createElement),h=(e,n,t)=>e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent("on"+n,t),m=(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},y=()=>-1===window.navigator.userAgent.indexOf("Trident"),x=()=>-1===window.navigator.userAgent.indexOf("Firefox"),O=e=>void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS"),E=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,d as b,E as c,p as d,h as e,m as f,g,w as h,y as i,O as j,x as k,v as l};
|
||||
+2
File diff suppressed because one or more lines are too long
-7
File diff suppressed because one or more lines are too long
+1
-2
@@ -1,5 +1,4 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
(function(namespace,resourcesUrl){"use strict";
|
||||
(function(resourcesUrl){var t=Object.prototype.hasOwnProperty;function n(t,n){return t===n?0!==t||0!==n||1/t==1/n:t!=t&&n!=n}function e(e,o){if(n(e,o))return!0;if("object"!=typeof e||null===e||"object"!=typeof o||null===o)return!1;var r=Object.keys(e),u=Object.keys(o);if(r.length!==u.length)return!1;for(var c=0;c<r.length;c++)if(!t.call(o,r[c])||!n(e[r[c]],o[r[c]]))return!1;return!0}var o=function(t,n,e,o){return new(e||(e=Promise))(function(r,u){function c(t){try{i(o.next(t))}catch(t){u(t)}}function l(t){try{i(o.throw(t))}catch(t){u(t)}}function i(t){t.done?r(t.value):new e(function(n){n(t.value)}).then(c,l)}i((o=o.apply(t,n||[])).next())})};Context.activeRouter=function(){let t={};const n=[];function r(n){return 0===Object.keys(t).length?{location:{pathname:Context.window.location.pathname,search:Context.window.location.search}}:n?t[n]:t}function u(){return o(this,void 0,void 0,function*(){const t=n,o=[],u=r("location").pathname;for(let n=0;n<t.length;n++){let r=null;const c=o.some(e=>null!=e[1]&&null!=e[2]&&e[2]===t[n].groupId);r=c?null:t[n].isMatch(u),e(t[n].lastMatch,r)||(!c&&t[n].groupId?o.unshift([n,r,t[n].groupId]):o.push([n,r,t[n].groupId])),t[n].lastMatch=r}for(const[n,e,r]of o)r&&null!=e?yield t[n].listener(e):t[n].listener(e)})}return{set:function(n){t=Object.assign({},t,n),u()},get:r,subscribe:function(t){!function(t){const e=r("location").pathname,o=t.isMatch(e);if(t.lastMatch=o,t.listener(o),null==t.groupId||null==t.groupIndex||0===n.length)n.push(t);else for(let e=0;e<n.length;e++){const{groupId:o,groupIndex:r}=n[e];if(null==o){n.splice(e,0,t);break}if(o===t.groupId&&r>t.groupIndex){n.splice(e,0,t);break}}}(t);let e=!0;return function(){e&&(function(t){const e=n.indexOf(t);n.splice(e,1)}(t),e=!1)}},dispatch:u}}();
|
||||
})(resourcesUrl);
|
||||
|
||||
})("DocsSite");
|
||||
+5
File diff suppressed because one or more lines are too long
+10
-7
@@ -3,14 +3,14 @@
|
||||
"fsNamespace": "docssite",
|
||||
"loader": "../docssite.js",
|
||||
"global": "docssite.global.js",
|
||||
"core": "docssite.febxuvpw.js",
|
||||
"corePolyfilled": "docssite.ytkmt3kl.js",
|
||||
"core": "docssite.qyghugue.js",
|
||||
"corePolyfilled": "docssite.xipa2scg.js",
|
||||
"components": {
|
||||
"footer-bar": {
|
||||
"$": "js9iloau"
|
||||
},
|
||||
"header-bar": {
|
||||
"$": "tl7zuo9g"
|
||||
"$": "njnrhcsu"
|
||||
},
|
||||
"icon-list": {
|
||||
"$": "bjphfriz"
|
||||
@@ -19,7 +19,7 @@
|
||||
"$": "j5rbuqbp"
|
||||
},
|
||||
"ionicons-site": {
|
||||
"$": "tl7zuo9g"
|
||||
"$": "njnrhcsu"
|
||||
},
|
||||
"landing-page": {
|
||||
"$": "bjphfriz"
|
||||
@@ -28,13 +28,16 @@
|
||||
"$": "d83fvjds"
|
||||
},
|
||||
"stencil-route": {
|
||||
"$": "tl7zuo9g"
|
||||
"$": "njnrhcsu"
|
||||
},
|
||||
"stencil-route-link": {
|
||||
"$": "gkczrv46"
|
||||
"$": "ikjvkszj"
|
||||
},
|
||||
"stencil-route-switch": {
|
||||
"$": "njnrhcsu"
|
||||
},
|
||||
"stencil-router": {
|
||||
"$": "tl7zuo9g"
|
||||
"$": "njnrhcsu"
|
||||
},
|
||||
"toast-bar": {
|
||||
"$": "bjphfriz"
|
||||
|
||||
+85
File diff suppressed because one or more lines are too long
-87
File diff suppressed because one or more lines are too long
Vendored
-2
@@ -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('<stencil-route-link> 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})});
|
||||
Vendored
-2
@@ -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('<stencil-route-link> 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};
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("ikjvkszj",["exports","./chunk-bb73ff96.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.componentWillLoad=function(){this.computeMatch()},t.prototype.computeMatch=function(){this.location&&(this.match=e.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){if(!e.isModifiedEvent(t))return t.preventDefault(),this.history.push(this.getUrl(this.url))},t.prototype.getUrl=function(t){return"/"==t.charAt(0)&&"/"==this.root.charAt(this.root.length-1)?this.root.slice(0,this.root.length-1)+t:this.root+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"},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"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}},enumerable:!0,configurable:!0}),t}();e.ActiveRouter.injectProps(r,["history","location","root"]),t.StencilRouteLink=r,Object.defineProperty(t,"__esModule",{value:!0})});
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.DocsSite;import{a as s,l as a,b as i}from"./chunk-52f07037.js";class r{constructor(){this.unsubscribe=(()=>{}),this.activeClass="link-active",this.exact=!1,this.strict=!0,this.custom="a",this.match=null}componentWillLoad(){this.computeMatch()}computeMatch(){this.location&&(this.match=s(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){if(!a(t))return t.preventDefault(),this.history.push(this.getUrl(this.url))}getUrl(t){return"/"==t.charAt(0)&&"/"==this.root.charAt(this.root.length-1)?this.root.slice(0,this.root.length-1)+t:this.root+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"},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"},el:{elementRef:!0},exact:{type:Boolean,attr:"exact"},history:{type:"Any",attr:"history"},location:{type:"Any",attr:"location",watchCallbacks:["computeMatch"]},match:{state:!0},root:{type:String,attr:"root"},strict:{type:Boolean,attr:"strict"},url:{type:String,attr:"url"},urlMatch:{type:String,attr:"url-match"}}}}i.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
|
||||
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
+2
File diff suppressed because one or more lines are too long
Vendored
-2
File diff suppressed because one or more lines are too long
Vendored
-2
File diff suppressed because one or more lines are too long
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <title>Ionicons: The premium icon pack for Ionic Framework</title> <meta name="author" content="Ionic"> <meta name="description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <meta name="format-detection" content="telephone=no"> <meta name="msapplication-tap-highlight" content="no"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="manifest" href="/manifest.json"> <meta property="og:title" content="Ionicons: The premium icon pack for Ionic Framework"> <meta property="og:description" content="Ionicons is an open-sourced and MIT licensed icon pack."> <meta property="og:type" content="website"> <meta property="og:url" content="https://ionicons.com/"> <meta property="og:image" content="/assets/img/meta/ionicons-og-image.png"> <meta name="twitter:card" content="summary_large_image"> <meta name="twitter:creator" content="@ionicframework"> <link rel="apple-touch-icon" sizes="57x57" href="/assets/img/meta/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/assets/img/meta/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/assets/img/meta/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/assets/img/meta/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/assets/img/meta/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/assets/img/meta/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/assets/img/meta/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/assets/img/meta/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/assets/img/meta/apple-icon-180x180.png"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-16x16.png" sizes="16x16"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-32x32.png" sizes="32x32"> <link rel="icon" type="image/png" href="/assets/img/meta/favicon-96x96.png" sizes="96x96"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-70x70.png"> <meta name="msapplication-TileImage" content="/assets/img/meta/ms-icon-144x144.png"> <meta name="theme-color" content="#16161d"> <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:500" rel="stylesheet"> <link rel="stylesheet" href="/css/ionicons.min.css"> <link rel="stylesheet" href="/build/docssite.css"> <script data-resources-url="/build/docssite/">/*!
|
||||
* Built with http://stenciljs.com
|
||||
* 2018-05-26T19:51:49
|
||||
* 2018-05-29T00:29:08
|
||||
*/
|
||||
!function(e,t,r,o,s,i,n,c,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){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],s=0,i=0;i<o.length;i++)if(e[o[i]].componentOnReady){if(e[o[i]].componentOnReady(t,r))return;s++}if(s<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,l),s=s||u.resourcesUrl,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"),!s&&h&&(s=h),!s&&p.src&&(s=(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=s+"docssite.ytkmt3kl.js":(d.src=s+"docssite.febxuvpw.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","js9iloau",1],["header-bar","tl7zuo9g",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","bjphfriz",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","j5rbuqbp",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","tl7zuo9g",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","bjphfriz",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","tl7zuo9g",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","tl7zuo9g",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","bjphfriz",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","dnu5bejp",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);</script>
|
||||
!function(e,t,r,o,s,n,c,i,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){(e["s-apps"]=e["s-apps"]||[]).push("DocsSite"),r.componentOnReady||(r.componentOnReady=function(){var t=this;function r(r){if(t.nodeName.indexOf("-")>0){for(var o=e["s-apps"],s=0,n=0;n<o.length;n++)if(e[o[n]].componentOnReady){if(e[o[n]].componentOnReady(t,r))return;s++}if(s<o.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,r])}r(null)}return e.Promise?new e.Promise(r):{then:r}})}(e,0,l),s=s||u.resourcesUrl,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"),!s&&h&&(s=h),!s&&p.src&&(s=(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=s+"docssite.xipa2scg.js":(d.src=s+"docssite.qyghugue.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",s),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","js9iloau",1],["header-bar","njnrhcsu",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","bjphfriz",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","j5rbuqbp",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","njnrhcsu",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","bjphfriz",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","njnrhcsu",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupMatch",1],["history",1],["isServer",3,0,0,0,"isServer"],["location",1],["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","ikjvkszj",0,[["activeClass",1,0,"active-class",2],["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],["el",7],["exact",1,0,1,3],["history",1],["location",1],["match",5],["root",1,0,1,2],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","njnrhcsu",0,[["el",7],["group",1,0,1,2],["location",1],["queue",3,0,0,0,"queue"],["scrollTopOffset",1,0,"scroll-top-offset",4]]],["stencil-router","njnrhcsu",0,[["history",5],["historyType",1,0,"history-type",2],["location",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","bjphfriz",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","dnu5bejp",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);</script>
|
||||
</head>
|
||||
<body> <ionicons-site></ionicons-site> <script>!function(e,a,n,t,c,g,o){e.GoogleAnalyticsObject="ga",e.ga=e.ga||function(){(e.ga.q=e.ga.q||[]).push(arguments)},e.ga.l=1*new Date,g=a.createElement(n),o=a.getElementsByTagName(n)[0],g.async=1,g.src="//www.google-analytics.com/analytics.js",o.parentNode.insertBefore(g,o)}(window,document,"script"),ga("create","UA-44023830-2","ionicons.com"),ga("send","pageview");</script> </body></html>
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Built with http://stenciljs.com
|
||||
* 2018-05-26T19:51:42
|
||||
* 2018-05-29T00:28:53
|
||||
*/
|
||||
!function(e,t,n,r,i,o,s,c,u,a,l,d,p,m){for((l=e.ionicons=e.ionicons||{}).components=u,(p=u.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=p.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("ionicons"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,o=0;o<r.length;o++)if(e[r[o]].componentOnReady){if(e[r[o]].componentOnReady(t,n))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(m=p[d]).src&&!m.hasAttribute("data-resources-url");d--);p=m.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&m.src&&(i=(p=m.src.split("/").slice(0,-1)).join("/")+(p.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.xcgugpyt.js":(d.src=i+"ionicons.eyhlcpv8.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","b4az4ysr",1,[["ariaLabel",2,1,"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"]],1]],HTMLElement.prototype);
|
||||
!function(e,t,n,r,i,o,s,c,u,a,l,d,p,m){for((l=e.ionicons=e.ionicons||{}).components=u,(p=u.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=p.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,n){(e["s-apps"]=e["s-apps"]||[]).push("ionicons"),n.componentOnReady||(n.componentOnReady=function(){var t=this;function n(n){if(t.nodeName.indexOf("-")>0){for(var r=e["s-apps"],i=0,o=0;o<r.length;o++)if(e[r[o]].componentOnReady){if(e[r[o]].componentOnReady(t,n))return;i++}if(i<r.length)return void(e["s-cr"]=e["s-cr"]||[]).push([t,n])}n(null)}return e.Promise?new e.Promise(n):{then:n}})}(e,0,a),i=i||l.resourcesUrl,d=(p=t.querySelectorAll("script")).length-1;d>=0&&!(m=p[d]).src&&!m.hasAttribute("data-resources-url");d--);p=m.getAttribute("data-resources-url"),!i&&p&&(i=p),!i&&m.src&&(i=(p=m.src.split("/").slice(0,-1)).join("/")+(p.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.arzdsu2j.js":(d.src=i+"ionicons.oujamam7.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","x6oug5p3",1,[["ariaLabel",2,1,"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",1,0,1,2],["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"]],1]],HTMLElement.prototype);
|
||||
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
ionicons.loadBundle("b4az4ysr",["exports"],function(e){var t=window.ionicons.h,i=function(){function e(){this.isVisible=!1}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.componentDidUnload=function(){this.io&&(this.io.disconnect(),this.io=void 0)},e.prototype.waitUntilVisible=function(e,t,i){var n=this;if(this.win){var o=this.io=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(o.disconnect(),n.io=void 0,i())},{rootMargin:t});o.observe(e)}else i()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=n.get(e);return t||(t=fetch(e,{cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),n.set(e,t)),t}(t).then(function(t){e.svgContent=function(e,t,i){if(t){var n=e.createDocumentFragment(),o=e.createElement("div");o.innerHTML=t,n.appendChild(o);for(var r=o.childNodes.length-1;r>=0;r--)"svg"!==o.childNodes[r].nodeName.toLowerCase()&&o.removeChild(o.childNodes[r]);var s=o.firstElementChild;if(s&&"svg"===s.nodeName.toLowerCase()&&(i&&s.setAttribute(i,""),function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var i=0;i<t.attributes.length;i++){var n=t.attributes[i].value;if("string"==typeof n&&0===n.toLowerCase().indexOf("on"))return!1}for(i=0;i<t.childNodes.length;i++)if(!e(t.childNodes[i]))return!1}return!0}(s)))return o.innerHTML}return""}(e.doc,t,e.el["s-sc"])})}if(!this.ariaLabel){var i=o(this.name,this.mode,this.ios,this.md);i&&(this.ariaLabel=i.replace("ios-","").replace("md-","").replace(/\-/g," "))}},e.prototype.getUrl=function(){var e=r(this.src);return e||((e=o(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(e):(e=r(this.icon))?e:(e=o(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;return{role:"img",class:Object.assign({},function(e){var t;return e?((t={"ion-color":!0})["ion-color-"+e]=!0,t):null}(this.color),(e={},e["icon-"+this.size]=!!this.size,e))}},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})},Object.defineProperty(e,"is",{get:function(){return"ion-icon"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{context:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:var(--ion-color-base);stroke:var(--ion-color-base)}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},enumerable:!0,configurable:!0}),e}(),n=new Map;function o(e,t,i,n){return t=(t||"md").toLowerCase(),i&&"ios"===t?e=i.toLowerCase():n&&"md"===t?e=n.toLowerCase():e&&!/^md-|^ios-|^logo-/.test(e)&&(e=t+"-"+e.toLowerCase()),"string"!=typeof e||""===e.trim()?null:""!==e.replace(/[a-z]|-|\d/gi,"")?null:e}function r(e){return"string"==typeof e&&(e=e.trim()).length>0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=i,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.win){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,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,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),o=t.createElement("div");o.innerHTML=e,s.appendChild(o);for(let t=o.childNodes.length-1;t>=0;t--)"svg"!==o.childNodes[t].nodeName.toLowerCase()&&o.removeChild(o.childNodes[t]);const n=o.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&(i&&n.setAttribute(i,""),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i<e.attributes.length;i++){let t=e.attributes[i].value;if("string"==typeof t&&0===t.toLowerCase().indexOf("on"))return!1}for(i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(n)))return o.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=o(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=o(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(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{context:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:var(--ion-color-base);stroke:var(--ion-color-base)}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&!/^md-|^ios-|^logo-/.test(t)&&(t=e+"-"+t.toLowerCase()),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function o(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
|
||||
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.win){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,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,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),o=t.createElement("div");o.innerHTML=e,s.appendChild(o);for(let t=o.childNodes.length-1;t>=0;t--)"svg"!==o.childNodes[t].nodeName.toLowerCase()&&o.removeChild(o.childNodes[t]);const n=o.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()&&(i&&n.setAttribute(i,""),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i<e.attributes.length;i++){let t=e.attributes[i].value;if("string"==typeof t&&0===t.toLowerCase().indexOf("on"))return!1}for(i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(n)))return o.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}getUrl(){let t=o(this.src);return t||((t=s(this.name,this.mode,this.ios,this.md))?this.getNamedUrl(t):(t=o(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(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{context:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return"[data-ion-icon-host]{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}.icon-small[data-ion-icon-host]{font-size:var(--ion-icon-size-small,18px)!important}.icon-large[data-ion-icon-host]{font-size:var(--ion-icon-size-large,32px)!important}.icon-inner[data-ion-icon], svg[data-ion-icon]{display:block;height:100%;width:100%}svg[data-ion-icon]{fill:var(--ion-color-base);stroke:var(--ion-color-base)}.ion-color-primary[data-ion-icon-host]{--ion-color-base:var(--ion-color-primary, #3880ff)}.ion-color-secondary[data-ion-icon-host]{--ion-color-base:var(--ion-color-secondary, #0cd1e8)}.ion-color-tertiary[data-ion-icon-host]{--ion-color-base:var(--ion-color-tertiary, #f4a942)}.ion-color-success[data-ion-icon-host]{--ion-color-base:var(--ion-color-success, #10dc60)}.ion-color-warning[data-ion-icon-host]{--ion-color-base:var(--ion-color-warning, #ffce00)}.ion-color-danger[data-ion-icon-host]{--ion-color-base:var(--ion-color-danger, #f14141)}.ion-color-light[data-ion-icon-host]{--ion-color-base:var(--ion-color-light, #f4f5f8)}.ion-color-medium[data-ion-icon-host]{--ion-color-base:var(--ion-color-medium, #989aa2)}.ion-color-dark[data-ion-icon-host]{--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&!/^md-|^ios-|^logo-/.test(t)&&(t=e+"-"+t.toLowerCase()),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function o(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
ionicons.loadBundle("x6oug5p3",["exports"],function(e){var t=window.ionicons.h,i=function(){function e(){this.isVisible=!1}return e.prototype.componentWillLoad=function(){var e=this;this.waitUntilVisible(this.el,"50px",function(){e.isVisible=!0,e.loadIcon()})},e.prototype.componentDidUnload=function(){this.io&&(this.io.disconnect(),this.io=void 0)},e.prototype.waitUntilVisible=function(e,t,i){var n=this;if(this.win&&this.win.IntersectionObserver){var r=this.io=new this.win.IntersectionObserver(function(e){e[0].isIntersecting&&(r.disconnect(),n.io=void 0,i())},{rootMargin:t});r.observe(e)}else i()},e.prototype.loadIcon=function(){var e=this;if(!this.isServer&&this.isVisible){var t=this.getUrl();t&&function(e){var t=n.get(e);return t||(t=fetch(e,{cache:"force-cache"}).then(function(e){return e.ok?e.text():Promise.resolve(null)}),n.set(e,t)),t}(t).then(function(t){e.svgContent=function(e,t,i){if(t){var n=e.createDocumentFragment(),r=e.createElement("div");r.innerHTML=t,n.appendChild(r);for(var o=r.childNodes.length-1;o>=0;o--)"svg"!==r.childNodes[o].nodeName.toLowerCase()&&r.removeChild(r.childNodes[o]);var s=r.firstElementChild;if(s&&"svg"===s.nodeName.toLowerCase()&&(i&&s.setAttribute(i,""),function e(t){if(1===t.nodeType){if("script"===t.nodeName.toLowerCase())return!1;for(var i=0;i<t.attributes.length;i++){var n=t.attributes[i].value;if("string"==typeof n&&0===n.toLowerCase().indexOf("on"))return!1}for(i=0;i<t.childNodes.length;i++)if(!e(t.childNodes[i]))return!1}return!0}(s)))return r.innerHTML}return""}(e.doc,t,e.el["s-sc"])})}if(!this.ariaLabel){var i=r(this.name,this.mode,this.ios,this.md);i&&(this.ariaLabel=i.replace("ios-","").replace("md-","").replace(/\-/g," "))}},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;return{role:"img",class:Object.assign({},function(e){var t;return e?((t={"ion-color":!0})["ion-color-"+e]=!0,t):null}(this.color),(e={},e["icon-"+this.size]=!!this.size,e))}},e.prototype.render=function(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})},Object.defineProperty(e,"is",{get:function(){return"ion-icon"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"encapsulation",{get:function(){return"shadow"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:var(--ion-color-base);stroke:var(--ion-color-base)}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"},enumerable:!0,configurable:!0}),e}(),n=new Map;function r(e,t,i,n){return t=(t||"md").toLowerCase(),i&&"ios"===t?e=i.toLowerCase():n&&"md"===t?e=n.toLowerCase():e&&(e=e.toLowerCase(),/^md-|^ios-|^logo-/.test(e)||(e=t+"-"+e)),"string"!=typeof e||""===e.trim()?null:""!==e.replace(/[a-z]|-|\d/gi,"")?null:e}function o(e){return"string"==typeof e&&(e=e.trim()).length>0&&/(\/|\.)/.test(e)?e:null}e.IonIcon=i,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,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,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),n=t.createElement("div");n.innerHTML=e,s.appendChild(n);for(let t=n.childNodes.length-1;t>=0;t--)"svg"!==n.childNodes[t].nodeName.toLowerCase()&&n.removeChild(n.childNodes[t]);const o=n.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&(i&&o.setAttribute(i,""),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i<e.attributes.length;i++){let t=e.attributes[i].value;if("string"==typeof t&&0===t.toLowerCase().indexOf("on"))return!1}for(i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(o)))return n.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}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(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return":host{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}:host(.icon-small){font-size:var(--ion-icon-size-small,18px)!important}:host(.icon-large){font-size:var(--ion-icon-size-large,32px)!important}.icon-inner,svg{display:block;height:100%;width:100%}svg{fill:var(--ion-color-base);stroke:var(--ion-color-base)}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=`${e}-${t}`)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function n(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.ionicons;class e{constructor(){this.isVisible=!1}componentWillLoad(){this.waitUntilVisible(this.el,"50px",()=>{this.isVisible=!0,this.loadIcon()})}componentDidUnload(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(t,e,i){if(this.win&&this.win.IntersectionObserver){const s=this.io=new this.win.IntersectionObserver(t=>{t[0].isIntersecting&&(s.disconnect(),this.io=void 0,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,{cache:"force-cache"}).then(t=>t.ok?t.text():Promise.resolve(null)),i.set(t,e)),e}(t).then(t=>{this.svgContent=function(t,e,i){if(e){const s=t.createDocumentFragment(),n=t.createElement("div");n.innerHTML=e,s.appendChild(n);for(let t=n.childNodes.length-1;t>=0;t--)"svg"!==n.childNodes[t].nodeName.toLowerCase()&&n.removeChild(n.childNodes[t]);const o=n.firstElementChild;if(o&&"svg"===o.nodeName.toLowerCase()&&(i&&o.setAttribute(i,""),function t(e){if(1===e.nodeType){if("script"===e.nodeName.toLowerCase())return!1;for(var i=0;i<e.attributes.length;i++){let t=e.attributes[i].value;if("string"==typeof t&&0===t.toLowerCase().indexOf("on"))return!1}for(i=0;i<e.childNodes.length;i++)if(!t(e.childNodes[i]))return!1}return!0}(o)))return n.innerHTML}return""}(this.doc,t,this.el["s-sc"])})}if(!this.ariaLabel){const t=s(this.name,this.mode,this.ios,this.md);t&&(this.ariaLabel=t.replace("ios-","").replace("md-","").replace(/\-/g," "))}}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(){return{role:"img",class:Object.assign({},(t=this.color,t?{"ion-color":!0,[`ion-color-${t}`]:!0}:null),{[`icon-${this.size}`]:!!this.size})};var t}render(){return!this.isServer&&this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"})}static get is(){return"ion-icon"}static get encapsulation(){return"shadow"}static get properties(){return{ariaLabel:{type:String,attr:"aria-label",reflectToAttr:!0,mutable:!0},color:{type:String,attr:"color"},doc:{context:"document"},el:{elementRef:!0},icon:{type:String,attr:"icon",watchCallbacks:["loadIcon"]},ios:{type:String,attr:"ios"},isServer:{context:"isServer"},isVisible:{state:!0},md:{type:String,attr:"md"},mode:{type:String,attr:"mode"},name:{type:String,attr:"name",watchCallbacks:["loadIcon"]},resourcesUrl:{context:"resourcesUrl"},size:{type:String,attr:"size"},src:{type:String,attr:"src",watchCallbacks:["loadIcon"]},svgContent:{state:!0},win:{context:"window"}}}static get style(){return"[data-ion-icon-host]{display:inline-block;width:1em;height:1em;contain:strict;-webkit-box-sizing:content-box!important;box-sizing:content-box!important;--ion-color-base:currentColor}.icon-small[data-ion-icon-host]{font-size:var(--ion-icon-size-small,18px)!important}.icon-large[data-ion-icon-host]{font-size:var(--ion-icon-size-large,32px)!important}.icon-inner[data-ion-icon], svg[data-ion-icon]{display:block;height:100%;width:100%}svg[data-ion-icon]{fill:var(--ion-color-base);stroke:var(--ion-color-base)}.ion-color-primary[data-ion-icon-host]{--ion-color-base:var(--ion-color-primary, #3880ff)}.ion-color-secondary[data-ion-icon-host]{--ion-color-base:var(--ion-color-secondary, #0cd1e8)}.ion-color-tertiary[data-ion-icon-host]{--ion-color-base:var(--ion-color-tertiary, #f4a942)}.ion-color-success[data-ion-icon-host]{--ion-color-base:var(--ion-color-success, #10dc60)}.ion-color-warning[data-ion-icon-host]{--ion-color-base:var(--ion-color-warning, #ffce00)}.ion-color-danger[data-ion-icon-host]{--ion-color-base:var(--ion-color-danger, #f14141)}.ion-color-light[data-ion-icon-host]{--ion-color-base:var(--ion-color-light, #f4f5f8)}.ion-color-medium[data-ion-icon-host]{--ion-color-base:var(--ion-color-medium, #989aa2)}.ion-color-dark[data-ion-icon-host]{--ion-color-base:var(--ion-color-dark, #222428)}"}}const i=new Map;function s(t,e,i,s){return e=(e||"md").toLowerCase(),i&&"ios"===e?t=i.toLowerCase():s&&"md"===e?t=s.toLowerCase():t&&(t=t.toLowerCase(),/^md-|^ios-|^logo-/.test(t)||(t=`${e}-${t}`)),"string"!=typeof t||""===t.trim()?null:""!==t.replace(/[a-z]|-|\d/gi,"")?null:t}function n(t){return"string"==typeof t&&(t=t.trim()).length>0&&/(\/|\.)/.test(t)?t:null}export{e as IonIcon};
|
||||
Generated
-10225
File diff suppressed because it is too large
Load Diff
+12
-13
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ionicons",
|
||||
"version": "4.2.2",
|
||||
"version": "4.2.5",
|
||||
"description": "Premium icons for Ionic.",
|
||||
"files": [
|
||||
"dist/"
|
||||
@@ -18,27 +18,26 @@
|
||||
"build.icon": "stencil build",
|
||||
"clean": "node scripts/clean.js",
|
||||
"copy.tasks": "node scripts/copy-tasks.js",
|
||||
"dev": "npm run build && sd concurrent \"stencil build --dev --es5 --config src/docs/stencil.config.js --watch\" \"stencil-dev-server\" ",
|
||||
"dev": "npm run build && stencil build --dev --watch --serve --config src/docs/stencil.config.js",
|
||||
"mode.comparison": "node scripts/mode-comparison.js",
|
||||
"generate": "python scripts/generate.py",
|
||||
"release": "npm run build && np --any-branch",
|
||||
"generate": "python2 scripts/generate.py",
|
||||
"release": "np --any-branch --yolo",
|
||||
"test": "jest",
|
||||
"test.watch": "jest --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@stencil/core": "0.10.0-2",
|
||||
"@stencil/dev-server": "latest",
|
||||
"@stencil/router": "^0.1.6",
|
||||
"@stencil/sass": "0.0.4",
|
||||
"@stencil/utils": "latest",
|
||||
"@types/jest": "^22.2.3",
|
||||
"@stencil/core": "0.10.8",
|
||||
"@stencil/router": "~0.2.2",
|
||||
"@stencil/sass": "0.0.5",
|
||||
"@types/highlight.js": "^9.12.3",
|
||||
"@types/jest": "^23.1.3",
|
||||
"archiver": "^2.1.1",
|
||||
"fs-extra": "4.0.2",
|
||||
"highlight.js": "^9.12.0",
|
||||
"jest": "^22.4.3",
|
||||
"jest": "^23.2.0",
|
||||
"node-sass": "4.9.0",
|
||||
"np": "2.17.0",
|
||||
"svgo": "1.0.3"
|
||||
"np": "3.0.4",
|
||||
"svgo": "1.0.5"
|
||||
},
|
||||
"keywords": [
|
||||
"ionicons",
|
||||
|
||||
Vendored
+22
@@ -34,6 +34,9 @@ declare global {
|
||||
* Specifies the label to use for accessibility. Defaults to the icon name.
|
||||
*/
|
||||
'ariaLabel': string;
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
'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.
|
||||
@@ -43,10 +46,18 @@ declare global {
|
||||
* Specifies which icon to use on `ios` mode.
|
||||
*/
|
||||
'ios': string;
|
||||
/**
|
||||
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `true`.
|
||||
*/
|
||||
'lazy': boolean;
|
||||
/**
|
||||
* Specifies which icon to use on `md` mode.
|
||||
*/
|
||||
'md': string;
|
||||
/**
|
||||
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
'mode': 'ios' | 'md';
|
||||
/**
|
||||
* Specifies which icon to use from the built-in set of icons.
|
||||
*/
|
||||
@@ -85,6 +96,9 @@ declare global {
|
||||
* Specifies the label to use for accessibility. Defaults to the icon name.
|
||||
*/
|
||||
'ariaLabel'?: string;
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
'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.
|
||||
@@ -94,10 +108,18 @@ declare global {
|
||||
* Specifies which icon to use on `ios` mode.
|
||||
*/
|
||||
'ios'?: string;
|
||||
/**
|
||||
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport. Default, `true`.
|
||||
*/
|
||||
'lazy'?: boolean;
|
||||
/**
|
||||
* Specifies which icon to use on `md` mode.
|
||||
*/
|
||||
'md'?: string;
|
||||
/**
|
||||
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
'mode'?: 'ios' | 'md';
|
||||
/**
|
||||
* Specifies which icon to use from the built-in set of icons.
|
||||
*/
|
||||
|
||||
@@ -17,16 +17,24 @@ export class Icon {
|
||||
|
||||
@Prop({ context: 'isServer' }) isServer!: boolean;
|
||||
@Prop({ context: 'resourcesUrl' }) resourcesUrl!: string;
|
||||
@Prop({ context: 'mode' }) mode?: string;
|
||||
@Prop({ context: 'document' }) doc!: Document;
|
||||
@Prop({ context: 'window' }) win: any;
|
||||
|
||||
/**
|
||||
* The color to use for the background of the item.
|
||||
*/
|
||||
@Prop() color?: string;
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
* Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
@Prop() mode?: 'ios' | 'md';
|
||||
|
||||
/**
|
||||
* Specifies the label to use for accessibility. Defaults to the icon name.
|
||||
*/
|
||||
@Prop({mutable: true, reflectToAttr: true}) ariaLabel?: string;
|
||||
@Prop({ mutable: true, reflectToAttr: true }) ariaLabel?: string;
|
||||
|
||||
/**
|
||||
* Specifies which icon to use on `ios` mode.
|
||||
@@ -62,6 +70,12 @@ export class Icon {
|
||||
@Prop() size?: string;
|
||||
|
||||
|
||||
/**
|
||||
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport.
|
||||
* Default, `true`.
|
||||
*/
|
||||
@Prop() lazy = true;
|
||||
|
||||
componentWillLoad() {
|
||||
// purposely do not return the promise here because loading
|
||||
// the svg file should not hold up loading the app
|
||||
@@ -81,7 +95,7 @@ export class Icon {
|
||||
|
||||
|
||||
waitUntilVisible(el: HTMLElement, rootMargin: string, cb: Function) {
|
||||
if (this.win) {
|
||||
if (this.lazy && this.win && this.win.IntersectionObserver) {
|
||||
const io = this.io = new this.win.IntersectionObserver((data: IntersectionObserverEntry[]) => {
|
||||
if (data[0].isIntersecting) {
|
||||
io.disconnect();
|
||||
@@ -223,10 +237,13 @@ export function getName(
|
||||
} else if (md && mode === 'md') {
|
||||
name = md.toLowerCase();
|
||||
|
||||
} else if (name && !(/^md-|^ios-|^logo-/.test(name))) {
|
||||
// this does not have one of the defaults
|
||||
// so lets auto add in the mode prefix for them
|
||||
name = mode + '-' + name.toLowerCase();
|
||||
} else if (name) {
|
||||
name = name.toLowerCase();
|
||||
if (!/^md-|^ios-|^logo-/.test(name)) {
|
||||
// this does not have one of the defaults
|
||||
// so lets auto add in the mode prefix for them
|
||||
name = `${mode}-${name}`;
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof name !== 'string' || name.trim() === '') {
|
||||
|
||||
Vendored
+1
@@ -26,6 +26,7 @@ declare global {
|
||||
}
|
||||
|
||||
import '@stencil/router';
|
||||
import '@stencil/state-tunnel';
|
||||
|
||||
import {
|
||||
MatchResults,
|
||||
|
||||
@@ -76,7 +76,7 @@ export class HeaderBar {
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
<stencil-route-link url='/' exact={true}>
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg width="32px" height="32px" viewBox="0 0 32 32">
|
||||
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||
<g id="icon" fill-rule="nonzero">
|
||||
<circle id="circle" fill="#EAEEF5" cx="16" cy="16" r="16"></circle>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import '@stencil/router';
|
||||
import { Component, Listen, State } from '@stencil/core';
|
||||
import { RouterSwitch } from '@stencil/router';
|
||||
|
||||
interface IconData {
|
||||
name: string,
|
||||
@@ -9,7 +8,7 @@ interface IconData {
|
||||
}
|
||||
|
||||
interface AppData {
|
||||
version: string,
|
||||
version: string | undefined,
|
||||
icons: IconData[]
|
||||
}
|
||||
|
||||
@@ -42,29 +41,32 @@ export class IoniconsSite {
|
||||
}
|
||||
|
||||
componentWillLoad() {
|
||||
return fetch('/data.json').then(rsp => {
|
||||
this.loadData();
|
||||
}
|
||||
|
||||
rsp.json().then(d => {
|
||||
this.data = d;
|
||||
this.data.icons = this.data.icons.map((o) =>{
|
||||
o.icons = o.icons.reverse();
|
||||
o.name = o.icons[0].split('-').slice(1).join('-');
|
||||
return o;
|
||||
})
|
||||
});
|
||||
async loadData() {
|
||||
const res = await fetch('/data.json');
|
||||
const json = await res.json();
|
||||
|
||||
});
|
||||
this.data = json;
|
||||
this.data.icons = json.icons.map((o: any) => {
|
||||
o.icons = o.icons.reverse();
|
||||
o.name = o.icons[0].split('-').slice(1).join('-');
|
||||
return o;
|
||||
})
|
||||
}
|
||||
|
||||
checkScroll() {
|
||||
// show/hide header searchbar
|
||||
const headerSearchEl: HTMLElement = document.querySelector('header .search-input');
|
||||
const bodySearchEl: HTMLElement = document.querySelector('icon-list .search-input');
|
||||
const headerSearchEl = document.querySelector('header .search-input');
|
||||
const bodySearchEl = document.querySelector('icon-list .search-input');
|
||||
|
||||
if (!bodySearchEl) return;
|
||||
if (!bodySearchEl || !headerSearchEl) {
|
||||
return;
|
||||
}
|
||||
|
||||
const headerInput: HTMLElement = headerSearchEl.querySelector('input');
|
||||
const bodyInput: HTMLElement = bodySearchEl.querySelector('input');
|
||||
const headerInput = headerSearchEl.querySelector('input')!;
|
||||
const bodyInput = bodySearchEl.querySelector('input')!;
|
||||
|
||||
if (bodySearchEl.getBoundingClientRect().top < (bodySearchEl.scrollHeight/2)) {
|
||||
if (this.isHeaderSearchVisible) return;
|
||||
@@ -86,7 +88,7 @@ export class IoniconsSite {
|
||||
|
||||
<stencil-router>
|
||||
<stencil-router-scroll-top>
|
||||
<RouterSwitch scrollTopOffset={0}>
|
||||
<stencil-route-switch scrollTopOffset={0}>
|
||||
<stencil-route url="/"
|
||||
component="landing-page"
|
||||
exact={true}
|
||||
@@ -99,7 +101,7 @@ export class IoniconsSite {
|
||||
|
||||
</stencil-route>
|
||||
<stencil-route component='notfound-page'></stencil-route>
|
||||
</RouterSwitch>
|
||||
</stencil-route-switch>
|
||||
</stencil-router-scroll-top>
|
||||
</stencil-router>
|
||||
]
|
||||
|
||||
@@ -9,12 +9,12 @@ import content from './content';
|
||||
styleUrl: 'usage-page.scss'
|
||||
})
|
||||
export class UsagePage {
|
||||
@Prop({ context: 'queue'}) queue: QueueApi;
|
||||
@Prop({ context: 'queue'}) queue!: QueueApi;
|
||||
|
||||
@State() exampleType: string = 'md';
|
||||
@State() exampleIcon: string = 'heart';
|
||||
|
||||
@Prop() match: MatchResults;
|
||||
@Prop() match?: MatchResults;
|
||||
@Prop() data: any;
|
||||
|
||||
componentWillLoad() {
|
||||
|
||||
Reference in New Issue
Block a user