gauge-page-header 0.0.423 → 0.0.424
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-344e66fc.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.6.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('gauge-page-header.cjs.js', document.baseURI).href));
|
|
@@ -2,7 +2,7 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-fcb3f6e8.js';
|
|
|
2
2
|
export { s as setNonce } from './index-fcb3f6e8.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.6.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let n,e,t=!1,l=!1;const o={},s=n=>"object"==(n=typeof n)||"function"===n;function c(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,e,...t)=>{let l=null,o=!1,c=!1;const i=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&c?i[i.length-1].t+=l:i.push(o?r(null,l):l),c=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=r(n,null);return a.l=e,i.length>0&&(a.o=i),a},r=(n,e)=>({i:0,u:n,t:e,$:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.m,d=(n,e,t,l,o,c)=>{if(t!==l){let i=q(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=y(t),s=y(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if(i||"o"!==e[0]||"n"!==e[1]){const r=s(l);if((i||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!i||4&c||o)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else e="-"===e[2]?e.slice(3):q(z,r)?r.slice(2):r[2]+e.slice(3),t&&D.rel(n,e,t,!1),l&&D.ael(n,e,l,!1)}},$=/\s/,y=n=>n?n.split($):[],m=(n,e,t,l)=>{const s=11===e.$.nodeType&&e.$.host?e.$.host:e.$,c=n&&n.l||o,i=e.l||o;for(l in c)l in i||d(s,l,c[l],void 0,t,e.i);for(l in i)d(s,l,c[l],i[l],t,e.i)},p=(e,l,o)=>{const s=l.o[o];let c,i,r=0;if(null!==s.t)c=s.$=B.createTextNode(s.t);else{if(t||(t="svg"===s.u),c=s.$=B.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),t&&"foreignObject"===s.u&&(t=!1),m(null,s,t),null!=n&&c["s-si"]!==n&&c.classList.add(c["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)i=p(e,s,r),i&&c.appendChild(i);"svg"===s.u?t=!1:"foreignObject"===c.tagName&&(t=!0)}return c},v=(n,t,l,o,s,c)=>{let i,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=p(null,l,s),i&&(o[s].$=i,r.insertBefore(i,t)))},h=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.$;n&&n.remove()}}},w=(n,e)=>n.u===e.u,g=(n,e)=>{const l=e.$=n.$,o=n.o,s=e.o,c=e.u,i=e.t;null===i?(t="svg"===c||"foreignObject"!==c&&t,m(n,e,t),null!==o&&null!==s?((n,e,t,l)=>{let o,s=0,c=0,i=e.length-1,r=e[0],u=e[i],a=l.length-1,f=l[0],d=l[a];for(;s<=i&&c<=a;)null==r?r=e[++s]:null==u?u=e[--i]:null==f?f=l[++c]:null==d?d=l[--a]:w(r,f)?(g(r,f),r=e[++s],f=l[++c]):w(u,d)?(g(u,d),u=e[--i],d=l[--a]):w(r,d)?(g(r,d),n.insertBefore(r.$,u.$.nextSibling),r=e[++s],d=l[--a]):w(u,f)?(g(u,f),n.insertBefore(u.$,r.$),u=e[--i],f=l[++c]):(o=p(e&&e[c],t,c),f=l[++c],o&&r.$.parentNode.insertBefore(o,r.$));s>i?v(n,null==l[a+1]?null:l[a+1].$,t,l,c,a):c>a&&h(e,s,i)})(l,o,e,s):null!==s?(null!==n.t&&(l.textContent=""),v(l,null,e,s,0,s.length-1)):null!==o&&h(o,0,o.length-1),t&&"svg"===c&&(t=!1)):n.t!==i&&(l.data=i)},b=(n,e)=>{e&&!n.p&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.p=e)))},j=(n,e)=>{if(n.i|=16,!(4&n.i))return b(n,n.v),nn((()=>S(n,e)));n.i|=512},S=(n,e)=>{const t=n.h;return O(void 0,(()=>M(n,t,e)))},O=(n,e)=>k(n)?n.then(e):e(),k=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,M=async(n,e,t)=>{var l;const o=n
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},_=new Map,z="undefined"!=typeof window?window:{},B=z.document||{head:{}},D={i:0,
|
|
1
|
+
let n,e,t=!1,l=!1;const o={},s=n=>"object"==(n=typeof n)||"function"===n;function c(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const i=(n,e,...t)=>{let l=null,o=!1,c=!1;const i=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&c?i[i.length-1].t+=l:i.push(o?r(null,l):l),c=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=r(n,null);return a.l=e,i.length>0&&(a.o=i),a},r=(n,e)=>({i:0,u:n,t:e,$:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.m,d=(n,e,t,l,o,c)=>{if(t!==l){let i=q(n,e),r=e.toLowerCase();if("class"===e){const e=n.classList,o=y(t),s=y(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else if(i||"o"!==e[0]||"n"!==e[1]){const r=s(l);if((i||r&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!i||4&c||o)&&!r&&n.setAttribute(e,l=!0===l?"":l)}else e="-"===e[2]?e.slice(3):q(z,r)?r.slice(2):r[2]+e.slice(3),t&&D.rel(n,e,t,!1),l&&D.ael(n,e,l,!1)}},$=/\s/,y=n=>n?n.split($):[],m=(n,e,t,l)=>{const s=11===e.$.nodeType&&e.$.host?e.$.host:e.$,c=n&&n.l||o,i=e.l||o;for(l in c)l in i||d(s,l,c[l],void 0,t,e.i);for(l in i)d(s,l,c[l],i[l],t,e.i)},p=(e,l,o)=>{const s=l.o[o];let c,i,r=0;if(null!==s.t)c=s.$=B.createTextNode(s.t);else{if(t||(t="svg"===s.u),c=s.$=B.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),t&&"foreignObject"===s.u&&(t=!1),m(null,s,t),null!=n&&c["s-si"]!==n&&c.classList.add(c["s-si"]=n),s.o)for(r=0;r<s.o.length;++r)i=p(e,s,r),i&&c.appendChild(i);"svg"===s.u?t=!1:"foreignObject"===c.tagName&&(t=!0)}return c},v=(n,t,l,o,s,c)=>{let i,r=n;for(r.shadowRoot&&r.tagName===e&&(r=r.shadowRoot);s<=c;++s)o[s]&&(i=p(null,l,s),i&&(o[s].$=i,r.insertBefore(i,t)))},h=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.$;n&&n.remove()}}},w=(n,e)=>n.u===e.u,g=(n,e)=>{const l=e.$=n.$,o=n.o,s=e.o,c=e.u,i=e.t;null===i?(t="svg"===c||"foreignObject"!==c&&t,m(n,e,t),null!==o&&null!==s?((n,e,t,l)=>{let o,s=0,c=0,i=e.length-1,r=e[0],u=e[i],a=l.length-1,f=l[0],d=l[a];for(;s<=i&&c<=a;)null==r?r=e[++s]:null==u?u=e[--i]:null==f?f=l[++c]:null==d?d=l[--a]:w(r,f)?(g(r,f),r=e[++s],f=l[++c]):w(u,d)?(g(u,d),u=e[--i],d=l[--a]):w(r,d)?(g(r,d),n.insertBefore(r.$,u.$.nextSibling),r=e[++s],d=l[--a]):w(u,f)?(g(u,f),n.insertBefore(u.$,r.$),u=e[--i],f=l[++c]):(o=p(e&&e[c],t,c),f=l[++c],o&&r.$.parentNode.insertBefore(o,r.$));s>i?v(n,null==l[a+1]?null:l[a+1].$,t,l,c,a):c>a&&h(e,s,i)})(l,o,e,s):null!==s?(null!==n.t&&(l.textContent=""),v(l,null,e,s,0,s.length-1)):null!==o&&h(o,0,o.length-1),t&&"svg"===c&&(t=!1)):n.t!==i&&(l.data=i)},b=(n,e)=>{e&&!n.p&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.p=e)))},j=(n,e)=>{if(n.i|=16,!(4&n.i))return b(n,n.v),nn((()=>S(n,e)));n.i|=512},S=(n,e)=>{const t=n.h;return O(void 0,(()=>M(n,t,e)))},O=(n,e)=>k(n)?n.then(e):e(),k=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,M=async(n,e,t)=>{var l;const o=n.$hostElement$,s=o["s-rc"];t&&(n=>{const e=n.j,t=n.$hostElement$,l=e.i,o=((n,e)=>{var t;const l=f(e),o=_.get(l);if(n=11===n.nodeType?n:B,o)if("string"==typeof o){let e,s=a.get(n=n.head||n);if(s||a.set(n,s=new Set),!s.has(l)){{e=B.createElement("style"),e.innerHTML=o;const l=null!==(t=D.S)&&void 0!==t?t:c(B);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);C(n,e,o,t),s&&(s.map((n=>n())),o["s-rc"]=void 0);{const e=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>P(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},C=(t,l,o,s)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l,o=!1)=>{const s=t.$hostElement$,c=t.O||r(null,null),a=(n=>n&&n.u===u)(l)?l:i(null,null,l);if(e=s.tagName,o&&a.l)for(const n of Object.keys(a.l))s.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(a.l[n]=s[n]);a.u=null,a.i|=4,t.O=a,a.$=c.$=s.shadowRoot||s,n=s["s-sc"],g(c,a)})(t,l,s)}catch(n){F(n,t.$hostElement$)}return null},P=n=>{const e=n.$hostElement$,t=n.v;64&n.i||(n.i|=64,E(e),n.k(e),t||x()),n.p&&(n.p(),n.p=void 0),512&n.i&&Z((()=>j(n,!1))),n.i&=-517},x=()=>{E(B.documentElement),Z((()=>(n=>{const e=D.ce("appload",{detail:{namespace:"gauge-page-header"}});return n.dispatchEvent(e),e})(z)))},E=n=>n.classList.add("hydrated"),N=(n,e,t)=>{if(e.M){const l=Object.entries(e.M),o=n.prototype;l.map((([n,[e]])=>{(31&e||2&t&&32&e)&&Object.defineProperty(o,n,{get(){return((n,e)=>R(this).C.get(e))(0,n)},set(e){((n,e,t)=>{const l=R(n),o=l.C.get(e),c=l.i,i=l.h;t=(n=>(null==n||s(n),n))(t),8&c&&void 0!==o||t===o||Number.isNaN(o)&&Number.isNaN(t)||(l.C.set(e,t),i&&2==(18&c)&&j(l,!1))})(this,n,e)},configurable:!0,enumerable:!0})}))}return n},T=(n,e={})=>{var t;const l=[],o=e.exclude||[],s=z.customElements,i=B.head,r=i.querySelector("meta[charset]"),u=B.createElement("style"),a=[];let d,$=!0;Object.assign(D,e),D.P=new URL(e.resourcesUrl||"./",B.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],m:e[1],M:e[2],N:e[3]};t.M=e[2];const c=t.m,i=class extends HTMLElement{constructor(n){super(n),W(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),$?a.push(this):D.jmp((()=>(n=>{if(0==(1&D.i)){const e=R(n),t=e.j,l=()=>{};if(1&e.i)(null==e?void 0:e.h)||(null==e?void 0:e.T)&&e.T.then((()=>{}));else{e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){b(e,e.v=t);break}}t.M&&Object.entries(t.M).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t)=>{let l;if(0==(32&e.i)){e.i|=32;{if(l=V(t),l.then){const n=()=>{};l=await l,n()}l.isProxied||(N(l,t,2),l.isProxied=!0);const n=()=>{};e.i|=8;try{new l(e)}catch(n){F(n)}e.i&=-9,n()}if(l.style){let n=l.style;const e=f(t);if(!_.has(e)){const l=()=>{};((n,e,t)=>{let l=_.get(n);I&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,_.set(n,l)})(e,n,!!(1&t.i)),l()}}}const o=e.v,s=()=>j(e,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,e,t)}l()}})(this)))}disconnectedCallback(){D.jmp((()=>(async()=>{if(0==(1&D.i)){const n=R(this);(null==n?void 0:n.h)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return R(this).T}};t.A=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,N(i,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=D.S)&&void 0!==t?t:c(B);null!=n&&u.setAttribute("nonce",n),i.insertBefore(u,r?r.nextSibling:i.firstChild)}$=!1,a.length?a.map((n=>n.connectedCallback())):D.jmp((()=>d=setTimeout(x,30)))},A=n=>D.S=n,L=new WeakMap,R=n=>L.get(n),U=(n,e)=>L.set(e.h=n,e),W=(n,e)=>{const t={i:0,$hostElement$:n,j:e,C:new Map};return t.T=new Promise((n=>t.k=n)),n["s-p"]=[],n["s-rc"]=[],L.set(n,t)},q=(n,e)=>e in n,F=(n,e)=>(0,console.error)(n,e),H=new Map,V=n=>{const e=n.m.replace(/-/g,"_"),t=n.A,l=H.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(H.set(t,n),n[e])),F)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},_=new Map,z="undefined"!=typeof window?window:{},B=z.document||{head:{}},D={i:0,P:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},G=n=>Promise.resolve(n),I=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),J=[],K=[],Q=(n,e)=>t=>{n.push(t),l||(l=!0,e&&4&D.i?Z(Y):D.raf(Y))},X=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){F(n)}n.length=0},Y=()=>{X(J),X(K),(l=J.length>0)&&D.raf(Y)},Z=n=>G().then(n),nn=Q(K,!0);export{T as b,i as h,G as p,U as r,A as s}
|
|
@@ -1134,11 +1134,13 @@ export declare namespace JSXBase {
|
|
|
1134
1134
|
autocomplete?: string;
|
|
1135
1135
|
}
|
|
1136
1136
|
interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1137
|
+
height?: number;
|
|
1137
1138
|
media?: string;
|
|
1138
1139
|
sizes?: string;
|
|
1139
1140
|
src?: string;
|
|
1140
1141
|
srcSet?: string;
|
|
1141
1142
|
type?: string;
|
|
1143
|
+
width?: number;
|
|
1142
1144
|
}
|
|
1143
1145
|
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1144
1146
|
media?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gauge-page-header",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.424",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"format": "prettier --write src"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@stencil/core": "4.
|
|
27
|
+
"@stencil/core": "4.6.0"
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|