mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-12-02 17:06:06 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
76799e6d2a | ||
|
|
685c09df15 | ||
|
|
e8e8216f35 | ||
|
|
92c579228e | ||
|
|
e080c27251 | ||
|
|
f3e720c129 | ||
|
|
b9e6dd787e | ||
|
|
d00a1db48e | ||
|
|
500bd26e56 | ||
|
|
73bc0a596a | ||
|
|
02e6c71099 | ||
|
|
1445bbd4a9 | ||
|
|
c0e2a0498b | ||
|
|
c493761abc | ||
|
|
4c07e02372 | ||
|
|
354665f069 | ||
|
|
43b4fff014 | ||
|
|
c14505fb28 | ||
|
|
7f4291e460 | ||
|
|
f8a367a1c8 | ||
|
|
c1bcd61d5a | ||
|
|
9a9aca0ae0 | ||
|
|
fad3fc4580 | ||
|
|
2c36419fd7 | ||
|
|
812b488515 | ||
|
|
bd3a98905f | ||
|
|
3a226bac77 | ||
|
|
29f812aaaf | ||
|
|
7d3dd41f59 | ||
|
|
422bda7983 | ||
|
|
e7f12e3df4 | ||
|
|
28eb1260d5 | ||
|
|
9dc22085ee | ||
|
|
3d8457d5df | ||
|
|
c41d08a4fe | ||
|
|
0e737a1aa8 | ||
|
|
7bb0d7b232 | ||
|
|
29a6c8b996 | ||
|
|
0f4438f581 | ||
|
|
1c5211c47c | ||
|
|
b0b67d51dd | ||
|
|
1c5942ad96 | ||
|
|
c635b65d75 | ||
|
|
a15a2f0f89 | ||
|
|
1a80387c54 | ||
|
|
bea74662db | ||
|
|
fcfe309839 | ||
|
|
918c27f1fd | ||
|
|
8f6706e1b4 | ||
|
|
ab0f7cab07 | ||
|
|
4d16d6b5bb | ||
|
|
080520c272 | ||
|
|
3d1d7b1287 | ||
|
|
92bf42fc66 | ||
|
|
38e75af977 | ||
|
|
978d7f0520 | ||
|
|
10ca108e3e | ||
|
|
c6238c8a36 | ||
|
|
8bb5ff94c8 | ||
|
|
fec5d9b436 | ||
|
|
6f97fcc1b4 | ||
|
|
7c5116b1cb | ||
|
|
fbd6f853f2 | ||
|
|
31127430b1 | ||
|
|
b6849aa02d | ||
|
|
ffe501d0dc | ||
|
|
9bc7938f97 | ||
|
|
61874d3b39 | ||
|
|
fb6e291605 | ||
|
|
a73cef8b2f |
Vendored
+38
-16
@@ -22,11 +22,11 @@
|
||||
/* Eina Bold */
|
||||
@font-face {
|
||||
font-family: 'Eina';
|
||||
src: url('../assets/fonts/34E6DB_F_0.eot');
|
||||
src: url('../assets/fonts/34E6DB_F_0.eot?#iefix') format('embedded-opentype'),
|
||||
url('../assets/fonts/34E6DB_F_0.woff2') format('woff2'),
|
||||
url('../assets/fonts/34E6DB_F_0.woff') format('woff'),
|
||||
url('../assets/fonts/34E6DB_F_0.ttf') format('truetype');
|
||||
src: url('/assets/fonts/34E6DB_F_0.eot');
|
||||
src: url('/assets/fonts/34E6DB_F_0.eot?#iefix') format('embedded-opentype'),
|
||||
url('/assets/fonts/34E6DB_F_0.woff2') format('woff2'),
|
||||
url('/assets/fonts/34E6DB_F_0.woff') format('woff'),
|
||||
url('/assets/fonts/34E6DB_F_0.ttf') format('truetype');
|
||||
font-weight: 700;
|
||||
unicode-range: U+000-5FF;
|
||||
}
|
||||
@@ -34,11 +34,11 @@
|
||||
/* Eina Semibold */
|
||||
@font-face {
|
||||
font-family: 'Eina';
|
||||
src: url('../assets/fonts/34E6DB_C_0.eot');
|
||||
src: url('../assets/fonts/34E6DB_C_0.eot?#iefix') format('embedded-opentype'),
|
||||
url('../assets/fonts/34E6DB_C_0.woff2') format('woff2'),
|
||||
url('../assets/fonts/34E6DB_C_0.woff') format('woff'),
|
||||
url('../assets/fonts/34E6DB_C_0.ttf') format('truetype');
|
||||
src: url('/assets/fonts/34E6DB_C_0.eot');
|
||||
src: url('/assets/fonts/34E6DB_C_0.eot?#iefix') format('embedded-opentype'),
|
||||
url('/assets/fonts/34E6DB_C_0.woff2') format('woff2'),
|
||||
url('/assets/fonts/34E6DB_C_0.woff') format('woff'),
|
||||
url('/assets/fonts/34E6DB_C_0.ttf') format('truetype');
|
||||
font-weight: 600;
|
||||
unicode-range: U+000-5FF;
|
||||
}
|
||||
@@ -46,11 +46,11 @@
|
||||
/* Eina Regular */
|
||||
@font-face {
|
||||
font-family: 'Eina';
|
||||
src: url('../assets/fonts/34E6DB_D_0.eot');
|
||||
src: url('../assets/fonts/34E6DB_D_0.eot?#iefix') format('embedded-opentype'),
|
||||
url('../assets/fonts/34E6DB_D_0.woff2') format('woff2'),
|
||||
url('../assets/fonts/34E6DB_D_0.woff') format('woff'),
|
||||
url('../assets/fonts/34E6DB_D_0.ttf') format('truetype');
|
||||
src: url('/assets/fonts/34E6DB_D_0.eot');
|
||||
src: url('/assets/fonts/34E6DB_D_0.eot?#iefix') format('embedded-opentype'),
|
||||
url('/assets/fonts/34E6DB_D_0.woff2') format('woff2'),
|
||||
url('/assets/fonts/34E6DB_D_0.woff') format('woff'),
|
||||
url('/assets/fonts/34E6DB_D_0.ttf') format('truetype');
|
||||
font-weight: 400;
|
||||
unicode-range: U+000-5FF;
|
||||
}
|
||||
@@ -72,14 +72,22 @@ body.no-scroll {
|
||||
}
|
||||
|
||||
main {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-direction: normal;
|
||||
-ms-flex-direction: column;
|
||||
flex-direction: column;
|
||||
min-height: 100%;
|
||||
padding-top: 110px;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
main > .wrapper {
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1 0 auto;
|
||||
flex: 1 0 auto;
|
||||
}
|
||||
|
||||
@@ -100,6 +108,7 @@ stencil-router-scroll-top > div {
|
||||
|
||||
.container,
|
||||
.container--small {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 auto;
|
||||
padding-left: 30px;
|
||||
@@ -108,6 +117,8 @@ stencil-router-scroll-top > div {
|
||||
|
||||
.container {
|
||||
max-width: 1140px;
|
||||
-webkit-box-flex: 1;
|
||||
-ms-flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
@@ -166,6 +177,7 @@ p {
|
||||
}
|
||||
|
||||
p a {
|
||||
-webkit-transition: border-color 0.3s;
|
||||
transition: border-color 0.3s;
|
||||
text-decoration: none;
|
||||
color: var(--color-dodger-blue);
|
||||
@@ -184,6 +196,7 @@ p.lead {
|
||||
|
||||
|
||||
.btn {
|
||||
-webkit-transition: .3s box-shadow,.3s background;
|
||||
transition: .3s box-shadow,.3s background;
|
||||
background-color: var(--color-catskill-white);
|
||||
color: var(--color-pale-sky);
|
||||
@@ -193,7 +206,11 @@ p.lead {
|
||||
padding: 9px 10px;
|
||||
border-radius: 4px;
|
||||
text-decoration: none;
|
||||
display: -webkit-inline-box;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
-webkit-box-align: center;
|
||||
-ms-flex-align: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
@@ -232,6 +249,8 @@ p.lead {
|
||||
height: 32px;
|
||||
padding: 0;
|
||||
pointer-events: none;
|
||||
-webkit-box-pack: center;
|
||||
-ms-flex-pack: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
}
|
||||
@@ -242,6 +261,8 @@ p.lead {
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -391,6 +412,7 @@ p code {
|
||||
}
|
||||
|
||||
.styled-code {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
background-color: #f5f7fa;
|
||||
padding: 16px 14px;
|
||||
@@ -410,4 +432,4 @@ pre {
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: var(--color-pale-sky);
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+139
-2
@@ -1,2 +1,139 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
!function(e,t,r,o,c,s,i,n,a,l,u,d,h,p){for((u=e.DocsSite=e.DocsSite||{}).components=a,(h=a.filter(function(e){return e[2]}).map(function(e){return e[0]})).length&&((d=t.createElement("style")).innerHTML=h.join()+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),t.head.insertBefore(d,t.head.firstChild)),function(e,t,r){r.$r=[];const o=t.componentOnReady;t.componentOnReady=function(t){const c=this;function s(e){r.$r?r.$r.push([c,e]):r.componentOnReady(c,e)}return o&&o.call(c),t?s(t):e.Promise?new Promise(s):{then:s}}}(e,l,u),c=c||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"),!c&&h&&(c=h),!c&&p.src&&(c=(h=p.src.split("/").slice(0,-1)).join("/")+(h.length?"/":"")+"docssite/"),d=t.createElement("script"),function(e,t,r,o){return!(t.search.indexOf("core=esm")>0)&&(!(!(t.search.indexOf("core=es5")>0||"file:"===t.protocol)&&e.customElements&&e.customElements.define&&e.fetch&&e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")&&"noModule"in r)||function(e){try{return new Function('import("")'),!1}catch(e){}return!0}())}(e,e.location,d)?d.src=c+"docssite.czb0qw2j.js":(d.src=c+"docssite.0xdbi8jl.js",d.setAttribute("type","module"),d.setAttribute("crossorigin",!0)),d.setAttribute("data-resources-url",c),d.setAttribute("data-namespace","docssite"),t.head.appendChild(d)}(window,document,0,0,0,0,0,0,[["footer-bar","xxdq8tou",1],["header-bar","f5jhpa2x",1,[["el",7],["isMobileMenuShown",5],["isSearchVisible",1,0,"is-search-visible",3],["isSticky",5],["query",1,0,1,2],["version",1,0,1,2]],0,[["window:scroll","handleScroll",0,1],["window:resize","handleResize",0,1]]],["icon-list","vscrqboi",1,[["data",1,0,1,1],["el",7],["isHeaderSearchVisible",5],["query",1,0,1,2],["selectedIcon",5],["selectedIconType",5]],0,[["body:keyup","escListener"],["body:click","handleBodyClicked"],["clearToast","handleClearToast"],["window:scroll","handleScroll",0,1]]],["icon-search","ms1l1l4a",1,[["autofocus",1,0,1,2],["query",1,0,1,2],["showClearCtrl",5],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","f5jhpa2x",1,[["data",5],["isHeaderSearchVisible",5],["query",5]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","vscrqboi",1,[["data",1,0,1,1],["el",7],["query",1,0,1,2]]],["notfound-page","d83fvjds",1],["stencil-route","f5jhpa2x",0,[["activeInGroup",5],["activeRouter",3,0,0,0,"activeRouter"],["component",1,0,1,2],["componentProps",1],["el",7],["exact",1,0,1,3],["group",1,0,1,2],["groupIndex",1,0,"group-index",4],["isServer",3,0,0,0,"isServer"],["location",3,0,0,0,"location"],["match",5],["queue",3,0,0,0,"queue"],["routeRender",1],["scrollTopOffset",1,0,"scroll-top-offset",4],["url",1,0,1,2]]],["stencil-route-link","5szlxwny",0,[["activeClass",1,0,"active-class",2],["activeRouter",3,0,0,0,"activeRouter"],["anchorClass",1,0,"anchor-class",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["custom",1,0,1,2],["exact",1,0,1,3],["match",5],["strict",1,0,1,3],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-router","f5jhpa2x",0,[["activeRouter",3,0,0,0,"activeRouter"],["historyType",1,0,"history-type",2],["match",5],["root",1,0,1,2],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","vscrqboi",1,[["el",7],["hadIconOnce",5],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",5],["touchEndY",5],["touchStartY",5]]],["usage-page","9wxpo3m4",1,[["data",1,0,1,1],["exampleIcon",5],["exampleType",5],["match",1],["queue",3,0,0,0,"queue"]]]],HTMLElement.prototype);
|
||||
/*!
|
||||
* Built with http://stenciljs.com
|
||||
* 2018-09-18T20:02:31
|
||||
*/
|
||||
(function(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCoreSsr, appCorePolyfilled, hydratedCssClass, components) {
|
||||
|
||||
function init(win, doc, namespace, fsNamespace, resourcesUrl, appCore, appCorePolyfilled, hydratedCssClass, components, HTMLElementPrototype, App, x, y, scriptElm) {
|
||||
// create global namespace if it doesn't already exist
|
||||
App = win[namespace] = win[namespace] || {};
|
||||
App.components = components;
|
||||
y = components.map(function (c) { return c[0]; });
|
||||
if (y.length) {
|
||||
// auto hide components until they been fully hydrated
|
||||
// reusing the "x" and "i" variables from the args for funzies
|
||||
x = doc.createElement('style');
|
||||
x.innerHTML = y.join() + '{visibility:hidden}.' + hydratedCssClass + '{visibility:inherit}';
|
||||
x.setAttribute('data-styles', '');
|
||||
y = doc.head.querySelector('meta[charset]');
|
||||
doc.head.insertBefore(x, y ? y.nextSibling : doc.head.firstChild);
|
||||
}
|
||||
createComponentOnReadyPrototype(win, namespace, HTMLElementPrototype);
|
||||
resourcesUrl = resourcesUrl || App.resourcesUrl;
|
||||
// figure out the script element for this current script
|
||||
y = doc.querySelectorAll('script');
|
||||
for (x = y.length - 1; x >= 0; x--) {
|
||||
scriptElm = y[x];
|
||||
if (scriptElm.src || scriptElm.hasAttribute('data-resources-url')) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
// get the resource path attribute on this script element
|
||||
y = scriptElm.getAttribute('data-resources-url');
|
||||
if (!resourcesUrl && y) {
|
||||
// the script element has a data-resources-url attribute, always use that
|
||||
resourcesUrl = y;
|
||||
}
|
||||
if (!resourcesUrl && scriptElm.src) {
|
||||
// we don't have an exact resourcesUrl, so let's
|
||||
// figure it out relative to this script's src and app's filesystem namespace
|
||||
y = scriptElm.src.split('/').slice(0, -1);
|
||||
resourcesUrl = (y.join('/')) + (y.length ? '/' : '') + fsNamespace + '/';
|
||||
}
|
||||
// request the core this browser needs
|
||||
// test for native support of custom elements and fetch
|
||||
// if either of those are not supported, then use the core w/ polyfills
|
||||
// also check if the page was build with ssr or not
|
||||
x = doc.createElement('script');
|
||||
if (usePolyfills(win, win.location, x, 'import("")')) {
|
||||
// requires the es5/polyfilled core
|
||||
x.src = resourcesUrl + appCorePolyfilled;
|
||||
}
|
||||
else {
|
||||
// let's do this!
|
||||
x.src = resourcesUrl + appCore;
|
||||
x.setAttribute('type', 'module');
|
||||
x.setAttribute('crossorigin', true);
|
||||
}
|
||||
x.setAttribute('data-resources-url', resourcesUrl);
|
||||
x.setAttribute('data-namespace', fsNamespace);
|
||||
doc.head.appendChild(x);
|
||||
}
|
||||
function usePolyfills(win, location, scriptElm, dynamicImportTest) {
|
||||
// fyi, dev mode has verbose if/return statements
|
||||
// but it minifies to a nice 'lil one-liner ;)
|
||||
if (location.search.indexOf('core=esm') > 0) {
|
||||
// force esm build
|
||||
return false;
|
||||
}
|
||||
if ((location.search.indexOf('core=es5') > 0) ||
|
||||
(location.protocol === 'file:') ||
|
||||
(!(win.customElements && win.customElements.define)) ||
|
||||
(!win.fetch) ||
|
||||
(!(win.CSS && win.CSS.supports && win.CSS.supports('color', 'var(--c)'))) ||
|
||||
(!('noModule' in scriptElm))) {
|
||||
// es5 build w/ polyfills
|
||||
return true;
|
||||
}
|
||||
// final test to see if this browser support dynamic imports
|
||||
return doesNotSupportsDynamicImports(dynamicImportTest);
|
||||
}
|
||||
function doesNotSupportsDynamicImports(dynamicImportTest) {
|
||||
try {
|
||||
new Function(dynamicImportTest);
|
||||
return false;
|
||||
}
|
||||
catch (e) { }
|
||||
return true;
|
||||
}
|
||||
function createComponentOnReadyPrototype(win, namespace, HTMLElementPrototype) {
|
||||
(win['s-apps'] = win['s-apps'] || []).push(namespace);
|
||||
if (!HTMLElementPrototype.componentOnReady) {
|
||||
HTMLElementPrototype.componentOnReady = function componentOnReady() {
|
||||
/*tslint:disable*/
|
||||
var elm = this;
|
||||
function executor(resolve) {
|
||||
if (elm.nodeName.indexOf('-') > 0) {
|
||||
// window hasn't loaded yet and there's a
|
||||
// good chance this is a custom element
|
||||
var apps = win['s-apps'];
|
||||
var appsReady = 0;
|
||||
// loop through all the app namespaces
|
||||
for (var i = 0; i < apps.length; i++) {
|
||||
// see if this app has "componentOnReady" setup
|
||||
if (win[apps[i]].componentOnReady) {
|
||||
// this app's core has loaded call its "componentOnReady"
|
||||
if (win[apps[i]].componentOnReady(elm, resolve)) {
|
||||
// this component does belong to this app and would
|
||||
// have fired off the resolve fn
|
||||
// let's stop here, we're good
|
||||
return;
|
||||
}
|
||||
appsReady++;
|
||||
}
|
||||
}
|
||||
if (appsReady < apps.length) {
|
||||
// not all apps are ready yet
|
||||
// add it to the queue to be figured out when they are
|
||||
(win['s-cr'] = win['s-cr'] || []).push([elm, resolve]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
// not a recognized app component
|
||||
resolve(null);
|
||||
}
|
||||
// callback wasn't provided, let's return a promise
|
||||
if (win.Promise) {
|
||||
// use native/polyfilled promise
|
||||
return new win.Promise(executor);
|
||||
}
|
||||
// promise may not have been polyfilled yet
|
||||
return { then: executor };
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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",64],["isMobileMenuShown",16],["isSearchVisible",1,0,"is-search-visible",4],["isSticky",16],["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",64],["isHeaderSearchVisible",16],["query",1,0,1,2],["selectedIcon",16],["selectedIconType",16]],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",16],["size",1,0,1,2]],0,[["keyup","searchListener"]]],["ionicons-site","header-bar",1,[["data",16],["isHeaderSearchVisible",16],["query",16]],0,[["window:scroll","handleScroll",0,1],["hasSearched","searchHandler"],["toggleHeaderSearch","toggleHandler"]]],["landing-page","icon-list",1,[["data",1,0,1,1],["el",64],["query",1,0,1,2]]],["notfound-page","notfound-page",1],["stencil-route","header-bar",1,[["component",1,0,1,2],["componentProps",1],["componentUpdated",1],["el",64],["exact",1,0,1,4],["group",1,0,1,2],["history",1],["historyType",1,0,"history-type",2],["location",1],["match",2],["routeRender",1],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",8],["url",1,0,1,2]]],["stencil-route-link","stencil-route-link",0,[["activeClass",1,0,"active-class",2],["anchorClass",1,0,"anchor-class",2],["anchorId",1,0,"anchor-id",2],["anchorRole",1,0,"anchor-role",2],["anchorTabIndex",1,0,"anchor-tab-index",2],["anchorTitle",1,0,"anchor-title",2],["ariaHaspopup",1,0,"aria-haspopup",2],["ariaLabel",1,0,"aria-label",2],["ariaPosinset",1,0,"aria-posinset",2],["ariaSetsize",1,0,"aria-setsize",8],["custom",1,0,1,2],["el",64],["exact",1,0,1,4],["history",1],["location",1],["match",16],["root",1,0,1,2],["strict",1,0,1,4],["url",1,0,1,2],["urlMatch",1,0,"url-match",2]]],["stencil-route-switch","header-bar",0,[["el",64],["group",1,0,1,2],["location",1],["queue",4,0,0,0,"queue"],["routeViewsUpdated",1],["scrollTopOffset",1,0,"scroll-top-offset",8]]],["stencil-router","header-bar",0,[["history",16],["historyType",1,0,"history-type",2],["isServer",4,0,0,0,"isServer"],["location",16],["queue",4,0,0,0,"queue"],["root",1,0,1,2],["scrollTopOffset",1,0,"scroll-top-offset",8],["titleSuffix",1,0,"title-suffix",2]]],["toast-bar","icon-list",1,[["el",64],["hadIconOnce",16],["selectedIcon",1],["selectedIconType",1,0,"selected-icon-type",2],["showCopiedConfirm",16],["touchEndY",16],["touchStartY",16]]],["usage-page","usage-page",1,[["data",1,0,1,1],["exampleIcon",16],["exampleType",16],["match",1],["queue",4,0,0,0,"queue"]]]],HTMLElement.prototype);
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class o{render(){return e("footer",null,e("div",{class:"container"},e("div",{class:"footer__open-source"},e("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},e("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),e("p",null,"Released under ",e("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),e("div",{class:"footer-menu"},e("a",{href:"cheatsheet.html"},"Cheatsheet"),e("a",{href:"/v1"},"v1"),e("a",{href:"/v2"},"v2"),e("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),e("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))}static get is(){return"footer-bar"}static get style(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"}}export{o as FooterBar};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("3vkw131p",["exports"],function(e){var o=window.DocsSite.h,r=function(){function e(){}return e.prototype.render=function(){return o("footer",null,o("div",{class:"container"},o("div",{class:"footer__open-source"},o("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},o("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),o("p",null,"Released under ",o("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),o("div",{class:"footer-menu"},o("a",{href:"cheatsheet.html"},"Cheatsheet"),o("a",{href:"/v1"},"v1"),o("a",{href:"/v2"},"v2"),o("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),o("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))},Object.defineProperty(e,"is",{get:function(){return"footer-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"},enumerable:!0,configurable:!0}),e}();e.FooterBar=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class o{render(){return e("footer",null,e("div",{class:"container"},e("div",{class:"footer__open-source"},e("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},e("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),e("p",null,"Released under ",e("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),e("div",{class:"footer-menu"},e("a",{href:"cheatsheet.html"},"Cheatsheet"),e("a",{href:"/v1"},"v1"),e("a",{href:"/v2"},"v2"),e("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),e("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))}static get is(){return"footer-bar"}static get style(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"}}export{o as FooterBar};
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("3vkw131p",["exports"],function(e){var o=window.DocsSite.h,r=function(){function e(){}return e.prototype.render=function(){return o("footer",null,o("div",{class:"container"},o("div",{class:"footer__open-source"},o("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},o("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),o("p",null,"Released under ",o("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),o("div",{class:"footer-menu"},o("a",{href:"cheatsheet.html"},"Cheatsheet"),o("a",{href:"/v1"},"v1"),o("a",{href:"/v2"},"v2"),o("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),o("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))},Object.defineProperty(e,"is",{get:function(){return"footer-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"},enumerable:!0,configurable:!0}),e}();e.FooterBar=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
/*! 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
@@ -1,2 +0,0 @@
|
||||
/*! 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
Vendored
-2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+50
@@ -0,0 +1,50 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('array.js', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
function applyPolyfill(window, document) {
|
||||
Array.prototype.find || Object.defineProperty(Array.prototype, "find", { writable: !0, configurable: !0, value: function (c, e) { if (null == this)
|
||||
throw new TypeError('"this" is null or not defined'); var b = Object(this), f = b.length >>> 0; if ("function" !== typeof c)
|
||||
throw new TypeError("predicate must be a function"); for (var a = 0; a < f;) {
|
||||
var d = b[a];
|
||||
if (c.call(e, d, a, b))
|
||||
return d;
|
||||
a++;
|
||||
} } });
|
||||
/*!
|
||||
Array.from
|
||||
*/
|
||||
Array.from || (Array.from = function () {
|
||||
var l = Object.prototype.toString, h = function (c) { return "function" === typeof c || "[object Function]" === l.call(c); }, m = Math.pow(2, 53) - 1;
|
||||
return function (c) {
|
||||
var k = Object(c);
|
||||
if (null == c)
|
||||
throw new TypeError("Array.from requires an array-like object - not null or undefined");
|
||||
var d = 1 < arguments.length ? arguments[1] : void 0, f;
|
||||
if ("undefined" !== typeof d) {
|
||||
if (!h(d))
|
||||
throw new TypeError("Array.from: when provided, the second argument must be a function");
|
||||
2 < arguments.length && (f = arguments[2]);
|
||||
}
|
||||
var a = Number(k.length);
|
||||
a = isNaN(a) ? 0 : 0 !== a && isFinite(a) ? (0 < a ? 1 : -1) * Math.floor(Math.abs(a)) : a;
|
||||
a = Math.min(Math.max(a, 0), m);
|
||||
for (var g = h(this) ? Object(new this(a)) : Array(a), b = 0, e; b < a;)
|
||||
e = k[b], g[b] = d ? "undefined" === typeof f ? d(e, b) : d.call(f, e, b) : e, b += 1;
|
||||
g.length = a;
|
||||
return g;
|
||||
};
|
||||
}());
|
||||
/*!
|
||||
Array.prototype.includes
|
||||
*/
|
||||
Array.prototype.includes || Object.defineProperty(Array.prototype, "includes", { writable: !0, configurable: !0, value: function (r, e) { if (null == this)
|
||||
throw new TypeError('"this" is null or not defined'); var t = Object(this), n = t.length >>> 0; if (0 === n)
|
||||
return !1; var i, o, a = 0 | e, u = Math.max(0 <= a ? a : n - Math.abs(a), 0); for (; u < n;) {
|
||||
if ((i = t[u]) === (o = r) || "number" == typeof i && "number" == typeof o && isNaN(i) && isNaN(o))
|
||||
return !0;
|
||||
u++;
|
||||
} return !1; } });
|
||||
}
|
||||
exports.applyPolyfill = applyPolyfill;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
function applyPolyfill(window, document) {/*!
|
||||
Array.prototype.find
|
||||
*/
|
||||
Array.prototype.find||Object.defineProperty(Array.prototype,"find",{writable:!0,configurable:!0,value:function(c,e){if(null==this)throw new TypeError('"this" is null or not defined');var b=Object(this),f=b.length>>>0;if("function"!==typeof c)throw new TypeError("predicate must be a function");for(var a=0;a<f;){var d=b[a];if(c.call(e,d,a,b))return d;a++;}}});
|
||||
/*!
|
||||
Array.from
|
||||
*/
|
||||
Array.from||(Array.from=function(){var l=Object.prototype.toString,h=function(c){return "function"===typeof c||"[object Function]"===l.call(c)},m=Math.pow(2,53)-1;return function(c){var k=Object(c);if(null==c)throw new TypeError("Array.from requires an array-like object - not null or undefined");var d=1<arguments.length?arguments[1]:void 0,f;if("undefined"!==typeof d){if(!h(d))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(f=arguments[2]);}var a=
|
||||
Number(k.length);a=isNaN(a)?0:0!==a&&isFinite(a)?(0<a?1:-1)*Math.floor(Math.abs(a)):a;a=Math.min(Math.max(a,0),m);for(var g=h(this)?Object(new this(a)):Array(a),b=0,e;b<a;)e=k[b],g[b]=d?"undefined"===typeof f?d(e,b):d.call(f,e,b):e,b+=1;g.length=a;return g}}());
|
||||
/*!
|
||||
Array.prototype.includes
|
||||
*/
|
||||
Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if(0===n)return !1;var i,o,a=0|e,u=Math.max(0<=a?a:n-Math.abs(a),0);for(;u<n;){if((i=t[u])===(o=r)||"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))return !0;u++;}return !1}});}
|
||||
|
||||
export { applyPolyfill };
|
||||
+593
@@ -0,0 +1,593 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
var DEFAULT_DELIMITER = '/';
|
||||
var DEFAULT_DELIMITERS = './';
|
||||
var PATH_REGEXP = new RegExp([
|
||||
'(\\\\.)',
|
||||
'(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?'
|
||||
].join('|'), 'g');
|
||||
function parse(str, options) {
|
||||
var tokens = [];
|
||||
var key = 0;
|
||||
var index = 0;
|
||||
var path = '';
|
||||
var defaultDelimiter = (options && options.delimiter) || DEFAULT_DELIMITER;
|
||||
var delimiters = (options && options.delimiters) || DEFAULT_DELIMITERS;
|
||||
var pathEscaped = false;
|
||||
var res;
|
||||
while ((res = PATH_REGEXP.exec(str)) !== null) {
|
||||
var m = res[0];
|
||||
var escaped = res[1];
|
||||
var offset = res.index;
|
||||
path += str.slice(index, offset);
|
||||
index = offset + m.length;
|
||||
if (escaped) {
|
||||
path += escaped[1];
|
||||
pathEscaped = true;
|
||||
continue;
|
||||
}
|
||||
var prev = '';
|
||||
var next = str[index];
|
||||
var name = res[2];
|
||||
var capture = res[3];
|
||||
var group = res[4];
|
||||
var modifier = res[5];
|
||||
if (!pathEscaped && path.length) {
|
||||
var k = path.length - 1;
|
||||
if (delimiters.indexOf(path[k]) > -1) {
|
||||
prev = path[k];
|
||||
path = path.slice(0, k);
|
||||
}
|
||||
}
|
||||
if (path) {
|
||||
tokens.push(path);
|
||||
path = '';
|
||||
pathEscaped = false;
|
||||
}
|
||||
var partial = prev !== '' && next !== undefined && next !== prev;
|
||||
var repeat = modifier === '+' || modifier === '*';
|
||||
var optional = modifier === '?' || modifier === '*';
|
||||
var delimiter = prev || defaultDelimiter;
|
||||
var pattern = capture || group;
|
||||
tokens.push({
|
||||
name: name || key++,
|
||||
prefix: prev,
|
||||
delimiter: delimiter,
|
||||
optional: optional,
|
||||
repeat: repeat,
|
||||
partial: partial,
|
||||
pattern: pattern ? escapeGroup(pattern) : '[^' + escapeString(delimiter) + ']+?'
|
||||
});
|
||||
}
|
||||
if (path || index < str.length) {
|
||||
tokens.push(path + str.substr(index));
|
||||
}
|
||||
return tokens;
|
||||
}
|
||||
function escapeString(str) {
|
||||
return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, '\\$1');
|
||||
}
|
||||
function escapeGroup(group) {
|
||||
return group.replace(/([=!:$/()])/g, '\\$1');
|
||||
}
|
||||
function flags(options) {
|
||||
return options && options.sensitive ? '' : 'i';
|
||||
}
|
||||
function regexpToRegexp(path, keys) {
|
||||
if (!keys)
|
||||
return path;
|
||||
var groups = path.source.match(/\((?!\?)/g);
|
||||
if (groups) {
|
||||
for (var i = 0; i < groups.length; i++) {
|
||||
keys.push({
|
||||
name: i,
|
||||
prefix: null,
|
||||
delimiter: null,
|
||||
optional: false,
|
||||
repeat: false,
|
||||
partial: false,
|
||||
pattern: null
|
||||
});
|
||||
}
|
||||
}
|
||||
return path;
|
||||
}
|
||||
function arrayToRegexp(path, keys, options) {
|
||||
var parts = [];
|
||||
for (var i = 0; i < path.length; i++) {
|
||||
parts.push(pathToRegexp(path[i], keys, options).source);
|
||||
}
|
||||
return new RegExp('(?:' + parts.join('|') + ')', flags(options));
|
||||
}
|
||||
function stringToRegexp(path, keys, options) {
|
||||
return tokensToRegExp(parse(path, options), keys, options);
|
||||
}
|
||||
function tokensToRegExp(tokens, keys, options) {
|
||||
options = options || {};
|
||||
var strict = options.strict;
|
||||
var end = options.end !== false;
|
||||
var delimiter = escapeString(options.delimiter || DEFAULT_DELIMITER);
|
||||
var delimiters = options.delimiters || DEFAULT_DELIMITERS;
|
||||
var endsWith = [].concat(options.endsWith || []).map(escapeString).concat('$').join('|');
|
||||
var route = '';
|
||||
var isEndDelimited = false;
|
||||
for (var i = 0; i < tokens.length; i++) {
|
||||
var token = tokens[i];
|
||||
if (typeof token === 'string') {
|
||||
route += escapeString(token);
|
||||
isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1;
|
||||
}
|
||||
else {
|
||||
var prefix = escapeString(token.prefix || '');
|
||||
var capture = token.repeat
|
||||
? '(?:' + token.pattern + ')(?:' + prefix + '(?:' + token.pattern + '))*'
|
||||
: token.pattern;
|
||||
if (keys)
|
||||
keys.push(token);
|
||||
if (token.optional) {
|
||||
if (token.partial) {
|
||||
route += prefix + '(' + capture + ')?';
|
||||
}
|
||||
else {
|
||||
route += '(?:' + prefix + '(' + capture + '))?';
|
||||
}
|
||||
}
|
||||
else {
|
||||
route += prefix + '(' + capture + ')';
|
||||
}
|
||||
}
|
||||
}
|
||||
if (end) {
|
||||
if (!strict)
|
||||
route += '(?:' + delimiter + ')?';
|
||||
route += endsWith === '$' ? '$' : '(?=' + endsWith + ')';
|
||||
}
|
||||
else {
|
||||
if (!strict)
|
||||
route += '(?:' + delimiter + '(?=' + endsWith + '))?';
|
||||
if (!isEndDelimited)
|
||||
route += '(?=' + delimiter + '|' + endsWith + ')';
|
||||
}
|
||||
return new RegExp('^' + route, flags(options));
|
||||
}
|
||||
function pathToRegexp(path, keys, options) {
|
||||
if (path instanceof RegExp) {
|
||||
return regexpToRegexp(path, keys);
|
||||
}
|
||||
if (Array.isArray(path)) {
|
||||
return arrayToRegexp(path, keys, options);
|
||||
}
|
||||
return stringToRegexp(path, keys, options);
|
||||
}
|
||||
|
||||
function hasBasename(path, prefix) {
|
||||
return (new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i')).test(path);
|
||||
}
|
||||
function stripBasename(path, prefix) {
|
||||
return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
|
||||
}
|
||||
function stripTrailingSlash(path) {
|
||||
return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
|
||||
}
|
||||
function addLeadingSlash(path) {
|
||||
return path.charAt(0) === '/' ? path : '/' + path;
|
||||
}
|
||||
function stripLeadingSlash(path) {
|
||||
return path.charAt(0) === '/' ? path.substr(1) : path;
|
||||
}
|
||||
function parsePath(path) {
|
||||
let pathname = path || '/';
|
||||
let search = '';
|
||||
let hash = '';
|
||||
const hashIndex = pathname.indexOf('#');
|
||||
if (hashIndex !== -1) {
|
||||
hash = pathname.substr(hashIndex);
|
||||
pathname = pathname.substr(0, hashIndex);
|
||||
}
|
||||
const searchIndex = pathname.indexOf('?');
|
||||
if (searchIndex !== -1) {
|
||||
search = pathname.substr(searchIndex);
|
||||
pathname = pathname.substr(0, searchIndex);
|
||||
}
|
||||
return {
|
||||
pathname,
|
||||
search: search === '?' ? '' : search,
|
||||
hash: hash === '#' ? '' : hash,
|
||||
query: {},
|
||||
key: ''
|
||||
};
|
||||
}
|
||||
function createPath(location) {
|
||||
const { pathname, search, hash } = location;
|
||||
let path = pathname || '/';
|
||||
if (search && search !== '?') {
|
||||
path += (search.charAt(0) === '?' ? search : `?${search}`);
|
||||
}
|
||||
if (hash && hash !== '#') {
|
||||
path += (hash.charAt(0) === '#' ? hash : `#${hash}`);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
function parseQueryString(query) {
|
||||
if (!query) {
|
||||
return {};
|
||||
}
|
||||
return (/^[?#]/.test(query) ? query.slice(1) : query)
|
||||
.split('&')
|
||||
.reduce((params, param) => {
|
||||
let [key, value] = param.split('=');
|
||||
params[key] = value ? decodeURIComponent(value.replace(/\+/g, ' ')) : '';
|
||||
return params;
|
||||
}, {});
|
||||
}
|
||||
|
||||
function isAbsolute(pathname) {
|
||||
return pathname.charAt(0) === '/';
|
||||
}
|
||||
function createKey(keyLength) {
|
||||
return Math.random().toString(36).substr(2, keyLength);
|
||||
}
|
||||
function spliceOne(list, index) {
|
||||
for (let i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
|
||||
list[i] = list[k];
|
||||
}
|
||||
list.pop();
|
||||
}
|
||||
function resolvePathname(to, from = '') {
|
||||
const toParts = to && to.split('/') || [];
|
||||
let fromParts = from && from.split('/') || [];
|
||||
const isToAbs = to && isAbsolute(to);
|
||||
const isFromAbs = from && isAbsolute(from);
|
||||
const mustEndAbs = isToAbs || isFromAbs;
|
||||
if (to && isAbsolute(to)) {
|
||||
fromParts = toParts;
|
||||
}
|
||||
else if (toParts.length) {
|
||||
fromParts.pop();
|
||||
fromParts = fromParts.concat(toParts);
|
||||
}
|
||||
if (!fromParts.length) {
|
||||
return '/';
|
||||
}
|
||||
let hasTrailingSlash;
|
||||
if (fromParts.length) {
|
||||
const last = fromParts[fromParts.length - 1];
|
||||
hasTrailingSlash = (last === '.' || last === '..' || last === '');
|
||||
}
|
||||
else {
|
||||
hasTrailingSlash = false;
|
||||
}
|
||||
let up = 0;
|
||||
for (let i = fromParts.length; i >= 0; i--) {
|
||||
const part = fromParts[i];
|
||||
if (part === '.') {
|
||||
spliceOne(fromParts, i);
|
||||
}
|
||||
else if (part === '..') {
|
||||
spliceOne(fromParts, i);
|
||||
up++;
|
||||
}
|
||||
else if (up) {
|
||||
spliceOne(fromParts, i);
|
||||
up--;
|
||||
}
|
||||
}
|
||||
if (!mustEndAbs) {
|
||||
for (; up--; up) {
|
||||
fromParts.unshift('..');
|
||||
}
|
||||
}
|
||||
if (mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0]))) {
|
||||
fromParts.unshift('');
|
||||
}
|
||||
let result = fromParts.join('/');
|
||||
if (hasTrailingSlash && result.substr(-1) !== '/') {
|
||||
result += '/';
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function valueEqual(a, b) {
|
||||
if (a === b) {
|
||||
return true;
|
||||
}
|
||||
if (a == null || b == null) {
|
||||
return false;
|
||||
}
|
||||
if (Array.isArray(a)) {
|
||||
return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {
|
||||
return valueEqual(item, b[index]);
|
||||
});
|
||||
}
|
||||
const aType = typeof a;
|
||||
const bType = typeof b;
|
||||
if (aType !== bType) {
|
||||
return false;
|
||||
}
|
||||
if (aType === 'object') {
|
||||
const aValue = a.valueOf();
|
||||
const bValue = b.valueOf();
|
||||
if (aValue !== a || bValue !== b) {
|
||||
return valueEqual(aValue, bValue);
|
||||
}
|
||||
const aKeys = Object.keys(a);
|
||||
const bKeys = Object.keys(b);
|
||||
if (aKeys.length !== bKeys.length) {
|
||||
return false;
|
||||
}
|
||||
return aKeys.every(function (key) {
|
||||
return valueEqual(a[key], b[key]);
|
||||
});
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function locationsAreEqual(a, b) {
|
||||
return a.pathname === b.pathname &&
|
||||
a.search === b.search &&
|
||||
a.hash === b.hash &&
|
||||
a.key === b.key &&
|
||||
valueEqual(a.state, b.state);
|
||||
}
|
||||
function createLocation(path, state, key, currentLocation) {
|
||||
let location;
|
||||
if (typeof path === 'string') {
|
||||
location = parsePath(path);
|
||||
if (location.state !== undefined) {
|
||||
location.state = state;
|
||||
}
|
||||
}
|
||||
else {
|
||||
location = Object.assign({ pathname: '' }, path);
|
||||
if (location.search && location.search.charAt(0) !== '?') {
|
||||
location.search = '?' + location.search;
|
||||
}
|
||||
if (location.hash && location.hash.charAt(0) !== '#') {
|
||||
location.hash = '#' + location.hash;
|
||||
}
|
||||
if (state !== undefined && location.state === undefined) {
|
||||
location.state = state;
|
||||
}
|
||||
}
|
||||
try {
|
||||
location.pathname = decodeURI(location.pathname);
|
||||
}
|
||||
catch (e) {
|
||||
if (e instanceof URIError) {
|
||||
throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' +
|
||||
'This is likely caused by an invalid percent-encoding.');
|
||||
}
|
||||
else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
location.key = key;
|
||||
if (currentLocation) {
|
||||
if (!location.pathname) {
|
||||
location.pathname = currentLocation.pathname;
|
||||
}
|
||||
else if (location.pathname.charAt(0) !== '/') {
|
||||
location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!location.pathname) {
|
||||
location.pathname = '/';
|
||||
}
|
||||
}
|
||||
location.query = parseQueryString(location.search || '');
|
||||
return location;
|
||||
}
|
||||
|
||||
const patternCache = {};
|
||||
const cacheLimit = 10000;
|
||||
let cacheCount = 0;
|
||||
function compilePath(pattern, options) {
|
||||
const cacheKey = `${options.end}${options.strict}`;
|
||||
const cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
|
||||
const cachePattern = JSON.stringify(pattern);
|
||||
if (cache[cachePattern]) {
|
||||
return cache[cachePattern];
|
||||
}
|
||||
const keys = [];
|
||||
const re = pathToRegexp(pattern, keys, options);
|
||||
const compiledPattern = { re, keys };
|
||||
if (cacheCount < cacheLimit) {
|
||||
cache[cachePattern] = compiledPattern;
|
||||
cacheCount += 1;
|
||||
}
|
||||
return compiledPattern;
|
||||
}
|
||||
function matchPath(pathname, options = {}) {
|
||||
if (typeof options === 'string') {
|
||||
options = { path: options };
|
||||
}
|
||||
const { path = '/', exact = false, strict = false } = options;
|
||||
const { re, keys } = compilePath(path, { end: exact, strict });
|
||||
const match = re.exec(pathname);
|
||||
if (!match) {
|
||||
return null;
|
||||
}
|
||||
const [url, ...values] = match;
|
||||
const isExact = pathname === url;
|
||||
if (exact && !isExact) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
path,
|
||||
url: path === '/' && url === '' ? '/' : url,
|
||||
isExact,
|
||||
params: keys.reduce((memo, key, index) => {
|
||||
memo[key.name] = values[index];
|
||||
return memo;
|
||||
}, {})
|
||||
};
|
||||
}
|
||||
function matchesAreEqual(a, b) {
|
||||
if (a == null && b == null) {
|
||||
return true;
|
||||
}
|
||||
if (b == null) {
|
||||
return false;
|
||||
}
|
||||
return a && b &&
|
||||
a.path === b.path &&
|
||||
a.url === b.url &&
|
||||
valueEqual(a.params, b.params);
|
||||
}
|
||||
|
||||
/*!
|
||||
* StencilStateTunnel: Core, es5
|
||||
* Built with http://stenciljs.com
|
||||
*/
|
||||
function u(n,t){for(var e,r,i=null,o=!1,u=!1,f=arguments.length;f-- >2;)T.push(arguments[f]);for(;T.length>0;){var c=T.pop();if(c&&void 0!==c.pop)for(f=c.length;f--;)T.push(c[f]);else"boolean"==typeof c&&(c=null),(u="function"!=typeof n)&&(null==c?c="":"number"==typeof c?c=String(c):"string"!=typeof c&&(u=!1)),u&&o?i[i.length-1].vtext+=c:null===i?i=[u?{vtext:c}:c]:i.push(u?{vtext:c}:c),o=u;}if(null!=t){if(t.className&&(t.class=t.className),"object"==typeof t.class){for(f in t.class)t.class[f]&&T.push(f);t.class=T.join(" "),T.length=0;}null!=t.key&&(e=t.key),null!=t.name&&(r=t.name);}return "function"==typeof n?n(t,i||[],W):{vtag:n,vchildren:i,vtext:void 0,vattrs:t,vkey:e,vname:r,w:void 0,g:!1}}function f(n){return {vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}undefined&&undefined.Dn||(Object.setPrototypeOf||Array);var T=[],W={forEach:function(n,t){n.forEach(function(n,e,r){return t(f(n),e,r)});},map:function(n,t){return n.map(function(n,e,r){return function i(n){return {vtag:n.vtag,vchildren:n.vchildren,vtext:n.vtext,vattrs:n.vattrs,vkey:n.vkey,vname:n.vname}}(t(f(n),e,r))})}};
|
||||
|
||||
/*! Built with http://stenciljs.com */
|
||||
var __rest = function (s, e) {
|
||||
var t = {};
|
||||
for (var p in s)
|
||||
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
||||
t[p] = s[p];
|
||||
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
||||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
||||
if (e.indexOf(p[i]) < 0)
|
||||
t[p[i]] = s[p[i]];
|
||||
return t;
|
||||
};
|
||||
function defaultConsumerRender(subscribe, renderer) {
|
||||
return u("context-consumer", { subscribe: subscribe, renderer: renderer });
|
||||
}
|
||||
function createProviderConsumer(defaultState, consumerRender) {
|
||||
if (consumerRender === void 0) { consumerRender = defaultConsumerRender; }
|
||||
var listeners = new Map();
|
||||
var currentState = defaultState;
|
||||
function notifyConsumers() {
|
||||
listeners.forEach(updateListener);
|
||||
}
|
||||
function updateListener(fields, listener) {
|
||||
if (Array.isArray(fields)) {
|
||||
fields.slice().forEach(function (fieldName) {
|
||||
listener[fieldName] = currentState[fieldName];
|
||||
});
|
||||
}
|
||||
else {
|
||||
listener[fields] = Object.assign({}, currentState);
|
||||
}
|
||||
listener.forceUpdate();
|
||||
}
|
||||
function attachListener(propList) {
|
||||
return function (el) {
|
||||
if (listeners.has(el)) {
|
||||
return;
|
||||
}
|
||||
listeners.set(el, propList);
|
||||
updateListener(propList, el);
|
||||
};
|
||||
}
|
||||
function subscribe(el, propList) {
|
||||
attachListener(propList)(el);
|
||||
return function () {
|
||||
listeners.delete(el);
|
||||
};
|
||||
}
|
||||
var Provider = function (_b, children) {
|
||||
var state = _b.state;
|
||||
currentState = state;
|
||||
notifyConsumers();
|
||||
return children;
|
||||
};
|
||||
var Consumer = function (props, children) {
|
||||
return consumerRender(subscribe, children[0]);
|
||||
};
|
||||
function wrapConsumer(childComponent, fieldList) {
|
||||
var Child = childComponent.is;
|
||||
return function (_a) {
|
||||
var children = _a.children, props = __rest(_a, ["children"]);
|
||||
return (u(Child, Object.assign({ ref: attachListener(fieldList) }, props), children));
|
||||
};
|
||||
}
|
||||
function injectProps(childComponent, fieldList) {
|
||||
var unsubscribe = null;
|
||||
var elementRefName = Object.keys(childComponent.properties).find(function (propName) {
|
||||
return childComponent.properties[propName].elementRef == true;
|
||||
});
|
||||
if (elementRefName == undefined) {
|
||||
throw new Error("Please ensure that your Component " + childComponent.is + " has an attribute with an \"@Element\" decorator. " +
|
||||
"This is required to be able to inject properties.");
|
||||
}
|
||||
var prevComponentWillLoad = childComponent.prototype.componentWillLoad;
|
||||
childComponent.prototype.componentWillLoad = function () {
|
||||
unsubscribe = subscribe(this[elementRefName], fieldList);
|
||||
if (prevComponentWillLoad) {
|
||||
return prevComponentWillLoad.bind(this)();
|
||||
}
|
||||
};
|
||||
var prevComponentDidUnload = childComponent.prototype.componentDidUnload;
|
||||
childComponent.prototype.componentDidUnload = function () {
|
||||
unsubscribe();
|
||||
if (prevComponentDidUnload) {
|
||||
return prevComponentDidUnload.bind(this)();
|
||||
}
|
||||
};
|
||||
}
|
||||
return {
|
||||
Provider: Provider,
|
||||
Consumer: Consumer,
|
||||
wrapConsumer: wrapConsumer,
|
||||
injectProps: injectProps
|
||||
};
|
||||
}
|
||||
|
||||
// StencilStateTunnel: ES Module
|
||||
|
||||
var ActiveRouter = createProviderConsumer({
|
||||
historyType: 'browser',
|
||||
location: {
|
||||
pathname: '',
|
||||
query: {},
|
||||
key: ''
|
||||
},
|
||||
titleSuffix: '',
|
||||
root: '/',
|
||||
routeViewsUpdated: () => { }
|
||||
});
|
||||
|
||||
const canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
||||
const addEventListener$1 = (node, event, listener) => (node.addEventListener
|
||||
? node.addEventListener(event, listener, false)
|
||||
: node.attachEvent('on' + event, listener));
|
||||
const removeEventListener = (node, event, listener) => (node.removeEventListener
|
||||
? node.removeEventListener(event, listener, false)
|
||||
: node.detachEvent('on' + event, listener));
|
||||
const getConfirmation = (message, callback) => (callback(window.confirm(message)));
|
||||
const isModifiedEvent = (event) => (event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
|
||||
const supportsHistory = () => {
|
||||
const ua = window.navigator.userAgent;
|
||||
if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&
|
||||
ua.indexOf('Mobile Safari') !== -1 &&
|
||||
ua.indexOf('Chrome') === -1 &&
|
||||
ua.indexOf('Windows Phone') === -1) {
|
||||
return false;
|
||||
}
|
||||
return window.history && 'pushState' in window.history;
|
||||
};
|
||||
const supportsPopStateOnHashChange = () => (window.navigator.userAgent.indexOf('Trident') === -1);
|
||||
const supportsGoWithoutReloadUsingHash = () => (window.navigator.userAgent.indexOf('Firefox') === -1);
|
||||
const isExtraneousPopstateEvent = (event) => (event.state === undefined &&
|
||||
navigator.userAgent.indexOf('CriOS') === -1);
|
||||
const storageAvailable = (type) => {
|
||||
var storage = window[type], x = '__storage_test__';
|
||||
try {
|
||||
storage.setItem(x, x);
|
||||
storage.removeItem(x);
|
||||
return true;
|
||||
}
|
||||
catch (e) {
|
||||
return e instanceof DOMException && (e.code === 22 ||
|
||||
e.code === 1014 ||
|
||||
e.name === 'QuotaExceededError' ||
|
||||
e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
|
||||
storage.length !== 0;
|
||||
}
|
||||
};
|
||||
|
||||
export { matchPath as a, matchesAreEqual as b, ActiveRouter as c, storageAvailable as d, createLocation as e, createKey as f, addLeadingSlash as g, stripTrailingSlash as h, hasBasename as i, stripBasename as j, createPath as k, canUseDOM as l, addEventListener$1 as m, removeEventListener as n, getConfirmation as o, supportsHistory as p, supportsPopStateOnHashChange as q, isExtraneousPopstateEvent as r, locationsAreEqual as s, stripLeadingSlash as t, supportsGoWithoutReloadUsingHash as u, isModifiedEvent as v };
|
||||
-37
@@ -1,37 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("chunk-4440b782.js", ["exports"], function (e) { window.DocsSite.h; var t = "/", n = "./", r = new RegExp(["(\\\\.)", "(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"), "g"); function i(e) { return e.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"); } function a(e) { return e.replace(/([=!:$/()])/g, "\\$1"); } function u(e) { return e && e.sensitive ? "" : "i"; } function l(e, o, c) { return e instanceof RegExp ? function (e, t) { if (!t)
|
||||
return e; var n = e.source.match(/\((?!\?)/g); if (n)
|
||||
for (var r = 0; r < n.length; r++)
|
||||
t.push({ name: r, prefix: null, delimiter: null, optional: !1, repeat: !1, partial: !1, pattern: null }); return e; }(e, o) : Array.isArray(e) ? function (e, t, n) { for (var r = [], i = 0; i < e.length; i++)
|
||||
r.push(l(e[i], t, n).source); return new RegExp("(?:" + r.join("|") + ")", u(n)); }(e, o, c) : function (e, l, o) { return function (e, r, a) { for (var l = (a = a || {}).strict, o = !1 !== a.end, c = i(a.delimiter || t), s = a.delimiters || n, p = [].concat(a.endsWith || []).map(i).concat("$").join("|"), f = "", h = !1, d = 0; d < e.length; d++) {
|
||||
var g = e[d];
|
||||
if ("string" == typeof g)
|
||||
f += i(g), h = d === e.length - 1 && s.indexOf(g[g.length - 1]) > -1;
|
||||
else {
|
||||
var x = i(g.prefix), v = g.repeat ? "(?:" + g.pattern + ")(?:" + x + "(?:" + g.pattern + "))*" : g.pattern;
|
||||
r && r.push(g), g.optional ? g.partial ? f += x + "(" + v + ")?" : f += "(?:" + x + "(" + v + "))?" : f += x + "(" + v + ")";
|
||||
}
|
||||
} return o ? (l || (f += "(?:" + c + ")?"), f += "$" === p ? "$" : "(?=" + p + ")") : (l || (f += "(?:" + c + "(?=" + p + "))?"), h || (f += "(?=" + c + "|" + p + ")")), new RegExp("^" + f, u(a)); }(function (e, u) { for (var l, o = [], c = 0, s = 0, p = "", f = u && u.delimiter || t, h = u && u.delimiters || n, d = !1; null !== (l = r.exec(e));) {
|
||||
var g = l[0], x = l[1], v = l.index;
|
||||
if (p += e.slice(s, v), s = v + g.length, x)
|
||||
p += x[1], d = !0;
|
||||
else {
|
||||
var m = "", $ = e[s], y = l[2], w = l[3], E = l[4], R = l[5];
|
||||
if (!d && p.length) {
|
||||
var j = p.length - 1;
|
||||
h.indexOf(p[j]) > -1 && (m = p[j], p = p.slice(0, j));
|
||||
}
|
||||
p && (o.push(p), p = "", d = !1);
|
||||
var O = "" !== m && void 0 !== $ && $ !== m, S = "+" === R || "*" === R, b = "?" === R || "*" === R, k = m || f, A = w || E;
|
||||
o.push({ name: y || c++, prefix: m, delimiter: k, optional: b, repeat: S, partial: O, pattern: A ? a(A) : "[^" + i(k) + "]+?" });
|
||||
}
|
||||
} return (p || s < e.length) && o.push(p + e.substr(s)), o; }(e, o), l, o); }(e, o, c); } var o = {}; var c = 0; e.matchPath = function (e, t) {
|
||||
if (t === void 0) { t = {}; }
|
||||
"string" == typeof t && (t = { path: t });
|
||||
var _a = t.path, n = _a === void 0 ? "/" : _a, _b = t.exact, r = _b === void 0 ? !1 : _b, _c = t.strict, i = _c === void 0 ? !1 : _c, _d = function (e, t) { var n = "" + t.end + t.strict, r = o[n] || (o[n] = {}), i = JSON.stringify(e); if (r[i])
|
||||
return r[i]; var a = [], u = { re: l(e, a, t), keys: a }; return c < 1e4 && (r[i] = u, c += 1), u; }(n, { end: r, strict: i }), a = _d.re, u = _d.keys, s = a.exec(e);
|
||||
if (!s)
|
||||
return null;
|
||||
var p = s[0], f = s.slice(1), h = e === p;
|
||||
return r && !h ? null : { path: n, url: "/" === n && "" === p ? "/" : p, isExact: h, params: u.reduce(function (e, t, n) { return e[t.name] = f[n], e; }, {}) };
|
||||
}; });
|
||||
+628
@@ -0,0 +1,628 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('chunk-4e065e0c.js', ['require', 'exports'], function (require, exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var DEFAULT_DELIMITER = '/';
|
||||
var DEFAULT_DELIMITERS = './';
|
||||
var PATH_REGEXP = new RegExp([
|
||||
'(\\\\.)',
|
||||
'(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?'
|
||||
].join('|'), 'g');
|
||||
function parse(str, options) {
|
||||
var tokens = [];
|
||||
var key = 0;
|
||||
var index = 0;
|
||||
var path = '';
|
||||
var defaultDelimiter = (options && options.delimiter) || DEFAULT_DELIMITER;
|
||||
var delimiters = (options && options.delimiters) || DEFAULT_DELIMITERS;
|
||||
var pathEscaped = false;
|
||||
var res;
|
||||
while ((res = PATH_REGEXP.exec(str)) !== null) {
|
||||
var m = res[0];
|
||||
var escaped = res[1];
|
||||
var offset = res.index;
|
||||
path += str.slice(index, offset);
|
||||
index = offset + m.length;
|
||||
if (escaped) {
|
||||
path += escaped[1];
|
||||
pathEscaped = true;
|
||||
continue;
|
||||
}
|
||||
var prev = '';
|
||||
var next = str[index];
|
||||
var name = res[2];
|
||||
var capture = res[3];
|
||||
var group = res[4];
|
||||
var modifier = res[5];
|
||||
if (!pathEscaped && path.length) {
|
||||
var k = path.length - 1;
|
||||
if (delimiters.indexOf(path[k]) > -1) {
|
||||
prev = path[k];
|
||||
path = path.slice(0, k);
|
||||
}
|
||||
}
|
||||
if (path) {
|
||||
tokens.push(path);
|
||||
path = '';
|
||||
pathEscaped = false;
|
||||
}
|
||||
var partial = prev !== '' && next !== undefined && next !== prev;
|
||||
var repeat = modifier === '+' || modifier === '*';
|
||||
var optional = modifier === '?' || modifier === '*';
|
||||
var delimiter = prev || defaultDelimiter;
|
||||
var pattern = capture || group;
|
||||
tokens.push({
|
||||
name: name || key++,
|
||||
prefix: prev,
|
||||
delimiter: delimiter,
|
||||
optional: optional,
|
||||
repeat: repeat,
|
||||
partial: partial,
|
||||
pattern: pattern ? escapeGroup(pattern) : '[^' + escapeString(delimiter) + ']+?'
|
||||
});
|
||||
}
|
||||
if (path || index < str.length) {
|
||||
tokens.push(path + str.substr(index));
|
||||
}
|
||||
return tokens;
|
||||
}
|
||||
function escapeString(str) {
|
||||
return str.replace(/([.+*?=^!:${}()[\]|/\\])/g, '\\$1');
|
||||
}
|
||||
function escapeGroup(group) {
|
||||
return group.replace(/([=!:$/()])/g, '\\$1');
|
||||
}
|
||||
function flags(options) {
|
||||
return options && options.sensitive ? '' : 'i';
|
||||
}
|
||||
function regexpToRegexp(path, keys) {
|
||||
if (!keys)
|
||||
return path;
|
||||
var groups = path.source.match(/\((?!\?)/g);
|
||||
if (groups) {
|
||||
for (var i = 0; i < groups.length; i++) {
|
||||
keys.push({
|
||||
name: i,
|
||||
prefix: null,
|
||||
delimiter: null,
|
||||
optional: false,
|
||||
repeat: false,
|
||||
partial: false,
|
||||
pattern: null
|
||||
});
|
||||
}
|
||||
}
|
||||
return path;
|
||||
}
|
||||
function arrayToRegexp(path, keys, options) {
|
||||
var parts = [];
|
||||
for (var i = 0; i < path.length; i++) {
|
||||
parts.push(pathToRegexp(path[i], keys, options).source);
|
||||
}
|
||||
return new RegExp('(?:' + parts.join('|') + ')', flags(options));
|
||||
}
|
||||
function stringToRegexp(path, keys, options) {
|
||||
return tokensToRegExp(parse(path, options), keys, options);
|
||||
}
|
||||
function tokensToRegExp(tokens, keys, options) {
|
||||
options = options || {};
|
||||
var strict = options.strict;
|
||||
var end = options.end !== false;
|
||||
var delimiter = escapeString(options.delimiter || DEFAULT_DELIMITER);
|
||||
var delimiters = options.delimiters || DEFAULT_DELIMITERS;
|
||||
var endsWith = [].concat(options.endsWith || []).map(escapeString).concat('$').join('|');
|
||||
var route = '';
|
||||
var isEndDelimited = false;
|
||||
for (var i = 0; i < tokens.length; i++) {
|
||||
var token = tokens[i];
|
||||
if (typeof token === 'string') {
|
||||
route += escapeString(token);
|
||||
isEndDelimited = i === tokens.length - 1 && delimiters.indexOf(token[token.length - 1]) > -1;
|
||||
}
|
||||
else {
|
||||
var prefix = escapeString(token.prefix || '');
|
||||
var capture = token.repeat
|
||||
? '(?:' + token.pattern + ')(?:' + prefix + '(?:' + token.pattern + '))*'
|
||||
: token.pattern;
|
||||
if (keys)
|
||||
keys.push(token);
|
||||
if (token.optional) {
|
||||
if (token.partial) {
|
||||
route += prefix + '(' + capture + ')?';
|
||||
}
|
||||
else {
|
||||
route += '(?:' + prefix + '(' + capture + '))?';
|
||||
}
|
||||
}
|
||||
else {
|
||||
route += prefix + '(' + capture + ')';
|
||||
}
|
||||
}
|
||||
}
|
||||
if (end) {
|
||||
if (!strict)
|
||||
route += '(?:' + delimiter + ')?';
|
||||
route += endsWith === '$' ? '$' : '(?=' + endsWith + ')';
|
||||
}
|
||||
else {
|
||||
if (!strict)
|
||||
route += '(?:' + delimiter + '(?=' + endsWith + '))?';
|
||||
if (!isEndDelimited)
|
||||
route += '(?=' + delimiter + '|' + endsWith + ')';
|
||||
}
|
||||
return new RegExp('^' + route, flags(options));
|
||||
}
|
||||
function pathToRegexp(path, keys, options) {
|
||||
if (path instanceof RegExp) {
|
||||
return regexpToRegexp(path, keys);
|
||||
}
|
||||
if (Array.isArray(path)) {
|
||||
return arrayToRegexp(path, keys, options);
|
||||
}
|
||||
return stringToRegexp(path, keys, options);
|
||||
}
|
||||
function hasBasename(path, prefix) {
|
||||
return (new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i')).test(path);
|
||||
}
|
||||
function stripBasename(path, prefix) {
|
||||
return hasBasename(path, prefix) ? path.substr(prefix.length) : path;
|
||||
}
|
||||
function stripTrailingSlash(path) {
|
||||
return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;
|
||||
}
|
||||
function addLeadingSlash(path) {
|
||||
return path.charAt(0) === '/' ? path : '/' + path;
|
||||
}
|
||||
function stripLeadingSlash(path) {
|
||||
return path.charAt(0) === '/' ? path.substr(1) : path;
|
||||
}
|
||||
function parsePath(path) {
|
||||
var pathname = path || '/';
|
||||
var search = '';
|
||||
var hash = '';
|
||||
var hashIndex = pathname.indexOf('#');
|
||||
if (hashIndex !== -1) {
|
||||
hash = pathname.substr(hashIndex);
|
||||
pathname = pathname.substr(0, hashIndex);
|
||||
}
|
||||
var searchIndex = pathname.indexOf('?');
|
||||
if (searchIndex !== -1) {
|
||||
search = pathname.substr(searchIndex);
|
||||
pathname = pathname.substr(0, searchIndex);
|
||||
}
|
||||
return {
|
||||
pathname: pathname,
|
||||
search: search === '?' ? '' : search,
|
||||
hash: hash === '#' ? '' : hash,
|
||||
query: {},
|
||||
key: ''
|
||||
};
|
||||
}
|
||||
function createPath(location) {
|
||||
var pathname = location.pathname, search = location.search, hash = location.hash;
|
||||
var path = pathname || '/';
|
||||
if (search && search !== '?') {
|
||||
path += (search.charAt(0) === '?' ? search : "?" + search);
|
||||
}
|
||||
if (hash && hash !== '#') {
|
||||
path += (hash.charAt(0) === '#' ? hash : "#" + hash);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
function parseQueryString(query) {
|
||||
if (!query) {
|
||||
return {};
|
||||
}
|
||||
return (/^[?#]/.test(query) ? query.slice(1) : query)
|
||||
.split('&')
|
||||
.reduce(function (params, param) {
|
||||
var _c = param.split('='), key = _c[0], value = _c[1];
|
||||
params[key] = value ? decodeURIComponent(value.replace(/\+/g, ' ')) : '';
|
||||
return params;
|
||||
}, {});
|
||||
}
|
||||
function isAbsolute(pathname) {
|
||||
return pathname.charAt(0) === '/';
|
||||
}
|
||||
function createKey(keyLength) {
|
||||
return Math.random().toString(36).substr(2, keyLength);
|
||||
}
|
||||
function spliceOne(list, index) {
|
||||
for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
|
||||
list[i] = list[k];
|
||||
}
|
||||
list.pop();
|
||||
}
|
||||
function resolvePathname(to, from) {
|
||||
if (from === void 0) { from = ''; }
|
||||
var toParts = to && to.split('/') || [];
|
||||
var fromParts = from && from.split('/') || [];
|
||||
var isToAbs = to && isAbsolute(to);
|
||||
var isFromAbs = from && isAbsolute(from);
|
||||
var mustEndAbs = isToAbs || isFromAbs;
|
||||
if (to && isAbsolute(to)) {
|
||||
fromParts = toParts;
|
||||
}
|
||||
else if (toParts.length) {
|
||||
fromParts.pop();
|
||||
fromParts = fromParts.concat(toParts);
|
||||
}
|
||||
if (!fromParts.length) {
|
||||
return '/';
|
||||
}
|
||||
var hasTrailingSlash;
|
||||
if (fromParts.length) {
|
||||
var last = fromParts[fromParts.length - 1];
|
||||
hasTrailingSlash = (last === '.' || last === '..' || last === '');
|
||||
}
|
||||
else {
|
||||
hasTrailingSlash = false;
|
||||
}
|
||||
var up = 0;
|
||||
for (var i = fromParts.length; i >= 0; i--) {
|
||||
var part = fromParts[i];
|
||||
if (part === '.') {
|
||||
spliceOne(fromParts, i);
|
||||
}
|
||||
else if (part === '..') {
|
||||
spliceOne(fromParts, i);
|
||||
up++;
|
||||
}
|
||||
else if (up) {
|
||||
spliceOne(fromParts, i);
|
||||
up--;
|
||||
}
|
||||
}
|
||||
if (!mustEndAbs) {
|
||||
for (; up--; up) {
|
||||
fromParts.unshift('..');
|
||||
}
|
||||
}
|
||||
if (mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0]))) {
|
||||
fromParts.unshift('');
|
||||
}
|
||||
var result = fromParts.join('/');
|
||||
if (hasTrailingSlash && result.substr(-1) !== '/') {
|
||||
result += '/';
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function valueEqual(a, b) {
|
||||
if (a === b) {
|
||||
return true;
|
||||
}
|
||||
if (a == null || b == null) {
|
||||
return false;
|
||||
}
|
||||
if (Array.isArray(a)) {
|
||||
return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {
|
||||
return valueEqual(item, b[index]);
|
||||
});
|
||||
}
|
||||
var aType = typeof a;
|
||||
var bType = typeof b;
|
||||
if (aType !== bType) {
|
||||
return false;
|
||||
}
|
||||
if (aType === 'object') {
|
||||
var aValue = a.valueOf();
|
||||
var bValue = b.valueOf();
|
||||
if (aValue !== a || bValue !== b) {
|
||||
return valueEqual(aValue, bValue);
|
||||
}
|
||||
var aKeys = Object.keys(a);
|
||||
var bKeys = Object.keys(b);
|
||||
if (aKeys.length !== bKeys.length) {
|
||||
return false;
|
||||
}
|
||||
return aKeys.every(function (key) {
|
||||
return valueEqual(a[key], b[key]);
|
||||
});
|
||||
}
|
||||
return false;
|
||||
}
|
||||
function locationsAreEqual(a, b) {
|
||||
return a.pathname === b.pathname &&
|
||||
a.search === b.search &&
|
||||
a.hash === b.hash &&
|
||||
a.key === b.key &&
|
||||
valueEqual(a.state, b.state);
|
||||
}
|
||||
function createLocation(path, state, key, currentLocation) {
|
||||
var location;
|
||||
if (typeof path === 'string') {
|
||||
location = parsePath(path);
|
||||
if (location.state !== undefined) {
|
||||
location.state = state;
|
||||
}
|
||||
}
|
||||
else {
|
||||
location = Object.assign({ pathname: '' }, path);
|
||||
if (location.search && location.search.charAt(0) !== '?') {
|
||||
location.search = '?' + location.search;
|
||||
}
|
||||
if (location.hash && location.hash.charAt(0) !== '#') {
|
||||
location.hash = '#' + location.hash;
|
||||
}
|
||||
if (state !== undefined && location.state === undefined) {
|
||||
location.state = state;
|
||||
}
|
||||
}
|
||||
try {
|
||||
location.pathname = decodeURI(location.pathname);
|
||||
}
|
||||
catch (e) {
|
||||
if (e instanceof URIError) {
|
||||
throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' +
|
||||
'This is likely caused by an invalid percent-encoding.');
|
||||
}
|
||||
else {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
location.key = key;
|
||||
if (currentLocation) {
|
||||
if (!location.pathname) {
|
||||
location.pathname = currentLocation.pathname;
|
||||
}
|
||||
else if (location.pathname.charAt(0) !== '/') {
|
||||
location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!location.pathname) {
|
||||
location.pathname = '/';
|
||||
}
|
||||
}
|
||||
location.query = parseQueryString(location.search || '');
|
||||
return location;
|
||||
}
|
||||
var patternCache = {};
|
||||
var cacheLimit = 10000;
|
||||
var cacheCount = 0;
|
||||
function compilePath(pattern, options) {
|
||||
var cacheKey = "" + options.end + options.strict;
|
||||
var cache = patternCache[cacheKey] || (patternCache[cacheKey] = {});
|
||||
var cachePattern = JSON.stringify(pattern);
|
||||
if (cache[cachePattern]) {
|
||||
return cache[cachePattern];
|
||||
}
|
||||
var keys = [];
|
||||
var re = pathToRegexp(pattern, keys, options);
|
||||
var compiledPattern = { re: re, keys: keys };
|
||||
if (cacheCount < cacheLimit) {
|
||||
cache[cachePattern] = compiledPattern;
|
||||
cacheCount += 1;
|
||||
}
|
||||
return compiledPattern;
|
||||
}
|
||||
function matchPath(pathname, options) {
|
||||
if (options === void 0) { options = {}; }
|
||||
if (typeof options === 'string') {
|
||||
options = { path: options };
|
||||
}
|
||||
var _c = options.path, path = _c === void 0 ? '/' : _c, _d = options.exact, exact = _d === void 0 ? false : _d, _e = options.strict, strict = _e === void 0 ? false : _e;
|
||||
var _f = compilePath(path, { end: exact, strict: strict }), re = _f.re, keys = _f.keys;
|
||||
var match = re.exec(pathname);
|
||||
if (!match) {
|
||||
return null;
|
||||
}
|
||||
var url = match[0], values = match.slice(1);
|
||||
var isExact = pathname === url;
|
||||
if (exact && !isExact) {
|
||||
return null;
|
||||
}
|
||||
return {
|
||||
path: path,
|
||||
url: path === '/' && url === '' ? '/' : url,
|
||||
isExact: isExact,
|
||||
params: keys.reduce(function (memo, key, index) {
|
||||
memo[key.name] = values[index];
|
||||
return memo;
|
||||
}, {})
|
||||
};
|
||||
}
|
||||
function matchesAreEqual(a, b) {
|
||||
if (a == null && b == null) {
|
||||
return true;
|
||||
}
|
||||
if (b == null) {
|
||||
return false;
|
||||
}
|
||||
return a && b &&
|
||||
a.path === b.path &&
|
||||
a.url === b.url &&
|
||||
valueEqual(a.params, b.params);
|
||||
}
|
||||
/*!
|
||||
* StencilStateTunnel: Core, es5
|
||||
* Built with http://stenciljs.com
|
||||
*/
|
||||
function u(n, t) { for (var e, r, i = null, o = !1, u = !1, f = arguments.length; f-- > 2;)
|
||||
T.push(arguments[f]); for (; T.length > 0;) {
|
||||
var c = T.pop();
|
||||
if (c && void 0 !== c.pop)
|
||||
for (f = c.length; f--;)
|
||||
T.push(c[f]);
|
||||
else
|
||||
"boolean" == typeof c && (c = null), (u = "function" != typeof n) && (null == c ? c = "" : "number" == typeof c ? c = String(c) : "string" != typeof c && (u = !1)), u && o ? i[i.length - 1].vtext += c : null === i ? i = [u ? { vtext: c } : c] : i.push(u ? { vtext: c } : c), o = u;
|
||||
} if (null != t) {
|
||||
if (t.className && (t.class = t.className), "object" == typeof t.class) {
|
||||
for (f in t.class)
|
||||
t.class[f] && T.push(f);
|
||||
t.class = T.join(" "), T.length = 0;
|
||||
}
|
||||
null != t.key && (e = t.key), null != t.name && (r = t.name);
|
||||
} return "function" == typeof n ? n(t, i || [], W) : { vtag: n, vchildren: i, vtext: void 0, vattrs: t, vkey: e, vname: r, w: void 0, g: !1 }; }
|
||||
function f(n) { return { vtag: n.vtag, vchildren: n.vchildren, vtext: n.vtext, vattrs: n.vattrs, vkey: n.vkey, vname: n.vname }; }
|
||||
undefined && undefined.Dn || (Object.setPrototypeOf || Array);
|
||||
var T = [], W = { forEach: function (n, t) { n.forEach(function (n, e, r) { return t(f(n), e, r); }); }, map: function (n, t) { return n.map(function (n, e, r) { return function i(n) { return { vtag: n.vtag, vchildren: n.vchildren, vtext: n.vtext, vattrs: n.vattrs, vkey: n.vkey, vname: n.vname }; }(t(f(n), e, r)); }); } };
|
||||
/*! Built with http://stenciljs.com */
|
||||
var __rest = function (s, e) {
|
||||
var t = {};
|
||||
for (var p in s)
|
||||
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
||||
t[p] = s[p];
|
||||
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
||||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++)
|
||||
if (e.indexOf(p[i]) < 0)
|
||||
t[p[i]] = s[p[i]];
|
||||
return t;
|
||||
};
|
||||
function defaultConsumerRender(subscribe, renderer) {
|
||||
return u("context-consumer", { subscribe: subscribe, renderer: renderer });
|
||||
}
|
||||
function createProviderConsumer(defaultState, consumerRender) {
|
||||
if (consumerRender === void 0) {
|
||||
consumerRender = defaultConsumerRender;
|
||||
}
|
||||
var listeners = new Map();
|
||||
var currentState = defaultState;
|
||||
function notifyConsumers() {
|
||||
listeners.forEach(updateListener);
|
||||
}
|
||||
function updateListener(fields, listener) {
|
||||
if (Array.isArray(fields)) {
|
||||
fields.slice().forEach(function (fieldName) {
|
||||
listener[fieldName] = currentState[fieldName];
|
||||
});
|
||||
}
|
||||
else {
|
||||
listener[fields] = Object.assign({}, currentState);
|
||||
}
|
||||
listener.forceUpdate();
|
||||
}
|
||||
function attachListener(propList) {
|
||||
return function (el) {
|
||||
if (listeners.has(el)) {
|
||||
return;
|
||||
}
|
||||
listeners.set(el, propList);
|
||||
updateListener(propList, el);
|
||||
};
|
||||
}
|
||||
function subscribe(el, propList) {
|
||||
attachListener(propList)(el);
|
||||
return function () {
|
||||
listeners.delete(el);
|
||||
};
|
||||
}
|
||||
var Provider = function (_b, children) {
|
||||
var state = _b.state;
|
||||
currentState = state;
|
||||
notifyConsumers();
|
||||
return children;
|
||||
};
|
||||
var Consumer = function (props, children) {
|
||||
return consumerRender(subscribe, children[0]);
|
||||
};
|
||||
function wrapConsumer(childComponent, fieldList) {
|
||||
var Child = childComponent.is;
|
||||
return function (_a) {
|
||||
var children = _a.children, props = __rest(_a, ["children"]);
|
||||
return (u(Child, Object.assign({ ref: attachListener(fieldList) }, props), children));
|
||||
};
|
||||
}
|
||||
function injectProps(childComponent, fieldList) {
|
||||
var unsubscribe = null;
|
||||
var elementRefName = Object.keys(childComponent.properties).find(function (propName) {
|
||||
return childComponent.properties[propName].elementRef == true;
|
||||
});
|
||||
if (elementRefName == undefined) {
|
||||
throw new Error("Please ensure that your Component " + childComponent.is + " has an attribute with an \"@Element\" decorator. " +
|
||||
"This is required to be able to inject properties.");
|
||||
}
|
||||
var prevComponentWillLoad = childComponent.prototype.componentWillLoad;
|
||||
childComponent.prototype.componentWillLoad = function () {
|
||||
unsubscribe = subscribe(this[elementRefName], fieldList);
|
||||
if (prevComponentWillLoad) {
|
||||
return prevComponentWillLoad.bind(this)();
|
||||
}
|
||||
};
|
||||
var prevComponentDidUnload = childComponent.prototype.componentDidUnload;
|
||||
childComponent.prototype.componentDidUnload = function () {
|
||||
unsubscribe();
|
||||
if (prevComponentDidUnload) {
|
||||
return prevComponentDidUnload.bind(this)();
|
||||
}
|
||||
};
|
||||
}
|
||||
return {
|
||||
Provider: Provider,
|
||||
Consumer: Consumer,
|
||||
wrapConsumer: wrapConsumer,
|
||||
injectProps: injectProps
|
||||
};
|
||||
}
|
||||
// StencilStateTunnel: ES Module
|
||||
var ActiveRouter = createProviderConsumer({
|
||||
historyType: 'browser',
|
||||
location: {
|
||||
pathname: '',
|
||||
query: {},
|
||||
key: ''
|
||||
},
|
||||
titleSuffix: '',
|
||||
root: '/',
|
||||
routeViewsUpdated: function () { }
|
||||
});
|
||||
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
||||
var addEventListener$1 = function (node, event, listener) { return (node.addEventListener
|
||||
? node.addEventListener(event, listener, false)
|
||||
: node.attachEvent('on' + event, listener)); };
|
||||
var removeEventListener = function (node, event, listener) { return (node.removeEventListener
|
||||
? node.removeEventListener(event, listener, false)
|
||||
: node.detachEvent('on' + event, listener)); };
|
||||
var getConfirmation = function (message, callback) { return (callback(window.confirm(message))); };
|
||||
var isModifiedEvent = function (event) { return (event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); };
|
||||
var supportsHistory = function () {
|
||||
var ua = window.navigator.userAgent;
|
||||
if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) &&
|
||||
ua.indexOf('Mobile Safari') !== -1 &&
|
||||
ua.indexOf('Chrome') === -1 &&
|
||||
ua.indexOf('Windows Phone') === -1) {
|
||||
return false;
|
||||
}
|
||||
return window.history && 'pushState' in window.history;
|
||||
};
|
||||
var supportsPopStateOnHashChange = function () { return (window.navigator.userAgent.indexOf('Trident') === -1); };
|
||||
var supportsGoWithoutReloadUsingHash = function () { return (window.navigator.userAgent.indexOf('Firefox') === -1); };
|
||||
var isExtraneousPopstateEvent = function (event) { return (event.state === undefined &&
|
||||
navigator.userAgent.indexOf('CriOS') === -1); };
|
||||
var storageAvailable = function (type) {
|
||||
var storage = window[type], x = '__storage_test__';
|
||||
try {
|
||||
storage.setItem(x, x);
|
||||
storage.removeItem(x);
|
||||
return true;
|
||||
}
|
||||
catch (e) {
|
||||
return e instanceof DOMException && (e.code === 22 ||
|
||||
e.code === 1014 ||
|
||||
e.name === 'QuotaExceededError' ||
|
||||
e.name === 'NS_ERROR_DOM_QUOTA_REACHED') &&
|
||||
storage.length !== 0;
|
||||
}
|
||||
};
|
||||
exports.matchPath = matchPath;
|
||||
exports.matchesAreEqual = matchesAreEqual;
|
||||
exports.ActiveRouter = ActiveRouter;
|
||||
exports.storageAvailable = storageAvailable;
|
||||
exports.createLocation = createLocation;
|
||||
exports.createKey = createKey;
|
||||
exports.addLeadingSlash = addLeadingSlash;
|
||||
exports.stripTrailingSlash = stripTrailingSlash;
|
||||
exports.hasBasename = hasBasename;
|
||||
exports.stripBasename = stripBasename;
|
||||
exports.createPath = createPath;
|
||||
exports.canUseDOM = canUseDOM;
|
||||
exports.addEventListener = addEventListener$1;
|
||||
exports.removeEventListener = removeEventListener;
|
||||
exports.getConfirmation = getConfirmation;
|
||||
exports.supportsHistory = supportsHistory;
|
||||
exports.supportsPopStateOnHashChange = supportsPopStateOnHashChange;
|
||||
exports.isExtraneousPopstateEvent = isExtraneousPopstateEvent;
|
||||
exports.locationsAreEqual = locationsAreEqual;
|
||||
exports.stripLeadingSlash = stripLeadingSlash;
|
||||
exports.supportsGoWithoutReloadUsingHash = supportsGoWithoutReloadUsingHash;
|
||||
exports.isModifiedEvent = isModifiedEvent;
|
||||
});
|
||||
-2
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;var t="/",n="./",r=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function i(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function a(e){return e.replace(/([=!:$/()])/g,"\\$1")}function u(e){return e&&e.sensitive?"":"i"}function l(e,o,s){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,pattern:null});return e}(e,o):Array.isArray(e)?function(e,t,n){for(var r=[],i=0;i<e.length;i++)r.push(l(e[i],t,n).source);return new RegExp("(?:"+r.join("|")+")",u(n))}(e,o,s):function(e,l,o){return function(e,r,a){for(var l=(a=a||{}).strict,o=!1!==a.end,s=i(a.delimiter||t),c=a.delimiters||n,p=[].concat(a.endsWith||[]).map(i).concat("$").join("|"),f="",h=!1,g=0;g<e.length;g++){var d=e[g];if("string"==typeof d)f+=i(d),h=g===e.length-1&&c.indexOf(d[d.length-1])>-1;else{var x=i(d.prefix),v=d.repeat?"(?:"+d.pattern+")(?:"+x+"(?:"+d.pattern+"))*":d.pattern;r&&r.push(d),d.optional?d.partial?f+=x+"("+v+")?":f+="(?:"+x+"("+v+"))?":f+=x+"("+v+")"}}return o?(l||(f+="(?:"+s+")?"),f+="$"===p?"$":"(?="+p+")"):(l||(f+="(?:"+s+"(?="+p+"))?"),h||(f+="(?="+s+"|"+p+")")),new RegExp("^"+f,u(a))}(function(e,u){for(var l,o=[],s=0,c=0,p="",f=u&&u.delimiter||t,h=u&&u.delimiters||n,g=!1;null!==(l=r.exec(e));){var d=l[0],x=l[1],v=l.index;if(p+=e.slice(c,v),c=v+d.length,x)p+=x[1],g=!0;else{var m="",$=e[c],y=l[2],w=l[3],E=l[4],R=l[5];if(!g&&p.length){var j=p.length-1;h.indexOf(p[j])>-1&&(m=p[j],p=p.slice(0,j))}p&&(o.push(p),p="",g=!1);var O=""!==m&&void 0!==$&&$!==m,k="+"===R||"*"===R,A="?"===R||"*"===R,S=m||f,b=w||E;o.push({name:y||s++,prefix:m,delimiter:S,optional:A,repeat:k,partial:O,pattern:b?a(b):"[^"+i(S)+"]+?"})}}return(p||c<e.length)&&o.push(p+e.substr(c)),o}(e,o),l,o)}(e,o,s)}const o={},s=1e4;let c=0;function p(e,t={}){"string"==typeof t&&(t={path:t});const{path:n="/",exact:r=!1,strict:i=!1}=t,{re:a,keys:u}=function(e,t){const n=`${t.end}${t.strict}`,r=o[n]||(o[n]={}),i=JSON.stringify(e);if(r[i])return r[i];const a=[],u={re:l(e,a,t),keys:a};return c<s&&(r[i]=u,c+=1),u}(n,{end:r,strict:i}),p=a.exec(e);if(!p)return null;const[f,...h]=p,g=e===f;return r&&!g?null:{path:n,url:"/"===n&&""===f?"/":f,isExact:g,params:u.reduce((e,t,n)=>(e[t.name]=h[n],e),{})}}export{p as a};
|
||||
-7
File diff suppressed because one or more lines are too long
+5
File diff suppressed because one or more lines are too long
Vendored
+2141
File diff suppressed because it is too large
Load Diff
+3192
File diff suppressed because one or more lines are too long
-76
File diff suppressed because one or more lines are too long
+96
File diff suppressed because one or more lines are too long
-5
@@ -1,5 +0,0 @@
|
||||
/*! 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");
|
||||
+43
-15
@@ -2,45 +2,73 @@
|
||||
"namespace": "DocsSite",
|
||||
"fsNamespace": "docssite",
|
||||
"loader": "../docssite.js",
|
||||
"global": "docssite.global.js",
|
||||
"core": "docssite.0xdbi8jl.js",
|
||||
"corePolyfilled": "docssite.czb0qw2j.js",
|
||||
"core": "docssite.core.js",
|
||||
"corePolyfilled": "docssite.core.pf.js",
|
||||
"components": {
|
||||
"footer-bar": {
|
||||
"$": "xxdq8tou"
|
||||
"bundleIds": {
|
||||
"$": "footer-bar"
|
||||
}
|
||||
},
|
||||
"header-bar": {
|
||||
"$": "f5jhpa2x"
|
||||
"bundleIds": {
|
||||
"$": "header-bar"
|
||||
}
|
||||
},
|
||||
"icon-list": {
|
||||
"$": "vscrqboi"
|
||||
"bundleIds": {
|
||||
"$": "icon-list"
|
||||
}
|
||||
},
|
||||
"icon-search": {
|
||||
"$": "ms1l1l4a"
|
||||
"bundleIds": {
|
||||
"$": "icon-search"
|
||||
}
|
||||
},
|
||||
"ionicons-site": {
|
||||
"$": "f5jhpa2x"
|
||||
"bundleIds": {
|
||||
"$": "header-bar"
|
||||
}
|
||||
},
|
||||
"landing-page": {
|
||||
"$": "vscrqboi"
|
||||
"bundleIds": {
|
||||
"$": "icon-list"
|
||||
}
|
||||
},
|
||||
"notfound-page": {
|
||||
"$": "d83fvjds"
|
||||
"bundleIds": {
|
||||
"$": "notfound-page"
|
||||
}
|
||||
},
|
||||
"stencil-route": {
|
||||
"$": "f5jhpa2x"
|
||||
"bundleIds": {
|
||||
"$": "header-bar"
|
||||
}
|
||||
},
|
||||
"stencil-route-link": {
|
||||
"$": "5szlxwny"
|
||||
"bundleIds": {
|
||||
"$": "stencil-route-link"
|
||||
}
|
||||
},
|
||||
"stencil-route-switch": {
|
||||
"bundleIds": {
|
||||
"$": "header-bar"
|
||||
}
|
||||
},
|
||||
"stencil-router": {
|
||||
"$": "f5jhpa2x"
|
||||
"bundleIds": {
|
||||
"$": "header-bar"
|
||||
}
|
||||
},
|
||||
"toast-bar": {
|
||||
"$": "vscrqboi"
|
||||
"bundleIds": {
|
||||
"$": "icon-list"
|
||||
}
|
||||
},
|
||||
"usage-page": {
|
||||
"$": "9wxpo3m4"
|
||||
"bundleIds": {
|
||||
"$": "usage-page"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Vendored
+96
@@ -0,0 +1,96 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('dom.js', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
function applyPolyfill(window, document) {
|
||||
if (!window['s-ce1']) {
|
||||
window['s-ce1'] = true;
|
||||
(function (e, t) { function Ht() { var e = wt.splice(0, wt.length); Et = 0; while (e.length)
|
||||
e.shift().call(null, e.shift()); } function Bt(e, t) { for (var n = 0, r = e.length; n < r; n++)
|
||||
Jt(e[n], t); } function jt(e) { for (var t = 0, n = e.length, r; t < n; t++)
|
||||
r = e[t], Pt(r, A[It(r)]); } function Ft(e) { return function (t) { ut(t) && (Jt(t, e), O.length && Bt(t.querySelectorAll(O), e)); }; } function It(e) { var t = ht.call(e, "is"), n = e.nodeName.toUpperCase(), r = _.call(L, t ? N + t.toUpperCase() : T + n); return t && -1 < r && !qt(n, t) ? -1 : r; } function qt(e, t) { return -1 < O.indexOf(e + '[is="' + t + '"]'); } function Rt(e) { var t = e.currentTarget, n = e.attrChange, r = e.attrName, i = e.target, s = e[y] || 2, o = e[w] || 3; kt && (!i || i === t) && t[h] && r !== "style" && (e.prevValue !== e.newValue || e.newValue === "" && (n === s || n === o)) && t[h](r, n === s ? null : e.prevValue, n === o ? null : e.newValue); } function Ut(e) { var t = Ft(e); return function (e) { wt.push(t, e.target), Et && clearTimeout(Et), Et = setTimeout(Ht, 1); }; } function zt(e) { Ct && (Ct = !1, e.currentTarget.removeEventListener(S, zt)), O.length && Bt((e.target || n).querySelectorAll(O), e.detail === l ? l : a), st && Vt(); } function Wt(e, t) { var n = this; vt.call(n, e, t), Lt.call(n, { target: n }); } function Xt(e, t) { nt(e, t), Mt ? Mt.observe(e, yt) : (Nt && (e.setAttribute = Wt, e[o] = Ot(e), e[u](x, Lt)), e[u](E, Rt)), e[m] && kt && (e.created = !0, e[m](), e.created = !1); } function Vt() { for (var e, t = 0, n = at.length; t < n; t++)
|
||||
e = at[t], M.contains(e) || (n--, at.splice(t--, 1), Jt(e, l)); } function $t(e) { throw new Error("A " + e + " type is already registered"); } function Jt(e, t) { var n, r = It(e), i; -1 < r && (Dt(e, A[r]), r = 0, t === a && !e[a] ? (e[l] = !1, e[a] = !0, i = "connected", r = 1, st && _.call(at, e) < 0 && at.push(e)) : t === l && !e[l] && (e[a] = !1, e[l] = !0, i = "disconnected", r = 1), r && (n = e[t + f] || e[i + f]) && n.call(e)); } function Kt() { } function Qt(e, t, r) { var i = r && r[c] || "", o = t.prototype, u = tt(o), a = t.observedAttributes || j, f = { prototype: u }; ot(u, m, { value: function () { if (Q)
|
||||
Q = !1;
|
||||
else if (!this[W]) {
|
||||
this[W] = !0, new t(this), o[m] && o[m].call(this);
|
||||
var e = G[Z.get(t)];
|
||||
(!V || e.create.length > 1) && Zt(this);
|
||||
} } }), ot(u, h, { value: function (e) { -1 < _.call(a, e) && o[h].apply(this, arguments); } }), o[d] && ot(u, p, { value: o[d] }), o[v] && ot(u, g, { value: o[v] }), i && (f[c] = i), e = e.toUpperCase(), G[e] = { constructor: t, create: i ? [i, et(e)] : [e] }, Z.set(t, e), n[s](e.toLowerCase(), f), en(e), Y[e].r(); } function Gt(e) { var t = G[e.toUpperCase()]; return t && t.constructor; } function Yt(e) { return typeof e == "string" ? e : e && e.is || ""; } function Zt(e) { var t = e[h], n = t ? e.attributes : j, r = n.length, i; while (r--)
|
||||
i = n[r], t.call(e, i.name || i.nodeName, null, i.value || i.nodeValue); } function en(e) { return e = e.toUpperCase(), e in Y || (Y[e] = {}, Y[e].p = new K(function (t) { Y[e].r = t; })), Y[e].p; } function tn() { X && delete e.customElements, B(e, "customElements", { configurable: !0, value: new Kt }), B(e, "CustomElementRegistry", { configurable: !0, value: Kt }); for (var t = function (t) { var r = e[t]; if (r) {
|
||||
e[t] = function (t) { var i, s; return t || (t = this), t[W] || (Q = !0, i = G[Z.get(t.constructor)], s = V && i.create.length === 1, t = s ? Reflect.construct(r, j, i.constructor) : n.createElement.apply(n, i.create), t[W] = !0, Q = !1, s || Zt(t)), t; }, e[t].prototype = r.prototype;
|
||||
try {
|
||||
r.prototype.constructor = e[t];
|
||||
}
|
||||
catch (i) {
|
||||
B(r, W, { value: e[t] });
|
||||
}
|
||||
} }, r = i.get(/^HTML[A-Z]*[a-z]/), o = r.length; o--; t(r[o]))
|
||||
; n.createElement = function (e, t) { var n = Yt(t); return n ? gt.call(this, e, et(n)) : gt.call(this, e); }, St || (Tt = !0, n[s]("")); } var n = e.document, r = e.Object, i = function (e) { var t = /^[A-Z]+[a-z]/, n = function (e) { var t = [], n; for (n in s)
|
||||
e.test(n) && t.push(n); return t; }, i = function (e, t) { t = t.toLowerCase(), t in s || (s[e] = (s[e] || []).concat(t), s[t] = s[t.toUpperCase()] = e); }, s = (r.create || r)(null), o = {}, u, a, f, l; for (a in e)
|
||||
for (l in e[a]) {
|
||||
f = e[a][l], s[l] = f;
|
||||
for (u = 0; u < f.length; u++)
|
||||
s[f[u].toLowerCase()] = s[f[u].toUpperCase()] = l;
|
||||
} return o.get = function (r) { return typeof r == "string" ? s[r] || (t.test(r) ? [] : "") : n(r); }, o.set = function (n, r) { return t.test(n) ? i(n, r) : i(r, n), o; }, o; }({ collections: { HTMLAllCollection: ["all"], HTMLCollection: ["forms"], HTMLFormControlsCollection: ["elements"], HTMLOptionsCollection: ["options"] }, elements: { Element: ["element"], HTMLAnchorElement: ["a"], HTMLAppletElement: ["applet"], HTMLAreaElement: ["area"], HTMLAttachmentElement: ["attachment"], HTMLAudioElement: ["audio"], HTMLBRElement: ["br"], HTMLBaseElement: ["base"], HTMLBodyElement: ["body"], HTMLButtonElement: ["button"], HTMLCanvasElement: ["canvas"], HTMLContentElement: ["content"], HTMLDListElement: ["dl"], HTMLDataElement: ["data"], HTMLDataListElement: ["datalist"], HTMLDetailsElement: ["details"], HTMLDialogElement: ["dialog"], HTMLDirectoryElement: ["dir"], HTMLDivElement: ["div"], HTMLDocument: ["document"], HTMLElement: ["element", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "cite", "code", "command", "dd", "dfn", "dt", "em", "figcaption", "figure", "footer", "header", "i", "kbd", "mark", "nav", "noscript", "rp", "rt", "ruby", "s", "samp", "section", "small", "strong", "sub", "summary", "sup", "u", "var", "wbr"], HTMLEmbedElement: ["embed"], HTMLFieldSetElement: ["fieldset"], HTMLFontElement: ["font"], HTMLFormElement: ["form"], HTMLFrameElement: ["frame"], HTMLFrameSetElement: ["frameset"], HTMLHRElement: ["hr"], HTMLHeadElement: ["head"], HTMLHeadingElement: ["h1", "h2", "h3", "h4", "h5", "h6"], HTMLHtmlElement: ["html"], HTMLIFrameElement: ["iframe"], HTMLImageElement: ["img"], HTMLInputElement: ["input"], HTMLKeygenElement: ["keygen"], HTMLLIElement: ["li"], HTMLLabelElement: ["label"], HTMLLegendElement: ["legend"], HTMLLinkElement: ["link"], HTMLMapElement: ["map"], HTMLMarqueeElement: ["marquee"], HTMLMediaElement: ["media"], HTMLMenuElement: ["menu"], HTMLMenuItemElement: ["menuitem"], HTMLMetaElement: ["meta"], HTMLMeterElement: ["meter"], HTMLModElement: ["del", "ins"], HTMLOListElement: ["ol"], HTMLObjectElement: ["object"], HTMLOptGroupElement: ["optgroup"], HTMLOptionElement: ["option"], HTMLOutputElement: ["output"], HTMLParagraphElement: ["p"], HTMLParamElement: ["param"], HTMLPictureElement: ["picture"], HTMLPreElement: ["pre"], HTMLProgressElement: ["progress"], HTMLQuoteElement: ["blockquote", "q", "quote"], HTMLScriptElement: ["script"], HTMLSelectElement: ["select"], HTMLShadowElement: ["shadow"], HTMLSlotElement: ["slot"], HTMLSourceElement: ["source"], HTMLSpanElement: ["span"], HTMLStyleElement: ["style"], HTMLTableCaptionElement: ["caption"], HTMLTableCellElement: ["td", "th"], HTMLTableColElement: ["col", "colgroup"], HTMLTableElement: ["table"], HTMLTableRowElement: ["tr"], HTMLTableSectionElement: ["thead", "tbody", "tfoot"], HTMLTemplateElement: ["template"], HTMLTextAreaElement: ["textarea"], HTMLTimeElement: ["time"], HTMLTitleElement: ["title"], HTMLTrackElement: ["track"], HTMLUListElement: ["ul"], HTMLUnknownElement: ["unknown", "vhgroupv", "vkeygen"], HTMLVideoElement: ["video"] }, nodes: { Attr: ["node"], Audio: ["audio"], CDATASection: ["node"], CharacterData: ["node"], Comment: ["#comment"], Document: ["#document"], DocumentFragment: ["#document-fragment"], DocumentType: ["node"], HTMLDocument: ["#document"], Image: ["img"], Option: ["option"], ProcessingInstruction: ["node"], ShadowRoot: ["#shadow-root"], Text: ["#text"], XMLDocument: ["xml"] } }); typeof t != "object" && (t = { type: t || "auto" }); var s = "registerElement", o = "__" + s + (e.Math.random() * 1e5 >> 0), u = "addEventListener", a = "attached", f = "Callback", l = "detached", c = "extends", h = "attributeChanged" + f, p = a + f, d = "connected" + f, v = "disconnected" + f, m = "created" + f, g = l + f, y = "ADDITION", b = "MODIFICATION", w = "REMOVAL", E = "DOMAttrModified", S = "DOMContentLoaded", x = "DOMSubtreeModified", T = "<", N = "=", C = /^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/, k = ["ANNOTATION-XML", "COLOR-PROFILE", "FONT-FACE", "FONT-FACE-SRC", "FONT-FACE-URI", "FONT-FACE-FORMAT", "FONT-FACE-NAME", "MISSING-GLYPH"], L = [], A = [], O = "", M = n.documentElement, _ = L.indexOf || function (e) { for (var t = this.length; t-- && this[t] !== e;)
|
||||
; return t; }, D = r.prototype, P = D.hasOwnProperty, H = D.isPrototypeOf, B = r.defineProperty, j = [], F = r.getOwnPropertyDescriptor, I = r.getOwnPropertyNames, q = r.getPrototypeOf, R = r.setPrototypeOf, U = !!r.__proto__, W = "__dreCEv1", X = e.customElements, V = !/^force/.test(t.type) && !!(X && X.define && X.get && X.whenDefined), $ = r.create || r, J = e.Map || function () { var t = [], n = [], r; return { get: function (e) { return n[_.call(t, e)]; }, set: function (e, i) { r = _.call(t, e), r < 0 ? n[t.push(e) - 1] = i : n[r] = i; } }; }, K = e.Promise || function (e) { function i(e) { n = !0; while (t.length)
|
||||
t.shift()(e); } var t = [], n = !1, r = { "catch": function () { return r; }, then: function (e) { return t.push(e), n && setTimeout(i, 1), r; } }; return e(i), r; }, Q = !1, G = $(null), Y = $(null), Z = new J, et = function (e) { return e.toLowerCase(); }, tt = r.create || function sn(e) { return e ? (sn.prototype = e, new sn) : this; }, nt = R || (U ? function (e, t) { return e.__proto__ = t, e; } : I && F ? function () { function e(e, t) { for (var n, r = I(t), i = 0, s = r.length; i < s; i++)
|
||||
n = r[i], P.call(e, n) || B(e, n, F(t, n)); } return function (t, n) { do
|
||||
e(t, n);
|
||||
while ((n = q(n)) && !H.call(n, t)); return t; }; }() : function (e, t) { for (var n in t)
|
||||
e[n] = t[n]; return e; }), rt = e.MutationObserver || e.WebKitMutationObserver, it = (e.HTMLElement || e.Element || e.Node).prototype, st = !H.call(it, M), ot = st ? function (e, t, n) { return e[t] = n.value, e; } : B, ut = st ? function (e) { return e.nodeType === 1; } : function (e) { return H.call(it, e); }, at = st && [], ft = it.attachShadow, lt = it.cloneNode, ct = it.dispatchEvent, ht = it.getAttribute, pt = it.hasAttribute, dt = it.removeAttribute, vt = it.setAttribute, mt = n.createElement, gt = mt, yt = rt && { attributes: !0, characterData: !0, attributeOldValue: !0 }, bt = rt || function (e) { Nt = !1, M.removeEventListener(E, bt); }, wt, Et = 0, St = s in n && !/^force-all/.test(t.type), xt = !0, Tt = !1, Nt = !0, Ct = !0, kt = !0, Lt, At, Ot, Mt, _t, Dt, Pt; St || (R || U ? (Dt = function (e, t) { H.call(t, e) || Xt(e, t); }, Pt = Xt) : (Dt = function (e, t) { e[o] || (e[o] = r(!0), Xt(e, t)); }, Pt = Dt), st ? (Nt = !1, function () { var e = F(it, u), t = e.value, n = function (e) { var t = new CustomEvent(E, { bubbles: !0 }); t.attrName = e, t.prevValue = ht.call(this, e), t.newValue = null, t[w] = t.attrChange = 2, dt.call(this, e), ct.call(this, t); }, r = function (e, t) { var n = pt.call(this, e), r = n && ht.call(this, e), i = new CustomEvent(E, { bubbles: !0 }); vt.call(this, e, t), i.attrName = e, i.prevValue = n ? r : null, i.newValue = t, n ? i[b] = i.attrChange = 1 : i[y] = i.attrChange = 0, ct.call(this, i); }, i = function (e) { var t = e.currentTarget, n = t[o], r = e.propertyName, i; n.hasOwnProperty(r) && (n = n[r], i = new CustomEvent(E, { bubbles: !0 }), i.attrName = n.name, i.prevValue = n.value || null, i.newValue = n.value = t[r] || null, i.prevValue == null ? i[y] = i.attrChange = 0 : i[b] = i.attrChange = 1, ct.call(t, i)); }; e.value = function (e, s, u) { e === E && this[h] && this.setAttribute !== r && (this[o] = { className: { name: "class", value: this.className } }, this.setAttribute = r, this.removeAttribute = n, t.call(this, "propertychange", i)), t.call(this, e, s, u); }, B(it, u, e); }()) : rt || (M[u](E, bt), M.setAttribute(o, 1), M.removeAttribute(o), Nt && (Lt = function (e) { var t = this, n, r, i; if (t === e.target) {
|
||||
n = t[o], t[o] = r = Ot(t);
|
||||
for (i in r) {
|
||||
if (!(i in n))
|
||||
return At(0, t, i, n[i], r[i], y);
|
||||
if (r[i] !== n[i])
|
||||
return At(1, t, i, n[i], r[i], b);
|
||||
}
|
||||
for (i in n)
|
||||
if (!(i in r))
|
||||
return At(2, t, i, n[i], r[i], w);
|
||||
} }, At = function (e, t, n, r, i, s) { var o = { attrChange: e, currentTarget: t, attrName: n, prevValue: r, newValue: i }; o[s] = e, Rt(o); }, Ot = function (e) { for (var t, n, r = {}, i = e.attributes, s = 0, o = i.length; s < o; s++)
|
||||
t = i[s], n = t.name, n !== "setAttribute" && (r[n] = t.value); return r; })), n[s] = function (t, r) { p = t.toUpperCase(), xt && (xt = !1, rt ? (Mt = function (e, t) { function n(e, t) { for (var n = 0, r = e.length; n < r; t(e[n++]))
|
||||
; } return new rt(function (r) { for (var i, s, o, u = 0, a = r.length; u < a; u++)
|
||||
i = r[u], i.type === "childList" ? (n(i.addedNodes, e), n(i.removedNodes, t)) : (s = i.target, kt && s[h] && i.attributeName !== "style" && (o = ht.call(s, i.attributeName), o !== i.oldValue && s[h](i.attributeName, i.oldValue, o))); }); }(Ft(a), Ft(l)), _t = function (e) { return Mt.observe(e, { childList: !0, subtree: !0 }), e; }, _t(n), ft && (it.attachShadow = function () { return _t(ft.apply(this, arguments)); })) : (wt = [], n[u]("DOMNodeInserted", Ut(a)), n[u]("DOMNodeRemoved", Ut(l))), n[u](S, zt), n[u]("readystatechange", zt), it.cloneNode = function (e) { var t = lt.call(this, !!e), n = It(t); return -1 < n && Pt(t, A[n]), e && O.length && jt(t.querySelectorAll(O)), t; }); if (Tt)
|
||||
return Tt = !1; -2 < _.call(L, N + p) + _.call(L, T + p) && $t(t); if (!C.test(p) || -1 < _.call(k, p))
|
||||
throw new Error("The type " + t + " is invalid"); var i = function () { return o ? n.createElement(f, p) : n.createElement(f); }, s = r || D, o = P.call(s, c), f = o ? r[c].toUpperCase() : p, p, d; return o && -1 < _.call(L, T + f) && $t(f), d = L.push((o ? N : T) + p) - 1, O = O.concat(O.length ? "," : "", o ? f + '[is="' + t.toLowerCase() + '"]' : f), i.prototype = A[d] = P.call(s, "prototype") ? s.prototype : tt(it), O.length && Bt(n.querySelectorAll(O), a), i; }, n.createElement = gt = function (e, t) { var r = Yt(t), i = r ? mt.call(n, e, et(r)) : mt.call(n, e), s = "" + e, o = _.call(L, (r ? N : T) + (r || s).toUpperCase()), u = -1 < o; return r && (i.setAttribute("is", r = r.toLowerCase()), u && (u = qt(s.toUpperCase(), r))), kt = !n.createElement.innerHTMLHelper, u && Pt(i, A[o]), i; }), Kt.prototype = { constructor: Kt, define: V ? function (e, t, n) { if (n)
|
||||
Qt(e, t, n);
|
||||
else {
|
||||
var r = e.toUpperCase();
|
||||
G[r] = { constructor: t, create: [r] }, Z.set(t, r), X.define(e, t);
|
||||
} } : Qt, get: V ? function (e) { return X.get(e) || Gt(e); } : Gt, whenDefined: V ? function (e) { return K.race([X.whenDefined(e), en(e)]); } : en }; if (!X || /^force/.test(t.type))
|
||||
tn();
|
||||
else if (!t.noBuiltIn)
|
||||
try {
|
||||
(function (t, r, i) { r[c] = "a", t.prototype = tt(HTMLAnchorElement.prototype), t.prototype.constructor = t, e.customElements.define(i, t, r); if (ht.call(n.createElement("a", { is: i }), "is") !== i || V && ht.call(new t, "is") !== i)
|
||||
throw r; })(function on() { return Reflect.construct(HTMLAnchorElement, [], on); }, {}, "document-register-element-a");
|
||||
}
|
||||
catch (nn) {
|
||||
tn();
|
||||
} if (!t.noBuiltIn)
|
||||
try {
|
||||
mt.call(n, "a", "a");
|
||||
}
|
||||
catch (rn) {
|
||||
et = function (e) { return { is: e.toLowerCase() }; };
|
||||
} })(window);
|
||||
}
|
||||
/*!
|
||||
Element.closest and Element.matches
|
||||
https://github.com/jonathantneal/closest
|
||||
Creative Commons Zero v1.0 Universal
|
||||
*/
|
||||
(function (a) { "function" !== typeof a.matches && (a.matches = a.msMatchesSelector || a.mozMatchesSelector || a.webkitMatchesSelector || function (a) { a = (this.document || this.ownerDocument).querySelectorAll(a); for (var b = 0; a[b] && a[b] !== this;)
|
||||
++b; return !!a[b]; }); "function" !== typeof a.closest && (a.closest = function (a) { for (var b = this; b && 1 === b.nodeType;) {
|
||||
if (b.matches(a))
|
||||
return b;
|
||||
b = b.parentNode;
|
||||
} return null; }); })(window.Element.prototype);
|
||||
/*!
|
||||
Element.remove()
|
||||
https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove
|
||||
*/
|
||||
(function (b) { b.forEach(function (a) { a.hasOwnProperty("remove") || Object.defineProperty(a, "remove", { configurable: !0, enumerable: !0, writable: !0, value: function () { null !== this.parentNode && this.parentNode.removeChild(this); } }); }); })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);
|
||||
}
|
||||
exports.applyPolyfill = applyPolyfill;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+24
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
+189
@@ -0,0 +1,189 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('fetch.js', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
function applyPolyfill(window, document) {
|
||||
(function (e) {
|
||||
function l(a) { "string" !== typeof a && (a = String(a)); if (/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))
|
||||
throw new TypeError("Invalid character in header field name"); return a.toLowerCase(); }
|
||||
function q(a) { "string" !== typeof a && (a = String(a)); return a; }
|
||||
function n(a) { var b = { next: function () { var b = a.shift(); return { done: void 0 === b, value: b }; } }; g.iterable && (b[Symbol.iterator] = function () { return b; }); return b; }
|
||||
function d(a) {
|
||||
this.map = {};
|
||||
a instanceof d ? a.forEach(function (a, c) { this.append(c, a); }, this) : Array.isArray(a) ?
|
||||
a.forEach(function (a) { this.append(a[0], a[1]); }, this) : a && Object.getOwnPropertyNames(a).forEach(function (b) { this.append(b, a[b]); }, this);
|
||||
}
|
||||
function p(a) { if (a.bodyUsed)
|
||||
return Promise.reject(new TypeError("Already read")); a.bodyUsed = !0; }
|
||||
function r(a) { return new Promise(function (b, c) { a.onload = function () { b(a.result); }; a.onerror = function () { c(a.error); }; }); }
|
||||
function w(a) { var b = new FileReader, c = r(b); b.readAsArrayBuffer(a); return c; }
|
||||
function x(a) {
|
||||
a = new Uint8Array(a);
|
||||
for (var b = Array(a.length), c = 0; c < a.length; c++)
|
||||
b[c] = String.fromCharCode(a[c]);
|
||||
return b.join("");
|
||||
}
|
||||
function t(a) { if (a.slice)
|
||||
return a.slice(0); var b = new Uint8Array(a.byteLength); b.set(new Uint8Array(a)); return b.buffer; }
|
||||
function u() {
|
||||
this.bodyUsed = !1;
|
||||
this._initBody = function (a) {
|
||||
if (this._bodyInit = a)
|
||||
if ("string" === typeof a)
|
||||
this._bodyText = a;
|
||||
else if (g.blob && Blob.prototype.isPrototypeOf(a))
|
||||
this._bodyBlob = a;
|
||||
else if (g.formData && FormData.prototype.isPrototypeOf(a))
|
||||
this._bodyFormData = a;
|
||||
else if (g.searchParams && URLSearchParams.prototype.isPrototypeOf(a))
|
||||
this._bodyText = a.toString();
|
||||
else if (g.arrayBuffer &&
|
||||
g.blob && y(a))
|
||||
this._bodyArrayBuffer = t(a.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer]);
|
||||
else if (g.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(a) || z(a)))
|
||||
this._bodyArrayBuffer = t(a);
|
||||
else
|
||||
throw Error("unsupported BodyInit type");
|
||||
else
|
||||
this._bodyText = "";
|
||||
this.headers.get("content-type") || ("string" === typeof a ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : g.searchParams && URLSearchParams.prototype.isPrototypeOf(a) &&
|
||||
this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
||||
};
|
||||
g.blob && (this.blob = function () { var a = p(this); if (a)
|
||||
return a; if (this._bodyBlob)
|
||||
return Promise.resolve(this._bodyBlob); if (this._bodyArrayBuffer)
|
||||
return Promise.resolve(new Blob([this._bodyArrayBuffer])); if (this._bodyFormData)
|
||||
throw Error("could not read FormData body as blob"); return Promise.resolve(new Blob([this._bodyText])); }, this.arrayBuffer = function () {
|
||||
return this._bodyArrayBuffer ? p(this) || Promise.resolve(this._bodyArrayBuffer) :
|
||||
this.blob().then(w);
|
||||
});
|
||||
this.text = function () { var a = p(this); if (a)
|
||||
return a; if (this._bodyBlob) {
|
||||
a = this._bodyBlob;
|
||||
var b = new FileReader, c = r(b);
|
||||
b.readAsText(a);
|
||||
return c;
|
||||
} if (this._bodyArrayBuffer)
|
||||
return Promise.resolve(x(this._bodyArrayBuffer)); if (this._bodyFormData)
|
||||
throw Error("could not read FormData body as text"); return Promise.resolve(this._bodyText); };
|
||||
g.formData && (this.formData = function () { return this.text().then(A); });
|
||||
this.json = function () { return this.text().then(JSON.parse); };
|
||||
return this;
|
||||
}
|
||||
function k(a, b) {
|
||||
b =
|
||||
b || {};
|
||||
var c = b.body;
|
||||
if (a instanceof k) {
|
||||
if (a.bodyUsed)
|
||||
throw new TypeError("Already read");
|
||||
this.url = a.url;
|
||||
this.credentials = a.credentials;
|
||||
b.headers || (this.headers = new d(a.headers));
|
||||
this.method = a.method;
|
||||
this.mode = a.mode;
|
||||
c || null == a._bodyInit || (c = a._bodyInit, a.bodyUsed = !0);
|
||||
}
|
||||
else
|
||||
this.url = String(a);
|
||||
this.credentials = b.credentials || this.credentials || "omit";
|
||||
if (b.headers || !this.headers)
|
||||
this.headers = new d(b.headers);
|
||||
var v = b.method || this.method || "GET", g = v.toUpperCase();
|
||||
this.method = -1 < B.indexOf(g) ? g : v;
|
||||
this.mode =
|
||||
b.mode || this.mode || null;
|
||||
this.referrer = null;
|
||||
if (("GET" === this.method || "HEAD" === this.method) && c)
|
||||
throw new TypeError("Body not allowed for GET or HEAD requests");
|
||||
this._initBody(c);
|
||||
}
|
||||
function A(a) { var b = new FormData; a.trim().split("&").forEach(function (a) { if (a) {
|
||||
var c = a.split("=");
|
||||
a = c.shift().replace(/\+/g, " ");
|
||||
c = c.join("=").replace(/\+/g, " ");
|
||||
b.append(decodeURIComponent(a), decodeURIComponent(c));
|
||||
} }); return b; }
|
||||
function C(a) {
|
||||
var b = new d;
|
||||
a.replace(/\r?\n[\t ]+/g, " ").split(/\r?\n/).forEach(function (a) {
|
||||
var c = a.split(":");
|
||||
if (a = c.shift().trim())
|
||||
c = c.join(":").trim(), b.append(a, c);
|
||||
});
|
||||
return b;
|
||||
}
|
||||
function h(a, b) { b || (b = {}); this.type = "default"; this.status = void 0 === b.status ? 200 : b.status; this.ok = 200 <= this.status && 300 > this.status; this.statusText = "statusText" in b ? b.statusText : "OK"; this.headers = new d(b.headers); this.url = b.url || ""; this._initBody(a); }
|
||||
if (!e.fetch) {
|
||||
var D = "Symbol" in e && "iterator" in Symbol, m;
|
||||
if (m = "FileReader" in e && "Blob" in e)
|
||||
try {
|
||||
new Blob, m = !0;
|
||||
}
|
||||
catch (a) {
|
||||
m = !1;
|
||||
}
|
||||
var g = { searchParams: "URLSearchParams" in e, iterable: D,
|
||||
blob: m, formData: "FormData" in e, arrayBuffer: "ArrayBuffer" in e };
|
||||
if (g.arrayBuffer) {
|
||||
var E = "[object Int8Array];[object Uint8Array];[object Uint8ClampedArray];[object Int16Array];[object Uint16Array];[object Int32Array];[object Uint32Array];[object Float32Array];[object Float64Array]".split(";");
|
||||
var y = function (a) { return a && DataView.prototype.isPrototypeOf(a); };
|
||||
var z = ArrayBuffer.isView || function (a) { return a && -1 < E.indexOf(Object.prototype.toString.call(a)); };
|
||||
}
|
||||
d.prototype.append = function (a, b) {
|
||||
a = l(a);
|
||||
b = q(b);
|
||||
var c = this.map[a];
|
||||
this.map[a] = c ? c + "," + b : b;
|
||||
};
|
||||
d.prototype["delete"] = function (a) { delete this.map[l(a)]; };
|
||||
d.prototype.get = function (a) { a = l(a); return this.has(a) ? this.map[a] : null; };
|
||||
d.prototype.has = function (a) { return this.map.hasOwnProperty(l(a)); };
|
||||
d.prototype.set = function (a, b) { this.map[l(a)] = q(b); };
|
||||
d.prototype.forEach = function (a, b) { for (var c in this.map)
|
||||
this.map.hasOwnProperty(c) && a.call(b, this.map[c], c, this); };
|
||||
d.prototype.keys = function () { var a = []; this.forEach(function (b, c) { a.push(c); }); return n(a); };
|
||||
d.prototype.values =
|
||||
function () { var a = []; this.forEach(function (b) { a.push(b); }); return n(a); };
|
||||
d.prototype.entries = function () { var a = []; this.forEach(function (b, c) { a.push([c, b]); }); return n(a); };
|
||||
g.iterable && (d.prototype[Symbol.iterator] = d.prototype.entries);
|
||||
var B = "DELETE GET HEAD OPTIONS POST PUT".split(" ");
|
||||
k.prototype.clone = function () { return new k(this, { body: this._bodyInit }); };
|
||||
u.call(k.prototype);
|
||||
u.call(h.prototype);
|
||||
h.prototype.clone = function () {
|
||||
return new h(this._bodyInit, { status: this.status, statusText: this.statusText, headers: new d(this.headers),
|
||||
url: this.url });
|
||||
};
|
||||
h.error = function () { var a = new h(null, { status: 0, statusText: "" }); a.type = "error"; return a; };
|
||||
var F = [301, 302, 303, 307, 308];
|
||||
h.redirect = function (a, b) { if (-1 === F.indexOf(b))
|
||||
throw new RangeError("Invalid status code"); return new h(null, { status: b, headers: { location: a } }); };
|
||||
e.Headers = d;
|
||||
e.Request = k;
|
||||
e.Response = h;
|
||||
e.fetch = function (a, b) {
|
||||
return new Promise(function (c, d) {
|
||||
var e = new k(a, b), f = new XMLHttpRequest;
|
||||
f.onload = function () {
|
||||
var a = { status: f.status, statusText: f.statusText, headers: C(f.getAllResponseHeaders() ||
|
||||
"") };
|
||||
a.url = "responseURL" in f ? f.responseURL : a.headers.get("X-Request-URL");
|
||||
c(new h("response" in f ? f.response : f.responseText, a));
|
||||
};
|
||||
f.onerror = function () { d(new TypeError("Network request failed")); };
|
||||
f.ontimeout = function () { d(new TypeError("Network request failed")); };
|
||||
f.open(e.method, e.url, !0);
|
||||
"include" === e.credentials ? f.withCredentials = !0 : "omit" === e.credentials && (f.withCredentials = !1);
|
||||
"responseType" in f && g.blob && (f.responseType = "blob");
|
||||
e.headers.forEach(function (a, b) { f.setRequestHeader(b, a); });
|
||||
f.send("undefined" ===
|
||||
typeof e._bodyInit ? null : e._bodyInit);
|
||||
});
|
||||
};
|
||||
e.fetch.polyfill = !0;
|
||||
}
|
||||
})("undefined" !== typeof self ? self : window);
|
||||
}
|
||||
exports.applyPolyfill = applyPolyfill;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+25
@@ -0,0 +1,25 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
function applyPolyfill(window, document) {/*!
|
||||
whatwg-fetch, 2.0.3
|
||||
https://github.com/github/fetch
|
||||
Copyright (c) 2014-2016 GitHub, Inc. - MIT License
|
||||
*/
|
||||
(function(e){function l(a){"string"!==typeof a&&(a=String(a));if(/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(a))throw new TypeError("Invalid character in header field name");return a.toLowerCase()}function q(a){"string"!==typeof a&&(a=String(a));return a}function n(a){var b={next:function(){var b=a.shift();return {done:void 0===b,value:b}}};g.iterable&&(b[Symbol.iterator]=function(){return b});return b}function d(a){this.map={};a instanceof d?a.forEach(function(a,c){this.append(c,a);},this):Array.isArray(a)?
|
||||
a.forEach(function(a){this.append(a[0],a[1]);},this):a&&Object.getOwnPropertyNames(a).forEach(function(b){this.append(b,a[b]);},this);}function p(a){if(a.bodyUsed)return Promise.reject(new TypeError("Already read"));a.bodyUsed=!0;}function r(a){return new Promise(function(b,c){a.onload=function(){b(a.result);};a.onerror=function(){c(a.error);};})}function w(a){var b=new FileReader,c=r(b);b.readAsArrayBuffer(a);return c}function x(a){a=new Uint8Array(a);for(var b=Array(a.length),c=0;c<a.length;c++)b[c]=String.fromCharCode(a[c]);
|
||||
return b.join("")}function t(a){if(a.slice)return a.slice(0);var b=new Uint8Array(a.byteLength);b.set(new Uint8Array(a));return b.buffer}function u(){this.bodyUsed=!1;this._initBody=function(a){if(this._bodyInit=a)if("string"===typeof a)this._bodyText=a;else if(g.blob&&Blob.prototype.isPrototypeOf(a))this._bodyBlob=a;else if(g.formData&&FormData.prototype.isPrototypeOf(a))this._bodyFormData=a;else if(g.searchParams&&URLSearchParams.prototype.isPrototypeOf(a))this._bodyText=a.toString();else if(g.arrayBuffer&&
|
||||
g.blob&&y(a))this._bodyArrayBuffer=t(a.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else if(g.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(a)||z(a)))this._bodyArrayBuffer=t(a);else throw Error("unsupported BodyInit type");else this._bodyText="";this.headers.get("content-type")||("string"===typeof a?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):g.searchParams&&URLSearchParams.prototype.isPrototypeOf(a)&&
|
||||
this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"));};g.blob&&(this.blob=function(){var a=p(this);if(a)return a;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?p(this)||Promise.resolve(this._bodyArrayBuffer):
|
||||
this.blob().then(w)});this.text=function(){var a=p(this);if(a)return a;if(this._bodyBlob){a=this._bodyBlob;var b=new FileReader,c=r(b);b.readAsText(a);return c}if(this._bodyArrayBuffer)return Promise.resolve(x(this._bodyArrayBuffer));if(this._bodyFormData)throw Error("could not read FormData body as text");return Promise.resolve(this._bodyText)};g.formData&&(this.formData=function(){return this.text().then(A)});this.json=function(){return this.text().then(JSON.parse)};return this}function k(a,b){b=
|
||||
b||{};var c=b.body;if(a instanceof k){if(a.bodyUsed)throw new TypeError("Already read");this.url=a.url;this.credentials=a.credentials;b.headers||(this.headers=new d(a.headers));this.method=a.method;this.mode=a.mode;c||null==a._bodyInit||(c=a._bodyInit,a.bodyUsed=!0);}else this.url=String(a);this.credentials=b.credentials||this.credentials||"omit";if(b.headers||!this.headers)this.headers=new d(b.headers);var v=b.method||this.method||"GET",g=v.toUpperCase();this.method=-1<B.indexOf(g)?g:v;this.mode=
|
||||
b.mode||this.mode||null;this.referrer=null;if(("GET"===this.method||"HEAD"===this.method)&&c)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(c);}function A(a){var b=new FormData;a.trim().split("&").forEach(function(a){if(a){var c=a.split("=");a=c.shift().replace(/\+/g," ");c=c.join("=").replace(/\+/g," ");b.append(decodeURIComponent(a),decodeURIComponent(c));}});return b}function C(a){var b=new d;a.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(a){var c=
|
||||
a.split(":");if(a=c.shift().trim())c=c.join(":").trim(),b.append(a,c);});return b}function h(a,b){b||(b={});this.type="default";this.status=void 0===b.status?200:b.status;this.ok=200<=this.status&&300>this.status;this.statusText="statusText"in b?b.statusText:"OK";this.headers=new d(b.headers);this.url=b.url||"";this._initBody(a);}if(!e.fetch){var D="Symbol"in e&&"iterator"in Symbol,m;if(m="FileReader"in e&&"Blob"in e)try{new Blob,m=!0;}catch(a){m=!1;}var g={searchParams:"URLSearchParams"in e,iterable:D,
|
||||
blob:m,formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(g.arrayBuffer){var E="[object Int8Array];[object Uint8Array];[object Uint8ClampedArray];[object Int16Array];[object Uint16Array];[object Int32Array];[object Uint32Array];[object Float32Array];[object Float64Array]".split(";");var y=function(a){return a&&DataView.prototype.isPrototypeOf(a)};var z=ArrayBuffer.isView||function(a){return a&&-1<E.indexOf(Object.prototype.toString.call(a))};}d.prototype.append=function(a,b){a=l(a);b=q(b);var c=
|
||||
this.map[a];this.map[a]=c?c+","+b:b;};d.prototype["delete"]=function(a){delete this.map[l(a)];};d.prototype.get=function(a){a=l(a);return this.has(a)?this.map[a]:null};d.prototype.has=function(a){return this.map.hasOwnProperty(l(a))};d.prototype.set=function(a,b){this.map[l(a)]=q(b);};d.prototype.forEach=function(a,b){for(var c in this.map)this.map.hasOwnProperty(c)&&a.call(b,this.map[c],c,this);};d.prototype.keys=function(){var a=[];this.forEach(function(b,c){a.push(c);});return n(a)};d.prototype.values=
|
||||
function(){var a=[];this.forEach(function(b){a.push(b);});return n(a)};d.prototype.entries=function(){var a=[];this.forEach(function(b,c){a.push([c,b]);});return n(a)};g.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);var B="DELETE GET HEAD OPTIONS POST PUT".split(" ");k.prototype.clone=function(){return new k(this,{body:this._bodyInit})};u.call(k.prototype);u.call(h.prototype);h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),
|
||||
url:this.url})};h.error=function(){var a=new h(null,{status:0,statusText:""});a.type="error";return a};var F=[301,302,303,307,308];h.redirect=function(a,b){if(-1===F.indexOf(b))throw new RangeError("Invalid status code");return new h(null,{status:b,headers:{location:a}})};e.Headers=d;e.Request=k;e.Response=h;e.fetch=function(a,b){return new Promise(function(c,d){var e=new k(a,b),f=new XMLHttpRequest;f.onload=function(){var a={status:f.status,statusText:f.statusText,headers:C(f.getAllResponseHeaders()||
|
||||
"")};a.url="responseURL"in f?f.responseURL:a.headers.get("X-Request-URL");c(new h("response"in f?f.response:f.responseText,a));};f.onerror=function(){d(new TypeError("Network request failed"));};f.ontimeout=function(){d(new TypeError("Network request failed"));};f.open(e.method,e.url,!0);"include"===e.credentials?f.withCredentials=!0:"omit"===e.credentials&&(f.withCredentials=!1);"responseType"in f&&g.blob&&(f.responseType="blob");e.headers.forEach(function(a,b){f.setRequestHeader(b,a);});f.send("undefined"===
|
||||
typeof e._bodyInit?null:e._bodyInit);})};e.fetch.polyfill=!0;}})("undefined"!==typeof self?self:window);}
|
||||
|
||||
export { applyPolyfill };
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("d83fvjds",["exports"],function(e){var n=window.DocsSite.h,o=function(){function e(){}return e.prototype.render=function(){return n("main",null,n("div",{class:"container"},n("h1",null,"Woops! We can't find the page your looking for."),n("p",null,"Head on back to the ",n("stencil-route-link",{url:"/",class:"block"},"Icons page"),".")),n("footer-bar",null))},Object.defineProperty(e,"is",{get:function(){return"notfound-page"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"notfound-page{text-align:center;height:100%}notfound-page h1{max-width:500px}notfound-page a{font-weight:600}"},enumerable:!0,configurable:!0}),e}();e.NotfoundPage=o,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
DocsSite.loadBundle("fonk1mfi",["exports"],function(e){var n=window.DocsSite.h,o=function(){function e(){}return e.prototype.render=function(){return n("main",null,n("div",{class:"container"},n("h1",null,"Woops! We can't find the page your looking for."),n("p",null,"Head on back to the ",n("stencil-route-link",{url:"/",class:"block"},"Icons page"),".")),n("footer-bar",null))},Object.defineProperty(e,"is",{get:function(){return"notfound-page"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"notfound-page{text-align:center;height:100%}notfound-page h1{max-width:500px}notfound-page a{font-weight:600}"},enumerable:!0,configurable:!0}),e}();e.NotfoundPage=o,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class n{render(){return e("main",null,e("div",{class:"container"},e("h1",null,"Woops! We can't find the page your looking for."),e("p",null,"Head on back to the ",e("stencil-route-link",{url:"/",class:"block"},"Icons page"),".")),e("footer-bar",null))}static get is(){return"notfound-page"}static get style(){return"notfound-page{text-align:center;height:100%}notfound-page h1{max-width:500px}notfound-page a{font-weight:600}"}}export{n as NotfoundPage};
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("fonk1mfi",["exports"],function(e){var n=window.DocsSite.h,o=function(){function e(){}return e.prototype.render=function(){return n("main",null,n("div",{class:"container"},n("h1",null,"Woops! We can't find the page your looking for."),n("p",null,"Head on back to the ",n("stencil-route-link",{url:"/",class:"block"},"Icons page"),".")),n("footer-bar",null))},Object.defineProperty(e,"is",{get:function(){return"notfound-page"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"notfound-page{text-align:center;height:100%}notfound-page h1{max-width:500px}notfound-page a{font-weight:600}"},enumerable:!0,configurable:!0}),e}();e.NotfoundPage=o,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
class FooterBar {
|
||||
render() {
|
||||
return (h("footer", null,
|
||||
h("div", { class: "container" },
|
||||
h("div", { class: "footer__open-source" },
|
||||
h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" },
|
||||
h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })),
|
||||
h("p", null,
|
||||
"Released under ",
|
||||
h("span", { id: "mit" }, "MIT License"),
|
||||
" | Copyright @ ",
|
||||
(new Date()).getFullYear())),
|
||||
h("div", { class: "footer-menu" },
|
||||
h("a", { href: "cheatsheet.html" }, "Cheatsheet"),
|
||||
h("a", { href: "/v1" }, "v1"),
|
||||
h("a", { href: "/v2" }, "v2"),
|
||||
h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"),
|
||||
h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
|
||||
}
|
||||
static get is() { return "footer-bar"; }
|
||||
static get style() { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; }
|
||||
}
|
||||
|
||||
export { FooterBar };
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('footer-bar', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var FooterBar = /** @class */ (function () {
|
||||
function FooterBar() {
|
||||
}
|
||||
FooterBar.prototype.render = function () {
|
||||
return (h("footer", null, h("div", { class: "container" }, h("div", { class: "footer__open-source" }, h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" }, h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })), h("p", null, "Released under ", h("span", { id: "mit" }, "MIT License"), " | Copyright @ ", (new Date()).getFullYear())), h("div", { class: "footer-menu" }, h("a", { href: "cheatsheet.html" }, "Cheatsheet"), h("a", { href: "/v1" }, "v1"), h("a", { href: "/v2" }, "v2"), h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"), h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
|
||||
};
|
||||
Object.defineProperty(FooterBar, "is", {
|
||||
get: function () { return "footer-bar"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(FooterBar, "style", {
|
||||
get: function () { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return FooterBar;
|
||||
}());
|
||||
exports.FooterBar = FooterBar;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
class FooterBar {
|
||||
render() {
|
||||
return (h("footer", null,
|
||||
h("div", { class: "container" },
|
||||
h("div", { class: "footer__open-source" },
|
||||
h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" },
|
||||
h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })),
|
||||
h("p", null,
|
||||
"Released under ",
|
||||
h("span", { id: "mit" }, "MIT License"),
|
||||
" | Copyright @ ",
|
||||
(new Date()).getFullYear())),
|
||||
h("div", { class: "footer-menu" },
|
||||
h("a", { href: "cheatsheet.html" }, "Cheatsheet"),
|
||||
h("a", { href: "/v1" }, "v1"),
|
||||
h("a", { href: "/v2" }, "v2"),
|
||||
h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"),
|
||||
h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
|
||||
}
|
||||
static get is() { return "footer-bar"; }
|
||||
static get style() { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; }
|
||||
}
|
||||
|
||||
export { FooterBar };
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('footer-bar', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var FooterBar = /** @class */ (function () {
|
||||
function FooterBar() {
|
||||
}
|
||||
FooterBar.prototype.render = function () {
|
||||
return (h("footer", null, h("div", { class: "container" }, h("div", { class: "footer__open-source" }, h("a", { href: "http://ionicframework.com/", title: "IonicFramework.com", rel: "noopener" }, h("img", { src: "/assets/img/ionic-os-logo.png", alt: "Ionic Open Source Logo" })), h("p", null, "Released under ", h("span", { id: "mit" }, "MIT License"), " | Copyright @ ", (new Date()).getFullYear())), h("div", { class: "footer-menu" }, h("a", { href: "cheatsheet.html" }, "Cheatsheet"), h("a", { href: "/v1" }, "v1"), h("a", { href: "/v2" }, "v2"), h("a", { href: "https://ionicframework.com/docs/ionicons/" }, "v3"), h("a", { href: "https://ionicframework.com/" }, "Ionic Framework")))));
|
||||
};
|
||||
Object.defineProperty(FooterBar, "is", {
|
||||
get: function () { return "footer-bar"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(FooterBar, "style", {
|
||||
get: function () { return "footer-bar footer {\n width: 100%;\n background: var(--color-white-lilac);\n -webkit-box-flex: 0;\n -ms-flex: 0 0 8em;\n flex: 0 0 8em;\n /* margin-top: 100px; */ }\n\nfooter-bar .container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n padding-top: 40px;\n padding-bottom: 40px; }\n\nfooter-bar img {\n width: 50%; }\n\nfooter-bar p {\n margin-top: 0;\n margin-bottom: 0;\n color: var(--color-cadet-blue);\n font-size: 10px;\n letter-spacing: 0; }\n\nfooter-bar .footer-menu a {\n -webkit-transition: color 0.3s;\n transition: color 0.3s;\n font-size: 11px;\n font-weight: 600;\n text-decoration: none;\n color: var(--color-gull-gray); }\n\nfooter-bar .footer-menu a:hover {\n color: var(--color-shark); }\n\nfooter-bar .footer-menu a + a {\n margin-left: 18px; }\n\n\@media screen and (max-width: 768px) {\n footer-bar .container {\n -webkit-box-orient: vertical;\n -webkit-box-direction: reverse;\n -ms-flex-direction: column-reverse;\n flex-direction: column-reverse;\n text-align: center; }\n footer-bar .footer-menu {\n margin-bottom: 36px; } }"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return FooterBar;
|
||||
}());
|
||||
exports.FooterBar = FooterBar;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
+1142
File diff suppressed because one or more lines are too long
+1275
File diff suppressed because one or more lines are too long
+1142
File diff suppressed because one or more lines are too long
+1275
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+349
File diff suppressed because one or more lines are too long
+336
File diff suppressed because one or more lines are too long
+349
File diff suppressed because one or more lines are too long
+336
File diff suppressed because one or more lines are too long
+71
@@ -0,0 +1,71 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
class IconSearch {
|
||||
constructor() {
|
||||
this.query = '';
|
||||
this.size = 'small';
|
||||
this.autofocus = 'none';
|
||||
this.showClearCtrl = false;
|
||||
}
|
||||
watchQuery() {
|
||||
this.showClearCtrl = (this.query.length > 0) ? true : false;
|
||||
}
|
||||
searchListener(ev) {
|
||||
if (ev.keyCode === 27) {
|
||||
this.handleClear();
|
||||
return;
|
||||
}
|
||||
const value = ev.target.value;
|
||||
this.hasSearched.emit(value);
|
||||
}
|
||||
handleClear() {
|
||||
this.hasSearched.emit('');
|
||||
}
|
||||
componentWillLoad() {
|
||||
this.watchQuery();
|
||||
}
|
||||
render() {
|
||||
return (h("div", { class: `search-input search-input--${this.size}` },
|
||||
h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }),
|
||||
h("i", { class: {
|
||||
'search-input__clear': true,
|
||||
'search-input__clear--active': this.showClearCtrl,
|
||||
'ion': true,
|
||||
'ion-md-close': true
|
||||
}, onClick: this.handleClear.bind(this) })));
|
||||
}
|
||||
static get is() { return "icon-search"; }
|
||||
static get properties() { return {
|
||||
"autofocus": {
|
||||
"type": String,
|
||||
"attr": "autofocus"
|
||||
},
|
||||
"query": {
|
||||
"type": String,
|
||||
"attr": "query",
|
||||
"watchCallbacks": ["watchQuery"]
|
||||
},
|
||||
"showClearCtrl": {
|
||||
"state": true
|
||||
},
|
||||
"size": {
|
||||
"type": String,
|
||||
"attr": "size"
|
||||
}
|
||||
}; }
|
||||
static get events() { return [{
|
||||
"name": "hasSearched",
|
||||
"method": "hasSearched",
|
||||
"bubbles": true,
|
||||
"cancelable": true,
|
||||
"composed": true
|
||||
}]; }
|
||||
static get listeners() { return [{
|
||||
"name": "keyup",
|
||||
"method": "searchListener"
|
||||
}]; }
|
||||
static get style() { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; }
|
||||
}
|
||||
|
||||
export { IconSearch };
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('icon-search', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var IconSearch = /** @class */ (function () {
|
||||
function IconSearch() {
|
||||
this.query = '';
|
||||
this.size = 'small';
|
||||
this.autofocus = 'none';
|
||||
this.showClearCtrl = false;
|
||||
}
|
||||
IconSearch.prototype.watchQuery = function () {
|
||||
this.showClearCtrl = (this.query.length > 0) ? true : false;
|
||||
};
|
||||
IconSearch.prototype.searchListener = function (ev) {
|
||||
if (ev.keyCode === 27) {
|
||||
this.handleClear();
|
||||
return;
|
||||
}
|
||||
var value = ev.target.value;
|
||||
this.hasSearched.emit(value);
|
||||
};
|
||||
IconSearch.prototype.handleClear = function () {
|
||||
this.hasSearched.emit('');
|
||||
};
|
||||
IconSearch.prototype.componentWillLoad = function () {
|
||||
this.watchQuery();
|
||||
};
|
||||
IconSearch.prototype.render = function () {
|
||||
return (h("div", { class: "search-input search-input--" + this.size }, h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }), h("i", { class: {
|
||||
'search-input__clear': true,
|
||||
'search-input__clear--active': this.showClearCtrl,
|
||||
'ion': true,
|
||||
'ion-md-close': true
|
||||
}, onClick: this.handleClear.bind(this) })));
|
||||
};
|
||||
Object.defineProperty(IconSearch, "is", {
|
||||
get: function () { return "icon-search"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "properties", {
|
||||
get: function () {
|
||||
return {
|
||||
"autofocus": {
|
||||
"type": String,
|
||||
"attr": "autofocus"
|
||||
},
|
||||
"query": {
|
||||
"type": String,
|
||||
"attr": "query",
|
||||
"watchCallbacks": ["watchQuery"]
|
||||
},
|
||||
"showClearCtrl": {
|
||||
"state": true
|
||||
},
|
||||
"size": {
|
||||
"type": String,
|
||||
"attr": "size"
|
||||
}
|
||||
};
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "events", {
|
||||
get: function () {
|
||||
return [{
|
||||
"name": "hasSearched",
|
||||
"method": "hasSearched",
|
||||
"bubbles": true,
|
||||
"cancelable": true,
|
||||
"composed": true
|
||||
}];
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "listeners", {
|
||||
get: function () {
|
||||
return [{
|
||||
"name": "keyup",
|
||||
"method": "searchListener"
|
||||
}];
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "style", {
|
||||
get: function () { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return IconSearch;
|
||||
}());
|
||||
exports.IconSearch = IconSearch;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
class IconSearch {
|
||||
constructor() {
|
||||
this.query = '';
|
||||
this.size = 'small';
|
||||
this.autofocus = 'none';
|
||||
this.showClearCtrl = false;
|
||||
}
|
||||
watchQuery() {
|
||||
this.showClearCtrl = (this.query.length > 0) ? true : false;
|
||||
}
|
||||
searchListener(ev) {
|
||||
if (ev.keyCode === 27) {
|
||||
this.handleClear();
|
||||
return;
|
||||
}
|
||||
const value = ev.target.value;
|
||||
this.hasSearched.emit(value);
|
||||
}
|
||||
handleClear() {
|
||||
this.hasSearched.emit('');
|
||||
}
|
||||
componentWillLoad() {
|
||||
this.watchQuery();
|
||||
}
|
||||
render() {
|
||||
return (h("div", { class: `search-input search-input--${this.size}` },
|
||||
h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }),
|
||||
h("i", { class: {
|
||||
'search-input__clear': true,
|
||||
'search-input__clear--active': this.showClearCtrl,
|
||||
'ion': true,
|
||||
'ion-md-close': true
|
||||
}, onClick: this.handleClear.bind(this) })));
|
||||
}
|
||||
static get is() { return "icon-search"; }
|
||||
static get properties() { return {
|
||||
"autofocus": {
|
||||
"type": String,
|
||||
"attr": "autofocus"
|
||||
},
|
||||
"query": {
|
||||
"type": String,
|
||||
"attr": "query",
|
||||
"watchCallbacks": ["watchQuery"]
|
||||
},
|
||||
"showClearCtrl": {
|
||||
"state": true
|
||||
},
|
||||
"size": {
|
||||
"type": String,
|
||||
"attr": "size"
|
||||
}
|
||||
}; }
|
||||
static get events() { return [{
|
||||
"name": "hasSearched",
|
||||
"method": "hasSearched",
|
||||
"bubbles": true,
|
||||
"cancelable": true,
|
||||
"composed": true
|
||||
}]; }
|
||||
static get listeners() { return [{
|
||||
"name": "keyup",
|
||||
"method": "searchListener"
|
||||
}]; }
|
||||
static get style() { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; }
|
||||
}
|
||||
|
||||
export { IconSearch };
|
||||
+97
@@ -0,0 +1,97 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('icon-search', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var IconSearch = /** @class */ (function () {
|
||||
function IconSearch() {
|
||||
this.query = '';
|
||||
this.size = 'small';
|
||||
this.autofocus = 'none';
|
||||
this.showClearCtrl = false;
|
||||
}
|
||||
IconSearch.prototype.watchQuery = function () {
|
||||
this.showClearCtrl = (this.query.length > 0) ? true : false;
|
||||
};
|
||||
IconSearch.prototype.searchListener = function (ev) {
|
||||
if (ev.keyCode === 27) {
|
||||
this.handleClear();
|
||||
return;
|
||||
}
|
||||
var value = ev.target.value;
|
||||
this.hasSearched.emit(value);
|
||||
};
|
||||
IconSearch.prototype.handleClear = function () {
|
||||
this.hasSearched.emit('');
|
||||
};
|
||||
IconSearch.prototype.componentWillLoad = function () {
|
||||
this.watchQuery();
|
||||
};
|
||||
IconSearch.prototype.render = function () {
|
||||
return (h("div", { class: "search-input search-input--" + this.size }, h("input", { type: "text", placeholder: "Search icons...", value: this.query, autofocus: this.autofocus === 'autofocus' ? 'autofocus' : '' }), h("i", { class: {
|
||||
'search-input__clear': true,
|
||||
'search-input__clear--active': this.showClearCtrl,
|
||||
'ion': true,
|
||||
'ion-md-close': true
|
||||
}, onClick: this.handleClear.bind(this) })));
|
||||
};
|
||||
Object.defineProperty(IconSearch, "is", {
|
||||
get: function () { return "icon-search"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "properties", {
|
||||
get: function () {
|
||||
return {
|
||||
"autofocus": {
|
||||
"type": String,
|
||||
"attr": "autofocus"
|
||||
},
|
||||
"query": {
|
||||
"type": String,
|
||||
"attr": "query",
|
||||
"watchCallbacks": ["watchQuery"]
|
||||
},
|
||||
"showClearCtrl": {
|
||||
"state": true
|
||||
},
|
||||
"size": {
|
||||
"type": String,
|
||||
"attr": "size"
|
||||
}
|
||||
};
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "events", {
|
||||
get: function () {
|
||||
return [{
|
||||
"name": "hasSearched",
|
||||
"method": "hasSearched",
|
||||
"bubbles": true,
|
||||
"cancelable": true,
|
||||
"composed": true
|
||||
}];
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "listeners", {
|
||||
get: function () {
|
||||
return [{
|
||||
"name": "keyup",
|
||||
"method": "searchListener"
|
||||
}];
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(IconSearch, "style", {
|
||||
get: function () { return "icon-search .search-input {\n position: relative; }\n\nicon-search .search-input input {\n width: 100%;\n font-weight: 400;\n font-family: 'Eina';\n font-size: 16px;\n border: 0;\n outline: 0;\n border-radius: 6px;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n display: block;\n -webkit-appearance: none;\n vertical-align: middle; }\n\nicon-search .search-input__clear {\n -webkit-transition: background 0.3s, opacity 0.3s;\n transition: background 0.3s, opacity 0.3s;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n right: 16px;\n font-size: 14px;\n width: 22px;\n height: 22px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n color: var(--color-pale-sky);\n opacity: 0;\n background-color: var(--color-catskill-white);\n border-radius: 100px; }\n icon-search .search-input__clear--active {\n opacity: 0.8; }\n icon-search .search-input__clear--active:hover {\n opacity: 1;\n background-color: #e3e9f3; }\n\nicon-search .search-input--small .search-input__clear {\n font-size: 12px;\n width: 18px;\n height: 18px;\n background-color: #e3e9f3;\n right: 12px; }\n icon-search .search-input--small .search-input__clear--active:hover {\n background-color: #dce3f0; }\n\nicon-search .search-input:before {\n font-family: \"Ionicons\";\n content: \"\\f4a5\";\n color: var(--color-heather);\n position: absolute;\n height: 24px;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n\nicon-search .search-input--small input {\n font-size: 13px;\n line-height: 18px;\n padding: 10px;\n padding-left: 30px;\n padding-right: 30px;\n background-color: #f6f7f9;\n height: 39px;\n text-indent: 0; }\n\nicon-search .search-input--small:before {\n font-size: 18px;\n left: 10px; }\n\nicon-search .search-input--large input {\n -webkit-transition: -webkit-box-shadow 0.3s;\n transition: -webkit-box-shadow 0.3s;\n transition: box-shadow 0.3s;\n transition: box-shadow 0.3s, -webkit-box-shadow 0.3s;\n font-size: 16px;\n line-height: 22px;\n padding: 20px;\n padding-left: 50px;\n padding-right: 50px;\n background-color: white;\n -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large input:focus {\n -webkit-box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08);\n box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 1px 3px 0px rgba(0, 0, 0, 0.08); }\n\nicon-search .search-input--large:before {\n font-size: 22px;\n left: 20px; }\n\nicon-search .search-input input::-webkit-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::-ms-input-placeholder {\n color: var(--color-heather); }\n\nicon-search .search-input input::placeholder {\n color: var(--color-heather); }"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return IconSearch;
|
||||
}());
|
||||
exports.IconSearch = IconSearch;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("ms1l1l4a",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){if(27!==e.keyCode){var t=e.target.value;this.hasSearched.emit(t)}else this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px;padding-left:30px;padding-right:30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px;padding-left:50px;padding-right:50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){if(27===e.keyCode)return void this.handleClear();const t=e.target.value;this.hasSearched.emit(t)}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px;padding-left:30px;padding-right:30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px;padding-left:50px;padding-right:50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input:-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
class NotFoundPage {
|
||||
render() {
|
||||
return (h("main", null,
|
||||
h("div", { class: "container" },
|
||||
h("h1", null, "Woops! We can't find the page your looking for."),
|
||||
h("p", null,
|
||||
"Head on back to the ",
|
||||
h("stencil-route-link", { url: "/", class: "block" }, "Icons page"),
|
||||
".")),
|
||||
h("footer-bar", null)));
|
||||
}
|
||||
static get is() { return "notfound-page"; }
|
||||
static get style() { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; }
|
||||
}
|
||||
|
||||
export { NotFoundPage as NotfoundPage };
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('notfound-page', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var NotFoundPage = /** @class */ (function () {
|
||||
function NotFoundPage() {
|
||||
}
|
||||
NotFoundPage.prototype.render = function () {
|
||||
return (h("main", null, h("div", { class: "container" }, h("h1", null, "Woops! We can't find the page your looking for."), h("p", null, "Head on back to the ", h("stencil-route-link", { url: "/", class: "block" }, "Icons page"), ".")), h("footer-bar", null)));
|
||||
};
|
||||
Object.defineProperty(NotFoundPage, "is", {
|
||||
get: function () { return "notfound-page"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(NotFoundPage, "style", {
|
||||
get: function () { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return NotFoundPage;
|
||||
}());
|
||||
exports.NotfoundPage = NotFoundPage;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
class NotFoundPage {
|
||||
render() {
|
||||
return (h("main", null,
|
||||
h("div", { class: "container" },
|
||||
h("h1", null, "Woops! We can't find the page your looking for."),
|
||||
h("p", null,
|
||||
"Head on back to the ",
|
||||
h("stencil-route-link", { url: "/", class: "block" }, "Icons page"),
|
||||
".")),
|
||||
h("footer-bar", null)));
|
||||
}
|
||||
static get is() { return "notfound-page"; }
|
||||
static get style() { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; }
|
||||
}
|
||||
|
||||
export { NotFoundPage as NotfoundPage };
|
||||
@@ -0,0 +1,24 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('notfound-page', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
var NotFoundPage = /** @class */ (function () {
|
||||
function NotFoundPage() {
|
||||
}
|
||||
NotFoundPage.prototype.render = function () {
|
||||
return (h("main", null, h("div", { class: "container" }, h("h1", null, "Woops! We can't find the page your looking for."), h("p", null, "Head on back to the ", h("stencil-route-link", { url: "/", class: "block" }, "Icons page"), ".")), h("footer-bar", null)));
|
||||
};
|
||||
Object.defineProperty(NotFoundPage, "is", {
|
||||
get: function () { return "notfound-page"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(NotFoundPage, "style", {
|
||||
get: function () { return "notfound-page {\n text-align: center;\n height: 100%; }\n notfound-page h1 {\n max-width: 500px; }\n notfound-page a {\n font-weight: 600; }"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return NotFoundPage;
|
||||
}());
|
||||
exports.NotfoundPage = NotFoundPage;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+20
@@ -0,0 +1,20 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('object.js', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
function applyPolyfill(window, document) {
|
||||
"function" != typeof Object.assign && Object.defineProperty(Object, "assign", { value: function (d, f) { if (null == d)
|
||||
throw new TypeError("Cannot convert undefined or null to object"); for (var e = Object(d), b = 1; b < arguments.length; b++) {
|
||||
var a = arguments[b];
|
||||
if (null != a)
|
||||
for (var c in a)
|
||||
Object.prototype.hasOwnProperty.call(a, c) && (e[c] = a[c]);
|
||||
} return e; }, writable: !0, configurable: !0 });
|
||||
/*!
|
||||
Object.entries
|
||||
*/
|
||||
Object.entries || (Object.entries = function (c) { for (var b = Object.keys(c), a = b.length, d = Array(a); a--;)
|
||||
d[a] = [b[a], c[b[a]]]; return d; });
|
||||
}
|
||||
exports.applyPolyfill = applyPolyfill;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
function applyPolyfill(window, document) {/*!
|
||||
Object.assign
|
||||
*/
|
||||
"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(d,f){if(null==d)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(d),b=1;b<arguments.length;b++){var a=arguments[b];if(null!=a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(e[c]=a[c]);}return e},writable:!0,configurable:!0});
|
||||
/*!
|
||||
Object.entries
|
||||
*/
|
||||
Object.entries||(Object.entries=function(c){for(var b=Object.keys(c),a=b.length,d=Array(a);a--;)d[a]=[b[a],c[b[a]]];return d});}
|
||||
|
||||
export { applyPolyfill };
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
import { a as matchPath, v as isModifiedEvent, c as ActiveRouter } from './chunk-1ec105a7.js';
|
||||
|
||||
function getUrl(url, root) {
|
||||
if (url.charAt(0) == "/" && root.charAt(root.length - 1) == "/") {
|
||||
return root.slice(0, root.length - 1) + url;
|
||||
}
|
||||
return root + url;
|
||||
}
|
||||
class RouteLink {
|
||||
constructor() {
|
||||
this.unsubscribe = () => { return; };
|
||||
this.activeClass = "link-active";
|
||||
this.exact = false;
|
||||
this.strict = true;
|
||||
this.custom = "a";
|
||||
this.match = null;
|
||||
}
|
||||
componentWillLoad() {
|
||||
this.computeMatch();
|
||||
}
|
||||
computeMatch() {
|
||||
if (this.location) {
|
||||
this.match = matchPath(this.location.pathname, {
|
||||
path: this.urlMatch || this.url,
|
||||
exact: this.exact,
|
||||
strict: this.strict
|
||||
});
|
||||
}
|
||||
}
|
||||
handleClick(e) {
|
||||
if (isModifiedEvent(e) || !this.history || !this.url || !this.root) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
return this.history.push(getUrl(this.url, this.root));
|
||||
}
|
||||
render() {
|
||||
let anchorAttributes = {
|
||||
class: {
|
||||
[this.activeClass]: this.match !== null,
|
||||
},
|
||||
onClick: this.handleClick.bind(this)
|
||||
};
|
||||
if (this.anchorClass) {
|
||||
anchorAttributes.class[this.anchorClass] = true;
|
||||
}
|
||||
if (this.custom === "a") {
|
||||
anchorAttributes = Object.assign({}, anchorAttributes, { href: this.url, title: this.anchorTitle, role: this.anchorRole, tabindex: this.anchorTabIndex, "aria-haspopup": this.ariaHaspopup, id: this.anchorId, "aria-posinset": this.ariaPosinset, "aria-setsize": this.ariaSetsize, "aria-label": this.ariaLabel });
|
||||
}
|
||||
return (h(this.custom, Object.assign({}, anchorAttributes), h("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"
|
||||
},
|
||||
"anchorId": {
|
||||
"type": String,
|
||||
"attr": "anchor-id"
|
||||
},
|
||||
"anchorRole": {
|
||||
"type": String,
|
||||
"attr": "anchor-role"
|
||||
},
|
||||
"anchorTabIndex": {
|
||||
"type": String,
|
||||
"attr": "anchor-tab-index"
|
||||
},
|
||||
"anchorTitle": {
|
||||
"type": String,
|
||||
"attr": "anchor-title"
|
||||
},
|
||||
"ariaHaspopup": {
|
||||
"type": String,
|
||||
"attr": "aria-haspopup"
|
||||
},
|
||||
"ariaLabel": {
|
||||
"type": String,
|
||||
"attr": "aria-label"
|
||||
},
|
||||
"ariaPosinset": {
|
||||
"type": String,
|
||||
"attr": "aria-posinset"
|
||||
},
|
||||
"ariaSetsize": {
|
||||
"type": Number,
|
||||
"attr": "aria-setsize"
|
||||
},
|
||||
"custom": {
|
||||
"type": String,
|
||||
"attr": "custom"
|
||||
},
|
||||
"el": {
|
||||
"elementRef": true
|
||||
},
|
||||
"exact": {
|
||||
"type": Boolean,
|
||||
"attr": "exact"
|
||||
},
|
||||
"history": {
|
||||
"type": "Any",
|
||||
"attr": "history"
|
||||
},
|
||||
"location": {
|
||||
"type": "Any",
|
||||
"attr": "location",
|
||||
"watchCallbacks": ["computeMatch"]
|
||||
},
|
||||
"match": {
|
||||
"state": true
|
||||
},
|
||||
"root": {
|
||||
"type": String,
|
||||
"attr": "root"
|
||||
},
|
||||
"strict": {
|
||||
"type": Boolean,
|
||||
"attr": "strict"
|
||||
},
|
||||
"url": {
|
||||
"type": String,
|
||||
"attr": "url"
|
||||
},
|
||||
"urlMatch": {
|
||||
"type": String,
|
||||
"attr": "url-match"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
ActiveRouter.injectProps(RouteLink, [
|
||||
"history",
|
||||
"location",
|
||||
"root"
|
||||
]);
|
||||
|
||||
export { RouteLink as StencilRouteLink };
|
||||
+155
@@ -0,0 +1,155 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('stencil-route-link', ['exports', './chunk-4e065e0c.js'], function (exports, __chunk_1) {
|
||||
var h = window.DocsSite.h;
|
||||
function getUrl(url, root) {
|
||||
if (url.charAt(0) == "/" && root.charAt(root.length - 1) == "/") {
|
||||
return root.slice(0, root.length - 1) + url;
|
||||
}
|
||||
return root + url;
|
||||
}
|
||||
var RouteLink = /** @class */ (function () {
|
||||
function RouteLink() {
|
||||
this.unsubscribe = function () { return; };
|
||||
this.activeClass = "link-active";
|
||||
this.exact = false;
|
||||
this.strict = true;
|
||||
this.custom = "a";
|
||||
this.match = null;
|
||||
}
|
||||
RouteLink.prototype.componentWillLoad = function () {
|
||||
this.computeMatch();
|
||||
};
|
||||
RouteLink.prototype.computeMatch = function () {
|
||||
if (this.location) {
|
||||
this.match = __chunk_1.matchPath(this.location.pathname, {
|
||||
path: this.urlMatch || this.url,
|
||||
exact: this.exact,
|
||||
strict: this.strict
|
||||
});
|
||||
}
|
||||
};
|
||||
RouteLink.prototype.handleClick = function (e) {
|
||||
if (__chunk_1.isModifiedEvent(e) || !this.history || !this.url || !this.root) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
return this.history.push(getUrl(this.url, this.root));
|
||||
};
|
||||
RouteLink.prototype.render = function () {
|
||||
var _a;
|
||||
var anchorAttributes = {
|
||||
class: (_a = {},
|
||||
_a[this.activeClass] = this.match !== null,
|
||||
_a),
|
||||
onClick: this.handleClick.bind(this)
|
||||
};
|
||||
if (this.anchorClass) {
|
||||
anchorAttributes.class[this.anchorClass] = true;
|
||||
}
|
||||
if (this.custom === "a") {
|
||||
anchorAttributes = Object.assign({}, anchorAttributes, { href: this.url, title: this.anchorTitle, role: this.anchorRole, tabindex: this.anchorTabIndex, "aria-haspopup": this.ariaHaspopup, id: this.anchorId, "aria-posinset": this.ariaPosinset, "aria-setsize": this.ariaSetsize, "aria-label": this.ariaLabel });
|
||||
}
|
||||
return (h(this.custom, Object.assign({}, anchorAttributes), h("slot", null)));
|
||||
};
|
||||
Object.defineProperty(RouteLink, "is", {
|
||||
get: function () { return "stencil-route-link"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(RouteLink, "properties", {
|
||||
get: function () {
|
||||
return {
|
||||
"activeClass": {
|
||||
"type": String,
|
||||
"attr": "active-class"
|
||||
},
|
||||
"anchorClass": {
|
||||
"type": String,
|
||||
"attr": "anchor-class"
|
||||
},
|
||||
"anchorId": {
|
||||
"type": String,
|
||||
"attr": "anchor-id"
|
||||
},
|
||||
"anchorRole": {
|
||||
"type": String,
|
||||
"attr": "anchor-role"
|
||||
},
|
||||
"anchorTabIndex": {
|
||||
"type": String,
|
||||
"attr": "anchor-tab-index"
|
||||
},
|
||||
"anchorTitle": {
|
||||
"type": String,
|
||||
"attr": "anchor-title"
|
||||
},
|
||||
"ariaHaspopup": {
|
||||
"type": String,
|
||||
"attr": "aria-haspopup"
|
||||
},
|
||||
"ariaLabel": {
|
||||
"type": String,
|
||||
"attr": "aria-label"
|
||||
},
|
||||
"ariaPosinset": {
|
||||
"type": String,
|
||||
"attr": "aria-posinset"
|
||||
},
|
||||
"ariaSetsize": {
|
||||
"type": Number,
|
||||
"attr": "aria-setsize"
|
||||
},
|
||||
"custom": {
|
||||
"type": String,
|
||||
"attr": "custom"
|
||||
},
|
||||
"el": {
|
||||
"elementRef": true
|
||||
},
|
||||
"exact": {
|
||||
"type": Boolean,
|
||||
"attr": "exact"
|
||||
},
|
||||
"history": {
|
||||
"type": "Any",
|
||||
"attr": "history"
|
||||
},
|
||||
"location": {
|
||||
"type": "Any",
|
||||
"attr": "location",
|
||||
"watchCallbacks": ["computeMatch"]
|
||||
},
|
||||
"match": {
|
||||
"state": true
|
||||
},
|
||||
"root": {
|
||||
"type": String,
|
||||
"attr": "root"
|
||||
},
|
||||
"strict": {
|
||||
"type": Boolean,
|
||||
"attr": "strict"
|
||||
},
|
||||
"url": {
|
||||
"type": String,
|
||||
"attr": "url"
|
||||
},
|
||||
"urlMatch": {
|
||||
"type": String,
|
||||
"attr": "url-match"
|
||||
}
|
||||
};
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return RouteLink;
|
||||
}());
|
||||
__chunk_1.ActiveRouter.injectProps(RouteLink, [
|
||||
"history",
|
||||
"location",
|
||||
"root"
|
||||
]);
|
||||
exports.StencilRouteLink = RouteLink;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
import { a as matchPath, v as isModifiedEvent, c as ActiveRouter } from './chunk-1ec105a7.js';
|
||||
|
||||
function getUrl(url, root) {
|
||||
if (url.charAt(0) == "/" && root.charAt(root.length - 1) == "/") {
|
||||
return root.slice(0, root.length - 1) + url;
|
||||
}
|
||||
return root + url;
|
||||
}
|
||||
class RouteLink {
|
||||
constructor() {
|
||||
this.unsubscribe = () => { return; };
|
||||
this.activeClass = "link-active";
|
||||
this.exact = false;
|
||||
this.strict = true;
|
||||
this.custom = "a";
|
||||
this.match = null;
|
||||
}
|
||||
componentWillLoad() {
|
||||
this.computeMatch();
|
||||
}
|
||||
computeMatch() {
|
||||
if (this.location) {
|
||||
this.match = matchPath(this.location.pathname, {
|
||||
path: this.urlMatch || this.url,
|
||||
exact: this.exact,
|
||||
strict: this.strict
|
||||
});
|
||||
}
|
||||
}
|
||||
handleClick(e) {
|
||||
if (isModifiedEvent(e) || !this.history || !this.url || !this.root) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
return this.history.push(getUrl(this.url, this.root));
|
||||
}
|
||||
render() {
|
||||
let anchorAttributes = {
|
||||
class: {
|
||||
[this.activeClass]: this.match !== null,
|
||||
},
|
||||
onClick: this.handleClick.bind(this)
|
||||
};
|
||||
if (this.anchorClass) {
|
||||
anchorAttributes.class[this.anchorClass] = true;
|
||||
}
|
||||
if (this.custom === "a") {
|
||||
anchorAttributes = Object.assign({}, anchorAttributes, { href: this.url, title: this.anchorTitle, role: this.anchorRole, tabindex: this.anchorTabIndex, "aria-haspopup": this.ariaHaspopup, id: this.anchorId, "aria-posinset": this.ariaPosinset, "aria-setsize": this.ariaSetsize, "aria-label": this.ariaLabel });
|
||||
}
|
||||
return (h(this.custom, Object.assign({}, anchorAttributes), h("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"
|
||||
},
|
||||
"anchorId": {
|
||||
"type": String,
|
||||
"attr": "anchor-id"
|
||||
},
|
||||
"anchorRole": {
|
||||
"type": String,
|
||||
"attr": "anchor-role"
|
||||
},
|
||||
"anchorTabIndex": {
|
||||
"type": String,
|
||||
"attr": "anchor-tab-index"
|
||||
},
|
||||
"anchorTitle": {
|
||||
"type": String,
|
||||
"attr": "anchor-title"
|
||||
},
|
||||
"ariaHaspopup": {
|
||||
"type": String,
|
||||
"attr": "aria-haspopup"
|
||||
},
|
||||
"ariaLabel": {
|
||||
"type": String,
|
||||
"attr": "aria-label"
|
||||
},
|
||||
"ariaPosinset": {
|
||||
"type": String,
|
||||
"attr": "aria-posinset"
|
||||
},
|
||||
"ariaSetsize": {
|
||||
"type": Number,
|
||||
"attr": "aria-setsize"
|
||||
},
|
||||
"custom": {
|
||||
"type": String,
|
||||
"attr": "custom"
|
||||
},
|
||||
"el": {
|
||||
"elementRef": true
|
||||
},
|
||||
"exact": {
|
||||
"type": Boolean,
|
||||
"attr": "exact"
|
||||
},
|
||||
"history": {
|
||||
"type": "Any",
|
||||
"attr": "history"
|
||||
},
|
||||
"location": {
|
||||
"type": "Any",
|
||||
"attr": "location",
|
||||
"watchCallbacks": ["computeMatch"]
|
||||
},
|
||||
"match": {
|
||||
"state": true
|
||||
},
|
||||
"root": {
|
||||
"type": String,
|
||||
"attr": "root"
|
||||
},
|
||||
"strict": {
|
||||
"type": Boolean,
|
||||
"attr": "strict"
|
||||
},
|
||||
"url": {
|
||||
"type": String,
|
||||
"attr": "url"
|
||||
},
|
||||
"urlMatch": {
|
||||
"type": String,
|
||||
"attr": "url-match"
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
ActiveRouter.injectProps(RouteLink, [
|
||||
"history",
|
||||
"location",
|
||||
"root"
|
||||
]);
|
||||
|
||||
export { RouteLink as StencilRouteLink };
|
||||
@@ -0,0 +1,155 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('stencil-route-link', ['exports', './chunk-4e065e0c.js'], function (exports, __chunk_1) {
|
||||
var h = window.DocsSite.h;
|
||||
function getUrl(url, root) {
|
||||
if (url.charAt(0) == "/" && root.charAt(root.length - 1) == "/") {
|
||||
return root.slice(0, root.length - 1) + url;
|
||||
}
|
||||
return root + url;
|
||||
}
|
||||
var RouteLink = /** @class */ (function () {
|
||||
function RouteLink() {
|
||||
this.unsubscribe = function () { return; };
|
||||
this.activeClass = "link-active";
|
||||
this.exact = false;
|
||||
this.strict = true;
|
||||
this.custom = "a";
|
||||
this.match = null;
|
||||
}
|
||||
RouteLink.prototype.componentWillLoad = function () {
|
||||
this.computeMatch();
|
||||
};
|
||||
RouteLink.prototype.computeMatch = function () {
|
||||
if (this.location) {
|
||||
this.match = __chunk_1.matchPath(this.location.pathname, {
|
||||
path: this.urlMatch || this.url,
|
||||
exact: this.exact,
|
||||
strict: this.strict
|
||||
});
|
||||
}
|
||||
};
|
||||
RouteLink.prototype.handleClick = function (e) {
|
||||
if (__chunk_1.isModifiedEvent(e) || !this.history || !this.url || !this.root) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
return this.history.push(getUrl(this.url, this.root));
|
||||
};
|
||||
RouteLink.prototype.render = function () {
|
||||
var _a;
|
||||
var anchorAttributes = {
|
||||
class: (_a = {},
|
||||
_a[this.activeClass] = this.match !== null,
|
||||
_a),
|
||||
onClick: this.handleClick.bind(this)
|
||||
};
|
||||
if (this.anchorClass) {
|
||||
anchorAttributes.class[this.anchorClass] = true;
|
||||
}
|
||||
if (this.custom === "a") {
|
||||
anchorAttributes = Object.assign({}, anchorAttributes, { href: this.url, title: this.anchorTitle, role: this.anchorRole, tabindex: this.anchorTabIndex, "aria-haspopup": this.ariaHaspopup, id: this.anchorId, "aria-posinset": this.ariaPosinset, "aria-setsize": this.ariaSetsize, "aria-label": this.ariaLabel });
|
||||
}
|
||||
return (h(this.custom, Object.assign({}, anchorAttributes), h("slot", null)));
|
||||
};
|
||||
Object.defineProperty(RouteLink, "is", {
|
||||
get: function () { return "stencil-route-link"; },
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
Object.defineProperty(RouteLink, "properties", {
|
||||
get: function () {
|
||||
return {
|
||||
"activeClass": {
|
||||
"type": String,
|
||||
"attr": "active-class"
|
||||
},
|
||||
"anchorClass": {
|
||||
"type": String,
|
||||
"attr": "anchor-class"
|
||||
},
|
||||
"anchorId": {
|
||||
"type": String,
|
||||
"attr": "anchor-id"
|
||||
},
|
||||
"anchorRole": {
|
||||
"type": String,
|
||||
"attr": "anchor-role"
|
||||
},
|
||||
"anchorTabIndex": {
|
||||
"type": String,
|
||||
"attr": "anchor-tab-index"
|
||||
},
|
||||
"anchorTitle": {
|
||||
"type": String,
|
||||
"attr": "anchor-title"
|
||||
},
|
||||
"ariaHaspopup": {
|
||||
"type": String,
|
||||
"attr": "aria-haspopup"
|
||||
},
|
||||
"ariaLabel": {
|
||||
"type": String,
|
||||
"attr": "aria-label"
|
||||
},
|
||||
"ariaPosinset": {
|
||||
"type": String,
|
||||
"attr": "aria-posinset"
|
||||
},
|
||||
"ariaSetsize": {
|
||||
"type": Number,
|
||||
"attr": "aria-setsize"
|
||||
},
|
||||
"custom": {
|
||||
"type": String,
|
||||
"attr": "custom"
|
||||
},
|
||||
"el": {
|
||||
"elementRef": true
|
||||
},
|
||||
"exact": {
|
||||
"type": Boolean,
|
||||
"attr": "exact"
|
||||
},
|
||||
"history": {
|
||||
"type": "Any",
|
||||
"attr": "history"
|
||||
},
|
||||
"location": {
|
||||
"type": "Any",
|
||||
"attr": "location",
|
||||
"watchCallbacks": ["computeMatch"]
|
||||
},
|
||||
"match": {
|
||||
"state": true
|
||||
},
|
||||
"root": {
|
||||
"type": String,
|
||||
"attr": "root"
|
||||
},
|
||||
"strict": {
|
||||
"type": Boolean,
|
||||
"attr": "strict"
|
||||
},
|
||||
"url": {
|
||||
"type": String,
|
||||
"attr": "url"
|
||||
},
|
||||
"urlMatch": {
|
||||
"type": String,
|
||||
"attr": "url-match"
|
||||
}
|
||||
};
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
});
|
||||
return RouteLink;
|
||||
}());
|
||||
__chunk_1.ActiveRouter.injectProps(RouteLink, [
|
||||
"history",
|
||||
"location",
|
||||
"root"
|
||||
]);
|
||||
exports.StencilRouteLink = RouteLink;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('string.js', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
function applyPolyfill(window, document) {
|
||||
String.prototype.endsWith || Object.defineProperty(String.prototype, "endsWith", { writable: !0, configurable: !0, value: function (b, a) { if (void 0 === a || a > this.length)
|
||||
a = this.length; return this.substring(a - b.length, a) === b; } });
|
||||
/*!
|
||||
String.prototype.includes
|
||||
*/
|
||||
String.prototype.includes || (String.prototype.includes = function (b, a) { "number" !== typeof a && (a = 0); return a + b.length > this.length ? !1 : -1 !== this.indexOf(b, a); });
|
||||
/*!
|
||||
String.prototype.startsWith
|
||||
*/
|
||||
String.prototype.startsWith || Object.defineProperty(String.prototype, "startsWith", { writable: !0, configurable: !0, value: function (b, a) { return this.substr(!a || 0 > a ? 0 : +a, b.length) === b; } });
|
||||
}
|
||||
exports.applyPolyfill = applyPolyfill;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
function applyPolyfill(window, document) {/*!
|
||||
String.prototype.endsWith
|
||||
*/
|
||||
String.prototype.endsWith||Object.defineProperty(String.prototype,"endsWith",{writable:!0,configurable:!0,value:function(b,a){if(void 0===a||a>this.length)a=this.length;return this.substring(a-b.length,a)===b}});
|
||||
/*!
|
||||
String.prototype.includes
|
||||
*/
|
||||
String.prototype.includes||(String.prototype.includes=function(b,a){"number"!==typeof a&&(a=0);return a+b.length>this.length?!1:-1!==this.indexOf(b,a)});
|
||||
/*!
|
||||
String.prototype.startsWith
|
||||
*/
|
||||
String.prototype.startsWith||Object.defineProperty(String.prototype,"startsWith",{writable:!0,configurable:!0,value:function(b,a){return this.substr(!a||0>a?0:+a,b.length)===b}});}
|
||||
|
||||
export { applyPolyfill };
|
||||
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
+2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("t2tthfwh",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class t{constructor(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}watchQuery(){this.showClearCtrl=this.query.length>0}searchListener(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()}handleClear(){this.hasSearched.emit("")}componentWillLoad(){this.watchQuery()}render(){return e("div",{class:`search-input search-input--${this.size}`},e("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),e("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))}static get is(){return"icon-search"}static get properties(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}}static get events(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]}static get listeners(){return[{name:"keyup",method:"searchListener"}]}static get style(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"}}export{t as IconSearch};
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("t2tthfwh",["exports"],function(e){var t=window.DocsSite.h,r=function(){function e(){this.query="",this.size="small",this.autofocus="none",this.showClearCtrl=!1}return e.prototype.watchQuery=function(){this.showClearCtrl=this.query.length>0},e.prototype.searchListener=function(e){27!==e.keyCode?this.hasSearched.emit(e.target.value):this.handleClear()},e.prototype.handleClear=function(){this.hasSearched.emit("")},e.prototype.componentWillLoad=function(){this.watchQuery()},e.prototype.render=function(){return t("div",{class:"search-input search-input--"+this.size},t("input",{type:"text",placeholder:"Search icons...",value:this.query,autofocus:"autofocus"===this.autofocus?"autofocus":""}),t("i",{class:{"search-input__clear":!0,"search-input__clear--active":this.showClearCtrl,ion:!0,"ion-md-close":!0},onClick:this.handleClear.bind(this)}))},Object.defineProperty(e,"is",{get:function(){return"icon-search"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"properties",{get:function(){return{autofocus:{type:String,attr:"autofocus"},query:{type:String,attr:"query",watchCallbacks:["watchQuery"]},showClearCtrl:{state:!0},size:{type:String,attr:"size"}}},enumerable:!0,configurable:!0}),Object.defineProperty(e,"events",{get:function(){return[{name:"hasSearched",method:"hasSearched",bubbles:!0,cancelable:!0,composed:!0}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"listeners",{get:function(){return[{name:"keyup",method:"searchListener"}]},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"icon-search .search-input{position:relative}icon-search .search-input input{width:100%;font-weight:400;font-family:Eina;font-size:16px;border:0;outline:0;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;-webkit-appearance:none;vertical-align:middle}icon-search .search-input__clear{-webkit-transition:background .3s,opacity .3s;transition:background .3s,opacity .3s;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:16px;font-size:14px;width:22px;height:22px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;color:var(--color-pale-sky);opacity:0;background-color:var(--color-catskill-white);border-radius:100px}icon-search .search-input__clear--active{opacity:.8}icon-search .search-input__clear--active:hover{opacity:1;background-color:#e3e9f3}icon-search .search-input--small .search-input__clear{font-size:12px;width:18px;height:18px;background-color:#e3e9f3;right:12px}icon-search .search-input--small .search-input__clear--active:hover{background-color:#dce3f0}icon-search .search-input:before{font-family:Ionicons;content:\"\\f4a5\";color:var(--color-heather);position:absolute;height:24px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}icon-search .search-input--small input{font-size:13px;line-height:18px;padding:10px 30px;background-color:#f6f7f9;height:39px;text-indent:0}icon-search .search-input--small:before{font-size:18px;left:10px}icon-search .search-input--large input{-webkit-transition:-webkit-box-shadow .3s;transition:-webkit-box-shadow .3s;transition:box-shadow .3s;transition:box-shadow .3s,-webkit-box-shadow .3s;font-size:16px;line-height:22px;padding:20px 50px;background-color:#fff;-webkit-box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 3px 6px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large input:focus{-webkit-box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08);box-shadow:0 6px 12px 0 rgba(0,0,0,.1),0 1px 3px 0 rgba(0,0,0,.08)}icon-search .search-input--large:before{font-size:22px;left:20px}icon-search .search-input input::-webkit-input-placeholder{color:var(--color-heather)}icon-search .search-input input::-ms-input-placeholder{color:var(--color-heather)}icon-search .search-input input::placeholder{color:var(--color-heather)}"},enumerable:!0,configurable:!0}),e}();e.IconSearch=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
Vendored
+71
@@ -0,0 +1,71 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle('url.js', ['exports'], function (exports) {
|
||||
var h = window.DocsSite.h;
|
||||
function applyPolyfill(window, document) {
|
||||
(function (e) { var t = function () { try {
|
||||
return !!Symbol.iterator;
|
||||
}
|
||||
catch (e) {
|
||||
return false;
|
||||
} }; var n = t(); var r = function (e) { var t = { next: function () { var t = e.shift(); return { done: t === void 0, value: t }; } }; if (n) {
|
||||
t[Symbol.iterator] = function () { return t; };
|
||||
} return t; }; var i = function (e) { return encodeURIComponent(e).replace(/%20/g, "+"); }; var o = function (e) { return decodeURIComponent(e).replace(/\+/g, " "); }; var a = function () { var t = function (e) { Object.defineProperty(this, "_entries", { value: {} }); if (typeof e === "string") {
|
||||
if (e !== "") {
|
||||
e = e.replace(/^\?/, "");
|
||||
var n = e.split("&");
|
||||
var r;
|
||||
for (var i = 0; i < n.length; i++) {
|
||||
r = n[i].split("=");
|
||||
this.append(o(r[0]), r.length > 1 ? o(r[1]) : "");
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (e instanceof t) {
|
||||
var a = this;
|
||||
e.forEach(function (e, t) { a.append(e, t); });
|
||||
} }; var a = t.prototype; a.append = function (e, t) { if (e in this._entries) {
|
||||
this._entries[e].push(t.toString());
|
||||
}
|
||||
else {
|
||||
this._entries[e] = [t.toString()];
|
||||
} }; a.delete = function (e) { delete this._entries[e]; }; a.get = function (e) { return e in this._entries ? this._entries[e][0] : null; }; a.getAll = function (e) { return e in this._entries ? this._entries[e].slice(0) : []; }; a.has = function (e) { return e in this._entries; }; a.set = function (e, t) { this._entries[e] = [t.toString()]; }; a.forEach = function (e, t) { var n; for (var r in this._entries) {
|
||||
if (this._entries.hasOwnProperty(r)) {
|
||||
n = this._entries[r];
|
||||
for (var i = 0; i < n.length; i++) {
|
||||
e.call(t, n[i], r, this);
|
||||
}
|
||||
}
|
||||
} }; a.keys = function () { var e = []; this.forEach(function (t, n) { e.push(n); }); return r(e); }; a.values = function () { var e = []; this.forEach(function (t) { e.push(t); }); return r(e); }; a.entries = function () { var e = []; this.forEach(function (t, n) { e.push([n, t]); }); return r(e); }; if (n) {
|
||||
a[Symbol.iterator] = a.entries;
|
||||
} a.toString = function () { var e = []; this.forEach(function (t, n) { e.push(i(n) + "=" + i(t)); }); return e.join("&"); }; e.URLSearchParams = t; }; if (!("URLSearchParams" in e) || new URLSearchParams("?a=1").toString() !== "a=1") {
|
||||
a();
|
||||
} })(typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : this);
|
||||
(function (e) { var t = function () { try {
|
||||
var e = new URL("b", "http://a");
|
||||
e.pathname = "c%20d";
|
||||
return e.href === "http://a/c%20d" && e.searchParams;
|
||||
}
|
||||
catch (e) {
|
||||
return false;
|
||||
} }; var n = function () { var t = e.URL; var n = function (e, t) { if (typeof e !== "string")
|
||||
e = String(e); var n = document.implementation.createHTMLDocument(""); window.doc = n; if (t) {
|
||||
var r = n.createElement("base");
|
||||
r.href = t;
|
||||
n.head.appendChild(r);
|
||||
} var i = n.createElement("a"); i.href = e; n.body.appendChild(i); i.href = i.href; if (i.protocol === ":" || !/:/.test(i.href)) {
|
||||
throw new TypeError("Invalid URL");
|
||||
} Object.defineProperty(this, "_anchorElement", { value: i }); }; var r = n.prototype; var i = function (e) { Object.defineProperty(r, e, { get: function () { return this._anchorElement[e]; }, set: function (t) { this._anchorElement[e] = t; }, enumerable: true }); }; ["hash", "host", "hostname", "port", "protocol", "search"].forEach(function (e) { i(e); }); Object.defineProperties(r, { toString: { get: function () { var e = this; return function () { return e.href; }; } }, href: { get: function () { return this._anchorElement.href.replace(/\?$/, ""); }, set: function (e) { this._anchorElement.href = e; }, enumerable: true }, pathname: { get: function () { return this._anchorElement.pathname.replace(/(^\/?)/, "/"); }, set: function (e) { this._anchorElement.pathname = e; }, enumerable: true }, origin: { get: function () { var e = { "http:": 80, "https:": 443, "ftp:": 21 }[this._anchorElement.protocol]; var t = this._anchorElement.port != e && this._anchorElement.port !== ""; return this._anchorElement.protocol + "//" + this._anchorElement.hostname + (t ? ":" + this._anchorElement.port : ""); }, enumerable: true }, password: { get: function () { return ""; }, set: function (e) { }, enumerable: true }, username: { get: function () { return ""; }, set: function (e) { }, enumerable: true }, searchParams: { get: function () { var e = new URLSearchParams(this.search); var t = this; ["append", "delete", "set"].forEach(function (n) { var r = e[n]; e[n] = function () { r.apply(e, arguments); t.search = e.toString(); }; }); return e; }, enumerable: true } }); n.createObjectURL = function (e) { return t.createObjectURL.apply(t, arguments); }; n.revokeObjectURL = function (e) { return t.revokeObjectURL.apply(t, arguments); }; e.URL = n; }; if (!t()) {
|
||||
n();
|
||||
} if (e.location !== void 0 && !("origin" in e.location)) {
|
||||
var r = function () { return e.location.protocol + "//" + e.location.hostname + (e.location.port ? ":" + e.location.port : ""); };
|
||||
try {
|
||||
Object.defineProperty(e.location, "origin", { get: r, enumerable: true });
|
||||
}
|
||||
catch (t) {
|
||||
setInterval(function () { e.location.origin = r(); }, 100);
|
||||
}
|
||||
} })(typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : typeof self !== "undefined" ? self : this);
|
||||
}
|
||||
exports.applyPolyfill = applyPolyfill;
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
});
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const { h } = window.DocsSite;
|
||||
|
||||
function applyPolyfill(window, document) {/*!
|
||||
url-polyfill, 1.0.14
|
||||
https://github.com/lifaon74/url-polyfill
|
||||
MIT Licensed
|
||||
*/
|
||||
(function(e){var t=function(){try{return !!Symbol.iterator}catch(e){return false}};var n=t();var r=function(e){var t={next:function(){var t=e.shift();return {done:t===void 0,value:t}}};if(n){t[Symbol.iterator]=function(){return t};}return t};var i=function(e){return encodeURIComponent(e).replace(/%20/g,"+")};var o=function(e){return decodeURIComponent(e).replace(/\+/g," ")};var a=function(){var t=function(e){Object.defineProperty(this,"_entries",{value:{}});if(typeof e==="string"){if(e!==""){e=e.replace(/^\?/,"");var n=e.split("&");var r;for(var i=0;i<n.length;i++){r=n[i].split("=");this.append(o(r[0]),r.length>1?o(r[1]):"");}}}else if(e instanceof t){var a=this;e.forEach(function(e,t){a.append(e,t);});}};var a=t.prototype;a.append=function(e,t){if(e in this._entries){this._entries[e].push(t.toString());}else{this._entries[e]=[t.toString()];}};a.delete=function(e){delete this._entries[e];};a.get=function(e){return e in this._entries?this._entries[e][0]:null};a.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]};a.has=function(e){return e in this._entries};a.set=function(e,t){this._entries[e]=[t.toString()];};a.forEach=function(e,t){var n;for(var r in this._entries){if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var i=0;i<n.length;i++){e.call(t,n[i],r,this);}}}};a.keys=function(){var e=[];this.forEach(function(t,n){e.push(n);});return r(e)};a.values=function(){var e=[];this.forEach(function(t){e.push(t);});return r(e)};a.entries=function(){var e=[];this.forEach(function(t,n){e.push([n,t]);});return r(e)};if(n){a[Symbol.iterator]=a.entries;}a.toString=function(){var e=[];this.forEach(function(t,n){e.push(i(n)+"="+i(t));});return e.join("&")};e.URLSearchParams=t;};if(!("URLSearchParams"in e)||new URLSearchParams("?a=1").toString()!=="a=1"){a();}})(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:this);(function(e){var t=function(){try{var e=new URL("b","http://a");e.pathname="c%20d";return e.href==="http://a/c%20d"&&e.searchParams}catch(e){return false}};var n=function(){var t=e.URL;var n=function(e,t){if(typeof e!=="string")e=String(e);var n=document.implementation.createHTMLDocument("");window.doc=n;if(t){var r=n.createElement("base");r.href=t;n.head.appendChild(r);}var i=n.createElement("a");i.href=e;n.body.appendChild(i);i.href=i.href;if(i.protocol===":"||!/:/.test(i.href)){throw new TypeError("Invalid URL")}Object.defineProperty(this,"_anchorElement",{value:i});};var r=n.prototype;var i=function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t;},enumerable:true});};["hash","host","hostname","port","protocol","search"].forEach(function(e){i(e);});Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e;},enumerable:true},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e;},enumerable:true},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol];var t=this._anchorElement.port!=e&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:true},password:{get:function(){return ""},set:function(e){},enumerable:true},username:{get:function(){return ""},set:function(e){},enumerable:true},searchParams:{get:function(){var e=new URLSearchParams(this.search);var t=this;["append","delete","set"].forEach(function(n){var r=e[n];e[n]=function(){r.apply(e,arguments);t.search=e.toString();};});return e},enumerable:true}});n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)};n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)};e.URL=n;};if(!t()){n();}if(e.location!==void 0&&!("origin"in e.location)){var r=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:r,enumerable:true});}catch(t){setInterval(function(){e.location.origin=r();},100);}}})(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:this);
|
||||
}
|
||||
|
||||
export { applyPolyfill };
|
||||
+16984
File diff suppressed because one or more lines are too long
+15675
File diff suppressed because one or more lines are too long
+16984
File diff suppressed because one or more lines are too long
+15675
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
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("xxdq8tou",["exports"],function(e){var o=window.DocsSite.h,r=function(){function e(){}return e.prototype.render=function(){return o("footer",null,o("div",{class:"container"},o("div",{class:"footer__open-source"},o("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},o("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),o("p",null,"Released under ",o("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),o("div",{class:"footer-menu"},o("a",{href:"cheatsheet.html"},"Cheatsheet"),o("a",{href:"/v1"},"v1"),o("a",{href:"/v2"},"v2"),o("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),o("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))},Object.defineProperty(e,"is",{get:function(){return"footer-bar"},enumerable:!0,configurable:!0}),Object.defineProperty(e,"style",{get:function(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-webkit-flex:0 0 8em;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"},enumerable:!0,configurable:!0}),e}();e.FooterBar=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
||||
Vendored
-2
@@ -1,2 +0,0 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:e}=window.DocsSite;class o{render(){return e("footer",null,e("div",{class:"container"},e("div",{class:"footer__open-source"},e("a",{href:"http://ionicframework.com/",title:"IonicFramework.com",rel:"noopener"},e("img",{src:"/assets/img/ionic-os-logo.png",alt:"Ionic Open Source Logo"})),e("p",null,"Released under ",e("span",{id:"mit"},"MIT License")," | Copyright @ ",(new Date).getFullYear())),e("div",{class:"footer-menu"},e("a",{href:"cheatsheet.html"},"Cheatsheet"),e("a",{href:"/v1"},"v1"),e("a",{href:"/v2"},"v2"),e("a",{href:"https://ionicframework.com/docs/ionicons/"},"v3"),e("a",{href:"https://ionicframework.com/"},"Ionic Framework"))))}static get is(){return"footer-bar"}static get style(){return"footer-bar footer{width:100%;background:var(--color-white-lilac);-webkit-box-flex:0;-webkit-flex:0 0 8em;-ms-flex:0 0 8em;flex:0 0 8em}footer-bar .container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%;padding-top:40px;padding-bottom:40px}footer-bar img{width:50%}footer-bar p{margin-top:0;margin-bottom:0;color:var(--color-cadet-blue);font-size:10px;letter-spacing:0}footer-bar .footer-menu a{-webkit-transition:color .3s;transition:color .3s;font-size:11px;font-weight:600;text-decoration:none;color:var(--color-gull-gray)}footer-bar .footer-menu a:hover{color:var(--color-shark)}footer-bar .footer-menu a+a{margin-left:18px}\@media screen and (max-width:768px){footer-bar .container{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;text-align:center}footer-bar .footer-menu{margin-bottom:36px}}"}}export{o as FooterBar};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.DocsSite;import{a,v as i,c as s}from"./chunk-1ec105a7.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=a(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){var a,s;if(!i(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((s=this.root,"/"==(a=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+a:s+a))}render(){let a={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),t(this.custom,Object.assign({},a),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"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},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"}}}}s.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("zkf4jnqe",["exports","./chunk-4e065e0c.js"],function(t,a){var i=window.DocsSite.h,e=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=a.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){var i,e;if(!a.isModifiedEvent(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((e=this.root,"/"==(i=this.url).charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+i:e+i))},t.prototype.render=function(){var t,a={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),i(this.custom,Object.assign({},a),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"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},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}();a.ActiveRouter.injectProps(e,["history","location","root"]),t.StencilRouteLink=e,Object.defineProperty(t,"__esModule",{value:!0})});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
const{h:t}=window.DocsSite;import{a,v as i,c as s}from"./chunk-1ec105a7.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=a(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))}handleClick(t){var a,s;if(!i(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((s=this.root,"/"==(a=this.url).charAt(0)&&"/"==s.charAt(s.length-1)?s.slice(0,s.length-1)+a:s+a))}render(){let a={class:{[this.activeClass]:null!==this.match},onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),t(this.custom,Object.assign({},a),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"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},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"}}}}s.injectProps(r,["history","location","root"]);export{r as StencilRouteLink};
|
||||
@@ -0,0 +1,2 @@
|
||||
/*! Built with http://stenciljs.com */
|
||||
DocsSite.loadBundle("zkf4jnqe",["exports","./chunk-4e065e0c.js"],function(t,a){var i=window.DocsSite.h,e=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=a.matchPath(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict}))},t.prototype.handleClick=function(t){var i,e;if(!a.isModifiedEvent(t)&&this.history&&this.url&&this.root)return t.preventDefault(),this.history.push((e=this.root,"/"==(i=this.url).charAt(0)&&"/"==e.charAt(e.length-1)?e.slice(0,e.length-1)+i:e+i))},t.prototype.render=function(){var t,a={class:(t={},t[this.activeClass]=null!==this.match,t),onClick:this.handleClick.bind(this)};return this.anchorClass&&(a.class[this.anchorClass]=!0),"a"===this.custom&&(a=Object.assign({},a,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})),i(this.custom,Object.assign({},a),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"},anchorId:{type:String,attr:"anchor-id"},anchorRole:{type:String,attr:"anchor-role"},anchorTabIndex:{type:String,attr:"anchor-tab-index"},anchorTitle:{type:String,attr:"anchor-title"},ariaHaspopup:{type:String,attr:"aria-haspopup"},ariaLabel:{type:String,attr:"aria-label"},ariaPosinset:{type:String,attr:"aria-posinset"},ariaSetsize:{type:Number,attr:"aria-setsize"},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}();a.ActiveRouter.injectProps(e,["history","location","root"]),t.StencilRouteLink=e,Object.defineProperty(t,"__esModule",{value:!0})});
|
||||
+639
-646
File diff suppressed because it is too large
Load Diff
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
Binary file not shown.
+1987
-1987
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 305 KiB After Width: | Height: | Size: 305 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user