@eox/itemfilter 1.6.2 → 1.7.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/eox-itemfilter.js +339 -321
- package/dist/eox-itemfilter.umd.cjs +63 -46
- package/package.json +2 -2
- package/src/methods/results/create.js +14 -1
- package/src/style.eox.js +5 -1
- package/types/methods/results/create.d.ts.map +1 -1
- package/types/style.eox.d.ts +1 -1
- package/types/style.eox.d.ts.map +1 -1
package/dist/eox-itemfilter.js
CHANGED
|
@@ -45,7 +45,7 @@ const fa = (t) => new ha(typeof t == "string" ? t : t + "", void 0, Fs), pa = (t
|
|
|
45
45
|
* Copyright 2017 Google LLC
|
|
46
46
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
47
|
*/
|
|
48
|
-
const { is: ga, defineProperty: ya, getOwnPropertyDescriptor: ba, getOwnPropertyNames: ma, getOwnPropertySymbols: va, getPrototypeOf: wa } = Object,
|
|
48
|
+
const { is: ga, defineProperty: ya, getOwnPropertyDescriptor: ba, getOwnPropertyNames: ma, getOwnPropertySymbols: va, getPrototypeOf: wa } = Object, zt = globalThis, ms = zt.trustedTypes, xa = ms ? ms.emptyScript : "", Si = zt.reactiveElementPolyfillSupport, yn = (t, e) => t, ji = { toAttribute(t, e) {
|
|
49
49
|
switch (e) {
|
|
50
50
|
case Boolean:
|
|
51
51
|
t = t ? xa : null;
|
|
@@ -74,7 +74,7 @@ const { is: ga, defineProperty: ya, getOwnPropertyDescriptor: ba, getOwnProperty
|
|
|
74
74
|
}
|
|
75
75
|
return r;
|
|
76
76
|
} }, Zs = (t, e) => !ga(t, e), vs = { attribute: !0, type: String, converter: ji, reflect: !1, hasChanged: Zs };
|
|
77
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
77
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), zt.litPropertyMetadata ?? (zt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
78
78
|
class Dr extends HTMLElement {
|
|
79
79
|
static addInitializer(e) {
|
|
80
80
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
@@ -273,7 +273,7 @@ class Dr extends HTMLElement {
|
|
|
273
273
|
firstUpdated(e) {
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
Dr.elementStyles = [], Dr.shadowRootOptions = { mode: "open" }, Dr[yn("elementProperties")] = /* @__PURE__ */ new Map(), Dr[yn("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: Dr }), (
|
|
276
|
+
Dr.elementStyles = [], Dr.shadowRootOptions = { mode: "open" }, Dr[yn("elementProperties")] = /* @__PURE__ */ new Map(), Dr[yn("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: Dr }), (zt.reactiveElementVersions ?? (zt.reactiveElementVersions = [])).push("2.0.4");
|
|
277
277
|
/**
|
|
278
278
|
* @license
|
|
279
279
|
* Copyright 2017 Google LLC
|
|
@@ -281,7 +281,7 @@ Dr.elementStyles = [], Dr.shadowRootOptions = { mode: "open" }, Dr[yn("elementPr
|
|
|
281
281
|
*/
|
|
282
282
|
const bn = globalThis, Xn = bn.trustedTypes, ws = Xn ? Xn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ss = "$lit$", Ot = `lit$${Math.random().toFixed(9).slice(2)}$`, os = "?" + Ot, $a = `<${os}>`, ur = document, mn = () => ur.createComment(""), vn = (t) => t === null || typeof t != "object" && typeof t != "function", as = Array.isArray, Xs = (t) => as(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ei = `[
|
|
283
283
|
\f\r]`, fn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xs = /-->/g, $s = />/g, or = RegExp(`>|${Ei}(?:([^\\s"'>=/]+)(${Ei}*=${Ei}*(?:[^
|
|
284
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), _s = /'/g, As = /"/g, Js = /^(?:script|style|textarea|title)$/i, _a = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }),
|
|
284
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), _s = /'/g, As = /"/g, Js = /^(?:script|style|textarea|title)$/i, _a = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), re = _a(1), Ut = Symbol.for("lit-noChange"), Me = Symbol.for("lit-nothing"), Ms = /* @__PURE__ */ new WeakMap(), cr = ur.createTreeWalker(ur, 129);
|
|
285
285
|
function Qs(t, e) {
|
|
286
286
|
if (!as(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
287
287
|
return ws !== void 0 ? ws.createHTML(e) : e;
|
|
@@ -337,7 +337,7 @@ class wn {
|
|
|
337
337
|
}
|
|
338
338
|
function dr(t, e, r = t, n) {
|
|
339
339
|
var o, l;
|
|
340
|
-
if (e ===
|
|
340
|
+
if (e === Ut) return e;
|
|
341
341
|
let i = n !== void 0 ? (o = r._$Co) == null ? void 0 : o[n] : r._$Cl;
|
|
342
342
|
const s = vn(e) ? void 0 : e._$litDirective$;
|
|
343
343
|
return (i == null ? void 0 : i.constructor) !== s && ((l = i == null ? void 0 : i._$AO) == null || l.call(i, !1), s === void 0 ? i = void 0 : (i = new s(t), i._$AT(t, r, n)), n !== void 0 ? (r._$Co ?? (r._$Co = []))[n] = i : r._$Cl = i), i !== void 0 && (e = dr(t, i._$AS(t, e.values), i, n)), e;
|
|
@@ -359,7 +359,7 @@ let to = class {
|
|
|
359
359
|
for (; c !== void 0; ) {
|
|
360
360
|
if (o === c.index) {
|
|
361
361
|
let d;
|
|
362
|
-
c.type === 2 ? d = new
|
|
362
|
+
c.type === 2 ? d = new Ur(s, s.nextSibling, this, e) : c.type === 1 ? d = new c.ctor(s, c.name, c.strings, this, e) : c.type === 6 && (d = new so(s, this, e)), this._$AV.push(d), c = n[++l];
|
|
363
363
|
}
|
|
364
364
|
o !== (c == null ? void 0 : c.index) && (s = cr.nextNode(), o++);
|
|
365
365
|
}
|
|
@@ -370,13 +370,13 @@ let to = class {
|
|
|
370
370
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, r), r += n.strings.length - 2) : n._$AI(e[r])), r++;
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
|
-
class
|
|
373
|
+
class Ur {
|
|
374
374
|
get _$AU() {
|
|
375
375
|
var e;
|
|
376
376
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
377
377
|
}
|
|
378
378
|
constructor(e, r, n, i) {
|
|
379
|
-
this.type = 2, this._$AH =
|
|
379
|
+
this.type = 2, this._$AH = Me, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = n, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
|
|
380
380
|
}
|
|
381
381
|
get parentNode() {
|
|
382
382
|
let e = this._$AA.parentNode;
|
|
@@ -390,7 +390,7 @@ class zr {
|
|
|
390
390
|
return this._$AB;
|
|
391
391
|
}
|
|
392
392
|
_$AI(e, r = this) {
|
|
393
|
-
e = dr(this, e, r), vn(e) ? e ===
|
|
393
|
+
e = dr(this, e, r), vn(e) ? e === Me || e == null || e === "" ? (this._$AH !== Me && this._$AR(), this._$AH = Me) : e !== this._$AH && e !== Ut && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Xs(e) ? this.k(e) : this._(e);
|
|
394
394
|
}
|
|
395
395
|
O(e) {
|
|
396
396
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -399,7 +399,7 @@ class zr {
|
|
|
399
399
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
400
400
|
}
|
|
401
401
|
_(e) {
|
|
402
|
-
this._$AH !==
|
|
402
|
+
this._$AH !== Me && vn(this._$AH) ? this._$AA.nextSibling.data = e : this.T(ur.createTextNode(e)), this._$AH = e;
|
|
403
403
|
}
|
|
404
404
|
$(e) {
|
|
405
405
|
var s;
|
|
@@ -418,7 +418,7 @@ class zr {
|
|
|
418
418
|
as(this._$AH) || (this._$AH = [], this._$AR());
|
|
419
419
|
const r = this._$AH;
|
|
420
420
|
let n, i = 0;
|
|
421
|
-
for (const s of e) i === r.length ? r.push(n = new
|
|
421
|
+
for (const s of e) i === r.length ? r.push(n = new Ur(this.O(mn()), this.O(mn()), this, this.options)) : n = r[i], n._$AI(s), i++;
|
|
422
422
|
i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
|
|
423
423
|
}
|
|
424
424
|
_$AR(e = this._$AA.nextSibling, r) {
|
|
@@ -441,21 +441,21 @@ class Mn {
|
|
|
441
441
|
return this._$AM._$AU;
|
|
442
442
|
}
|
|
443
443
|
constructor(e, r, n, i, s) {
|
|
444
|
-
this.type = 1, this._$AH =
|
|
444
|
+
this.type = 1, this._$AH = Me, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = s, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = Me;
|
|
445
445
|
}
|
|
446
446
|
_$AI(e, r = this, n, i) {
|
|
447
447
|
const s = this.strings;
|
|
448
448
|
let o = !1;
|
|
449
|
-
if (s === void 0) e = dr(this, e, r, 0), o = !vn(e) || e !== this._$AH && e !==
|
|
449
|
+
if (s === void 0) e = dr(this, e, r, 0), o = !vn(e) || e !== this._$AH && e !== Ut, o && (this._$AH = e);
|
|
450
450
|
else {
|
|
451
451
|
const l = e;
|
|
452
452
|
let c, d;
|
|
453
|
-
for (e = s[0], c = 0; c < s.length - 1; c++) d = dr(this, l[n + c], r, c), d ===
|
|
453
|
+
for (e = s[0], c = 0; c < s.length - 1; c++) d = dr(this, l[n + c], r, c), d === Ut && (d = this._$AH[c]), o || (o = !vn(d) || d !== this._$AH[c]), d === Me ? e = Me : e !== Me && (e += (d ?? "") + s[c + 1]), this._$AH[c] = d;
|
|
454
454
|
}
|
|
455
455
|
o && !i && this.j(e);
|
|
456
456
|
}
|
|
457
457
|
j(e) {
|
|
458
|
-
e ===
|
|
458
|
+
e === Me ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
class ro extends Mn {
|
|
@@ -463,7 +463,7 @@ class ro extends Mn {
|
|
|
463
463
|
super(...arguments), this.type = 3;
|
|
464
464
|
}
|
|
465
465
|
j(e) {
|
|
466
|
-
this.element[this.name] = e ===
|
|
466
|
+
this.element[this.name] = e === Me ? void 0 : e;
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
class no extends Mn {
|
|
@@ -471,7 +471,7 @@ class no extends Mn {
|
|
|
471
471
|
super(...arguments), this.type = 4;
|
|
472
472
|
}
|
|
473
473
|
j(e) {
|
|
474
|
-
this.element.toggleAttribute(this.name, !!e && e !==
|
|
474
|
+
this.element.toggleAttribute(this.name, !!e && e !== Me);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
class io extends Mn {
|
|
@@ -479,8 +479,8 @@ class io extends Mn {
|
|
|
479
479
|
super(e, r, n, i, s), this.type = 5;
|
|
480
480
|
}
|
|
481
481
|
_$AI(e, r = this) {
|
|
482
|
-
if ((e = dr(this, e, r, 0) ??
|
|
483
|
-
const n = this._$AH, i = e ===
|
|
482
|
+
if ((e = dr(this, e, r, 0) ?? Me) === Ut) return;
|
|
483
|
+
const n = this._$AH, i = e === Me && n !== Me || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, s = e !== Me && (n === Me || i);
|
|
484
484
|
i && this.element.removeEventListener(this.name, this, n), s && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
485
485
|
}
|
|
486
486
|
handleEvent(e) {
|
|
@@ -499,14 +499,14 @@ class so {
|
|
|
499
499
|
dr(this, e);
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
|
-
const Aa = { M: ss, P: Ot, A: os, C: 1, L: eo, R: to, D: Xs, V: dr, I:
|
|
503
|
-
Ci == null || Ci(wn,
|
|
502
|
+
const Aa = { M: ss, P: Ot, A: os, C: 1, L: eo, R: to, D: Xs, V: dr, I: Ur, H: Mn, N: no, U: io, B: ro, F: so }, Ci = bn.litHtmlPolyfillSupport;
|
|
503
|
+
Ci == null || Ci(wn, Ur), (bn.litHtmlVersions ?? (bn.litHtmlVersions = [])).push("3.2.1");
|
|
504
504
|
const Ma = (t, e, r) => {
|
|
505
505
|
const n = (r == null ? void 0 : r.renderBefore) ?? e;
|
|
506
506
|
let i = n._$litPart$;
|
|
507
507
|
if (i === void 0) {
|
|
508
508
|
const s = (r == null ? void 0 : r.renderBefore) ?? null;
|
|
509
|
-
n._$litPart$ = i = new
|
|
509
|
+
n._$litPart$ = i = new Ur(e.insertBefore(mn(), s), s, void 0, r ?? {});
|
|
510
510
|
}
|
|
511
511
|
return i._$AI(t), i;
|
|
512
512
|
};
|
|
@@ -537,7 +537,7 @@ let tt = class extends Dr {
|
|
|
537
537
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
538
538
|
}
|
|
539
539
|
render() {
|
|
540
|
-
return
|
|
540
|
+
return Ut;
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
var Ys;
|
|
@@ -612,11 +612,12 @@ details {
|
|
|
612
612
|
#000000 20%,
|
|
613
613
|
transparent
|
|
614
614
|
);
|
|
615
|
-
--background-color:
|
|
615
|
+
--background-color: var(--eox-background-color, transparent);
|
|
616
616
|
--padding: 0.5rem;
|
|
617
617
|
--text-transform: capitalize;
|
|
618
618
|
--form-flex-direction: column;
|
|
619
619
|
--filter-display: block;
|
|
620
|
+
background-color: var(--background-color);
|
|
620
621
|
}
|
|
621
622
|
* {
|
|
622
623
|
font-family: Roboto, sans-serif;
|
|
@@ -1108,7 +1109,10 @@ eox-itemfilter-results li.highlighted {
|
|
|
1108
1109
|
font-size: x-small;
|
|
1109
1110
|
top: -8px;
|
|
1110
1111
|
}
|
|
1111
|
-
`, Ea = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}pre { position: relative; border-radius: 4px; z-index: 1; margin: 0; padding: 20px 0; background: transparent; background: var(--code-bg-color, #8e96aa24); overflow: auto;}code { display: block; padding: 0 24px; width: fit-content; min-width: 100%; line-height: var(--code-line-height, 1.7); font-family: var(--code-font-family, monospace); font-size: var(--code-font-size, var(--font-size)); color: var(--code-color, #004170);}:not(pre) > code { display: inline; border-radius: 4px; background: var(--code-bg-color, #8e96aa24); padding: var(--code-padding, 3px 6px);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;
|
|
1112
|
+
input {
|
|
1113
|
+
background-color: var(--background-color);
|
|
1114
|
+
}
|
|
1115
|
+
`, Ea = `:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, transparent); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}pre { position: relative; border-radius: 4px; z-index: 1; margin: 0; padding: 20px 0; background: transparent; background: var(--code-bg-color, #8e96aa24); overflow: auto;}code { display: block; padding: 0 24px; width: fit-content; min-width: 100%; line-height: var(--code-line-height, 1.7); font-family: var(--code-font-family, monospace); font-size: var(--code-font-size, var(--font-size)); color: var(--code-color, #004170);}:not(pre) > code { display: inline; border-radius: 4px; background: var(--code-bg-color, #8e96aa24); padding: var(--code-padding, 3px 6px);}button,.button { /* TODO: why does this only work here and not from :root? */ --primary-color: #004170; --primary-color-hover: #004170cc; --error-color: #ff5252; display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0px;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input,input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004; background-color: var(--background-color);}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}:root,:host { --range-slider-height: 6px; --range-slider-thumb-size: 15px; --range-slider-thumb-border-radius: 50%; --range-slider-color: #004170; --range-slider-track-color: #d7dcdf; --range-slider-track-border-radius: 0;}input[type="range"] { -webkit-appearance: none; border: none; color: var(--range-slider-color); overflow: hidden; padding-left: 0; margin-left: 7px;}/*webkit*/input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; margin-top: calc( var(--range-slider-height) * 0.5 - var(--range-slider-thumb-size) * 0.5 );}input[type="range"]::-webkit-slider-runnable-track { height: var(--range-slider-height); border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-webkit-slider-thumb { cursor: grab; --clip-edges: 4px; --clip-top: calc( (var(--range-slider-thumb-size) - var(--range-slider-height)) * 0.5 ); --clip-bottom: calc(var(--range-slider-thumb-size) - var(--clip-top)); --clip-further: calc(100% + 1px); --box-fill: calc( -100vmax - var(--range-slider-thumb-size, var(--range-slider-thumb-size)) + 1px ) 0 0 100vmax currentColor; background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--range-slider-height) + 1px); background-color: currentColor; box-shadow: var(--box-fill); border-radius: var(--range-slider-thumb-size, var(--range-slider-thumb-size)); filter: brightness(100%); clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );}/*mozilla*/input[type="range"]::-moz-range-thumb { width: var(--range-slider-thumb-size); height: var(--range-slider-thumb-size); border-radius: var(--range-slider-thumb-border-radius); background: var(--range-slider-color); border: none; box-shadow: none; cursor: grab;}input[type="range"]::-moz-range-track { border: none; border-radius: var(--range-slider-track-border-radius); background: var(--range-slider-track-color); box-shadow: none;}input[type="range"]::-moz-range-progress { appearance: none; background: currentColor; transition-delay: 30ms;}input[type="range"]::-moz-range-track,input[type="range"]::-moz-range-progress { height: calc(var(--range-slider-height)); border-radius: var(--range-slider-track-border-radius);}/*toolcool slider*/tc-range-slider { --height: var(--range-slider-height); --panel-bg: var(--range-slider-track-color); --panel-bg-hover: var(--range-slider-track-color); --panel-bg-fill: var(--range-slider-color); --panel-bg-border-radius: var(--range-slider-track-border-radius); --pointer-bg: var(--range-slider-color); --pointer-bg-hover: var(--range-slider-color); --pointer-bg-focus: var(--range-slider-color); --pointer-width: var(--range-slider-thumb-size); --pointer-height: var(--range-slider-thumb-size); --pointer-shadow: none; --pointer-shadow-hover: none; --pointer-shadow-focus: none; --pointer-border: none; --pointer-border-hover: 0; --pointer-border-focus: 0; --pointer-border-radius: var(--range-slider-thumb-border-radius);}`;
|
|
1112
1116
|
var ni, oo;
|
|
1113
1117
|
class Ca extends tt {
|
|
1114
1118
|
constructor() {
|
|
@@ -1127,18 +1131,18 @@ class Ca extends tt {
|
|
|
1127
1131
|
* Renders the HTML template for the component.
|
|
1128
1132
|
*/
|
|
1129
1133
|
render() {
|
|
1130
|
-
return
|
|
1134
|
+
return re`
|
|
1131
1135
|
<style>
|
|
1132
1136
|
${!this.unstyled && Sn}
|
|
1133
1137
|
</style>
|
|
1134
1138
|
|
|
1135
1139
|
${Ze(
|
|
1136
1140
|
this.filterObject.featured,
|
|
1137
|
-
() =>
|
|
1138
|
-
() =>
|
|
1141
|
+
() => re`<slot name="filter"></slot>`,
|
|
1142
|
+
() => re`<details
|
|
1139
1143
|
@toggle="${ye(this, ni, oo)}"
|
|
1140
1144
|
class="details-filter"
|
|
1141
|
-
?open=${this.filterObject.expanded ||
|
|
1145
|
+
?open=${this.filterObject.expanded || Me}
|
|
1142
1146
|
>
|
|
1143
1147
|
<summary>
|
|
1144
1148
|
<span
|
|
@@ -1278,7 +1282,7 @@ function Ba(t, e) {
|
|
|
1278
1282
|
};
|
|
1279
1283
|
return i(t, $t(e) ? e.split(".") : e, 0), n ? r : r[0];
|
|
1280
1284
|
}
|
|
1281
|
-
const
|
|
1285
|
+
const za = {
|
|
1282
1286
|
// Whether the matches should be included in the result set. When `true`, each record in the result
|
|
1283
1287
|
// set will include the indices of the matched characters.
|
|
1284
1288
|
// These can consequently be used for highlighting purposes.
|
|
@@ -1288,7 +1292,7 @@ const Ua = {
|
|
|
1288
1292
|
findAllMatches: !1,
|
|
1289
1293
|
// Minimum number of characters that must be matched before a result is considered a match
|
|
1290
1294
|
minMatchCharLength: 1
|
|
1291
|
-
},
|
|
1295
|
+
}, Ua = {
|
|
1292
1296
|
// When `true`, the algorithm continues searching to the end of the input even if a perfect
|
|
1293
1297
|
// match is found before the end of the same input.
|
|
1294
1298
|
isCaseSensitive: !1,
|
|
@@ -1330,8 +1334,8 @@ const Ua = {
|
|
|
1330
1334
|
fieldNormWeight: 1
|
|
1331
1335
|
};
|
|
1332
1336
|
var Q = {
|
|
1333
|
-
...za,
|
|
1334
1337
|
...Ua,
|
|
1338
|
+
...za,
|
|
1335
1339
|
...qa,
|
|
1336
1340
|
...Wa
|
|
1337
1341
|
};
|
|
@@ -1490,18 +1494,18 @@ function Fa(t, e, r, {
|
|
|
1490
1494
|
const g = e.length, y = t.length, w = Math.max(0, Math.min(n, y));
|
|
1491
1495
|
let b = s, A = w;
|
|
1492
1496
|
const k = l > 1 || c, W = k ? Array(y) : [];
|
|
1493
|
-
let
|
|
1494
|
-
for (; (
|
|
1497
|
+
let z;
|
|
1498
|
+
for (; (z = t.indexOf(e, A)) > -1; ) {
|
|
1495
1499
|
let ge = Wn(e, {
|
|
1496
|
-
currentLocation:
|
|
1500
|
+
currentLocation: z,
|
|
1497
1501
|
expectedLocation: w,
|
|
1498
1502
|
distance: i,
|
|
1499
1503
|
ignoreLocation: d
|
|
1500
1504
|
});
|
|
1501
|
-
if (b = Math.min(ge, b), A =
|
|
1505
|
+
if (b = Math.min(ge, b), A = z + g, k) {
|
|
1502
1506
|
let ve = 0;
|
|
1503
1507
|
for (; ve < g; )
|
|
1504
|
-
W[
|
|
1508
|
+
W[z + ve] = 1, ve += 1;
|
|
1505
1509
|
}
|
|
1506
1510
|
}
|
|
1507
1511
|
A = -1;
|
|
@@ -1623,7 +1627,7 @@ class fo {
|
|
|
1623
1627
|
} = this.options;
|
|
1624
1628
|
let g = [], y = 0, w = !1;
|
|
1625
1629
|
this.chunks.forEach(({ pattern: A, alphabet: k, startIndex: W }) => {
|
|
1626
|
-
const { isMatch:
|
|
1630
|
+
const { isMatch: z, score: ie, indices: ee } = Fa(e, A, k, {
|
|
1627
1631
|
location: i + W,
|
|
1628
1632
|
distance: s,
|
|
1629
1633
|
threshold: o,
|
|
@@ -1632,7 +1636,7 @@ class fo {
|
|
|
1632
1636
|
includeMatches: n,
|
|
1633
1637
|
ignoreLocation: d
|
|
1634
1638
|
});
|
|
1635
|
-
|
|
1639
|
+
z && (w = !0), y += ie, z && ee && (g = [...g, ...ee]);
|
|
1636
1640
|
});
|
|
1637
1641
|
let b = {
|
|
1638
1642
|
isMatch: w,
|
|
@@ -1928,8 +1932,8 @@ class al {
|
|
|
1928
1932
|
const b = g[y], { isMatch: A, indices: k, score: W } = b.search(e);
|
|
1929
1933
|
if (A) {
|
|
1930
1934
|
if (s += 1, l += W, n) {
|
|
1931
|
-
const
|
|
1932
|
-
ol.has(
|
|
1935
|
+
const z = b.constructor.type;
|
|
1936
|
+
ol.has(z) ? o = [...o, ...k] : o.push(k);
|
|
1933
1937
|
}
|
|
1934
1938
|
} else {
|
|
1935
1939
|
l = 0, s = 0, o.length = 0;
|
|
@@ -1965,10 +1969,10 @@ function Bi(t, e) {
|
|
|
1965
1969
|
const Jn = {
|
|
1966
1970
|
AND: "$and",
|
|
1967
1971
|
OR: "$or"
|
|
1968
|
-
},
|
|
1972
|
+
}, zi = {
|
|
1969
1973
|
PATH: "$path",
|
|
1970
1974
|
PATTERN: "$val"
|
|
1971
|
-
},
|
|
1975
|
+
}, Ui = (t) => !!(t[Jn.AND] || t[Jn.OR]), cl = (t) => !!t[zi.PATH], ul = (t) => !Dt(t) && lo(t) && !Ui(t), Ls = (t) => ({
|
|
1972
1976
|
[Jn.AND]: Object.keys(t).map((e) => ({
|
|
1973
1977
|
[e]: t[e]
|
|
1974
1978
|
}))
|
|
@@ -1977,10 +1981,10 @@ function yo(t, e, { auto: r = !0 } = {}) {
|
|
|
1977
1981
|
const n = (i) => {
|
|
1978
1982
|
let s = Object.keys(i);
|
|
1979
1983
|
const o = cl(i);
|
|
1980
|
-
if (!o && s.length > 1 && !
|
|
1984
|
+
if (!o && s.length > 1 && !Ui(i))
|
|
1981
1985
|
return n(Ls(i));
|
|
1982
1986
|
if (ul(i)) {
|
|
1983
|
-
const c = o ? i[
|
|
1987
|
+
const c = o ? i[zi.PATH] : s[0], d = o ? i[zi.PATTERN] : i[c];
|
|
1984
1988
|
if (!$t(d))
|
|
1985
1989
|
throw new Error(Da(c));
|
|
1986
1990
|
const g = {
|
|
@@ -2000,7 +2004,7 @@ function yo(t, e, { auto: r = !0 } = {}) {
|
|
|
2000
2004
|
});
|
|
2001
2005
|
}), l;
|
|
2002
2006
|
};
|
|
2003
|
-
return
|
|
2007
|
+
return Ui(t) || (t = Ls(t)), n(t);
|
|
2004
2008
|
}
|
|
2005
2009
|
function dl(t, { ignoreFieldNorm: e = Q.ignoreFieldNorm }) {
|
|
2006
2010
|
t.forEach((r) => {
|
|
@@ -2308,13 +2312,13 @@ const wl = async (t, e, r) => {
|
|
|
2308
2312
|
for (let k = 0; k < l.length; k++) {
|
|
2309
2313
|
const {
|
|
2310
2314
|
name: W,
|
|
2311
|
-
fn:
|
|
2315
|
+
fn: z
|
|
2312
2316
|
} = l[k], {
|
|
2313
2317
|
x: ie,
|
|
2314
2318
|
y: ee,
|
|
2315
2319
|
data: pe,
|
|
2316
2320
|
reset: R
|
|
2317
|
-
} = await
|
|
2321
|
+
} = await z({
|
|
2318
2322
|
x: g,
|
|
2319
2323
|
y,
|
|
2320
2324
|
initialPlacement: n,
|
|
@@ -2510,7 +2514,7 @@ function hr(t, e, r, n) {
|
|
|
2510
2514
|
const w = st(s), b = n && pt(n) ? st(n) : n;
|
|
2511
2515
|
let A = w, k = Wi(A);
|
|
2512
2516
|
for (; k && n && b !== A; ) {
|
|
2513
|
-
const W = Nr(k),
|
|
2517
|
+
const W = Nr(k), z = k.getBoundingClientRect(), ie = gt(k), ee = z.left + (k.clientLeft + parseFloat(ie.paddingLeft)) * W.x, pe = z.top + (k.clientTop + parseFloat(ie.paddingTop)) * W.y;
|
|
2514
2518
|
c *= W.x, d *= W.y, g *= W.x, y *= W.y, c += ee, d += pe, A = st(k), k = Wi(A);
|
|
2515
2519
|
}
|
|
2516
2520
|
}
|
|
@@ -2796,15 +2800,15 @@ function Hl(t, e, r, n) {
|
|
|
2796
2800
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
2797
2801
|
animationFrame: c = !1
|
|
2798
2802
|
} = n, d = ds(t), g = i || s ? [...d ? xn(d) : [], ...xn(e)] : [];
|
|
2799
|
-
g.forEach((
|
|
2800
|
-
i &&
|
|
2803
|
+
g.forEach((z) => {
|
|
2804
|
+
i && z.addEventListener("scroll", r, {
|
|
2801
2805
|
passive: !0
|
|
2802
|
-
}), s &&
|
|
2806
|
+
}), s && z.addEventListener("resize", r);
|
|
2803
2807
|
});
|
|
2804
2808
|
const y = d && l ? Nl(d, r) : null;
|
|
2805
2809
|
let w = -1, b = null;
|
|
2806
|
-
o && (b = new ResizeObserver((
|
|
2807
|
-
let [ie] =
|
|
2810
|
+
o && (b = new ResizeObserver((z) => {
|
|
2811
|
+
let [ie] = z;
|
|
2808
2812
|
ie && ie.target === d && b && (b.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
2809
2813
|
var ee;
|
|
2810
2814
|
(ee = b) == null || ee.observe(e);
|
|
@@ -2813,14 +2817,14 @@ function Hl(t, e, r, n) {
|
|
|
2813
2817
|
let A, k = c ? hr(t) : null;
|
|
2814
2818
|
c && W();
|
|
2815
2819
|
function W() {
|
|
2816
|
-
const
|
|
2817
|
-
k && (
|
|
2820
|
+
const z = hr(t);
|
|
2821
|
+
k && (z.x !== k.x || z.y !== k.y || z.width !== k.width || z.height !== k.height) && r(), k = z, A = requestAnimationFrame(W);
|
|
2818
2822
|
}
|
|
2819
2823
|
return r(), () => {
|
|
2820
|
-
var
|
|
2824
|
+
var z;
|
|
2821
2825
|
g.forEach((ie) => {
|
|
2822
2826
|
i && ie.removeEventListener("scroll", r), s && ie.removeEventListener("resize", r);
|
|
2823
|
-
}), y == null || y(), (
|
|
2827
|
+
}), y == null || y(), (z = b) == null || z.disconnect(), b = null, c && cancelAnimationFrame(A);
|
|
2824
2828
|
};
|
|
2825
2829
|
}
|
|
2826
2830
|
const Il = (t, e, r) => {
|
|
@@ -2859,10 +2863,10 @@ function Co(t) {
|
|
|
2859
2863
|
"#eox-itemfilter-input-search"
|
|
2860
2864
|
).value = "", bo({ target: { value: "" } }, t);
|
|
2861
2865
|
}
|
|
2862
|
-
function
|
|
2866
|
+
function zl(t, e) {
|
|
2863
2867
|
e.inlineMode && t.stopPropagation();
|
|
2864
2868
|
}
|
|
2865
|
-
function
|
|
2869
|
+
function Ul(t) {
|
|
2866
2870
|
t.inlineMode && (t.showDropdown = !0);
|
|
2867
2871
|
}
|
|
2868
2872
|
function ql(t, e) {
|
|
@@ -2993,8 +2997,7 @@ function ut(t, e, r = {}) {
|
|
|
2993
2997
|
let c = !1;
|
|
2994
2998
|
for (var d = 0; d < l.length; ++d) {
|
|
2995
2999
|
const g = Kl(n, l[d]);
|
|
2996
|
-
if (g === 0)
|
|
2997
|
-
return !r.ignoreBoundary;
|
|
3000
|
+
if (g === 0) return !r.ignoreBoundary;
|
|
2998
3001
|
g && (c = !0);
|
|
2999
3002
|
}
|
|
3000
3003
|
return c;
|
|
@@ -3125,7 +3128,7 @@ function ic(t, e) {
|
|
|
3125
3128
|
}
|
|
3126
3129
|
var sc = ic;
|
|
3127
3130
|
function fs(t, e, r = {}) {
|
|
3128
|
-
const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !
|
|
3131
|
+
const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !0 } = r;
|
|
3129
3132
|
let s = [];
|
|
3130
3133
|
t.type === "FeatureCollection" ? s = s.concat(t.features) : t.type === "Feature" ? s.push(t) : (t.type === "LineString" || t.type === "Polygon" || t.type === "MultiLineString" || t.type === "MultiPolygon") && s.push(fr(t)), e.type === "FeatureCollection" ? s = s.concat(e.features) : e.type === "Feature" ? s.push(e) : (e.type === "LineString" || e.type === "Polygon" || e.type === "MultiLineString" || e.type === "MultiPolygon") && s.push(fr(e));
|
|
3131
3134
|
const o = sc(
|
|
@@ -3145,8 +3148,8 @@ function fs(t, e, r = {}) {
|
|
|
3145
3148
|
}
|
|
3146
3149
|
function To(t, e, r) {
|
|
3147
3150
|
if (t !== null)
|
|
3148
|
-
for (var n, i, s, o, l, c, d, g = 0, y = 0, w, b = t.type, A = b === "FeatureCollection", k = b === "Feature", W = A ? t.features.length : 1,
|
|
3149
|
-
d = A ? t.features[
|
|
3151
|
+
for (var n, i, s, o, l, c, d, g = 0, y = 0, w, b = t.type, A = b === "FeatureCollection", k = b === "Feature", W = A ? t.features.length : 1, z = 0; z < W; z++) {
|
|
3152
|
+
d = A ? t.features[z].geometry : k ? t.geometry : t, w = d ? d.type === "GeometryCollection" : !1, l = w ? d.geometries.length : 1;
|
|
3150
3153
|
for (var ie = 0; ie < l; ie++) {
|
|
3151
3154
|
var ee = 0, pe = 0;
|
|
3152
3155
|
if (o = w ? d.geometries[ie] : d, o !== null) {
|
|
@@ -3159,7 +3162,7 @@ function To(t, e, r) {
|
|
|
3159
3162
|
if (e(
|
|
3160
3163
|
c,
|
|
3161
3164
|
y,
|
|
3162
|
-
|
|
3165
|
+
z,
|
|
3163
3166
|
ee,
|
|
3164
3167
|
pe
|
|
3165
3168
|
) === !1)
|
|
@@ -3172,7 +3175,7 @@ function To(t, e, r) {
|
|
|
3172
3175
|
if (e(
|
|
3173
3176
|
c[n],
|
|
3174
3177
|
y,
|
|
3175
|
-
|
|
3178
|
+
z,
|
|
3176
3179
|
ee,
|
|
3177
3180
|
pe
|
|
3178
3181
|
) === !1)
|
|
@@ -3188,7 +3191,7 @@ function To(t, e, r) {
|
|
|
3188
3191
|
if (e(
|
|
3189
3192
|
c[n][i],
|
|
3190
3193
|
y,
|
|
3191
|
-
|
|
3194
|
+
z,
|
|
3192
3195
|
ee,
|
|
3193
3196
|
pe
|
|
3194
3197
|
) === !1)
|
|
@@ -3206,7 +3209,7 @@ function To(t, e, r) {
|
|
|
3206
3209
|
if (e(
|
|
3207
3210
|
c[n][i][s],
|
|
3208
3211
|
y,
|
|
3209
|
-
|
|
3212
|
+
z,
|
|
3210
3213
|
ee,
|
|
3211
3214
|
pe
|
|
3212
3215
|
) === !1)
|
|
@@ -3341,21 +3344,21 @@ function lc(t, e = {}) {
|
|
|
3341
3344
|
function Ro(t, e) {
|
|
3342
3345
|
return t.length > 1 ? Fl(t, e) : Yl(t[0], e);
|
|
3343
3346
|
}
|
|
3344
|
-
function cc(t, e,
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
let
|
|
3348
|
-
return ei(t, (
|
|
3349
|
-
ei(e, (
|
|
3350
|
-
if (
|
|
3347
|
+
function cc(t, e, {
|
|
3348
|
+
ignoreSelfIntersections: r = !0
|
|
3349
|
+
} = { ignoreSelfIntersections: !0 }) {
|
|
3350
|
+
let n = !0;
|
|
3351
|
+
return ei(t, (i) => {
|
|
3352
|
+
ei(e, (s) => {
|
|
3353
|
+
if (n === !1)
|
|
3351
3354
|
return !1;
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3355
|
+
n = uc(
|
|
3356
|
+
i.geometry,
|
|
3357
|
+
s.geometry,
|
|
3358
|
+
r
|
|
3356
3359
|
);
|
|
3357
3360
|
});
|
|
3358
|
-
}),
|
|
3361
|
+
}), n;
|
|
3359
3362
|
}
|
|
3360
3363
|
function uc(t, e, r) {
|
|
3361
3364
|
switch (t.type) {
|
|
@@ -3434,19 +3437,19 @@ function fc(t, e, r) {
|
|
|
3434
3437
|
function pc(t, e) {
|
|
3435
3438
|
return t[0] === e[0] && t[1] === e[1];
|
|
3436
3439
|
}
|
|
3437
|
-
function gc(t, e,
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
let
|
|
3441
|
-
return ei(t, (
|
|
3442
|
-
ei(e, (
|
|
3443
|
-
if (
|
|
3440
|
+
function gc(t, e, {
|
|
3441
|
+
ignoreSelfIntersections: r = !0
|
|
3442
|
+
} = {}) {
|
|
3443
|
+
let n = !1;
|
|
3444
|
+
return ei(t, (i) => {
|
|
3445
|
+
ei(e, (s) => {
|
|
3446
|
+
if (n === !0)
|
|
3444
3447
|
return !0;
|
|
3445
|
-
|
|
3446
|
-
ignoreSelfIntersections:
|
|
3448
|
+
n = !cc(i.geometry, s.geometry, {
|
|
3449
|
+
ignoreSelfIntersections: r
|
|
3447
3450
|
});
|
|
3448
3451
|
});
|
|
3449
|
-
}),
|
|
3452
|
+
}), n;
|
|
3450
3453
|
}
|
|
3451
3454
|
var yc = gc;
|
|
3452
3455
|
function ti(t, e = {}) {
|
|
@@ -3479,6 +3482,8 @@ function bc(t, e, r, n, i) {
|
|
|
3479
3482
|
return !1;
|
|
3480
3483
|
} else if (k !== 0)
|
|
3481
3484
|
return !1;
|
|
3485
|
+
if (Math.abs(b) === Math.abs(A) && Math.abs(b) === 0)
|
|
3486
|
+
return n ? !1 : r[0] === t[0] && r[1] === t[1];
|
|
3482
3487
|
if (n) {
|
|
3483
3488
|
if (n === "start")
|
|
3484
3489
|
return Math.abs(b) >= Math.abs(A) ? b > 0 ? l < s && s <= d : d <= s && s < l : A > 0 ? c < o && o <= g : g <= o && o < c;
|
|
@@ -3670,7 +3675,7 @@ function Tc() {
|
|
|
3670
3675
|
(function(r, n) {
|
|
3671
3676
|
t.exports = n();
|
|
3672
3677
|
})(Pc, function() {
|
|
3673
|
-
var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", c = "hour", d = "day", g = "week", y = "month", w = "quarter", b = "year", A = "date", k = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
3678
|
+
var r = 1e3, n = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", c = "hour", d = "day", g = "week", y = "month", w = "quarter", b = "year", A = "date", k = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, z = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, ie = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
|
|
3674
3679
|
var C = ["th", "st", "nd", "rd"], S = P % 100;
|
|
3675
3680
|
return "[" + P + (C[(S - 20) % 10] || C[S] || C[0]) + "]";
|
|
3676
3681
|
} }, ee = function(P, C, S) {
|
|
@@ -3755,11 +3760,11 @@ function Tc() {
|
|
|
3755
3760
|
}, C.valueOf = function() {
|
|
3756
3761
|
return this.$d.getTime();
|
|
3757
3762
|
}, C.startOf = function(S, H) {
|
|
3758
|
-
var L = this, V = !!J.u(H) || H, K = J.p(S), se = function(
|
|
3759
|
-
var De = J.w(L.$u ? Date.UTC(L.$y,
|
|
3763
|
+
var L = this, V = !!J.u(H) || H, K = J.p(S), se = function($e, ne) {
|
|
3764
|
+
var De = J.w(L.$u ? Date.UTC(L.$y, ne, $e) : new Date(L.$y, ne, $e), L);
|
|
3760
3765
|
return V ? De : De.endOf(d);
|
|
3761
|
-
}, be = function(
|
|
3762
|
-
return J.w(L.toDate()[
|
|
3766
|
+
}, be = function($e, ne) {
|
|
3767
|
+
return J.w(L.toDate()[$e].apply(L.toDate("s"), (V ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), L);
|
|
3763
3768
|
}, Se = this.$W, Re = this.$M, Ne = this.$D, Le = "set" + (this.$u ? "UTC" : "");
|
|
3764
3769
|
switch (K) {
|
|
3765
3770
|
case b:
|
|
@@ -3812,15 +3817,15 @@ function Tc() {
|
|
|
3812
3817
|
}, C.format = function(S) {
|
|
3813
3818
|
var H = this, L = this.$locale();
|
|
3814
3819
|
if (!this.isValid()) return L.invalidDate || k;
|
|
3815
|
-
var V = S || "YYYY-MM-DDTHH:mm:ssZ", K = J.z(this), se = this.$H, be = this.$m, Se = this.$M, Re = L.weekdays, Ne = L.months, Le = L.meridiem, te = function(
|
|
3816
|
-
return
|
|
3817
|
-
}, Z = function(
|
|
3818
|
-
return J.s(se % 12 || 12,
|
|
3819
|
-
},
|
|
3820
|
-
var me =
|
|
3820
|
+
var V = S || "YYYY-MM-DDTHH:mm:ssZ", K = J.z(this), se = this.$H, be = this.$m, Se = this.$M, Re = L.weekdays, Ne = L.months, Le = L.meridiem, te = function(ne, De, ot, me) {
|
|
3821
|
+
return ne && (ne[De] || ne(H, V)) || ot[De].slice(0, me);
|
|
3822
|
+
}, Z = function(ne) {
|
|
3823
|
+
return J.s(se % 12 || 12, ne, "0");
|
|
3824
|
+
}, $e = Le || function(ne, De, ot) {
|
|
3825
|
+
var me = ne < 12 ? "AM" : "PM";
|
|
3821
3826
|
return ot ? me.toLowerCase() : me;
|
|
3822
3827
|
};
|
|
3823
|
-
return V.replace(
|
|
3828
|
+
return V.replace(z, function(ne, De) {
|
|
3824
3829
|
return De || function(ot) {
|
|
3825
3830
|
switch (ot) {
|
|
3826
3831
|
case "YY":
|
|
@@ -3856,9 +3861,9 @@ function Tc() {
|
|
|
3856
3861
|
case "hh":
|
|
3857
3862
|
return Z(2);
|
|
3858
3863
|
case "a":
|
|
3859
|
-
return
|
|
3864
|
+
return $e(se, be, !0);
|
|
3860
3865
|
case "A":
|
|
3861
|
-
return
|
|
3866
|
+
return $e(se, be, !1);
|
|
3862
3867
|
case "m":
|
|
3863
3868
|
return String(be);
|
|
3864
3869
|
case "mm":
|
|
@@ -3873,7 +3878,7 @@ function Tc() {
|
|
|
3873
3878
|
return K;
|
|
3874
3879
|
}
|
|
3875
3880
|
return null;
|
|
3876
|
-
}(
|
|
3881
|
+
}(ne) || K.replace(":", "");
|
|
3877
3882
|
});
|
|
3878
3883
|
}, C.utcOffset = function() {
|
|
3879
3884
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -4070,12 +4075,12 @@ function hi(t) {
|
|
|
4070
4075
|
}
|
|
4071
4076
|
return delete t.stringifiedState, delete t.dirty, t;
|
|
4072
4077
|
}
|
|
4073
|
-
function
|
|
4078
|
+
function zs(t, e) {
|
|
4074
4079
|
return t * 2 + e;
|
|
4075
4080
|
}
|
|
4076
4081
|
function Nc(t) {
|
|
4077
4082
|
return Object.keys(t).map((e) => ({
|
|
4078
|
-
title:
|
|
4083
|
+
title: re`${t[e].title || t[e].key}:
|
|
4079
4084
|
<strong>${t[e].stringifiedState}</strong>`,
|
|
4080
4085
|
key: e
|
|
4081
4086
|
})).filter((e) => t[e.key].dirty);
|
|
@@ -4104,7 +4109,7 @@ function No(t, e, r) {
|
|
|
4104
4109
|
function _n(t, e) {
|
|
4105
4110
|
return t != null && t.includes(".") ? t.split(".").reduce((r, n) => r && r[n], e) : e[t];
|
|
4106
4111
|
}
|
|
4107
|
-
var Ce, Ho, Yi, Fi, Io, Zi, Xi, Bo, Ji,
|
|
4112
|
+
var Ce, Ho, Yi, Fi, Io, Zi, Xi, Bo, Ji, zo, Uo;
|
|
4108
4113
|
class Ic extends tt {
|
|
4109
4114
|
constructor() {
|
|
4110
4115
|
super();
|
|
@@ -4165,11 +4170,11 @@ class Ic extends tt {
|
|
|
4165
4170
|
* Renders the HTML template for the component.
|
|
4166
4171
|
*/
|
|
4167
4172
|
render() {
|
|
4168
|
-
return
|
|
4173
|
+
return re`
|
|
4169
4174
|
<style>
|
|
4170
4175
|
${!this.unstyled && Sn}
|
|
4171
4176
|
</style>
|
|
4172
|
-
${this.inlineMode ?
|
|
4177
|
+
${this.inlineMode ? re`
|
|
4173
4178
|
<div
|
|
4174
4179
|
class="inline-container-wrapper"
|
|
4175
4180
|
@click="${ye(this, Ce, Xi)}"
|
|
@@ -4180,7 +4185,7 @@ class Ic extends tt {
|
|
|
4180
4185
|
<eox-itemfilter-chips
|
|
4181
4186
|
.items=${Nc(this.filters)}
|
|
4182
4187
|
.controller=${{
|
|
4183
|
-
remove: (r) => ye(this, Ce,
|
|
4188
|
+
remove: (r) => ye(this, Ce, zo).call(this, r)
|
|
4184
4189
|
}}
|
|
4185
4190
|
>
|
|
4186
4191
|
</eox-itemfilter-chips>
|
|
@@ -4188,7 +4193,7 @@ class Ic extends tt {
|
|
|
4188
4193
|
|
|
4189
4194
|
${Ze(
|
|
4190
4195
|
Gi(this.filters),
|
|
4191
|
-
() =>
|
|
4196
|
+
() => re`
|
|
4192
4197
|
<span
|
|
4193
4198
|
class="chip-close"
|
|
4194
4199
|
@click=${() => this.dispatchEvent(new CustomEvent("reset"))}
|
|
@@ -4205,7 +4210,7 @@ class Ic extends tt {
|
|
|
4205
4210
|
type="text"
|
|
4206
4211
|
@click="${ye(this, Ce, Xi)}"
|
|
4207
4212
|
@focus="${ye(this, Ce, Bo)}"
|
|
4208
|
-
@input="${ye(this, Ce,
|
|
4213
|
+
@input="${ye(this, Ce, Uo)}"
|
|
4209
4214
|
placeholder="Search and add filter"
|
|
4210
4215
|
aria-haspopup="true"
|
|
4211
4216
|
aria-expanded="${this.showDropdown}"
|
|
@@ -4224,7 +4229,7 @@ class Ic extends tt {
|
|
|
4224
4229
|
</div>
|
|
4225
4230
|
</div>
|
|
4226
4231
|
</div>
|
|
4227
|
-
` :
|
|
4232
|
+
` : re`<slot name="section"></slot>`}
|
|
4228
4233
|
`;
|
|
4229
4234
|
}
|
|
4230
4235
|
}
|
|
@@ -4270,7 +4275,7 @@ Xi = function(r) {
|
|
|
4270
4275
|
* @private
|
|
4271
4276
|
*/
|
|
4272
4277
|
Bo = function() {
|
|
4273
|
-
|
|
4278
|
+
Ul(this);
|
|
4274
4279
|
}, /**
|
|
4275
4280
|
* Handles click events on the form to prevent closing the dropdown.
|
|
4276
4281
|
*
|
|
@@ -4278,14 +4283,14 @@ Bo = function() {
|
|
|
4278
4283
|
* @private
|
|
4279
4284
|
*/
|
|
4280
4285
|
Ji = function(r) {
|
|
4281
|
-
|
|
4286
|
+
zl(r, this);
|
|
4282
4287
|
}, /**
|
|
4283
4288
|
* Resets the filter using the resetFilterMethod.
|
|
4284
4289
|
*
|
|
4285
4290
|
* @param {Event} event - The reset event.
|
|
4286
4291
|
* @private
|
|
4287
4292
|
*/
|
|
4288
|
-
|
|
4293
|
+
zo = function(r) {
|
|
4289
4294
|
gl(r, this);
|
|
4290
4295
|
}, /**
|
|
4291
4296
|
* Searches the filter using the searchFilterMethod.
|
|
@@ -4293,14 +4298,14 @@ Uo = function(r) {
|
|
|
4293
4298
|
* @param {Event} event - The search event.
|
|
4294
4299
|
* @private
|
|
4295
4300
|
*/
|
|
4296
|
-
|
|
4301
|
+
Uo = function(r) {
|
|
4297
4302
|
bo(r, this);
|
|
4298
4303
|
};
|
|
4299
4304
|
customElements.define("eox-itemfilter-container", Ic);
|
|
4300
|
-
var Ti,
|
|
4305
|
+
var Ti, Us;
|
|
4301
4306
|
function Bc() {
|
|
4302
|
-
if (
|
|
4303
|
-
|
|
4307
|
+
if (Us) return Ti;
|
|
4308
|
+
Us = 1;
|
|
4304
4309
|
var t = "Expected a function", e = NaN, r = "[object Symbol]", n = /^\s+|\s+$/g, i = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, o = /^0o[0-7]+$/i, l = parseInt, c = typeof ct == "object" && ct && ct.Object === Object && ct, d = typeof self == "object" && self && self.Object === Object && self, g = c || d || Function("return this")(), y = Object.prototype, w = y.toString, b = Math.max, A = Math.min, k = function() {
|
|
4305
4310
|
return g.Date.now();
|
|
4306
4311
|
};
|
|
@@ -4308,21 +4313,21 @@ function Bc() {
|
|
|
4308
4313
|
var ve, ke, de, J, we, Ie, P = 0, C = !1, S = !1, H = !0;
|
|
4309
4314
|
if (typeof R != "function")
|
|
4310
4315
|
throw new TypeError(t);
|
|
4311
|
-
oe = pe(oe) || 0,
|
|
4316
|
+
oe = pe(oe) || 0, z(ge) && (C = !!ge.leading, S = "maxWait" in ge, de = S ? b(pe(ge.maxWait) || 0, oe) : de, H = "trailing" in ge ? !!ge.trailing : H);
|
|
4312
4317
|
function L(te) {
|
|
4313
|
-
var Z = ve,
|
|
4314
|
-
return ve = ke = void 0, P = te, J = R.apply(
|
|
4318
|
+
var Z = ve, $e = ke;
|
|
4319
|
+
return ve = ke = void 0, P = te, J = R.apply($e, Z), J;
|
|
4315
4320
|
}
|
|
4316
4321
|
function V(te) {
|
|
4317
4322
|
return P = te, we = setTimeout(be, oe), C ? L(te) : J;
|
|
4318
4323
|
}
|
|
4319
4324
|
function K(te) {
|
|
4320
|
-
var Z = te - Ie,
|
|
4321
|
-
return S ? A(
|
|
4325
|
+
var Z = te - Ie, $e = te - P, ne = oe - Z;
|
|
4326
|
+
return S ? A(ne, de - $e) : ne;
|
|
4322
4327
|
}
|
|
4323
4328
|
function se(te) {
|
|
4324
|
-
var Z = te - Ie,
|
|
4325
|
-
return Ie === void 0 || Z >= oe || Z < 0 || S &&
|
|
4329
|
+
var Z = te - Ie, $e = te - P;
|
|
4330
|
+
return Ie === void 0 || Z >= oe || Z < 0 || S && $e >= de;
|
|
4326
4331
|
}
|
|
4327
4332
|
function be() {
|
|
4328
4333
|
var te = k();
|
|
@@ -4351,7 +4356,7 @@ function Bc() {
|
|
|
4351
4356
|
}
|
|
4352
4357
|
return Le.cancel = Re, Le.flush = Ne, Le;
|
|
4353
4358
|
}
|
|
4354
|
-
function
|
|
4359
|
+
function z(R) {
|
|
4355
4360
|
var oe = typeof R;
|
|
4356
4361
|
return !!R && (oe == "object" || oe == "function");
|
|
4357
4362
|
}
|
|
@@ -4366,9 +4371,9 @@ function Bc() {
|
|
|
4366
4371
|
return R;
|
|
4367
4372
|
if (ee(R))
|
|
4368
4373
|
return e;
|
|
4369
|
-
if (
|
|
4374
|
+
if (z(R)) {
|
|
4370
4375
|
var oe = typeof R.valueOf == "function" ? R.valueOf() : R;
|
|
4371
|
-
R =
|
|
4376
|
+
R = z(oe) ? oe + "" : oe;
|
|
4372
4377
|
}
|
|
4373
4378
|
if (typeof R != "string")
|
|
4374
4379
|
return R === 0 ? R : +R;
|
|
@@ -4378,9 +4383,9 @@ function Bc() {
|
|
|
4378
4383
|
}
|
|
4379
4384
|
return Ti = W, Ti;
|
|
4380
4385
|
}
|
|
4381
|
-
var
|
|
4382
|
-
const fi = /* @__PURE__ */ di(
|
|
4383
|
-
function
|
|
4386
|
+
var zc = Bc();
|
|
4387
|
+
const fi = /* @__PURE__ */ di(zc);
|
|
4388
|
+
function Uc(t) {
|
|
4384
4389
|
const e = t.renderRoot.querySelector("input[type='text']");
|
|
4385
4390
|
e.value = "", hi(t.filterObject), t.requestUpdate();
|
|
4386
4391
|
}
|
|
@@ -4409,7 +4414,7 @@ function Vc(t, e) {
|
|
|
4409
4414
|
}
|
|
4410
4415
|
function Kc(t, e, r) {
|
|
4411
4416
|
const n = r.filterObject.format === "date", i = r.filterObject.state[t], s = n ? $n.unix(i).format(Qi) : i;
|
|
4412
|
-
return
|
|
4417
|
+
return re`<div class="range-${e}">${s}</div>`;
|
|
4413
4418
|
}
|
|
4414
4419
|
function Gc(t) {
|
|
4415
4420
|
Yc(-1, t), hi(t.filterObject), t.requestUpdate();
|
|
@@ -4563,7 +4568,7 @@ class nu extends tt {
|
|
|
4563
4568
|
* Resets the text input by calling the resetTextMethod with the current context.
|
|
4564
4569
|
*/
|
|
4565
4570
|
reset() {
|
|
4566
|
-
|
|
4571
|
+
Uc(this);
|
|
4567
4572
|
}
|
|
4568
4573
|
/**
|
|
4569
4574
|
* Overrides the default createRenderRoot method to render in the light DOM.
|
|
@@ -4579,7 +4584,7 @@ class nu extends tt {
|
|
|
4579
4584
|
this.filterObject,
|
|
4580
4585
|
() => {
|
|
4581
4586
|
var r;
|
|
4582
|
-
return
|
|
4587
|
+
return re`
|
|
4583
4588
|
<style></style>
|
|
4584
4589
|
<div class="text-container">
|
|
4585
4590
|
<div class="text-container-wrapper">
|
|
@@ -4714,8 +4719,8 @@ const Ws = (t, e, r) => {
|
|
|
4714
4719
|
else if (d === void 0 && (d = Ws(o, b, A), g = Ws(l, y, w)), d.has(l[y])) if (d.has(l[w])) {
|
|
4715
4720
|
const k = g.get(o[b]), W = k !== void 0 ? i[k] : null;
|
|
4716
4721
|
if (W === null) {
|
|
4717
|
-
const
|
|
4718
|
-
ar(
|
|
4722
|
+
const z = pn(t, i[y]);
|
|
4723
|
+
ar(z, s[b]), c[b] = z;
|
|
4719
4724
|
} else c[b] = ar(W, s[b]), pn(t, i[y], W), i[k] = null;
|
|
4720
4725
|
b++;
|
|
4721
4726
|
} else Ri(i[w]), w--;
|
|
@@ -4728,7 +4733,7 @@ const Ws = (t, e, r) => {
|
|
|
4728
4733
|
const k = i[y++];
|
|
4729
4734
|
k !== null && Ri(k);
|
|
4730
4735
|
}
|
|
4731
|
-
return this.ut = o, au(t, c),
|
|
4736
|
+
return this.ut = o, au(t, c), Ut;
|
|
4732
4737
|
}
|
|
4733
4738
|
});
|
|
4734
4739
|
/**
|
|
@@ -4738,11 +4743,11 @@ const Ws = (t, e, r) => {
|
|
|
4738
4743
|
*/
|
|
4739
4744
|
class es extends Yo {
|
|
4740
4745
|
constructor(e) {
|
|
4741
|
-
if (super(e), this.it =
|
|
4746
|
+
if (super(e), this.it = Me, e.type !== Ko.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
4742
4747
|
}
|
|
4743
4748
|
render(e) {
|
|
4744
|
-
if (e ===
|
|
4745
|
-
if (e ===
|
|
4749
|
+
if (e === Me || e == null) return this._t = void 0, this.it = e;
|
|
4750
|
+
if (e === Ut) return e;
|
|
4746
4751
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
4747
4752
|
if (e === this.it) return this._t;
|
|
4748
4753
|
this.it = e;
|
|
@@ -4753,11 +4758,11 @@ class es extends Yo {
|
|
|
4753
4758
|
es.directiveName = "unsafeHTML", es.resultType = 1;
|
|
4754
4759
|
const Oi = Go(es);
|
|
4755
4760
|
function uu(t, e) {
|
|
4756
|
-
return
|
|
4761
|
+
return re`
|
|
4757
4762
|
<details
|
|
4758
4763
|
class="details-results"
|
|
4759
4764
|
@toggle=${e.handleAccordion}
|
|
4760
|
-
?open=${e.config.expandResults ||
|
|
4765
|
+
?open=${e.config.expandResults || Me}
|
|
4761
4766
|
>
|
|
4762
4767
|
<summary>
|
|
4763
4768
|
<span class="title">
|
|
@@ -4779,14 +4784,14 @@ function uu(t, e) {
|
|
|
4779
4784
|
function Fo(t, e) {
|
|
4780
4785
|
const r = e.results, n = t ? e.aggregateResults(r, t) : r, i = e.config, s = (o) => {
|
|
4781
4786
|
var l;
|
|
4782
|
-
return ((l = e.selectedResult) == null ? void 0 : l[i.idProperty]) === o[i.idProperty] ? "highlighted" :
|
|
4787
|
+
return ((l = e.selectedResult) == null ? void 0 : l[i.idProperty]) === o[i.idProperty] ? "highlighted" : Me;
|
|
4783
4788
|
};
|
|
4784
|
-
return
|
|
4789
|
+
return re`
|
|
4785
4790
|
<ul class=${e.resultType}>
|
|
4786
4791
|
${cu(
|
|
4787
4792
|
n,
|
|
4788
4793
|
(o) => o.id,
|
|
4789
|
-
(o) =>
|
|
4794
|
+
(o) => re`
|
|
4790
4795
|
<li
|
|
4791
4796
|
class=${s(o)}
|
|
4792
4797
|
@click=${() => {
|
|
@@ -4800,13 +4805,26 @@ function Fo(t, e) {
|
|
|
4800
4805
|
<span id="${o.id}">
|
|
4801
4806
|
${Ze(
|
|
4802
4807
|
i.subTitleProperty || i.imageProperty,
|
|
4803
|
-
() =>
|
|
4804
|
-
${_n(i.imageProperty, o) ?
|
|
4808
|
+
() => re`
|
|
4809
|
+
${_n(i.imageProperty, o) ? re`
|
|
4805
4810
|
<img
|
|
4806
4811
|
class="image"
|
|
4807
4812
|
src="${_n(i.imageProperty, o)}"
|
|
4808
4813
|
/>
|
|
4809
|
-
` :
|
|
4814
|
+
` : re`
|
|
4815
|
+
<svg
|
|
4816
|
+
class="image"
|
|
4817
|
+
width="800"
|
|
4818
|
+
height="600"
|
|
4819
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
4820
|
+
>
|
|
4821
|
+
<rect
|
|
4822
|
+
width="800"
|
|
4823
|
+
height="600"
|
|
4824
|
+
fill="var(--primary-color)"
|
|
4825
|
+
/>
|
|
4826
|
+
</svg>
|
|
4827
|
+
`}
|
|
4810
4828
|
<div class="title-container">
|
|
4811
4829
|
<span class="title"
|
|
4812
4830
|
>${Oi(o[i.titleProperty])}</span
|
|
@@ -4816,7 +4834,7 @@ function Fo(t, e) {
|
|
|
4816
4834
|
>
|
|
4817
4835
|
</div>
|
|
4818
4836
|
`,
|
|
4819
|
-
() =>
|
|
4837
|
+
() => re`
|
|
4820
4838
|
<span class="title"
|
|
4821
4839
|
>${Oi(o[i.titleProperty])}</span
|
|
4822
4840
|
>
|
|
@@ -4877,14 +4895,14 @@ class du extends tt {
|
|
|
4877
4895
|
* Renders the HTML template for the component.
|
|
4878
4896
|
*/
|
|
4879
4897
|
render() {
|
|
4880
|
-
return
|
|
4898
|
+
return re`
|
|
4881
4899
|
<section id="section-results">
|
|
4882
4900
|
<div slot="resultstitle"></div>
|
|
4883
4901
|
<div id="container-results" class="scroll">
|
|
4884
4902
|
${Ze(
|
|
4885
4903
|
this.results.length < 1,
|
|
4886
|
-
() =>
|
|
4887
|
-
() =>
|
|
4904
|
+
() => re`<small class="no-results">No matching items</small>`,
|
|
4905
|
+
() => Me
|
|
4888
4906
|
)}
|
|
4889
4907
|
<ul id="results" part="results">
|
|
4890
4908
|
${Ze(
|
|
@@ -4893,9 +4911,9 @@ class du extends tt {
|
|
|
4893
4911
|
this.resultAggregation.filter(
|
|
4894
4912
|
(r) => this.aggregateResults(this.results, r).length
|
|
4895
4913
|
),
|
|
4896
|
-
(r) =>
|
|
4914
|
+
(r) => re`${Ze(
|
|
4897
4915
|
this.aggregateResults(this.results, r).length === 1 && this.config.autoSpreadSingle,
|
|
4898
|
-
() =>
|
|
4916
|
+
() => re`<div style="margin-left: -8px">
|
|
4899
4917
|
${ye(this, pr, ts).call(this, r)}
|
|
4900
4918
|
</div>`,
|
|
4901
4919
|
() => ye(this, pr, Zo).call(this, r)
|
|
@@ -4971,8 +4989,8 @@ class Xo extends tt {
|
|
|
4971
4989
|
* Renders the HTML template for the component.
|
|
4972
4990
|
*/
|
|
4973
4991
|
render() {
|
|
4974
|
-
const r = this.type.includes("multi") ? "checkbox" : "radio", n = this.filteredSuggestions.length > 5 ? "select-overflow" :
|
|
4975
|
-
return
|
|
4992
|
+
const r = this.type.includes("multi") ? "checkbox" : "radio", n = this.filteredSuggestions.length > 5 ? "select-overflow" : Me;
|
|
4993
|
+
return re`
|
|
4976
4994
|
<style>
|
|
4977
4995
|
${!this.unstyled && Sn}
|
|
4978
4996
|
${!this.unstyled && hu}
|
|
@@ -4980,7 +4998,7 @@ class Xo extends tt {
|
|
|
4980
4998
|
</style>
|
|
4981
4999
|
${Ze(
|
|
4982
5000
|
this.suggestions.length > 10,
|
|
4983
|
-
() =>
|
|
5001
|
+
() => re`<div class="autocomplete-container">
|
|
4984
5002
|
<div class="autocomplete-container-wrapper">
|
|
4985
5003
|
<input
|
|
4986
5004
|
autocomplete="off"
|
|
@@ -5000,7 +5018,7 @@ class Xo extends tt {
|
|
|
5000
5018
|
<div class="select-container ${n}">
|
|
5001
5019
|
<ul class="${this.type}">
|
|
5002
5020
|
${this.filteredSuggestions.map(
|
|
5003
|
-
(i) =>
|
|
5021
|
+
(i) => re`
|
|
5004
5022
|
<li
|
|
5005
5023
|
data-identifier="${i.toString().toLowerCase()}"
|
|
5006
5024
|
data-title="${i}"
|
|
@@ -5066,10 +5084,10 @@ hn(Xo, "properties", {
|
|
|
5066
5084
|
});
|
|
5067
5085
|
customElements.define("eox-itemfilter-select", Xo);
|
|
5068
5086
|
(() => {
|
|
5069
|
-
var t = Object.defineProperty, e = Math.pow, r = (u, p, _) => p in u ? t(u, p, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : u[p] = _, n = (u, p, _) => (r(u, typeof p != "symbol" ? p + "" : p, _), _), i = (u, p) => ` ${p && p.length > 0 ? p.map((_) => `<link rel="stylesheet" href="${_}" />`).join("") : ""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", c = "pointers-max-distance", d = "range-dragging", g = "data", y = "min", w = "max", b = "step", A = "round", k = "type", W = "theme",
|
|
5087
|
+
var t = Object.defineProperty, e = Math.pow, r = (u, p, _) => p in u ? t(u, p, { enumerable: !0, configurable: !0, writable: !0, value: _ }) : u[p] = _, n = (u, p, _) => (r(u, typeof p != "symbol" ? p + "" : p, _), _), i = (u, p) => ` ${p && p.length > 0 ? p.map((_) => `<link rel="stylesheet" href="${_}" />`).join("") : ""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", c = "pointers-max-distance", d = "range-dragging", g = "data", y = "min", w = "max", b = "step", A = "round", k = "type", W = "theme", z = "rtl", ie = "btt", ee = "disabled", pe = "keyboard-disabled", R = "mousewheel-disabled", oe = "slider-width", ge = "slider-height", ve = "slider-radius", ke = "slider-bg", de = "slider-bg-hover", J = "slider-bg-fill", we = "pointer-width", Ie = "pointer-height", P = "pointer-radius", C = "pointer-bg", S = "pointer-bg-hover", H = "pointer-bg-focus", L = "pointer-shadow", V = "pointer-shadow-hover", K = "pointer-shadow-focus", se = "pointer-border", be = "pointer-border-hover", Se = "pointer-border-focus", Re = "animate-onclick", Ne = "css-links", Le = "vertical", te = "horizontal", Z = (u, p, _, v, T) => {
|
|
5070
5088
|
let G = p - u;
|
|
5071
5089
|
return G === 0 ? _ : (v - _) * (T - u) / G + _;
|
|
5072
|
-
},
|
|
5090
|
+
}, $e = (u) => !isNaN(parseFloat(u)) && isFinite(u), ne = (u, p) => $e(u) ? Number(u) : p, De = (u, p) => p === 0 ? 0 : Math.round(u / p) * p, ot = (u, p = 1 / 0) => {
|
|
5073
5091
|
if (p === 1 / 0) return u;
|
|
5074
5092
|
let _ = e(10, p);
|
|
5075
5093
|
return Math.round(u * _) / _;
|
|
@@ -5083,23 +5101,23 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5083
5101
|
u.dispatchEvent(new CustomEvent("onKeyDown", { detail: { nativeEvent: p } }));
|
|
5084
5102
|
}, Vr = (u, p) => {
|
|
5085
5103
|
if (!p || p.length <= 0) return;
|
|
5086
|
-
let _ = p.map((T) =>
|
|
5104
|
+
let _ = p.map((T) => $e(T) ? ne(T, T) : T), v = { values: _ || [] };
|
|
5087
5105
|
v.value = _[0], v.value0 = _[0], v.value1 = _[0];
|
|
5088
5106
|
for (let T = 1; T < _.length; T++) v[`value${T + 1}`] = _[T];
|
|
5089
5107
|
u.dispatchEvent(new CustomEvent("change", { detail: v }));
|
|
5090
5108
|
}, Gt = (u, p, _) => {
|
|
5091
|
-
let v = 0, T, G, Y, O, j = !1, ae = (F,
|
|
5109
|
+
let v = 0, T, G, Y, O, j = !1, ae = (F, Ae, He, je, Oe, Pe) => {
|
|
5092
5110
|
let Ve = v;
|
|
5093
|
-
He !== void 0 && F > He && (F = He),
|
|
5111
|
+
He !== void 0 && F > He && (F = He), Ae !== void 0 && F < Ae && (F = Ae), v = F;
|
|
5094
5112
|
let Ke = v;
|
|
5095
5113
|
return (je === Le && Pe || je === te && Oe) && (Ke = 100 - Ke), je === Le ? p.style.top = `${Ke}%` : p.style.left = `${Ke}%`, Ve !== v;
|
|
5096
|
-
}, ue = (F) => F === p || p.contains(F),
|
|
5097
|
-
T = F, G =
|
|
5114
|
+
}, ue = (F) => F === p || p.contains(F), U = (F, Ae, He, je) => {
|
|
5115
|
+
T = F, G = Ae, Y = He, O = je;
|
|
5098
5116
|
}, he = (F) => {
|
|
5099
5117
|
j = F, p.classList.toggle("disabled", j), j ? p.setAttribute("aria-disabled", "true") : p.hasAttribute("aria-disabled") && p.removeAttribute("aria-disabled");
|
|
5100
|
-
}, Qe = (F,
|
|
5101
|
-
|
|
5102
|
-
},
|
|
5118
|
+
}, Qe = (F, Ae) => {
|
|
5119
|
+
Ae == null ? p.removeAttribute(F) : p.setAttribute(F, Ae);
|
|
5120
|
+
}, Ue = (F) => p.getAttribute(F), B = (F) => {
|
|
5103
5121
|
if (!j) {
|
|
5104
5122
|
switch (F.key) {
|
|
5105
5123
|
case "ArrowLeft": {
|
|
@@ -5130,7 +5148,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5130
5148
|
return j;
|
|
5131
5149
|
}, set disabled(F) {
|
|
5132
5150
|
he(F);
|
|
5133
|
-
}, updatePosition: ae, isClicked: ue, setCallbacks:
|
|
5151
|
+
}, updatePosition: ae, isClicked: ue, setCallbacks: U, setAttr: Qe, getAttr: Ue, destroy: () => {
|
|
5134
5152
|
p.removeEventListener("keydown", B), p.removeEventListener("click", ce), p.remove();
|
|
5135
5153
|
} };
|
|
5136
5154
|
}, jt = (u) => {
|
|
@@ -5140,19 +5158,19 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5140
5158
|
let p = u.split(","), _ = [], v = !0;
|
|
5141
5159
|
for (let T = 0; T < p.length; T++) {
|
|
5142
5160
|
let G = p[T].trim();
|
|
5143
|
-
G !== "" && (_.push(G),
|
|
5161
|
+
G !== "" && (_.push(G), $e(G) || (v = !1));
|
|
5144
5162
|
}
|
|
5145
5163
|
return v ? _.map((T) => Number(T)) : _;
|
|
5146
5164
|
}, Yt = (u, p) => p ? p.findIndex((_) => _ === u || _.toString().trim() === u.toString().trim()) : -1, Kr = (u) => ({ updatePosition: (p, _, v, T) => {
|
|
5147
5165
|
if (_.length <= 0) return;
|
|
5148
5166
|
let G = _.length === 1, Y = _[0], O = _[_.length - 1];
|
|
5149
5167
|
p === Le ? (u.style.removeProperty("width"), u.style.removeProperty("right"), u.style.removeProperty("left"), G ? u.style.height = `${Y}%` : u.style.height = `${Math.abs(Y - O)}%`, T ? (u.style.bottom = "0%", G ? u.style.top = "auto" : u.style.top = `${Math.min(100 - O, 100 - Y)}%`) : (u.style.bottom = "auto", G ? u.style.top = "0%" : u.style.top = `${Math.min(Y, O)}%`)) : (u.style.removeProperty("height"), u.style.removeProperty("top"), u.style.removeProperty("bottom"), G ? u.style.width = `${Y}%` : u.style.width = `${Math.abs(Y - O)}%`, v ? (u.style.right = "0%", G ? u.style.left = "auto" : u.style.left = `${Math.min(100 - O, 100 - Y)}%`) : (u.style.right = "auto", G ? u.style.left = "0%" : u.style.left = `${Math.min(Y, O)}%`));
|
|
5150
|
-
} }), vr = "--animate-onclick", Gr = "--width", Ft = "--height", Yr = "--panel-bg-border-radius", Fr = "--panel-bg", wr = "--panel-bg-hover", Zr = "--panel-bg-fill", x = "--pointer-width", E = "--pointer-height", q = "--pointer-border-radius",
|
|
5168
|
+
} }), vr = "--animate-onclick", Gr = "--width", Ft = "--height", Yr = "--panel-bg-border-radius", Fr = "--panel-bg", wr = "--panel-bg-hover", Zr = "--panel-bg-fill", x = "--pointer-width", E = "--pointer-height", q = "--pointer-border-radius", _e = "--pointer-bg", dt = "--pointer-bg-hover", Be = "--pointer-bg-focus", ht = "--pointer-shadow", yt = "--pointer-shadow-hover", Xe = "--pointer-shadow-focus", Zt = "--pointer-border", bt = "--pointer-border-hover", Et = "--pointer-border-focus", mt = (u, p, _) => {
|
|
5151
5169
|
let v = /* @__PURE__ */ new Map();
|
|
5152
5170
|
for (let T of u.attributes) {
|
|
5153
5171
|
let G = T.nodeName.trim().toLowerCase();
|
|
5154
5172
|
if (!p.test(G)) continue;
|
|
5155
|
-
let Y = G.replace(/\D/g, "").trim(), O = Y === "" || Y === "0" || Y === "1" ? 0 :
|
|
5173
|
+
let Y = G.replace(/\D/g, "").trim(), O = Y === "" || Y === "0" || Y === "1" ? 0 : ne(Y, 0) - 1, j = _ && typeof _ == "function" ? _(T.value) : T.value;
|
|
5156
5174
|
v.set(O, j);
|
|
5157
5175
|
}
|
|
5158
5176
|
return v;
|
|
@@ -5163,10 +5181,10 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5163
5181
|
let _ = p.split(";"), v = [];
|
|
5164
5182
|
for (let T of _) T.trim() !== "" && v.push(T.trim());
|
|
5165
5183
|
return v;
|
|
5166
|
-
}, xr = [[Gr, oe, "sliderWidth", null], [Ft, ge, "sliderHeight", null], [Yr, ve, "sliderRadius", null], [Fr, ke, "sliderBg", null], [wr, de, "sliderBgHover", null], [Zr, J, "sliderBgFill", null], [x, we, "pointer#Width", /^pointer([0-9]*)-width$/], [E, Ie, "pointer#Height", /^pointer([0-9]*)-height$/], [q, P, "pointer#Radius", /^pointer([0-9]*)-radius$/], [
|
|
5184
|
+
}, xr = [[Gr, oe, "sliderWidth", null], [Ft, ge, "sliderHeight", null], [Yr, ve, "sliderRadius", null], [Fr, ke, "sliderBg", null], [wr, de, "sliderBgHover", null], [Zr, J, "sliderBgFill", null], [x, we, "pointer#Width", /^pointer([0-9]*)-width$/], [E, Ie, "pointer#Height", /^pointer([0-9]*)-height$/], [q, P, "pointer#Radius", /^pointer([0-9]*)-radius$/], [_e, C, "pointer#Bg", /^pointer([0-9]*)-bg$/], [dt, S, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [Be, H, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [ht, L, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [yt, V, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [Xe, K, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Zt, se, "pointer#Border", /^pointer([0-9]*)-border$/], [bt, be, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Et, Se, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Xt = (u, p, _) => {
|
|
5167
5185
|
let v = null, T = [], G = /* @__PURE__ */ new Map(), Y = (B, ce = p) => {
|
|
5168
5186
|
let F = [...ce.classList];
|
|
5169
|
-
for (let
|
|
5187
|
+
for (let Ae of F) Ae.startsWith(B) && p.classList.remove(Ae);
|
|
5170
5188
|
}, O = () => {
|
|
5171
5189
|
Y("shape");
|
|
5172
5190
|
let B = p.querySelectorAll(".pointer");
|
|
@@ -5185,7 +5203,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5185
5203
|
}
|
|
5186
5204
|
}, ue = (B, ce) => {
|
|
5187
5205
|
T[B] = ce, ae();
|
|
5188
|
-
},
|
|
5206
|
+
}, U = () => {
|
|
5189
5207
|
O();
|
|
5190
5208
|
let B = mt(u, /^pointer([0-9]*)-shape$/);
|
|
5191
5209
|
if (!(B.size <= 0)) {
|
|
@@ -5196,18 +5214,18 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5196
5214
|
ae();
|
|
5197
5215
|
}
|
|
5198
5216
|
}, he = (B, ce) => `${B}-${ce}`, Qe = (B, ce, F) => {
|
|
5199
|
-
let
|
|
5200
|
-
if (!
|
|
5201
|
-
let He = F === 0 ? p :
|
|
5217
|
+
let Ae = _[F];
|
|
5218
|
+
if (!Ae) return;
|
|
5219
|
+
let He = F === 0 ? p : Ae.$pointer;
|
|
5202
5220
|
if (ce == null) {
|
|
5203
5221
|
G.has(he(B, F)) && G.delete(he(B, F)), He.style.removeProperty(B);
|
|
5204
5222
|
return;
|
|
5205
5223
|
}
|
|
5206
5224
|
G.set(he(B, F), ce), He.style.setProperty(B, ce);
|
|
5207
|
-
},
|
|
5225
|
+
}, Ue = (B, ce) => G.get(he(B, ce));
|
|
5208
5226
|
return (() => {
|
|
5209
5227
|
for (let B of xr) {
|
|
5210
|
-
let [ce, F,
|
|
5228
|
+
let [ce, F, Ae, He] = B;
|
|
5211
5229
|
if (He) {
|
|
5212
5230
|
let Oe = mt(u, He);
|
|
5213
5231
|
for (let Pe of Oe) {
|
|
@@ -5219,15 +5237,15 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5219
5237
|
Qe(ce, Oe, 0);
|
|
5220
5238
|
}
|
|
5221
5239
|
let je = [];
|
|
5222
|
-
if (
|
|
5240
|
+
if (Ae.indexOf("#") === -1) je.push([Ae, 0]);
|
|
5223
5241
|
else {
|
|
5224
|
-
je.push([
|
|
5225
|
-
for (let Oe = 1; Oe < _.length; Oe++) je.push([
|
|
5242
|
+
je.push([Ae.replace("#", ""), 0]), je.push([Ae.replace("#", "0"), 0]), je.push([Ae.replace("#", "1"), 0]);
|
|
5243
|
+
for (let Oe = 1; Oe < _.length; Oe++) je.push([Ae.replace("#", (Oe + 1).toString()), Oe]);
|
|
5226
5244
|
}
|
|
5227
5245
|
for (let Oe of je) try {
|
|
5228
5246
|
let Pe = Oe[0], Ve = Oe[1];
|
|
5229
5247
|
Object.prototype.hasOwnProperty.call(u, Pe) || Object.defineProperty(u, Pe, { get() {
|
|
5230
|
-
return
|
|
5248
|
+
return Ue(ce, Ve);
|
|
5231
5249
|
}, set: (Ke) => {
|
|
5232
5250
|
Qe(ce, Ke, Ve);
|
|
5233
5251
|
} });
|
|
@@ -5235,8 +5253,8 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5235
5253
|
console.error(Pe);
|
|
5236
5254
|
}
|
|
5237
5255
|
}
|
|
5238
|
-
j(u.getAttribute(W)),
|
|
5239
|
-
})(), { setStyle: Qe, getStyle:
|
|
5256
|
+
j(u.getAttribute(W)), U();
|
|
5257
|
+
})(), { setStyle: Qe, getStyle: Ue, get theme() {
|
|
5240
5258
|
return v;
|
|
5241
5259
|
}, set theme(B) {
|
|
5242
5260
|
j(B);
|
|
@@ -5245,29 +5263,29 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5245
5263
|
}, setPointerShape: ue };
|
|
5246
5264
|
}, vt = "animate-on-click", $r = "range-dragging", Xr = (u, p, _, v) => {
|
|
5247
5265
|
let T = [], G = (ue) => {
|
|
5248
|
-
for (let
|
|
5266
|
+
for (let U of T) U.update && typeof U.update == "function" && U.update(ue);
|
|
5249
5267
|
}, Y = () => {
|
|
5250
5268
|
for (let ue of T) ue.destroy && typeof ue.destroy == "function" && ue.destroy();
|
|
5251
|
-
}, O = (ue,
|
|
5252
|
-
for (let he of T) he.onAttrChange && typeof he.onAttrChange == "function" && he.onAttrChange(ue,
|
|
5269
|
+
}, O = (ue, U) => {
|
|
5270
|
+
for (let he of T) he.onAttrChange && typeof he.onAttrChange == "function" && he.onAttrChange(ue, U);
|
|
5253
5271
|
}, j = (ue) => {
|
|
5254
5272
|
if (ue.gettersAndSetters) {
|
|
5255
|
-
for (let
|
|
5256
|
-
Object.prototype.hasOwnProperty.call(u,
|
|
5273
|
+
for (let U of ue.gettersAndSetters) if (!(!U.name || !U.attributes)) try {
|
|
5274
|
+
Object.prototype.hasOwnProperty.call(u, U.name) || Object.defineProperty(u, U.name, U.attributes);
|
|
5257
5275
|
} catch (he) {
|
|
5258
5276
|
console.error("defineSettersGetters error:", he);
|
|
5259
5277
|
}
|
|
5260
5278
|
}
|
|
5261
5279
|
}, ae = (ue) => {
|
|
5262
|
-
var
|
|
5280
|
+
var U;
|
|
5263
5281
|
if (!ue.css) return;
|
|
5264
|
-
let he = (
|
|
5282
|
+
let he = (U = u.shadowRoot) == null ? void 0 : U.querySelector("style");
|
|
5265
5283
|
!he || (he.innerHTML += ue.css);
|
|
5266
5284
|
};
|
|
5267
5285
|
return { init: () => {
|
|
5268
5286
|
if (window.tcRangeSliderPlugins) for (let ue of window.tcRangeSliderPlugins) {
|
|
5269
|
-
let
|
|
5270
|
-
T.push(
|
|
5287
|
+
let U = ue();
|
|
5288
|
+
T.push(U), U.init && typeof U.init == "function" && (U.init(u, p, _, v), j(U), ae(U));
|
|
5271
5289
|
}
|
|
5272
5290
|
}, update: G, onAttrChange: O, destroy: Y };
|
|
5273
5291
|
}, Jt = 10, Cn = 20, gi = (u, p) => {
|
|
@@ -5275,8 +5293,8 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5275
5293
|
for (let O of u.attributes) {
|
|
5276
5294
|
let j = O.nodeName.trim().toLowerCase();
|
|
5277
5295
|
if (!v.test(j)) continue;
|
|
5278
|
-
let ae = j.replace("value", "").trim(), ue = ae === "" || ae === "0" || ae === "1" ? 0 :
|
|
5279
|
-
_.set(ue,
|
|
5296
|
+
let ae = j.replace("value", "").trim(), ue = ae === "" || ae === "0" || ae === "1" ? 0 : ne(ae, 0) - 1, U = $e(O.value) ? ne(O.value, 0) : O.value;
|
|
5297
|
+
_.set(ue, U);
|
|
5280
5298
|
}
|
|
5281
5299
|
let T = Math.max(...Array.from(_.keys())), G = [];
|
|
5282
5300
|
G.push([Gt(u, p, 0), _.get(0)]);
|
|
@@ -5293,7 +5311,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5293
5311
|
let O = p.pointers[_];
|
|
5294
5312
|
if (!O) return;
|
|
5295
5313
|
let j = p.getTextValue(O.percent);
|
|
5296
|
-
return
|
|
5314
|
+
return $e(j) ? ne(j, j) : j;
|
|
5297
5315
|
}, set: (O) => {
|
|
5298
5316
|
p.pointers[_] ? p == null || p.setValue(O, _) : p == null || p.addPointer(O);
|
|
5299
5317
|
} }), Object.defineProperty(u, T, { configurable: !0, get() {
|
|
@@ -5331,7 +5349,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5331
5349
|
p.$pointer.style.zIndex = (Cn * 2).toString();
|
|
5332
5350
|
}
|
|
5333
5351
|
}, Qt = 0, Nt = 100, Je = 2, Pn = "0.3s", bi = (u, p, _) => {
|
|
5334
|
-
let v = _.map((f) => f[0]), T = null, G = null, Y = null, O = null, j = Qt, ae = Nt, ue,
|
|
5352
|
+
let v = _.map((f) => f[0]), T = null, G = null, Y = null, O = null, j = Qt, ae = Nt, ue, U, he = te, Qe = Je, Ue = !1, B = !1, ce = !1, F = 0, Ae = 1 / 0, He = !1, je, Oe, Pe = !1, Ve = !1, Ke = !1, wt = Pn, Tn = [], Qr = (f) => {
|
|
5335
5353
|
Pe || (f.preventDefault && f.preventDefault(), Ct(f), window.addEventListener("mousemove", Ct), window.addEventListener("mouseup", Ar), br(u, f));
|
|
5336
5354
|
}, Ar = (f) => {
|
|
5337
5355
|
Pe || (je = void 0, Oe = void 0, window.removeEventListener("mousemove", Ct), window.removeEventListener("mouseup", Ar), wt && p.classList.add(vt), St(u, f));
|
|
@@ -5363,42 +5381,42 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5363
5381
|
let { width: le, left: xe } = p.getBoundingClientRect(), fe = f.type.indexOf("mouse") !== -1 ? f.clientX : f.touches[0].clientX;
|
|
5364
5382
|
$ = Math.min(Math.max(0, fe - xe), le) * 100 / le;
|
|
5365
5383
|
}
|
|
5366
|
-
if ((
|
|
5384
|
+
if ((Ue || B) && ($ = 100 - $), T = wi(f.target, $), T && _r(v, T), He && v.length > 1 && Oe !== void 0) {
|
|
5367
5385
|
let le = v[0], xe = v[v.length - 1], fe = le.percent + Oe < 0, Fe = xe.percent + Oe > 100;
|
|
5368
5386
|
if (fe || Fe) return;
|
|
5369
|
-
for (let Rt = 0; Rt < v.length; Rt++)
|
|
5387
|
+
for (let Rt = 0; Rt < v.length; Rt++) ze(Rt, v[Rt].percent + Oe);
|
|
5370
5388
|
return;
|
|
5371
5389
|
}
|
|
5372
5390
|
let N = Mr();
|
|
5373
|
-
N !== -1 && (
|
|
5391
|
+
N !== -1 && (ze(N, $), T == null || T.$pointer.focus());
|
|
5374
5392
|
}, Sr = (f) => {
|
|
5375
5393
|
if (Pe || document.activeElement !== u || T != null && T.disabled) return;
|
|
5376
5394
|
f.stopPropagation(), f.preventDefault();
|
|
5377
|
-
let $ = f.deltaY < 0, N =
|
|
5395
|
+
let $ = f.deltaY < 0, N = Ue || B, le = $ ? !N : N, xe = Mr();
|
|
5378
5396
|
xe !== -1 && (le ? er(xe, v[xe].percent) : tr(xe, v[xe].percent));
|
|
5379
5397
|
}, Rn = (f) => {
|
|
5380
|
-
Pe || Ve || (he === Le ? B ?
|
|
5398
|
+
Pe || Ve || (he === Le ? B ? ze(f, 100) : ze(f, 0) : Ue ? tr(f, v[f].percent) : er(f, v[f].percent));
|
|
5381
5399
|
}, On = (f) => {
|
|
5382
|
-
Pe || Ve || (he === Le ? B ?
|
|
5400
|
+
Pe || Ve || (he === Le ? B ? ze(f, 0) : ze(f, 100) : Ue ? er(f, v[f].percent) : tr(f, v[f].percent));
|
|
5383
5401
|
}, Dn = (f) => {
|
|
5384
|
-
Pe || Ve || (he === Le ? B ? tr(f, v[f].percent) : er(f, v[f].percent) :
|
|
5402
|
+
Pe || Ve || (he === Le ? B ? tr(f, v[f].percent) : er(f, v[f].percent) : Ue ? ze(f, 100) : ze(f, 0));
|
|
5385
5403
|
}, jn = (f) => {
|
|
5386
|
-
Pe || Ve || (he === Le ? B ? er(f, v[f].percent) : tr(f, v[f].percent) :
|
|
5404
|
+
Pe || Ve || (he === Le ? B ? er(f, v[f].percent) : tr(f, v[f].percent) : Ue ? ze(f, 0) : ze(f, 100));
|
|
5387
5405
|
}, xi = (f) => f.classList.contains("panel"), $i = (f) => f.classList.contains("panel-fill"), er = (f, $) => {
|
|
5388
5406
|
if ($ === void 0) return;
|
|
5389
5407
|
let N = rr($);
|
|
5390
|
-
N == null && (N = 1), $ -= N, $ < 0 && ($ = 0),
|
|
5408
|
+
N == null && (N = 1), $ -= N, $ < 0 && ($ = 0), ze(f, $);
|
|
5391
5409
|
}, tr = (f, $) => {
|
|
5392
5410
|
if ($ === void 0) return;
|
|
5393
5411
|
let N = rr($);
|
|
5394
|
-
N == null && (N = 1), $ += N, $ > 100 && ($ = 100),
|
|
5412
|
+
N == null && (N = 1), $ += N, $ > 100 && ($ = 100), ze(f, $);
|
|
5395
5413
|
}, kt = () => {
|
|
5396
5414
|
!O || O.update({ percents: Hn(), values: In(), $pointers: tn(), min: nr(), max: Bn(), data: rn(), step: en(), round: Cr(), type: nn(), textMin: Er(), textMax: Lt(), rightToLeft: ft(), bottomToTop: on(), pointersOverlap: sr(), pointersMinDistance: kr(), pointersMaxDistance: sn(), rangeDragging: rt(), disabled: an(), keyboardDisabled: ir(), mousewheelDisabled: Pr() });
|
|
5397
5415
|
}, Nn = () => {
|
|
5398
5416
|
kt();
|
|
5399
5417
|
}, _i = (f) => {
|
|
5400
5418
|
if (!(ce || v.length <= 1 || ae === j)) if (f === 0) {
|
|
5401
|
-
let $ =
|
|
5419
|
+
let $ = Ae * 100 / (ae - j);
|
|
5402
5420
|
return Math.max(0, v[f + 1].percent - $);
|
|
5403
5421
|
} else {
|
|
5404
5422
|
let $ = F * 100 / (ae - j);
|
|
@@ -5406,7 +5424,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5406
5424
|
}
|
|
5407
5425
|
}, Ai = (f) => {
|
|
5408
5426
|
if (!(ce || v.length <= 1 || ae === j)) if (f === v.length - 1) {
|
|
5409
|
-
let $ =
|
|
5427
|
+
let $ = Ae * 100 / (ae - j);
|
|
5410
5428
|
return Math.min(v[f - 1].percent + $, 100);
|
|
5411
5429
|
} else {
|
|
5412
5430
|
let $ = F * 100 / (ae - j);
|
|
@@ -5418,37 +5436,37 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5418
5436
|
let N = Z(0, 100, j, ae, f);
|
|
5419
5437
|
$ = ue(N, f);
|
|
5420
5438
|
} else $ = ue;
|
|
5421
|
-
if (
|
|
5439
|
+
if ($e($)) {
|
|
5422
5440
|
let N = ae - j;
|
|
5423
5441
|
return $ = N === 0 ? 0 : $ * 100 / N, $;
|
|
5424
5442
|
}
|
|
5425
5443
|
}, Ht = (f) => {
|
|
5426
5444
|
if (f === void 0) return;
|
|
5427
5445
|
let $ = Z(0, 100, j, ae, f);
|
|
5428
|
-
return
|
|
5429
|
-
}, Er = () =>
|
|
5446
|
+
return U !== void 0 ? U[Math.round($)] : ot($, Qe);
|
|
5447
|
+
}, Er = () => U !== void 0 ? U[j] : j, Lt = () => U !== void 0 ? U[ae] : ae, en = () => ue, It = (f) => {
|
|
5430
5448
|
var $;
|
|
5431
5449
|
return f <= 0 || ce ? Er() : ($ = Ht(v[f - 1].percent)) != null ? $ : "";
|
|
5432
5450
|
}, xt = (f) => {
|
|
5433
5451
|
var $;
|
|
5434
5452
|
return v.length <= 1 || f >= v.length - 1 || ce ? Lt() : ($ = Ht(v[f + 1].percent)) != null ? $ : "";
|
|
5435
|
-
}, Hn = () => v.map((f) => f.percent), In = () => v.map((f) => Ht(f.percent)), tn = () => v.map((f) => f.$pointer), nr = () => j, Bn = () => ae, rn = () =>
|
|
5453
|
+
}, Hn = () => v.map((f) => f.percent), In = () => v.map((f) => Ht(f.percent)), tn = () => v.map((f) => f.$pointer), nr = () => j, Bn = () => ae, rn = () => U, nn = () => he, Cr = () => Qe, kr = () => F, sn = () => Ae, Lr = (f) => Tn[f], ft = () => Ue, on = () => B, an = () => Pe, ir = () => Ve, Pr = () => Ke, sr = () => ce, rt = () => He, ze = (f, $) => {
|
|
5436
5454
|
if ($ === void 0) return;
|
|
5437
5455
|
let N = rr($);
|
|
5438
5456
|
N !== void 0 && ($ = De($, N));
|
|
5439
5457
|
let le = v[f];
|
|
5440
5458
|
if (!le) return;
|
|
5441
|
-
let xe = le.updatePosition($, _i(f), Ai(f), he,
|
|
5442
|
-
G == null || G.updatePosition(he, v.map((fe) => fe.percent),
|
|
5459
|
+
let xe = le.updatePosition($, _i(f), Ai(f), he, Ue, B);
|
|
5460
|
+
G == null || G.updatePosition(he, v.map((fe) => fe.percent), Ue, B), kt();
|
|
5443
5461
|
for (let fe of v) {
|
|
5444
5462
|
let Fe = Ht(fe.percent);
|
|
5445
5463
|
Fe !== void 0 && (fe.setAttr("aria-valuenow", Fe.toString()), fe.setAttr("aria-valuetext", Fe.toString()));
|
|
5446
5464
|
}
|
|
5447
5465
|
ln(), xe && Vr(u, v.map((fe) => Ht(fe.percent)));
|
|
5448
5466
|
}, at = () => {
|
|
5449
|
-
for (let f = 0; f < v.length; f++)
|
|
5450
|
-
},
|
|
5451
|
-
j =
|
|
5467
|
+
for (let f = 0; f < v.length; f++) ze(f, v[f].percent);
|
|
5468
|
+
}, zn = (f, $) => {
|
|
5469
|
+
j = U !== void 0 ? 0 : ne(f, Qt), ae = U !== void 0 ? U.length - 1 : ne($, Nt), Pt(j), Tt(ae);
|
|
5452
5470
|
}, ln = () => {
|
|
5453
5471
|
var f, $;
|
|
5454
5472
|
for (let N = 0; N < v.length; N++) {
|
|
@@ -5456,9 +5474,9 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5456
5474
|
le.setAttr("aria-valuemin", ((f = It(N)) != null ? f : "").toString()), le.setAttr("aria-valuemax", (($ = xt(N)) != null ? $ : "").toString());
|
|
5457
5475
|
}
|
|
5458
5476
|
}, Pt = (f) => {
|
|
5459
|
-
j =
|
|
5477
|
+
j = ne(f, Qt), j > ae && (ae = j + Nt), at();
|
|
5460
5478
|
}, Tt = (f) => {
|
|
5461
|
-
ae =
|
|
5479
|
+
ae = ne(f, Nt), ae < j && (ae = j + Nt), at();
|
|
5462
5480
|
}, Tr = (f) => {
|
|
5463
5481
|
ce = !0;
|
|
5464
5482
|
for (let $ = 0; $ < f.length; $++) Rr(f[$], $);
|
|
@@ -5466,9 +5484,9 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5466
5484
|
for (let $ = 0; $ < f.length; $++) Rr(f[$], $);
|
|
5467
5485
|
}, Rr = (f, $) => {
|
|
5468
5486
|
let N;
|
|
5469
|
-
|
|
5487
|
+
U !== void 0 ? (N = f == null ? 0 : Yt(f, U), N === -1 && (N = 0)) : (N = ne(f, j), N < j && (N = j), N > ae && (N = ae));
|
|
5470
5488
|
let le = Z(j, ae, 0, 100, N);
|
|
5471
|
-
|
|
5489
|
+
ze($, le);
|
|
5472
5490
|
}, Or = (f) => {
|
|
5473
5491
|
if (f == null) {
|
|
5474
5492
|
ue = void 0;
|
|
@@ -5478,8 +5496,8 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5478
5496
|
ue = f, at();
|
|
5479
5497
|
return;
|
|
5480
5498
|
}
|
|
5481
|
-
if (
|
|
5482
|
-
ue =
|
|
5499
|
+
if ($e(f)) {
|
|
5500
|
+
ue = ne(f, 1);
|
|
5483
5501
|
let $ = Math.abs(ae - j);
|
|
5484
5502
|
ue > $ && (ue = void 0), at();
|
|
5485
5503
|
return;
|
|
@@ -5488,25 +5506,25 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5488
5506
|
}, cn = (f) => {
|
|
5489
5507
|
ce = f, at();
|
|
5490
5508
|
}, un = (f) => {
|
|
5491
|
-
(
|
|
5509
|
+
(!$e(f) || f < 0) && (f = 0), F = f;
|
|
5492
5510
|
}, Bt = (f) => {
|
|
5493
|
-
(
|
|
5511
|
+
(!$e(f) || f < 0) && (f = 1 / 0), Ae = f;
|
|
5494
5512
|
}, dn = (f) => {
|
|
5495
5513
|
Pe = f, p.classList.toggle("disabled", Pe), Pe ? p.setAttribute("aria-disabled", "true") : p.hasAttribute("aria-disabled") && p.removeAttribute("aria-disabled");
|
|
5496
|
-
},
|
|
5514
|
+
}, Un = (f) => {
|
|
5497
5515
|
Ve = f;
|
|
5498
5516
|
}, a = (f) => {
|
|
5499
5517
|
Ke = f, Ke ? document.removeEventListener("wheel", Sr) : document.addEventListener("wheel", Sr, { passive: !1 });
|
|
5500
5518
|
}, h = (f) => {
|
|
5501
5519
|
if (f == null) {
|
|
5502
|
-
|
|
5520
|
+
U = void 0;
|
|
5503
5521
|
return;
|
|
5504
5522
|
}
|
|
5505
|
-
if (
|
|
5506
|
-
|
|
5523
|
+
if (U = jt(f), U === void 0 || U.length <= 0) {
|
|
5524
|
+
U = void 0;
|
|
5507
5525
|
return;
|
|
5508
5526
|
}
|
|
5509
|
-
Pt(0), Tt(
|
|
5527
|
+
Pt(0), Tt(U.length - 1), ue === void 0 && Or(1);
|
|
5510
5528
|
}, m = (f) => {
|
|
5511
5529
|
var $;
|
|
5512
5530
|
typeof f == "string" ? he = f.trim().toLowerCase() === Le ? Le : te : he = te;
|
|
@@ -5516,11 +5534,11 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5516
5534
|
let le = he === Le ? "vertical" : "horizontal";
|
|
5517
5535
|
for (let xe of v) xe.setAttr("aria-orientation", le);
|
|
5518
5536
|
}, M = (f) => {
|
|
5519
|
-
|
|
5537
|
+
Ue = f, v.length > 1 && Ln(v, Ue, u), at(), kt();
|
|
5520
5538
|
}, I = (f) => {
|
|
5521
5539
|
B = f, v.length > 1 && Ln(v, B, u), at(), kt();
|
|
5522
5540
|
}, D = (f) => {
|
|
5523
|
-
Qe =
|
|
5541
|
+
Qe = ne(f, Je), Qe < 0 && (Qe = Je), kt();
|
|
5524
5542
|
}, X = (f) => {
|
|
5525
5543
|
f == null || f.toString().trim().toLowerCase() === "false" ? (wt = void 0, p.style.removeProperty(vr), p.classList.remove(vt)) : (wt = f.toString(), p.style.setProperty(vr, wt), p.classList.add(vt));
|
|
5526
5544
|
}, Te = (f, $) => {
|
|
@@ -5558,7 +5576,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5558
5576
|
var f, $;
|
|
5559
5577
|
for (let le of v) le.setCallbacks(Rn, On, Dn, jn);
|
|
5560
5578
|
let N = (f = u.shadowRoot) == null ? void 0 : f.querySelector(".panel-fill");
|
|
5561
|
-
N && (G = Kr(N)), m(u.getAttribute(k)), M(me(u.getAttribute(
|
|
5579
|
+
N && (G = Kr(N)), m(u.getAttribute(k)), M(me(u.getAttribute(z))), I(me(u.getAttribute(ie))), zn(u.getAttribute(y), u.getAttribute(w)), Or(u.getAttribute(b)), h(u.getAttribute(g)), Tr(_.map((le) => le[1])), cn(me(u.getAttribute(o))), un(ne(u.getAttribute(l), 0)), Bt(ne(u.getAttribute(c), 1 / 0)), Ee(me(u.getAttribute(d))), D(ne(u.getAttribute(A), Je)), qe(), Ge(), Y = Xt(u, p, v), X(($ = u.getAttribute(Re)) != null ? $ : Pn), p.addEventListener("mousedown", Qr), p.addEventListener("mouseup", Ar), p.addEventListener("touchmove", Ct), p.addEventListener("touchstart", Ct), Ke || document.addEventListener("wheel", Sr, { passive: !1 }), O = Xr(u, Nn, { setValues: Tr, setMin: Pt, setMax: Tt, setStep: Or, setPointersOverlap: cn, setPointersMinDistance: un, setPointersMaxDistance: Bt, setDisabled: dn, setType: m, setRightToLeft: M, setBottomToTop: I, setRound: D, setKeyboardDisabled: Un, setMousewheelDisabled: a, setRangeDragging: Ee, setData: h }, { getPercents: Hn, getValues: In, getPointerElements: tn, getMin: nr, getMax: Bn, getStep: en, getData: rn, getType: nn, getRound: Cr, getTextMin: Er, getTextMax: Lt, isRightToLeft: ft, isBottomToTop: on, isDisabled: an, isKeyboardDisabled: ir, isMousewheelDisabled: Pr, isPointersOverlap: sr, isRangeDraggingEnabled: rt, getPointersMinDistance: kr, getPointersMaxDistance: sn }), O.init();
|
|
5562
5580
|
})(), { get pointers() {
|
|
5563
5581
|
return v;
|
|
5564
5582
|
}, get styles() {
|
|
@@ -5612,7 +5630,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5612
5630
|
}, get keyboardDisabled() {
|
|
5613
5631
|
return ir();
|
|
5614
5632
|
}, set keyboardDisabled(f) {
|
|
5615
|
-
|
|
5633
|
+
Un(f);
|
|
5616
5634
|
}, get mousewheelDisabled() {
|
|
5617
5635
|
return Pr();
|
|
5618
5636
|
}, set mousewheelDisabled(f) {
|
|
@@ -5629,7 +5647,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5629
5647
|
}, mi = (u, p, _) => {
|
|
5630
5648
|
let v = xr.find(([O, j, ae, ue]) => j.replace("#", "") === p.replace(/\d+/g, ""));
|
|
5631
5649
|
if (v && u.styles) {
|
|
5632
|
-
let [O, j, ae, ue] = v,
|
|
5650
|
+
let [O, j, ae, ue] = v, U = p.replace(/\D/g, "").trim(), he = U === "" || U === "0" || U === "1" ? 0 : ne(U, 0) - 1;
|
|
5633
5651
|
u.styles.setStyle(O, _, he);
|
|
5634
5652
|
return;
|
|
5635
5653
|
}
|
|
@@ -5651,7 +5669,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5651
5669
|
break;
|
|
5652
5670
|
}
|
|
5653
5671
|
case l: {
|
|
5654
|
-
u.pointersMinDistance =
|
|
5672
|
+
u.pointersMinDistance = ne(_, 0);
|
|
5655
5673
|
break;
|
|
5656
5674
|
}
|
|
5657
5675
|
case d: {
|
|
@@ -5659,7 +5677,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5659
5677
|
break;
|
|
5660
5678
|
}
|
|
5661
5679
|
case c: {
|
|
5662
|
-
u.pointersMaxDistance =
|
|
5680
|
+
u.pointersMaxDistance = ne(_, 1 / 0);
|
|
5663
5681
|
break;
|
|
5664
5682
|
}
|
|
5665
5683
|
case ee: {
|
|
@@ -5682,7 +5700,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5682
5700
|
u.type = _;
|
|
5683
5701
|
break;
|
|
5684
5702
|
}
|
|
5685
|
-
case
|
|
5703
|
+
case z: {
|
|
5686
5704
|
u.rightToLeft = me(_);
|
|
5687
5705
|
break;
|
|
5688
5706
|
}
|
|
@@ -5691,7 +5709,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5691
5709
|
break;
|
|
5692
5710
|
}
|
|
5693
5711
|
case A: {
|
|
5694
|
-
u.round =
|
|
5712
|
+
u.round = ne(_, Je);
|
|
5695
5713
|
break;
|
|
5696
5714
|
}
|
|
5697
5715
|
case W: {
|
|
@@ -5705,7 +5723,7 @@ customElements.define("eox-itemfilter-select", Xo);
|
|
|
5705
5723
|
}
|
|
5706
5724
|
let T = null;
|
|
5707
5725
|
if (/^value([0-9]*)$/.test(p) && (T = "value"), /^pointer([0-9]*)-disabled$/.test(p) && (T = "pointer-disabled"), /^aria-label([0-9]*)$/.test(p) && (T = "aria-label"), /^pointer([0-9]*)-shape$/.test(p) && (T = "pointer-shape"), !T) return;
|
|
5708
|
-
let G = p.replace(/\D/g, "").trim(), Y = G === "" || G === "0" || G === "1" ? 0 :
|
|
5726
|
+
let G = p.replace(/\D/g, "").trim(), Y = G === "" || G === "0" || G === "1" ? 0 : ne(G, 0) - 1;
|
|
5709
5727
|
switch (T) {
|
|
5710
5728
|
case "value": {
|
|
5711
5729
|
u.setValue(_, Y);
|
|
@@ -5924,7 +5942,7 @@ class ta extends tt {
|
|
|
5924
5942
|
render() {
|
|
5925
5943
|
return Ze(
|
|
5926
5944
|
this.filterObject,
|
|
5927
|
-
() =>
|
|
5945
|
+
() => re`
|
|
5928
5946
|
${ye(this, gr, rs).call(this, "min", "before")}
|
|
5929
5947
|
<tc-range-slider
|
|
5930
5948
|
min="${this.filterObject.min}"
|
|
@@ -5999,17 +6017,17 @@ class pu extends tt {
|
|
|
5999
6017
|
this.filterObject,
|
|
6000
6018
|
() => {
|
|
6001
6019
|
var r;
|
|
6002
|
-
return
|
|
6020
|
+
return re`
|
|
6003
6021
|
<form style="display: inline">
|
|
6004
6022
|
${ai(
|
|
6005
6023
|
["intersects", "within"],
|
|
6006
|
-
(n) =>
|
|
6024
|
+
(n) => re`
|
|
6007
6025
|
<label>
|
|
6008
6026
|
<input
|
|
6009
6027
|
tabindex=${this.tabIndex}
|
|
6010
6028
|
type="radio"
|
|
6011
6029
|
name="mode"
|
|
6012
|
-
.checked="${(this.filterObject.state.mode || "") === n ||
|
|
6030
|
+
.checked="${(this.filterObject.state.mode || "") === n || Me}"
|
|
6013
6031
|
value="${n}"
|
|
6014
6032
|
@click=${() => ye(this, si, na).call(this, n)}
|
|
6015
6033
|
/>
|
|
@@ -6070,7 +6088,7 @@ class gu extends tt {
|
|
|
6070
6088
|
* Renders the HTML template for the component.
|
|
6071
6089
|
*/
|
|
6072
6090
|
render() {
|
|
6073
|
-
return
|
|
6091
|
+
return re`<div id="eox-map"></div>`;
|
|
6074
6092
|
}
|
|
6075
6093
|
}
|
|
6076
6094
|
oi = new WeakSet(), /**
|
|
@@ -6166,14 +6184,14 @@ class vu extends tt {
|
|
|
6166
6184
|
* Renders the HTML template for the component.
|
|
6167
6185
|
*/
|
|
6168
6186
|
render() {
|
|
6169
|
-
return
|
|
6187
|
+
return re`
|
|
6170
6188
|
<style>
|
|
6171
6189
|
${Sn}
|
|
6172
6190
|
</style>
|
|
6173
6191
|
<span class="chip-container">
|
|
6174
6192
|
${ai(
|
|
6175
6193
|
this.items,
|
|
6176
|
-
(r) =>
|
|
6194
|
+
(r) => re`
|
|
6177
6195
|
<span class="chip" @click=${ye(this, yr, sa).bind(this)}>
|
|
6178
6196
|
<span class="chip-title">${r.title}</span>
|
|
6179
6197
|
<span
|
|
@@ -6312,7 +6330,7 @@ function xu() {
|
|
|
6312
6330
|
var q = x ? x.length : 0;
|
|
6313
6331
|
return !!q && w(x, E, 0) > -1;
|
|
6314
6332
|
}
|
|
6315
|
-
function y(x, E, q,
|
|
6333
|
+
function y(x, E, q, _e) {
|
|
6316
6334
|
for (var dt = x.length, Be = q + -1; ++Be < dt; )
|
|
6317
6335
|
if (E(x[Be], Be, x))
|
|
6318
6336
|
return Be;
|
|
@@ -6321,9 +6339,9 @@ function xu() {
|
|
|
6321
6339
|
function w(x, E, q) {
|
|
6322
6340
|
if (E !== E)
|
|
6323
6341
|
return y(x, b, q);
|
|
6324
|
-
for (var
|
|
6325
|
-
if (x[
|
|
6326
|
-
return
|
|
6342
|
+
for (var _e = q - 1, dt = x.length; ++_e < dt; )
|
|
6343
|
+
if (x[_e] === E)
|
|
6344
|
+
return _e;
|
|
6327
6345
|
return -1;
|
|
6328
6346
|
}
|
|
6329
6347
|
function b(x) {
|
|
@@ -6344,10 +6362,10 @@ function xu() {
|
|
|
6344
6362
|
}
|
|
6345
6363
|
return E;
|
|
6346
6364
|
}
|
|
6347
|
-
function
|
|
6365
|
+
function z(x) {
|
|
6348
6366
|
var E = -1, q = Array(x.size);
|
|
6349
|
-
return x.forEach(function(
|
|
6350
|
-
q[++E] =
|
|
6367
|
+
return x.forEach(function(_e) {
|
|
6368
|
+
q[++E] = _e;
|
|
6351
6369
|
}), q;
|
|
6352
6370
|
}
|
|
6353
6371
|
var ie = Array.prototype, ee = Function.prototype, pe = Object.prototype, R = d["__core-js_shared__"], oe = function() {
|
|
@@ -6359,8 +6377,8 @@ function xu() {
|
|
|
6359
6377
|
function C(x) {
|
|
6360
6378
|
var E = -1, q = x ? x.length : 0;
|
|
6361
6379
|
for (this.clear(); ++E < q; ) {
|
|
6362
|
-
var
|
|
6363
|
-
this.set(
|
|
6380
|
+
var _e = x[E];
|
|
6381
|
+
this.set(_e[0], _e[1]);
|
|
6364
6382
|
}
|
|
6365
6383
|
}
|
|
6366
6384
|
function S() {
|
|
@@ -6389,8 +6407,8 @@ function xu() {
|
|
|
6389
6407
|
function se(x) {
|
|
6390
6408
|
var E = -1, q = x ? x.length : 0;
|
|
6391
6409
|
for (this.clear(); ++E < q; ) {
|
|
6392
|
-
var
|
|
6393
|
-
this.set(
|
|
6410
|
+
var _e = x[E];
|
|
6411
|
+
this.set(_e[0], _e[1]);
|
|
6394
6412
|
}
|
|
6395
6413
|
}
|
|
6396
6414
|
function be() {
|
|
@@ -6400,8 +6418,8 @@ function xu() {
|
|
|
6400
6418
|
var E = this.__data__, q = St(E, x);
|
|
6401
6419
|
if (q < 0)
|
|
6402
6420
|
return !1;
|
|
6403
|
-
var
|
|
6404
|
-
return q ==
|
|
6421
|
+
var _e = E.length - 1;
|
|
6422
|
+
return q == _e ? E.pop() : J.call(E, q, 1), !0;
|
|
6405
6423
|
}
|
|
6406
6424
|
function Re(x) {
|
|
6407
6425
|
var E = this.__data__, q = St(E, x);
|
|
@@ -6411,15 +6429,15 @@ function xu() {
|
|
|
6411
6429
|
return St(this.__data__, x) > -1;
|
|
6412
6430
|
}
|
|
6413
6431
|
function Le(x, E) {
|
|
6414
|
-
var q = this.__data__,
|
|
6415
|
-
return
|
|
6432
|
+
var q = this.__data__, _e = St(q, x);
|
|
6433
|
+
return _e < 0 ? q.push([x, E]) : q[_e][1] = E, this;
|
|
6416
6434
|
}
|
|
6417
6435
|
se.prototype.clear = be, se.prototype.delete = Se, se.prototype.get = Re, se.prototype.has = Ne, se.prototype.set = Le;
|
|
6418
6436
|
function te(x) {
|
|
6419
6437
|
var E = -1, q = x ? x.length : 0;
|
|
6420
6438
|
for (this.clear(); ++E < q; ) {
|
|
6421
|
-
var
|
|
6422
|
-
this.set(
|
|
6439
|
+
var _e = x[E];
|
|
6440
|
+
this.set(_e[0], _e[1]);
|
|
6423
6441
|
}
|
|
6424
6442
|
}
|
|
6425
6443
|
function Z() {
|
|
@@ -6429,10 +6447,10 @@ function xu() {
|
|
|
6429
6447
|
string: new C()
|
|
6430
6448
|
};
|
|
6431
6449
|
}
|
|
6432
|
-
function
|
|
6450
|
+
function $e(x) {
|
|
6433
6451
|
return jt(this, x).delete(x);
|
|
6434
6452
|
}
|
|
6435
|
-
function
|
|
6453
|
+
function ne(x) {
|
|
6436
6454
|
return jt(this, x).get(x);
|
|
6437
6455
|
}
|
|
6438
6456
|
function De(x) {
|
|
@@ -6441,7 +6459,7 @@ function xu() {
|
|
|
6441
6459
|
function ot(x, E) {
|
|
6442
6460
|
return jt(this, x).set(x, E), this;
|
|
6443
6461
|
}
|
|
6444
|
-
te.prototype.clear = Z, te.prototype.delete =
|
|
6462
|
+
te.prototype.clear = Z, te.prototype.delete = $e, te.prototype.get = ne, te.prototype.has = De, te.prototype.set = ot;
|
|
6445
6463
|
function me(x) {
|
|
6446
6464
|
var E = -1, q = x ? x.length : 0;
|
|
6447
6465
|
for (this.__data__ = new te(); ++E < q; )
|
|
@@ -6467,17 +6485,17 @@ function xu() {
|
|
|
6467
6485
|
return E.test(Gr(x));
|
|
6468
6486
|
}
|
|
6469
6487
|
function Vr(x, E, q) {
|
|
6470
|
-
var
|
|
6488
|
+
var _e = -1, dt = g, Be = x.length, ht = !0, yt = [], Xe = yt;
|
|
6471
6489
|
if (Be >= t) {
|
|
6472
6490
|
var Zt = Gt(x);
|
|
6473
6491
|
if (Zt)
|
|
6474
|
-
return
|
|
6492
|
+
return z(Zt);
|
|
6475
6493
|
ht = !1, dt = A, Xe = new me();
|
|
6476
6494
|
} else
|
|
6477
6495
|
Xe = yt;
|
|
6478
6496
|
e:
|
|
6479
|
-
for (; ++
|
|
6480
|
-
var bt = x[
|
|
6497
|
+
for (; ++_e < Be; ) {
|
|
6498
|
+
var bt = x[_e], Et = bt;
|
|
6481
6499
|
if (bt = bt !== 0 ? bt : 0, ht && Et === Et) {
|
|
6482
6500
|
for (var mt = Xe.length; mt--; )
|
|
6483
6501
|
if (Xe[mt] === Et)
|
|
@@ -6487,7 +6505,7 @@ function xu() {
|
|
|
6487
6505
|
}
|
|
6488
6506
|
return yt;
|
|
6489
6507
|
}
|
|
6490
|
-
var Gt = Ie && 1 /
|
|
6508
|
+
var Gt = Ie && 1 / z(new Ie([, -0]))[1] == r ? function(x) {
|
|
6491
6509
|
return new Ie(x);
|
|
6492
6510
|
} : Zr;
|
|
6493
6511
|
function jt(x, E) {
|
|
@@ -6543,9 +6561,9 @@ gn.exports;
|
|
|
6543
6561
|
var Gs;
|
|
6544
6562
|
function _u() {
|
|
6545
6563
|
return Gs || (Gs = 1, function(t, e) {
|
|
6546
|
-
var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", s = 1, o = 2, l = 1 / 0, c = 9007199254740991, d = "[object Arguments]", g = "[object Array]", y = "[object Boolean]", w = "[object Date]", b = "[object Error]", A = "[object Function]", k = "[object GeneratorFunction]", W = "[object Map]",
|
|
6547
|
-
Z[J] = Z[we] = Z[Ie] = Z[P] = Z[C] = Z[S] = Z[H] = Z[L] = Z[V] = !0, Z[d] = Z[g] = Z[ke] = Z[y] = Z[de] = Z[w] = Z[b] = Z[A] = Z[W] = Z[
|
|
6548
|
-
var
|
|
6564
|
+
var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", s = 1, o = 2, l = 1 / 0, c = 9007199254740991, d = "[object Arguments]", g = "[object Array]", y = "[object Boolean]", w = "[object Date]", b = "[object Error]", A = "[object Function]", k = "[object GeneratorFunction]", W = "[object Map]", z = "[object Number]", ie = "[object Object]", ee = "[object Promise]", pe = "[object RegExp]", R = "[object Set]", oe = "[object String]", ge = "[object Symbol]", ve = "[object WeakMap]", ke = "[object ArrayBuffer]", de = "[object DataView]", J = "[object Float32Array]", we = "[object Float64Array]", Ie = "[object Int8Array]", P = "[object Int16Array]", C = "[object Int32Array]", S = "[object Uint8Array]", H = "[object Uint8ClampedArray]", L = "[object Uint16Array]", V = "[object Uint32Array]", K = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, se = /^\w*$/, be = /^\./, Se = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Re = /[\\^$.*+?()[\]{}|]/g, Ne = /\\(\\)?/g, Le = /^\[object .+?Constructor\]$/, te = /^(?:0|[1-9]\d*)$/, Z = {};
|
|
6565
|
+
Z[J] = Z[we] = Z[Ie] = Z[P] = Z[C] = Z[S] = Z[H] = Z[L] = Z[V] = !0, Z[d] = Z[g] = Z[ke] = Z[y] = Z[de] = Z[w] = Z[b] = Z[A] = Z[W] = Z[z] = Z[ie] = Z[pe] = Z[R] = Z[oe] = Z[ve] = !1;
|
|
6566
|
+
var $e = typeof ct == "object" && ct && ct.Object === Object && ct, ne = typeof self == "object" && self && self.Object === Object && self, De = $e || ne || Function("return this")(), ot = e && !e.nodeType && e, me = ot && !0 && t && !t.nodeType && t, Wr = me && me.exports === ot, br = Wr && $e.process, St = function() {
|
|
6549
6567
|
try {
|
|
6550
6568
|
return br && br.binding("util");
|
|
6551
6569
|
} catch {
|
|
@@ -6611,7 +6629,7 @@ function _u() {
|
|
|
6611
6629
|
m[++h] = M;
|
|
6612
6630
|
}), m;
|
|
6613
6631
|
}
|
|
6614
|
-
var Zr = Array.prototype, x = Function.prototype, E = Object.prototype, q = De["__core-js_shared__"],
|
|
6632
|
+
var Zr = Array.prototype, x = Function.prototype, E = Object.prototype, q = De["__core-js_shared__"], _e = function() {
|
|
6615
6633
|
var a = /[^.]+$/.exec(q && q.keys && q.keys.IE_PROTO || "");
|
|
6616
6634
|
return a ? "Symbol(src)_1." + a : "";
|
|
6617
6635
|
}(), dt = x.toString, Be = E.hasOwnProperty, ht = E.toString, yt = RegExp(
|
|
@@ -6699,10 +6717,10 @@ function _u() {
|
|
|
6699
6717
|
function ue(a) {
|
|
6700
6718
|
return Lt(this, a).has(a);
|
|
6701
6719
|
}
|
|
6702
|
-
function
|
|
6720
|
+
function U(a, h) {
|
|
6703
6721
|
return Lt(this, a).set(a, h), this;
|
|
6704
6722
|
}
|
|
6705
|
-
Y.prototype.clear = O, Y.prototype.delete = j, Y.prototype.get = ae, Y.prototype.has = ue, Y.prototype.set =
|
|
6723
|
+
Y.prototype.clear = O, Y.prototype.delete = j, Y.prototype.get = ae, Y.prototype.has = ue, Y.prototype.set = U;
|
|
6706
6724
|
function he(a) {
|
|
6707
6725
|
var h = -1, m = a ? a.length : 0;
|
|
6708
6726
|
for (this.__data__ = new Y(); ++h < m; )
|
|
@@ -6711,10 +6729,10 @@ function _u() {
|
|
|
6711
6729
|
function Qe(a) {
|
|
6712
6730
|
return this.__data__.set(a, i), this;
|
|
6713
6731
|
}
|
|
6714
|
-
function
|
|
6732
|
+
function Ue(a) {
|
|
6715
6733
|
return this.__data__.has(a);
|
|
6716
6734
|
}
|
|
6717
|
-
he.prototype.add = he.prototype.push = Qe, he.prototype.has =
|
|
6735
|
+
he.prototype.add = he.prototype.push = Qe, he.prototype.has = Ue;
|
|
6718
6736
|
function B(a) {
|
|
6719
6737
|
this.__data__ = new u(a);
|
|
6720
6738
|
}
|
|
@@ -6724,7 +6742,7 @@ function _u() {
|
|
|
6724
6742
|
function F(a) {
|
|
6725
6743
|
return this.__data__.delete(a);
|
|
6726
6744
|
}
|
|
6727
|
-
function
|
|
6745
|
+
function Ae(a) {
|
|
6728
6746
|
return this.__data__.get(a);
|
|
6729
6747
|
}
|
|
6730
6748
|
function He(a) {
|
|
@@ -6740,7 +6758,7 @@ function _u() {
|
|
|
6740
6758
|
}
|
|
6741
6759
|
return m.set(a, h), this;
|
|
6742
6760
|
}
|
|
6743
|
-
B.prototype.clear = ce, B.prototype.delete = F, B.prototype.get =
|
|
6761
|
+
B.prototype.clear = ce, B.prototype.delete = F, B.prototype.get = Ae, B.prototype.has = He, B.prototype.set = je;
|
|
6744
6762
|
function Oe(a, h) {
|
|
6745
6763
|
var m = rt(a) || sr(a) ? Kr(a.length, String) : [], M = m.length, I = !!M;
|
|
6746
6764
|
for (var D in a)
|
|
@@ -6822,14 +6840,14 @@ function _u() {
|
|
|
6822
6840
|
function Rn(a) {
|
|
6823
6841
|
if (!Pt(a) || rn(a))
|
|
6824
6842
|
return !1;
|
|
6825
|
-
var h =
|
|
6843
|
+
var h = zn(a) || Ft(a) ? yt : Le;
|
|
6826
6844
|
return h.test(ft(a));
|
|
6827
6845
|
}
|
|
6828
6846
|
function On(a) {
|
|
6829
6847
|
return Tt(a) && ln(a.length) && !!Z[ht.call(a)];
|
|
6830
6848
|
}
|
|
6831
6849
|
function Dn(a) {
|
|
6832
|
-
return typeof a == "function" ? a : a == null ? dn : typeof a == "object" ? rt(a) ? er(a[0], a[1]) : $i(a) :
|
|
6850
|
+
return typeof a == "function" ? a : a == null ? dn : typeof a == "object" ? rt(a) ? er(a[0], a[1]) : $i(a) : Un(a);
|
|
6833
6851
|
}
|
|
6834
6852
|
function jn(a) {
|
|
6835
6853
|
if (!nn(a))
|
|
@@ -6840,7 +6858,7 @@ function _u() {
|
|
|
6840
6858
|
return h;
|
|
6841
6859
|
}
|
|
6842
6860
|
function xi(a, h) {
|
|
6843
|
-
var m = -1, M =
|
|
6861
|
+
var m = -1, M = ze(a) ? Array(a.length) : [];
|
|
6844
6862
|
return Ve(a, function(I, D, X) {
|
|
6845
6863
|
M[++m] = h(I, D, X);
|
|
6846
6864
|
}), M;
|
|
@@ -6877,7 +6895,7 @@ function _u() {
|
|
|
6877
6895
|
return function(m, M) {
|
|
6878
6896
|
if (m == null)
|
|
6879
6897
|
return m;
|
|
6880
|
-
if (!
|
|
6898
|
+
if (!ze(m))
|
|
6881
6899
|
return a(m, M);
|
|
6882
6900
|
for (var I = m.length, D = -1, X = Object(m); ++D < I && M(X[D], D, X) !== !1; )
|
|
6883
6901
|
;
|
|
@@ -6937,7 +6955,7 @@ function _u() {
|
|
|
6937
6955
|
return !(a.byteLength != h.byteLength || !M(new Zt(a), new Zt(h)));
|
|
6938
6956
|
case y:
|
|
6939
6957
|
case w:
|
|
6940
|
-
case
|
|
6958
|
+
case z:
|
|
6941
6959
|
return Pr(+a, +h);
|
|
6942
6960
|
case b:
|
|
6943
6961
|
return a.name == h.name && a.message == h.message;
|
|
@@ -7056,7 +7074,7 @@ function _u() {
|
|
|
7056
7074
|
return h == "string" || h == "number" || h == "symbol" || h == "boolean" ? a !== "__proto__" : a === null;
|
|
7057
7075
|
}
|
|
7058
7076
|
function rn(a) {
|
|
7059
|
-
return !!
|
|
7077
|
+
return !!_e && _e in a;
|
|
7060
7078
|
}
|
|
7061
7079
|
function nn(a) {
|
|
7062
7080
|
var h = a && a.constructor, m = typeof h == "function" && h.prototype || E;
|
|
@@ -7123,13 +7141,13 @@ function _u() {
|
|
|
7123
7141
|
return at(a) && Be.call(a, "callee") && (!bt.call(a, "callee") || ht.call(a) == d);
|
|
7124
7142
|
}
|
|
7125
7143
|
var rt = Array.isArray;
|
|
7126
|
-
function
|
|
7127
|
-
return a != null && ln(a.length) && !
|
|
7144
|
+
function ze(a) {
|
|
7145
|
+
return a != null && ln(a.length) && !zn(a);
|
|
7128
7146
|
}
|
|
7129
7147
|
function at(a) {
|
|
7130
|
-
return Tt(a) &&
|
|
7148
|
+
return Tt(a) && ze(a);
|
|
7131
7149
|
}
|
|
7132
|
-
function
|
|
7150
|
+
function zn(a) {
|
|
7133
7151
|
var h = Pt(a) ? ht.call(a) : "";
|
|
7134
7152
|
return h == A || h == k;
|
|
7135
7153
|
}
|
|
@@ -7158,12 +7176,12 @@ function _u() {
|
|
|
7158
7176
|
return a != null && Hn(a, h, wi);
|
|
7159
7177
|
}
|
|
7160
7178
|
function Bt(a) {
|
|
7161
|
-
return
|
|
7179
|
+
return ze(a) ? Oe(a) : jn(a);
|
|
7162
7180
|
}
|
|
7163
7181
|
function dn(a) {
|
|
7164
7182
|
return a;
|
|
7165
7183
|
}
|
|
7166
|
-
function
|
|
7184
|
+
function Un(a) {
|
|
7167
7185
|
return nr(a) ? Yt(Lr(a)) : tr(a);
|
|
7168
7186
|
}
|
|
7169
7187
|
t.exports = on;
|
|
@@ -7235,7 +7253,7 @@ function Eu(t, e, r) {
|
|
|
7235
7253
|
const n = `filter-${t.key}`.replace("|", "-");
|
|
7236
7254
|
switch (t.type) {
|
|
7237
7255
|
case "text":
|
|
7238
|
-
return
|
|
7256
|
+
return re`<eox-itemfilter-text
|
|
7239
7257
|
data-type="filter"
|
|
7240
7258
|
data-cy="text-filter"
|
|
7241
7259
|
slot="filter"
|
|
@@ -7247,7 +7265,7 @@ function Eu(t, e, r) {
|
|
|
7247
7265
|
></eox-itemfilter-text>`;
|
|
7248
7266
|
case "multiselect":
|
|
7249
7267
|
case "select":
|
|
7250
|
-
return
|
|
7268
|
+
return re`
|
|
7251
7269
|
<eox-itemfilter-select
|
|
7252
7270
|
.inlineMode=${r.inlineMode || !1}
|
|
7253
7271
|
data-type="filter"
|
|
@@ -7264,7 +7282,7 @@ function Eu(t, e, r) {
|
|
|
7264
7282
|
></eox-itemfilter-select>
|
|
7265
7283
|
`;
|
|
7266
7284
|
case "range":
|
|
7267
|
-
return
|
|
7285
|
+
return re`
|
|
7268
7286
|
<eox-itemfilter-range
|
|
7269
7287
|
id="${n}"
|
|
7270
7288
|
data-type="filter"
|
|
@@ -7276,7 +7294,7 @@ function Eu(t, e, r) {
|
|
|
7276
7294
|
></eox-itemfilter-range>
|
|
7277
7295
|
`;
|
|
7278
7296
|
case "spatial":
|
|
7279
|
-
return
|
|
7297
|
+
return re`
|
|
7280
7298
|
<eox-itemfilter-spatial
|
|
7281
7299
|
id="${n}"
|
|
7282
7300
|
data-type="filter"
|
|
@@ -7287,7 +7305,7 @@ function Eu(t, e, r) {
|
|
|
7287
7305
|
></eox-itemfilter-spatial>
|
|
7288
7306
|
`;
|
|
7289
7307
|
default:
|
|
7290
|
-
return
|
|
7308
|
+
return re``;
|
|
7291
7309
|
}
|
|
7292
7310
|
}
|
|
7293
7311
|
function Cu(t, e) {
|
|
@@ -7296,10 +7314,10 @@ function Cu(t, e) {
|
|
|
7296
7314
|
);
|
|
7297
7315
|
}
|
|
7298
7316
|
function ku(t, e, r) {
|
|
7299
|
-
return
|
|
7317
|
+
return re`
|
|
7300
7318
|
${Ze(
|
|
7301
7319
|
t.dirty,
|
|
7302
|
-
() =>
|
|
7320
|
+
() => re`
|
|
7303
7321
|
<button
|
|
7304
7322
|
type="button"
|
|
7305
7323
|
tabindex=${e}
|
|
@@ -7310,7 +7328,7 @@ function ku(t, e, r) {
|
|
|
7310
7328
|
i && typeof i.reset == "function" && i.reset(), r.search(), r.requestUpdate();
|
|
7311
7329
|
}}
|
|
7312
7330
|
>
|
|
7313
|
-
${r.unstyled ? "Reset" :
|
|
7331
|
+
${r.unstyled ? "Reset" : Me}
|
|
7314
7332
|
</button>
|
|
7315
7333
|
`
|
|
7316
7334
|
)}
|
|
@@ -7321,11 +7339,11 @@ function Lu(t) {
|
|
|
7321
7339
|
typeof e.reset == "function" && e.reset();
|
|
7322
7340
|
}), t.search();
|
|
7323
7341
|
}
|
|
7324
|
-
var An, Hr, lt,
|
|
7342
|
+
var An, Hr, lt, zr, la, ca;
|
|
7325
7343
|
class Pu extends tt {
|
|
7326
7344
|
constructor() {
|
|
7327
7345
|
super();
|
|
7328
|
-
et(this,
|
|
7346
|
+
et(this, zr);
|
|
7329
7347
|
/**
|
|
7330
7348
|
* @type Array<string>
|
|
7331
7349
|
*/
|
|
@@ -7465,7 +7483,7 @@ class Pu extends tt {
|
|
|
7465
7483
|
*/
|
|
7466
7484
|
render() {
|
|
7467
7485
|
var r;
|
|
7468
|
-
return
|
|
7486
|
+
return re`
|
|
7469
7487
|
<style>
|
|
7470
7488
|
${Sa}
|
|
7471
7489
|
${!this.unstyled && Sn}
|
|
@@ -7474,12 +7492,12 @@ class Pu extends tt {
|
|
|
7474
7492
|
</style>
|
|
7475
7493
|
<form
|
|
7476
7494
|
id="itemfilter"
|
|
7477
|
-
class=${this.inlineMode ? "inline" :
|
|
7495
|
+
class=${this.inlineMode ? "inline" : Me}
|
|
7478
7496
|
@submit="${(n) => n.preventDefault()}"
|
|
7479
7497
|
>
|
|
7480
7498
|
${Ze(
|
|
7481
7499
|
this.filterProperties,
|
|
7482
|
-
() =>
|
|
7500
|
+
() => re`
|
|
7483
7501
|
<eox-itemfilter-container
|
|
7484
7502
|
.filters=${this.filters}
|
|
7485
7503
|
.filterProperties=${this.filterProperties}
|
|
@@ -7490,7 +7508,7 @@ class Pu extends tt {
|
|
|
7490
7508
|
<section slot="section">
|
|
7491
7509
|
${Ze(
|
|
7492
7510
|
!this.inlineMode,
|
|
7493
|
-
() =>
|
|
7511
|
+
() => re`
|
|
7494
7512
|
<slot name="filterstitle"
|
|
7495
7513
|
><h6 class="main-heading">Filters</h6></slot
|
|
7496
7514
|
>
|
|
@@ -7499,21 +7517,21 @@ class Pu extends tt {
|
|
|
7499
7517
|
<ul id="filters">
|
|
7500
7518
|
${ai(
|
|
7501
7519
|
Object.values(this.filters),
|
|
7502
|
-
(n, i) =>
|
|
7520
|
+
(n, i) => re` <li>
|
|
7503
7521
|
<eox-itemfilter-expandcontainer
|
|
7504
7522
|
.filterObject=${n}
|
|
7505
7523
|
@details-toggled=${(s) => No(s, nt(this, lt), this)}
|
|
7506
7524
|
data-details="${n.key}"
|
|
7507
7525
|
>
|
|
7508
|
-
${ye(this,
|
|
7509
|
-
${ye(this,
|
|
7526
|
+
${ye(this, zr, ca).call(this, n, zs(i, 1))}
|
|
7527
|
+
${ye(this, zr, la).call(this, n, zs(i, 2))}
|
|
7510
7528
|
</eox-itemfilter-expandcontainer>
|
|
7511
7529
|
</li>`
|
|
7512
7530
|
)}
|
|
7513
7531
|
</ul>
|
|
7514
7532
|
${Ze(
|
|
7515
7533
|
!this.inlineMode && nt(this, lt).filterProperties && !this.inlineMode && nt(this, lt).filterProperties && Gi(this.filters),
|
|
7516
|
-
() =>
|
|
7534
|
+
() => re`
|
|
7517
7535
|
<button
|
|
7518
7536
|
type="button"
|
|
7519
7537
|
id="filter-reset"
|
|
@@ -7531,7 +7549,7 @@ class Pu extends tt {
|
|
|
7531
7549
|
)}
|
|
7532
7550
|
${Ze(
|
|
7533
7551
|
((r = nt(this, lt)) == null ? void 0 : r.showResults) && this.results,
|
|
7534
|
-
() =>
|
|
7552
|
+
() => re`
|
|
7535
7553
|
<eox-itemfilter-results
|
|
7536
7554
|
.config=${nt(this, lt)}
|
|
7537
7555
|
.results=${this.results}
|
|
@@ -7551,7 +7569,7 @@ class Pu extends tt {
|
|
|
7551
7569
|
`;
|
|
7552
7570
|
}
|
|
7553
7571
|
}
|
|
7554
|
-
An = new WeakMap(), Hr = new WeakMap(), lt = new WeakMap(),
|
|
7572
|
+
An = new WeakMap(), Hr = new WeakMap(), lt = new WeakMap(), zr = new WeakSet(), /**
|
|
7555
7573
|
* Creates a filter element based on the given filter object and tab index.
|
|
7556
7574
|
*
|
|
7557
7575
|
* @param {Object} filterObject - The filter object.
|