gauge-page-header 0.0.536 → 0.0.538
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.
- package/dist/cjs/eswat2-io_2.cjs.entry.js +1 -1
- package/dist/cjs/gauge-page-header.cjs.js +2 -2
- package/dist/cjs/{index-01adaee7.js → index-33f9ce01.js} +175 -126
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/gauge-page-header/gauge-page-header.js +3 -1
- package/dist/esm/eswat2-io_2.entry.js +1 -1
- package/dist/esm/gauge-page-header.js +3 -3
- package/dist/esm/{index-5f358efc.js → index-67ab8e1d.js} +175 -126
- package/dist/esm/loader.js +2 -2
- package/dist/gauge-page-header/gauge-page-header.esm.js +1 -1
- package/dist/gauge-page-header/p-3f670d02.js +2 -0
- package/dist/gauge-page-header/{p-75dd4145.entry.js → p-5745c6b1.entry.js} +1 -1
- package/package.json +3 -3
- package/dist/gauge-page-header/p-e4128e8d.js +0 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-33f9ce01.js');
|
|
6
6
|
|
|
7
7
|
const eswat2IoCss = "a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";
|
|
8
8
|
const Eswat2IoStyle0 = eswat2IoCss;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-33f9ce01.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
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));
|
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'gauge-page-header';
|
|
|
24
24
|
const BUILD = /* gauge-page-header */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: false, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -204,20 +204,6 @@ var unwrapErr = (result) => {
|
|
|
204
204
|
throw result.value;
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
|
-
var createTime = (fnName, tagName = "") => {
|
|
208
|
-
{
|
|
209
|
-
return () => {
|
|
210
|
-
return;
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
var uniqueTime = (key, measureText) => {
|
|
215
|
-
{
|
|
216
|
-
return () => {
|
|
217
|
-
return;
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
};
|
|
221
207
|
var h = (nodeName, vnodeData, ...children) => {
|
|
222
208
|
let child = null;
|
|
223
209
|
let key = null;
|
|
@@ -282,107 +268,6 @@ var newVNode = (tag, text) => {
|
|
|
282
268
|
};
|
|
283
269
|
var Host = {};
|
|
284
270
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
285
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
286
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
287
|
-
return propValue;
|
|
288
|
-
}
|
|
289
|
-
return propValue;
|
|
290
|
-
};
|
|
291
|
-
var emitEvent = (elm, name, opts) => {
|
|
292
|
-
const ev = plt.ce(name, opts);
|
|
293
|
-
elm.dispatchEvent(ev);
|
|
294
|
-
return ev;
|
|
295
|
-
};
|
|
296
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
297
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
298
|
-
let style = styles.get(scopeId2);
|
|
299
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
300
|
-
style = style || new CSSStyleSheet();
|
|
301
|
-
if (typeof style === "string") {
|
|
302
|
-
style = cssText;
|
|
303
|
-
} else {
|
|
304
|
-
style.replaceSync(cssText);
|
|
305
|
-
}
|
|
306
|
-
} else {
|
|
307
|
-
style = cssText;
|
|
308
|
-
}
|
|
309
|
-
styles.set(scopeId2, style);
|
|
310
|
-
};
|
|
311
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
312
|
-
var _a;
|
|
313
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
314
|
-
const style = styles.get(scopeId2);
|
|
315
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
316
|
-
if (style) {
|
|
317
|
-
if (typeof style === "string") {
|
|
318
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
319
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
320
|
-
let styleElm;
|
|
321
|
-
if (!appliedStyles) {
|
|
322
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
323
|
-
}
|
|
324
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
325
|
-
{
|
|
326
|
-
styleElm = doc.createElement("style");
|
|
327
|
-
styleElm.innerHTML = style;
|
|
328
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
329
|
-
if (nonce != null) {
|
|
330
|
-
styleElm.setAttribute("nonce", nonce);
|
|
331
|
-
}
|
|
332
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
333
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
334
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
335
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
336
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
337
|
-
} else if ("host" in styleContainerNode) {
|
|
338
|
-
if (supportsConstructableStylesheets) {
|
|
339
|
-
const stylesheet = new CSSStyleSheet();
|
|
340
|
-
stylesheet.replaceSync(style);
|
|
341
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
342
|
-
} else {
|
|
343
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
344
|
-
if (existingStyleContainer) {
|
|
345
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
346
|
-
} else {
|
|
347
|
-
styleContainerNode.prepend(styleElm);
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
} else {
|
|
351
|
-
styleContainerNode.append(styleElm);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
355
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
359
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
360
|
-
}
|
|
361
|
-
if (appliedStyles) {
|
|
362
|
-
appliedStyles.add(scopeId2);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
366
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
return scopeId2;
|
|
370
|
-
};
|
|
371
|
-
var attachStyles = (hostRef) => {
|
|
372
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
373
|
-
const elm = hostRef.$hostElement$;
|
|
374
|
-
const flags = cmpMeta.$flags$;
|
|
375
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
376
|
-
const scopeId2 = addStyle(
|
|
377
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
378
|
-
cmpMeta);
|
|
379
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
380
|
-
elm["s-sc"] = scopeId2;
|
|
381
|
-
elm.classList.add(scopeId2 + "-h");
|
|
382
|
-
}
|
|
383
|
-
endAttachStyles();
|
|
384
|
-
};
|
|
385
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
386
271
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
387
272
|
if (oldValue !== newValue) {
|
|
388
273
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -391,6 +276,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
391
276
|
const classList = elm.classList;
|
|
392
277
|
const oldClasses = parseClassList(oldValue);
|
|
393
278
|
const newClasses = parseClassList(newValue);
|
|
279
|
+
if (elm["s-si"] && newClasses.indexOf(elm["s-si"]) < 0) {
|
|
280
|
+
newClasses.push(elm["s-si"]);
|
|
281
|
+
}
|
|
394
282
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
395
283
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
396
284
|
} else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
@@ -710,6 +598,121 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
710
598
|
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
711
599
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
712
600
|
};
|
|
601
|
+
var createTime = (fnName, tagName = "") => {
|
|
602
|
+
{
|
|
603
|
+
return () => {
|
|
604
|
+
return;
|
|
605
|
+
};
|
|
606
|
+
}
|
|
607
|
+
};
|
|
608
|
+
var uniqueTime = (key, measureText) => {
|
|
609
|
+
{
|
|
610
|
+
return () => {
|
|
611
|
+
return;
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
};
|
|
615
|
+
var parsePropertyValue = (propValue, propType) => {
|
|
616
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
617
|
+
return propValue;
|
|
618
|
+
}
|
|
619
|
+
return propValue;
|
|
620
|
+
};
|
|
621
|
+
var emitEvent = (elm, name, opts) => {
|
|
622
|
+
const ev = plt.ce(name, opts);
|
|
623
|
+
elm.dispatchEvent(ev);
|
|
624
|
+
return ev;
|
|
625
|
+
};
|
|
626
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
627
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
628
|
+
let style = styles.get(scopeId2);
|
|
629
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
630
|
+
style = style || new CSSStyleSheet();
|
|
631
|
+
if (typeof style === "string") {
|
|
632
|
+
style = cssText;
|
|
633
|
+
} else {
|
|
634
|
+
style.replaceSync(cssText);
|
|
635
|
+
}
|
|
636
|
+
} else {
|
|
637
|
+
style = cssText;
|
|
638
|
+
}
|
|
639
|
+
styles.set(scopeId2, style);
|
|
640
|
+
};
|
|
641
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
642
|
+
var _a;
|
|
643
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
644
|
+
const style = styles.get(scopeId2);
|
|
645
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
646
|
+
if (style) {
|
|
647
|
+
if (typeof style === "string") {
|
|
648
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
649
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
650
|
+
let styleElm;
|
|
651
|
+
if (!appliedStyles) {
|
|
652
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
653
|
+
}
|
|
654
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
655
|
+
{
|
|
656
|
+
styleElm = doc.createElement("style");
|
|
657
|
+
styleElm.innerHTML = style;
|
|
658
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
659
|
+
if (nonce != null) {
|
|
660
|
+
styleElm.setAttribute("nonce", nonce);
|
|
661
|
+
}
|
|
662
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
663
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
664
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
665
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
666
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
667
|
+
} else if ("host" in styleContainerNode) {
|
|
668
|
+
if (supportsConstructableStylesheets) {
|
|
669
|
+
const stylesheet = new CSSStyleSheet();
|
|
670
|
+
stylesheet.replaceSync(style);
|
|
671
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
672
|
+
} else {
|
|
673
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
674
|
+
if (existingStyleContainer) {
|
|
675
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
676
|
+
} else {
|
|
677
|
+
styleContainerNode.prepend(styleElm);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
} else {
|
|
681
|
+
styleContainerNode.append(styleElm);
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
685
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
689
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
690
|
+
}
|
|
691
|
+
if (appliedStyles) {
|
|
692
|
+
appliedStyles.add(scopeId2);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
696
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
return scopeId2;
|
|
700
|
+
};
|
|
701
|
+
var attachStyles = (hostRef) => {
|
|
702
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
703
|
+
const elm = hostRef.$hostElement$;
|
|
704
|
+
const flags = cmpMeta.$flags$;
|
|
705
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
706
|
+
const scopeId2 = addStyle(
|
|
707
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
708
|
+
cmpMeta);
|
|
709
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
710
|
+
elm["s-sc"] = scopeId2;
|
|
711
|
+
elm.classList.add(scopeId2 + "-h");
|
|
712
|
+
}
|
|
713
|
+
endAttachStyles();
|
|
714
|
+
};
|
|
715
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
713
716
|
|
|
714
717
|
// src/runtime/update-component.ts
|
|
715
718
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
@@ -873,16 +876,62 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
873
876
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
874
877
|
members.map(([memberName, [memberFlags]]) => {
|
|
875
878
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
879
|
+
if ((memberFlags & 2048 /* Getter */) === 0) {
|
|
880
|
+
Object.defineProperty(prototype, memberName, {
|
|
881
|
+
get() {
|
|
882
|
+
return getValue(this, memberName);
|
|
883
|
+
},
|
|
884
|
+
set(newValue) {
|
|
885
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
886
|
+
},
|
|
887
|
+
configurable: true,
|
|
888
|
+
enumerable: true
|
|
889
|
+
});
|
|
890
|
+
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
891
|
+
{
|
|
892
|
+
Object.defineProperty(prototype, memberName, {
|
|
893
|
+
get() {
|
|
894
|
+
const ref = getHostRef(this);
|
|
895
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
896
|
+
if (!instance) return;
|
|
897
|
+
return instance[memberName];
|
|
898
|
+
},
|
|
899
|
+
configurable: true,
|
|
900
|
+
enumerable: true
|
|
901
|
+
});
|
|
902
|
+
}
|
|
903
|
+
if (memberFlags & 4096 /* Setter */) {
|
|
904
|
+
const origSetter = Object.getOwnPropertyDescriptor(prototype, memberName).set;
|
|
905
|
+
Object.defineProperty(prototype, memberName, {
|
|
906
|
+
set(newValue) {
|
|
907
|
+
const ref = getHostRef(this);
|
|
908
|
+
if (origSetter) {
|
|
909
|
+
const currentValue = ref.$hostElement$[memberName];
|
|
910
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
911
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
912
|
+
}
|
|
913
|
+
origSetter.apply(this, [parsePropertyValue(newValue)]);
|
|
914
|
+
setValue(this, memberName, ref.$hostElement$[memberName], cmpMeta);
|
|
915
|
+
return;
|
|
916
|
+
}
|
|
917
|
+
if (!ref) return;
|
|
918
|
+
const setterSetVal = () => {
|
|
919
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
920
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
921
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
922
|
+
}
|
|
923
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue);
|
|
924
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
925
|
+
};
|
|
926
|
+
if (ref.$lazyInstance$) {
|
|
927
|
+
setterSetVal();
|
|
928
|
+
} else {
|
|
929
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
});
|
|
933
|
+
}
|
|
934
|
+
}
|
|
886
935
|
}
|
|
887
936
|
});
|
|
888
937
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-33f9ce01.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-67ab8e1d.js';
|
|
2
2
|
|
|
3
3
|
const eswat2IoCss = "a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";
|
|
4
4
|
const Eswat2IoStyle0 = eswat2IoCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-67ab8e1d.js';
|
|
2
|
+
export { s as setNonce } from './index-67ab8e1d.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'gauge-page-header';
|
|
|
2
2
|
const BUILD = /* gauge-page-header */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: false, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: false, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -182,20 +182,6 @@ var unwrapErr = (result) => {
|
|
|
182
182
|
throw result.value;
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
|
-
var createTime = (fnName, tagName = "") => {
|
|
186
|
-
{
|
|
187
|
-
return () => {
|
|
188
|
-
return;
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
var uniqueTime = (key, measureText) => {
|
|
193
|
-
{
|
|
194
|
-
return () => {
|
|
195
|
-
return;
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
185
|
var h = (nodeName, vnodeData, ...children) => {
|
|
200
186
|
let child = null;
|
|
201
187
|
let key = null;
|
|
@@ -260,107 +246,6 @@ var newVNode = (tag, text) => {
|
|
|
260
246
|
};
|
|
261
247
|
var Host = {};
|
|
262
248
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
263
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
264
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
265
|
-
return propValue;
|
|
266
|
-
}
|
|
267
|
-
return propValue;
|
|
268
|
-
};
|
|
269
|
-
var emitEvent = (elm, name, opts) => {
|
|
270
|
-
const ev = plt.ce(name, opts);
|
|
271
|
-
elm.dispatchEvent(ev);
|
|
272
|
-
return ev;
|
|
273
|
-
};
|
|
274
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
275
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
276
|
-
let style = styles.get(scopeId2);
|
|
277
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
278
|
-
style = style || new CSSStyleSheet();
|
|
279
|
-
if (typeof style === "string") {
|
|
280
|
-
style = cssText;
|
|
281
|
-
} else {
|
|
282
|
-
style.replaceSync(cssText);
|
|
283
|
-
}
|
|
284
|
-
} else {
|
|
285
|
-
style = cssText;
|
|
286
|
-
}
|
|
287
|
-
styles.set(scopeId2, style);
|
|
288
|
-
};
|
|
289
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
290
|
-
var _a;
|
|
291
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
292
|
-
const style = styles.get(scopeId2);
|
|
293
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
294
|
-
if (style) {
|
|
295
|
-
if (typeof style === "string") {
|
|
296
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
297
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
298
|
-
let styleElm;
|
|
299
|
-
if (!appliedStyles) {
|
|
300
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
301
|
-
}
|
|
302
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
303
|
-
{
|
|
304
|
-
styleElm = doc.createElement("style");
|
|
305
|
-
styleElm.innerHTML = style;
|
|
306
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
307
|
-
if (nonce != null) {
|
|
308
|
-
styleElm.setAttribute("nonce", nonce);
|
|
309
|
-
}
|
|
310
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
311
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
312
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
313
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
314
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
315
|
-
} else if ("host" in styleContainerNode) {
|
|
316
|
-
if (supportsConstructableStylesheets) {
|
|
317
|
-
const stylesheet = new CSSStyleSheet();
|
|
318
|
-
stylesheet.replaceSync(style);
|
|
319
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
320
|
-
} else {
|
|
321
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
322
|
-
if (existingStyleContainer) {
|
|
323
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
324
|
-
} else {
|
|
325
|
-
styleContainerNode.prepend(styleElm);
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
} else {
|
|
329
|
-
styleContainerNode.append(styleElm);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
333
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
337
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
338
|
-
}
|
|
339
|
-
if (appliedStyles) {
|
|
340
|
-
appliedStyles.add(scopeId2);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
344
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
return scopeId2;
|
|
348
|
-
};
|
|
349
|
-
var attachStyles = (hostRef) => {
|
|
350
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
351
|
-
const elm = hostRef.$hostElement$;
|
|
352
|
-
const flags = cmpMeta.$flags$;
|
|
353
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
354
|
-
const scopeId2 = addStyle(
|
|
355
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
356
|
-
cmpMeta);
|
|
357
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
358
|
-
elm["s-sc"] = scopeId2;
|
|
359
|
-
elm.classList.add(scopeId2 + "-h");
|
|
360
|
-
}
|
|
361
|
-
endAttachStyles();
|
|
362
|
-
};
|
|
363
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
364
249
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
365
250
|
if (oldValue !== newValue) {
|
|
366
251
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -369,6 +254,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
369
254
|
const classList = elm.classList;
|
|
370
255
|
const oldClasses = parseClassList(oldValue);
|
|
371
256
|
const newClasses = parseClassList(newValue);
|
|
257
|
+
if (elm["s-si"] && newClasses.indexOf(elm["s-si"]) < 0) {
|
|
258
|
+
newClasses.push(elm["s-si"]);
|
|
259
|
+
}
|
|
372
260
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
373
261
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
374
262
|
} else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
|
|
@@ -688,6 +576,121 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
688
576
|
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
689
577
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
690
578
|
};
|
|
579
|
+
var createTime = (fnName, tagName = "") => {
|
|
580
|
+
{
|
|
581
|
+
return () => {
|
|
582
|
+
return;
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
var uniqueTime = (key, measureText) => {
|
|
587
|
+
{
|
|
588
|
+
return () => {
|
|
589
|
+
return;
|
|
590
|
+
};
|
|
591
|
+
}
|
|
592
|
+
};
|
|
593
|
+
var parsePropertyValue = (propValue, propType) => {
|
|
594
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
595
|
+
return propValue;
|
|
596
|
+
}
|
|
597
|
+
return propValue;
|
|
598
|
+
};
|
|
599
|
+
var emitEvent = (elm, name, opts) => {
|
|
600
|
+
const ev = plt.ce(name, opts);
|
|
601
|
+
elm.dispatchEvent(ev);
|
|
602
|
+
return ev;
|
|
603
|
+
};
|
|
604
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
605
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
606
|
+
let style = styles.get(scopeId2);
|
|
607
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
608
|
+
style = style || new CSSStyleSheet();
|
|
609
|
+
if (typeof style === "string") {
|
|
610
|
+
style = cssText;
|
|
611
|
+
} else {
|
|
612
|
+
style.replaceSync(cssText);
|
|
613
|
+
}
|
|
614
|
+
} else {
|
|
615
|
+
style = cssText;
|
|
616
|
+
}
|
|
617
|
+
styles.set(scopeId2, style);
|
|
618
|
+
};
|
|
619
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
620
|
+
var _a;
|
|
621
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
622
|
+
const style = styles.get(scopeId2);
|
|
623
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
624
|
+
if (style) {
|
|
625
|
+
if (typeof style === "string") {
|
|
626
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
627
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
628
|
+
let styleElm;
|
|
629
|
+
if (!appliedStyles) {
|
|
630
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
631
|
+
}
|
|
632
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
633
|
+
{
|
|
634
|
+
styleElm = doc.createElement("style");
|
|
635
|
+
styleElm.innerHTML = style;
|
|
636
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
637
|
+
if (nonce != null) {
|
|
638
|
+
styleElm.setAttribute("nonce", nonce);
|
|
639
|
+
}
|
|
640
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
641
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
642
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
643
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
644
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
645
|
+
} else if ("host" in styleContainerNode) {
|
|
646
|
+
if (supportsConstructableStylesheets) {
|
|
647
|
+
const stylesheet = new CSSStyleSheet();
|
|
648
|
+
stylesheet.replaceSync(style);
|
|
649
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
650
|
+
} else {
|
|
651
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
652
|
+
if (existingStyleContainer) {
|
|
653
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
654
|
+
} else {
|
|
655
|
+
styleContainerNode.prepend(styleElm);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
} else {
|
|
659
|
+
styleContainerNode.append(styleElm);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
663
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
667
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
668
|
+
}
|
|
669
|
+
if (appliedStyles) {
|
|
670
|
+
appliedStyles.add(scopeId2);
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
674
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
return scopeId2;
|
|
678
|
+
};
|
|
679
|
+
var attachStyles = (hostRef) => {
|
|
680
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
681
|
+
const elm = hostRef.$hostElement$;
|
|
682
|
+
const flags = cmpMeta.$flags$;
|
|
683
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
684
|
+
const scopeId2 = addStyle(
|
|
685
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
686
|
+
cmpMeta);
|
|
687
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
688
|
+
elm["s-sc"] = scopeId2;
|
|
689
|
+
elm.classList.add(scopeId2 + "-h");
|
|
690
|
+
}
|
|
691
|
+
endAttachStyles();
|
|
692
|
+
};
|
|
693
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
691
694
|
|
|
692
695
|
// src/runtime/update-component.ts
|
|
693
696
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
@@ -851,16 +854,62 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
851
854
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
852
855
|
members.map(([memberName, [memberFlags]]) => {
|
|
853
856
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
857
|
+
if ((memberFlags & 2048 /* Getter */) === 0) {
|
|
858
|
+
Object.defineProperty(prototype, memberName, {
|
|
859
|
+
get() {
|
|
860
|
+
return getValue(this, memberName);
|
|
861
|
+
},
|
|
862
|
+
set(newValue) {
|
|
863
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
864
|
+
},
|
|
865
|
+
configurable: true,
|
|
866
|
+
enumerable: true
|
|
867
|
+
});
|
|
868
|
+
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
869
|
+
{
|
|
870
|
+
Object.defineProperty(prototype, memberName, {
|
|
871
|
+
get() {
|
|
872
|
+
const ref = getHostRef(this);
|
|
873
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
874
|
+
if (!instance) return;
|
|
875
|
+
return instance[memberName];
|
|
876
|
+
},
|
|
877
|
+
configurable: true,
|
|
878
|
+
enumerable: true
|
|
879
|
+
});
|
|
880
|
+
}
|
|
881
|
+
if (memberFlags & 4096 /* Setter */) {
|
|
882
|
+
const origSetter = Object.getOwnPropertyDescriptor(prototype, memberName).set;
|
|
883
|
+
Object.defineProperty(prototype, memberName, {
|
|
884
|
+
set(newValue) {
|
|
885
|
+
const ref = getHostRef(this);
|
|
886
|
+
if (origSetter) {
|
|
887
|
+
const currentValue = ref.$hostElement$[memberName];
|
|
888
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
889
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
890
|
+
}
|
|
891
|
+
origSetter.apply(this, [parsePropertyValue(newValue)]);
|
|
892
|
+
setValue(this, memberName, ref.$hostElement$[memberName], cmpMeta);
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
if (!ref) return;
|
|
896
|
+
const setterSetVal = () => {
|
|
897
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
898
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
899
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
900
|
+
}
|
|
901
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue);
|
|
902
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
903
|
+
};
|
|
904
|
+
if (ref.$lazyInstance$) {
|
|
905
|
+
setterSetVal();
|
|
906
|
+
} else {
|
|
907
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
});
|
|
911
|
+
}
|
|
912
|
+
}
|
|
864
913
|
}
|
|
865
914
|
});
|
|
866
915
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-67ab8e1d.js';
|
|
2
|
+
export { s as setNonce } from './index-67ab8e1d.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-
|
|
1
|
+
import{p as e,b as a}from"./p-3f670d02.js";export{s as setNonce}from"./p-3f670d02.js";import{g as o}from"./p-e1255160.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),e(s)})().then((async e=>(await o(),a([["p-5745c6b1",[[1,"gauge-page-header",{vehicleInfo:[16]}],[1,"eswat2-io"]]]],e))));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,d=[],y=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&f.o?v(b):f.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(d),$(y),(m=d.length>0)&&f.raf(b)},v=e=>h().then(e),g=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>k,unwrap:()=>x,unwrapErr:()=>P});var k=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>k(e))):k(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let o=null,l=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!j(o))&&(o+=""),s&&r?i[i.length-1].i+=o:i.push(s?H(null,o):o),r=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=H(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=l,u},H=(e,t)=>({o:0,m:e,i:t,$:null,h:null,u:null,p:null}),R={},T=(e,t,n,o,s,r)=>{if(n!==o){let i=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=N(n),s=N(o);e["s-si"]&&s.indexOf(e["s-si"])<0&&s.push(e["s-si"]),t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if(i||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((i||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(U);t=t.replace(F,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},D=/\s/,N=e=>e?e.split(D):[],U="Capture",F=RegExp(U+"$"),L=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||S,s=t.u||S;for(const e of W(Object.keys(l)))e in s||T(o,e,l[e],void 0,n,t.o);for(const e of W(Object.keys(s)))T(o,e,l[e],s[e],n,t.o)};function W(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=(e,t,n)=>{const o=t.h[n];let l,s,r=0;if(null!==o.i)l=o.$=a.createTextNode(o.i);else{if(q||(q="svg"===o.m),l=o.$=a.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),q&&"foreignObject"===o.m&&(q=!1),L(null,o,q),l.getRootNode().querySelector("body"),o.h)for(r=0;r<o.h.length;++r)s=G(e,o,r),s&&l.appendChild(s);"svg"===o.m?q=!1:"foreignObject"===l.tagName&&(q=!0)}return l["s-hn"]=M,l},V=(e,t,n,o,l,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=G(null,n,l),r&&(o[l].$=r,I(i,r,t)))},_=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;e&&e.remove()}}},z=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),B=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,r=t.m,i=t.i;null===i?(L(e,t,q="svg"===r||"foreignObject"!==r&&q),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],m=o.length-1,d=o[0],y=o[m];for(;i<=f&&c<=m;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==d)d=o[++c];else if(null==y)y=o[--m];else if(z(h,d,l))B(h,d,l),h=t[++i],d=o[++c];else if(z(p,y,l))B(p,y,l),p=t[--f],y=o[--m];else if(z(h,y,l))B(h,y,l),I(e,h.$,p.$.nextSibling),h=t[++i],y=o[--m];else if(z(p,d,l))B(p,d,l),I(e,p.$,h.$),p=t[--f],d=o[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===d.p){u=a;break}u>=0?(r=t[u],r.m!==d.m?s=G(t&&t[c],n,u):(B(r,d,l),t[u]=void 0,s=r.$),d=o[++c]):(s=G(t&&t[c],n,c),d=o[++c]),s&&I(h.$.parentNode,s,h.$)}i>f?V(e,null==o[m+1]?null:o[m+1].$,n,o,c,m):c>m&&_(t,i,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),V(o,null,t,s,0,s.length-1)):!n&&null!==l&&_(l,0,l.length-1),q&&"svg"===r&&(q=!1)):e.i!==i&&(o.data=i)},I=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=e=>(null==e||j(e),e),K=new WeakMap,Q=e=>"sc-"+e.v,X=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Y=(e,t)=>{if(e.o|=16,!(4&e.o))return X(e,e.j),g((()=>Z(e,t)));e.o|=512},Z=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);return ee(void 0,(()=>ne(e,n,t)))},ee=(e,t)=>te(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),te=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ne=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=Q(t),l=i.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,r=K.get(e=e.head||e);if(r||K.set(e,r=new Set),!r.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=f.k)?n:O(a);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(p){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);oe(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},oe=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.O,s=e.C||H(null,null),r=(e=>e&&e.m===R)(t)?t:A(null,null,t);if(M=o.tagName,n&&r.u)for(const e of Object.keys(r.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=o[e]);r.m=null,r.o|=4,e.C=r,r.$=s.$=o.shadowRoot||o,B(s,r,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},le=e=>{const t=e.$hostElement$,n=e.j;64&e.o||(e.o|=64,re(t),e.M(t),n||se()),e.S&&(e.S(),e.S=void 0),512&e.o&&v((()=>Y(e,!1))),e.o&=-517},se=()=>{re(a.documentElement),v((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"gauge-page-header"}});return e.dispatchEvent(t),t})(u)))},re=e=>e.classList.add("hydrated"),ie=(e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.P.get(t),i=s.o,c=s.t;o=J(o),8&i&&void 0!==r||o===r||Number.isNaN(r)&&Number.isNaN(o)||(s.P.set(t,o),c&&2==(18&i)&&Y(s,!1))},ce=(e,t,o)=>{var l;const s=e.prototype;return t.A&&Object.entries(null!=(l=t.A)?l:{}).map((([e,[l]])=>{if(31&l||2&o&&32&l)if(2048&l){if(1&o&&2048&l&&(Object.defineProperty(s,e,{get(){const t=n(this),o=t?t.t:s;if(o)return o[e]},configurable:!0,enumerable:!0}),4096&l)){const o=Object.getOwnPropertyDescriptor(s,e).set;Object.defineProperty(s,e,{set(l){const s=n(this);if(o){const n=s.$hostElement$[e];return!s.P.get(e)&&n&&s.P.set(e,n),o.call(this,J(l)),void ie(this,e,s.$hostElement$[e],t)}if(!s)return;const r=()=>{const n=s.t[e];!s.P.get(e)&&n&&s.P.set(e,n),s.t[e]=J(l),ie(this,e,s.t[e],t)};s.t?r():s.H.then((()=>r()))}})}}else Object.defineProperty(s,e,{get(){return((e,t)=>n(this).P.get(t))(0,e)},set(n){ie(this,e,n,t)},configurable:!0,enumerable:!0})})),e},ue=(e,o={})=>{var l;const h=[],m=o.exclude||[],d=u.customElements,y=a.head,w=y.querySelector("meta[charset]"),$=a.createElement("style"),b=[];let v,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],v:o[1],A:o[2],R:o[3]};4&l.o&&(S=!0),l.A=o[2];const c=l.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,O:n,P:new Map};o.H=new Promise((e=>o.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),v&&(clearTimeout(v),v=null),g?b.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.O,l=()=>{};if(1&t.o)(null==t?void 0:t.t)||(null==t?void 0:t.H)&&t.H.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}o.A&&Object.entries(o.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.T){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.T;if(!n)return;const o=r.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.v}#${t.D}" was not found`);o.isProxied||(ce(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=Q(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>Y(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.H)&&e.H.then((()=>{}))}})()))}componentOnReady(){return n(this).H}};l.T=e[0],m.includes(c)||d.get(c)||(h.push(c),d.define(c,ce(u,l,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(l=f.k)?l:O(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,w?w.nextSibling:y.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):f.jmp((()=>v=setTimeout(se,30)))},ae=e=>f.k=e;export{ue as b,A as h,h as p,o as r,ae as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-
|
|
1
|
+
import{r as e,h as a}from"./p-3f670d02.js";const i="eswat2",r=class{constructor(a){e(this,a)}render(){return a("a",{key:"19b3032cee637162468f46d0adee024409fe18bf",href:"https://eswat2.dev","aria-label":i,title:i},(({hex:e="currentColor",size:i=24})=>a("svg",{width:i,height:i,viewBox:"0 0 24 24"},a("g",{fill:e},a("path",{d:"M8.35,3C9.53,2.83 10.78,4.12 11.14,5.9C11.5,7.67 10.85,9.25\n 9.67,9.43C8.5,9.61 7.24,8.32 6.87,6.54C6.5,4.77 7.17,3.19\n 8.35,3M15.5,3C16.69,3.19 17.35,4.77 17,6.54C16.62,8.32 15.37,9.61\n 14.19,9.43C13,9.25 12.35,7.67 12.72,5.9C13.08,4.12 14.33,2.83\n 15.5,3M3,7.6C4.14,7.11 5.69,8 6.5,9.55C7.26,11.13 7,12.79\n 5.87,13.28C4.74,13.77 3.2,12.89 2.41,11.32C1.62,9.75 1.9,8.08\n 3,7.6M21,7.6C22.1,8.08 22.38,9.75 21.59,11.32C20.8,12.89 19.26,13.77\n 18.13,13.28C17,12.79 16.74,11.13 17.5,9.55C18.31,8 19.86,7.11\n 21,7.6M19.33,18.38C19.37,19.32 18.65,20.36 17.79,20.75C16,21.57\n 13.88,19.87 11.89,19.87C9.9,19.87 7.76,21.64 6,20.75C5,20.26 4.31,18.96\n 4.44,17.88C4.62,16.39 6.41,15.59 7.47,14.5C8.88,13.09 9.88,10.44\n 11.89,10.44C13.89,10.44 14.95,13.05 16.3,14.5C17.41,15.72 19.26,16.75\n 19.33,18.38Z"})),a("path",{d:"M0 0h24v24H0z",fill:"none"})))({}))}};r.style="a{position:absolute;top:8px;right:8px;color:var(--clrs-gray)}:hover{fill:var(--clrs-navy)}";const s=e=>{if(navigator.clipboard)try{navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy!",e)}},c=class{constructor(a){e(this,a),this.vehicleInfo=void 0}yearMakeModel(){const{ModelYear:e,Make:a,Model:i}=this.vehicleInfo||{ModelYear:2020,Make:"-",Model:"-"};return`${e} ${a} ${i}`}isCertified(){const{IsCertified:e}=this.vehicleInfo||{IsCertified:!1};return e}isRetail(){const{RetailWholesale:e}=this.vehicleInfo||{RetailWholesale:"R"};return"R"===e}isNew(){const{NewUsed:e}=this.vehicleInfo||{NewUsed:"N"};return"N"===e}stockNumber(){const{StockNumber:e}=this.vehicleInfo||{StockNumber:"-"};return e}vin(){const{Vin:e}=this.vehicleInfo||{Vin:"-"};return e}daysInInventory(){const{DaysInInventory:e}=this.vehicleInfo||{DaysInInventory:0};return`${e} Days`}mileage(){const{Odometer:e}=this.vehicleInfo||{Odometer:0};return`${Intl.NumberFormat().format(e)} mi`}body(){const{BodyDescription:e}=this.vehicleInfo||{BodyDescription:"-"};return e}exteriorColor(){const{ExteriorColor:e}=this.vehicleInfo||{ExteriorColor:"-"};return e}interiorColor(){const{InteriorColor:e}=this.vehicleInfo||{InteriorColor:"-"};return e}driveTrain(){const{DriveTrainType:e}=this.vehicleInfo||{DriveTrainType:"-"};return e}engine(){const{EngineDescription:e}=this.vehicleInfo||{EngineDescription:"-"};return e}transmission(){const{TransmissionDescription:e}=this.vehicleInfo||{TransmissionDescription:"- "};return e}render(){var e="";return this.isNew()||(e=this.isCertified()?a("span",{class:"certified badge"},a("span",{role:"label"},"Certified")):a("span",{class:"not-certified badge"},a("span",{role:"label"},"Not Certified"))),[a("div",{key:"0d991decd8f3decc5fed001f20690eaef654eeea",class:"gauge-page-header"},a("eswat2-io",{key:"79c472d52bd91b87dddbbaaa853c087b561cf5ba"}),a("div",{key:"f8525320a5f1e2f9b155d62667d4de85ed290032",class:"year-make-model-container",onClick:()=>s(this.yearMakeModel()),title:"Click to Copy Year/Make/Model"},a("h1",{key:"185f78d4dbbbbb20850a520d4fd54acb18f25f9d",id:"year-make-model-header"},this.yearMakeModel()),a("span",{key:"960fdd7f015ad694464372f051ef1726c8a71ed2",class:"badge-set-container"},e,this.isRetail()?a("span",{class:"retail badge"},a("span",{role:"label"},"Retail")):a("span",{class:"wholesale badge"},a("span",{role:"label"},"Wholesale")))),a("div",{key:"0ae3adab71009085cb486c1c65dcdb4aaaa55ce6",class:"vehicle-identifier-info-container",onClick:()=>s(this.vin()),title:"Click to Copy VIN"},a("h4",{key:"a30f061c401340b209fca53ac65d36db175eb45c",id:"vehicle-identifier-info-header"},a("span",{key:"e94b11522a40108e0b99c480eff9d9e78aec470b",class:"vehicle-info-header-segment capitalize"},this.stockNumber()),a("span",{key:"dadb1cfd52b87784a948f45f77f13963a35707ed",class:"vehicle-info-header-segment capitalize"},this.vin()),a("span",{key:"139955772a602590e5bbcec354b894921e5a592b",class:"vehicle-info-header-segment"},this.daysInInventory()),a("span",{key:"e2f7c14a8f5c1cad99e7821c20d5d053fa2abf6e",class:"vehicle-info-header-segment"},this.mileage()))),a("div",{key:"07394b4a1806ab3ccc9c2c454a0c4d9bf49d0413",class:"vehicle-data-container"},a("div",{key:"c8f377e4884b0cae8a32cdd3ceecd653c2372bfb",class:"vehicle-info-segment"},a("h4",{key:"9e2f6f3220f3b7d58993be4c085dd6c2d83bc5c4",class:"segment-heading"},"Body"),a("p",{key:"f738ba1e1c74287c20b1db6efc3b7fd4dc0eae6d",class:"segment-value"},this.body())),a("div",{key:"60c883e9d2a202f565e55de9de7f1ecbfd6883b1",class:"vehicle-info-segment"},a("h4",{key:"b764d8ad6418a96eb7ec6f20d6e8e497da48e7fa",class:"segment-heading"},"Color"),a("p",{key:"3b77c23c478c96e77c0e07ade7272077503e9f82",class:"segment-value"},this.exteriorColor())),a("div",{key:"4a705ee722143b8660eb839f71f39921c22672a4",class:"vehicle-info-segment"},a("h4",{key:"612d6888563cb44fc88e6fea22a784f64935f9e0",class:"segment-heading"},"Int. Color"),a("p",{key:"9b51b24a0ebc2b4b3200e9a554047e4d3e9054d4",class:"segment-value"},this.interiorColor())),a("div",{key:"b68e17bd9efdb425f813ee9b94d2baf1e76ed1c0",class:"vehicle-info-segment"},a("h4",{key:"417d55c72032105115ece2f3aefe076be95ea80b",class:"segment-heading"},"Drive Train"),a("p",{key:"3b6ea726618ed8f84a39ffea0c75a85864f196a1",class:"segment-value"},this.driveTrain())),a("div",{key:"f12082fe6244ecc9f6cc3c02f9b035b1498fa04a",class:"vehicle-info-segment"},a("h4",{key:"27b4d35b5aed5054f6e7d68ee925425b7035bfb8",class:"segment-heading"},"Engine"),a("p",{key:"b8e4ca5e24ccdd1394ac4e149ae2c0771fca2ab7",class:"segment-value"},this.engine())),a("div",{key:"4abfe41c388cd113421c5eec4d444aa6db3f5676",class:"vehicle-info-segment"},a("h4",{key:"04d369b5fd240d3f38716379d46fd8b6103e32f4",class:"segment-heading"},"Transmission"),a("p",{key:"421e0ac28eabf1d2bd575c4b12e9f48b8342f892",class:"segment-value"},this.transmission()))))]}};c.style=":host{--clrs-navy:#001f3f;--clrs-blue:#0074d9;--clrs-aqua:#7fdbff;--clrs-teal:#39cccc;--clrs-olive:#3d9970;--clrs-green:#2ecc40;--clrs-lime:#01ff70;--clrs-yellow:#ffdc00;--clrs-orange:#ff851b;--clrs-red:#ff4136;--clrs-maroon:#85144b;--clrs-fuchsia:#f012be;--clrs-purple:#b10dc9;--clrs-black:#111111;--clrs-gray:#aaaaaa;--clrs-silver:#dddddd;--clrs-bada55:#bada55;--clrs-slate:#708090;--clrs-slate4:#4e5964;--clrs-white:#ffffff}.gauge-page-header{padding:0 5px;display:flex;flex-direction:column;color:var(--clrs-navy)}.gauge-page-header *{font-family:'Roboto'}.gauge-page-header .year-make-model-container{height:35px;display:flex;align-items:center}.gauge-page-header #year-make-model-header{font-size:32px;font-weight:500;margin-left:0}.gauge-page-header .vehicle-identifier-info-container{height:30px;margin-bottom:5px;}.gauge-page-header #vehicle-identifier-info-header{font-weight:400;margin-top:8px}.gauge-page-header .vehicle-info-header-segment{margin-right:1em}.gauge-page-header .vehicle-info-header-segment.capitalize{text-transform:uppercase}.gauge-page-header .vehicle-info-header-segment:not(:last-child):after{padding-left:1em;content:'|'}.gauge-page-header .vehicle-info-segment{float:left;margin-right:30px;font-size:14px}.gauge-page-header .vehicle-data-container{display:flex;flex-direction:row}.gauge-page-header .segment-heading{color:var(--clrs-slate);font-size:14px;font-weight:400;margin-bottom:4px}.gauge-page-header .segment-value{margin-top:0;font-weight:400}.gauge-page-header .badge-set-container{display:flex;padding-left:8px}.gauge-page-header .badge{display:flex;align-items:center;justify-content:center;margin-left:8px;padding:3px 10px;font-size:12px;border-radius:1em;font-weight:600;border:solid 1px;}.gauge-page-header .badge.certified{background-color:#f9fffb;border-color:#5ebb47}.gauge-page-header .badge.certified [role='label']{color:#008629}.gauge-page-header .badge.not-certified{border-color:#46576f}.gauge-page-header .badge.not-certified [role='label']{color:#46576f}.gauge-page-header .badge.retail{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.retail [role='label']{color:#0576b3}.gauge-page-header .badge.wholesale{background-color:#f6fcff;border-color:#0576b3}.gauge-page-header .badge.wholesale [role='label']{color:#0576b3}";export{r as eswat2_io,c as gauge_page_header}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gauge-page-header",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.538",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"format": "prettier --write src"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@stencil/core": "4.
|
|
27
|
+
"@stencil/core": "4.23.0"
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"cspell": "8.16.1",
|
|
32
32
|
"eslint": "9.16.0",
|
|
33
|
-
"prettier": "3.4.
|
|
33
|
+
"prettier": "3.4.2",
|
|
34
34
|
"typescript": "5.7.2"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,d=[],y=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&f.o?b(v):f.raf(v))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{$(d),$(y),(m=d.length>0)&&f.raf(v)},b=e=>h().then(e),g=w(y,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let o=null,l=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!j(o))&&(o+=""),s&&r?i[i.length-1].i+=o:i.push(s?H(null,o):o),r=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=H(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=l,u},H=(e,t)=>({o:0,m:e,i:t,$:null,h:null,u:null,p:null}),R={},T=new WeakMap,D=e=>"sc-"+e.v,N=(e,t,n,o,s,r)=>{if(n!==o){let i=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=F(n),s=F(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if(i||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((i||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?i=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(L);t=t.replace(W,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},U=/\s/,F=e=>e?e.split(U):[],L="Capture",W=RegExp(L+"$"),q=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||S,s=t.u||S;for(const e of G(Object.keys(l)))e in s||N(o,e,l[e],void 0,n,t.o);for(const e of G(Object.keys(s)))N(o,e,l[e],s[e],n,t.o)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var V=!1,_=(e,t,n)=>{const o=t.h[n];let l,s,r=0;if(null!==o.i)l=o.$=a.createTextNode(o.i);else{if(V||(V="svg"===o.m),l=o.$=a.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),V&&"foreignObject"===o.m&&(V=!1),q(null,o,V),l.getRootNode().querySelector("body"),o.h)for(r=0;r<o.h.length;++r)s=_(e,o,r),s&&l.appendChild(s);"svg"===o.m?V=!1:"foreignObject"===l.tagName&&(V=!0)}return l["s-hn"]=M,l},z=(e,t,n,o,l,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=_(null,n,l),r&&(o[l].$=r,K(i,r,t)))},B=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),J=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,r=t.m,i=t.i;null===i?(q(e,t,V="svg"===r||"foreignObject"!==r&&V),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],m=o.length-1,d=o[0],y=o[m];for(;i<=f&&c<=m;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==d)d=o[++c];else if(null==y)y=o[--m];else if(I(h,d,l))J(h,d,l),h=t[++i],d=o[++c];else if(I(p,y,l))J(p,y,l),p=t[--f],y=o[--m];else if(I(h,y,l))J(h,y,l),K(e,h.$,p.$.nextSibling),h=t[++i],y=o[--m];else if(I(p,d,l))J(p,d,l),K(e,p.$,h.$),p=t[--f],d=o[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===d.p){u=a;break}u>=0?(r=t[u],r.m!==d.m?s=_(t&&t[c],n,u):(J(r,d,l),t[u]=void 0,s=r.$),d=o[++c]):(s=_(t&&t[c],n,c),d=o[++c]),s&&K(h.$.parentNode,s,h.$)}i>f?z(e,null==o[m+1]?null:o[m+1].$,n,o,c,m):c>m&&B(t,i,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),z(o,null,t,s,0,s.length-1)):!n&&null!==l&&B(l,0,l.length-1),V&&"svg"===r&&(V=!1)):e.i!==i&&(o.data=i)},K=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Q=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},X=(e,t)=>{if(e.o|=16,!(4&e.o))return Q(e,e.j),g((()=>Y(e,t)));e.o|=512},Y=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);return Z(void 0,(()=>te(e,n,t)))},Z=(e,t)=>ee(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),ee=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,te=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=D(t),l=i.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,r=T.get(e=e.head||e);if(r||T.set(e,r=new Set),!r.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=f.O)?n:k(a);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(p){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),r&&r.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ne(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ne=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,s=e.C||H(null,null),r=(e=>e&&e.m===R)(t)?t:A(null,null,t);if(M=o.tagName,n&&r.u)for(const e of Object.keys(r.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=o[e]);r.m=null,r.o|=4,e.C=r,r.$=s.$=o.shadowRoot||o,J(s,r,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},oe=e=>{const t=e.$hostElement$,n=e.j;64&e.o||(e.o|=64,se(t),e.M(t),n||le()),e.S&&(e.S(),e.S=void 0),512&e.o&&b((()=>X(e,!1))),e.o&=-517},le=()=>{se(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"gauge-page-header"}});return e.dispatchEvent(t),t})(u)))},se=e=>e.classList.add("hydrated"),re=(e,t,o)=>{var l;const s=e.prototype;return t.P&&Object.entries(null!=(l=t.P)?l:{}).map((([e,[l]])=>{(31&l||2&o&&32&l)&&Object.defineProperty(s,e,{get(){return((e,t)=>n(this).A.get(t))(0,e)},set(o){((e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.A.get(t),i=s.o,c=s.t;o=(e=>(null==e||j(e),e))(o),8&i&&void 0!==r||o===r||Number.isNaN(r)&&Number.isNaN(o)||(s.A.set(t,o),c&&2==(18&i)&&X(s,!1))})(this,e,o,t)},configurable:!0,enumerable:!0})})),e},ie=(e,o={})=>{var l;const h=[],m=o.exclude||[],d=u.customElements,y=a.head,w=y.querySelector("meta[charset]"),$=a.createElement("style"),v=[];let b,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],v:o[1],P:o[2],H:o[3]};4&l.o&&(S=!0),l.P=o[2];const c=l.v,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,k:n,A:new Map};o.R=new Promise((e=>o.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.k,l=()=>{};if(1&t.o)(null==t?void 0:t.t)||(null==t?void 0:t.R)&&t.R.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Q(t,t.j=n);break}}o.P&&Object.entries(o.P).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.T){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.T;if(!n)return;const o=r.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.v}#${t.D}" was not found`);o.isProxied||(re(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=D(n);if(!i.has(t)){const o=()=>{};((e,t,n)=>{let o=i.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,i.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>X(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.o)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return n(this).R}};l.T=e[0],m.includes(c)||d.get(c)||(h.push(c),d.define(c,re(u,l,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(l=f.O)?l:k(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,w?w.nextSibling:y.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(le,30)))},ce=e=>f.O=e;export{ie as b,A as h,h as p,o as r,ce as s}
|