mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
Rebuild docs site
This commit is contained in:
Vendored
+1
-1
@@ -123,4 +123,4 @@ function createComponentOnReadyPrototype(win, HTMLElementPrototype, App) {
|
||||
|
||||
init(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCoreSsr, appCorePolyfilled, hydratedCssClass, components);
|
||||
|
||||
})(window, document, "DocsSite","docssite",0,"docssite.core.js","docssite.core.pf.js","hydrated",[["footer-bar","footer-bar",1],["header-bar","header-bar",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","icon-list",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","icon-search",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","header-bar",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","icon-list",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","notfound-page",1],["stencil-route","header-bar",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","stencil-route-link",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","header-bar",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","icon-list",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","usage-page",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
|
||||
})(window, document, "DocsSite","docssite",0,"docssite.core.js","docssite.core.pf.js","hydrated",[["footer-bar","footer-bar",1],["header-bar","header-bar",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","icon-list",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","icon-search",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","header-bar",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","icon-list",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","notfound-page",1],["stencil-route","header-bar",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","stencil-route-link",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","header-bar",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","icon-list",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","usage-page",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
|
||||
Vendored
+2
@@ -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('<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
@@ -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('<stencil-route-link> 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};
|
||||
Vendored
-2
File diff suppressed because one or more lines are too long
-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};
|
||||
-43
@@ -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; }); });
|
||||
-7
File diff suppressed because one or more lines are too long
+1
-1
@@ -43,4 +43,4 @@
|
||||
"$": "usage-page"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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
@@ -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};
|
||||
Binary file not shown.
+1986
-1986
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 305 KiB After Width: | Height: | Size: 305 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -60,4 +60,4 @@
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
</body></html>
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
!function(e,t,n,r,i,o,s,c,u,l,a,d,m,p){for((a=e.ionicons=e.ionicons||{}).components=u,(m=u.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,l,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.2ggfirfb.js":(d.src=i+"ionicons.4nj5ozg1.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","omu1ljzi",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);
|
||||
!function(e,t,n,r,o,i,s,c,u,l,a,d,m,p){for((a=e.ionicons=e.ionicons||{}).components=u,(m=u.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,l,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.2ggfirfb.js":(d.src=o+"ionicons.4nj5ozg1.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","oypc542y",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);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"prefix": "ion-",
|
||||
"hash": "de492fb209db00f4df47a4fde307fd550e06b5ad13d0b13ca682393f1c9b0086",
|
||||
"hash": "6039e6edf12df18d3ecb072b38966de4139d91699a91535c2d21cd4b2c2f4dff",
|
||||
"name": "Ionicons",
|
||||
"icons": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user