@roadtrip/components 3.12.0 → 3.12.1
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/road-area-code.cjs.entry.js +1 -1
- package/dist/cjs/road-area-code.cjs.entry.js.map +1 -1
- package/dist/cjs/road-badge_14.cjs.entry.js +3 -3
- package/dist/cjs/road-badge_14.cjs.entry.js.map +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js +1 -1
- package/dist/cjs/road-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js +1 -1
- package/dist/cjs/road-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/road-modal.cjs.entry.js +1 -1
- package/dist/cjs/road-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/road-phone-number-input.cjs.entry.js +5 -4
- package/dist/cjs/road-phone-number-input.cjs.entry.js.map +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js +1 -1
- package/dist/cjs/road-plate-number.cjs.entry.js.map +1 -1
- package/dist/cjs/road-range.cjs.entry.js +1 -1
- package/dist/cjs/road-range.cjs.entry.js.map +1 -1
- package/dist/cjs/road-select.cjs.entry.js +4 -4
- package/dist/cjs/road-select.cjs.entry.js.map +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js +1 -1
- package/dist/cjs/road-textarea.cjs.entry.js.map +1 -1
- package/dist/collection/components/area-code/area-code.css +0 -1
- package/dist/collection/components/button/button.css +2 -0
- package/dist/collection/components/carousel/carousel.css +1 -1
- package/dist/collection/components/dialog/dialog.css +0 -1
- package/dist/collection/components/drawer/drawer.css +0 -1
- package/dist/collection/components/input/input.css +0 -2
- package/dist/collection/components/modal/modal.css +0 -1
- package/dist/collection/components/phone-number-input/phone-number-input.css +0 -1
- package/dist/collection/components/phone-number-input/phone-number-input.js +4 -3
- package/dist/collection/components/phone-number-input/phone-number-input.js.map +1 -1
- package/dist/collection/components/phone-number-input/phone-number-input.stories.js +0 -1
- package/dist/collection/components/plate-number/plate-number.css +0 -1
- package/dist/collection/components/range/range.css +2 -5
- package/dist/collection/components/select/select.css +0 -1
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/select/select.stories.js +2 -2
- package/dist/collection/components/textarea/textarea.css +0 -1
- package/dist/esm/road-area-code.entry.js +1 -1
- package/dist/esm/road-area-code.entry.js.map +1 -1
- package/dist/esm/road-badge_14.entry.js +3 -3
- package/dist/esm/road-badge_14.entry.js.map +1 -1
- package/dist/esm/road-carousel.entry.js +1 -1
- package/dist/esm/road-carousel.entry.js.map +1 -1
- package/dist/esm/road-dialog.entry.js +1 -1
- package/dist/esm/road-dialog.entry.js.map +1 -1
- package/dist/esm/road-modal.entry.js +1 -1
- package/dist/esm/road-modal.entry.js.map +1 -1
- package/dist/esm/road-phone-number-input.entry.js +5 -4
- package/dist/esm/road-phone-number-input.entry.js.map +1 -1
- package/dist/esm/road-plate-number.entry.js +1 -1
- package/dist/esm/road-plate-number.entry.js.map +1 -1
- package/dist/esm/road-range.entry.js +1 -1
- package/dist/esm/road-range.entry.js.map +1 -1
- package/dist/esm/road-select.entry.js +4 -4
- package/dist/esm/road-select.entry.js.map +1 -1
- package/dist/esm/road-textarea.entry.js +1 -1
- package/dist/esm/road-textarea.entry.js.map +1 -1
- package/dist/roadtrip/{p-c33f5249.entry.js → p-2c132382.entry.js} +2 -2
- package/dist/roadtrip/{p-c33f5249.entry.js.map → p-2c132382.entry.js.map} +1 -1
- package/dist/roadtrip/p-33002e9d.entry.js +2 -0
- package/dist/roadtrip/{p-9b170273.entry.js.map → p-33002e9d.entry.js.map} +1 -1
- package/dist/roadtrip/p-6e3e0b40.entry.js +2 -0
- package/dist/roadtrip/{p-d794a8d4.entry.js.map → p-6e3e0b40.entry.js.map} +1 -1
- package/dist/roadtrip/p-869a3d78.entry.js +2 -0
- package/dist/roadtrip/{p-be8aee32.entry.js.map → p-869a3d78.entry.js.map} +1 -1
- package/dist/roadtrip/{p-9173eb4b.entry.js → p-96b80b11.entry.js} +2 -2
- package/dist/roadtrip/{p-9173eb4b.entry.js.map → p-96b80b11.entry.js.map} +1 -1
- package/dist/roadtrip/p-a73ef7de.entry.js +2 -0
- package/dist/roadtrip/{p-0f8966f4.entry.js.map → p-a73ef7de.entry.js.map} +1 -1
- package/dist/roadtrip/p-acbc0a14.entry.js +2 -0
- package/dist/roadtrip/{p-5ab03aa4.entry.js.map → p-acbc0a14.entry.js.map} +1 -1
- package/dist/roadtrip/p-c5ca63ec.entry.js +2 -0
- package/dist/roadtrip/p-c5ca63ec.entry.js.map +1 -0
- package/dist/roadtrip/p-ee7aaee5.entry.js +2 -0
- package/dist/roadtrip/{p-9fefc8af.entry.js.map → p-ee7aaee5.entry.js.map} +1 -1
- package/dist/roadtrip/p-efe6e22f.entry.js +2 -0
- package/dist/roadtrip/{p-13d54b3e.entry.js.map → p-efe6e22f.entry.js.map} +1 -1
- package/dist/roadtrip/roadtrip.css +1 -1
- package/dist/roadtrip/roadtrip.esm.js +1 -1
- package/hydrate/index.d.ts +6 -6
- package/hydrate/index.js +193 -252
- package/package.json +1 -1
- package/dist/collection/components/icon/svg/vehicle-car-search-color.svg +0 -1
- package/dist/roadtrip/p-028243c1.entry.js +0 -2
- package/dist/roadtrip/p-028243c1.entry.js.map +0 -1
- package/dist/roadtrip/p-0f8966f4.entry.js +0 -2
- package/dist/roadtrip/p-13d54b3e.entry.js +0 -2
- package/dist/roadtrip/p-5ab03aa4.entry.js +0 -2
- package/dist/roadtrip/p-9b170273.entry.js +0 -2
- package/dist/roadtrip/p-9fefc8af.entry.js +0 -2
- package/dist/roadtrip/p-be8aee32.entry.js +0 -2
- package/dist/roadtrip/p-d794a8d4.entry.js +0 -2
- package/dist/roadtrip/svg/vehicle-car-search-color.svg +0 -1
package/hydrate/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
/*!
|
|
6
|
-
Stencil Mock Doc
|
|
6
|
+
Stencil Mock Doc v3.4.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const CONTENT_REF_ID = 'r';
|
|
9
9
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -1623,14 +1623,6 @@ class MockNodeList {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
class MockElement extends MockNode {
|
|
1626
|
-
attachInternals() {
|
|
1627
|
-
return new Proxy({}, {
|
|
1628
|
-
get: function (_target, prop, _receiver) {
|
|
1629
|
-
console.error(`NOTE: Property ${String(prop)} was accessed on ElementInternals, but this property is not implemented.
|
|
1630
|
-
Testing components with ElementInternals is fully supported in e2e tests.`);
|
|
1631
|
-
},
|
|
1632
|
-
});
|
|
1633
|
-
}
|
|
1634
1626
|
constructor(ownerDocument, nodeName) {
|
|
1635
1627
|
super(ownerDocument, 1 /* NODE_TYPES.ELEMENT_NODE */, typeof nodeName === 'string' ? nodeName : null, null);
|
|
1636
1628
|
this.namespaceURI = null;
|
|
@@ -4010,11 +4002,9 @@ class MockWindow {
|
|
|
4010
4002
|
return {
|
|
4011
4003
|
media,
|
|
4012
4004
|
matches: false,
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
removeEventListener: (_type, _handler) => { },
|
|
4017
|
-
dispatchEvent: (_ev) => { },
|
|
4005
|
+
addEventListener,
|
|
4006
|
+
dispatchEvent,
|
|
4007
|
+
removeEventListener,
|
|
4018
4008
|
onchange: null,
|
|
4019
4009
|
};
|
|
4020
4010
|
}
|
|
@@ -4958,7 +4948,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4958
4948
|
|
|
4959
4949
|
|
|
4960
4950
|
const NAMESPACE = 'roadtrip';
|
|
4961
|
-
const BUILD = /* roadtrip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true,
|
|
4951
|
+
const BUILD = /* roadtrip */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, cssVarShim: false, devTools: false, disconnectedCallback: true, dynamicImportShim: false, element: false, event: true, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, safari10: false, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
4962
4952
|
|
|
4963
4953
|
function queryNonceMetaTagContent(e) {
|
|
4964
4954
|
var t, o, n;
|
|
@@ -4973,8 +4963,8 @@ function forceUpdate() {}
|
|
|
4973
4963
|
|
|
4974
4964
|
function hydrateApp(e, t, o, n, s) {
|
|
4975
4965
|
function l() {
|
|
4976
|
-
if (global.clearTimeout(p), i.clear(), r.clear(), !
|
|
4977
|
-
|
|
4966
|
+
if (global.clearTimeout(p), i.clear(), r.clear(), !u) {
|
|
4967
|
+
u = !0;
|
|
4978
4968
|
try {
|
|
4979
4969
|
t.clientHydrateAnnotations && insertVdomAnnotations(e.document, t.staticComponents),
|
|
4980
4970
|
e.dispatchEvent(new e.Event("DOMContentLoaded")), e.document.createElement = c,
|
|
@@ -4989,10 +4979,10 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
4989
4979
|
renderCatchError(t, o, e), l();
|
|
4990
4980
|
}
|
|
4991
4981
|
const r = new Set, i = new Set, d = new Set, c = e.document.createElement, $ = e.document.createElementNS, m = Promise.resolve();
|
|
4992
|
-
let p,
|
|
4982
|
+
let p, u = !1;
|
|
4993
4983
|
try {
|
|
4994
|
-
function
|
|
4995
|
-
return
|
|
4984
|
+
function h() {
|
|
4985
|
+
return g(this);
|
|
4996
4986
|
}
|
|
4997
4987
|
function f(e) {
|
|
4998
4988
|
if (isValidComponent(e, t) && !getHostRef(e)) {
|
|
@@ -5000,7 +4990,7 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5000
4990
|
$tagName$: e.nodeName.toLowerCase(),
|
|
5001
4991
|
$flags$: null
|
|
5002
4992
|
});
|
|
5003
|
-
null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback =
|
|
4993
|
+
null != t && null != t.cmpMeta && (i.add(e), e.connectedCallback = h, registerHost(e, t.cmpMeta),
|
|
5004
4994
|
function o(e, t) {
|
|
5005
4995
|
if ("function" != typeof e.componentOnReady && (e.componentOnReady = componentOnReady),
|
|
5006
4996
|
"function" != typeof e.forceUpdate && (e.forceUpdate = forceUpdate), 1 & t.$flags$ && (e.shadowRoot = e),
|
|
@@ -5036,14 +5026,7 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5036
5026
|
}(e, t.cmpMeta));
|
|
5037
5027
|
}
|
|
5038
5028
|
}
|
|
5039
|
-
function g(
|
|
5040
|
-
if (null != e && 1 === e.nodeType) {
|
|
5041
|
-
f(e);
|
|
5042
|
-
const t = e.children;
|
|
5043
|
-
for (let e = 0, o = t.length; e < o; e++) g(t[e]);
|
|
5044
|
-
}
|
|
5045
|
-
}
|
|
5046
|
-
function L(n) {
|
|
5029
|
+
function g(n) {
|
|
5047
5030
|
return i.delete(n), isValidComponent(n, t) && o.hydratedCount < t.maxHydrateCount && !r.has(n) && shouldHydrate(n) ? (r.add(n),
|
|
5048
5031
|
async function s(e, t, o, n, l) {
|
|
5049
5032
|
o = o.toLowerCase();
|
|
@@ -5069,24 +5052,29 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5069
5052
|
}
|
|
5070
5053
|
}(e, o, n.nodeName, n, d)) : m;
|
|
5071
5054
|
}
|
|
5072
|
-
function y() {
|
|
5073
|
-
const e = Array.from(i).filter((e => e.parentElement));
|
|
5074
|
-
return e.length > 0 ? Promise.all(e.map(L)).then(y) : m;
|
|
5075
|
-
}
|
|
5076
5055
|
e.document.createElement = function t(o) {
|
|
5077
5056
|
const n = c.call(e.document, o);
|
|
5078
5057
|
return f(n), n;
|
|
5079
5058
|
}, e.document.createElementNS = function t(o, n) {
|
|
5080
5059
|
const s = $.call(e.document, o, n);
|
|
5081
5060
|
return f(s), s;
|
|
5082
|
-
}, p = global.setTimeout((function
|
|
5061
|
+
}, p = global.setTimeout((function L() {
|
|
5083
5062
|
a(`Hydrate exceeded timeout${function e(t) {
|
|
5084
5063
|
return Array.from(t).map(waitingOnElementMsg);
|
|
5085
5064
|
}(d)}`);
|
|
5086
5065
|
}), t.timeout), plt.$resourcesUrl$ = new URL(t.resourcesUrl || "./", doc.baseURI).href,
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5066
|
+
function e(t) {
|
|
5067
|
+
if (null != t && 1 === t.nodeType) {
|
|
5068
|
+
f(t);
|
|
5069
|
+
const o = t.children;
|
|
5070
|
+
for (let t = 0, n = o.length; t < n; t++) e(o[t]);
|
|
5071
|
+
}
|
|
5072
|
+
}(e.document.body), function e() {
|
|
5073
|
+
const t = Array.from(i).filter((e => e.parentElement));
|
|
5074
|
+
return t.length > 0 ? Promise.all(t.map(g)).then(e) : m;
|
|
5075
|
+
}().then(l).catch(a);
|
|
5076
|
+
} catch (y) {
|
|
5077
|
+
a(y);
|
|
5090
5078
|
}
|
|
5091
5079
|
}
|
|
5092
5080
|
|
|
@@ -5112,8 +5100,8 @@ function renderCatchError(e, t, o) {
|
|
|
5112
5100
|
type: "build",
|
|
5113
5101
|
header: "Hydrate Error",
|
|
5114
5102
|
messageText: "",
|
|
5115
|
-
relFilePath:
|
|
5116
|
-
absFilePath:
|
|
5103
|
+
relFilePath: null,
|
|
5104
|
+
absFilePath: null,
|
|
5117
5105
|
lines: []
|
|
5118
5106
|
};
|
|
5119
5107
|
if (e.url) try {
|
|
@@ -5149,7 +5137,7 @@ function waitingOnElementMsg(e) {
|
|
|
5149
5137
|
|
|
5150
5138
|
const createTime = (e, t = "") => {
|
|
5151
5139
|
return () => {};
|
|
5152
|
-
},
|
|
5140
|
+
}, XLINK_NS = "http://www.w3.org/1999/xlink", EMPTY_OBJ = {}, isComplexType = e => "object" == (e = typeof e) || "function" === e, isPromise = e => !!e && ("object" == typeof e || "function" == typeof e) && "function" == typeof e.then, h = (e, t, ...o) => {
|
|
5153
5141
|
let n = null, s = null, l = null, a = !1, r = !1;
|
|
5154
5142
|
const i = [], d = t => {
|
|
5155
5143
|
for (let o = 0; o < t.length; o++) n = t[o], Array.isArray(n) ? d(n) : null != n && "boolean" != typeof n && ((a = "function" != typeof e && !isComplexType(n)) ? n = String(n) : BUILD.isDev ,
|
|
@@ -5263,23 +5251,24 @@ const createTime = (e, t = "") => {
|
|
|
5263
5251
|
}, rootAppliedStyles = new WeakMap, registerStyle = (e, t, o) => {
|
|
5264
5252
|
let n = styles$1.get(e);
|
|
5265
5253
|
n = t, styles$1.set(e, n);
|
|
5266
|
-
}, addStyle = (e, t, o) => {
|
|
5267
|
-
var
|
|
5268
|
-
|
|
5269
|
-
|
|
5254
|
+
}, addStyle = (e, t, o, n) => {
|
|
5255
|
+
var s;
|
|
5256
|
+
let l = getScopeId(t);
|
|
5257
|
+
const a = styles$1.get(l);
|
|
5258
|
+
if (e = 11 === e.nodeType ? e : doc, a) if ("string" == typeof a) {
|
|
5270
5259
|
e = e.head || e;
|
|
5271
|
-
let o,
|
|
5272
|
-
if (
|
|
5273
|
-
if (e.host && (o = e.querySelector(`[sty-id="${
|
|
5274
|
-
o = doc.createElement("style"), o.innerHTML =
|
|
5275
|
-
const
|
|
5276
|
-
null !=
|
|
5260
|
+
let o, r = rootAppliedStyles.get(e);
|
|
5261
|
+
if (r || rootAppliedStyles.set(e, r = new Set), !r.has(l)) {
|
|
5262
|
+
if (e.host && (o = e.querySelector(`[sty-id="${l}"]`))) o.innerHTML = a; else {
|
|
5263
|
+
o = doc.createElement("style"), o.innerHTML = a;
|
|
5264
|
+
const i = null !== (s = plt.$nonce$) && void 0 !== s ? s : queryNonceMetaTagContent(doc);
|
|
5265
|
+
null != i && o.setAttribute("nonce", i), o.setAttribute("sty-id", l),
|
|
5277
5266
|
e.insertBefore(o, e.querySelector("link"));
|
|
5278
5267
|
}
|
|
5279
|
-
|
|
5268
|
+
r && r.add(l);
|
|
5280
5269
|
}
|
|
5281
5270
|
}
|
|
5282
|
-
return
|
|
5271
|
+
return l;
|
|
5283
5272
|
}, attachStyles = e => {
|
|
5284
5273
|
const t = e.$cmpMeta$, o = e.$hostElement$, n = t.$flags$, s = createTime("attachStyles", t.$tagName$), l = addStyle(o.getRootNode(), t);
|
|
5285
5274
|
10 & n && (o["s-sc"] = l,
|
|
@@ -5307,13 +5296,10 @@ const createTime = (e, t = "") => {
|
|
|
5307
5296
|
r !== (r = r.replace(/^xlink\:?/, "")) && (t = r, d = !0), null == n || !1 === n ? !1 === n && "" !== e.getAttribute(t) || (d ? e.removeAttributeNS(XLINK_NS, t) : e.removeAttribute(t)) : (!a || 4 & l || s) && !i && (n = !0 === n ? "" : n,
|
|
5308
5297
|
d ? e.setAttributeNS(XLINK_NS, t, n) : e.setAttribute(t, n));
|
|
5309
5298
|
}
|
|
5310
|
-
} else
|
|
5311
|
-
o
|
|
5312
|
-
const s = t.endsWith(CAPTURE_EVENT_SUFFIX);
|
|
5313
|
-
t = t.replace(CAPTURE_EVENT_REGEX, ""), o && plt.rel(e, t, o, s), n && plt.ael(e, t, n, s);
|
|
5314
|
-
}
|
|
5299
|
+
} else t = "-" === t[2] ? t.slice(3) : isMemberInElement(win, r) ? r.slice(2) : r[2] + t.slice(3),
|
|
5300
|
+
o && plt.rel(e, t, o, !1), n && plt.ael(e, t, n, !1);
|
|
5315
5301
|
}
|
|
5316
|
-
}, parseClassListRegex = /\s/, parseClassList = e => e ? e.split(parseClassListRegex) : [],
|
|
5302
|
+
}, parseClassListRegex = /\s/, parseClassList = e => e ? e.split(parseClassListRegex) : [], updateElement = (e, t, o, n) => {
|
|
5317
5303
|
const s = 11 === t.$elm$.nodeType && t.$elm$.host ? t.$elm$.host : t.$elm$, l = e && e.$attrs$ || EMPTY_OBJ, a = t.$attrs$ || EMPTY_OBJ;
|
|
5318
5304
|
for (n in l) n in a || setAccessor(s, n, l[n], void 0, o, t.$flags$);
|
|
5319
5305
|
for (n in a) setAccessor(s, n, l[n], a[n], o, t.$flags$);
|
|
@@ -5322,31 +5308,28 @@ const createTime = (e, t = "") => {
|
|
|
5322
5308
|
let scopeId, contentRef, hostTagName, useNativeShadowDom = !1, checkSlotFallbackVisibility = !1, checkSlotRelocate = !1, isSvgMode = !1;
|
|
5323
5309
|
|
|
5324
5310
|
const createElm = (e, t, o, n) => {
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
("svg" === l.$tag$ ? isSvgMode = !1 : "foreignObject" === a.tagName && (isSvgMode = !0));
|
|
5311
|
+
const s = t.$children$[o];
|
|
5312
|
+
let l, a, r, i = 0;
|
|
5313
|
+
if (!useNativeShadowDom && (checkSlotRelocate = !0, "slot" === s.$tag$ && (scopeId && n.classList.add(scopeId + "-s"),
|
|
5314
|
+
s.$flags$ |= s.$children$ ? 2 : 1)), null !== s.$text$) l = s.$elm$ = doc.createTextNode(s.$text$); else if (1 & s.$flags$) l = s.$elm$ = slotReferenceDebugNode(s) ; else {
|
|
5315
|
+
if (!isSvgMode && (isSvgMode = "svg" === s.$tag$), l = s.$elm$ = doc.createElementNS(isSvgMode ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", 2 & s.$flags$ ? "slot-fb" : s.$tag$) ,
|
|
5316
|
+
isSvgMode && "foreignObject" === s.$tag$ && (isSvgMode = !1), updateElement(null, s, isSvgMode),
|
|
5317
|
+
null != scopeId && l["s-si"] !== scopeId && l.classList.add(l["s-si"] = scopeId),
|
|
5318
|
+
s.$children$) for (i = 0; i < s.$children$.length; ++i) a = createElm(e, s, i, l),
|
|
5319
|
+
a && l.appendChild(a);
|
|
5320
|
+
("svg" === s.$tag$ ? isSvgMode = !1 : "foreignObject" === l.tagName && (isSvgMode = !0));
|
|
5336
5321
|
}
|
|
5337
|
-
return (
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5322
|
+
return (l["s-hn"] = hostTagName, 3 & s.$flags$ && (l["s-sr"] = !0,
|
|
5323
|
+
l["s-cr"] = contentRef, l["s-sn"] = s.$name$ || "", r = e && e.$children$ && e.$children$[o],
|
|
5324
|
+
r && r.$tag$ === s.$tag$ && e.$elm$ && putBackInOriginalLocation(e.$elm$, !1))),
|
|
5325
|
+
l;
|
|
5341
5326
|
}, putBackInOriginalLocation = (e, t) => {
|
|
5342
|
-
var o;
|
|
5343
5327
|
plt.$flags$ |= 1;
|
|
5344
|
-
const
|
|
5345
|
-
for (let e =
|
|
5346
|
-
const
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
checkSlotRelocate = !0), t && putBackInOriginalLocation(s, t);
|
|
5328
|
+
const o = e.childNodes;
|
|
5329
|
+
for (let e = o.length - 1; e >= 0; e--) {
|
|
5330
|
+
const n = o[e];
|
|
5331
|
+
n["s-hn"] !== hostTagName && n["s-ol"] && (parentReferenceNode(n).insertBefore(n, referenceNode(n)),
|
|
5332
|
+
n["s-ol"].remove(), n["s-ol"] = void 0, checkSlotRelocate = !0), t && putBackInOriginalLocation(n, t);
|
|
5350
5333
|
}
|
|
5351
5334
|
plt.$flags$ &= -2;
|
|
5352
5335
|
}, addVnodes = (e, t, o, n, s, l) => {
|
|
@@ -5368,17 +5351,17 @@ const createElm = (e, t, o, n) => {
|
|
|
5368
5351
|
null !== a ? (r = o["s-cr"]) ? r.parentNode.textContent = a : e.$text$ !== a && (o.data = a) : ((isSvgMode = "svg" === l || "foreignObject" !== l && isSvgMode),
|
|
5369
5352
|
("slot" === l || updateElement(e, t, isSvgMode)),
|
|
5370
5353
|
null !== n && null !== s ? ((e, t, o, n) => {
|
|
5371
|
-
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1,
|
|
5372
|
-
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null ==
|
|
5373
|
-
$ = t[++a],
|
|
5374
|
-
patch($,
|
|
5375
|
-
patch(m,
|
|
5376
|
-
if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ ===
|
|
5354
|
+
let s, l, a = 0, r = 0, i = 0, d = 0, c = t.length - 1, $ = t[0], m = t[c], p = n.length - 1, u = n[0], h = n[p];
|
|
5355
|
+
for (;a <= c && r <= p; ) if (null == $) $ = t[++a]; else if (null == m) m = t[--c]; else if (null == u) u = n[++r]; else if (null == h) h = n[--p]; else if (isSameVnode($, u)) patch($, u),
|
|
5356
|
+
$ = t[++a], u = n[++r]; else if (isSameVnode(m, h)) patch(m, h), m = t[--c], h = n[--p]; else if (isSameVnode($, h)) "slot" !== $.$tag$ && "slot" !== h.$tag$ || putBackInOriginalLocation($.$elm$.parentNode, !1),
|
|
5357
|
+
patch($, h), e.insertBefore($.$elm$, m.$elm$.nextSibling), $ = t[++a], h = n[--p]; else if (isSameVnode(m, u)) "slot" !== $.$tag$ && "slot" !== h.$tag$ || putBackInOriginalLocation(m.$elm$.parentNode, !1),
|
|
5358
|
+
patch(m, u), e.insertBefore(m.$elm$, $.$elm$), m = t[--c], u = n[++r]; else {
|
|
5359
|
+
if (i = -1, BUILD.vdomKey) for (d = a; d <= c; ++d) if (t[d] && null !== t[d].$key$ && t[d].$key$ === u.$key$) {
|
|
5377
5360
|
i = d;
|
|
5378
5361
|
break;
|
|
5379
5362
|
}
|
|
5380
|
-
i >= 0 ? (l = t[i], l.$tag$ !==
|
|
5381
|
-
t[i] = void 0, s = l.$elm$),
|
|
5363
|
+
i >= 0 ? (l = t[i], l.$tag$ !== u.$tag$ ? s = createElm(t && t[r], o, i, e) : (patch(l, u),
|
|
5364
|
+
t[i] = void 0, s = l.$elm$), u = n[++r]) : (s = createElm(t && t[r], o, r, e), u = n[++r]),
|
|
5382
5365
|
s && (parentReferenceNode($.$elm$).insertBefore(s, referenceNode($.$elm$)) );
|
|
5383
5366
|
}
|
|
5384
5367
|
a > c ? addVnodes(e, null == n[p + 1] ? null : n[p + 1].$elm$, o, n, r, p) : r > p && removeVnodes(t, a, c);
|
|
@@ -5387,87 +5370,66 @@ const createElm = (e, t, o, n) => {
|
|
|
5387
5370
|
isSvgMode && "svg" === l && (isSvgMode = !1));
|
|
5388
5371
|
}, updateFallbackSlotVisibility = e => {
|
|
5389
5372
|
const t = e.childNodes;
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
e.hidden = !0;
|
|
5397
|
-
break;
|
|
5398
|
-
}
|
|
5399
|
-
} else if (1 === n.nodeType || 3 === n.nodeType && "" !== n.textContent.trim()) {
|
|
5400
|
-
e.hidden = !0;
|
|
5373
|
+
let o, n, s, l, a, r;
|
|
5374
|
+
for (n = 0, s = t.length; n < s; n++) if (o = t[n], 1 === o.nodeType) {
|
|
5375
|
+
if (o["s-sr"]) for (a = o["s-sn"], o.hidden = !1, l = 0; l < s; l++) if (r = t[l].nodeType,
|
|
5376
|
+
t[l]["s-hn"] !== o["s-hn"] || "" !== a) {
|
|
5377
|
+
if (1 === r && a === t[l].getAttribute("slot")) {
|
|
5378
|
+
o.hidden = !0;
|
|
5401
5379
|
break;
|
|
5402
5380
|
}
|
|
5381
|
+
} else if (1 === r || 3 === r && "" !== t[l].textContent.trim()) {
|
|
5382
|
+
o.hidden = !0;
|
|
5383
|
+
break;
|
|
5403
5384
|
}
|
|
5404
|
-
updateFallbackSlotVisibility(
|
|
5385
|
+
updateFallbackSlotVisibility(o);
|
|
5405
5386
|
}
|
|
5406
|
-
}, relocateNodes = [],
|
|
5407
|
-
let t, o, n;
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
} else relocateNodes.some((e => e.$nodeToRelocate$ === t)) || relocateNodes.push({
|
|
5423
|
-
$nodeToRelocate$: t
|
|
5424
|
-
});
|
|
5425
|
-
}
|
|
5426
|
-
1 === s.nodeType && markSlotContentForRelocation(s);
|
|
5387
|
+
}, relocateNodes = [], relocateSlotContent = e => {
|
|
5388
|
+
let t, o, n, s, l, a, r = 0;
|
|
5389
|
+
const i = e.childNodes, d = i.length;
|
|
5390
|
+
for (;r < d; r++) {
|
|
5391
|
+
if (t = i[r], t["s-sr"] && (o = t["s-cr"]) && o.parentNode) for (n = o.parentNode.childNodes,
|
|
5392
|
+
s = t["s-sn"], a = n.length - 1; a >= 0; a--) o = n[a], o["s-cn"] || o["s-nr"] || o["s-hn"] === t["s-hn"] || (isNodeLocatedInSlot(o, s) ? (l = relocateNodes.find((e => e.$nodeToRelocate$ === o)),
|
|
5393
|
+
checkSlotFallbackVisibility = !0, o["s-sn"] = o["s-sn"] || s, l ? l.$slotRefNode$ = t : relocateNodes.push({
|
|
5394
|
+
$slotRefNode$: t,
|
|
5395
|
+
$nodeToRelocate$: o
|
|
5396
|
+
}), o["s-sr"] && relocateNodes.map((e => {
|
|
5397
|
+
isNodeLocatedInSlot(e.$nodeToRelocate$, o["s-sn"]) && (l = relocateNodes.find((e => e.$nodeToRelocate$ === o)),
|
|
5398
|
+
l && !e.$slotRefNode$ && (e.$slotRefNode$ = l.$slotRefNode$));
|
|
5399
|
+
}))) : relocateNodes.some((e => e.$nodeToRelocate$ === o)) || relocateNodes.push({
|
|
5400
|
+
$nodeToRelocate$: o
|
|
5401
|
+
}));
|
|
5402
|
+
1 === t.nodeType && relocateSlotContent(t);
|
|
5427
5403
|
}
|
|
5428
5404
|
}, isNodeLocatedInSlot = (e, t) => 1 === e.nodeType ? null === e.getAttribute("slot") && "" === t || e.getAttribute("slot") === t : e["s-sn"] === t || "" === t, nullifyVNodeRefs = e => {
|
|
5429
5405
|
(e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(nullifyVNodeRefs));
|
|
5430
|
-
}, renderVdom = (e, t
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
if (
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
(scopeId = l["s-sc"]), (contentRef = l["s-cr"],
|
|
5438
|
-
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(r, i),
|
|
5406
|
+
}, renderVdom = (e, t) => {
|
|
5407
|
+
const o = e.$hostElement$, n = e.$cmpMeta$, s = e.$vnode$ || newVNode(null, null), l = isHost(t) ? t : h(null, null, t);
|
|
5408
|
+
if (hostTagName = o.tagName, BUILD.isDev ) ;
|
|
5409
|
+
if (n.$attrsToReflect$ && (l.$attrs$ = l.$attrs$ || {}, n.$attrsToReflect$.map((([e, t]) => l.$attrs$[t] = o[e]))),
|
|
5410
|
+
l.$tag$ = null, l.$flags$ |= 4, e.$vnode$ = l, l.$elm$ = s.$elm$ = o.shadowRoot || o,
|
|
5411
|
+
(scopeId = o["s-sc"]), (contentRef = o["s-cr"],
|
|
5412
|
+
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(s, l),
|
|
5439
5413
|
BUILD.slotRelocation) {
|
|
5440
5414
|
if (plt.$flags$ |= 1, checkSlotRelocate) {
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5415
|
+
let e, t, o, n, s, a;
|
|
5416
|
+
relocateSlotContent(l.$elm$);
|
|
5417
|
+
let r = 0;
|
|
5418
|
+
for (;r < relocateNodes.length; r++) e = relocateNodes[r], t = e.$nodeToRelocate$,
|
|
5419
|
+
t["s-ol"] || (o = originalLocationDebugNode(t) ,
|
|
5420
|
+
o["s-nr"] = t, t.parentNode.insertBefore(t["s-ol"] = o, t));
|
|
5421
|
+
for (r = 0; r < relocateNodes.length; r++) if (e = relocateNodes[r], t = e.$nodeToRelocate$,
|
|
5422
|
+
e.$slotRefNode$) {
|
|
5423
|
+
for (n = e.$slotRefNode$.parentNode, s = e.$slotRefNode$.nextSibling, o = t["s-ol"]; o = o.previousSibling; ) if (a = o["s-nr"],
|
|
5424
|
+
a && a["s-sn"] === t["s-sn"] && n === a.parentNode && (a = a.nextSibling, !a || !a["s-nr"])) {
|
|
5425
|
+
s = a;
|
|
5426
|
+
break;
|
|
5447
5427
|
}
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
if (o) {
|
|
5452
|
-
const e = o.parentNode;
|
|
5453
|
-
let l = o.nextSibling;
|
|
5454
|
-
{
|
|
5455
|
-
let o = null === (n = t["s-ol"]) || void 0 === n ? void 0 : n.previousSibling;
|
|
5456
|
-
for (;o; ) {
|
|
5457
|
-
let n = null !== (s = o["s-nr"]) && void 0 !== s ? s : null;
|
|
5458
|
-
if (n && n["s-sn"] === t["s-sn"] && e === n.parentNode && (n = n.nextSibling, !n || !n["s-nr"])) {
|
|
5459
|
-
l = n;
|
|
5460
|
-
break;
|
|
5461
|
-
}
|
|
5462
|
-
o = o.previousSibling;
|
|
5463
|
-
}
|
|
5464
|
-
}
|
|
5465
|
-
(!l && e !== t.parentNode || t.nextSibling !== l) && t !== l && (!t["s-hn"] && t["s-ol"] && (t["s-hn"] = t["s-ol"].parentNode.nodeName),
|
|
5466
|
-
e.insertBefore(t, l));
|
|
5467
|
-
} else 1 === t.nodeType && (t.hidden = !0);
|
|
5468
|
-
}
|
|
5428
|
+
(!s && n !== t.parentNode || t.nextSibling !== s) && t !== s && (!t["s-hn"] && t["s-ol"] && (t["s-hn"] = t["s-ol"].parentNode.nodeName),
|
|
5429
|
+
n.insertBefore(t, s));
|
|
5430
|
+
} else 1 === t.nodeType && (t.hidden = !0);
|
|
5469
5431
|
}
|
|
5470
|
-
checkSlotFallbackVisibility && updateFallbackSlotVisibility(
|
|
5432
|
+
checkSlotFallbackVisibility && updateFallbackSlotVisibility(l.$elm$), plt.$flags$ &= -2,
|
|
5471
5433
|
relocateNodes.length = 0;
|
|
5472
5434
|
}
|
|
5473
5435
|
}, slotReferenceDebugNode = e => doc.createComment(`<slot${e.$name$ ? ' name="' + e.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`), originalLocationDebugNode = e => doc.createComment("org-location for " + (e.localName ? `<${e.localName}> (host=${e["s-hn"]})` : `[${e.textContent}]`)), attachToAncestor = (e, t) => {
|
|
@@ -5488,7 +5450,7 @@ const createElm = (e, t, o, n) => {
|
|
|
5488
5450
|
const s = e.$hostElement$, l = createTime("update", e.$cmpMeta$.$tagName$), a = s["s-rc"];
|
|
5489
5451
|
o && attachStyles(e);
|
|
5490
5452
|
const r = createTime("render", e.$cmpMeta$.$tagName$);
|
|
5491
|
-
if (await callRender(e, t
|
|
5453
|
+
if (await callRender(e, t) ,
|
|
5492
5454
|
BUILD.hydrateServerSide) try {
|
|
5493
5455
|
serverSideConnected(s), o && (1 & e.$cmpMeta$.$flags$ ? s["s-en"] = "" : 2 & e.$cmpMeta$.$flags$ && (s["s-en"] = "c"));
|
|
5494
5456
|
} catch (e) {
|
|
@@ -5501,11 +5463,11 @@ const createElm = (e, t, o, n) => {
|
|
|
5501
5463
|
}
|
|
5502
5464
|
};
|
|
5503
5465
|
|
|
5504
|
-
const callRender = (e, t, o
|
|
5466
|
+
const callRender = (e, t, o) => {
|
|
5505
5467
|
try {
|
|
5506
5468
|
if (t = t.render(), (e.$flags$ &= -17),
|
|
5507
5469
|
(e.$flags$ |= 2), BUILD.hasRenderFn ) {
|
|
5508
|
-
return Promise.resolve(t).then((t => renderVdom(e, t
|
|
5470
|
+
return Promise.resolve(t).then((t => renderVdom(e, t)));
|
|
5509
5471
|
}
|
|
5510
5472
|
} catch (t) {
|
|
5511
5473
|
consoleError(t, e.$hostElement$);
|
|
@@ -5515,9 +5477,9 @@ const callRender = (e, t, o, n) => {
|
|
|
5515
5477
|
const t = e.$cmpMeta$.$tagName$, o = e.$hostElement$, n = createTime("postUpdate", t), s = e.$lazyInstance$ , l = e.$ancestorComponent$;
|
|
5516
5478
|
64 & e.$flags$ ? (n()) : (e.$flags$ |= 64, addHydratedFlag(o),
|
|
5517
5479
|
(safeCall(s, "componentDidLoad"),
|
|
5518
|
-
BUILD.isDev ), n(), (e.$onReadyResolve$(o), l || appDidLoad())), e.$onInstanceResolve$(o),
|
|
5519
|
-
|
|
5520
|
-
|
|
5480
|
+
BUILD.isDev ), n(), (e.$onReadyResolve$(o), l || appDidLoad())), e.$onInstanceResolve$(o), (e.$onRenderResolve$ && (e.$onRenderResolve$(),
|
|
5481
|
+
e.$onRenderResolve$ = void 0), 512 & e.$flags$ && nextTick$1((() => scheduleUpdate(e, !1))),
|
|
5482
|
+
e.$flags$ &= -517);
|
|
5521
5483
|
}, appDidLoad = e => {
|
|
5522
5484
|
addHydratedFlag(doc.documentElement), nextTick$1((() => emitEvent(win, "appload", {
|
|
5523
5485
|
detail: {
|
|
@@ -5557,12 +5519,11 @@ const callRender = (e, t, o, n) => {
|
|
|
5557
5519
|
}
|
|
5558
5520
|
}
|
|
5559
5521
|
}, proxyComponent = (e, t, o) => {
|
|
5560
|
-
var n;
|
|
5561
5522
|
if (t.$members$) {
|
|
5562
5523
|
e.watchers && (t.$watchers$ = e.watchers);
|
|
5563
|
-
const
|
|
5564
|
-
if (
|
|
5565
|
-
(31 & n || (2 & o) && 32 & n) ? Object.defineProperty(
|
|
5524
|
+
const n = Object.entries(t.$members$), s = e.prototype;
|
|
5525
|
+
if (n.map((([e, [n]]) => {
|
|
5526
|
+
(31 & n || (2 & o) && 32 & n) ? Object.defineProperty(s, e, {
|
|
5566
5527
|
get() {
|
|
5567
5528
|
return getValue(this, e);
|
|
5568
5529
|
},
|
|
@@ -5571,7 +5532,7 @@ const callRender = (e, t, o, n) => {
|
|
|
5571
5532
|
},
|
|
5572
5533
|
configurable: !0,
|
|
5573
5534
|
enumerable: !0
|
|
5574
|
-
}) : 1 & o && 64 & n && Object.defineProperty(
|
|
5535
|
+
}) : 1 & o && 64 & n && Object.defineProperty(s, e, {
|
|
5575
5536
|
value(...t) {
|
|
5576
5537
|
const o = getHostRef(this);
|
|
5577
5538
|
return o.$onInstancePromise$.then((() => o.$lazyInstance$[e](...t)));
|
|
@@ -5579,37 +5540,24 @@ const callRender = (e, t, o, n) => {
|
|
|
5579
5540
|
});
|
|
5580
5541
|
})), (1 & o)) {
|
|
5581
5542
|
const o = new Map;
|
|
5582
|
-
|
|
5543
|
+
s.attributeChangedCallback = function(e, t, n) {
|
|
5583
5544
|
plt.jmp((() => {
|
|
5584
|
-
const
|
|
5585
|
-
if (this.hasOwnProperty(
|
|
5586
|
-
|
|
5587
|
-
if (null == a) {
|
|
5588
|
-
const o = getHostRef(this), l = null == o ? void 0 : o.$flags$;
|
|
5589
|
-
if (!(8 & l) && 128 & l && s !== n) {
|
|
5590
|
-
const a = o.$lazyInstance$ , r = t.$watchers$[e];
|
|
5591
|
-
null == r || r.forEach((t => {
|
|
5592
|
-
null != a[t] && a[t].call(a, s, n, e);
|
|
5593
|
-
}));
|
|
5594
|
-
}
|
|
5595
|
-
return;
|
|
5596
|
-
}
|
|
5597
|
-
}
|
|
5598
|
-
this[a] = (null !== s || "boolean" != typeof this[a]) && s;
|
|
5545
|
+
const t = o.get(e);
|
|
5546
|
+
if (this.hasOwnProperty(t)) n = this[t], delete this[t]; else if (s.hasOwnProperty(t) && "number" == typeof this[t] && this[t] == n) return;
|
|
5547
|
+
this[t] = (null !== n || "boolean" != typeof this[t]) && n;
|
|
5599
5548
|
}));
|
|
5600
|
-
}, e.observedAttributes =
|
|
5549
|
+
}, e.observedAttributes = n.filter((([e, t]) => 15 & t[0])).map((([e, n]) => {
|
|
5601
5550
|
const s = n[1] || e;
|
|
5602
5551
|
return o.set(s, e), 512 & n[0] && t.$attrsToReflect$.push([ e, s ]),
|
|
5603
5552
|
s;
|
|
5604
|
-
}))
|
|
5553
|
+
}));
|
|
5605
5554
|
}
|
|
5606
5555
|
}
|
|
5607
5556
|
return e;
|
|
5608
|
-
}, initializeComponent = async (e, t, o, n) => {
|
|
5609
|
-
let s;
|
|
5557
|
+
}, initializeComponent = async (e, t, o, n, s) => {
|
|
5610
5558
|
if (0 == (32 & t.$flags$)) {
|
|
5611
5559
|
if (t.$flags$ |= 32, BUILD.lazyLoad ) {
|
|
5612
|
-
if (s = loadModule(o)
|
|
5560
|
+
if ((s = loadModule(o)).then) {
|
|
5613
5561
|
const e = (() => {});
|
|
5614
5562
|
s = await s, e();
|
|
5615
5563
|
}
|
|
@@ -5641,7 +5589,7 @@ const callRender = (e, t, o, n) => {
|
|
|
5641
5589
|
}, connectedCallback = e => {
|
|
5642
5590
|
if (0 == (1 & plt.$flags$)) {
|
|
5643
5591
|
const t = getHostRef(e), o = t.$cmpMeta$, n = createTime("connectedCallback", o.$tagName$);
|
|
5644
|
-
if (1 & t.$flags$) addHostEventListeners(e, t, o.$listeners$),
|
|
5592
|
+
if (1 & t.$flags$) addHostEventListeners(e, t, o.$listeners$), fireConnectedCallback(t.$lazyInstance$); else {
|
|
5645
5593
|
let n;
|
|
5646
5594
|
if (t.$flags$ |= 1, (n = e.getAttribute("s-id"), n)) {
|
|
5647
5595
|
((e, t, o, n) => {
|
|
@@ -6078,7 +6026,7 @@ class Banner {
|
|
|
6078
6026
|
}; }
|
|
6079
6027
|
}
|
|
6080
6028
|
|
|
6081
|
-
const buttonCss = "/*!@:host*/.sc-road-button-h{--border-radius:0.25rem;--font-size:var(--road-button-medium);--margin-bottom:1rem;--padding-start:1.5rem;--padding-end:1.5rem;box-sizing:border-box;display:inline-flex;display:-webkit-inline-flex;align-items:center;justify-content:center;height:3rem;padding:0;margin-bottom:var(--margin-bottom);font-family:var(--road-font, sans-serif);font-size:var(--font-size);font-weight:700;line-height:1.375;color:var(--road-grey-10);text-decoration:none;white-space:nowrap;vertical-align:middle;background:transparent;border:1px solid transparent;border-radius:var(--border-radius);transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}/*!@:host(:hover)*/.sc-road-button-h:hover{text-decoration:none}/*!@:host(.focus-visible)*/.focus-visible.sc-road-button-h{outline:0}/*!@.button-native*/.button-native.sc-road-button{position:relative;display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;padding:0 var(--padding-end) 0 var(--padding-start);margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border:none;outline:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}/*!@:host(.btn-default:not([disabled]).focus-visible)*/.btn-default.sc-road-button-h:not([disabled]).focus-visible{background:var(--road-grey-80)}/*!@:host(.btn-primary)*/.btn-primary.sc-road-button-h{color:var(--road-on-button-primary);background:var(--road-button-primary)}/*!@:host(.btn-primary) ::slotted(road-icon)*/.sc-road-button-h.btn-primary .sc-road-button-s>road-icon{color:var(--road-on-button-primary)}/*!@:host(.btn-primary:not([disabled]):hover),\n:host(.btn-primary:not([disabled]).focus-visible)*/.btn-primary.sc-road-button-h:not([disabled]):hover,.btn-primary.sc-road-button-h:not([disabled]).focus-visible{background:var(--road-button-primary-variant)}/*!@:host(.btn-secondary)*/.btn-secondary.sc-road-button-h{color:var(--road-on-button-secondary);background:var(--road-button-secondary)}/*!@:host(.btn-secondary) ::slotted(road-icon)*/.sc-road-button-h.btn-secondary .sc-road-button-s>road-icon{color:var(--road-on-button-secondary)}/*!@:host(.btn-secondary:not([disabled]):hover),\n:host(.btn-secondary:not([disabled]).focus-visible)*/.btn-secondary.sc-road-button-h:not([disabled]):hover,.btn-secondary.sc-road-button-h:not([disabled]).focus-visible{background:var(--road-button-secondary-variant)}/*!@:host(.btn-link)*/.btn-link.sc-road-button-h{font-weight:400;color:var(--road-link-primary);text-decoration:underline;background:transparent}/*!@:host(.btn-link:not([disabled]):hover),\n:host(.btn-link:not([disabled]).focus-visible)*/.btn-link.sc-road-button-h:not([disabled]):hover,.btn-link.sc-road-button-h:not([disabled]).focus-visible{color:var(--road-primary-30)}/*!@:host(.btn-outline-primary),\n:host(.btn-outline-secondary),\n:host(.btn-outline-default)*/.btn-outline-primary.sc-road-button-h,.btn-outline-secondary.sc-road-button-h,.btn-outline-default.sc-road-button-h{background:transparent}/*!@:host(.btn-outline-default)*/.btn-outline-default.sc-road-button-h{color:var(--road-on-surface-weak);background:var(--road-surface);border-color:var(--road-outline)}/*!@:host(.btn-outline-default) ::slotted(road-icon)*/.sc-road-button-h.btn-outline-default .sc-road-button-s>road-icon{color:var(--road-on-surface-weak)}/*!@:host(.btn-outline-default:hover),\n:host(.btn-outline-default.focus-visible)*/.btn-outline-default.sc-road-button-h:hover,.btn-outline-default.focus-visible.sc-road-button-h{background:var(--road-grey-80)}/*!@:host(.btn-ghost) ::slotted(road-icon)*/.sc-road-button-h.btn-ghost .sc-road-button-s>road-icon{color:var(--road-icon)}/*!@:host(.btn-ghost:hover),\n:host(.btn-ghost.focus-visible)*/.btn-ghost.sc-road-button-h:hover,.btn-ghost.focus-visible.sc-road-button-h{background:var(--road-button-ghost-variant)}/*!@:host(.btn-outline-primary)*/.btn-outline-primary.sc-road-button-h{color:var(--road-button-primary);border-color:var(--road-button-primary)}/*!@:host(.btn-outline-primary) ::slotted(road-icon)*/.sc-road-button-h.btn-outline-primary .sc-road-button-s>road-icon{color:var(--road-button-primary)}/*!@:host(.btn-outline-primary:hover),\n:host(.btn-outline-primary.focus-visible)*/.btn-outline-primary.sc-road-button-h:hover,.btn-outline-primary.focus-visible.sc-road-button-h{background:var(--road-button-tertiary-variant)}/*!@:host(.btn-outline-secondary)*/.btn-outline-secondary.sc-road-button-h{color:var(--road-button-secondary);border-color:var(--road-button-secondary)}/*!@:host(.btn-outline-secondary) ::slotted(road-icon)*/.sc-road-button-h.btn-outline-secondary .sc-road-button-s>road-icon{color:var(--road-button-secondary)}/*!@:host(.btn-outline-secondary:hover),\n:host(.btn-outline-secondary.focus-visible)*/.btn-outline-secondary.sc-road-button-h:hover,.btn-outline-secondary.focus-visible.sc-road-button-h{background:var(--road-button-tertiary-variant)}/*!@:host([aria-disabled])*/[aria-disabled].sc-road-button-h{color:var(--road-on-surface-disabled);pointer-events:none;background-color:var(--road-surface-disabled)}/*!@:host([aria-disabled]) ::slotted(road-icon)*/.sc-road-button-h[aria-disabled] .sc-road-button-s>road-icon{color:var(--road-on-surface-disabled)}/*!@.button-native:disabled*/.button-native.sc-road-button:disabled{cursor:not-allowed}/*!@::slotted([slot=\"start\"])*/.sc-road-button-s>[slot=\"start\"]{margin-right:0.5rem}/*!@::slotted([slot=\"end\"])*/.sc-road-button-s>[slot=\"end\"]{margin-left:0.5rem}/*!@:host(.btn-xl)*/.btn-xl.sc-road-button-h{height:3.5rem}/*!@:host(.btn-xl) ::slotted(road-icon)*/.sc-road-button-h.btn-xl .sc-road-button-s>road-icon{width:2rem;height:2rem}/*!@:host(.btn-icon.btn-xl)*/.btn-icon.btn-xl.sc-road-button-h{width:56px}/*!@:host(.btn-lg)*/.btn-lg.sc-road-button-h{height:3rem}/*!@:host(.btn-lg) ::slotted(road-icon)*/.sc-road-button-h.btn-lg .sc-road-button-s>road-icon{width:2rem;height:2rem}/*!@:host(.btn-icon.btn-lg)*/.btn-icon.btn-lg.sc-road-button-h{width:48px}/*!@:host(.btn-md)*/.btn-md.sc-road-button-h{--font-size:var(--road-font-size-14);height:2.5rem}/*!@:host(.btn-md) ::slotted(road-icon)*/.sc-road-button-h.btn-md .sc-road-button-s>road-icon{width:1.5rem;height:1.5rem}/*!@:host(.btn-icon.btn-md)*/.btn-icon.btn-md.sc-road-button-h{width:40px}/*!@:host(.btn-sm)*/.btn-sm.sc-road-button-h{--font-size:var(--road-font-size-14);height:2rem}/*!@:host(.btn-sm) ::slotted(road-icon)*/.sc-road-button-h.btn-sm .sc-road-button-s>road-icon{width:1.25rem;height:1.25rem}/*!@:host(.btn-icon.btn-sm)*/.btn-icon.btn-sm.sc-road-button-h{width:32px}/*!@:host(.btn-block)*/.btn-block.sc-road-button-h{width:100%}/*!@:host(.btn-icon) .button-native*/.btn-icon.sc-road-button-h .button-native.sc-road-button{padding:0}/*!@::slotted(road-badge)*/.sc-road-button-s>road-badge{position:absolute;top:4px;left:calc(50% + 0.375rem);box-sizing:border-box;height:auto}";
|
|
6029
|
+
const buttonCss = "/*!@:host*/.sc-road-button-h{--border-radius:0.25rem;--font-size:var(--road-button-medium);--margin-bottom:1rem;--padding-start:1.5rem;--padding-end:1.5rem;box-sizing:border-box;display:inline-flex;display:-webkit-inline-flex;align-items:center;justify-content:center;height:3rem;padding:0;margin-bottom:var(--margin-bottom);font-family:var(--road-font, sans-serif);font-size:var(--font-size);font-weight:700;line-height:1.375;color:var(--road-grey-10);text-decoration:none;white-space:nowrap;vertical-align:middle;background:transparent;border:1px solid transparent;border-radius:var(--border-radius);transition:background 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}/*!@:host(:hover)*/.sc-road-button-h:hover{text-decoration:none}/*!@:host(.focus-visible)*/.focus-visible.sc-road-button-h{outline:0}/*!@.button-native*/.button-native.sc-road-button{position:relative;display:flex;flex-flow:row nowrap;flex-shrink:0;align-items:center;justify-content:center;width:100%;height:100%;padding:0 var(--padding-end) 0 var(--padding-start);margin:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border:none;outline:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}/*!@:host(.btn-default:not([disabled]).focus-visible)*/.btn-default.sc-road-button-h:not([disabled]).focus-visible{background:var(--road-grey-80)}/*!@:host(.btn-primary)*/.btn-primary.sc-road-button-h{color:var(--road-on-button-primary);background:var(--road-button-primary)}/*!@:host(.btn-primary) ::slotted(road-icon)*/.sc-road-button-h.btn-primary .sc-road-button-s>road-icon{color:var(--road-on-button-primary)}/*!@:host(.btn-primary:not([disabled]):hover),\n:host(.btn-primary:not([disabled]).focus-visible)*/.btn-primary.sc-road-button-h:not([disabled]):hover,.btn-primary.sc-road-button-h:not([disabled]).focus-visible{background:var(--road-button-primary-variant)}/*!@:host(.btn-secondary)*/.btn-secondary.sc-road-button-h{color:var(--road-on-button-secondary);background:var(--road-button-secondary)}/*!@:host(.btn-secondary) ::slotted(road-icon)*/.sc-road-button-h.btn-secondary .sc-road-button-s>road-icon{color:var(--road-on-button-secondary)}/*!@:host(.btn-secondary:not([disabled]):hover),\n:host(.btn-secondary:not([disabled]).focus-visible)*/.btn-secondary.sc-road-button-h:not([disabled]):hover,.btn-secondary.sc-road-button-h:not([disabled]).focus-visible{background:var(--road-button-secondary-variant)}/*!@:host(.btn-link)*/.btn-link.sc-road-button-h{font-weight:400;color:var(--road-link-primary);text-decoration:underline;background:transparent}/*!@:host(.btn-link:not([disabled]):hover),\n:host(.btn-link:not([disabled]).focus-visible)*/.btn-link.sc-road-button-h:not([disabled]):hover,.btn-link.sc-road-button-h:not([disabled]).focus-visible{color:var(--road-primary-30)}/*!@:host(.btn-outline-primary),\n:host(.btn-outline-secondary),\n:host(.btn-outline-default)*/.btn-outline-primary.sc-road-button-h,.btn-outline-secondary.sc-road-button-h,.btn-outline-default.sc-road-button-h{background:transparent}/*!@:host(.btn-outline-default)*/.btn-outline-default.sc-road-button-h{color:var(--road-on-surface-weak);background:var(--road-surface);border-color:var(--road-outline)}/*!@:host(.btn-outline-default) ::slotted(road-icon)*/.sc-road-button-h.btn-outline-default .sc-road-button-s>road-icon{color:var(--road-on-surface-weak)}/*!@:host(.btn-outline-default:hover),\n:host(.btn-outline-default.focus-visible)*/.btn-outline-default.sc-road-button-h:hover,.btn-outline-default.focus-visible.sc-road-button-h{background:var(--road-grey-80)}/*!@:host(.btn-ghost) ::slotted(road-icon)*/.sc-road-button-h.btn-ghost .sc-road-button-s>road-icon{color:var(--road-icon)}/*!@:host(.btn-ghost:hover),\n:host(.btn-ghost.focus-visible)*/.btn-ghost.sc-road-button-h:hover,.btn-ghost.focus-visible.sc-road-button-h{background:var(--road-button-ghost-variant)}/*!@:host(.btn-outline-primary)*/.btn-outline-primary.sc-road-button-h{color:var(--road-button-primary);border-color:var(--road-button-primary)}/*!@:host(.btn-outline-primary) ::slotted(road-icon)*/.sc-road-button-h.btn-outline-primary .sc-road-button-s>road-icon{color:var(--road-button-primary)}/*!@:host(.btn-outline-primary:hover),\n:host(.btn-outline-primary.focus-visible)*/.btn-outline-primary.sc-road-button-h:hover,.btn-outline-primary.focus-visible.sc-road-button-h{background:var(--road-button-tertiary-variant)}/*!@:host(.btn-outline-secondary)*/.btn-outline-secondary.sc-road-button-h{color:var(--road-button-secondary);border-color:var(--road-button-secondary)}/*!@:host(.btn-outline-secondary) ::slotted(road-icon)*/.sc-road-button-h.btn-outline-secondary .sc-road-button-s>road-icon{color:var(--road-button-secondary)}/*!@:host(.btn-outline-secondary:hover),\n:host(.btn-outline-secondary.focus-visible)*/.btn-outline-secondary.sc-road-button-h:hover,.btn-outline-secondary.focus-visible.sc-road-button-h{background:var(--road-button-tertiary-variant)}/*!@:host([aria-disabled])*/[aria-disabled].sc-road-button-h{color:var(--road-on-surface-disabled);pointer-events:none;cursor:not-allowed;background-color:var(--road-surface-disabled);border-color:1px solid var(--road-surface-disabled)}/*!@:host([aria-disabled]) ::slotted(road-icon)*/.sc-road-button-h[aria-disabled] .sc-road-button-s>road-icon{color:var(--road-on-surface-disabled)}/*!@.button-native:disabled*/.button-native.sc-road-button:disabled{cursor:not-allowed}/*!@::slotted([slot=\"start\"])*/.sc-road-button-s>[slot=\"start\"]{margin-right:0.5rem}/*!@::slotted([slot=\"end\"])*/.sc-road-button-s>[slot=\"end\"]{margin-left:0.5rem}/*!@:host(.btn-xl)*/.btn-xl.sc-road-button-h{height:3.5rem}/*!@:host(.btn-xl) ::slotted(road-icon)*/.sc-road-button-h.btn-xl .sc-road-button-s>road-icon{width:2rem;height:2rem}/*!@:host(.btn-icon.btn-xl)*/.btn-icon.btn-xl.sc-road-button-h{width:56px}/*!@:host(.btn-lg)*/.btn-lg.sc-road-button-h{height:3rem}/*!@:host(.btn-lg) ::slotted(road-icon)*/.sc-road-button-h.btn-lg .sc-road-button-s>road-icon{width:2rem;height:2rem}/*!@:host(.btn-icon.btn-lg)*/.btn-icon.btn-lg.sc-road-button-h{width:48px}/*!@:host(.btn-md)*/.btn-md.sc-road-button-h{--font-size:var(--road-font-size-14);height:2.5rem}/*!@:host(.btn-md) ::slotted(road-icon)*/.sc-road-button-h.btn-md .sc-road-button-s>road-icon{width:1.5rem;height:1.5rem}/*!@:host(.btn-icon.btn-md)*/.btn-icon.btn-md.sc-road-button-h{width:40px}/*!@:host(.btn-sm)*/.btn-sm.sc-road-button-h{--font-size:var(--road-font-size-14);height:2rem}/*!@:host(.btn-sm) ::slotted(road-icon)*/.sc-road-button-h.btn-sm .sc-road-button-s>road-icon{width:1.25rem;height:1.25rem}/*!@:host(.btn-icon.btn-sm)*/.btn-icon.btn-sm.sc-road-button-h{width:32px}/*!@:host(.btn-block)*/.btn-block.sc-road-button-h{width:100%}/*!@:host(.btn-icon) .button-native*/.btn-icon.sc-road-button-h .button-native.sc-road-button{padding:0}/*!@::slotted(road-badge)*/.sc-road-button-s>road-badge{position:absolute;top:4px;left:calc(50% + 0.375rem);box-sizing:border-box;height:auto}";
|
|
6082
6030
|
|
|
6083
6031
|
/**
|
|
6084
6032
|
* @slot - Content of the button.
|
|
@@ -14503,7 +14451,7 @@ class Input {
|
|
|
14503
14451
|
}
|
|
14504
14452
|
let inputIds = 0;
|
|
14505
14453
|
|
|
14506
|
-
const inputGroupCss = "/*!@:host*/.sc-road-input-group-h{display:block}/*!@.input-group*/.input-group.sc-road-input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;font-family:var(--road-font, sans-serif)}/*!@::slotted(road-input),\n::slotted(input),\n::slotted(textarea),\n::slotted(road-select)*/.sc-road-input-group-s>road-input,.sc-road-input-group-s>input,.sc-road-input-group-s>textarea,.sc-road-input-group-s>road-select{position:relative;flex:1 1 auto;width:1%;margin-bottom:0}/*!@::slotted([slot=\"prepend\"])*/.sc-road-input-group-s>[slot=\"prepend\"]{margin-right:-3px;border-color:var(--road-input-outline);border-right-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}/*!@::slotted([slot=\"append\"])*/.sc-road-input-group-s>[slot=\"append\"]{margin-left:-0.25rem;border-color:var(--road-input-outline);border-left-width:0}@media (hover: hover){/*!@.input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"])*/.input-group:not(.is-disabled):hover .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant);border-right-color:transparent}/*!@.input-group:not(.is-disabled):hover ::slotted([slot=\"append\"])*/.input-group:not(.is-disabled):hover .sc-road-input-group-s>[slot=\"append\"]{border-color:var(--road-input-outline-variant);border-left-color:transparent}/*!@:host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group:not(.is-disabled):hover .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant)}}/*!@.input-group:focus-within ::slotted([slot=\"prepend\"])*/.input-group:focus-within .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant);border-right-color:transparent}/*!@:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group:focus-within .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant);border-right-color:transparent}/*!@.input-group:focus-within ::slotted([slot=\"append\"])*/.input-group:focus-within .sc-road-input-group-s>[slot=\"append\"]{border-color:var(--road-input-outline-variant);border-left-color:transparent}/*!@.input-group-prepend,\n.input-group-append*/.input-group-prepend.sc-road-input-group,.input-group-append.sc-road-input-group{display:flex;height:3rem}/*!@::slotted(road-button)*/.sc-road-input-group-s>road-button{--padding-start:0.5rem;--padding-end:0.5rem;position:relative;z-index:2;min-width:3rem;margin:0;font-size:var(--road-font-size-14)}/*!@.input-group-prepend*/.input-group-prepend.sc-road-input-group{z-index:1;order:-1}/*!@.input-group-prepend ~ .form-label*/.input-group-prepend.sc-road-input-group~.form-label.sc-road-input-group{left:calc(3rem + 1px)}/*!@.input-group-append*/.input-group-append.sc-road-input-group{position:relative;z-index:1;border-radius:0 0.25rem 0.25rem 0}/*!@::slotted(label)*/.sc-road-input-group-s>label{display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-on-surface);text-align:center;white-space:nowrap;cursor:text;background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}/*!@::slotted(road-input:not(:first-child)),\n::slotted(road-select:not(:first-child))*/.sc-road-input-group-s>road-input:not(:first-child),.sc-road-input-group-s>road-select:not(:first-child){border-radius:0}/*!@.input-group-append ::slotted([slot=\"append\"])*/.input-group-append .sc-road-input-group-s>[slot=\"append\"]{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}/*!@.input-group-prepend ::slotted([slot=\"prepend\"])*/.input-group-prepend .sc-road-input-group-s>[slot=\"prepend\"]{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}/*!@:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group-prepend .sc-road-input-group-s>[slot=\"prepend\"]{border-right:1px solid var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0}/*!@.input-group-prepend ::slotted(label)*/.input-group-prepend .sc-road-input-group-s>label{margin-right:calc(-1rem + 1px)}/*!@.input-group-append ::slotted(road-button)*/.input-group-append .sc-road-input-group-s>road-button{background-color:var(--road-surface)}/*!@.size-xl .input-group-prepend,\n.size-xl .input-group-append*/.size-xl.sc-road-input-group .input-group-prepend.sc-road-input-group,.size-xl.sc-road-input-group .input-group-append.sc-road-input-group{height:3.5rem}/*!@.size-xl ::slotted(road-button)*/.size-xl .sc-road-input-group-s>road-button{height:3.5rem}/*!@.input-group.is-invalid ::slotted([slot=\"append\"]),\n.input-group.is-invalid ::slotted([slot=\"prepend\"])*/.input-group.is-invalid .sc-road-input-group-s>[slot=\"append\"],.input-group.is-invalid
|
|
14454
|
+
const inputGroupCss = "/*!@:host*/.sc-road-input-group-h{display:block}/*!@.input-group*/.input-group.sc-road-input-group{position:relative;display:flex;flex-wrap:wrap;align-items:stretch;width:100%;font-family:var(--road-font, sans-serif)}/*!@::slotted(road-input),\n::slotted(input),\n::slotted(textarea),\n::slotted(road-select)*/.sc-road-input-group-s>road-input,.sc-road-input-group-s>input,.sc-road-input-group-s>textarea,.sc-road-input-group-s>road-select{position:relative;flex:1 1 auto;width:1%;margin-bottom:0}/*!@::slotted([slot=\"prepend\"])*/.sc-road-input-group-s>[slot=\"prepend\"]{margin-right:-3px;border-color:var(--road-input-outline);border-right-color:transparent;border-top-right-radius:0;border-bottom-right-radius:0}/*!@::slotted([slot=\"append\"])*/.sc-road-input-group-s>[slot=\"append\"]{margin-left:-0.25rem;border-color:var(--road-input-outline);border-left-width:0}@media (hover: hover){/*!@.input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"])*/.input-group:not(.is-disabled):hover .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant);border-right-color:transparent}/*!@.input-group:not(.is-disabled):hover ::slotted([slot=\"append\"])*/.input-group:not(.is-disabled):hover .sc-road-input-group-s>[slot=\"append\"]{border-color:var(--road-input-outline-variant);border-left-color:transparent}/*!@:host(.phone-number-group) .input-group:not(.is-disabled):hover ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group:not(.is-disabled):hover .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant)}}/*!@.input-group:focus-within ::slotted([slot=\"prepend\"])*/.input-group:focus-within .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant);border-right-color:transparent}/*!@:host(.phone-number-group) .input-group:focus-within ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group:focus-within .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-input-outline-variant);border-right-color:transparent}/*!@.input-group:focus-within ::slotted([slot=\"append\"])*/.input-group:focus-within .sc-road-input-group-s>[slot=\"append\"]{border-color:var(--road-input-outline-variant);border-left-color:transparent}/*!@.input-group-prepend,\n.input-group-append*/.input-group-prepend.sc-road-input-group,.input-group-append.sc-road-input-group{display:flex;height:3rem}/*!@::slotted(road-button)*/.sc-road-input-group-s>road-button{--padding-start:0.5rem;--padding-end:0.5rem;position:relative;z-index:2;min-width:3rem;margin:0;font-size:var(--road-font-size-14)}/*!@.input-group-prepend*/.input-group-prepend.sc-road-input-group{z-index:1;order:-1}/*!@.input-group-prepend ~ .form-label*/.input-group-prepend.sc-road-input-group~.form-label.sc-road-input-group{left:calc(3rem + 1px)}/*!@.input-group-append*/.input-group-append.sc-road-input-group{position:relative;z-index:1;border-radius:0 0.25rem 0.25rem 0}/*!@::slotted(label)*/.sc-road-input-group-s>label{display:flex;align-items:center;padding:0 0.5rem;margin-bottom:0;color:var(--road-on-surface);text-align:center;white-space:nowrap;cursor:text;background:var(--road-surface);border:1px solid var(--road-input-outline);border-radius:0.25rem;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}/*!@::slotted(road-input:not(:first-child)),\n::slotted(road-select:not(:first-child))*/.sc-road-input-group-s>road-input:not(:first-child),.sc-road-input-group-s>road-select:not(:first-child){border-radius:0}/*!@.input-group-append ::slotted([slot=\"append\"])*/.input-group-append .sc-road-input-group-s>[slot=\"append\"]{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}/*!@.input-group-prepend ::slotted([slot=\"prepend\"])*/.input-group-prepend .sc-road-input-group-s>[slot=\"prepend\"]{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}/*!@:host(.phone-number-group) .input-group-prepend ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group-prepend .sc-road-input-group-s>[slot=\"prepend\"]{border-right:1px solid var(--road-input-outline);border-top-right-radius:0;border-bottom-right-radius:0}/*!@.input-group-prepend ::slotted(label)*/.input-group-prepend .sc-road-input-group-s>label{margin-right:calc(-1rem + 1px)}/*!@.input-group-append ::slotted(road-button)*/.input-group-append .sc-road-input-group-s>road-button{background-color:var(--road-surface)}/*!@.size-xl .input-group-prepend,\n.size-xl .input-group-append*/.size-xl.sc-road-input-group .input-group-prepend.sc-road-input-group,.size-xl.sc-road-input-group .input-group-append.sc-road-input-group{height:3.5rem}/*!@.size-xl ::slotted(road-button)*/.size-xl .sc-road-input-group-s>road-button{height:3.5rem}/*!@.input-group.is-invalid ::slotted([slot=\"append\"]),\n.input-group.is-invalid ::slotted([slot=\"prepend\"])*/.input-group.is-invalid .sc-road-input-group-s>[slot=\"append\"],.input-group.is-invalid .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-danger-outline)}/*!@:host(.phone-number-group) .input-group.is-invalid ::slotted([slot=\"prepend\"])*/.sc-road-input-group-h.phone-number-group .input-group.is-invalid .sc-road-input-group-s>[slot=\"prepend\"]{border-color:var(--road-danger-outline)}/*!@.input-group.is-disabled ::slotted([slot=\"append\"]),\n.input-group.is-disabled ::slotted([slot=\"prepend\"])*/.input-group.is-disabled .sc-road-input-group-s>[slot=\"append\"],.input-group.is-disabled .sc-road-input-group-s>[slot=\"prepend\"]{cursor:not-allowed;background:#e4e5e9}/*!@.is-disabled ::slotted(road-button)*/.is-disabled .sc-road-input-group-s>road-button{opacity:1}";
|
|
14507
14455
|
|
|
14508
14456
|
/**
|
|
14509
14457
|
* @slot prepend - Add icon or button before the field.
|
|
@@ -14636,7 +14584,7 @@ class Label {
|
|
|
14636
14584
|
}; }
|
|
14637
14585
|
}
|
|
14638
14586
|
|
|
14639
|
-
const listCss = "/*!@:host*/.sc-road-list-h{display:block;contain:content;list-style-type:none}/*!@:host(.list-lines-none) ::slotted(road-item)*/.sc-road-list-h.list-lines-none .sc-road-list-s>road-item{--border-width:0;--inner-border-width:0}/*!@:host(.list-lines-full)*/.list-lines-full.sc-road-list-h{border:1px solid var(--road-outline);border-bottom:0}/*!@:host(.list-lines-full),\n:host(.list-lines-full) ::slotted(road-item)*/.list-lines-full.sc-road-list-h,.sc-road-list-h.list-lines-full
|
|
14587
|
+
const listCss = "/*!@:host*/.sc-road-list-h{display:block;contain:content;list-style-type:none}/*!@:host(.list-lines-none) ::slotted(road-item)*/.sc-road-list-h.list-lines-none .sc-road-list-s>road-item{--border-width:0;--inner-border-width:0}/*!@:host(.list-lines-full)*/.list-lines-full.sc-road-list-h{border:1px solid var(--road-outline);border-bottom:0}/*!@:host(.list-lines-full),\n:host(.list-lines-full) ::slotted(road-item)*/.list-lines-full.sc-road-list-h,.sc-road-list-h.list-lines-full .sc-road-list-s>road-item{--border-width:0 0 1px 0;--inner-border-width:0}/*!@:host(.item-lines-inset),\n:host(.list-lines-inset) ::slotted(road-item)*/.item-lines-inset.sc-road-list-h,.sc-road-list-h.list-lines-inset .sc-road-list-s>road-item{--inner-border-width:0 0 1px 0}";
|
|
14640
14588
|
|
|
14641
14589
|
/**
|
|
14642
14590
|
* @slot - Content of the list, it should be road-item elements.
|
|
@@ -14792,7 +14740,7 @@ class Navbar {
|
|
|
14792
14740
|
}; }
|
|
14793
14741
|
}
|
|
14794
14742
|
|
|
14795
|
-
const navbarItemCss = "/*!@:host*/.sc-road-navbar-item-h{position:relative;box-sizing:border-box;display:flex;flex:1;flex-basis:0;flex-direction:column;flex-grow:1;align-items:center;justify-content:center;text-align:center;white-space:nowrap}@media (min-width: 1200px){/*!@:host*/.sc-road-navbar-item-h{flex-grow:inherit;width:100%;padding:0.5rem}}/*!@:host(.tab-selected),\n:host(.tab-selected) road-tooltip road-icon*/.tab-selected.sc-road-navbar-item-h,.tab-selected.sc-road-navbar-item-h road-tooltip.sc-road-navbar-item road-icon.sc-road-navbar-item{color:var(--road-on-button-tertiary);fill:var(--road-on-button-tertiary)}/*!@:host(.tab-selected)::after*/.tab-selected.sc-road-navbar-item-h::after{position:absolute;bottom:-12px;left:0;display:block;width:100%;height:4px;color:var(--road-on-button-tertiary);content:\"\";background-color:var(--road-on-button-tertiary)}@media (min-width: 1200px){/*!@:host(.tab-selected)::after*/.tab-selected.sc-road-navbar-item-h::after{bottom:auto;left:0;width:4px;height:100%}}/*!@:host(.focus-visible) ::slotted(road-icon),\n:host(.focus-visible) ::slotted(road-icon)::after,\n:host(.focus-visible) ::slotted(road-label),\n:host(.focus-visible) ::slotted(road-label)::after,\n:host(:hover) ::slotted(road-icon),\n:host(:hover) ::slotted(road-icon)::after,\n:host(:hover) ::slotted(road-label),\n:host(:hover) ::slotted(road-label)::after*/.sc-road-navbar-item-h.focus-visible .sc-road-navbar-item-s>road-icon,.sc-road-navbar-item-h.focus-visible
|
|
14743
|
+
const navbarItemCss = "/*!@:host*/.sc-road-navbar-item-h{position:relative;box-sizing:border-box;display:flex;flex:1;flex-basis:0;flex-direction:column;flex-grow:1;align-items:center;justify-content:center;text-align:center;white-space:nowrap}@media (min-width: 1200px){/*!@:host*/.sc-road-navbar-item-h{flex-grow:inherit;width:100%;padding:0.5rem}}/*!@:host(.tab-selected),\n:host(.tab-selected) road-tooltip road-icon*/.tab-selected.sc-road-navbar-item-h,.tab-selected.sc-road-navbar-item-h road-tooltip.sc-road-navbar-item road-icon.sc-road-navbar-item{color:var(--road-on-button-tertiary);fill:var(--road-on-button-tertiary)}/*!@:host(.tab-selected)::after*/.tab-selected.sc-road-navbar-item-h::after{position:absolute;bottom:-12px;left:0;display:block;width:100%;height:4px;color:var(--road-on-button-tertiary);content:\"\";background-color:var(--road-on-button-tertiary)}@media (min-width: 1200px){/*!@:host(.tab-selected)::after*/.tab-selected.sc-road-navbar-item-h::after{bottom:auto;left:0;width:4px;height:100%}}/*!@:host(.focus-visible) ::slotted(road-icon),\n:host(.focus-visible) ::slotted(road-icon)::after,\n:host(.focus-visible) ::slotted(road-label),\n:host(.focus-visible) ::slotted(road-label)::after,\n:host(:hover) ::slotted(road-icon),\n:host(:hover) ::slotted(road-icon)::after,\n:host(:hover) ::slotted(road-label),\n:host(:hover) ::slotted(road-label)::after*/.sc-road-navbar-item-h.focus-visible .sc-road-navbar-item-s>road-icon,.sc-road-navbar-item-h.focus-visible .sc-road-navbar-item-s>road-icon::after,.sc-road-navbar-item-h.focus-visible .sc-road-navbar-item-s>road-label,.sc-road-navbar-item-h.focus-visible .sc-road-navbar-item-s>road-label::after,.sc-road-navbar-item-h:hover .sc-road-navbar-item-s>road-icon,.sc-road-navbar-item-h:hover .sc-road-navbar-item-s>road-icon::after,.sc-road-navbar-item-h:hover .sc-road-navbar-item-s>road-label,.sc-road-navbar-item-h:hover .sc-road-navbar-item-s>road-label::after{color:var(--road-on-button-tertiary)}/*!@.button-native*/.button-native.sc-road-navbar-item{position:relative;box-sizing:border-box;display:flex;flex-direction:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%;margin:0;overflow:visible;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;color:inherit;text-align:inherit;text-decoration:none;text-indent:inherit;text-overflow:inherit;text-transform:inherit;letter-spacing:inherit;white-space:inherit;cursor:pointer;background:transparent;border-color:initial;border-style:initial;border-width:0;border-radius:inherit;border-image:initial;outline:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}/*!@.button-inner*/.button-inner.sc-road-navbar-item{position:relative;z-index:1;display:flex;flex-flow:inherit;align-items:inherit;justify-content:inherit;width:100%;height:100%}/*!@::slotted(road-icon)*/.sc-road-navbar-item-s>road-icon{display:block;width:2rem;height:2rem;margin-right:auto;margin-bottom:0.25rem;margin-left:auto;fill:currentColor}@media (min-width: 1200px){/*!@:host ::slotted(road-tooltip)*/.sc-road-navbar-item-h .sc-road-navbar-item-s>road-tooltip{width:100%}}/*!@::slotted(road-label)*/.sc-road-navbar-item-s>road-label{position:relative;box-sizing:border-box;display:flex;flex:1;flex-direction:column;font-size:var(--road-label-small);font-weight:700;text-align:center;white-space:nowrap}@media (min-width: 1200px){/*!@::slotted(road-label)*/.sc-road-navbar-item-s>road-label{display:block}}/*!@::slotted(road-badge)*/.sc-road-navbar-item-s>road-badge{position:absolute;top:4px;left:calc(50% + 0.375rem);z-index:1;box-sizing:border-box;height:auto;font-size:var(--road-font-size-10);font-weight:400}";
|
|
14796
14744
|
|
|
14797
14745
|
/**
|
|
14798
14746
|
* @slot - Content of the item, it should be road-icon and road-label elements.
|
|
@@ -16773,7 +16721,6 @@ class RoadPhoneNumberInput {
|
|
|
16773
16721
|
}
|
|
16774
16722
|
// On component load
|
|
16775
16723
|
componentWillLoad() {
|
|
16776
|
-
var _a;
|
|
16777
16724
|
this.placeErrorMessage();
|
|
16778
16725
|
let fromSelect = false;
|
|
16779
16726
|
if (this.phoneValue) {
|
|
@@ -16781,8 +16728,10 @@ class RoadPhoneNumberInput {
|
|
|
16781
16728
|
}
|
|
16782
16729
|
if (this.countryCode) {
|
|
16783
16730
|
this.selectedCountry = this.countryCode;
|
|
16784
|
-
|
|
16785
|
-
|
|
16731
|
+
if (this.getPhoneCodeFromCountryCode(this.countryCode)) {
|
|
16732
|
+
this.updateSelectedCountryCode(this.getPhoneCodeFromCountryCode(this.countryCode));
|
|
16733
|
+
fromSelect = true;
|
|
16734
|
+
}
|
|
16786
16735
|
}
|
|
16787
16736
|
this.updateCountryOptions();
|
|
16788
16737
|
this.createAndDispatchPhoneData(fromSelect);
|
|
@@ -17054,7 +17003,6 @@ class Select {
|
|
|
17054
17003
|
const select = ev.target;
|
|
17055
17004
|
if (select) {
|
|
17056
17005
|
this.value = select.value || '';
|
|
17057
|
-
this.value = this.addSelected();
|
|
17058
17006
|
}
|
|
17059
17007
|
};
|
|
17060
17008
|
this.onBlur = () => {
|
|
@@ -17084,10 +17032,11 @@ class Select {
|
|
|
17084
17032
|
this.roadChange.emit({
|
|
17085
17033
|
value: this.value,
|
|
17086
17034
|
});
|
|
17087
|
-
this.value = this.addSelected();
|
|
17088
17035
|
}
|
|
17089
17036
|
componentWillLoad() {
|
|
17090
|
-
this.value
|
|
17037
|
+
if (this.value) {
|
|
17038
|
+
this.addSelected();
|
|
17039
|
+
}
|
|
17091
17040
|
}
|
|
17092
17041
|
addSelected() {
|
|
17093
17042
|
var _a, _b;
|
|
@@ -20690,8 +20639,8 @@ function renderBuildDiagnostic(e, t, r, s) {
|
|
|
20690
20639
|
type: "build",
|
|
20691
20640
|
header: r,
|
|
20692
20641
|
messageText: s,
|
|
20693
|
-
relFilePath:
|
|
20694
|
-
absFilePath:
|
|
20642
|
+
relFilePath: null,
|
|
20643
|
+
absFilePath: null,
|
|
20695
20644
|
lines: []
|
|
20696
20645
|
};
|
|
20697
20646
|
return e.pathname ? "/" !== e.pathname && (n.header += ": " + e.pathname) : e.url && (n.header += ": " + e.url),
|
|
@@ -20909,7 +20858,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
20909
20858
|
line: r,
|
|
20910
20859
|
column: s
|
|
20911
20860
|
};
|
|
20912
|
-
return t => (t.position = new
|
|
20861
|
+
return t => (t.position = new z(e), m(), t);
|
|
20913
20862
|
}, a = o => {
|
|
20914
20863
|
const i = e.split("\n"), a = {
|
|
20915
20864
|
level: "error",
|
|
@@ -20954,7 +20903,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
20954
20903
|
}, d = () => {
|
|
20955
20904
|
let t;
|
|
20956
20905
|
const r = [];
|
|
20957
|
-
for (m(), h(r); e.length && "}" !== e.charAt(0) && (t =
|
|
20906
|
+
for (m(), h(r); e.length && "}" !== e.charAt(0) && (t = w() || A()); ) r.push(t),
|
|
20958
20907
|
h(r);
|
|
20959
20908
|
return r;
|
|
20960
20909
|
}, m = () => u(/^\s*/), h = e => {
|
|
@@ -21015,7 +20964,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21015
20964
|
};
|
|
21016
20965
|
return o[e] = n[1].trim(), s(o);
|
|
21017
20966
|
};
|
|
21018
|
-
}, E = S("import", 7), b = S("charset", 0),
|
|
20967
|
+
}, E = S("import", 7), b = S("charset", 0), T = S("namespace", 11), w = () => "@" !== e[0] ? null : (() => {
|
|
21019
20968
|
const e = i();
|
|
21020
20969
|
let t = u(/^@([-\w]+)?keyframes\s*/);
|
|
21021
20970
|
if (!t) return null;
|
|
@@ -21060,7 +21009,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21060
21009
|
supports: r,
|
|
21061
21010
|
rules: s
|
|
21062
21011
|
}) : a("@supports missing '}'");
|
|
21063
|
-
})() || E() || b() ||
|
|
21012
|
+
})() || E() || b() || T() || (() => {
|
|
21064
21013
|
const e = i(), t = u(/^@([-\w]+)?document *([^{]+)/);
|
|
21065
21014
|
if (!t) return null;
|
|
21066
21015
|
const r = trim(t[1]), s = trim(t[2]);
|
|
@@ -21103,7 +21052,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21103
21052
|
type: 5,
|
|
21104
21053
|
declarations: r
|
|
21105
21054
|
}) : a("@font-face missing '}'");
|
|
21106
|
-
})(),
|
|
21055
|
+
})(), A = () => {
|
|
21107
21056
|
const e = i(), t = f();
|
|
21108
21057
|
return t ? (h(), e({
|
|
21109
21058
|
type: 13,
|
|
@@ -21111,7 +21060,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21111
21060
|
declarations: y()
|
|
21112
21061
|
})) : a("selector missing");
|
|
21113
21062
|
};
|
|
21114
|
-
class
|
|
21063
|
+
class z {
|
|
21115
21064
|
constructor(e) {
|
|
21116
21065
|
this.start = e, this.end = {
|
|
21117
21066
|
line: r,
|
|
@@ -21119,7 +21068,7 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21119
21068
|
}, this.source = t;
|
|
21120
21069
|
}
|
|
21121
21070
|
}
|
|
21122
|
-
return
|
|
21071
|
+
return z.prototype.content = e, {
|
|
21123
21072
|
diagnostics: n,
|
|
21124
21073
|
...addParent((() => {
|
|
21125
21074
|
const e = d();
|
|
@@ -21160,62 +21109,54 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21160
21109
|
ids: [],
|
|
21161
21110
|
attrs: []
|
|
21162
21111
|
}, serializeCssVisitNode = (e, t, r, s) => {
|
|
21163
|
-
|
|
21164
|
-
|
|
21165
|
-
return 4 === o ? serializeCssDeclaration(t, r, s) : 13 === o ? serializeCssRule(e, t) : 1 === o ? "!" === (null === (n = t.comment) || void 0 === n ? void 0 : n[0]) ? `/*${t.comment}*/` : "" : 10 === o ? serializeCssMedia(e, t) : 8 === o ? serializeCssKeyframes(e, t) : 9 === o ? serializeCssKeyframe(e, t) : 5 === o ? serializeCssFontFace(e, t) : 15 === o ? serializeCssSupports(e, t) : 7 === o ? "@import " + t.import + ";" : 0 === o ? "@charset " + t.charset + ";" : 12 === o ? serializeCssPage(e, t) : 6 === o ? "@host{" + serializeCssMapVisit(e, t.rules) + "}" : 2 === o ? "@custom-media " + t.name + " " + t.media + ";" : 3 === o ? serializeCssDocument(e, t) : 11 === o ? "@namespace " + t.namespace + ";" : "";
|
|
21112
|
+
const n = t.type;
|
|
21113
|
+
return 4 === n ? serializeCssDeclaration(t, r, s) : 13 === n ? serializeCssRule(e, t) : 1 === n ? "!" === t.comment[0] ? `/*${t.comment}*/` : "" : 10 === n ? serializeCssMedia(e, t) : 8 === n ? serializeCssKeyframes(e, t) : 9 === n ? serializeCssKeyframe(e, t) : 5 === n ? serializeCssFontFace(e, t) : 15 === n ? serializeCssSupports(e, t) : 7 === n ? "@import " + t.import + ";" : 0 === n ? "@charset " + t.charset + ";" : 12 === n ? serializeCssPage(e, t) : 6 === n ? "@host{" + serializeCssMapVisit(e, t.rules) + "}" : 2 === n ? "@custom-media " + t.name + " " + t.media + ";" : 3 === n ? serializeCssDocument(e, t) : 11 === n ? "@namespace " + t.namespace + ";" : "";
|
|
21166
21114
|
}, serializeCssRule = (e, t) => {
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
if (
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
s = !1;
|
|
21115
|
+
const r = t.declarations, s = e.usedSelectors, n = t.selectors.slice();
|
|
21116
|
+
if (null == r || 0 === r.length) return "";
|
|
21117
|
+
if (s) {
|
|
21118
|
+
let t, r, o = !0;
|
|
21119
|
+
for (t = n.length - 1; t >= 0; t--) {
|
|
21120
|
+
const i = getCssSelectors(n[t]);
|
|
21121
|
+
o = !0;
|
|
21122
|
+
let a = i.classNames.length;
|
|
21123
|
+
if (a > 0 && e.hasUsedClassNames) for (r = 0; r < a; r++) if (!s.classNames.has(i.classNames[r])) {
|
|
21124
|
+
o = !1;
|
|
21178
21125
|
break;
|
|
21179
21126
|
}
|
|
21180
|
-
if (
|
|
21181
|
-
|
|
21127
|
+
if (o && e.hasUsedTags && (a = i.tags.length, a > 0)) for (r = 0; r < a; r++) if (!s.tags.has(i.tags[r])) {
|
|
21128
|
+
o = !1;
|
|
21182
21129
|
break;
|
|
21183
21130
|
}
|
|
21184
|
-
if (
|
|
21185
|
-
|
|
21131
|
+
if (o && e.hasUsedAttrs && (a = i.attrs.length, a > 0)) for (r = 0; r < a; r++) if (!s.attrs.has(i.attrs[r])) {
|
|
21132
|
+
o = !1;
|
|
21186
21133
|
break;
|
|
21187
21134
|
}
|
|
21188
|
-
if (
|
|
21189
|
-
|
|
21135
|
+
if (o && e.hasUsedIds && (a = i.ids.length, a > 0)) for (r = 0; r < a; r++) if (!s.ids.has(i.ids[r])) {
|
|
21136
|
+
o = !1;
|
|
21190
21137
|
break;
|
|
21191
21138
|
}
|
|
21192
|
-
|
|
21139
|
+
o || n.splice(t, 1);
|
|
21193
21140
|
}
|
|
21194
21141
|
}
|
|
21195
|
-
if (0 ===
|
|
21196
|
-
const
|
|
21197
|
-
let
|
|
21198
|
-
|
|
21199
|
-
return `${
|
|
21142
|
+
if (0 === n.length) return "";
|
|
21143
|
+
const o = [];
|
|
21144
|
+
let i = "";
|
|
21145
|
+
for (const e of t.selectors) i = removeSelectorWhitespace(e), o.includes(i) || o.push(i);
|
|
21146
|
+
return `${o}{${serializeCssMapVisit(e, r)}}`;
|
|
21200
21147
|
}, serializeCssDeclaration = (e, t, r) => "" === e.value ? "" : r - 1 === t ? e.property + ":" + e.value : e.property + ":" + e.value + ";", serializeCssMedia = (e, t) => {
|
|
21201
21148
|
const r = serializeCssMapVisit(e, t.rules);
|
|
21202
21149
|
return "" === r ? "" : "@media " + removeMediaWhitespace(t.media) + "{" + r + "}";
|
|
21203
21150
|
}, serializeCssKeyframes = (e, t) => {
|
|
21204
21151
|
const r = serializeCssMapVisit(e, t.keyframes);
|
|
21205
21152
|
return "" === r ? "" : "@" + (t.vendor || "") + "keyframes " + t.name + "{" + r + "}";
|
|
21206
|
-
}, serializeCssKeyframe = (e, t) => {
|
|
21207
|
-
var r, s;
|
|
21208
|
-
return (null !== (s = null === (r = t.values) || void 0 === r ? void 0 : r.join(",")) && void 0 !== s ? s : "") + "{" + serializeCssMapVisit(e, t.declarations) + "}";
|
|
21209
|
-
}, serializeCssFontFace = (e, t) => {
|
|
21153
|
+
}, serializeCssKeyframe = (e, t) => t.values.join(",") + "{" + serializeCssMapVisit(e, t.declarations) + "}", serializeCssFontFace = (e, t) => {
|
|
21210
21154
|
const r = serializeCssMapVisit(e, t.declarations);
|
|
21211
21155
|
return "" === r ? "" : "@font-face{" + r + "}";
|
|
21212
21156
|
}, serializeCssSupports = (e, t) => {
|
|
21213
21157
|
const r = serializeCssMapVisit(e, t.rules);
|
|
21214
21158
|
return "" === r ? "" : "@supports " + t.supports + "{" + r + "}";
|
|
21215
|
-
}, serializeCssPage = (e, t) => {
|
|
21216
|
-
var r, s;
|
|
21217
|
-
return "@page " + (null !== (s = null === (r = t.selectors) || void 0 === r ? void 0 : r.join(", ")) && void 0 !== s ? s : "") + "{" + serializeCssMapVisit(e, t.declarations) + "}";
|
|
21218
|
-
}, serializeCssDocument = (e, t) => {
|
|
21159
|
+
}, serializeCssPage = (e, t) => "@page " + t.selectors.join(", ") + "{" + serializeCssMapVisit(e, t.declarations) + "}", serializeCssDocument = (e, t) => {
|
|
21219
21160
|
const r = serializeCssMapVisit(e, t.rules), s = "@" + (t.vendor || "") + "document " + t.document;
|
|
21220
21161
|
return "" === r ? "" : s + "{" + r + "}";
|
|
21221
21162
|
}, serializeCssMapVisit = (e, t) => {
|
|
@@ -21232,14 +21173,12 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21232
21173
|
} else t += r;
|
|
21233
21174
|
return t;
|
|
21234
21175
|
}, removeMediaWhitespace = e => {
|
|
21235
|
-
|
|
21236
|
-
let
|
|
21237
|
-
|
|
21238
|
-
|
|
21239
|
-
|
|
21240
|
-
|
|
21241
|
-
} else r += s;
|
|
21242
|
-
return r;
|
|
21176
|
+
let t = "", r = "";
|
|
21177
|
+
for (let s = 0, n = (e = e.trim()).length; s < n; s++) if (r = e[s], CSS_WS_REG.test(r)) {
|
|
21178
|
+
if (CSS_WS_REG.test(t[t.length - 1])) continue;
|
|
21179
|
+
t += " ";
|
|
21180
|
+
} else t += r;
|
|
21181
|
+
return t;
|
|
21243
21182
|
}, CSS_WS_REG = /\s/, CSS_NEXT_CHAR_REG = /[>\(\)\~\,\+\s]/, CSS_PREV_CHAR_REG = /[>\(\~\,\+]/, collectUsedSelectors = (e, t) => {
|
|
21244
21183
|
if (null != t && 1 === t.nodeType) {
|
|
21245
21184
|
const r = t.children, s = t.nodeName.toLowerCase();
|
|
@@ -21276,6 +21215,8 @@ const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e |
|
|
|
21276
21215
|
type: "build",
|
|
21277
21216
|
header: "Build Error",
|
|
21278
21217
|
messageText: "build error",
|
|
21218
|
+
relFilePath: null,
|
|
21219
|
+
absFilePath: null,
|
|
21279
21220
|
lines: []
|
|
21280
21221
|
};
|
|
21281
21222
|
null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.length ? t.message : "UNKNOWN ERROR" : s.messageText = t.toString()),
|