@cupra/ui-kit 1.0.0-canary.4 → 1.0.0-canary.6
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/index.js +729 -723
- package/dist-react/index.js +776 -771
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ class se {
|
|
|
191
191
|
theme: s
|
|
192
192
|
}) => {
|
|
193
193
|
if (!s || !e) return;
|
|
194
|
-
const i = `https://ds-assets.cupra.com/1.0.0-canary.
|
|
194
|
+
const i = `https://ds-assets.cupra.com/1.0.0-canary.6/styles/${s}/components/${e}.css`, o = this.getCachedStyleSheetPromise({ url: i });
|
|
195
195
|
if (o) return o;
|
|
196
196
|
const n = this.fetchStyle({ url: i }).then((h) => (h || this.stylePromises.delete(i), h));
|
|
197
197
|
return this.stylePromises.set(i, n), this.stylePromises.get(i);
|
|
@@ -260,7 +260,7 @@ const vi = (t) => new bi(typeof t == "string" ? t : t + "", void 0, zs), u = (t,
|
|
|
260
260
|
* Copyright 2017 Google LLC
|
|
261
261
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
262
262
|
*/
|
|
263
|
-
const { is: ji, defineProperty: Fi, getOwnPropertyDescriptor: Ri, getOwnPropertyNames: Ui, getOwnPropertySymbols: Vi, getPrototypeOf: Hi } = Object,
|
|
263
|
+
const { is: ji, defineProperty: Fi, getOwnPropertyDescriptor: Ri, getOwnPropertyNames: Ui, getOwnPropertySymbols: Vi, getPrototypeOf: Hi } = Object, Et = globalThis, Qs = Et.trustedTypes, Wi = Qs ? Qs.emptyScript : "", vs = Et.reactiveElementPolyfillSupport, ze = (t, e) => t, Xe = { toAttribute(t, e) {
|
|
264
264
|
switch (e) {
|
|
265
265
|
case Boolean:
|
|
266
266
|
t = t ? Wi : null;
|
|
@@ -289,7 +289,7 @@ const { is: ji, defineProperty: Fi, getOwnPropertyDescriptor: Ri, getOwnProperty
|
|
|
289
289
|
}
|
|
290
290
|
return s;
|
|
291
291
|
} }, As = (t, e) => !ji(t, e), ti = { attribute: !0, type: String, converter: Xe, reflect: !1, useDefault: !1, hasChanged: As };
|
|
292
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
292
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Et.litPropertyMetadata ?? (Et.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
293
293
|
let te = class extends HTMLElement {
|
|
294
294
|
static addInitializer(e) {
|
|
295
295
|
this._$Ei(), (this.l ?? (this.l = [])).push(e);
|
|
@@ -493,15 +493,15 @@ let te = class extends HTMLElement {
|
|
|
493
493
|
firstUpdated(e) {
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
|
-
te.elementStyles = [], te.shadowRootOptions = { mode: "open" }, te[ze("elementProperties")] = /* @__PURE__ */ new Map(), te[ze("finalized")] = /* @__PURE__ */ new Map(), vs == null || vs({ ReactiveElement: te }), (
|
|
496
|
+
te.elementStyles = [], te.shadowRootOptions = { mode: "open" }, te[ze("elementProperties")] = /* @__PURE__ */ new Map(), te[ze("finalized")] = /* @__PURE__ */ new Map(), vs == null || vs({ ReactiveElement: te }), (Et.reactiveElementVersions ?? (Et.reactiveElementVersions = [])).push("2.1.1");
|
|
497
497
|
/**
|
|
498
498
|
* @license
|
|
499
499
|
* Copyright 2017 Google LLC
|
|
500
500
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
501
501
|
*/
|
|
502
|
-
const Ie = globalThis, Je = Ie.trustedTypes, ei = Je ? Je.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, yi = "$lit$",
|
|
502
|
+
const Ie = globalThis, Je = Ie.trustedTypes, ei = Je ? Je.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, yi = "$lit$", kt = `lit$${Math.random().toFixed(9).slice(2)}$`, gi = "?" + kt, qi = `<${gi}>`, Rt = document, De = () => Rt.createComment(""), Ne = (t) => t === null || typeof t != "object" && typeof t != "function", Ds = Array.isArray, Ki = (t) => Ds(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", ys = `[
|
|
503
503
|
\f\r]`, ke = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, si = /-->/g, ii = />/g, Bt = RegExp(`>|${ys}(?:([^\\s"'>=/]+)(${ys}*=${ys}*(?:[^
|
|
504
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), ri = /'/g, oi = /"/g, $i = /^(?:script|style|textarea|title)$/i, Gi = (t) => (e, ...s) => ({ _$litType$: t, strings: e, values: s }), l = Gi(1),
|
|
504
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ri = /'/g, oi = /"/g, $i = /^(?:script|style|textarea|title)$/i, Gi = (t) => (e, ...s) => ({ _$litType$: t, strings: e, values: s }), l = Gi(1), mt = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), ni = /* @__PURE__ */ new WeakMap(), jt = Rt.createTreeWalker(Rt, 129);
|
|
505
505
|
function xi(t, e) {
|
|
506
506
|
if (!Ds(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
507
507
|
return ei !== void 0 ? ei.createHTML(e) : e;
|
|
@@ -514,7 +514,7 @@ const Yi = (t, e) => {
|
|
|
514
514
|
let f, x, b = -1, $ = 0;
|
|
515
515
|
for (; $ < d.length && (n.lastIndex = $, x = n.exec(d), x !== null); ) $ = n.lastIndex, n === ke ? x[1] === "!--" ? n = si : x[1] !== void 0 ? n = ii : x[2] !== void 0 ? ($i.test(x[2]) && (i = RegExp("</" + x[2], "g")), n = Bt) : x[3] !== void 0 && (n = Bt) : n === Bt ? x[0] === ">" ? (n = i ?? ke, b = -1) : x[1] === void 0 ? b = -2 : (b = n.lastIndex - x[2].length, f = x[1], n = x[3] === void 0 ? Bt : x[3] === '"' ? oi : ri) : n === oi || n === ri ? n = Bt : n === si || n === ii ? n = ke : (n = Bt, i = void 0);
|
|
516
516
|
const S = n === Bt && t[h + 1].startsWith("/>") ? " " : "";
|
|
517
|
-
o += n === ke ? d + qi : b >= 0 ? (r.push(f), d.slice(0, b) + yi + d.slice(b) +
|
|
517
|
+
o += n === ke ? d + qi : b >= 0 ? (r.push(f), d.slice(0, b) + yi + d.slice(b) + kt + S) : d + kt + (b === -2 ? h : S);
|
|
518
518
|
}
|
|
519
519
|
return [xi(t, o + (t[s] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
|
|
520
520
|
};
|
|
@@ -531,11 +531,11 @@ class Be {
|
|
|
531
531
|
for (; (i = jt.nextNode()) !== null && d.length < h; ) {
|
|
532
532
|
if (i.nodeType === 1) {
|
|
533
533
|
if (i.hasAttributes()) for (const b of i.getAttributeNames()) if (b.endsWith(yi)) {
|
|
534
|
-
const $ = x[n++], S = i.getAttribute(b).split(
|
|
534
|
+
const $ = x[n++], S = i.getAttribute(b).split(kt), T = /([.?@])?(.*)/.exec($);
|
|
535
535
|
d.push({ type: 1, index: o, name: T[2], strings: S, ctor: T[1] === "." ? Ji : T[1] === "?" ? Zi : T[1] === "@" ? Qi : rs }), i.removeAttribute(b);
|
|
536
|
-
} else b.startsWith(
|
|
536
|
+
} else b.startsWith(kt) && (d.push({ type: 6, index: o }), i.removeAttribute(b));
|
|
537
537
|
if ($i.test(i.tagName)) {
|
|
538
|
-
const b = i.textContent.split(
|
|
538
|
+
const b = i.textContent.split(kt), $ = b.length - 1;
|
|
539
539
|
if ($ > 0) {
|
|
540
540
|
i.textContent = Je ? Je.emptyScript : "";
|
|
541
541
|
for (let S = 0; S < $; S++) i.append(b[S], De()), jt.nextNode(), d.push({ type: 2, index: ++o });
|
|
@@ -545,7 +545,7 @@ class Be {
|
|
|
545
545
|
} else if (i.nodeType === 8) if (i.data === gi) d.push({ type: 2, index: o });
|
|
546
546
|
else {
|
|
547
547
|
let b = -1;
|
|
548
|
-
for (; (b = i.data.indexOf(
|
|
548
|
+
for (; (b = i.data.indexOf(kt, b + 1)) !== -1; ) d.push({ type: 7, index: o }), b += kt.length - 1;
|
|
549
549
|
}
|
|
550
550
|
o++;
|
|
551
551
|
}
|
|
@@ -557,7 +557,7 @@ class Be {
|
|
|
557
557
|
}
|
|
558
558
|
function ae(t, e, s = t, r) {
|
|
559
559
|
var n, h;
|
|
560
|
-
if (e ===
|
|
560
|
+
if (e === mt) return e;
|
|
561
561
|
let i = r !== void 0 ? (n = s._$Co) == null ? void 0 : n[r] : s._$Cl;
|
|
562
562
|
const o = Ne(e) ? void 0 : e._$litDirective$;
|
|
563
563
|
return (i == null ? void 0 : i.constructor) !== o && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), o === void 0 ? i = void 0 : (i = new o(t), i._$AT(t, s, r)), r !== void 0 ? (s._$Co ?? (s._$Co = []))[r] = i : s._$Cl = i), i !== void 0 && (e = ae(t, i._$AS(t, e.values), i, r)), e;
|
|
@@ -610,7 +610,7 @@ class ge {
|
|
|
610
610
|
return this._$AB;
|
|
611
611
|
}
|
|
612
612
|
_$AI(e, s = this) {
|
|
613
|
-
e = ae(this, e, s), Ne(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !==
|
|
613
|
+
e = ae(this, e, s), Ne(e) ? e === c || e == null || e === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : e !== this._$AH && e !== mt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Ki(e) ? this.k(e) : this._(e);
|
|
614
614
|
}
|
|
615
615
|
O(e) {
|
|
616
616
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -666,11 +666,11 @@ class rs {
|
|
|
666
666
|
_$AI(e, s = this, r, i) {
|
|
667
667
|
const o = this.strings;
|
|
668
668
|
let n = !1;
|
|
669
|
-
if (o === void 0) e = ae(this, e, s, 0), n = !Ne(e) || e !== this._$AH && e !==
|
|
669
|
+
if (o === void 0) e = ae(this, e, s, 0), n = !Ne(e) || e !== this._$AH && e !== mt, n && (this._$AH = e);
|
|
670
670
|
else {
|
|
671
671
|
const h = e;
|
|
672
672
|
let d, f;
|
|
673
|
-
for (e = o[0], d = 0; d < o.length - 1; d++) f = ae(this, h[r + d], s, d), f ===
|
|
673
|
+
for (e = o[0], d = 0; d < o.length - 1; d++) f = ae(this, h[r + d], s, d), f === mt && (f = this._$AH[d]), n || (n = !Ne(f) || f !== this._$AH[d]), f === c ? e = c : e !== c && (e += (f ?? "") + o[d + 1]), this._$AH[d] = f;
|
|
674
674
|
}
|
|
675
675
|
n && !i && this.j(e);
|
|
676
676
|
}
|
|
@@ -699,7 +699,7 @@ class Qi extends rs {
|
|
|
699
699
|
super(e, s, r, i, o), this.type = 5;
|
|
700
700
|
}
|
|
701
701
|
_$AI(e, s = this) {
|
|
702
|
-
if ((e = ae(this, e, s, 0) ?? c) ===
|
|
702
|
+
if ((e = ae(this, e, s, 0) ?? c) === mt) return;
|
|
703
703
|
const r = this._$AH, i = e === c && r !== c || e.capture !== r.capture || e.once !== r.once || e.passive !== r.passive, o = e !== c && (r === c || i);
|
|
704
704
|
i && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
705
705
|
}
|
|
@@ -736,7 +736,7 @@ const sr = (t, e, s) => {
|
|
|
736
736
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
737
737
|
*/
|
|
738
738
|
const Ft = globalThis;
|
|
739
|
-
let
|
|
739
|
+
let pt = class extends te {
|
|
740
740
|
constructor() {
|
|
741
741
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
742
742
|
}
|
|
@@ -758,13 +758,13 @@ let ut = class extends te {
|
|
|
758
758
|
super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
|
|
759
759
|
}
|
|
760
760
|
render() {
|
|
761
|
-
return
|
|
761
|
+
return mt;
|
|
762
762
|
}
|
|
763
763
|
};
|
|
764
764
|
var pi;
|
|
765
|
-
|
|
765
|
+
pt._$litElement$ = !0, pt.finalized = !0, (pi = Ft.litElementHydrateSupport) == null || pi.call(Ft, { LitElement: pt });
|
|
766
766
|
const $s = Ft.litElementPolyfillSupport;
|
|
767
|
-
$s == null || $s({ LitElement:
|
|
767
|
+
$s == null || $s({ LitElement: pt });
|
|
768
768
|
(Ft.litElementVersions ?? (Ft.litElementVersions = [])).push("4.2.1");
|
|
769
769
|
/**
|
|
770
770
|
* @license
|
|
@@ -817,7 +817,7 @@ const Ns = (t, e, s) => (s.configurable = !0, s.enumerable = !0, Reflect.decorat
|
|
|
817
817
|
* Copyright 2017 Google LLC
|
|
818
818
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
819
819
|
*/
|
|
820
|
-
function
|
|
820
|
+
function ht(t, e) {
|
|
821
821
|
return (s, r, i) => {
|
|
822
822
|
const o = (n) => {
|
|
823
823
|
var h;
|
|
@@ -833,7 +833,7 @@ function ct(t, e) {
|
|
|
833
833
|
* Copyright 2021 Google LLC
|
|
834
834
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
835
835
|
*/
|
|
836
|
-
function
|
|
836
|
+
function st(t) {
|
|
837
837
|
return (e, s) => {
|
|
838
838
|
const { slot: r, selector: i } = t ?? {}, o = "slot" + (r ? `[name=${r}]` : ":not([name])");
|
|
839
839
|
return Ns(e, s, { get() {
|
|
@@ -863,7 +863,7 @@ var or = Object.defineProperty, wi = (t, e, s, r) => {
|
|
|
863
863
|
(n = t[o]) && (i = n(e, s, i) || i);
|
|
864
864
|
return i && or(e, s, i), i;
|
|
865
865
|
};
|
|
866
|
-
const nr = u`:host([unresolved]){visibility:hidden}`, Ls = class Si extends
|
|
866
|
+
const nr = u`:host([unresolved]){visibility:hidden}`, Ls = class Si extends pt {
|
|
867
867
|
constructor() {
|
|
868
868
|
super(), this.appliedConstructables = [], this.appliedStyleTags = [], this.handleChangeTheme = (e) => {
|
|
869
869
|
this.pubSubTheme = e;
|
|
@@ -1009,20 +1009,21 @@ const ar = u`
|
|
|
1009
1009
|
* Copyright 2018 Google LLC
|
|
1010
1010
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1011
1011
|
*/
|
|
1012
|
-
const
|
|
1012
|
+
const C = (t) => t ?? c, lr = {
|
|
1013
1013
|
createIcon: (t) => l`
|
|
1014
1014
|
<ds-icon
|
|
1015
|
-
class=${t == null ? void 0 : t.class}
|
|
1016
|
-
data-testid=${t == null ? void 0 : t["data-testid"]}
|
|
1015
|
+
class=${C(t == null ? void 0 : t.class)}
|
|
1016
|
+
data-testid=${C(t == null ? void 0 : t["data-testid"])}
|
|
1017
1017
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1018
1018
|
@keydown=${t == null ? void 0 : t["@keydown"]}
|
|
1019
1019
|
icon-name=${t == null ? void 0 : t["icon-name"]}
|
|
1020
|
-
color=${t == null ? void 0 : t.color}
|
|
1021
|
-
background-color=${t == null ? void 0 : t["background-color"]}
|
|
1022
|
-
size=${
|
|
1023
|
-
aria-label=${t == null ? void 0 : t["aria-label"]}
|
|
1024
|
-
|
|
1025
|
-
|
|
1020
|
+
color=${C(t == null ? void 0 : t.color)}
|
|
1021
|
+
background-color=${C(t == null ? void 0 : t["background-color"])}
|
|
1022
|
+
size=${C(t == null ? void 0 : t.size)}
|
|
1023
|
+
aria-label=${C(t == null ? void 0 : t["aria-label"])}
|
|
1024
|
+
aria-hidden=${C(t == null ? void 0 : t["aria-hidden"])}
|
|
1025
|
+
role=${C(t == null ? void 0 : t.role)}
|
|
1026
|
+
tabindex=${C(t == null ? void 0 : t.tabindex)}
|
|
1026
1027
|
>
|
|
1027
1028
|
${t.children}
|
|
1028
1029
|
</ds-icon>
|
|
@@ -1031,7 +1032,7 @@ const Et = (t) => t ?? c, lr = {
|
|
|
1031
1032
|
<ds-button
|
|
1032
1033
|
class=${t == null ? void 0 : t.class}
|
|
1033
1034
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1034
|
-
.size=${
|
|
1035
|
+
.size=${C(t == null ? void 0 : t.size)}
|
|
1035
1036
|
type=${t == null ? void 0 : t.type}
|
|
1036
1037
|
icon-position=${t == null ? void 0 : t["icon-position"]}
|
|
1037
1038
|
.rounded=${t == null ? void 0 : t.rounded}
|
|
@@ -1053,7 +1054,7 @@ const Et = (t) => t ?? c, lr = {
|
|
|
1053
1054
|
<ds-icon-button
|
|
1054
1055
|
class=${t == null ? void 0 : t.class}
|
|
1055
1056
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1056
|
-
size=${
|
|
1057
|
+
size=${C(t == null ? void 0 : t.size)}
|
|
1057
1058
|
variant=${(t == null ? void 0 : t.variant) ?? "primary"}
|
|
1058
1059
|
mode=${(t == null ? void 0 : t.mode) ?? "light"}
|
|
1059
1060
|
.disabled=${t == null ? void 0 : t.disabled}
|
|
@@ -1087,17 +1088,18 @@ const Et = (t) => t ?? c, lr = {
|
|
|
1087
1088
|
}, cr = {
|
|
1088
1089
|
createIcon: (t) => l`
|
|
1089
1090
|
<ds-icon-react
|
|
1090
|
-
class=${t == null ? void 0 : t.class}
|
|
1091
|
-
data-testid=${t == null ? void 0 : t["data-testid"]}
|
|
1091
|
+
class=${C(t == null ? void 0 : t.class)}
|
|
1092
|
+
data-testid=${C(t == null ? void 0 : t["data-testid"])}
|
|
1092
1093
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1093
1094
|
@keydown=${t == null ? void 0 : t["@keydown"]}
|
|
1094
1095
|
icon-name=${t == null ? void 0 : t["icon-name"]}
|
|
1095
|
-
color=${t == null ? void 0 : t.color}
|
|
1096
|
-
background-color=${t == null ? void 0 : t["background-color"]}
|
|
1097
|
-
size=${
|
|
1098
|
-
aria-label=${t == null ? void 0 : t["aria-label"]}
|
|
1099
|
-
|
|
1100
|
-
|
|
1096
|
+
color=${C(t == null ? void 0 : t.color)}
|
|
1097
|
+
background-color=${C(t == null ? void 0 : t["background-color"])}
|
|
1098
|
+
size=${C(t == null ? void 0 : t.size)}
|
|
1099
|
+
aria-label=${C(t == null ? void 0 : t["aria-label"])}
|
|
1100
|
+
aria-hidden=${C(t == null ? void 0 : t["aria-hidden"])}
|
|
1101
|
+
role=${C(t == null ? void 0 : t.role)}
|
|
1102
|
+
tabindex=${C(t == null ? void 0 : t.tabindex)}
|
|
1101
1103
|
>
|
|
1102
1104
|
${t.children}
|
|
1103
1105
|
</ds-icon-react>
|
|
@@ -1106,7 +1108,7 @@ const Et = (t) => t ?? c, lr = {
|
|
|
1106
1108
|
<ds-button-react
|
|
1107
1109
|
class=${t == null ? void 0 : t.class}
|
|
1108
1110
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1109
|
-
.size=${
|
|
1111
|
+
.size=${C(t == null ? void 0 : t.size)}
|
|
1110
1112
|
type=${t == null ? void 0 : t.type}
|
|
1111
1113
|
icon-position=${t == null ? void 0 : t["icon-position"]}
|
|
1112
1114
|
.rounded=${t == null ? void 0 : t.rounded}
|
|
@@ -1128,7 +1130,7 @@ const Et = (t) => t ?? c, lr = {
|
|
|
1128
1130
|
<ds-icon-button-react
|
|
1129
1131
|
class=${t == null ? void 0 : t.class}
|
|
1130
1132
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1131
|
-
size=${
|
|
1133
|
+
size=${C(t == null ? void 0 : t.size)}
|
|
1132
1134
|
variant=${(t == null ? void 0 : t.variant) ?? "primary"}
|
|
1133
1135
|
mode=${(t == null ? void 0 : t.mode) ?? "light"}
|
|
1134
1136
|
.disabled=${t == null ? void 0 : t.disabled}
|
|
@@ -1213,7 +1215,7 @@ let Ts = class extends Fs {
|
|
|
1213
1215
|
}
|
|
1214
1216
|
render(e) {
|
|
1215
1217
|
if (e === c || e == null) return this._t = void 0, this.it = e;
|
|
1216
|
-
if (e ===
|
|
1218
|
+
if (e === mt) return e;
|
|
1217
1219
|
if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
1218
1220
|
if (e === this.it) return this._t;
|
|
1219
1221
|
this.it = e;
|
|
@@ -1223,8 +1225,8 @@ let Ts = class extends Fs {
|
|
|
1223
1225
|
};
|
|
1224
1226
|
Ts.directiveName = "unsafeHTML", Ts.resultType = 1;
|
|
1225
1227
|
const os = js(Ts);
|
|
1226
|
-
function
|
|
1227
|
-
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
1228
|
+
function k(t, ...e) {
|
|
1229
|
+
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-6"), i = os(r);
|
|
1228
1230
|
return l`${i}`;
|
|
1229
1231
|
}
|
|
1230
1232
|
/**
|
|
@@ -1253,7 +1255,7 @@ const p = js(class extends Fs {
|
|
|
1253
1255
|
const n = !!e[o];
|
|
1254
1256
|
n === this.st.has(o) || (i = this.nt) != null && i.has(o) || (n ? (s.add(o), this.st.add(o)) : (s.remove(o), this.st.delete(o)));
|
|
1255
1257
|
}
|
|
1256
|
-
return
|
|
1258
|
+
return mt;
|
|
1257
1259
|
}
|
|
1258
1260
|
});
|
|
1259
1261
|
var hr = Object.defineProperty, dr = Object.getOwnPropertyDescriptor, Kt = (t, e, s, r) => {
|
|
@@ -1261,7 +1263,7 @@ var hr = Object.defineProperty, dr = Object.getOwnPropertyDescriptor, Kt = (t, e
|
|
|
1261
1263
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
1262
1264
|
return r && i && hr(e, s, i), i;
|
|
1263
1265
|
};
|
|
1264
|
-
let
|
|
1266
|
+
let ft = class extends g {
|
|
1265
1267
|
constructor() {
|
|
1266
1268
|
super(...arguments), this.maxHeight = 300, this.open = !1, this.mode = "light", this.size = "medium", this.disabled = !1, this._open = !1;
|
|
1267
1269
|
}
|
|
@@ -1289,6 +1291,8 @@ let mt = class extends g {
|
|
|
1289
1291
|
const t = (e = ai[this.theme]) == null ? void 0 : e["icon-names"];
|
|
1290
1292
|
return this.componentFactory.createIcon({
|
|
1291
1293
|
class: "icon open-icon",
|
|
1294
|
+
role: "image",
|
|
1295
|
+
"aria-hidden": "true",
|
|
1292
1296
|
"icon-name": (t == null ? void 0 : t.open) || "minus"
|
|
1293
1297
|
});
|
|
1294
1298
|
}
|
|
@@ -1298,11 +1302,13 @@ let mt = class extends g {
|
|
|
1298
1302
|
const t = (e = ai[this.theme]) == null ? void 0 : e["icon-names"];
|
|
1299
1303
|
return this.componentFactory.createIcon({
|
|
1300
1304
|
class: "icon close-icon",
|
|
1305
|
+
role: "image",
|
|
1306
|
+
"aria-hidden": "true",
|
|
1301
1307
|
"icon-name": (t == null ? void 0 : t.close) || "plus"
|
|
1302
1308
|
});
|
|
1303
1309
|
}
|
|
1304
1310
|
get styleTokens() {
|
|
1305
|
-
return
|
|
1311
|
+
return k`
|
|
1306
1312
|
<style>
|
|
1307
1313
|
:host{
|
|
1308
1314
|
color-scheme: ${this.mode};
|
|
@@ -1339,28 +1345,28 @@ let mt = class extends g {
|
|
|
1339
1345
|
`;
|
|
1340
1346
|
}
|
|
1341
1347
|
};
|
|
1342
|
-
|
|
1348
|
+
ft.styles = [ar];
|
|
1343
1349
|
Kt([
|
|
1344
1350
|
a({ type: Number, attribute: "max-height" })
|
|
1345
|
-
],
|
|
1351
|
+
], ft.prototype, "maxHeight", 2);
|
|
1346
1352
|
Kt([
|
|
1347
1353
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
1348
|
-
],
|
|
1354
|
+
], ft.prototype, "open", 2);
|
|
1349
1355
|
Kt([
|
|
1350
1356
|
a({ type: String, reflect: !0 })
|
|
1351
|
-
],
|
|
1357
|
+
], ft.prototype, "mode", 2);
|
|
1352
1358
|
Kt([
|
|
1353
1359
|
a({ type: String })
|
|
1354
|
-
],
|
|
1360
|
+
], ft.prototype, "size", 2);
|
|
1355
1361
|
Kt([
|
|
1356
1362
|
a({ type: Boolean, converter: m })
|
|
1357
|
-
],
|
|
1363
|
+
], ft.prototype, "disabled", 2);
|
|
1358
1364
|
Kt([
|
|
1359
1365
|
y()
|
|
1360
|
-
],
|
|
1361
|
-
|
|
1366
|
+
], ft.prototype, "_open", 2);
|
|
1367
|
+
ft = Kt([
|
|
1362
1368
|
v("ds-accordion")
|
|
1363
|
-
],
|
|
1369
|
+
], ft);
|
|
1364
1370
|
const ur = u`
|
|
1365
1371
|
:host {
|
|
1366
1372
|
display: block;
|
|
@@ -1419,7 +1425,7 @@ let le = class extends g {
|
|
|
1419
1425
|
};
|
|
1420
1426
|
}
|
|
1421
1427
|
get styleTokens() {
|
|
1422
|
-
return
|
|
1428
|
+
return k`
|
|
1423
1429
|
<style>
|
|
1424
1430
|
:host{
|
|
1425
1431
|
color-scheme: ${this.mode};
|
|
@@ -1495,7 +1501,7 @@ const Ve = (t, e, s) => {
|
|
|
1495
1501
|
* Copyright 2021 Google LLC
|
|
1496
1502
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1497
1503
|
*/
|
|
1498
|
-
function
|
|
1504
|
+
function at(t, e, s) {
|
|
1499
1505
|
return t ? e(t) : s == null ? void 0 : s(t);
|
|
1500
1506
|
}
|
|
1501
1507
|
const fr = u`
|
|
@@ -1605,12 +1611,12 @@ const fr = u`
|
|
|
1605
1611
|
}
|
|
1606
1612
|
}
|
|
1607
1613
|
`;
|
|
1608
|
-
var yr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor,
|
|
1614
|
+
var yr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, A = (t, e, s, r) => {
|
|
1609
1615
|
for (var i = r > 1 ? void 0 : r ? gr(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
1610
1616
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
1611
1617
|
return r && i && yr(e, s, i), i;
|
|
1612
1618
|
};
|
|
1613
|
-
let
|
|
1619
|
+
let O = class extends Dt(g) {
|
|
1614
1620
|
constructor() {
|
|
1615
1621
|
super(...arguments), this.variant = "primary", this.mode = "light", this.size = "large", this.disabled = !1, this.destructive = !1, this.htmlTagName = "button", this.type = "button", this.iconPosition = "left", this.rounded = !1, this.fullWidth = !1, this.loading = !1;
|
|
1616
1622
|
}
|
|
@@ -1657,7 +1663,7 @@ let E = class extends Dt(g) {
|
|
|
1657
1663
|
` : c;
|
|
1658
1664
|
}
|
|
1659
1665
|
get cssTokens() {
|
|
1660
|
-
return
|
|
1666
|
+
return k`
|
|
1661
1667
|
<style>
|
|
1662
1668
|
:host{
|
|
1663
1669
|
color-scheme: ${this.mode};
|
|
@@ -1685,12 +1691,12 @@ let E = class extends Dt(g) {
|
|
|
1685
1691
|
@click=${this.handleClick}
|
|
1686
1692
|
?disabled=${this.disabled}
|
|
1687
1693
|
>
|
|
1688
|
-
${
|
|
1694
|
+
${at(this.iconPosition === "left", () => l` ${this.iconTemplate} `)}
|
|
1689
1695
|
<span class="container">
|
|
1690
1696
|
<slot></slot>
|
|
1691
1697
|
${this.loadingTemplate}
|
|
1692
1698
|
</span>
|
|
1693
|
-
${
|
|
1699
|
+
${at(this.iconPosition === "right", () => l` ${this.iconTemplate} `)}
|
|
1694
1700
|
</button>
|
|
1695
1701
|
`;
|
|
1696
1702
|
}
|
|
@@ -1709,12 +1715,12 @@ let E = class extends Dt(g) {
|
|
|
1709
1715
|
@click=${this.handleClick}
|
|
1710
1716
|
?disabled=${this.disabled}
|
|
1711
1717
|
>
|
|
1712
|
-
${
|
|
1718
|
+
${at(this.iconPosition === "left", () => l`${this.iconTemplate}`)}
|
|
1713
1719
|
<span class="container">
|
|
1714
1720
|
<slot></slot>
|
|
1715
1721
|
${this.loadingTemplate}
|
|
1716
1722
|
</span>
|
|
1717
|
-
${
|
|
1723
|
+
${at(this.iconPosition === "right", () => l`${this.iconTemplate}`)}
|
|
1718
1724
|
</a>
|
|
1719
1725
|
`;
|
|
1720
1726
|
}
|
|
@@ -1731,58 +1737,58 @@ let E = class extends Dt(g) {
|
|
|
1731
1737
|
`;
|
|
1732
1738
|
}
|
|
1733
1739
|
};
|
|
1734
|
-
|
|
1735
|
-
|
|
1740
|
+
O.styles = [fr, br, vr];
|
|
1741
|
+
A([
|
|
1736
1742
|
a({ type: String })
|
|
1737
|
-
],
|
|
1738
|
-
|
|
1743
|
+
], O.prototype, "variant", 2);
|
|
1744
|
+
A([
|
|
1739
1745
|
a({ type: String, reflect: !0 })
|
|
1740
|
-
],
|
|
1741
|
-
|
|
1746
|
+
], O.prototype, "mode", 2);
|
|
1747
|
+
A([
|
|
1742
1748
|
a({ type: String, converter: Ue })
|
|
1743
|
-
],
|
|
1744
|
-
|
|
1749
|
+
], O.prototype, "size", 2);
|
|
1750
|
+
A([
|
|
1745
1751
|
a({ type: Boolean, converter: m })
|
|
1746
|
-
],
|
|
1747
|
-
|
|
1752
|
+
], O.prototype, "disabled", 2);
|
|
1753
|
+
A([
|
|
1748
1754
|
a({ type: Boolean, converter: m })
|
|
1749
|
-
],
|
|
1750
|
-
|
|
1755
|
+
], O.prototype, "destructive", 2);
|
|
1756
|
+
A([
|
|
1751
1757
|
a({ type: String, attribute: "icon-name" })
|
|
1752
|
-
],
|
|
1753
|
-
|
|
1758
|
+
], O.prototype, "iconName", 2);
|
|
1759
|
+
A([
|
|
1754
1760
|
a({ type: String, attribute: "html-tag-name" })
|
|
1755
|
-
],
|
|
1756
|
-
|
|
1761
|
+
], O.prototype, "htmlTagName", 2);
|
|
1762
|
+
A([
|
|
1757
1763
|
a({ type: String, reflect: !0 })
|
|
1758
|
-
],
|
|
1759
|
-
|
|
1764
|
+
], O.prototype, "href", 2);
|
|
1765
|
+
A([
|
|
1760
1766
|
a({ type: String, reflect: !0 })
|
|
1761
|
-
],
|
|
1762
|
-
|
|
1767
|
+
], O.prototype, "rel", 2);
|
|
1768
|
+
A([
|
|
1763
1769
|
a({ type: String, reflect: !0 })
|
|
1764
|
-
],
|
|
1765
|
-
|
|
1770
|
+
], O.prototype, "target", 2);
|
|
1771
|
+
A([
|
|
1766
1772
|
a({ type: String })
|
|
1767
|
-
],
|
|
1768
|
-
|
|
1773
|
+
], O.prototype, "type", 2);
|
|
1774
|
+
A([
|
|
1769
1775
|
a({ type: String, attribute: "icon-position" })
|
|
1770
|
-
],
|
|
1771
|
-
|
|
1776
|
+
], O.prototype, "iconPosition", 2);
|
|
1777
|
+
A([
|
|
1772
1778
|
a({ type: Boolean, converter: m })
|
|
1773
|
-
],
|
|
1774
|
-
|
|
1779
|
+
], O.prototype, "rounded", 2);
|
|
1780
|
+
A([
|
|
1775
1781
|
a({ type: Boolean, converter: m, attribute: "full-width" })
|
|
1776
|
-
],
|
|
1777
|
-
|
|
1782
|
+
], O.prototype, "fullWidth", 2);
|
|
1783
|
+
A([
|
|
1778
1784
|
a({ type: Boolean, converter: m })
|
|
1779
|
-
],
|
|
1780
|
-
|
|
1785
|
+
], O.prototype, "loading", 2);
|
|
1786
|
+
A([
|
|
1781
1787
|
y()
|
|
1782
|
-
],
|
|
1783
|
-
|
|
1788
|
+
], O.prototype, "closestForm", 2);
|
|
1789
|
+
O = A([
|
|
1784
1790
|
v("ds-button")
|
|
1785
|
-
],
|
|
1791
|
+
], O);
|
|
1786
1792
|
const $r = u`
|
|
1787
1793
|
:host {
|
|
1788
1794
|
display: flex;
|
|
@@ -1909,12 +1915,12 @@ const ls = (t) => {
|
|
|
1909
1915
|
display: none;
|
|
1910
1916
|
}
|
|
1911
1917
|
`;
|
|
1912
|
-
var _r = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor,
|
|
1918
|
+
var _r = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, F = (t, e, s, r) => {
|
|
1913
1919
|
for (var i = r > 1 ? void 0 : r ? Tr(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
1914
1920
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
1915
1921
|
return r && i && _r(e, s, i), i;
|
|
1916
1922
|
};
|
|
1917
|
-
let
|
|
1923
|
+
let D = class extends ls(g) {
|
|
1918
1924
|
constructor() {
|
|
1919
1925
|
super(...arguments), this.inputPlacement = "left", this.checked = !1, this.required = !1, this.disabled = !1, this.mode = "light", this.size = "medium", this.helperText = "", this.infoText = "", this.forcedError = "", this.invalidError = "", this.indeterminate = !1;
|
|
1920
1926
|
}
|
|
@@ -1951,7 +1957,7 @@ let A = class extends ls(g) {
|
|
|
1951
1957
|
});
|
|
1952
1958
|
}
|
|
1953
1959
|
get styleTokens() {
|
|
1954
|
-
return
|
|
1960
|
+
return k`
|
|
1955
1961
|
<style>
|
|
1956
1962
|
:host{
|
|
1957
1963
|
color-scheme: ${this.mode};
|
|
@@ -1994,49 +2000,49 @@ let A = class extends ls(g) {
|
|
|
1994
2000
|
`;
|
|
1995
2001
|
}
|
|
1996
2002
|
};
|
|
1997
|
-
|
|
1998
|
-
|
|
2003
|
+
D.styles = [Sr];
|
|
2004
|
+
F([
|
|
1999
2005
|
a({ type: String })
|
|
2000
|
-
],
|
|
2001
|
-
|
|
2006
|
+
], D.prototype, "name", 2);
|
|
2007
|
+
F([
|
|
2002
2008
|
a({ type: String })
|
|
2003
|
-
],
|
|
2004
|
-
|
|
2009
|
+
], D.prototype, "value", 2);
|
|
2010
|
+
F([
|
|
2005
2011
|
a({ type: String, attribute: "input-placement" })
|
|
2006
|
-
],
|
|
2007
|
-
|
|
2012
|
+
], D.prototype, "inputPlacement", 2);
|
|
2013
|
+
F([
|
|
2008
2014
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
2009
|
-
],
|
|
2010
|
-
|
|
2015
|
+
], D.prototype, "checked", 2);
|
|
2016
|
+
F([
|
|
2011
2017
|
a({ type: Boolean, converter: m })
|
|
2012
|
-
],
|
|
2013
|
-
|
|
2018
|
+
], D.prototype, "required", 2);
|
|
2019
|
+
F([
|
|
2014
2020
|
a({ type: Boolean, converter: m })
|
|
2015
|
-
],
|
|
2016
|
-
|
|
2021
|
+
], D.prototype, "disabled", 2);
|
|
2022
|
+
F([
|
|
2017
2023
|
a({ type: String, reflect: !0 })
|
|
2018
|
-
],
|
|
2019
|
-
|
|
2024
|
+
], D.prototype, "mode", 2);
|
|
2025
|
+
F([
|
|
2020
2026
|
a({ type: String })
|
|
2021
|
-
],
|
|
2022
|
-
|
|
2027
|
+
], D.prototype, "size", 2);
|
|
2028
|
+
F([
|
|
2023
2029
|
a({ type: String, attribute: "helper-text" })
|
|
2024
|
-
],
|
|
2025
|
-
|
|
2030
|
+
], D.prototype, "helperText", 2);
|
|
2031
|
+
F([
|
|
2026
2032
|
a({ type: String, attribute: "info-text" })
|
|
2027
|
-
],
|
|
2028
|
-
|
|
2033
|
+
], D.prototype, "infoText", 2);
|
|
2034
|
+
F([
|
|
2029
2035
|
a({ type: String, attribute: "forced-error" })
|
|
2030
|
-
],
|
|
2031
|
-
|
|
2036
|
+
], D.prototype, "forcedError", 2);
|
|
2037
|
+
F([
|
|
2032
2038
|
a({ type: String, attribute: "invalid-error" })
|
|
2033
|
-
],
|
|
2034
|
-
|
|
2039
|
+
], D.prototype, "invalidError", 2);
|
|
2040
|
+
F([
|
|
2035
2041
|
a({ type: Boolean, converter: m })
|
|
2036
|
-
],
|
|
2037
|
-
|
|
2042
|
+
], D.prototype, "indeterminate", 2);
|
|
2043
|
+
D = F([
|
|
2038
2044
|
v("ds-checkbox")
|
|
2039
|
-
],
|
|
2045
|
+
], D);
|
|
2040
2046
|
const Cr = u`
|
|
2041
2047
|
:host {
|
|
2042
2048
|
display: inline-block;
|
|
@@ -2060,7 +2066,7 @@ var kr = Object.defineProperty, Er = Object.getOwnPropertyDescriptor, Gt = (t, e
|
|
|
2060
2066
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
2061
2067
|
return r && i && kr(e, s, i), i;
|
|
2062
2068
|
};
|
|
2063
|
-
let
|
|
2069
|
+
let bt = class extends g {
|
|
2064
2070
|
constructor() {
|
|
2065
2071
|
super(...arguments), this.mode = "light", this.size = "large", this.selected = !1, this.deselectable = !1, this.slottedText = "";
|
|
2066
2072
|
}
|
|
@@ -2079,7 +2085,7 @@ let ft = class extends g {
|
|
|
2079
2085
|
};
|
|
2080
2086
|
}
|
|
2081
2087
|
get styleTokens() {
|
|
2082
|
-
return
|
|
2088
|
+
return k`
|
|
2083
2089
|
<style>
|
|
2084
2090
|
:host{
|
|
2085
2091
|
color-scheme: ${this.mode};
|
|
@@ -2149,28 +2155,28 @@ let ft = class extends g {
|
|
|
2149
2155
|
`;
|
|
2150
2156
|
}
|
|
2151
2157
|
};
|
|
2152
|
-
|
|
2158
|
+
bt.styles = [Cr];
|
|
2153
2159
|
Gt([
|
|
2154
2160
|
a({ type: String })
|
|
2155
|
-
],
|
|
2161
|
+
], bt.prototype, "value", 2);
|
|
2156
2162
|
Gt([
|
|
2157
2163
|
a({ type: String, reflect: !0 })
|
|
2158
|
-
],
|
|
2164
|
+
], bt.prototype, "mode", 2);
|
|
2159
2165
|
Gt([
|
|
2160
2166
|
a({ type: String, reflect: !0 })
|
|
2161
|
-
],
|
|
2167
|
+
], bt.prototype, "size", 2);
|
|
2162
2168
|
Gt([
|
|
2163
2169
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
2164
|
-
],
|
|
2170
|
+
], bt.prototype, "selected", 2);
|
|
2165
2171
|
Gt([
|
|
2166
2172
|
a({ type: Boolean, converter: m })
|
|
2167
|
-
],
|
|
2173
|
+
], bt.prototype, "deselectable", 2);
|
|
2168
2174
|
Gt([
|
|
2169
2175
|
y()
|
|
2170
|
-
],
|
|
2171
|
-
|
|
2176
|
+
], bt.prototype, "slottedText", 2);
|
|
2177
|
+
bt = Gt([
|
|
2172
2178
|
v("ds-chip")
|
|
2173
|
-
],
|
|
2179
|
+
], bt);
|
|
2174
2180
|
const Or = {
|
|
2175
2181
|
fromAttribute(t) {
|
|
2176
2182
|
if (!t) return [];
|
|
@@ -2257,12 +2263,12 @@ const Or = {
|
|
|
2257
2263
|
right: 0;
|
|
2258
2264
|
}
|
|
2259
2265
|
`;
|
|
2260
|
-
var zr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor,
|
|
2266
|
+
var zr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, wt = (t, e, s, r) => {
|
|
2261
2267
|
for (var i = r > 1 ? void 0 : r ? Ir(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2262
2268
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
2263
2269
|
return r && i && zr(e, s, i), i;
|
|
2264
2270
|
};
|
|
2265
|
-
let
|
|
2271
|
+
let Q = class extends g {
|
|
2266
2272
|
constructor() {
|
|
2267
2273
|
super(...arguments), this.multiChoice = null, this.size = "medium", this.mode = "light", this.hasScrollLeft = !1, this.hasScrollRight = !1, this.resizeObserver = new ResizeObserver(() => {
|
|
2268
2274
|
this.handleScrollNav();
|
|
@@ -2356,34 +2362,34 @@ let Z = class extends g {
|
|
|
2356
2362
|
`;
|
|
2357
2363
|
}
|
|
2358
2364
|
};
|
|
2359
|
-
|
|
2360
|
-
|
|
2365
|
+
Q.styles = [Pr];
|
|
2366
|
+
wt([
|
|
2361
2367
|
a({ type: Array, attribute: "selected-chips", converter: Or, reflect: !0 })
|
|
2362
|
-
],
|
|
2363
|
-
|
|
2368
|
+
], Q.prototype, "selectedChips", 2);
|
|
2369
|
+
wt([
|
|
2364
2370
|
a({ type: Boolean, attribute: "multi-choice", converter: m })
|
|
2365
|
-
],
|
|
2366
|
-
|
|
2371
|
+
], Q.prototype, "multiChoice", 2);
|
|
2372
|
+
wt([
|
|
2367
2373
|
a({ type: String })
|
|
2368
|
-
],
|
|
2369
|
-
|
|
2374
|
+
], Q.prototype, "size", 2);
|
|
2375
|
+
wt([
|
|
2370
2376
|
a({ type: String, reflect: !0 })
|
|
2371
|
-
],
|
|
2372
|
-
|
|
2377
|
+
], Q.prototype, "mode", 2);
|
|
2378
|
+
wt([
|
|
2373
2379
|
y()
|
|
2374
|
-
],
|
|
2375
|
-
|
|
2380
|
+
], Q.prototype, "hasScrollLeft", 2);
|
|
2381
|
+
wt([
|
|
2376
2382
|
y()
|
|
2377
|
-
],
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
],
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
],
|
|
2384
|
-
|
|
2383
|
+
], Q.prototype, "hasScrollRight", 2);
|
|
2384
|
+
wt([
|
|
2385
|
+
st({ slot: "" })
|
|
2386
|
+
], Q.prototype, "chips", 2);
|
|
2387
|
+
wt([
|
|
2388
|
+
ht(".chips-container")
|
|
2389
|
+
], Q.prototype, "chipsContainer", 2);
|
|
2390
|
+
Q = wt([
|
|
2385
2391
|
v("ds-chips")
|
|
2386
|
-
],
|
|
2392
|
+
], Q);
|
|
2387
2393
|
function _i({
|
|
2388
2394
|
value: t,
|
|
2389
2395
|
locale: e,
|
|
@@ -2399,7 +2405,7 @@ function _i({
|
|
|
2399
2405
|
useGrouping: b = "auto"
|
|
2400
2406
|
}) {
|
|
2401
2407
|
let $ = "", S, T;
|
|
2402
|
-
const
|
|
2408
|
+
const V = new Intl.NumberFormat(e, {
|
|
2403
2409
|
...s && { style: s },
|
|
2404
2410
|
...r && { unit: r },
|
|
2405
2411
|
...i && { currency: i },
|
|
@@ -2409,24 +2415,24 @@ function _i({
|
|
|
2409
2415
|
maximumFractionDigits: d,
|
|
2410
2416
|
useGrouping: b
|
|
2411
2417
|
}).formatToParts(t ?? 0);
|
|
2412
|
-
return
|
|
2413
|
-
switch (
|
|
2418
|
+
return V.forEach((Ct, Ys) => {
|
|
2419
|
+
switch (Ct.type) {
|
|
2414
2420
|
case "unit":
|
|
2415
2421
|
case "currency":
|
|
2416
2422
|
case "percentSign":
|
|
2417
|
-
S =
|
|
2423
|
+
S = Ct.value, T = Ys === 0 || (V[0].type === "minusSign" || V[0].type === "plusSign") && Ys === 1 ? "left" : "right";
|
|
2418
2424
|
break;
|
|
2419
2425
|
case "group":
|
|
2420
|
-
$ += f ??
|
|
2426
|
+
$ += f ?? Ct.value;
|
|
2421
2427
|
break;
|
|
2422
2428
|
case "decimal":
|
|
2423
|
-
$ += x ??
|
|
2429
|
+
$ += x ?? Ct.value;
|
|
2424
2430
|
break;
|
|
2425
2431
|
case "integer":
|
|
2426
2432
|
case "fraction":
|
|
2427
2433
|
case "plusSign":
|
|
2428
2434
|
case "minusSign":
|
|
2429
|
-
$ +=
|
|
2435
|
+
$ += Ct.value;
|
|
2430
2436
|
break;
|
|
2431
2437
|
}
|
|
2432
2438
|
}), {
|
|
@@ -2445,12 +2451,12 @@ const Ar = u`
|
|
|
2445
2451
|
align-items: flex-end;
|
|
2446
2452
|
}
|
|
2447
2453
|
`;
|
|
2448
|
-
var Dr = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor,
|
|
2454
|
+
var Dr = Object.defineProperty, Nr = Object.getOwnPropertyDescriptor, z = (t, e, s, r) => {
|
|
2449
2455
|
for (var i = r > 1 ? void 0 : r ? Nr(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2450
2456
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
2451
2457
|
return r && i && Dr(e, s, i), i;
|
|
2452
2458
|
};
|
|
2453
|
-
let
|
|
2459
|
+
let E = class extends g {
|
|
2454
2460
|
constructor() {
|
|
2455
2461
|
super(...arguments), this.minimumFractionDigits = 0, this.maximumFractionDigits = 20, this.amountSize = "medium", this.amountWeight = "medium", this.currencySize = "medium", this.currencyWeight = "medium", this.periodSize = "medium", this.periodWeight = "medium", this.noteSize = "medium", this.noteWeight = "medium";
|
|
2456
2462
|
}
|
|
@@ -2514,64 +2520,64 @@ let k = class extends g {
|
|
|
2514
2520
|
`;
|
|
2515
2521
|
}
|
|
2516
2522
|
};
|
|
2517
|
-
|
|
2518
|
-
|
|
2523
|
+
E.styles = [Ar];
|
|
2524
|
+
z([
|
|
2519
2525
|
a({ type: String })
|
|
2520
|
-
],
|
|
2521
|
-
|
|
2526
|
+
], E.prototype, "locale", 2);
|
|
2527
|
+
z([
|
|
2522
2528
|
a({ type: String, attribute: "currency-code" })
|
|
2523
|
-
],
|
|
2524
|
-
|
|
2529
|
+
], E.prototype, "currencyCode", 2);
|
|
2530
|
+
z([
|
|
2525
2531
|
a({ type: String, attribute: "amount-text" })
|
|
2526
|
-
],
|
|
2527
|
-
|
|
2532
|
+
], E.prototype, "amountText", 2);
|
|
2533
|
+
z([
|
|
2528
2534
|
a({ type: Number, attribute: "amount-number" })
|
|
2529
|
-
],
|
|
2530
|
-
|
|
2535
|
+
], E.prototype, "amountNumber", 2);
|
|
2536
|
+
z([
|
|
2531
2537
|
a({ type: Number, attribute: "minimum-fraction-digits" })
|
|
2532
|
-
],
|
|
2533
|
-
|
|
2538
|
+
], E.prototype, "minimumFractionDigits", 2);
|
|
2539
|
+
z([
|
|
2534
2540
|
a({ type: Number, attribute: "maximum-fraction-digits" })
|
|
2535
|
-
],
|
|
2536
|
-
|
|
2541
|
+
], E.prototype, "maximumFractionDigits", 2);
|
|
2542
|
+
z([
|
|
2537
2543
|
a({ type: String })
|
|
2538
|
-
],
|
|
2539
|
-
|
|
2544
|
+
], E.prototype, "period", 2);
|
|
2545
|
+
z([
|
|
2540
2546
|
a({ type: String })
|
|
2541
|
-
],
|
|
2542
|
-
|
|
2547
|
+
], E.prototype, "note", 2);
|
|
2548
|
+
z([
|
|
2543
2549
|
a({ type: String, attribute: "thousand-separator" })
|
|
2544
|
-
],
|
|
2545
|
-
|
|
2550
|
+
], E.prototype, "thousandSeparator", 2);
|
|
2551
|
+
z([
|
|
2546
2552
|
a({ type: String, attribute: "fraction-separator" })
|
|
2547
|
-
],
|
|
2548
|
-
|
|
2553
|
+
], E.prototype, "fractionSeparator", 2);
|
|
2554
|
+
z([
|
|
2549
2555
|
a({ type: String, attribute: "amount-size" })
|
|
2550
|
-
],
|
|
2551
|
-
|
|
2556
|
+
], E.prototype, "amountSize", 2);
|
|
2557
|
+
z([
|
|
2552
2558
|
a({ type: String, attribute: "amount-weight" })
|
|
2553
|
-
],
|
|
2554
|
-
|
|
2559
|
+
], E.prototype, "amountWeight", 2);
|
|
2560
|
+
z([
|
|
2555
2561
|
a({ type: String, attribute: "currency-size" })
|
|
2556
|
-
],
|
|
2557
|
-
|
|
2562
|
+
], E.prototype, "currencySize", 2);
|
|
2563
|
+
z([
|
|
2558
2564
|
a({ type: String, attribute: "currency-weight" })
|
|
2559
|
-
],
|
|
2560
|
-
|
|
2565
|
+
], E.prototype, "currencyWeight", 2);
|
|
2566
|
+
z([
|
|
2561
2567
|
a({ type: String, attribute: "period-size" })
|
|
2562
|
-
],
|
|
2563
|
-
|
|
2568
|
+
], E.prototype, "periodSize", 2);
|
|
2569
|
+
z([
|
|
2564
2570
|
a({ type: String, attribute: "period-weight" })
|
|
2565
|
-
],
|
|
2566
|
-
|
|
2571
|
+
], E.prototype, "periodWeight", 2);
|
|
2572
|
+
z([
|
|
2567
2573
|
a({ type: String, attribute: "note-size" })
|
|
2568
|
-
],
|
|
2569
|
-
|
|
2574
|
+
], E.prototype, "noteSize", 2);
|
|
2575
|
+
z([
|
|
2570
2576
|
a({ type: String, attribute: "note-weight" })
|
|
2571
|
-
],
|
|
2572
|
-
|
|
2577
|
+
], E.prototype, "noteWeight", 2);
|
|
2578
|
+
E = z([
|
|
2573
2579
|
v("ds-currency")
|
|
2574
|
-
],
|
|
2580
|
+
], E);
|
|
2575
2581
|
const Br = u`
|
|
2576
2582
|
:host {
|
|
2577
2583
|
display: inline-block;
|
|
@@ -2589,7 +2595,7 @@ let Cs = class extends g {
|
|
|
2589
2595
|
};
|
|
2590
2596
|
}
|
|
2591
2597
|
get styleTokens() {
|
|
2592
|
-
return
|
|
2598
|
+
return k`
|
|
2593
2599
|
<style>
|
|
2594
2600
|
:host{
|
|
2595
2601
|
grid-area: body;
|
|
@@ -2676,7 +2682,7 @@ let he = class extends g {
|
|
|
2676
2682
|
};
|
|
2677
2683
|
}
|
|
2678
2684
|
get styleTokens() {
|
|
2679
|
-
return
|
|
2685
|
+
return k`
|
|
2680
2686
|
<style>
|
|
2681
2687
|
:host{
|
|
2682
2688
|
grid-area: header;
|
|
@@ -2717,7 +2723,7 @@ cs([
|
|
|
2717
2723
|
he = cs([
|
|
2718
2724
|
v("ds-dialog-header")
|
|
2719
2725
|
], he);
|
|
2720
|
-
const
|
|
2726
|
+
const H = {
|
|
2721
2727
|
xs: u`@media(min-width: ${Mt.xs}px)`,
|
|
2722
2728
|
s: u`@media(min-width: ${Mt.s}px)`,
|
|
2723
2729
|
m: u`@media(min-width: ${Mt.m}px)`,
|
|
@@ -2782,7 +2788,7 @@ const V = {
|
|
|
2782
2788
|
background-color: transparent;
|
|
2783
2789
|
}
|
|
2784
2790
|
|
|
2785
|
-
${
|
|
2791
|
+
${H.xs} {
|
|
2786
2792
|
.ds-scroll::-webkit-scrollbar,
|
|
2787
2793
|
.ds-scroll-global *::-webkit-scrollbar {
|
|
2788
2794
|
height: 4px;
|
|
@@ -2790,7 +2796,7 @@ const V = {
|
|
|
2790
2796
|
}
|
|
2791
2797
|
}
|
|
2792
2798
|
|
|
2793
|
-
${
|
|
2799
|
+
${H.m} {
|
|
2794
2800
|
.ds-scroll::-webkit-scrollbar,
|
|
2795
2801
|
.ds-scroll-global *::-webkit-scrollbar {
|
|
2796
2802
|
height: 8px;
|
|
@@ -2885,7 +2891,7 @@ $e([
|
|
|
2885
2891
|
y()
|
|
2886
2892
|
], Ot.prototype, "hasScroll", 2);
|
|
2887
2893
|
$e([
|
|
2888
|
-
|
|
2894
|
+
ht(".content")
|
|
2889
2895
|
], Ot.prototype, "content", 2);
|
|
2890
2896
|
Ot = $e([
|
|
2891
2897
|
v("ds-dialog")
|
|
@@ -2914,7 +2920,7 @@ let de = class extends g {
|
|
|
2914
2920
|
};
|
|
2915
2921
|
}
|
|
2916
2922
|
get styleTokens() {
|
|
2917
|
-
return
|
|
2923
|
+
return k`
|
|
2918
2924
|
<style>
|
|
2919
2925
|
:host{
|
|
2920
2926
|
color-scheme: ${this.mode};
|
|
@@ -2962,7 +2968,7 @@ var Zr = Object.defineProperty, Qr = Object.getOwnPropertyDescriptor, Yt = (t, e
|
|
|
2962
2968
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
2963
2969
|
return r && i && Zr(e, s, i), i;
|
|
2964
2970
|
};
|
|
2965
|
-
let
|
|
2971
|
+
let vt = class extends g {
|
|
2966
2972
|
constructor() {
|
|
2967
2973
|
super(...arguments), this.htmlTagName = "a", this.mode = "light", this.size = "large";
|
|
2968
2974
|
}
|
|
@@ -2970,7 +2976,7 @@ let bt = class extends g {
|
|
|
2970
2976
|
this.href || t.preventDefault();
|
|
2971
2977
|
}
|
|
2972
2978
|
get styleTokens() {
|
|
2973
|
-
return
|
|
2979
|
+
return k`
|
|
2974
2980
|
<style>
|
|
2975
2981
|
:host {
|
|
2976
2982
|
color-scheme: ${this.mode};
|
|
@@ -3015,28 +3021,28 @@ let bt = class extends g {
|
|
|
3015
3021
|
`;
|
|
3016
3022
|
}
|
|
3017
3023
|
};
|
|
3018
|
-
|
|
3024
|
+
vt.styles = [Jr];
|
|
3019
3025
|
Yt([
|
|
3020
3026
|
a({ type: String, attribute: "html-tag-name" })
|
|
3021
|
-
],
|
|
3027
|
+
], vt.prototype, "htmlTagName", 2);
|
|
3022
3028
|
Yt([
|
|
3023
3029
|
a({ type: String, reflect: !0 })
|
|
3024
|
-
],
|
|
3030
|
+
], vt.prototype, "href", 2);
|
|
3025
3031
|
Yt([
|
|
3026
3032
|
a({ type: String, reflect: !0 })
|
|
3027
|
-
],
|
|
3033
|
+
], vt.prototype, "rel", 2);
|
|
3028
3034
|
Yt([
|
|
3029
3035
|
a({ type: String, reflect: !0 })
|
|
3030
|
-
],
|
|
3036
|
+
], vt.prototype, "target", 2);
|
|
3031
3037
|
Yt([
|
|
3032
3038
|
a({ type: String, reflect: !0 })
|
|
3033
|
-
],
|
|
3039
|
+
], vt.prototype, "mode", 2);
|
|
3034
3040
|
Yt([
|
|
3035
3041
|
a({ type: String })
|
|
3036
|
-
],
|
|
3037
|
-
|
|
3042
|
+
], vt.prototype, "size", 2);
|
|
3043
|
+
vt = Yt([
|
|
3038
3044
|
v("ds-hyperlink")
|
|
3039
|
-
],
|
|
3045
|
+
], vt);
|
|
3040
3046
|
const to = u`
|
|
3041
3047
|
:host {
|
|
3042
3048
|
display: inline-flex;
|
|
@@ -3054,12 +3060,12 @@ const to = u`
|
|
|
3054
3060
|
padding: 0;
|
|
3055
3061
|
}
|
|
3056
3062
|
`;
|
|
3057
|
-
var eo = Object.defineProperty, so = Object.getOwnPropertyDescriptor,
|
|
3063
|
+
var eo = Object.defineProperty, so = Object.getOwnPropertyDescriptor, it = (t, e, s, r) => {
|
|
3058
3064
|
for (var i = r > 1 ? void 0 : r ? so(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
3059
3065
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
3060
3066
|
return r && i && eo(e, s, i), i;
|
|
3061
3067
|
};
|
|
3062
|
-
let
|
|
3068
|
+
let W = class extends Dt(g) {
|
|
3063
3069
|
constructor() {
|
|
3064
3070
|
super(...arguments), this.variant = "primary", this.mode = "light", this.size = "large", this.disabled = !1, this.htmlTagName = "button";
|
|
3065
3071
|
}
|
|
@@ -3084,7 +3090,7 @@ let H = class extends Dt(g) {
|
|
|
3084
3090
|
};
|
|
3085
3091
|
}
|
|
3086
3092
|
get variantColorTokens() {
|
|
3087
|
-
return
|
|
3093
|
+
return k`
|
|
3088
3094
|
<style>
|
|
3089
3095
|
:host{
|
|
3090
3096
|
color-scheme: ${this.mode};
|
|
@@ -3142,40 +3148,40 @@ let H = class extends Dt(g) {
|
|
|
3142
3148
|
`;
|
|
3143
3149
|
}
|
|
3144
3150
|
};
|
|
3145
|
-
|
|
3146
|
-
|
|
3151
|
+
W.styles = [to];
|
|
3152
|
+
it([
|
|
3147
3153
|
a({ type: String })
|
|
3148
|
-
],
|
|
3149
|
-
|
|
3154
|
+
], W.prototype, "variant", 2);
|
|
3155
|
+
it([
|
|
3150
3156
|
a({ type: String, reflect: !0 })
|
|
3151
|
-
],
|
|
3152
|
-
|
|
3157
|
+
], W.prototype, "mode", 2);
|
|
3158
|
+
it([
|
|
3153
3159
|
a({ type: String, converter: Ue })
|
|
3154
|
-
],
|
|
3155
|
-
|
|
3160
|
+
], W.prototype, "size", 2);
|
|
3161
|
+
it([
|
|
3156
3162
|
a({ type: Boolean, converter: m })
|
|
3157
|
-
],
|
|
3158
|
-
|
|
3163
|
+
], W.prototype, "disabled", 2);
|
|
3164
|
+
it([
|
|
3159
3165
|
a({ type: String, attribute: "icon-name" })
|
|
3160
|
-
],
|
|
3161
|
-
|
|
3166
|
+
], W.prototype, "iconName", 2);
|
|
3167
|
+
it([
|
|
3162
3168
|
a({ type: String, attribute: "html-tag-name" })
|
|
3163
|
-
],
|
|
3164
|
-
|
|
3169
|
+
], W.prototype, "htmlTagName", 2);
|
|
3170
|
+
it([
|
|
3165
3171
|
a({ type: String, attribute: "data-aria-label" })
|
|
3166
|
-
],
|
|
3167
|
-
|
|
3172
|
+
], W.prototype, "dataAriaLabel", 2);
|
|
3173
|
+
it([
|
|
3168
3174
|
a({ type: String, reflect: !0 })
|
|
3169
|
-
],
|
|
3170
|
-
|
|
3175
|
+
], W.prototype, "href", 2);
|
|
3176
|
+
it([
|
|
3171
3177
|
a({ type: String, reflect: !0 })
|
|
3172
|
-
],
|
|
3173
|
-
|
|
3178
|
+
], W.prototype, "rel", 2);
|
|
3179
|
+
it([
|
|
3174
3180
|
a({ type: String, reflect: !0 })
|
|
3175
|
-
],
|
|
3176
|
-
|
|
3181
|
+
], W.prototype, "target", 2);
|
|
3182
|
+
W = it([
|
|
3177
3183
|
v("ds-icon-button")
|
|
3178
|
-
],
|
|
3184
|
+
], W);
|
|
3179
3185
|
class ie {
|
|
3180
3186
|
constructor() {
|
|
3181
3187
|
this.icons = {}, this.handleChangeTheme = (e) => {
|
|
@@ -3209,7 +3215,7 @@ var io = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, Ci = (t) =
|
|
|
3209
3215
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
3210
3216
|
return r && i && io(e, s, i), i;
|
|
3211
3217
|
}, ki = (t, e, s) => e.has(t) || Ci("Cannot " + s), li = (t, e, s) => (ki(t, e, "read from private field"), e.get(t)), oo = (t, e, s) => e.has(t) ? Ci("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, s), no = (t, e, s, r) => (ki(t, e, "write to private field"), e.set(t, s), s), Pe;
|
|
3212
|
-
let
|
|
3218
|
+
let yt = class extends g {
|
|
3213
3219
|
constructor() {
|
|
3214
3220
|
super(), this.iconHtml = "", oo(this, Pe), this.getIcon = async () => {
|
|
3215
3221
|
var e, s;
|
|
@@ -3234,7 +3240,7 @@ let vt = class extends g {
|
|
|
3234
3240
|
this.width,
|
|
3235
3241
|
"var(--private-ds-icon-height, var(--ds-icon-height, 20px))"
|
|
3236
3242
|
);
|
|
3237
|
-
return
|
|
3243
|
+
return k`
|
|
3238
3244
|
<style>
|
|
3239
3245
|
.ds-icon {
|
|
3240
3246
|
display: inline-block;
|
|
@@ -3260,7 +3266,7 @@ let vt = class extends g {
|
|
|
3260
3266
|
}
|
|
3261
3267
|
};
|
|
3262
3268
|
Pe = /* @__PURE__ */ new WeakMap();
|
|
3263
|
-
|
|
3269
|
+
yt.styles = u`
|
|
3264
3270
|
:host {
|
|
3265
3271
|
line-height: 0;
|
|
3266
3272
|
display: inline-block;
|
|
@@ -3268,31 +3274,31 @@ vt.styles = u`
|
|
|
3268
3274
|
`;
|
|
3269
3275
|
Xt([
|
|
3270
3276
|
a({ type: String, attribute: "icon-name" })
|
|
3271
|
-
],
|
|
3277
|
+
], yt.prototype, "iconName", 2);
|
|
3272
3278
|
Xt([
|
|
3273
3279
|
a({ type: String, attribute: "color" })
|
|
3274
|
-
],
|
|
3280
|
+
], yt.prototype, "color", 2);
|
|
3275
3281
|
Xt([
|
|
3276
3282
|
a({ type: Number })
|
|
3277
|
-
],
|
|
3283
|
+
], yt.prototype, "width", 2);
|
|
3278
3284
|
Xt([
|
|
3279
3285
|
a({ type: Number })
|
|
3280
|
-
],
|
|
3286
|
+
], yt.prototype, "height", 2);
|
|
3281
3287
|
Xt([
|
|
3282
3288
|
a({ type: Number, attribute: "size" })
|
|
3283
|
-
],
|
|
3289
|
+
], yt.prototype, "size", 2);
|
|
3284
3290
|
Xt([
|
|
3285
3291
|
y()
|
|
3286
|
-
],
|
|
3287
|
-
|
|
3292
|
+
], yt.prototype, "iconHtml", 2);
|
|
3293
|
+
yt = Xt([
|
|
3288
3294
|
v("ds-icon")
|
|
3289
|
-
],
|
|
3295
|
+
], yt);
|
|
3290
3296
|
var ao = Object.defineProperty, Rs = (t, e, s, r) => {
|
|
3291
3297
|
for (var i = void 0, o = t.length - 1, n; o >= 0; o--)
|
|
3292
3298
|
(n = t[o]) && (i = n(e, s, i) || i);
|
|
3293
3299
|
return i && ao(e, s, i), i;
|
|
3294
3300
|
};
|
|
3295
|
-
class He extends
|
|
3301
|
+
class He extends pt {
|
|
3296
3302
|
constructor() {
|
|
3297
3303
|
super(), this.handleChangeTheme = (e) => {
|
|
3298
3304
|
this.pubSubTheme = e;
|
|
@@ -3493,7 +3499,7 @@ const lo = u`
|
|
|
3493
3499
|
--ds-icon-color: var(--ds-color-dark-grey);
|
|
3494
3500
|
}
|
|
3495
3501
|
`, uo = [ho];
|
|
3496
|
-
var po = Object.defineProperty,
|
|
3502
|
+
var po = Object.defineProperty, rt = (t, e, s, r) => {
|
|
3497
3503
|
for (var i = void 0, o = t.length - 1, n; o >= 0; o--)
|
|
3498
3504
|
(n = t[o]) && (i = n(e, s, i) || i);
|
|
3499
3505
|
return i && po(e, s, i), i;
|
|
@@ -3527,7 +3533,7 @@ const es = class es extends ls(He) {
|
|
|
3527
3533
|
};
|
|
3528
3534
|
}
|
|
3529
3535
|
get styleTokens() {
|
|
3530
|
-
return
|
|
3536
|
+
return k`
|
|
3531
3537
|
<style>
|
|
3532
3538
|
:host{
|
|
3533
3539
|
color-scheme: ${this.mode};
|
|
@@ -3555,46 +3561,46 @@ const es = class es extends ls(He) {
|
|
|
3555
3561
|
es.styles = [lo, co], es.themesStyles = {
|
|
3556
3562
|
cupra: uo
|
|
3557
3563
|
};
|
|
3558
|
-
let
|
|
3559
|
-
|
|
3564
|
+
let M = es;
|
|
3565
|
+
rt([
|
|
3560
3566
|
a({ type: String, reflect: !0, attribute: "initial-value" })
|
|
3561
|
-
],
|
|
3562
|
-
|
|
3567
|
+
], M.prototype, "initialValue");
|
|
3568
|
+
rt([
|
|
3563
3569
|
a({ type: String })
|
|
3564
|
-
],
|
|
3565
|
-
|
|
3570
|
+
], M.prototype, "label");
|
|
3571
|
+
rt([
|
|
3566
3572
|
a({ type: String, attribute: "helper-text" })
|
|
3567
|
-
],
|
|
3568
|
-
|
|
3573
|
+
], M.prototype, "helperText");
|
|
3574
|
+
rt([
|
|
3569
3575
|
a({ type: String, attribute: "error-text" })
|
|
3570
|
-
],
|
|
3571
|
-
|
|
3576
|
+
], M.prototype, "errorText");
|
|
3577
|
+
rt([
|
|
3572
3578
|
a({ type: Boolean, converter: m })
|
|
3573
|
-
],
|
|
3574
|
-
|
|
3579
|
+
], M.prototype, "disabled");
|
|
3580
|
+
rt([
|
|
3575
3581
|
a({ type: Boolean, converter: m })
|
|
3576
|
-
],
|
|
3577
|
-
|
|
3582
|
+
], M.prototype, "success");
|
|
3583
|
+
rt([
|
|
3578
3584
|
a({ type: String, reflect: !0 })
|
|
3579
|
-
],
|
|
3580
|
-
|
|
3585
|
+
], M.prototype, "mode");
|
|
3586
|
+
rt([
|
|
3581
3587
|
a({ type: String })
|
|
3582
|
-
],
|
|
3583
|
-
|
|
3588
|
+
], M.prototype, "size");
|
|
3589
|
+
rt([
|
|
3584
3590
|
y()
|
|
3585
|
-
],
|
|
3586
|
-
|
|
3591
|
+
], M.prototype, "_value");
|
|
3592
|
+
rt([
|
|
3587
3593
|
y()
|
|
3588
|
-
],
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
],
|
|
3592
|
-
var mo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor,
|
|
3594
|
+
], M.prototype, "focused");
|
|
3595
|
+
rt([
|
|
3596
|
+
ht(".input-field")
|
|
3597
|
+
], M.prototype, "inputField");
|
|
3598
|
+
var mo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, St = (t, e, s, r) => {
|
|
3593
3599
|
for (var i = r > 1 ? void 0 : r ? fo(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
3594
3600
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
3595
3601
|
return r && i && mo(e, s, i), i;
|
|
3596
3602
|
};
|
|
3597
|
-
let
|
|
3603
|
+
let lt = class extends M {
|
|
3598
3604
|
constructor() {
|
|
3599
3605
|
super(...arguments), this.name = "", this.placeholder = "", this.type = "text", this.min = 0, this.max = 100, this.step = 1, this._hasPicker = !1, this.handleClickIcon = () => {
|
|
3600
3606
|
var t, e;
|
|
@@ -3689,33 +3695,33 @@ let at = class extends L {
|
|
|
3689
3695
|
return c;
|
|
3690
3696
|
}
|
|
3691
3697
|
};
|
|
3692
|
-
|
|
3698
|
+
St([
|
|
3693
3699
|
a({ type: String })
|
|
3694
|
-
],
|
|
3695
|
-
|
|
3700
|
+
], lt.prototype, "name", 2);
|
|
3701
|
+
St([
|
|
3696
3702
|
a({ type: String })
|
|
3697
|
-
],
|
|
3698
|
-
|
|
3703
|
+
], lt.prototype, "placeholder", 2);
|
|
3704
|
+
St([
|
|
3699
3705
|
a({ type: String, attribute: "max-length" })
|
|
3700
|
-
],
|
|
3701
|
-
|
|
3706
|
+
], lt.prototype, "maxLength", 2);
|
|
3707
|
+
St([
|
|
3702
3708
|
a({ type: String })
|
|
3703
|
-
],
|
|
3704
|
-
|
|
3709
|
+
], lt.prototype, "type", 2);
|
|
3710
|
+
St([
|
|
3705
3711
|
a({ type: Number })
|
|
3706
|
-
],
|
|
3707
|
-
|
|
3712
|
+
], lt.prototype, "min", 2);
|
|
3713
|
+
St([
|
|
3708
3714
|
a({ type: Number })
|
|
3709
|
-
],
|
|
3710
|
-
|
|
3715
|
+
], lt.prototype, "max", 2);
|
|
3716
|
+
St([
|
|
3711
3717
|
a({ type: Number })
|
|
3712
|
-
],
|
|
3713
|
-
|
|
3718
|
+
], lt.prototype, "step", 2);
|
|
3719
|
+
St([
|
|
3714
3720
|
y()
|
|
3715
|
-
],
|
|
3716
|
-
|
|
3721
|
+
], lt.prototype, "_hasPicker", 2);
|
|
3722
|
+
lt = St([
|
|
3717
3723
|
v("ds-input", { skipTagAsComponentName: !0 })
|
|
3718
|
-
],
|
|
3724
|
+
], lt);
|
|
3719
3725
|
const bo = u`
|
|
3720
3726
|
:host {
|
|
3721
3727
|
display: inline-flex;
|
|
@@ -3733,12 +3739,12 @@ const bo = u`
|
|
|
3733
3739
|
cursor: pointer;
|
|
3734
3740
|
}
|
|
3735
3741
|
`;
|
|
3736
|
-
var vo = Object.defineProperty, yo = Object.getOwnPropertyDescriptor,
|
|
3742
|
+
var vo = Object.defineProperty, yo = Object.getOwnPropertyDescriptor, ot = (t, e, s, r) => {
|
|
3737
3743
|
for (var i = r > 1 ? void 0 : r ? yo(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
3738
3744
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
3739
3745
|
return r && i && vo(e, s, i), i;
|
|
3740
3746
|
};
|
|
3741
|
-
let
|
|
3747
|
+
let q = class extends g {
|
|
3742
3748
|
constructor() {
|
|
3743
3749
|
super(...arguments), this.mode = "light", this.size = "large", this.underline = !1, this.disabled = !1, this.iconName = "arrow-right", this.iconPosition = "right";
|
|
3744
3750
|
}
|
|
@@ -3761,7 +3767,7 @@ let W = class extends g {
|
|
|
3761
3767
|
this.href || t.preventDefault();
|
|
3762
3768
|
}
|
|
3763
3769
|
get styleTokens() {
|
|
3764
|
-
return
|
|
3770
|
+
return k`
|
|
3765
3771
|
<style>
|
|
3766
3772
|
:host{
|
|
3767
3773
|
color-scheme: ${this.mode};
|
|
@@ -3805,40 +3811,40 @@ let W = class extends g {
|
|
|
3805
3811
|
`;
|
|
3806
3812
|
}
|
|
3807
3813
|
};
|
|
3808
|
-
|
|
3809
|
-
|
|
3814
|
+
q.styles = [bo];
|
|
3815
|
+
ot([
|
|
3810
3816
|
a({ type: String, reflect: !0 })
|
|
3811
|
-
],
|
|
3812
|
-
|
|
3817
|
+
], q.prototype, "mode", 2);
|
|
3818
|
+
ot([
|
|
3813
3819
|
a({ type: String })
|
|
3814
|
-
],
|
|
3815
|
-
|
|
3820
|
+
], q.prototype, "size", 2);
|
|
3821
|
+
ot([
|
|
3816
3822
|
a({ type: Boolean, converter: m })
|
|
3817
|
-
],
|
|
3818
|
-
|
|
3823
|
+
], q.prototype, "underline", 2);
|
|
3824
|
+
ot([
|
|
3819
3825
|
a({ type: Boolean, converter: m })
|
|
3820
|
-
],
|
|
3821
|
-
|
|
3826
|
+
], q.prototype, "disabled", 2);
|
|
3827
|
+
ot([
|
|
3822
3828
|
a({ type: String, attribute: "html-tag-name" })
|
|
3823
|
-
],
|
|
3824
|
-
|
|
3829
|
+
], q.prototype, "htmlTagName", 2);
|
|
3830
|
+
ot([
|
|
3825
3831
|
a({ type: String, reflect: !0 })
|
|
3826
|
-
],
|
|
3827
|
-
|
|
3832
|
+
], q.prototype, "href", 2);
|
|
3833
|
+
ot([
|
|
3828
3834
|
a({ type: String, reflect: !0 })
|
|
3829
|
-
],
|
|
3830
|
-
|
|
3835
|
+
], q.prototype, "rel", 2);
|
|
3836
|
+
ot([
|
|
3831
3837
|
a({ type: String, reflect: !0 })
|
|
3832
|
-
],
|
|
3833
|
-
|
|
3838
|
+
], q.prototype, "target", 2);
|
|
3839
|
+
ot([
|
|
3834
3840
|
a({ type: String, attribute: "icon-name" })
|
|
3835
|
-
],
|
|
3836
|
-
|
|
3841
|
+
], q.prototype, "iconName", 2);
|
|
3842
|
+
ot([
|
|
3837
3843
|
a({ type: String, attribute: "icon-position" })
|
|
3838
|
-
],
|
|
3839
|
-
|
|
3844
|
+
], q.prototype, "iconPosition", 2);
|
|
3845
|
+
q = ot([
|
|
3840
3846
|
v("ds-link-button")
|
|
3841
|
-
],
|
|
3847
|
+
], q);
|
|
3842
3848
|
const go = u`
|
|
3843
3849
|
.track {
|
|
3844
3850
|
width: 100%;
|
|
@@ -3909,7 +3915,7 @@ const ss = class ss extends He {
|
|
|
3909
3915
|
};
|
|
3910
3916
|
}
|
|
3911
3917
|
get styleTokens() {
|
|
3912
|
-
return
|
|
3918
|
+
return k`
|
|
3913
3919
|
<style>
|
|
3914
3920
|
:host {
|
|
3915
3921
|
color-scheme: ${this.mode};
|
|
@@ -3972,7 +3978,7 @@ Ae = zo([
|
|
|
3972
3978
|
v("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3973
3979
|
], Ae);
|
|
3974
3980
|
function Jt(t, ...e) {
|
|
3975
|
-
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
3981
|
+
const r = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-6"), i = vi(r);
|
|
3976
3982
|
return u`${i}`;
|
|
3977
3983
|
}
|
|
3978
3984
|
const Ao = Jt`
|
|
@@ -4023,7 +4029,7 @@ let ue = class extends g {
|
|
|
4023
4029
|
};
|
|
4024
4030
|
}
|
|
4025
4031
|
get styleTokens() {
|
|
4026
|
-
return
|
|
4032
|
+
return k`
|
|
4027
4033
|
<style>
|
|
4028
4034
|
:host {
|
|
4029
4035
|
color-scheme: ${this.mode};
|
|
@@ -4298,7 +4304,7 @@ let Le = class extends g {
|
|
|
4298
4304
|
};
|
|
4299
4305
|
}
|
|
4300
4306
|
get styleTokens() {
|
|
4301
|
-
return
|
|
4307
|
+
return k`
|
|
4302
4308
|
<style>
|
|
4303
4309
|
:host {
|
|
4304
4310
|
color-scheme: ${this.mode};
|
|
@@ -4367,7 +4373,7 @@ var Yo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, Nt = (t, e
|
|
|
4367
4373
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
4368
4374
|
return r && i && Yo(e, s, i), i;
|
|
4369
4375
|
};
|
|
4370
|
-
let
|
|
4376
|
+
let ct = class extends g {
|
|
4371
4377
|
constructor() {
|
|
4372
4378
|
super(...arguments), this.width = 48, this.height = 48, this.checked = !1, this.iconSize = 24, this.iconTop = 8;
|
|
4373
4379
|
}
|
|
@@ -4441,31 +4447,31 @@ let lt = class extends g {
|
|
|
4441
4447
|
`;
|
|
4442
4448
|
}
|
|
4443
4449
|
};
|
|
4444
|
-
|
|
4450
|
+
ct.styles = [Go];
|
|
4445
4451
|
Nt([
|
|
4446
4452
|
a({ type: Number, attribute: "width" })
|
|
4447
|
-
],
|
|
4453
|
+
], ct.prototype, "width", 2);
|
|
4448
4454
|
Nt([
|
|
4449
4455
|
a({ type: Number, attribute: "height" })
|
|
4450
|
-
],
|
|
4456
|
+
], ct.prototype, "height", 2);
|
|
4451
4457
|
Nt([
|
|
4452
4458
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
4453
|
-
],
|
|
4459
|
+
], ct.prototype, "checked", 2);
|
|
4454
4460
|
Nt([
|
|
4455
4461
|
a({ type: String, attribute: "icon-name" })
|
|
4456
|
-
],
|
|
4462
|
+
], ct.prototype, "iconName", 2);
|
|
4457
4463
|
Nt([
|
|
4458
4464
|
a({ type: Number, attribute: "icon-size" })
|
|
4459
|
-
],
|
|
4465
|
+
], ct.prototype, "iconSize", 2);
|
|
4460
4466
|
Nt([
|
|
4461
4467
|
a({ type: Number, attribute: "icon-top" })
|
|
4462
|
-
],
|
|
4468
|
+
], ct.prototype, "iconTop", 2);
|
|
4463
4469
|
Nt([
|
|
4464
4470
|
a({ type: Number, attribute: "cluster-count" })
|
|
4465
|
-
],
|
|
4466
|
-
|
|
4471
|
+
], ct.prototype, "clusterCount", 2);
|
|
4472
|
+
ct = Nt([
|
|
4467
4473
|
v("ds-map-pin")
|
|
4468
|
-
],
|
|
4474
|
+
], ct);
|
|
4469
4475
|
const Jo = u`
|
|
4470
4476
|
:host {
|
|
4471
4477
|
transition: display 300ms ease allow-discrete;
|
|
@@ -4536,7 +4542,7 @@ const Jo = u`
|
|
|
4536
4542
|
grid-area: confirmButton;
|
|
4537
4543
|
}
|
|
4538
4544
|
|
|
4539
|
-
${
|
|
4545
|
+
${H.m} {
|
|
4540
4546
|
.content-container.full-width {
|
|
4541
4547
|
max-width: 700px;
|
|
4542
4548
|
}
|
|
@@ -4567,7 +4573,7 @@ const Jo = u`
|
|
|
4567
4573
|
}
|
|
4568
4574
|
}
|
|
4569
4575
|
|
|
4570
|
-
${
|
|
4576
|
+
${H.l} {
|
|
4571
4577
|
.content-container.full-width {
|
|
4572
4578
|
max-width: 952px;
|
|
4573
4579
|
}
|
|
@@ -4585,7 +4591,7 @@ const Jo = u`
|
|
|
4585
4591
|
}
|
|
4586
4592
|
}
|
|
4587
4593
|
|
|
4588
|
-
${
|
|
4594
|
+
${H.xl} {
|
|
4589
4595
|
.content-container.full-width {
|
|
4590
4596
|
max-width: 1138px;
|
|
4591
4597
|
}
|
|
@@ -4647,7 +4653,7 @@ const Jo = u`
|
|
|
4647
4653
|
width: calc(100dvw - 32px);
|
|
4648
4654
|
}
|
|
4649
4655
|
|
|
4650
|
-
${
|
|
4656
|
+
${H.m} {
|
|
4651
4657
|
.container.dialog .content-container {
|
|
4652
4658
|
max-height: calc(100dvh - 112px);
|
|
4653
4659
|
padding: 48px;
|
|
@@ -4663,7 +4669,7 @@ const Jo = u`
|
|
|
4663
4669
|
padding-top: 24px;
|
|
4664
4670
|
}
|
|
4665
4671
|
|
|
4666
|
-
${
|
|
4672
|
+
${H.m} {
|
|
4667
4673
|
.container.full-screen.v-align-default {
|
|
4668
4674
|
justify-content: center;
|
|
4669
4675
|
padding-top: 0;
|
|
@@ -4680,19 +4686,19 @@ const Jo = u`
|
|
|
4680
4686
|
padding-top: 24px;
|
|
4681
4687
|
}
|
|
4682
4688
|
|
|
4683
|
-
${
|
|
4689
|
+
${H.m} {
|
|
4684
4690
|
.container.full-screen.v-align-start {
|
|
4685
4691
|
padding-top: 32px;
|
|
4686
4692
|
}
|
|
4687
4693
|
}
|
|
4688
4694
|
|
|
4689
|
-
${
|
|
4695
|
+
${H.l} {
|
|
4690
4696
|
.container.full-screen.v-align-start {
|
|
4691
4697
|
padding-top: 32px;
|
|
4692
4698
|
}
|
|
4693
4699
|
}
|
|
4694
4700
|
|
|
4695
|
-
${
|
|
4701
|
+
${H.xl} {
|
|
4696
4702
|
.container.full-screen.v-align-start {
|
|
4697
4703
|
padding-top: 64px;
|
|
4698
4704
|
}
|
|
@@ -4719,19 +4725,19 @@ const Jo = u`
|
|
|
4719
4725
|
padding-bottom: 24px;
|
|
4720
4726
|
}
|
|
4721
4727
|
|
|
4722
|
-
${
|
|
4728
|
+
${H.m} {
|
|
4723
4729
|
.container.full-screen.v-align-end {
|
|
4724
4730
|
padding-bottom: 32px;
|
|
4725
4731
|
}
|
|
4726
4732
|
}
|
|
4727
4733
|
|
|
4728
|
-
${
|
|
4734
|
+
${H.l} {
|
|
4729
4735
|
.container.full-screen.v-align-end {
|
|
4730
4736
|
padding-bottom: 32px;
|
|
4731
4737
|
}
|
|
4732
4738
|
}
|
|
4733
4739
|
|
|
4734
|
-
${
|
|
4740
|
+
${H.xl} {
|
|
4735
4741
|
.container.full-screen.v-align-end {
|
|
4736
4742
|
padding-bottom: 64px;
|
|
4737
4743
|
}
|
|
@@ -4743,12 +4749,12 @@ const Jo = u`
|
|
|
4743
4749
|
margin-bottom: 24px;
|
|
4744
4750
|
}
|
|
4745
4751
|
`;
|
|
4746
|
-
var sn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor,
|
|
4752
|
+
var sn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, nt = (t, e, s, r) => {
|
|
4747
4753
|
for (var i = r > 1 ? void 0 : r ? rn(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
4748
4754
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
4749
4755
|
return r && i && sn(e, s, i), i;
|
|
4750
4756
|
};
|
|
4751
|
-
let
|
|
4757
|
+
let K = class extends Dt(g) {
|
|
4752
4758
|
constructor() {
|
|
4753
4759
|
super(...arguments), this.withCloseButton = !0, this.variant = "fullScreen", this.zIndex = 2e3, this.disableScrollLock = !1, this.fullWidth = !1, this.vAlign = "default";
|
|
4754
4760
|
}
|
|
@@ -4899,52 +4905,52 @@ let q = class extends Dt(g) {
|
|
|
4899
4905
|
));
|
|
4900
4906
|
}
|
|
4901
4907
|
};
|
|
4902
|
-
|
|
4903
|
-
|
|
4908
|
+
K.styles = [Zo, Qo, tn, Jo, en];
|
|
4909
|
+
nt([
|
|
4904
4910
|
a({ type: Boolean, reflect: !0, converter: m })
|
|
4905
|
-
],
|
|
4906
|
-
|
|
4911
|
+
], K.prototype, "open", 2);
|
|
4912
|
+
nt([
|
|
4907
4913
|
a({
|
|
4908
4914
|
type: Boolean,
|
|
4909
4915
|
attribute: "with-close-button",
|
|
4910
4916
|
converter: m
|
|
4911
4917
|
})
|
|
4912
|
-
],
|
|
4913
|
-
|
|
4918
|
+
], K.prototype, "withCloseButton", 2);
|
|
4919
|
+
nt([
|
|
4914
4920
|
a({ type: String, attribute: "cancel-button-text" })
|
|
4915
|
-
],
|
|
4916
|
-
|
|
4921
|
+
], K.prototype, "cancelButtonText", 2);
|
|
4922
|
+
nt([
|
|
4917
4923
|
a({ type: String, attribute: "confirm-button-text" })
|
|
4918
|
-
],
|
|
4919
|
-
|
|
4924
|
+
], K.prototype, "confirmButtonText", 2);
|
|
4925
|
+
nt([
|
|
4920
4926
|
a({ type: String })
|
|
4921
|
-
],
|
|
4922
|
-
|
|
4927
|
+
], K.prototype, "variant", 2);
|
|
4928
|
+
nt([
|
|
4923
4929
|
a({ type: Number, attribute: "z-index" })
|
|
4924
|
-
],
|
|
4925
|
-
|
|
4930
|
+
], K.prototype, "zIndex", 2);
|
|
4931
|
+
nt([
|
|
4926
4932
|
a({
|
|
4927
4933
|
type: Boolean,
|
|
4928
4934
|
converter: m,
|
|
4929
4935
|
attribute: "disable-scroll-lock"
|
|
4930
4936
|
})
|
|
4931
|
-
],
|
|
4932
|
-
|
|
4937
|
+
], K.prototype, "disableScrollLock", 2);
|
|
4938
|
+
nt([
|
|
4933
4939
|
a({ type: String, attribute: "icon-name" })
|
|
4934
|
-
],
|
|
4935
|
-
|
|
4940
|
+
], K.prototype, "iconName", 2);
|
|
4941
|
+
nt([
|
|
4936
4942
|
a({
|
|
4937
4943
|
type: Boolean,
|
|
4938
4944
|
converter: m,
|
|
4939
4945
|
attribute: "full-width"
|
|
4940
4946
|
})
|
|
4941
|
-
],
|
|
4942
|
-
|
|
4947
|
+
], K.prototype, "fullWidth", 2);
|
|
4948
|
+
nt([
|
|
4943
4949
|
a({ type: String, attribute: "v-align" })
|
|
4944
|
-
],
|
|
4945
|
-
|
|
4950
|
+
], K.prototype, "vAlign", 2);
|
|
4951
|
+
K = nt([
|
|
4946
4952
|
v("ds-modal")
|
|
4947
|
-
],
|
|
4953
|
+
], K);
|
|
4948
4954
|
const Hs = (t) => class extends t {
|
|
4949
4955
|
constructor() {
|
|
4950
4956
|
super(...arguments), this.inputStates = {
|
|
@@ -5001,7 +5007,7 @@ var nn = Object.defineProperty, an = Object.getOwnPropertyDescriptor, xe = (t, e
|
|
|
5001
5007
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5002
5008
|
return r && i && nn(e, s, i), i;
|
|
5003
5009
|
};
|
|
5004
|
-
let
|
|
5010
|
+
let gt = class extends Hs(g) {
|
|
5005
5011
|
constructor() {
|
|
5006
5012
|
super(...arguments), this.keyboardMode = !1, this.size = "medium", this.helperText = "", this.forcedError = "", this.invalidError = "", this.dataAriaLabelRemoveButton = "", this.handleClickIcon = () => {
|
|
5007
5013
|
this.nativeInput.value = "", this.nativeInput.focus(), ["input", "change"].forEach(
|
|
@@ -5064,31 +5070,31 @@ let yt = class extends Hs(g) {
|
|
|
5064
5070
|
return this.forcedError || !this.inputStates.invalid || !this.invalidError ? c : l`<span class="support-text error-text invalid-error">${this.invalidError}</span>`;
|
|
5065
5071
|
}
|
|
5066
5072
|
};
|
|
5067
|
-
|
|
5073
|
+
gt.styles = [on];
|
|
5068
5074
|
xe([
|
|
5069
5075
|
a({ type: String })
|
|
5070
|
-
],
|
|
5076
|
+
], gt.prototype, "size", 2);
|
|
5071
5077
|
xe([
|
|
5072
5078
|
a({ type: String, attribute: "helper-text" })
|
|
5073
|
-
],
|
|
5079
|
+
], gt.prototype, "helperText", 2);
|
|
5074
5080
|
xe([
|
|
5075
5081
|
a({ type: String, attribute: "forced-error" })
|
|
5076
|
-
],
|
|
5082
|
+
], gt.prototype, "forcedError", 2);
|
|
5077
5083
|
xe([
|
|
5078
5084
|
a({ type: String, attribute: "invalid-error" })
|
|
5079
|
-
],
|
|
5085
|
+
], gt.prototype, "invalidError", 2);
|
|
5080
5086
|
xe([
|
|
5081
5087
|
a({ type: String, attribute: "data-aria-label-remove-button" })
|
|
5082
|
-
],
|
|
5083
|
-
|
|
5088
|
+
], gt.prototype, "dataAriaLabelRemoveButton", 2);
|
|
5089
|
+
gt = xe([
|
|
5084
5090
|
v("ds-text-input")
|
|
5085
|
-
],
|
|
5091
|
+
], gt);
|
|
5086
5092
|
var ln = Object.defineProperty, cn = Object.getOwnPropertyDescriptor, ps = (t, e, s, r) => {
|
|
5087
5093
|
for (var i = r > 1 ? void 0 : r ? cn(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5088
5094
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5089
5095
|
return r && i && ln(e, s, i), i;
|
|
5090
5096
|
};
|
|
5091
|
-
let Me = class extends
|
|
5097
|
+
let Me = class extends gt {
|
|
5092
5098
|
constructor() {
|
|
5093
5099
|
super(...arguments), this.dataAriaLabelHideButton = "", this.dataAriaLabelShowButton = "", this.visible = !1, this.handleClickIcon = () => {
|
|
5094
5100
|
this.visible ? (this.nativeInput.setAttribute("type", "password"), this.visible = !1) : (this.nativeInput.setAttribute("type", "text"), this.visible = !0);
|
|
@@ -5204,7 +5210,7 @@ var pn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, Ei = (t, e
|
|
|
5204
5210
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5205
5211
|
return r && i && pn(e, s, i), i;
|
|
5206
5212
|
};
|
|
5207
|
-
let ks = class extends
|
|
5213
|
+
let ks = class extends pt {
|
|
5208
5214
|
constructor() {
|
|
5209
5215
|
super(...arguments), this.nodes = [], this.querySelectorText = "body";
|
|
5210
5216
|
}
|
|
@@ -5285,7 +5291,7 @@ var wn = Object.defineProperty, Sn = Object.getOwnPropertyDescriptor, Zt = (t, e
|
|
|
5285
5291
|
return r && i && wn(e, s, i), i;
|
|
5286
5292
|
};
|
|
5287
5293
|
const Pi = Symbol("ds-radio-button-group:disabled"), zi = Symbol("ds-radio-button-group:error"), Ii = Symbol("ds-radio-button-group:error-text"), Ai = Symbol("ds-radio-button-group:helper-text"), Di = Symbol("ds-radio-button-group:size");
|
|
5288
|
-
let
|
|
5294
|
+
let $t = class extends g {
|
|
5289
5295
|
constructor() {
|
|
5290
5296
|
super(...arguments), this.error = !1, this.errorText = "", this.helperText = "", this.disabled = !1, this.size = "medium", this.orientation = "vertical";
|
|
5291
5297
|
}
|
|
@@ -5316,33 +5322,33 @@ let gt = class extends g {
|
|
|
5316
5322
|
`;
|
|
5317
5323
|
}
|
|
5318
5324
|
};
|
|
5319
|
-
|
|
5325
|
+
$t.styles = [xn];
|
|
5320
5326
|
Zt([
|
|
5321
5327
|
ye({ context: zi }),
|
|
5322
5328
|
a({ type: Boolean, converter: m })
|
|
5323
|
-
],
|
|
5329
|
+
], $t.prototype, "error", 2);
|
|
5324
5330
|
Zt([
|
|
5325
5331
|
ye({ context: Ii }),
|
|
5326
5332
|
a({ type: String, attribute: "error-text" })
|
|
5327
|
-
],
|
|
5333
|
+
], $t.prototype, "errorText", 2);
|
|
5328
5334
|
Zt([
|
|
5329
5335
|
ye({ context: Ai }),
|
|
5330
5336
|
a({ type: String, attribute: "helper-text" })
|
|
5331
|
-
],
|
|
5337
|
+
], $t.prototype, "helperText", 2);
|
|
5332
5338
|
Zt([
|
|
5333
5339
|
ye({ context: Pi }),
|
|
5334
5340
|
a({ type: Boolean, converter: m })
|
|
5335
|
-
],
|
|
5341
|
+
], $t.prototype, "disabled", 2);
|
|
5336
5342
|
Zt([
|
|
5337
5343
|
ye({ context: Di }),
|
|
5338
5344
|
a({ type: String })
|
|
5339
|
-
],
|
|
5345
|
+
], $t.prototype, "size", 2);
|
|
5340
5346
|
Zt([
|
|
5341
5347
|
a({ type: String, reflect: !0 })
|
|
5342
|
-
],
|
|
5343
|
-
|
|
5348
|
+
], $t.prototype, "orientation", 2);
|
|
5349
|
+
$t = Zt([
|
|
5344
5350
|
v("ds-radio-button-group")
|
|
5345
|
-
],
|
|
5351
|
+
], $t);
|
|
5346
5352
|
const _n = u`
|
|
5347
5353
|
:host {
|
|
5348
5354
|
display: block;
|
|
@@ -5388,12 +5394,12 @@ const _n = u`
|
|
|
5388
5394
|
cursor: pointer;
|
|
5389
5395
|
}
|
|
5390
5396
|
`;
|
|
5391
|
-
var Tn = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor,
|
|
5397
|
+
var Tn = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, R = (t, e, s, r) => {
|
|
5392
5398
|
for (var i = r > 1 ? void 0 : r ? Cn(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5393
5399
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5394
5400
|
return r && i && Tn(e, s, i), i;
|
|
5395
5401
|
};
|
|
5396
|
-
let
|
|
5402
|
+
let N = class extends g {
|
|
5397
5403
|
constructor() {
|
|
5398
5404
|
super(...arguments), this.inputPlacement = "left", this._size = "medium", this.errorText = "", this.helperText = "", this._disabled = !1, this.handleChange = (t) => {
|
|
5399
5405
|
this.checkInputState(t.target);
|
|
@@ -5514,49 +5520,49 @@ let D = class extends g {
|
|
|
5514
5520
|
`;
|
|
5515
5521
|
}
|
|
5516
5522
|
};
|
|
5517
|
-
|
|
5518
|
-
|
|
5523
|
+
N.styles = [_n];
|
|
5524
|
+
R([
|
|
5519
5525
|
a({ type: String, attribute: "input-placement" })
|
|
5520
|
-
],
|
|
5521
|
-
|
|
5526
|
+
], N.prototype, "inputPlacement", 2);
|
|
5527
|
+
R([
|
|
5522
5528
|
a({ type: String, attribute: "size" })
|
|
5523
|
-
],
|
|
5524
|
-
|
|
5529
|
+
], N.prototype, "_size", 2);
|
|
5530
|
+
R([
|
|
5525
5531
|
a({ type: Boolean, attribute: "error", converter: m })
|
|
5526
|
-
],
|
|
5527
|
-
|
|
5532
|
+
], N.prototype, "_error", 2);
|
|
5533
|
+
R([
|
|
5528
5534
|
a({ type: String, attribute: "error-text" })
|
|
5529
|
-
],
|
|
5530
|
-
|
|
5535
|
+
], N.prototype, "errorText", 2);
|
|
5536
|
+
R([
|
|
5531
5537
|
a({ type: String, attribute: "helper-text" })
|
|
5532
|
-
],
|
|
5533
|
-
|
|
5538
|
+
], N.prototype, "helperText", 2);
|
|
5539
|
+
R([
|
|
5534
5540
|
y()
|
|
5535
|
-
],
|
|
5536
|
-
|
|
5541
|
+
], N.prototype, "errorGroup", 2);
|
|
5542
|
+
R([
|
|
5537
5543
|
y()
|
|
5538
|
-
],
|
|
5539
|
-
|
|
5544
|
+
], N.prototype, "errorTextGroup", 2);
|
|
5545
|
+
R([
|
|
5540
5546
|
y()
|
|
5541
|
-
],
|
|
5542
|
-
|
|
5547
|
+
], N.prototype, "disabledGroup", 2);
|
|
5548
|
+
R([
|
|
5543
5549
|
y()
|
|
5544
|
-
],
|
|
5545
|
-
|
|
5550
|
+
], N.prototype, "helperTextGroup", 2);
|
|
5551
|
+
R([
|
|
5546
5552
|
y()
|
|
5547
|
-
],
|
|
5548
|
-
|
|
5553
|
+
], N.prototype, "sizeGroup", 2);
|
|
5554
|
+
R([
|
|
5549
5555
|
y()
|
|
5550
|
-
],
|
|
5551
|
-
|
|
5556
|
+
], N.prototype, "_disabled", 2);
|
|
5557
|
+
R([
|
|
5552
5558
|
y()
|
|
5553
|
-
],
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
],
|
|
5557
|
-
|
|
5559
|
+
], N.prototype, "inputMutationObserver", 2);
|
|
5560
|
+
R([
|
|
5561
|
+
st({ slot: "input", selector: "input" })
|
|
5562
|
+
], N.prototype, "input", 2);
|
|
5563
|
+
N = R([
|
|
5558
5564
|
v("ds-radio-button")
|
|
5559
|
-
],
|
|
5565
|
+
], N);
|
|
5560
5566
|
const kn = u`
|
|
5561
5567
|
:host {
|
|
5562
5568
|
display: flex;
|
|
@@ -5576,7 +5582,7 @@ var En = Object.defineProperty, On = Object.getOwnPropertyDescriptor, we = (t, e
|
|
|
5576
5582
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5577
5583
|
return r && i && En(e, s, i), i;
|
|
5578
5584
|
};
|
|
5579
|
-
let Pt = class extends ls(
|
|
5585
|
+
let Pt = class extends ls(pt) {
|
|
5580
5586
|
constructor() {
|
|
5581
5587
|
super(...arguments), this.mode = "light", this.size = "large";
|
|
5582
5588
|
}
|
|
@@ -5633,7 +5639,7 @@ we([
|
|
|
5633
5639
|
a({ type: String })
|
|
5634
5640
|
], Pt.prototype, "size", 2);
|
|
5635
5641
|
we([
|
|
5636
|
-
|
|
5642
|
+
st({ selector: "ds-radio" })
|
|
5637
5643
|
], Pt.prototype, "radioElements", 2);
|
|
5638
5644
|
Pt = we([
|
|
5639
5645
|
v("ds-radio-group", { skipTagAsComponentName: !0 })
|
|
@@ -5675,12 +5681,12 @@ const Pn = u`
|
|
|
5675
5681
|
transform: scale(1);
|
|
5676
5682
|
}
|
|
5677
5683
|
`;
|
|
5678
|
-
var zn = Object.defineProperty, In = Object.getOwnPropertyDescriptor,
|
|
5684
|
+
var zn = Object.defineProperty, In = Object.getOwnPropertyDescriptor, _t = (t, e, s, r) => {
|
|
5679
5685
|
for (var i = r > 1 ? void 0 : r ? In(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5680
5686
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5681
5687
|
return r && i && zn(e, s, i), i;
|
|
5682
5688
|
};
|
|
5683
|
-
let
|
|
5689
|
+
let tt = class extends g {
|
|
5684
5690
|
constructor() {
|
|
5685
5691
|
super(...arguments), this.readonly = !1, this.checked = !1, this.disabled = !1, this.mode = "light", this.size = "large", this.handleClickInput = (t) => {
|
|
5686
5692
|
this.readonly && t.preventDefault();
|
|
@@ -5725,7 +5731,7 @@ let Q = class extends g {
|
|
|
5725
5731
|
};
|
|
5726
5732
|
}
|
|
5727
5733
|
get styleTokens() {
|
|
5728
|
-
return
|
|
5734
|
+
return k`
|
|
5729
5735
|
<style>
|
|
5730
5736
|
:host{
|
|
5731
5737
|
color-scheme: ${this.mode};
|
|
@@ -5744,45 +5750,45 @@ let Q = class extends g {
|
|
|
5744
5750
|
`;
|
|
5745
5751
|
}
|
|
5746
5752
|
};
|
|
5747
|
-
|
|
5748
|
-
|
|
5753
|
+
tt.styles = [Pn];
|
|
5754
|
+
_t([
|
|
5749
5755
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5750
|
-
],
|
|
5751
|
-
|
|
5756
|
+
], tt.prototype, "readonly", 2);
|
|
5757
|
+
_t([
|
|
5752
5758
|
a({ type: String, reflect: !0 })
|
|
5753
|
-
],
|
|
5754
|
-
|
|
5759
|
+
], tt.prototype, "name", 2);
|
|
5760
|
+
_t([
|
|
5755
5761
|
a({ type: String })
|
|
5756
|
-
],
|
|
5757
|
-
|
|
5762
|
+
], tt.prototype, "value", 2);
|
|
5763
|
+
_t([
|
|
5758
5764
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5759
|
-
],
|
|
5760
|
-
|
|
5765
|
+
], tt.prototype, "checked", 2);
|
|
5766
|
+
_t([
|
|
5761
5767
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5762
|
-
],
|
|
5763
|
-
|
|
5768
|
+
], tt.prototype, "disabled", 2);
|
|
5769
|
+
_t([
|
|
5764
5770
|
a({ type: String, reflect: !0 })
|
|
5765
|
-
],
|
|
5766
|
-
|
|
5771
|
+
], tt.prototype, "mode", 2);
|
|
5772
|
+
_t([
|
|
5767
5773
|
a({ type: String })
|
|
5768
|
-
],
|
|
5769
|
-
|
|
5774
|
+
], tt.prototype, "size", 2);
|
|
5775
|
+
_t([
|
|
5770
5776
|
Bs({ slot: "", flatten: !0 })
|
|
5771
|
-
],
|
|
5772
|
-
|
|
5777
|
+
], tt.prototype, "_defaultSlotNodes", 2);
|
|
5778
|
+
tt = _t([
|
|
5773
5779
|
v("ds-radio")
|
|
5774
|
-
],
|
|
5780
|
+
], tt);
|
|
5775
5781
|
const An = u`
|
|
5776
5782
|
:host {
|
|
5777
5783
|
display: contents;
|
|
5778
5784
|
}
|
|
5779
5785
|
`;
|
|
5780
|
-
var Dn = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor,
|
|
5786
|
+
var Dn = Object.defineProperty, Nn = Object.getOwnPropertyDescriptor, dt = (t, e, s, r) => {
|
|
5781
5787
|
for (var i = r > 1 ? void 0 : r ? Nn(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5782
5788
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5783
5789
|
return r && i && Dn(e, s, i), i;
|
|
5784
5790
|
};
|
|
5785
|
-
let
|
|
5791
|
+
let X = class extends Hs(g) {
|
|
5786
5792
|
constructor() {
|
|
5787
5793
|
super(...arguments), this.size = "medium", this.variant = "primary", this.loading = !1, this.helperText = "", this.forcedError = "", this.invalidError = "", this.dataAriaLabelRemoveButton = "", this.dataAriaLabelPositionButton = "", this.withPositionButton = !0, this.handleRemove = () => {
|
|
5788
5794
|
this.nativeInput.value = "", this.nativeInput.focus(), ["input", "change"].forEach(
|
|
@@ -5890,37 +5896,37 @@ let Y = class extends Hs(g) {
|
|
|
5890
5896
|
return Ws(t) ? l`<span class="char-counter">${((r = this.inputStates.currentValue) == null ? void 0 : r.length) || 0}/${t}</span>` : c;
|
|
5891
5897
|
}
|
|
5892
5898
|
};
|
|
5893
|
-
|
|
5894
|
-
|
|
5899
|
+
X.styles = [An];
|
|
5900
|
+
dt([
|
|
5895
5901
|
a({ type: String })
|
|
5896
|
-
],
|
|
5897
|
-
|
|
5902
|
+
], X.prototype, "size", 2);
|
|
5903
|
+
dt([
|
|
5898
5904
|
a({ type: String })
|
|
5899
|
-
],
|
|
5900
|
-
|
|
5905
|
+
], X.prototype, "variant", 2);
|
|
5906
|
+
dt([
|
|
5901
5907
|
a({ type: Boolean, converter: m })
|
|
5902
|
-
],
|
|
5903
|
-
|
|
5908
|
+
], X.prototype, "loading", 2);
|
|
5909
|
+
dt([
|
|
5904
5910
|
a({ type: String, attribute: "helper-text" })
|
|
5905
|
-
],
|
|
5906
|
-
|
|
5911
|
+
], X.prototype, "helperText", 2);
|
|
5912
|
+
dt([
|
|
5907
5913
|
a({ type: String, attribute: "forced-error" })
|
|
5908
|
-
],
|
|
5909
|
-
|
|
5914
|
+
], X.prototype, "forcedError", 2);
|
|
5915
|
+
dt([
|
|
5910
5916
|
a({ type: String, attribute: "invalid-error" })
|
|
5911
|
-
],
|
|
5912
|
-
|
|
5917
|
+
], X.prototype, "invalidError", 2);
|
|
5918
|
+
dt([
|
|
5913
5919
|
a({ type: String, attribute: "data-aria-label-remove-button" })
|
|
5914
|
-
],
|
|
5915
|
-
|
|
5920
|
+
], X.prototype, "dataAriaLabelRemoveButton", 2);
|
|
5921
|
+
dt([
|
|
5916
5922
|
a({ type: String, attribute: "data-aria-label-position-button" })
|
|
5917
|
-
],
|
|
5918
|
-
|
|
5923
|
+
], X.prototype, "dataAriaLabelPositionButton", 2);
|
|
5924
|
+
dt([
|
|
5919
5925
|
a({ type: Boolean, converter: m, attribute: "with-position-button" })
|
|
5920
|
-
],
|
|
5921
|
-
|
|
5926
|
+
], X.prototype, "withPositionButton", 2);
|
|
5927
|
+
X = dt([
|
|
5922
5928
|
v("ds-search-input")
|
|
5923
|
-
],
|
|
5929
|
+
], X);
|
|
5924
5930
|
const Bn = u`
|
|
5925
5931
|
:host {
|
|
5926
5932
|
display: block;
|
|
@@ -5971,12 +5977,12 @@ const Bn = u`
|
|
|
5971
5977
|
position: relative;
|
|
5972
5978
|
}
|
|
5973
5979
|
`;
|
|
5974
|
-
var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor,
|
|
5980
|
+
var Rn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, B = (t, e, s, r) => {
|
|
5975
5981
|
for (var i = r > 1 ? void 0 : r ? Un(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5976
5982
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
5977
5983
|
return r && i && Rn(e, s, i), i;
|
|
5978
5984
|
};
|
|
5979
|
-
let
|
|
5985
|
+
let I = class extends ls(g) {
|
|
5980
5986
|
constructor() {
|
|
5981
5987
|
super(...arguments), this.initialValue = "", this.label = "", this.helperText = "", this.errorText = "", this.disabled = !1, this.success = !1, this.mode = "light", this.size = "large", this.name = "", this.placeholder = "", this.type = "text", this.focused = !1, this.handleFocus = () => {
|
|
5982
5988
|
this.focused = !0;
|
|
@@ -6089,7 +6095,7 @@ let z = class extends ls(g) {
|
|
|
6089
6095
|
return this.errorText ? l`<div class="error-text">${this.errorText}</div>` : c;
|
|
6090
6096
|
}
|
|
6091
6097
|
get styleTokens() {
|
|
6092
|
-
return
|
|
6098
|
+
return k`
|
|
6093
6099
|
<style>
|
|
6094
6100
|
:host{
|
|
6095
6101
|
color-scheme: ${this.mode};
|
|
@@ -6116,66 +6122,66 @@ let z = class extends ls(g) {
|
|
|
6116
6122
|
`;
|
|
6117
6123
|
}
|
|
6118
6124
|
};
|
|
6119
|
-
|
|
6120
|
-
|
|
6125
|
+
I.styles = [Bn, Ln, jn, Mn, Fn];
|
|
6126
|
+
B([
|
|
6121
6127
|
a({ type: String, reflect: !0, attribute: "initial-value" })
|
|
6122
|
-
],
|
|
6123
|
-
|
|
6128
|
+
], I.prototype, "initialValue", 2);
|
|
6129
|
+
B([
|
|
6124
6130
|
a({ type: String })
|
|
6125
|
-
],
|
|
6126
|
-
|
|
6131
|
+
], I.prototype, "label", 2);
|
|
6132
|
+
B([
|
|
6127
6133
|
a({ type: String, attribute: "helper-text" })
|
|
6128
|
-
],
|
|
6129
|
-
|
|
6134
|
+
], I.prototype, "helperText", 2);
|
|
6135
|
+
B([
|
|
6130
6136
|
a({ type: String, attribute: "error-text" })
|
|
6131
|
-
],
|
|
6132
|
-
|
|
6137
|
+
], I.prototype, "errorText", 2);
|
|
6138
|
+
B([
|
|
6133
6139
|
a({ type: Boolean, converter: m })
|
|
6134
|
-
],
|
|
6135
|
-
|
|
6140
|
+
], I.prototype, "disabled", 2);
|
|
6141
|
+
B([
|
|
6136
6142
|
a({ type: Boolean, converter: m })
|
|
6137
|
-
],
|
|
6138
|
-
|
|
6143
|
+
], I.prototype, "success", 2);
|
|
6144
|
+
B([
|
|
6139
6145
|
a({ type: String, reflect: !0 })
|
|
6140
|
-
],
|
|
6141
|
-
|
|
6146
|
+
], I.prototype, "mode", 2);
|
|
6147
|
+
B([
|
|
6142
6148
|
a({ type: String })
|
|
6143
|
-
],
|
|
6144
|
-
|
|
6149
|
+
], I.prototype, "size", 2);
|
|
6150
|
+
B([
|
|
6145
6151
|
a({ type: String })
|
|
6146
|
-
],
|
|
6147
|
-
|
|
6152
|
+
], I.prototype, "name", 2);
|
|
6153
|
+
B([
|
|
6148
6154
|
a({ type: String })
|
|
6149
|
-
],
|
|
6150
|
-
|
|
6155
|
+
], I.prototype, "placeholder", 2);
|
|
6156
|
+
B([
|
|
6151
6157
|
a({ type: String, attribute: "max-length" })
|
|
6152
|
-
],
|
|
6153
|
-
|
|
6158
|
+
], I.prototype, "maxLength", 2);
|
|
6159
|
+
B([
|
|
6154
6160
|
a({ type: String })
|
|
6155
|
-
],
|
|
6156
|
-
|
|
6161
|
+
], I.prototype, "type", 2);
|
|
6162
|
+
B([
|
|
6157
6163
|
y()
|
|
6158
|
-
],
|
|
6159
|
-
|
|
6164
|
+
], I.prototype, "_value", 2);
|
|
6165
|
+
B([
|
|
6160
6166
|
y()
|
|
6161
|
-
],
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
],
|
|
6165
|
-
|
|
6167
|
+
], I.prototype, "focused", 2);
|
|
6168
|
+
B([
|
|
6169
|
+
ht(".input-field")
|
|
6170
|
+
], I.prototype, "inputField", 2);
|
|
6171
|
+
I = B([
|
|
6166
6172
|
v("ds-search")
|
|
6167
|
-
],
|
|
6173
|
+
], I);
|
|
6168
6174
|
const Vn = u`
|
|
6169
6175
|
:host {
|
|
6170
6176
|
display: contents;
|
|
6171
6177
|
}
|
|
6172
6178
|
`;
|
|
6173
|
-
var Hn = Object.defineProperty, Wn = Object.getOwnPropertyDescriptor,
|
|
6179
|
+
var Hn = Object.defineProperty, Wn = Object.getOwnPropertyDescriptor, ut = (t, e, s, r) => {
|
|
6174
6180
|
for (var i = r > 1 ? void 0 : r ? Wn(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
6175
6181
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
6176
6182
|
return r && i && Hn(e, s, i), i;
|
|
6177
6183
|
};
|
|
6178
|
-
let
|
|
6184
|
+
let J = class extends Dt(g) {
|
|
6179
6185
|
constructor() {
|
|
6180
6186
|
super(...arguments), this.dropdownButtonText = "Menu", this.openItems = !1, this.openCtas = !1, this.hasScrollLeft = !1, this.hasScrollRight = !1, this.resizeObserver = new ResizeObserver(() => {
|
|
6181
6187
|
this.handleScroll();
|
|
@@ -6357,37 +6363,37 @@ let X = class extends Dt(g) {
|
|
|
6357
6363
|
return !this.openItems && !this.openCtas ? c : l`<div class="dropdown-backdrop" @click=${this.closeDropdowns}></div>`;
|
|
6358
6364
|
}
|
|
6359
6365
|
};
|
|
6360
|
-
|
|
6361
|
-
|
|
6366
|
+
J.styles = [Vn];
|
|
6367
|
+
ut([
|
|
6362
6368
|
a({ type: String, attribute: "dropdown-button-text" })
|
|
6363
|
-
],
|
|
6364
|
-
|
|
6369
|
+
], J.prototype, "dropdownButtonText", 2);
|
|
6370
|
+
ut([
|
|
6365
6371
|
a({ type: Number, attribute: "selected-index" })
|
|
6366
|
-
],
|
|
6367
|
-
|
|
6372
|
+
], J.prototype, "selectedIndex", 2);
|
|
6373
|
+
ut([
|
|
6368
6374
|
y()
|
|
6369
|
-
],
|
|
6370
|
-
|
|
6375
|
+
], J.prototype, "openItems", 2);
|
|
6376
|
+
ut([
|
|
6371
6377
|
y()
|
|
6372
|
-
],
|
|
6373
|
-
|
|
6378
|
+
], J.prototype, "openCtas", 2);
|
|
6379
|
+
ut([
|
|
6374
6380
|
y()
|
|
6375
|
-
],
|
|
6376
|
-
|
|
6381
|
+
], J.prototype, "hasScrollLeft", 2);
|
|
6382
|
+
ut([
|
|
6377
6383
|
y()
|
|
6378
|
-
],
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
],
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
],
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
],
|
|
6388
|
-
|
|
6384
|
+
], J.prototype, "hasScrollRight", 2);
|
|
6385
|
+
ut([
|
|
6386
|
+
st({ slot: "items" })
|
|
6387
|
+
], J.prototype, "items", 2);
|
|
6388
|
+
ut([
|
|
6389
|
+
st({ slot: "actions" })
|
|
6390
|
+
], J.prototype, "ctas", 2);
|
|
6391
|
+
ut([
|
|
6392
|
+
ht(".items-container")
|
|
6393
|
+
], J.prototype, "itemsContainer", 2);
|
|
6394
|
+
J = ut([
|
|
6389
6395
|
v("ds-secondary-navigation")
|
|
6390
|
-
],
|
|
6396
|
+
], J);
|
|
6391
6397
|
const qn = u`
|
|
6392
6398
|
:host {
|
|
6393
6399
|
display: flex;
|
|
@@ -6490,7 +6496,7 @@ ms([
|
|
|
6490
6496
|
})
|
|
6491
6497
|
], me.prototype, "fullWidth", 2);
|
|
6492
6498
|
ms([
|
|
6493
|
-
|
|
6499
|
+
st({ slot: "", flatten: !0 })
|
|
6494
6500
|
], me.prototype, "slottedElements", 2);
|
|
6495
6501
|
me = ms([
|
|
6496
6502
|
v("ds-segmented-control")
|
|
@@ -6547,12 +6553,12 @@ const Yn = u`
|
|
|
6547
6553
|
pointer-events: none;
|
|
6548
6554
|
}
|
|
6549
6555
|
`;
|
|
6550
|
-
var Xn = Object.defineProperty, Jn = Object.getOwnPropertyDescriptor,
|
|
6556
|
+
var Xn = Object.defineProperty, Jn = Object.getOwnPropertyDescriptor, U = (t, e, s, r) => {
|
|
6551
6557
|
for (var i = r > 1 ? void 0 : r ? Jn(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
6552
6558
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
6553
6559
|
return r && i && Xn(e, s, i), i;
|
|
6554
6560
|
};
|
|
6555
|
-
let
|
|
6561
|
+
let P = class extends g {
|
|
6556
6562
|
constructor() {
|
|
6557
6563
|
super(...arguments), this.mode = "light", this.size = "medium", this.variant = "primary", this._open = !1, this.nativeSelect = null, this.nativeLabel = null, this.nativeOptions = [], this.activeIndex = -1, this.hasForcedError = !1, this.handleMutations = (t) => {
|
|
6558
6564
|
t.forEach((e) => {
|
|
@@ -6729,7 +6735,7 @@ let O = class extends g {
|
|
|
6729
6735
|
`;
|
|
6730
6736
|
}
|
|
6731
6737
|
get activeDescendantId() {
|
|
6732
|
-
return this._open && this.activeIndex >= 0 ? `${
|
|
6738
|
+
return this._open && this.activeIndex >= 0 ? `${P.ARIA_OPTION_PREFIX}${this.nativeOptions[this.activeIndex].value}` : "";
|
|
6733
6739
|
}
|
|
6734
6740
|
get optionsContainerTemplate() {
|
|
6735
6741
|
return l`
|
|
@@ -6744,7 +6750,7 @@ let O = class extends g {
|
|
|
6744
6750
|
const s = Array.from(t.childNodes).map((r) => r.cloneNode(!0));
|
|
6745
6751
|
return l`
|
|
6746
6752
|
<div
|
|
6747
|
-
id="${
|
|
6753
|
+
id="${P.ARIA_OPTION_PREFIX}${t.value}"
|
|
6748
6754
|
class=${p({
|
|
6749
6755
|
option: !0,
|
|
6750
6756
|
active: e === this.activeIndex,
|
|
@@ -6762,50 +6768,50 @@ let O = class extends g {
|
|
|
6762
6768
|
`;
|
|
6763
6769
|
}
|
|
6764
6770
|
};
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6771
|
+
P.styles = [Yn];
|
|
6772
|
+
P.ARIA_OPTION_PREFIX = "option-";
|
|
6773
|
+
U([
|
|
6768
6774
|
a({ type: String })
|
|
6769
|
-
],
|
|
6770
|
-
|
|
6775
|
+
], P.prototype, "mode", 2);
|
|
6776
|
+
U([
|
|
6771
6777
|
a({ type: String })
|
|
6772
|
-
],
|
|
6773
|
-
|
|
6778
|
+
], P.prototype, "size", 2);
|
|
6779
|
+
U([
|
|
6774
6780
|
a({ type: String })
|
|
6775
|
-
],
|
|
6776
|
-
|
|
6781
|
+
], P.prototype, "variant", 2);
|
|
6782
|
+
U([
|
|
6777
6783
|
y()
|
|
6778
|
-
],
|
|
6779
|
-
|
|
6784
|
+
], P.prototype, "_open", 2);
|
|
6785
|
+
U([
|
|
6780
6786
|
y()
|
|
6781
|
-
],
|
|
6782
|
-
|
|
6787
|
+
], P.prototype, "nativeSelect", 2);
|
|
6788
|
+
U([
|
|
6783
6789
|
y()
|
|
6784
|
-
],
|
|
6785
|
-
|
|
6790
|
+
], P.prototype, "nativeLabel", 2);
|
|
6791
|
+
U([
|
|
6786
6792
|
y()
|
|
6787
|
-
],
|
|
6788
|
-
|
|
6793
|
+
], P.prototype, "nativeOptions", 2);
|
|
6794
|
+
U([
|
|
6789
6795
|
y()
|
|
6790
|
-
],
|
|
6791
|
-
|
|
6796
|
+
], P.prototype, "activeIndex", 2);
|
|
6797
|
+
U([
|
|
6792
6798
|
y()
|
|
6793
|
-
],
|
|
6794
|
-
|
|
6795
|
-
|
|
6796
|
-
],
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
],
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
],
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
],
|
|
6806
|
-
|
|
6799
|
+
], P.prototype, "hasForcedError", 2);
|
|
6800
|
+
U([
|
|
6801
|
+
st({ slot: "", selector: "select", flatten: !0 })
|
|
6802
|
+
], P.prototype, "nativeSelects", 2);
|
|
6803
|
+
U([
|
|
6804
|
+
st({ slot: "", selector: "label", flatten: !0 })
|
|
6805
|
+
], P.prototype, "nativeLabels", 2);
|
|
6806
|
+
U([
|
|
6807
|
+
st({ slot: "forced-error", flatten: !0 })
|
|
6808
|
+
], P.prototype, "forcedError", 2);
|
|
6809
|
+
U([
|
|
6810
|
+
ht(".select")
|
|
6811
|
+
], P.prototype, "displaySelect", 2);
|
|
6812
|
+
P = U([
|
|
6807
6813
|
v("ds-select")
|
|
6808
|
-
],
|
|
6814
|
+
], P);
|
|
6809
6815
|
const Zn = u`
|
|
6810
6816
|
:host {
|
|
6811
6817
|
display: inline-block;
|
|
@@ -7159,7 +7165,7 @@ let w = class extends Dt(g) {
|
|
|
7159
7165
|
formattedValue: i,
|
|
7160
7166
|
unitSymbol: o,
|
|
7161
7167
|
unitSymbolPosition: n
|
|
7162
|
-
} = this.formatNumber(r), h = this.unitSymbolPosition ?? n, d = this.unitSymbol ?? o, f = d ? h === "left" ? `${d} ${i}` : `${i} ${d}` : `${i}`, x = s ? "number" : "text", b = s ? String(r ?? "") : f, $ = t === 1 ? this.inputMinAriaLabel : this.inputMaxAriaLabel, T = typeof this.initialValueMax == "number" ? t === 1 ? "Start value" : "End value" : "Value",
|
|
7168
|
+
} = this.formatNumber(r), h = this.unitSymbolPosition ?? n, d = this.unitSymbol ?? o, f = d ? h === "left" ? `${d} ${i}` : `${i} ${d}` : `${i}`, x = s ? "number" : "text", b = s ? String(r ?? "") : f, $ = t === 1 ? this.inputMinAriaLabel : this.inputMaxAriaLabel, T = typeof this.initialValueMax == "number" ? t === 1 ? "Start value" : "End value" : "Value", Y = $ ?? T;
|
|
7163
7169
|
return l`
|
|
7164
7170
|
<div class="input-wrapper">
|
|
7165
7171
|
<input
|
|
@@ -7170,12 +7176,12 @@ let w = class extends Dt(g) {
|
|
|
7170
7176
|
?disabled=${this.disabled}
|
|
7171
7177
|
tabindex=${this.disabled ? -1 : 0}
|
|
7172
7178
|
aria-disabled=${String(!!this.disabled)}
|
|
7173
|
-
aria-label=${
|
|
7179
|
+
aria-label=${Y}
|
|
7174
7180
|
?readonly=${this.disabled}
|
|
7175
|
-
@focus=${(
|
|
7181
|
+
@focus=${(V) => this.onInputFocus(V, t)}
|
|
7176
7182
|
@blur=${this.onInputBlur}
|
|
7177
|
-
@change=${(
|
|
7178
|
-
@keydown=${(
|
|
7183
|
+
@change=${(V) => this.commitInputValue(V, t)}
|
|
7184
|
+
@keydown=${(V) => this.onInputKeyDown(V, t)}
|
|
7179
7185
|
title=${b}
|
|
7180
7186
|
/>
|
|
7181
7187
|
</div>
|
|
@@ -7200,7 +7206,7 @@ let w = class extends Dt(g) {
|
|
|
7200
7206
|
};
|
|
7201
7207
|
}
|
|
7202
7208
|
get styleTokens() {
|
|
7203
|
-
return
|
|
7209
|
+
return k`
|
|
7204
7210
|
<style>
|
|
7205
7211
|
:host{
|
|
7206
7212
|
color-scheme: ${this.mode};
|
|
@@ -7303,7 +7309,7 @@ _([
|
|
|
7303
7309
|
a({ type: String, attribute: "input-max-aria-label" })
|
|
7304
7310
|
], w.prototype, "inputMaxAriaLabel", 2);
|
|
7305
7311
|
_([
|
|
7306
|
-
|
|
7312
|
+
ht(".track")
|
|
7307
7313
|
], w.prototype, "track", 2);
|
|
7308
7314
|
_([
|
|
7309
7315
|
y()
|
|
@@ -7423,12 +7429,12 @@ const ca = u`
|
|
|
7423
7429
|
"icon-button-variant": "primary"
|
|
7424
7430
|
}
|
|
7425
7431
|
};
|
|
7426
|
-
var ma = Object.defineProperty, fa = Object.getOwnPropertyDescriptor,
|
|
7432
|
+
var ma = Object.defineProperty, fa = Object.getOwnPropertyDescriptor, Z = (t, e, s, r) => {
|
|
7427
7433
|
for (var i = r > 1 ? void 0 : r ? fa(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7428
7434
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
7429
7435
|
return r && i && ma(e, s, i), i;
|
|
7430
7436
|
};
|
|
7431
|
-
let
|
|
7437
|
+
let j = class extends g {
|
|
7432
7438
|
constructor() {
|
|
7433
7439
|
super(...arguments), this.selectedTab = 0, this.mode = "light", this.variant = "primary", this.size = "large", this.disabled = !1, this.focusedTabIndex = -1, this.handleKeyDown = (t) => {
|
|
7434
7440
|
var e, s, r, i;
|
|
@@ -7574,43 +7580,43 @@ let M = class extends g {
|
|
|
7574
7580
|
`;
|
|
7575
7581
|
}
|
|
7576
7582
|
};
|
|
7577
|
-
|
|
7578
|
-
|
|
7583
|
+
j.styles = [ca, ha, da, ua];
|
|
7584
|
+
Z([
|
|
7579
7585
|
a({ type: Number, attribute: "selected-tab", reflect: !0 })
|
|
7580
|
-
],
|
|
7581
|
-
|
|
7586
|
+
], j.prototype, "selectedTab", 2);
|
|
7587
|
+
Z([
|
|
7582
7588
|
a({ type: String, reflect: !0 })
|
|
7583
|
-
],
|
|
7584
|
-
|
|
7589
|
+
], j.prototype, "mode", 2);
|
|
7590
|
+
Z([
|
|
7585
7591
|
a({ type: String, reflect: !0 })
|
|
7586
|
-
],
|
|
7587
|
-
|
|
7592
|
+
], j.prototype, "variant", 2);
|
|
7593
|
+
Z([
|
|
7588
7594
|
a({ type: String })
|
|
7589
|
-
],
|
|
7590
|
-
|
|
7595
|
+
], j.prototype, "size", 2);
|
|
7596
|
+
Z([
|
|
7591
7597
|
a({ type: Boolean, converter: m })
|
|
7592
|
-
],
|
|
7593
|
-
|
|
7598
|
+
], j.prototype, "disabled", 2);
|
|
7599
|
+
Z([
|
|
7594
7600
|
y()
|
|
7595
|
-
],
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
],
|
|
7599
|
-
|
|
7601
|
+
], j.prototype, "focusedTabIndex", 2);
|
|
7602
|
+
Z([
|
|
7603
|
+
ht("nav")
|
|
7604
|
+
], j.prototype, "nav", 2);
|
|
7605
|
+
Z([
|
|
7600
7606
|
y()
|
|
7601
|
-
],
|
|
7602
|
-
|
|
7607
|
+
], j.prototype, "tabs", 2);
|
|
7608
|
+
Z([
|
|
7603
7609
|
y()
|
|
7604
|
-
],
|
|
7605
|
-
|
|
7610
|
+
], j.prototype, "panels", 2);
|
|
7611
|
+
Z([
|
|
7606
7612
|
y()
|
|
7607
|
-
],
|
|
7608
|
-
|
|
7613
|
+
], j.prototype, "hasScrollLeft", 2);
|
|
7614
|
+
Z([
|
|
7609
7615
|
y()
|
|
7610
|
-
],
|
|
7611
|
-
|
|
7616
|
+
], j.prototype, "hasScrollRight", 2);
|
|
7617
|
+
j = Z([
|
|
7612
7618
|
v("ds-tabs")
|
|
7613
|
-
],
|
|
7619
|
+
], j);
|
|
7614
7620
|
const ba = Jt`
|
|
7615
7621
|
:host {
|
|
7616
7622
|
display: inline-block;
|
|
@@ -7631,7 +7637,7 @@ var ya = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, Qt = (t, e
|
|
|
7631
7637
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
7632
7638
|
return r && i && ya(e, s, i), i;
|
|
7633
7639
|
};
|
|
7634
|
-
let
|
|
7640
|
+
let xt = class extends g {
|
|
7635
7641
|
constructor() {
|
|
7636
7642
|
super(...arguments), this.show = !0, this.clickableIcon = !1, this.iconPosition = "left", this.color = "black";
|
|
7637
7643
|
}
|
|
@@ -7666,39 +7672,39 @@ let $t = class extends g {
|
|
|
7666
7672
|
render() {
|
|
7667
7673
|
return this.show ? l`
|
|
7668
7674
|
<div class=${p(this.classes)}>
|
|
7669
|
-
${
|
|
7675
|
+
${at(this.iconPosition === "left", () => l`${this.iconTemplate}`)}
|
|
7670
7676
|
<slot></slot>
|
|
7671
|
-
${
|
|
7677
|
+
${at(this.iconPosition === "right", () => l`${this.iconTemplate}`)}
|
|
7672
7678
|
</div>
|
|
7673
7679
|
` : c;
|
|
7674
7680
|
}
|
|
7675
7681
|
};
|
|
7676
|
-
|
|
7682
|
+
xt.styles = [ba, va];
|
|
7677
7683
|
Qt([
|
|
7678
7684
|
a({ type: Boolean, converter: m })
|
|
7679
|
-
],
|
|
7685
|
+
], xt.prototype, "show", 2);
|
|
7680
7686
|
Qt([
|
|
7681
7687
|
a({
|
|
7682
7688
|
type: Boolean,
|
|
7683
7689
|
converter: m,
|
|
7684
7690
|
attribute: "clickable-icon"
|
|
7685
7691
|
})
|
|
7686
|
-
],
|
|
7692
|
+
], xt.prototype, "clickableIcon", 2);
|
|
7687
7693
|
Qt([
|
|
7688
7694
|
a({ type: String, attribute: "icon-name" })
|
|
7689
|
-
],
|
|
7695
|
+
], xt.prototype, "iconName", 2);
|
|
7690
7696
|
Qt([
|
|
7691
7697
|
a({ type: String, attribute: "icon-position" })
|
|
7692
|
-
],
|
|
7698
|
+
], xt.prototype, "iconPosition", 2);
|
|
7693
7699
|
Qt([
|
|
7694
7700
|
a({ type: String, attribute: "color" })
|
|
7695
|
-
],
|
|
7701
|
+
], xt.prototype, "color", 2);
|
|
7696
7702
|
Qt([
|
|
7697
7703
|
y()
|
|
7698
|
-
],
|
|
7699
|
-
|
|
7704
|
+
], xt.prototype, "onClickHandler", 2);
|
|
7705
|
+
xt = Qt([
|
|
7700
7706
|
v("ds-tag")
|
|
7701
|
-
],
|
|
7707
|
+
], xt);
|
|
7702
7708
|
const $a = u`
|
|
7703
7709
|
:host {
|
|
7704
7710
|
display: contents;
|
|
@@ -7721,12 +7727,12 @@ const $a = u`
|
|
|
7721
7727
|
text-transform: uppercase;
|
|
7722
7728
|
}
|
|
7723
7729
|
`;
|
|
7724
|
-
var xa = Object.defineProperty, wa = Object.getOwnPropertyDescriptor,
|
|
7730
|
+
var xa = Object.defineProperty, wa = Object.getOwnPropertyDescriptor, Tt = (t, e, s, r) => {
|
|
7725
7731
|
for (var i = r > 1 ? void 0 : r ? wa(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7726
7732
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
7727
7733
|
return r && i && xa(e, s, i), i;
|
|
7728
7734
|
};
|
|
7729
|
-
let
|
|
7735
|
+
let et = class extends g {
|
|
7730
7736
|
constructor() {
|
|
7731
7737
|
super(...arguments), this.size = "medium", this.weight = "regular", this.variant = "body", this.mode = "light";
|
|
7732
7738
|
}
|
|
@@ -7744,7 +7750,7 @@ let tt = class extends g {
|
|
|
7744
7750
|
return !this.htmlTagName || !this.value ? c : l`${os(`<${this.htmlTagName} class="text">${this.value}</${this.htmlTagName}>`)}`;
|
|
7745
7751
|
}
|
|
7746
7752
|
get styles() {
|
|
7747
|
-
return
|
|
7753
|
+
return k`
|
|
7748
7754
|
<style>
|
|
7749
7755
|
.container {
|
|
7750
7756
|
color: ${this.color || "var(--ds-text-color)"}
|
|
@@ -7762,34 +7768,34 @@ let tt = class extends g {
|
|
|
7762
7768
|
`;
|
|
7763
7769
|
}
|
|
7764
7770
|
};
|
|
7765
|
-
|
|
7766
|
-
|
|
7771
|
+
et.styles = [$a];
|
|
7772
|
+
Tt([
|
|
7767
7773
|
a({ type: String })
|
|
7768
|
-
],
|
|
7769
|
-
|
|
7774
|
+
], et.prototype, "size", 2);
|
|
7775
|
+
Tt([
|
|
7770
7776
|
a({ type: String })
|
|
7771
|
-
],
|
|
7772
|
-
|
|
7777
|
+
], et.prototype, "weight", 2);
|
|
7778
|
+
Tt([
|
|
7773
7779
|
a({ type: String })
|
|
7774
|
-
],
|
|
7775
|
-
|
|
7780
|
+
], et.prototype, "variant", 2);
|
|
7781
|
+
Tt([
|
|
7776
7782
|
a({ type: String, attribute: "html-tag-name" })
|
|
7777
|
-
],
|
|
7778
|
-
|
|
7783
|
+
], et.prototype, "htmlTagName", 2);
|
|
7784
|
+
Tt([
|
|
7779
7785
|
a({ type: String })
|
|
7780
|
-
],
|
|
7781
|
-
|
|
7786
|
+
], et.prototype, "value", 2);
|
|
7787
|
+
Tt([
|
|
7782
7788
|
a({ type: String, reflect: !0 })
|
|
7783
|
-
],
|
|
7784
|
-
|
|
7789
|
+
], et.prototype, "mode", 2);
|
|
7790
|
+
Tt([
|
|
7785
7791
|
a({ type: String, reflect: !0 })
|
|
7786
|
-
],
|
|
7787
|
-
|
|
7792
|
+
], et.prototype, "color", 2);
|
|
7793
|
+
Tt([
|
|
7788
7794
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
7789
|
-
],
|
|
7790
|
-
|
|
7795
|
+
], et.prototype, "uppercase", 2);
|
|
7796
|
+
et = Tt([
|
|
7791
7797
|
v("ds-text")
|
|
7792
|
-
],
|
|
7798
|
+
], et);
|
|
7793
7799
|
const Sa = u`
|
|
7794
7800
|
:host {
|
|
7795
7801
|
display: contents;
|
|
@@ -7899,7 +7905,7 @@ var ka = Object.defineProperty, Ea = Object.getOwnPropertyDescriptor, _e = (t, e
|
|
|
7899
7905
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
7900
7906
|
return r && i && ka(e, s, i), i;
|
|
7901
7907
|
};
|
|
7902
|
-
let Wt = class extends
|
|
7908
|
+
let Wt = class extends pt {
|
|
7903
7909
|
constructor() {
|
|
7904
7910
|
super(...arguments), this.loadFonts = !0, this.loadStyles = !0, this.cssLoaded = !1, this.loadedFonts = /* @__PURE__ */ new Set();
|
|
7905
7911
|
}
|
|
@@ -7938,7 +7944,7 @@ let Wt = class extends ut {
|
|
|
7938
7944
|
}
|
|
7939
7945
|
loadThemeStyles() {
|
|
7940
7946
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7941
|
-
const s = "/1.0.0-canary.
|
|
7947
|
+
const s = "/1.0.0-canary.6", r = `https://ds-assets.cupra.com${s}/styles/${this.theme}/theme.css`;
|
|
7942
7948
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7943
7949
|
else {
|
|
7944
7950
|
const i = `ui-kit-theme-${s}`, o = document.getElementById(i), n = document.createElement("link");
|
|
@@ -8035,8 +8041,8 @@ let It = class extends g {
|
|
|
8035
8041
|
${this.iconTemplate}
|
|
8036
8042
|
<div class="content">
|
|
8037
8043
|
<div class="header">
|
|
8038
|
-
${
|
|
8039
|
-
${
|
|
8044
|
+
${at(this.title, () => l`<div class="title">${this.title}</div>`)}
|
|
8045
|
+
${at(this.text, () => l`<div class="message">${this.text}</div>`)}
|
|
8040
8046
|
</div>
|
|
8041
8047
|
<slot></slot>
|
|
8042
8048
|
</div>
|
|
@@ -8173,23 +8179,23 @@ const ui = (t, e, s) => {
|
|
|
8173
8179
|
else if (h[b] === n[T]) d[T] = Lt(i[b], o[T]), Oe(t, d[T + 1], i[b]), b++, T--;
|
|
8174
8180
|
else if (h[$] === n[S]) d[S] = Lt(i[$], o[S]), Oe(t, i[b], i[$]), $--, S++;
|
|
8175
8181
|
else if (f === void 0 && (f = ui(n, S, T), x = ui(h, b, $)), f.has(h[b])) if (f.has(h[$])) {
|
|
8176
|
-
const
|
|
8177
|
-
if (
|
|
8178
|
-
const
|
|
8179
|
-
Lt(
|
|
8180
|
-
} else d[S] = Lt(
|
|
8182
|
+
const Y = x.get(n[S]), V = Y !== void 0 ? i[Y] : null;
|
|
8183
|
+
if (V === null) {
|
|
8184
|
+
const Ct = Oe(t, i[b]);
|
|
8185
|
+
Lt(Ct, o[S]), d[S] = Ct;
|
|
8186
|
+
} else d[S] = Lt(V, o[S]), Oe(t, i[b], V), i[Y] = null;
|
|
8181
8187
|
S++;
|
|
8182
8188
|
} else Ss(i[$]), $--;
|
|
8183
8189
|
else Ss(i[b]), b++;
|
|
8184
8190
|
for (; S <= T; ) {
|
|
8185
|
-
const
|
|
8186
|
-
Lt(
|
|
8191
|
+
const Y = Oe(t, d[T + 1]);
|
|
8192
|
+
Lt(Y, o[S]), d[S++] = Y;
|
|
8187
8193
|
}
|
|
8188
8194
|
for (; b <= $; ) {
|
|
8189
|
-
const
|
|
8190
|
-
|
|
8195
|
+
const Y = i[b++];
|
|
8196
|
+
Y !== null && Ss(Y);
|
|
8191
8197
|
}
|
|
8192
|
-
return this.ut = n, Ba(t, d),
|
|
8198
|
+
return this.ut = n, Ba(t, d), mt;
|
|
8193
8199
|
}
|
|
8194
8200
|
}), ja = u`
|
|
8195
8201
|
:host {
|
|
@@ -8380,7 +8386,7 @@ var Va = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, Ke = (t, e
|
|
|
8380
8386
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
8381
8387
|
return r && i && Va(e, s, i), i;
|
|
8382
8388
|
};
|
|
8383
|
-
let fe = class extends
|
|
8389
|
+
let fe = class extends O {
|
|
8384
8390
|
constructor() {
|
|
8385
8391
|
super(...arguments), this.checked = !1, this.checkedText = "", this.uncheckedText = "", this.rounded = !0;
|
|
8386
8392
|
}
|
|
@@ -8414,9 +8420,9 @@ let fe = class extends E {
|
|
|
8414
8420
|
type=${this.type}
|
|
8415
8421
|
@click=${this.handleClick}
|
|
8416
8422
|
>
|
|
8417
|
-
${
|
|
8423
|
+
${at(this.iconPosition === "left", () => l`${this.iconTemplate}`)}
|
|
8418
8424
|
${this.checked ? this.checkedText : this.uncheckedText}
|
|
8419
|
-
${
|
|
8425
|
+
${at(this.iconPosition === "right", () => l`${this.iconTemplate}`)}
|
|
8420
8426
|
</button>
|
|
8421
8427
|
`;
|
|
8422
8428
|
}
|
|
@@ -8503,7 +8509,7 @@ let At = class extends g {
|
|
|
8503
8509
|
this.checked || this.handleClick();
|
|
8504
8510
|
}
|
|
8505
8511
|
get styleTokens() {
|
|
8506
|
-
return
|
|
8512
|
+
return k`
|
|
8507
8513
|
<style>
|
|
8508
8514
|
:host {
|
|
8509
8515
|
color-scheme: ${this.mode};
|
|
@@ -8717,12 +8723,12 @@ const Ga = u`
|
|
|
8717
8723
|
transform: none;
|
|
8718
8724
|
}
|
|
8719
8725
|
`;
|
|
8720
|
-
var Ja = Object.defineProperty, Za = Object.getOwnPropertyDescriptor,
|
|
8726
|
+
var Ja = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, G = (t, e, s, r) => {
|
|
8721
8727
|
for (var i = r > 1 ? void 0 : r ? Za(e, s) : e, o = t.length - 1, n; o >= 0; o--)
|
|
8722
8728
|
(n = t[o]) && (i = (r ? n(e, s, i) : n(i)) || i);
|
|
8723
8729
|
return r && i && Ja(e, s, i), i;
|
|
8724
8730
|
};
|
|
8725
|
-
let
|
|
8731
|
+
let L = class extends Dt(g) {
|
|
8726
8732
|
constructor() {
|
|
8727
8733
|
super(...arguments), this.mode = "light", this.titleText = "", this.bodyText = "", this.position = "bottom", this.align = "center", this.show = !1, this.zIndex = 2e3, this.bodyWidth = "unset", this.handleResize = Es({ func: () => this.requestUpdate() }), this.handleClickOutside = (t) => {
|
|
8728
8734
|
var s;
|
|
@@ -8798,7 +8804,7 @@ let B = class extends Dt(g) {
|
|
|
8798
8804
|
return this.position === "left" ? o = r - 13 : this.position === "right" ? o = i - 13 : this.align === "center" ? o = (r < i ? r : i) * 2 + this.clientWidth : this.align === "start" ? o = document.body.clientWidth - r : this.align === "end" && (o = r + this.clientWidth), `${o - 16 - 32}px`;
|
|
8799
8805
|
}
|
|
8800
8806
|
get styleTokens() {
|
|
8801
|
-
return
|
|
8807
|
+
return k`
|
|
8802
8808
|
<style>
|
|
8803
8809
|
:host {
|
|
8804
8810
|
color-scheme: ${this.mode};
|
|
@@ -8859,46 +8865,46 @@ let B = class extends Dt(g) {
|
|
|
8859
8865
|
);
|
|
8860
8866
|
}
|
|
8861
8867
|
};
|
|
8862
|
-
|
|
8863
|
-
|
|
8868
|
+
L.styles = [Ga, Ya, Xa];
|
|
8869
|
+
G([
|
|
8864
8870
|
a({ type: String, reflect: !0 })
|
|
8865
|
-
],
|
|
8866
|
-
|
|
8871
|
+
], L.prototype, "mode", 2);
|
|
8872
|
+
G([
|
|
8867
8873
|
a({ type: String, attribute: "title-text" })
|
|
8868
|
-
],
|
|
8869
|
-
|
|
8874
|
+
], L.prototype, "titleText", 2);
|
|
8875
|
+
G([
|
|
8870
8876
|
a({ type: String, attribute: "body-text" })
|
|
8871
|
-
],
|
|
8872
|
-
|
|
8877
|
+
], L.prototype, "bodyText", 2);
|
|
8878
|
+
G([
|
|
8873
8879
|
a({ type: String })
|
|
8874
|
-
],
|
|
8875
|
-
|
|
8880
|
+
], L.prototype, "position", 2);
|
|
8881
|
+
G([
|
|
8876
8882
|
a({ type: String })
|
|
8877
|
-
],
|
|
8878
|
-
|
|
8883
|
+
], L.prototype, "align", 2);
|
|
8884
|
+
G([
|
|
8879
8885
|
a({ type: String, attribute: "cancel-button-text" })
|
|
8880
|
-
],
|
|
8881
|
-
|
|
8886
|
+
], L.prototype, "cancelButtonText", 2);
|
|
8887
|
+
G([
|
|
8882
8888
|
a({ type: String, attribute: "confirm-button-text" })
|
|
8883
|
-
],
|
|
8884
|
-
|
|
8889
|
+
], L.prototype, "confirmButtonText", 2);
|
|
8890
|
+
G([
|
|
8885
8891
|
a({ type: Boolean, reflect: !0, converter: m })
|
|
8886
|
-
],
|
|
8887
|
-
|
|
8892
|
+
], L.prototype, "show", 2);
|
|
8893
|
+
G([
|
|
8888
8894
|
a({ type: Number, attribute: "z-index" })
|
|
8889
|
-
],
|
|
8890
|
-
|
|
8895
|
+
], L.prototype, "zIndex", 2);
|
|
8896
|
+
G([
|
|
8891
8897
|
a({ type: String, attribute: "body-width" })
|
|
8892
|
-
],
|
|
8893
|
-
|
|
8894
|
-
|
|
8895
|
-
],
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
],
|
|
8899
|
-
|
|
8898
|
+
], L.prototype, "bodyWidth", 2);
|
|
8899
|
+
G([
|
|
8900
|
+
ht(".tooltip")
|
|
8901
|
+
], L.prototype, "tooltip", 2);
|
|
8902
|
+
G([
|
|
8903
|
+
ht(".arrow")
|
|
8904
|
+
], L.prototype, "arrow", 2);
|
|
8905
|
+
L = G([
|
|
8900
8906
|
v("ds-tooltip")
|
|
8901
|
-
],
|
|
8907
|
+
], L);
|
|
8902
8908
|
const Qa = u`
|
|
8903
8909
|
:host {
|
|
8904
8910
|
display: contents;
|
|
@@ -8945,7 +8951,7 @@ let qt = class extends g {
|
|
|
8945
8951
|
this.requestUpdate();
|
|
8946
8952
|
}
|
|
8947
8953
|
get styleTokens() {
|
|
8948
|
-
return
|
|
8954
|
+
return k`
|
|
8949
8955
|
<style>
|
|
8950
8956
|
:host{
|
|
8951
8957
|
pointer-events: ${this.disabled ? "none" : "auto"};
|
|
@@ -8961,9 +8967,9 @@ let qt = class extends g {
|
|
|
8961
8967
|
${this.styleTokens}
|
|
8962
8968
|
<div
|
|
8963
8969
|
class=${p(this.classes)}
|
|
8964
|
-
title=${
|
|
8970
|
+
title=${C(this.name)}
|
|
8965
8971
|
aria-label=${`Open ${this.name ? this.name + "'s " : ""}profile menu`}
|
|
8966
|
-
aria-disabled=${
|
|
8972
|
+
aria-disabled=${C(this.disabled ? "true" : void 0)}
|
|
8967
8973
|
role="button"
|
|
8968
8974
|
tabindex=${this.disabled ? -1 : 0}
|
|
8969
8975
|
@keydown=${this.handleKeyDown}
|
|
@@ -8986,7 +8992,7 @@ Ge([
|
|
|
8986
8992
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
8987
8993
|
], qt.prototype, "disabled", 2);
|
|
8988
8994
|
Ge([
|
|
8989
|
-
|
|
8995
|
+
st({ slot: "media", selector: "img" })
|
|
8990
8996
|
], qt.prototype, "assignedImages", 2);
|
|
8991
8997
|
qt = Ge([
|
|
8992
8998
|
v("ds-avatar")
|
|
@@ -9065,7 +9071,7 @@ let be = class extends Dt(g) {
|
|
|
9065
9071
|
}
|
|
9066
9072
|
get styleTokens() {
|
|
9067
9073
|
var t, e;
|
|
9068
|
-
return
|
|
9074
|
+
return k`
|
|
9069
9075
|
<style>
|
|
9070
9076
|
.header {
|
|
9071
9077
|
display: ${((t = this.headerItems) == null ? void 0 : t.length) > 0 ? "block" : "none"};
|
|
@@ -9295,7 +9301,7 @@ Gs([
|
|
|
9295
9301
|
y()
|
|
9296
9302
|
], Re.prototype, "open", 2);
|
|
9297
9303
|
Gs([
|
|
9298
|
-
|
|
9304
|
+
st({ slot: "main-cta", selector: "ds-button", flatten: !0 })
|
|
9299
9305
|
], Re.prototype, "mainCtas", 2);
|
|
9300
9306
|
Re = Gs([
|
|
9301
9307
|
v("ds-sidebar-navigation")
|