@cupra/ui-react 0.1.0-canary.0 → 1.0.0-canary.2
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/README.md +112 -141
- package/THIRD-PARTY-LICENSES.MD +81 -0
- package/dist/components/Accordion/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/Avatar/stories/CupraDiagonal.stories.d.ts +8 -0
- package/dist/components/Button/Button.js +14 -5
- package/dist/components/Button/stories/CupraDiagonal.stories.d.ts +19 -0
- package/dist/components/CarouselIndicator/stories/CupraDiagonal.stories.d.ts +8 -0
- package/dist/components/Checkbox/stories/CupraDiagonal.stories.d.ts +20 -0
- package/dist/components/Chip/stories/CupraDiagonal.stories.d.ts +7 -0
- package/dist/components/Chips/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/Currency/stories/CupraDiagonal.stories.d.ts +13 -0
- package/dist/components/Dialog/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/DialogBody/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/DialogFooter/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/DialogHeader/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/Divider/stories/CupraDiagonal.stories.d.ts +8 -0
- package/dist/components/Icon/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/IconButton/IconButton.js +12 -4
- package/dist/components/IconButton/stories/CupraDiagonal.stories.d.ts +13 -0
- package/dist/components/InteractiveCard/InteractiveCard.d.ts +55 -0
- package/dist/components/InteractiveCard/InteractiveCard.js +26 -0
- package/dist/components/InteractiveCard/stories/CupraDiagonal.stories.d.ts +9 -0
- package/dist/components/LinkButton/stories/CupraDiagonal.stories.d.ts +9 -0
- package/dist/components/Logo/stories/CupraDiagonal.stories.d.ts +10 -0
- package/dist/components/MapPin/stories/CupraDiagonal.stories.d.ts +7 -0
- package/dist/components/PasswordInput/stories/CupraDiagonal.stories.d.ts +11 -0
- package/dist/components/PickerItem/PickerItem.d.ts +1 -1
- package/dist/components/PickerItem/PickerItem.js +14 -5
- package/dist/components/PickerItem/stories/CupraDiagonal.stories.d.ts +12 -0
- package/dist/components/RadioButton/stories/CupraDiagonal.stories.d.ts +12 -0
- package/dist/components/RadioButtonGroup/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/SearchInput/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/SecondaryNavigation/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/SegmentedControl/stories/CupraDiagonal.stories.d.ts +7 -0
- package/dist/components/Select/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/SidebarNavigation/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/Slider/Slider.js +11 -4
- package/dist/components/Slider/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/StaticBox/StaticBox.js +15 -6
- package/dist/components/StaticBox/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/Stepper/stories/CupraDiagonal.stories.d.ts +9 -0
- package/dist/components/Tabs/stories/CupraDiagonal.stories.d.ts +8 -0
- package/dist/components/Tag/stories/CupraDiagonal.stories.d.ts +8 -0
- package/dist/components/Text/stories/CupraDiagonal.stories.d.ts +5 -0
- package/dist/components/TextInput/stories/CupraDiagonal.stories.d.ts +8 -0
- package/dist/components/Textarea/stories/CupraDiagonal.stories.d.ts +11 -0
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/dist/components/Toast/stories/CupraDiagonal.stories.d.ts +10 -0
- package/dist/components/ToastMessage/ToastMessage.d.ts +1 -2
- package/dist/components/ToastMessage/stories/CupraDiagonal.stories.d.ts +12 -0
- package/dist/components/ToggleSwitch/stories/CupraDiagonal.stories.d.ts +10 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/packages/ui-kit/dist-react/index.js +291 -275
- package/package.json +15 -5
- package/dist/components/interactive-card/InteractiveCard.d.ts +0 -34
- package/dist/components/interactive-card/InteractiveCard.js +0 -19
|
@@ -92,7 +92,7 @@ let Li = class extends Event {
|
|
|
92
92
|
}, this.onProviderRequest = (o) => {
|
|
93
93
|
if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
|
|
94
94
|
const n = /* @__PURE__ */ new Set();
|
|
95
|
-
for (const [
|
|
95
|
+
for (const [d, { consumerHost: u }] of this.subscriptions) n.has(d) || (n.add(d), u.dispatchEvent(new ui(this.context, u, d, !0)));
|
|
96
96
|
o.stopPropagation();
|
|
97
97
|
}, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (s = (r = this.host).addController) == null || s.call(r, this);
|
|
98
98
|
}
|
|
@@ -128,13 +128,13 @@ function me({ context: t }) {
|
|
|
128
128
|
const n = /* @__PURE__ */ new WeakMap();
|
|
129
129
|
o = { get() {
|
|
130
130
|
return n.get(this);
|
|
131
|
-
}, set(
|
|
132
|
-
r.get(this).setValue(
|
|
131
|
+
}, set(d) {
|
|
132
|
+
r.get(this).setValue(d), n.set(this, d);
|
|
133
133
|
}, configurable: !0, enumerable: !0 };
|
|
134
134
|
} else {
|
|
135
135
|
const n = s.set;
|
|
136
|
-
o = { ...s, set(
|
|
137
|
-
r.get(this).setValue(
|
|
136
|
+
o = { ...s, set(d) {
|
|
137
|
+
r.get(this).setValue(d), n == null || n.call(this, d);
|
|
138
138
|
} };
|
|
139
139
|
}
|
|
140
140
|
return void Object.defineProperty(e, i, o);
|
|
@@ -184,14 +184,14 @@ class Xt {
|
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
186
|
const ee = Xt.getInstance();
|
|
187
|
-
class
|
|
187
|
+
class Jt {
|
|
188
188
|
constructor() {
|
|
189
189
|
this.stylePromises = /* @__PURE__ */ new Map(), this.getStyles = async ({
|
|
190
190
|
componentName: e,
|
|
191
191
|
theme: i
|
|
192
192
|
}) => {
|
|
193
193
|
if (!i || !e) return;
|
|
194
|
-
const r = `https://ds-assets.cupra.com/0.
|
|
194
|
+
const r = `https://ds-assets.cupra.com/1.0.0-canary.2/styles/${i}/components/${e}.css`, s = this.getCachedStyleSheetPromise({ url: r });
|
|
195
195
|
if (s) return s;
|
|
196
196
|
const o = this.fetchStyle({ url: r }).then((n) => (n || this.stylePromises.delete(r), n));
|
|
197
197
|
return this.stylePromises.set(r, o), this.stylePromises.get(r);
|
|
@@ -209,10 +209,10 @@ class Zt {
|
|
|
209
209
|
return this.stylePromises.get(e);
|
|
210
210
|
}
|
|
211
211
|
static getInstance() {
|
|
212
|
-
return
|
|
212
|
+
return Jt.instance || (Jt.instance = new Jt()), Jt.instance;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
const Mi =
|
|
215
|
+
const Mi = Jt.getInstance();
|
|
216
216
|
/**
|
|
217
217
|
* @license
|
|
218
218
|
* Copyright 2019 Google LLC
|
|
@@ -237,7 +237,7 @@ let vi = class {
|
|
|
237
237
|
return this.cssText;
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
|
-
const bi = (t) => new vi(typeof t == "string" ? t : t + "", void 0, Cs),
|
|
240
|
+
const bi = (t) => new vi(typeof t == "string" ? t : t + "", void 0, Cs), h = (t, ...e) => {
|
|
241
241
|
const i = t.length === 1 ? t[0] : e.reduce(((r, s, o) => r + ((n) => {
|
|
242
242
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
243
243
|
if (typeof n == "number") return n;
|
|
@@ -407,9 +407,9 @@ let Yt = class extends HTMLElement {
|
|
|
407
407
|
var i, r;
|
|
408
408
|
const s = this.constructor, o = s._$Eh.get(t);
|
|
409
409
|
if (o !== void 0 && this._$Em !== o) {
|
|
410
|
-
const n = s.getPropertyOptions(o),
|
|
410
|
+
const n = s.getPropertyOptions(o), d = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((i = n.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? n.converter : Ye;
|
|
411
411
|
this._$Em = o;
|
|
412
|
-
const u =
|
|
412
|
+
const u = d.fromAttribute(e, n.type);
|
|
413
413
|
this[o] = u ?? ((r = this._$Ej) == null ? void 0 : r.get(o)) ?? u, this._$Em = null;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
@@ -448,8 +448,8 @@ let Yt = class extends HTMLElement {
|
|
|
448
448
|
}
|
|
449
449
|
const r = this.constructor.elementProperties;
|
|
450
450
|
if (r.size > 0) for (const [s, o] of r) {
|
|
451
|
-
const { wrapped: n } = o,
|
|
452
|
-
n !== !0 || this._$AL.has(s) ||
|
|
451
|
+
const { wrapped: n } = o, d = this[s];
|
|
452
|
+
n !== !0 || this._$AL.has(s) || d === void 0 || this.C(s, void 0, o, d);
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
455
|
let e = !1;
|
|
@@ -499,8 +499,8 @@ Yt.elementStyles = [], Yt.shadowRootOptions = { mode: "open" }, Yt[Oe("elementPr
|
|
|
499
499
|
* Copyright 2017 Google LLC
|
|
500
500
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
501
501
|
*/
|
|
502
|
-
const Xe = globalThis,
|
|
503
|
-
\f\r]`, ke = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
502
|
+
const Xe = globalThis, Je = Xe.trustedTypes, Xs = Je ? Je.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, yi = "$lit$", Tt = `lit$${Math.random().toFixed(9).slice(2)}$`, gi = "?" + Tt, Wi = `<${gi}>`, Mt = document, Ae = () => Mt.createComment(""), _e = (t) => t === null || typeof t != "object" && typeof t != "function", zs = Array.isArray, qi = (t) => zs(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", us = `[
|
|
503
|
+
\f\r]`, ke = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Js = /-->/g, Zs = />/g, Pt = RegExp(`>|${us}(?:([^\\s"'>=/]+)(${us}*=${us}*(?:[^
|
|
504
504
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Qs = /'/g, ti = /"/g, fi = /^(?:script|style|textarea|title)$/i, Ki = (t) => (e, ...i) => ({ _$litType$: t, strings: e, values: i }), l = Ki(1), ut = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), ei = /* @__PURE__ */ new WeakMap(), Lt = Mt.createTreeWalker(Mt, 129);
|
|
505
505
|
function xi(t, e) {
|
|
506
506
|
if (!zs(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
@@ -509,12 +509,12 @@ function xi(t, e) {
|
|
|
509
509
|
const Gi = (t, e) => {
|
|
510
510
|
const i = t.length - 1, r = [];
|
|
511
511
|
let s, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = ke;
|
|
512
|
-
for (let
|
|
513
|
-
const u = t[
|
|
512
|
+
for (let d = 0; d < i; d++) {
|
|
513
|
+
const u = t[d];
|
|
514
514
|
let g, $, v = -1, x = 0;
|
|
515
|
-
for (; x < u.length && (n.lastIndex = x, $ = n.exec(u), $ !== null); ) x = n.lastIndex, n === ke ? $[1] === "!--" ? n =
|
|
516
|
-
const S = n === Pt && t[
|
|
517
|
-
o += n === ke ? u + Wi : v >= 0 ? (r.push(g), u.slice(0, v) + yi + u.slice(v) + Tt + S) : u + Tt + (v === -2 ?
|
|
515
|
+
for (; x < u.length && (n.lastIndex = x, $ = n.exec(u), $ !== null); ) x = n.lastIndex, n === ke ? $[1] === "!--" ? n = Js : $[1] !== void 0 ? n = Zs : $[2] !== void 0 ? (fi.test($[2]) && (s = RegExp("</" + $[2], "g")), n = Pt) : $[3] !== void 0 && (n = Pt) : n === Pt ? $[0] === ">" ? (n = s ?? ke, v = -1) : $[1] === void 0 ? v = -2 : (v = n.lastIndex - $[2].length, g = $[1], n = $[3] === void 0 ? Pt : $[3] === '"' ? ti : Qs) : n === ti || n === Qs ? n = Pt : n === Js || n === Zs ? n = ke : (n = Pt, s = void 0);
|
|
516
|
+
const S = n === Pt && t[d + 1].startsWith("/>") ? " " : "";
|
|
517
|
+
o += n === ke ? u + Wi : v >= 0 ? (r.push(g), u.slice(0, v) + yi + u.slice(v) + Tt + S) : u + Tt + (v === -2 ? d : S);
|
|
518
518
|
}
|
|
519
519
|
return [xi(t, o + (t[i] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
|
|
520
520
|
};
|
|
@@ -523,21 +523,21 @@ class Pe {
|
|
|
523
523
|
let s;
|
|
524
524
|
this.parts = [];
|
|
525
525
|
let o = 0, n = 0;
|
|
526
|
-
const
|
|
526
|
+
const d = e.length - 1, u = this.parts, [g, $] = Gi(e, i);
|
|
527
527
|
if (this.el = Pe.createElement(g, r), Lt.currentNode = this.el.content, i === 2 || i === 3) {
|
|
528
528
|
const v = this.el.content.firstChild;
|
|
529
529
|
v.replaceWith(...v.childNodes);
|
|
530
530
|
}
|
|
531
|
-
for (; (s = Lt.nextNode()) !== null && u.length <
|
|
531
|
+
for (; (s = Lt.nextNode()) !== null && u.length < d; ) {
|
|
532
532
|
if (s.nodeType === 1) {
|
|
533
533
|
if (s.hasAttributes()) for (const v of s.getAttributeNames()) if (v.endsWith(yi)) {
|
|
534
534
|
const x = $[n++], S = s.getAttribute(v).split(Tt), T = /([.?@])?(.*)/.exec(x);
|
|
535
|
-
u.push({ type: 1, index: o, name: T[2], strings: S, ctor: T[1] === "." ? Xi : T[1] === "?" ?
|
|
535
|
+
u.push({ type: 1, index: o, name: T[2], strings: S, ctor: T[1] === "." ? Xi : T[1] === "?" ? Ji : T[1] === "@" ? Zi : ts }), s.removeAttribute(v);
|
|
536
536
|
} else v.startsWith(Tt) && (u.push({ type: 6, index: o }), s.removeAttribute(v));
|
|
537
537
|
if (fi.test(s.tagName)) {
|
|
538
538
|
const v = s.textContent.split(Tt), x = v.length - 1;
|
|
539
539
|
if (x > 0) {
|
|
540
|
-
s.textContent =
|
|
540
|
+
s.textContent = Je ? Je.emptyScript : "";
|
|
541
541
|
for (let S = 0; S < x; S++) s.append(v[S], Ae()), Lt.nextNode(), u.push({ type: 2, index: ++o });
|
|
542
542
|
s.append(v[x], Ae());
|
|
543
543
|
}
|
|
@@ -559,8 +559,8 @@ function ie(t, e, i = t, r) {
|
|
|
559
559
|
var s, o;
|
|
560
560
|
if (e === ut) return e;
|
|
561
561
|
let n = r !== void 0 ? (s = i._$Co) == null ? void 0 : s[r] : i._$Cl;
|
|
562
|
-
const
|
|
563
|
-
return (n == null ? void 0 : n.constructor) !==
|
|
562
|
+
const d = _e(e) ? void 0 : e._$litDirective$;
|
|
563
|
+
return (n == null ? void 0 : n.constructor) !== d && ((o = n == null ? void 0 : n._$AO) == null || o.call(n, !1), d === void 0 ? n = void 0 : (n = new d(t), n._$AT(t, i, r)), r !== void 0 ? (i._$Co ?? (i._$Co = []))[r] = n : i._$Cl = n), n !== void 0 && (e = ie(t, n._$AS(t, e.values), n, r)), e;
|
|
564
564
|
}
|
|
565
565
|
let Yi = class {
|
|
566
566
|
constructor(t, e) {
|
|
@@ -575,13 +575,13 @@ let Yi = class {
|
|
|
575
575
|
u(t) {
|
|
576
576
|
const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? Mt).importNode(e, !0);
|
|
577
577
|
Lt.currentNode = r;
|
|
578
|
-
let s = Lt.nextNode(), o = 0, n = 0,
|
|
579
|
-
for (;
|
|
580
|
-
if (o ===
|
|
578
|
+
let s = Lt.nextNode(), o = 0, n = 0, d = i[0];
|
|
579
|
+
for (; d !== void 0; ) {
|
|
580
|
+
if (o === d.index) {
|
|
581
581
|
let u;
|
|
582
|
-
|
|
582
|
+
d.type === 2 ? u = new ve(s, s.nextSibling, this, t) : d.type === 1 ? u = new d.ctor(s, d.name, d.strings, this, t) : d.type === 6 && (u = new Qi(s, this, t)), this._$AV.push(u), d = i[++n];
|
|
583
583
|
}
|
|
584
|
-
o !== (
|
|
584
|
+
o !== (d == null ? void 0 : d.index) && (s = Lt.nextNode(), o++);
|
|
585
585
|
}
|
|
586
586
|
return Lt.currentNode = Mt, r;
|
|
587
587
|
}
|
|
@@ -626,8 +626,8 @@ class ve {
|
|
|
626
626
|
const { values: r, _$litType$: s } = e, o = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = Pe.createElement(xi(s.h, s.h[0]), this.options)), s);
|
|
627
627
|
if (((i = this._$AH) == null ? void 0 : i._$AD) === o) this._$AH.p(r);
|
|
628
628
|
else {
|
|
629
|
-
const n = new Yi(o, this),
|
|
630
|
-
n.p(r), this.T(
|
|
629
|
+
const n = new Yi(o, this), d = n.u(this.options);
|
|
630
|
+
n.p(r), this.T(d), this._$AH = n;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
633
|
_$AC(e) {
|
|
@@ -668,9 +668,9 @@ class ts {
|
|
|
668
668
|
let n = !1;
|
|
669
669
|
if (o === void 0) e = ie(this, e, i, 0), n = !_e(e) || e !== this._$AH && e !== ut, n && (this._$AH = e);
|
|
670
670
|
else {
|
|
671
|
-
const
|
|
671
|
+
const d = e;
|
|
672
672
|
let u, g;
|
|
673
|
-
for (e = o[0], u = 0; u < o.length - 1; u++) g = ie(this,
|
|
673
|
+
for (e = o[0], u = 0; u < o.length - 1; u++) g = ie(this, d[r + u], i, u), g === ut && (g = this._$AH[u]), n || (n = !_e(g) || g !== this._$AH[u]), g === c ? e = c : e !== c && (e += (g ?? "") + o[u + 1]), this._$AH[u] = g;
|
|
674
674
|
}
|
|
675
675
|
n && !s && this.j(e);
|
|
676
676
|
}
|
|
@@ -686,7 +686,7 @@ class Xi extends ts {
|
|
|
686
686
|
this.element[this.name] = e === c ? void 0 : e;
|
|
687
687
|
}
|
|
688
688
|
}
|
|
689
|
-
class
|
|
689
|
+
class Ji extends ts {
|
|
690
690
|
constructor() {
|
|
691
691
|
super(...arguments), this.type = 4;
|
|
692
692
|
}
|
|
@@ -694,7 +694,7 @@ class Zi extends ts {
|
|
|
694
694
|
this.element.toggleAttribute(this.name, !!e && e !== c);
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
|
-
class
|
|
697
|
+
class Zi extends ts {
|
|
698
698
|
constructor(e, i, r, s, o) {
|
|
699
699
|
super(e, i, r, s, o), this.type = 5;
|
|
700
700
|
}
|
|
@@ -776,18 +776,18 @@ const sr = { attribute: !0, type: String, converter: Ye, reflect: !1, hasChanged
|
|
|
776
776
|
let o = globalThis.litPropertyMetadata.get(s);
|
|
777
777
|
if (o === void 0 && globalThis.litPropertyMetadata.set(s, o = /* @__PURE__ */ new Map()), r === "setter" && ((t = Object.create(t)).wrapped = !0), o.set(i.name, t), r === "accessor") {
|
|
778
778
|
const { name: n } = i;
|
|
779
|
-
return { set(
|
|
779
|
+
return { set(d) {
|
|
780
780
|
const u = e.get.call(this);
|
|
781
|
-
e.set.call(this,
|
|
782
|
-
}, init(
|
|
783
|
-
return
|
|
781
|
+
e.set.call(this, d), this.requestUpdate(n, u, t);
|
|
782
|
+
}, init(d) {
|
|
783
|
+
return d !== void 0 && this.C(n, void 0, t, d), d;
|
|
784
784
|
} };
|
|
785
785
|
}
|
|
786
786
|
if (r === "setter") {
|
|
787
787
|
const { name: n } = i;
|
|
788
|
-
return function(
|
|
788
|
+
return function(d) {
|
|
789
789
|
const u = this[n];
|
|
790
|
-
e.call(this,
|
|
790
|
+
e.call(this, d), this.requestUpdate(n, u, t);
|
|
791
791
|
};
|
|
792
792
|
}
|
|
793
793
|
throw Error("Unsupported decorator location: " + r);
|
|
@@ -820,8 +820,8 @@ const Is = (t, e, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorat
|
|
|
820
820
|
function lt(t, e) {
|
|
821
821
|
return (i, r, s) => {
|
|
822
822
|
const o = (n) => {
|
|
823
|
-
var
|
|
824
|
-
return ((
|
|
823
|
+
var d;
|
|
824
|
+
return ((d = n.renderRoot) == null ? void 0 : d.querySelector(t)) ?? null;
|
|
825
825
|
};
|
|
826
826
|
return Is(i, r, { get() {
|
|
827
827
|
return o(this);
|
|
@@ -838,7 +838,7 @@ function tt(t) {
|
|
|
838
838
|
const { slot: r, selector: s } = t ?? {}, o = "slot" + (r ? `[name=${r}]` : ":not([name])");
|
|
839
839
|
return Is(e, i, { get() {
|
|
840
840
|
var n;
|
|
841
|
-
const
|
|
841
|
+
const d = (n = this.renderRoot) == null ? void 0 : n.querySelector(o), u = (d == null ? void 0 : d.assignedElements(t)) ?? [];
|
|
842
842
|
return s === void 0 ? u : u.filter(((g) => g.matches(s)));
|
|
843
843
|
} });
|
|
844
844
|
};
|
|
@@ -863,7 +863,7 @@ var rr = Object.defineProperty, $i = (t, e, i, r) => {
|
|
|
863
863
|
(n = t[o]) && (s = n(e, i, s) || s);
|
|
864
864
|
return s && rr(e, i, s), s;
|
|
865
865
|
};
|
|
866
|
-
const or =
|
|
866
|
+
const or = h`:host([unresolved]){visibility:hidden}`, _s = class wi extends pt {
|
|
867
867
|
constructor() {
|
|
868
868
|
super(), this.appliedConstructables = [], this.appliedStyleTags = [], this.handleChangeTheme = (e) => {
|
|
869
869
|
this.pubSubTheme = e;
|
|
@@ -903,11 +903,11 @@ const or = d`:host([unresolved]){visibility:hidden}`, _s = class wi extends pt {
|
|
|
903
903
|
this.appliedConstructables = [], this.appliedStyleTags.forEach((n) => n.remove()), this.appliedStyleTags = [], i.forEach((n) => {
|
|
904
904
|
if (n)
|
|
905
905
|
if (r) {
|
|
906
|
-
const
|
|
907
|
-
|
|
906
|
+
const d = new CSSStyleSheet();
|
|
907
|
+
d.replaceSync(n), this.appliedConstructables.push(d);
|
|
908
908
|
} else {
|
|
909
|
-
const
|
|
910
|
-
|
|
909
|
+
const d = document.createElement("style");
|
|
910
|
+
d.textContent = n, this.shadowRoot.appendChild(d), this.appliedStyleTags.push(d);
|
|
911
911
|
}
|
|
912
912
|
}), r && (this.shadowRoot.adoptedStyleSheets = [...o, ...this.appliedConstructables]);
|
|
913
913
|
} catch (i) {
|
|
@@ -925,7 +925,7 @@ $i([
|
|
|
925
925
|
y()
|
|
926
926
|
], _s.prototype, "pubSubTheme");
|
|
927
927
|
let f = _s;
|
|
928
|
-
const nr =
|
|
928
|
+
const nr = h`
|
|
929
929
|
:host {
|
|
930
930
|
display: block;
|
|
931
931
|
width: 100%;
|
|
@@ -1053,7 +1053,7 @@ const ze = (t) => t ?? c, ar = {
|
|
|
1053
1053
|
<ds-icon-button-react
|
|
1054
1054
|
class=${t == null ? void 0 : t.class}
|
|
1055
1055
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1056
|
-
|
|
1056
|
+
size=${ze(t == null ? void 0 : t.size)}
|
|
1057
1057
|
variant=${(t == null ? void 0 : t.variant) ?? "primary"}
|
|
1058
1058
|
mode=${(t == null ? void 0 : t.mode) ?? "light"}
|
|
1059
1059
|
.disabled=${t == null ? void 0 : t.disabled}
|
|
@@ -1092,15 +1092,15 @@ function b(t, e) {
|
|
|
1092
1092
|
throw new TypeError("@customUiKitElement requires a class that extends HTMLElement.");
|
|
1093
1093
|
const n = `${t}-react`;
|
|
1094
1094
|
if (customElements.get(n)) return;
|
|
1095
|
-
let
|
|
1096
|
-
Array.isArray(e == null ? void 0 : e.extendComponentNames) && (
|
|
1095
|
+
let d = e != null && e.skipTagAsComponentName ? [] : [t];
|
|
1096
|
+
Array.isArray(e == null ? void 0 : e.extendComponentNames) && (d = [...e.extendComponentNames, ...d]), (o = (r = window == null ? void 0 : window.customElements) == null ? void 0 : r.define) == null || o.call(
|
|
1097
1097
|
r,
|
|
1098
1098
|
n,
|
|
1099
1099
|
(s = class extends i {
|
|
1100
1100
|
constructor() {
|
|
1101
1101
|
super(...arguments), this.componentFactory = ar;
|
|
1102
1102
|
}
|
|
1103
|
-
}, s.componentName =
|
|
1103
|
+
}, s.componentName = d, s)
|
|
1104
1104
|
);
|
|
1105
1105
|
};
|
|
1106
1106
|
}
|
|
@@ -1149,7 +1149,7 @@ let ys = class extends Bs {
|
|
|
1149
1149
|
ys.directiveName = "unsafeHTML", ys.resultType = 1;
|
|
1150
1150
|
const es = Ns(ys);
|
|
1151
1151
|
function C(t, ...e) {
|
|
1152
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-
|
|
1152
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-2"), r = es(i);
|
|
1153
1153
|
return l`${r}`;
|
|
1154
1154
|
}
|
|
1155
1155
|
/**
|
|
@@ -1286,7 +1286,7 @@ Ut([
|
|
|
1286
1286
|
mt = Ut([
|
|
1287
1287
|
b("ds-accordion")
|
|
1288
1288
|
], mt);
|
|
1289
|
-
const
|
|
1289
|
+
const dr = h`
|
|
1290
1290
|
:host {
|
|
1291
1291
|
display: block;
|
|
1292
1292
|
width: 100%;
|
|
@@ -1305,10 +1305,10 @@ const hr = d`
|
|
|
1305
1305
|
cursor: auto;
|
|
1306
1306
|
}
|
|
1307
1307
|
`;
|
|
1308
|
-
var
|
|
1308
|
+
var hr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, ss = (t, e, i, r) => {
|
|
1309
1309
|
for (var s = r > 1 ? void 0 : r ? pr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
1310
1310
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
1311
|
-
return r && s &&
|
|
1311
|
+
return r && s && hr(e, i, s), s;
|
|
1312
1312
|
};
|
|
1313
1313
|
let re = class extends f {
|
|
1314
1314
|
constructor() {
|
|
@@ -1359,7 +1359,7 @@ let re = class extends f {
|
|
|
1359
1359
|
` : c;
|
|
1360
1360
|
}
|
|
1361
1361
|
};
|
|
1362
|
-
re.styles = [
|
|
1362
|
+
re.styles = [dr];
|
|
1363
1363
|
ss([
|
|
1364
1364
|
a({ type: String, reflect: !0 })
|
|
1365
1365
|
], re.prototype, "mode", 2);
|
|
@@ -1423,7 +1423,7 @@ const Re = (t, e, i) => {
|
|
|
1423
1423
|
function ot(t, e, i) {
|
|
1424
1424
|
return t ? e(t) : i == null ? void 0 : i(t);
|
|
1425
1425
|
}
|
|
1426
|
-
const ur =
|
|
1426
|
+
const ur = h`
|
|
1427
1427
|
:host {
|
|
1428
1428
|
display: contents;
|
|
1429
1429
|
}
|
|
@@ -1443,7 +1443,7 @@ const ur = d`
|
|
|
1443
1443
|
.button.full-width {
|
|
1444
1444
|
width: 100%;
|
|
1445
1445
|
}
|
|
1446
|
-
`, mr =
|
|
1446
|
+
`, mr = h`
|
|
1447
1447
|
.text.container {
|
|
1448
1448
|
display: inline-flex;
|
|
1449
1449
|
}
|
|
@@ -1453,7 +1453,7 @@ const ur = d`
|
|
|
1453
1453
|
text-overflow: ellipsis;
|
|
1454
1454
|
white-space: nowrap;
|
|
1455
1455
|
}
|
|
1456
|
-
`, vr =
|
|
1456
|
+
`, vr = h`
|
|
1457
1457
|
.loading-dots {
|
|
1458
1458
|
display: inline-flex;
|
|
1459
1459
|
align-items: baseline;
|
|
@@ -1708,7 +1708,7 @@ P([
|
|
|
1708
1708
|
O = P([
|
|
1709
1709
|
b("ds-button")
|
|
1710
1710
|
], O);
|
|
1711
|
-
const gr =
|
|
1711
|
+
const gr = h`
|
|
1712
1712
|
:host {
|
|
1713
1713
|
display: flex;
|
|
1714
1714
|
width: 100%;
|
|
@@ -1741,12 +1741,12 @@ let oe = class extends f {
|
|
|
1741
1741
|
let r = !1;
|
|
1742
1742
|
const s = this.selectedIndex >= 3 && this.selectedIndex < this.selectorsNumber - 3, o = this.selectedIndex < 3, n = this.selectedIndex >= this.selectorsNumber - 3;
|
|
1743
1743
|
e && (s && (i < this.selectedIndex - 3 || i > this.selectedIndex + 3) || o && i >= 5 || n && i < this.selectorsNumber - 5) && (r = e);
|
|
1744
|
-
const
|
|
1744
|
+
const d = {
|
|
1745
1745
|
selector: !0,
|
|
1746
1746
|
selected: i === this.selectedIndex,
|
|
1747
1747
|
hidden: r
|
|
1748
1748
|
};
|
|
1749
|
-
t.push(l` <div class=${p(
|
|
1749
|
+
t.push(l` <div class=${p(d)}></div> `);
|
|
1750
1750
|
}
|
|
1751
1751
|
return t;
|
|
1752
1752
|
}
|
|
@@ -1779,7 +1779,7 @@ const rs = (t) => {
|
|
|
1779
1779
|
}
|
|
1780
1780
|
};
|
|
1781
1781
|
return e.formAssociated = !0, e;
|
|
1782
|
-
}, $r =
|
|
1782
|
+
}, $r = h`
|
|
1783
1783
|
:host {
|
|
1784
1784
|
display: block;
|
|
1785
1785
|
width: 100%;
|
|
@@ -1960,7 +1960,7 @@ j([
|
|
|
1960
1960
|
N = j([
|
|
1961
1961
|
b("ds-checkbox")
|
|
1962
1962
|
], N);
|
|
1963
|
-
const kr =
|
|
1963
|
+
const kr = h`
|
|
1964
1964
|
:host {
|
|
1965
1965
|
display: inline-block;
|
|
1966
1966
|
}
|
|
@@ -2109,11 +2109,7 @@ const Er = {
|
|
|
2109
2109
|
toAttribute(t) {
|
|
2110
2110
|
return JSON.stringify(t);
|
|
2111
2111
|
}
|
|
2112
|
-
}, Or =
|
|
2113
|
-
:host {
|
|
2114
|
-
display: inline-block;
|
|
2115
|
-
}
|
|
2116
|
-
|
|
2112
|
+
}, Or = h`
|
|
2117
2113
|
.container {
|
|
2118
2114
|
display: inline-flex;
|
|
2119
2115
|
position: relative;
|
|
@@ -2189,7 +2185,7 @@ var zr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, $t = (t, e
|
|
|
2189
2185
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2190
2186
|
return r && s && zr(e, i, s), s;
|
|
2191
2187
|
};
|
|
2192
|
-
let
|
|
2188
|
+
let J = class extends f {
|
|
2193
2189
|
constructor() {
|
|
2194
2190
|
super(...arguments), this.multiChoice = null, this.size = "medium", this.mode = "light", this.hasScrollLeft = !1, this.hasScrollRight = !1, this.resizeObserver = new ResizeObserver(() => {
|
|
2195
2191
|
this.handleScrollNav();
|
|
@@ -2283,34 +2279,34 @@ let Z = class extends f {
|
|
|
2283
2279
|
`;
|
|
2284
2280
|
}
|
|
2285
2281
|
};
|
|
2286
|
-
|
|
2282
|
+
J.styles = [Or];
|
|
2287
2283
|
$t([
|
|
2288
2284
|
a({ type: Array, attribute: "selected-chips", converter: Er, reflect: !0 })
|
|
2289
|
-
],
|
|
2285
|
+
], J.prototype, "selectedChips", 2);
|
|
2290
2286
|
$t([
|
|
2291
2287
|
a({ type: Boolean, attribute: "multi-choice", converter: m })
|
|
2292
|
-
],
|
|
2288
|
+
], J.prototype, "multiChoice", 2);
|
|
2293
2289
|
$t([
|
|
2294
2290
|
a({ type: String })
|
|
2295
|
-
],
|
|
2291
|
+
], J.prototype, "size", 2);
|
|
2296
2292
|
$t([
|
|
2297
2293
|
a({ type: String, reflect: !0 })
|
|
2298
|
-
],
|
|
2294
|
+
], J.prototype, "mode", 2);
|
|
2299
2295
|
$t([
|
|
2300
2296
|
y()
|
|
2301
|
-
],
|
|
2297
|
+
], J.prototype, "hasScrollLeft", 2);
|
|
2302
2298
|
$t([
|
|
2303
2299
|
y()
|
|
2304
|
-
],
|
|
2300
|
+
], J.prototype, "hasScrollRight", 2);
|
|
2305
2301
|
$t([
|
|
2306
2302
|
tt({ slot: "" })
|
|
2307
|
-
],
|
|
2303
|
+
], J.prototype, "chips", 2);
|
|
2308
2304
|
$t([
|
|
2309
2305
|
lt(".chips-container")
|
|
2310
|
-
],
|
|
2311
|
-
|
|
2306
|
+
], J.prototype, "chipsContainer", 2);
|
|
2307
|
+
J = $t([
|
|
2312
2308
|
b("ds-chips")
|
|
2313
|
-
],
|
|
2309
|
+
], J);
|
|
2314
2310
|
function Si({
|
|
2315
2311
|
value: t,
|
|
2316
2312
|
locale: e,
|
|
@@ -2319,7 +2315,7 @@ function Si({
|
|
|
2319
2315
|
currency: s,
|
|
2320
2316
|
localeMatcher: o = "lookup",
|
|
2321
2317
|
minimumIntegerDigits: n = 1,
|
|
2322
|
-
minimumFractionDigits:
|
|
2318
|
+
minimumFractionDigits: d = 0,
|
|
2323
2319
|
maximumFractionDigits: u = 20,
|
|
2324
2320
|
thousandSeparator: g,
|
|
2325
2321
|
fractionSeparator: $,
|
|
@@ -2332,28 +2328,28 @@ function Si({
|
|
|
2332
2328
|
...s && { currency: s },
|
|
2333
2329
|
localeMatcher: o,
|
|
2334
2330
|
minimumIntegerDigits: n,
|
|
2335
|
-
minimumFractionDigits:
|
|
2331
|
+
minimumFractionDigits: d,
|
|
2336
2332
|
maximumFractionDigits: u,
|
|
2337
2333
|
useGrouping: v
|
|
2338
2334
|
}).formatToParts(t ?? 0);
|
|
2339
|
-
return z.forEach((
|
|
2340
|
-
switch (
|
|
2335
|
+
return z.forEach((ht, Se) => {
|
|
2336
|
+
switch (ht.type) {
|
|
2341
2337
|
case "unit":
|
|
2342
2338
|
case "currency":
|
|
2343
2339
|
case "percentSign":
|
|
2344
|
-
S =
|
|
2340
|
+
S = ht.value, T = Se === 0 || (z[0].type === "minusSign" || z[0].type === "plusSign") && Se === 1 ? "left" : "right";
|
|
2345
2341
|
break;
|
|
2346
2342
|
case "group":
|
|
2347
|
-
x += g ??
|
|
2343
|
+
x += g ?? ht.value;
|
|
2348
2344
|
break;
|
|
2349
2345
|
case "decimal":
|
|
2350
|
-
x += $ ??
|
|
2346
|
+
x += $ ?? ht.value;
|
|
2351
2347
|
break;
|
|
2352
2348
|
case "integer":
|
|
2353
2349
|
case "fraction":
|
|
2354
2350
|
case "plusSign":
|
|
2355
2351
|
case "minusSign":
|
|
2356
|
-
x +=
|
|
2352
|
+
x += ht.value;
|
|
2357
2353
|
break;
|
|
2358
2354
|
}
|
|
2359
2355
|
}), {
|
|
@@ -2362,7 +2358,7 @@ function Si({
|
|
|
2362
2358
|
...T && { unitSymbolPosition: T }
|
|
2363
2359
|
};
|
|
2364
2360
|
}
|
|
2365
|
-
const Ar =
|
|
2361
|
+
const Ar = h`
|
|
2366
2362
|
:host {
|
|
2367
2363
|
display: inline;
|
|
2368
2364
|
}
|
|
@@ -2499,7 +2495,7 @@ A([
|
|
|
2499
2495
|
E = A([
|
|
2500
2496
|
b("ds-currency")
|
|
2501
2497
|
], E);
|
|
2502
|
-
const Nr =
|
|
2498
|
+
const Nr = h`
|
|
2503
2499
|
:host {
|
|
2504
2500
|
display: inline-block;
|
|
2505
2501
|
}
|
|
@@ -2539,7 +2535,7 @@ gs.styles = [Nr];
|
|
|
2539
2535
|
gs = Br([
|
|
2540
2536
|
b("ds-dialog-body")
|
|
2541
2537
|
], gs);
|
|
2542
|
-
const Lr =
|
|
2538
|
+
const Lr = h`
|
|
2543
2539
|
:host {
|
|
2544
2540
|
display: flex;
|
|
2545
2541
|
}
|
|
@@ -2553,7 +2549,7 @@ var Mr = Object.defineProperty, Dr = Object.getOwnPropertyDescriptor, ki = (t, e
|
|
|
2553
2549
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2554
2550
|
return r && s && Mr(e, i, s), s;
|
|
2555
2551
|
};
|
|
2556
|
-
let
|
|
2552
|
+
let Ze = class extends f {
|
|
2557
2553
|
constructor() {
|
|
2558
2554
|
super(...arguments), this.withDivider = !0;
|
|
2559
2555
|
}
|
|
@@ -2572,18 +2568,18 @@ let Je = class extends f {
|
|
|
2572
2568
|
`;
|
|
2573
2569
|
}
|
|
2574
2570
|
};
|
|
2575
|
-
|
|
2571
|
+
Ze.styles = [Lr];
|
|
2576
2572
|
ki([
|
|
2577
2573
|
a({
|
|
2578
2574
|
type: Boolean,
|
|
2579
2575
|
attribute: "with-divider",
|
|
2580
2576
|
converter: m
|
|
2581
2577
|
})
|
|
2582
|
-
],
|
|
2583
|
-
|
|
2578
|
+
], Ze.prototype, "withDivider", 2);
|
|
2579
|
+
Ze = ki([
|
|
2584
2580
|
b("ds-dialog-footer")
|
|
2585
|
-
],
|
|
2586
|
-
const jr =
|
|
2581
|
+
], Ze);
|
|
2582
|
+
const jr = h`
|
|
2587
2583
|
:host {
|
|
2588
2584
|
display: block;
|
|
2589
2585
|
}
|
|
@@ -2645,13 +2641,13 @@ ne = os([
|
|
|
2645
2641
|
b("ds-dialog-header")
|
|
2646
2642
|
], ne);
|
|
2647
2643
|
const U = {
|
|
2648
|
-
xs:
|
|
2649
|
-
s:
|
|
2650
|
-
m:
|
|
2651
|
-
l:
|
|
2652
|
-
xl:
|
|
2653
|
-
xxl:
|
|
2654
|
-
}, Ur =
|
|
2644
|
+
xs: h`@media(min-width: ${Bt.xs}px)`,
|
|
2645
|
+
s: h`@media(min-width: ${Bt.s}px)`,
|
|
2646
|
+
m: h`@media(min-width: ${Bt.m}px)`,
|
|
2647
|
+
l: h`@media(min-width: ${Bt.l}px)`,
|
|
2648
|
+
xl: h`@media(min-width: ${Bt.xl}px)`,
|
|
2649
|
+
xxl: h`@media(min-width: ${Bt.xxl}px)`
|
|
2650
|
+
}, Ur = h`
|
|
2655
2651
|
:host {
|
|
2656
2652
|
transition: display 0.3s cubic-bezier(0, 0, 0.2, 1) allow-discrete;
|
|
2657
2653
|
}
|
|
@@ -2817,7 +2813,7 @@ be([
|
|
|
2817
2813
|
Ct = be([
|
|
2818
2814
|
b("ds-dialog")
|
|
2819
2815
|
], Ct);
|
|
2820
|
-
const Wr =
|
|
2816
|
+
const Wr = h`
|
|
2821
2817
|
.divider {
|
|
2822
2818
|
border: none;
|
|
2823
2819
|
margin: 0;
|
|
@@ -2869,7 +2865,7 @@ ns([
|
|
|
2869
2865
|
ae = ns([
|
|
2870
2866
|
b("ds-divider")
|
|
2871
2867
|
], ae);
|
|
2872
|
-
const Gr =
|
|
2868
|
+
const Gr = h`
|
|
2873
2869
|
:host {
|
|
2874
2870
|
display: inline-flex;
|
|
2875
2871
|
}
|
|
@@ -2964,7 +2960,7 @@ Ht([
|
|
|
2964
2960
|
bt = Ht([
|
|
2965
2961
|
b("ds-hyperlink")
|
|
2966
2962
|
], bt);
|
|
2967
|
-
const
|
|
2963
|
+
const Jr = h`
|
|
2968
2964
|
:host {
|
|
2969
2965
|
display: inline-flex;
|
|
2970
2966
|
}
|
|
@@ -2981,10 +2977,10 @@ const Zr = d`
|
|
|
2981
2977
|
padding: 0;
|
|
2982
2978
|
}
|
|
2983
2979
|
`;
|
|
2984
|
-
var
|
|
2980
|
+
var Zr = Object.defineProperty, Qr = Object.getOwnPropertyDescriptor, et = (t, e, i, r) => {
|
|
2985
2981
|
for (var s = r > 1 ? void 0 : r ? Qr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2986
2982
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2987
|
-
return r && s &&
|
|
2983
|
+
return r && s && Zr(e, i, s), s;
|
|
2988
2984
|
};
|
|
2989
2985
|
let V = class extends At(f) {
|
|
2990
2986
|
constructor() {
|
|
@@ -3069,7 +3065,7 @@ let V = class extends At(f) {
|
|
|
3069
3065
|
`;
|
|
3070
3066
|
}
|
|
3071
3067
|
};
|
|
3072
|
-
V.styles = [
|
|
3068
|
+
V.styles = [Jr];
|
|
3073
3069
|
et([
|
|
3074
3070
|
a({ type: String })
|
|
3075
3071
|
], V.prototype, "variant", 2);
|
|
@@ -3103,7 +3099,7 @@ et([
|
|
|
3103
3099
|
V = et([
|
|
3104
3100
|
b("ds-icon-button")
|
|
3105
3101
|
], V);
|
|
3106
|
-
class
|
|
3102
|
+
class Zt {
|
|
3107
3103
|
constructor() {
|
|
3108
3104
|
this.icons = {}, this.handleChangeTheme = (e) => {
|
|
3109
3105
|
this.theme = e;
|
|
@@ -3112,7 +3108,7 @@ class Jt {
|
|
|
3112
3108
|
}, this.fetchIcon = async (e, i = {}) => (!this.theme && window.DS_THEME && (this.theme = window.DS_THEME), await this.getCachedIcon(e) || (this.icons[e] = this.loadIcon(e, i), this.icons[e])), ee.subscribe("theme", this.handleChangeTheme);
|
|
3113
3109
|
}
|
|
3114
3110
|
static getInstance() {
|
|
3115
|
-
return
|
|
3111
|
+
return Zt.instance || (Zt.instance = new Zt()), Zt.instance;
|
|
3116
3112
|
}
|
|
3117
3113
|
getCachedIcon(e) {
|
|
3118
3114
|
return this.icons[e];
|
|
@@ -3124,7 +3120,7 @@ class Jt {
|
|
|
3124
3120
|
}).then((s) => s.text()).catch((s) => ((s == null ? void 0 : s.name) !== "AbortError" && console.error(`Failed to fetch icon "${e}":`, s), "")) : Promise.resolve('<svg class="ds-icon"></svg>');
|
|
3125
3121
|
}
|
|
3126
3122
|
}
|
|
3127
|
-
const ni =
|
|
3123
|
+
const ni = Zt.getInstance();
|
|
3128
3124
|
var to = Object.defineProperty, eo = Object.getOwnPropertyDescriptor, Ti = (t) => {
|
|
3129
3125
|
throw TypeError(t);
|
|
3130
3126
|
}, Wt = (t, e, i, r) => {
|
|
@@ -3183,7 +3179,7 @@ let yt = class extends f {
|
|
|
3183
3179
|
}
|
|
3184
3180
|
};
|
|
3185
3181
|
Ee = /* @__PURE__ */ new WeakMap();
|
|
3186
|
-
yt.styles =
|
|
3182
|
+
yt.styles = h`
|
|
3187
3183
|
:host {
|
|
3188
3184
|
line-height: 0;
|
|
3189
3185
|
display: inline-block;
|
|
@@ -3245,7 +3241,7 @@ Ls([
|
|
|
3245
3241
|
Ls([
|
|
3246
3242
|
y()
|
|
3247
3243
|
], Ue.prototype, "theme");
|
|
3248
|
-
const oo =
|
|
3244
|
+
const oo = h`
|
|
3249
3245
|
:host {
|
|
3250
3246
|
display: block;
|
|
3251
3247
|
width: 100%;
|
|
@@ -3268,7 +3264,7 @@ const oo = d`
|
|
|
3268
3264
|
font-size 0.2s;
|
|
3269
3265
|
white-space: nowrap;
|
|
3270
3266
|
}
|
|
3271
|
-
`, no =
|
|
3267
|
+
`, no = h`
|
|
3272
3268
|
.container {
|
|
3273
3269
|
position: relative;
|
|
3274
3270
|
}
|
|
@@ -3299,7 +3295,7 @@ const oo = d`
|
|
|
3299
3295
|
.input-field:focus {
|
|
3300
3296
|
outline: none;
|
|
3301
3297
|
}
|
|
3302
|
-
`, ao =
|
|
3298
|
+
`, ao = h`
|
|
3303
3299
|
.container {
|
|
3304
3300
|
padding: 16px 0 0 0;
|
|
3305
3301
|
}
|
|
@@ -3639,7 +3635,7 @@ wt([
|
|
|
3639
3635
|
nt = wt([
|
|
3640
3636
|
b("ds-input", { skipTagAsComponentName: !0 })
|
|
3641
3637
|
], nt);
|
|
3642
|
-
const uo =
|
|
3638
|
+
const uo = h`
|
|
3643
3639
|
:host {
|
|
3644
3640
|
display: inline-flex;
|
|
3645
3641
|
}
|
|
@@ -3762,7 +3758,7 @@ it([
|
|
|
3762
3758
|
H = it([
|
|
3763
3759
|
b("ds-link-button")
|
|
3764
3760
|
], H);
|
|
3765
|
-
const bo =
|
|
3761
|
+
const bo = h`
|
|
3766
3762
|
.track {
|
|
3767
3763
|
width: 100%;
|
|
3768
3764
|
position: relative;
|
|
@@ -3776,7 +3772,7 @@ const bo = d`
|
|
|
3776
3772
|
height: 100%;
|
|
3777
3773
|
display: block;
|
|
3778
3774
|
}
|
|
3779
|
-
`, yo =
|
|
3775
|
+
`, yo = h`
|
|
3780
3776
|
.track.large {
|
|
3781
3777
|
height: 4px;
|
|
3782
3778
|
}
|
|
@@ -3795,7 +3791,7 @@ const bo = d`
|
|
|
3795
3791
|
.dark .fill {
|
|
3796
3792
|
background-color: var(--ds-color-white);
|
|
3797
3793
|
}
|
|
3798
|
-
`, go = [yo], fo =
|
|
3794
|
+
`, go = [yo], fo = h`
|
|
3799
3795
|
.track.large {
|
|
3800
3796
|
height: 4px;
|
|
3801
3797
|
}
|
|
@@ -3814,7 +3810,7 @@ const bo = d`
|
|
|
3814
3810
|
.dark .fill {
|
|
3815
3811
|
background-color: var(--ds-color-white);
|
|
3816
3812
|
}
|
|
3817
|
-
`, xo = [fo], $o =
|
|
3813
|
+
`, xo = [fo], $o = h``, wo = [$o];
|
|
3818
3814
|
var So = Object.defineProperty, Ms = (t, e, i, r) => {
|
|
3819
3815
|
for (var s = void 0, o = t.length - 1, n; o >= 0; o--)
|
|
3820
3816
|
(n = t[o]) && (s = n(e, i, s) || s);
|
|
@@ -3864,7 +3860,7 @@ Ms([
|
|
|
3864
3860
|
Ms([
|
|
3865
3861
|
a({ type: String })
|
|
3866
3862
|
], Ve.prototype, "size");
|
|
3867
|
-
const ko =
|
|
3863
|
+
const ko = h`
|
|
3868
3864
|
.fill {
|
|
3869
3865
|
width: 33%;
|
|
3870
3866
|
transform: translateX(-100%);
|
|
@@ -3895,8 +3891,8 @@ Ie = Eo([
|
|
|
3895
3891
|
b("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3896
3892
|
], Ie);
|
|
3897
3893
|
function qt(t, ...e) {
|
|
3898
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-
|
|
3899
|
-
return
|
|
3894
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-2"), r = bi(i);
|
|
3895
|
+
return h`${r}`;
|
|
3900
3896
|
}
|
|
3901
3897
|
const zo = qt`
|
|
3902
3898
|
.container {
|
|
@@ -3978,7 +3974,7 @@ as([
|
|
|
3978
3974
|
le = as([
|
|
3979
3975
|
b("ds-loader-dots")
|
|
3980
3976
|
], le);
|
|
3981
|
-
const _o =
|
|
3977
|
+
const _o = h`
|
|
3982
3978
|
.backdrop {
|
|
3983
3979
|
display: flex;
|
|
3984
3980
|
position: fixed;
|
|
@@ -4092,7 +4088,7 @@ He([
|
|
|
4092
4088
|
Dt = He([
|
|
4093
4089
|
b("ds-loader-logo")
|
|
4094
4090
|
], Dt);
|
|
4095
|
-
const Bo =
|
|
4091
|
+
const Bo = h`
|
|
4096
4092
|
:host {
|
|
4097
4093
|
display: contents;
|
|
4098
4094
|
}
|
|
@@ -4109,7 +4105,7 @@ const Bo = d`
|
|
|
4109
4105
|
.container.default ::slotted([slot='text']) {
|
|
4110
4106
|
display: none;
|
|
4111
4107
|
}
|
|
4112
|
-
`, Lo =
|
|
4108
|
+
`, Lo = h`
|
|
4113
4109
|
.spinner {
|
|
4114
4110
|
width: 24px;
|
|
4115
4111
|
height: 24px;
|
|
@@ -4182,11 +4178,11 @@ ls([
|
|
|
4182
4178
|
ce = ls([
|
|
4183
4179
|
b("ds-loader-spinner")
|
|
4184
4180
|
], ce);
|
|
4185
|
-
const Fo =
|
|
4181
|
+
const Fo = h`
|
|
4186
4182
|
:host {
|
|
4187
4183
|
display: contents;
|
|
4188
4184
|
}
|
|
4189
|
-
`, Ro =
|
|
4185
|
+
`, Ro = h`
|
|
4190
4186
|
.container {
|
|
4191
4187
|
display: grid;
|
|
4192
4188
|
grid-template-columns: auto auto;
|
|
@@ -4249,7 +4245,7 @@ Ds([
|
|
|
4249
4245
|
Be = Ds([
|
|
4250
4246
|
b("ds-logo")
|
|
4251
4247
|
], Be);
|
|
4252
|
-
const Ho =
|
|
4248
|
+
const Ho = h`
|
|
4253
4249
|
:host {
|
|
4254
4250
|
display: inline-block;
|
|
4255
4251
|
}
|
|
@@ -4389,7 +4385,7 @@ _t([
|
|
|
4389
4385
|
at = _t([
|
|
4390
4386
|
b("ds-map-pin")
|
|
4391
4387
|
], at);
|
|
4392
|
-
const Ko =
|
|
4388
|
+
const Ko = h`
|
|
4393
4389
|
:host {
|
|
4394
4390
|
transition: display 300ms ease allow-discrete;
|
|
4395
4391
|
}
|
|
@@ -4525,7 +4521,7 @@ const Ko = d`
|
|
|
4525
4521
|
'. cancelButton confirmButton';
|
|
4526
4522
|
}
|
|
4527
4523
|
}
|
|
4528
|
-
`, Go =
|
|
4524
|
+
`, Go = h`
|
|
4529
4525
|
.container.full-screen {
|
|
4530
4526
|
position: fixed;
|
|
4531
4527
|
height: 100%;
|
|
@@ -4542,7 +4538,7 @@ const Ko = d`
|
|
|
4542
4538
|
.icon {
|
|
4543
4539
|
margin-bottom: 32px;
|
|
4544
4540
|
}
|
|
4545
|
-
`, Yo =
|
|
4541
|
+
`, Yo = h`
|
|
4546
4542
|
.container.dialog {
|
|
4547
4543
|
position: fixed;
|
|
4548
4544
|
height: auto;
|
|
@@ -4576,11 +4572,11 @@ const Ko = d`
|
|
|
4576
4572
|
padding: 48px;
|
|
4577
4573
|
}
|
|
4578
4574
|
}
|
|
4579
|
-
`, Xo =
|
|
4575
|
+
`, Xo = h`
|
|
4580
4576
|
.container.fit {
|
|
4581
4577
|
position: absolute;
|
|
4582
4578
|
}
|
|
4583
|
-
`,
|
|
4579
|
+
`, Jo = h`
|
|
4584
4580
|
.container.full-screen.v-align-default {
|
|
4585
4581
|
justify-content: flex-start;
|
|
4586
4582
|
padding-top: 24px;
|
|
@@ -4666,10 +4662,10 @@ const Ko = d`
|
|
|
4666
4662
|
margin-bottom: 24px;
|
|
4667
4663
|
}
|
|
4668
4664
|
`;
|
|
4669
|
-
var
|
|
4665
|
+
var Zo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, rt = (t, e, i, r) => {
|
|
4670
4666
|
for (var s = r > 1 ? void 0 : r ? Qo(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
4671
4667
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
4672
|
-
return r && s &&
|
|
4668
|
+
return r && s && Zo(e, i, s), s;
|
|
4673
4669
|
};
|
|
4674
4670
|
let W = class extends At(f) {
|
|
4675
4671
|
constructor() {
|
|
@@ -4822,7 +4818,7 @@ let W = class extends At(f) {
|
|
|
4822
4818
|
));
|
|
4823
4819
|
}
|
|
4824
4820
|
};
|
|
4825
|
-
W.styles = [Go, Yo, Xo, Ko,
|
|
4821
|
+
W.styles = [Go, Yo, Xo, Ko, Jo];
|
|
4826
4822
|
rt([
|
|
4827
4823
|
a({ type: Boolean, reflect: !0, converter: m })
|
|
4828
4824
|
], W.prototype, "open", 2);
|
|
@@ -4914,7 +4910,7 @@ const js = (t) => class extends t {
|
|
|
4914
4910
|
function Fs(t) {
|
|
4915
4911
|
return !t || typeof t != "string" && typeof t != "number" ? !1 : (typeof t == "string" ? Number(t) : t) > 0;
|
|
4916
4912
|
}
|
|
4917
|
-
const tn =
|
|
4913
|
+
const tn = h`
|
|
4918
4914
|
:host {
|
|
4919
4915
|
display: contents;
|
|
4920
4916
|
}
|
|
@@ -5042,7 +5038,7 @@ cs([
|
|
|
5042
5038
|
Le = cs([
|
|
5043
5039
|
b("ds-password-input", { extendComponentNames: ["ds-text-input"] })
|
|
5044
5040
|
], Le);
|
|
5045
|
-
const nn =
|
|
5041
|
+
const nn = h`
|
|
5046
5042
|
:host {
|
|
5047
5043
|
display: contents;
|
|
5048
5044
|
}
|
|
@@ -5122,8 +5118,8 @@ We([
|
|
|
5122
5118
|
jt = We([
|
|
5123
5119
|
b("ds-picker-item")
|
|
5124
5120
|
], jt);
|
|
5125
|
-
var cn = Object.defineProperty,
|
|
5126
|
-
for (var s = r > 1 ? void 0 : r ?
|
|
5121
|
+
var cn = Object.defineProperty, dn = Object.getOwnPropertyDescriptor, Ei = (t, e, i, r) => {
|
|
5122
|
+
for (var s = r > 1 ? void 0 : r ? dn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5127
5123
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5128
5124
|
return r && s && cn(e, i, s), s;
|
|
5129
5125
|
};
|
|
@@ -5155,7 +5151,7 @@ Ei([
|
|
|
5155
5151
|
$s = Ei([
|
|
5156
5152
|
b("ds-portal", { skipTagAsComponentName: !0 })
|
|
5157
5153
|
], $s);
|
|
5158
|
-
const
|
|
5154
|
+
const hn = h`
|
|
5159
5155
|
.fill {
|
|
5160
5156
|
transition: all 200ms ease-in-out;
|
|
5161
5157
|
}
|
|
@@ -5177,14 +5173,14 @@ let te = class extends Ve {
|
|
|
5177
5173
|
` : c;
|
|
5178
5174
|
}
|
|
5179
5175
|
};
|
|
5180
|
-
te.styles = [...bn(te, te, "styles"),
|
|
5176
|
+
te.styles = [...bn(te, te, "styles"), hn];
|
|
5181
5177
|
Oi([
|
|
5182
5178
|
a({ type: Number })
|
|
5183
5179
|
], te.prototype, "progress", 2);
|
|
5184
5180
|
te = Oi([
|
|
5185
5181
|
b("ds-progress-bar", { skipTagAsComponentName: !0 })
|
|
5186
5182
|
], te);
|
|
5187
|
-
const yn =
|
|
5183
|
+
const yn = h`
|
|
5188
5184
|
:host {
|
|
5189
5185
|
display: contents;
|
|
5190
5186
|
}
|
|
@@ -5266,7 +5262,7 @@ Kt([
|
|
|
5266
5262
|
ft = Kt([
|
|
5267
5263
|
b("ds-radio-button-group")
|
|
5268
5264
|
], ft);
|
|
5269
|
-
const xn =
|
|
5265
|
+
const xn = h`
|
|
5270
5266
|
:host {
|
|
5271
5267
|
display: block;
|
|
5272
5268
|
flex: 0 0 auto;
|
|
@@ -5445,7 +5441,7 @@ F([
|
|
|
5445
5441
|
a({ type: String, attribute: "size" })
|
|
5446
5442
|
], B.prototype, "_size", 2);
|
|
5447
5443
|
F([
|
|
5448
|
-
a({ type: Boolean, attribute: "error" })
|
|
5444
|
+
a({ type: Boolean, attribute: "error", converter: m })
|
|
5449
5445
|
], B.prototype, "_error", 2);
|
|
5450
5446
|
F([
|
|
5451
5447
|
a({ type: String, attribute: "error-text" })
|
|
@@ -5480,7 +5476,7 @@ F([
|
|
|
5480
5476
|
B = F([
|
|
5481
5477
|
b("ds-radio-button")
|
|
5482
5478
|
], B);
|
|
5483
|
-
const Sn =
|
|
5479
|
+
const Sn = h`
|
|
5484
5480
|
:host {
|
|
5485
5481
|
display: flex;
|
|
5486
5482
|
flex-direction: column;
|
|
@@ -5561,7 +5557,7 @@ ge([
|
|
|
5561
5557
|
Et = ge([
|
|
5562
5558
|
b("ds-radio-group", { skipTagAsComponentName: !0 })
|
|
5563
5559
|
], Et);
|
|
5564
|
-
const Cn =
|
|
5560
|
+
const Cn = h`
|
|
5565
5561
|
:host {
|
|
5566
5562
|
display: inline-block;
|
|
5567
5563
|
}
|
|
@@ -5603,7 +5599,7 @@ var En = Object.defineProperty, On = Object.getOwnPropertyDescriptor, St = (t, e
|
|
|
5603
5599
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5604
5600
|
return r && s && En(e, i, s), s;
|
|
5605
5601
|
};
|
|
5606
|
-
let
|
|
5602
|
+
let Z = class extends f {
|
|
5607
5603
|
constructor() {
|
|
5608
5604
|
super(...arguments), this.readonly = !1, this.checked = !1, this.disabled = !1, this.mode = "light", this.size = "large", this.handleClickInput = (t) => {
|
|
5609
5605
|
this.readonly && t.preventDefault();
|
|
@@ -5667,35 +5663,35 @@ let J = class extends f {
|
|
|
5667
5663
|
`;
|
|
5668
5664
|
}
|
|
5669
5665
|
};
|
|
5670
|
-
|
|
5666
|
+
Z.styles = [Cn];
|
|
5671
5667
|
St([
|
|
5672
5668
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5673
|
-
],
|
|
5669
|
+
], Z.prototype, "readonly", 2);
|
|
5674
5670
|
St([
|
|
5675
5671
|
a({ type: String, reflect: !0 })
|
|
5676
|
-
],
|
|
5672
|
+
], Z.prototype, "name", 2);
|
|
5677
5673
|
St([
|
|
5678
5674
|
a({ type: String })
|
|
5679
|
-
],
|
|
5675
|
+
], Z.prototype, "value", 2);
|
|
5680
5676
|
St([
|
|
5681
5677
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5682
|
-
],
|
|
5678
|
+
], Z.prototype, "checked", 2);
|
|
5683
5679
|
St([
|
|
5684
5680
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5685
|
-
],
|
|
5681
|
+
], Z.prototype, "disabled", 2);
|
|
5686
5682
|
St([
|
|
5687
5683
|
a({ type: String, reflect: !0 })
|
|
5688
|
-
],
|
|
5684
|
+
], Z.prototype, "mode", 2);
|
|
5689
5685
|
St([
|
|
5690
5686
|
a({ type: String })
|
|
5691
|
-
],
|
|
5687
|
+
], Z.prototype, "size", 2);
|
|
5692
5688
|
St([
|
|
5693
5689
|
As({ slot: "", flatten: !0 })
|
|
5694
|
-
],
|
|
5695
|
-
|
|
5690
|
+
], Z.prototype, "_defaultSlotNodes", 2);
|
|
5691
|
+
Z = St([
|
|
5696
5692
|
b("ds-radio")
|
|
5697
|
-
],
|
|
5698
|
-
const zn =
|
|
5693
|
+
], Z);
|
|
5694
|
+
const zn = h`
|
|
5699
5695
|
:host {
|
|
5700
5696
|
display: contents;
|
|
5701
5697
|
}
|
|
@@ -5844,7 +5840,7 @@ ct([
|
|
|
5844
5840
|
K = ct([
|
|
5845
5841
|
b("ds-search-input")
|
|
5846
5842
|
], K);
|
|
5847
|
-
const _n =
|
|
5843
|
+
const _n = h`
|
|
5848
5844
|
:host {
|
|
5849
5845
|
display: block;
|
|
5850
5846
|
width: 100%;
|
|
@@ -5854,11 +5850,11 @@ const _n = d`
|
|
|
5854
5850
|
.helper-text {
|
|
5855
5851
|
user-select: none;
|
|
5856
5852
|
}
|
|
5857
|
-
`, Pn =
|
|
5853
|
+
`, Pn = h`
|
|
5858
5854
|
.container {
|
|
5859
5855
|
position: relative;
|
|
5860
5856
|
}
|
|
5861
|
-
`, Nn =
|
|
5857
|
+
`, Nn = h`
|
|
5862
5858
|
.input-field::-webkit-search-decoration,
|
|
5863
5859
|
.input-field::-webkit-search-cancel-button,
|
|
5864
5860
|
.input-field::-webkit-search-results-button,
|
|
@@ -5879,14 +5875,14 @@ const _n = d`
|
|
|
5879
5875
|
.input-field:focus {
|
|
5880
5876
|
outline: none;
|
|
5881
5877
|
}
|
|
5882
|
-
`, Bn =
|
|
5878
|
+
`, Bn = h`
|
|
5883
5879
|
.helper-text {
|
|
5884
5880
|
cursor: pointer;
|
|
5885
5881
|
display: flex;
|
|
5886
5882
|
justify-content: flex-start;
|
|
5887
5883
|
align-items: center;
|
|
5888
5884
|
}
|
|
5889
|
-
`, Ln =
|
|
5885
|
+
`, Ln = h`
|
|
5890
5886
|
.input-container {
|
|
5891
5887
|
align-items: center;
|
|
5892
5888
|
justify-content: center;
|
|
@@ -6088,12 +6084,12 @@ L([
|
|
|
6088
6084
|
_ = L([
|
|
6089
6085
|
b("ds-search")
|
|
6090
6086
|
], _);
|
|
6091
|
-
const jn =
|
|
6087
|
+
const jn = h`
|
|
6092
6088
|
:host {
|
|
6093
6089
|
display: contents;
|
|
6094
6090
|
}
|
|
6095
6091
|
`;
|
|
6096
|
-
var Fn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor,
|
|
6092
|
+
var Fn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, dt = (t, e, i, r) => {
|
|
6097
6093
|
for (var s = r > 1 ? void 0 : r ? Rn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
6098
6094
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
6099
6095
|
return r && s && Fn(e, i, s), s;
|
|
@@ -6125,6 +6121,7 @@ let G = class extends At(f) {
|
|
|
6125
6121
|
get classes() {
|
|
6126
6122
|
return {
|
|
6127
6123
|
nav: !0,
|
|
6124
|
+
"ds-blur": !0,
|
|
6128
6125
|
"scroll-left": this.hasScrollLeft,
|
|
6129
6126
|
"scroll-right": this.hasScrollRight
|
|
6130
6127
|
};
|
|
@@ -6238,7 +6235,7 @@ let G = class extends At(f) {
|
|
|
6238
6235
|
aria-hidden=${!this.openItems}
|
|
6239
6236
|
>
|
|
6240
6237
|
<div
|
|
6241
|
-
class="dropdown"
|
|
6238
|
+
class="dropdown ds-blur"
|
|
6242
6239
|
>
|
|
6243
6240
|
<slot name="items" @slotchange=${this.handleItemsSlotChange} @click=${this.handleItemClick}></slot>
|
|
6244
6241
|
</div>
|
|
@@ -6267,7 +6264,7 @@ let G = class extends At(f) {
|
|
|
6267
6264
|
aria-hidden=${!this.openCtas}
|
|
6268
6265
|
>
|
|
6269
6266
|
<div
|
|
6270
|
-
class="dropdown"
|
|
6267
|
+
class="dropdown ds-blur"
|
|
6271
6268
|
|
|
6272
6269
|
>
|
|
6273
6270
|
<slot name="actions"></slot>
|
|
@@ -6280,37 +6277,37 @@ let G = class extends At(f) {
|
|
|
6280
6277
|
}
|
|
6281
6278
|
};
|
|
6282
6279
|
G.styles = [jn];
|
|
6283
|
-
|
|
6280
|
+
dt([
|
|
6284
6281
|
a({ type: String, attribute: "dropdown-button-text" })
|
|
6285
6282
|
], G.prototype, "dropdownButtonText", 2);
|
|
6286
|
-
|
|
6283
|
+
dt([
|
|
6287
6284
|
a({ type: Number, attribute: "selected-index" })
|
|
6288
6285
|
], G.prototype, "selectedIndex", 2);
|
|
6289
|
-
|
|
6286
|
+
dt([
|
|
6290
6287
|
y()
|
|
6291
6288
|
], G.prototype, "openItems", 2);
|
|
6292
|
-
|
|
6289
|
+
dt([
|
|
6293
6290
|
y()
|
|
6294
6291
|
], G.prototype, "openCtas", 2);
|
|
6295
|
-
|
|
6292
|
+
dt([
|
|
6296
6293
|
y()
|
|
6297
6294
|
], G.prototype, "hasScrollLeft", 2);
|
|
6298
|
-
|
|
6295
|
+
dt([
|
|
6299
6296
|
y()
|
|
6300
6297
|
], G.prototype, "hasScrollRight", 2);
|
|
6301
|
-
|
|
6298
|
+
dt([
|
|
6302
6299
|
tt({ slot: "items" })
|
|
6303
6300
|
], G.prototype, "items", 2);
|
|
6304
|
-
|
|
6301
|
+
dt([
|
|
6305
6302
|
tt({ slot: "actions" })
|
|
6306
6303
|
], G.prototype, "ctas", 2);
|
|
6307
|
-
|
|
6304
|
+
dt([
|
|
6308
6305
|
lt(".items-container")
|
|
6309
6306
|
], G.prototype, "itemsContainer", 2);
|
|
6310
|
-
G =
|
|
6307
|
+
G = dt([
|
|
6311
6308
|
b("ds-secondary-navigation")
|
|
6312
6309
|
], G);
|
|
6313
|
-
const Un =
|
|
6310
|
+
const Un = h`
|
|
6314
6311
|
:host {
|
|
6315
6312
|
display: flex;
|
|
6316
6313
|
flex: 1 1 auto;
|
|
@@ -6359,12 +6356,12 @@ const Un = d`
|
|
|
6359
6356
|
flex-shrink: 0;
|
|
6360
6357
|
}
|
|
6361
6358
|
`;
|
|
6362
|
-
var Vn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor,
|
|
6359
|
+
var Vn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, ds = (t, e, i, r) => {
|
|
6363
6360
|
for (var s = r > 1 ? void 0 : r ? Hn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
6364
6361
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
6365
6362
|
return r && s && Vn(e, i, s), s;
|
|
6366
6363
|
};
|
|
6367
|
-
let
|
|
6364
|
+
let de = class extends f {
|
|
6368
6365
|
constructor() {
|
|
6369
6366
|
super(...arguments), this.size = "medium", this.fullWidth = !1;
|
|
6370
6367
|
}
|
|
@@ -6400,23 +6397,23 @@ let he = class extends f {
|
|
|
6400
6397
|
`;
|
|
6401
6398
|
}
|
|
6402
6399
|
};
|
|
6403
|
-
|
|
6404
|
-
|
|
6400
|
+
de.styles = [Un];
|
|
6401
|
+
ds([
|
|
6405
6402
|
a({ type: String })
|
|
6406
|
-
],
|
|
6407
|
-
|
|
6403
|
+
], de.prototype, "size", 2);
|
|
6404
|
+
ds([
|
|
6408
6405
|
a({
|
|
6409
6406
|
type: Boolean,
|
|
6410
6407
|
converter: m,
|
|
6411
6408
|
attribute: "full-width"
|
|
6412
6409
|
})
|
|
6413
|
-
],
|
|
6414
|
-
|
|
6410
|
+
], de.prototype, "fullWidth", 2);
|
|
6411
|
+
ds([
|
|
6415
6412
|
tt({ slot: "", flatten: !0 })
|
|
6416
|
-
],
|
|
6417
|
-
|
|
6413
|
+
], de.prototype, "slottedElements", 2);
|
|
6414
|
+
de = ds([
|
|
6418
6415
|
b("ds-segmented-control")
|
|
6419
|
-
],
|
|
6416
|
+
], de);
|
|
6420
6417
|
const ws = class {
|
|
6421
6418
|
static handleKeydownWhenOpen(e, i) {
|
|
6422
6419
|
switch (this.KEYS_WHEN_OPEN.has(e.key) && e.preventDefault(), e.key) {
|
|
@@ -6447,7 +6444,7 @@ const ws = class {
|
|
|
6447
6444
|
};
|
|
6448
6445
|
ws.KEYS_WHEN_OPEN = /* @__PURE__ */ new Set(["ArrowDown", "ArrowUp", "Home", "End", "Enter", "Escape", " "]), ws.KEYS_WHEN_CLOSED = /* @__PURE__ */ new Set(["ArrowDown", "ArrowUp", " "]);
|
|
6449
6446
|
let li = ws;
|
|
6450
|
-
const Wn =
|
|
6447
|
+
const Wn = h`
|
|
6451
6448
|
:host {
|
|
6452
6449
|
display: contents;
|
|
6453
6450
|
}
|
|
@@ -6623,8 +6620,8 @@ let I = class extends f {
|
|
|
6623
6620
|
if (o.nodeType !== 3)
|
|
6624
6621
|
return n;
|
|
6625
6622
|
if (o.textContent.trim() === "") return "";
|
|
6626
|
-
const
|
|
6627
|
-
return
|
|
6623
|
+
const d = document.createElement("span");
|
|
6624
|
+
return d.classList.add("text"), d.appendChild(n), d;
|
|
6628
6625
|
});
|
|
6629
6626
|
return l`
|
|
6630
6627
|
<div class="select-outline">
|
|
@@ -6728,7 +6725,7 @@ R([
|
|
|
6728
6725
|
I = R([
|
|
6729
6726
|
b("ds-select")
|
|
6730
6727
|
], I);
|
|
6731
|
-
const Gn =
|
|
6728
|
+
const Gn = h`
|
|
6732
6729
|
:host {
|
|
6733
6730
|
display: inline-block;
|
|
6734
6731
|
}
|
|
@@ -6790,9 +6787,9 @@ const ci = (t, e, i = 10) => {
|
|
|
6790
6787
|
const r = Math.pow(10, i), s = Math.round(t * r), o = Math.round(e * r);
|
|
6791
6788
|
return (s + o) / r;
|
|
6792
6789
|
}, Te = ({ step: t = 1, min: e = 0, max: i = 100, proposedValue: r, role: s, currentValues: o }) => {
|
|
6793
|
-
const n = s === "min" ? 1 : 2,
|
|
6790
|
+
const n = s === "min" ? 1 : 2, d = r;
|
|
6794
6791
|
let u, g = e, $ = i;
|
|
6795
|
-
return Number.isFinite(
|
|
6792
|
+
return Number.isFinite(d) ? (Object.keys(o).forEach((v) => {
|
|
6796
6793
|
if (Number(v) < n && o[v] >= g) {
|
|
6797
6794
|
if (g = o[v], t === 0) return;
|
|
6798
6795
|
let x = e;
|
|
@@ -6806,11 +6803,11 @@ const ci = (t, e, i = 10) => {
|
|
|
6806
6803
|
$ = x;
|
|
6807
6804
|
}
|
|
6808
6805
|
g = ms({ value: g, min: e, max: i }), $ = ms({ value: $, min: e, max: i });
|
|
6809
|
-
}),
|
|
6810
|
-
},
|
|
6806
|
+
}), d <= g || d >= $ ? (u = Math.max(g, Math.min($, d)), { stepValue: u, minLimit: g, maxLimit: $ }) : t === 0 ? { stepValue: d, minLimit: g, maxLimit: $ } : (u = Math.round((d - g) / t) * t + g, u = d - u > $ - d ? $ : u, u = ms({ value: u, min: g, max: $ }), { stepValue: u, minLimit: g, maxLimit: $ })) : { stepValue: o[String(n)], minLimit: g, maxLimit: $ };
|
|
6807
|
+
}, Jn = ({ value: t, fractionDigits: e }) => {
|
|
6811
6808
|
const i = Math.pow(10, e);
|
|
6812
6809
|
return Math.round(t * i) / i;
|
|
6813
|
-
},
|
|
6810
|
+
}, Zn = h`
|
|
6814
6811
|
:host {
|
|
6815
6812
|
display: block;
|
|
6816
6813
|
}
|
|
@@ -6965,7 +6962,7 @@ let w = class extends At(f) {
|
|
|
6965
6962
|
return e === 0 ? 0 : (t - this.min) / e * 100;
|
|
6966
6963
|
}
|
|
6967
6964
|
handleChange({ value: t, role: e }) {
|
|
6968
|
-
const i =
|
|
6965
|
+
const i = Jn({ value: t, fractionDigits: this.maximumFractionDigits }), r = e === "min" ? "valueMin" : "valueMax";
|
|
6969
6966
|
this[r] !== i && (this[r] = i, this.dispatchEvent(
|
|
6970
6967
|
new CustomEvent("change", {
|
|
6971
6968
|
bubbles: !0,
|
|
@@ -7081,7 +7078,7 @@ let w = class extends At(f) {
|
|
|
7081
7078
|
formattedValue: s,
|
|
7082
7079
|
unitSymbol: o,
|
|
7083
7080
|
unitSymbolPosition: n
|
|
7084
|
-
} = this.formatNumber(r),
|
|
7081
|
+
} = this.formatNumber(r), d = this.unitSymbolPosition ?? n, u = this.unitSymbol ?? o, g = u ? d === "left" ? `${u} ${s}` : `${s} ${u}` : `${s}`, $ = i ? "number" : "text", v = i ? String(r ?? "") : g, x = t === 1 ? this.inputMinAriaLabel : this.inputMaxAriaLabel, S = typeof this.initialValueMax == "number" ? t === 1 ? "Start value" : "End value" : "Value", T = x ?? S;
|
|
7085
7082
|
return l`
|
|
7086
7083
|
<div class="input-wrapper">
|
|
7087
7084
|
<input
|
|
@@ -7144,7 +7141,7 @@ let w = class extends At(f) {
|
|
|
7144
7141
|
`;
|
|
7145
7142
|
}
|
|
7146
7143
|
};
|
|
7147
|
-
w.styles = [
|
|
7144
|
+
w.styles = [Zn, ea, sa, Qn, ta];
|
|
7148
7145
|
k([
|
|
7149
7146
|
a({ type: Number })
|
|
7150
7147
|
], w.prototype, "min", 2);
|
|
@@ -7248,12 +7245,12 @@ k([
|
|
|
7248
7245
|
w = k([
|
|
7249
7246
|
b("ds-slider")
|
|
7250
7247
|
], w);
|
|
7251
|
-
const oa =
|
|
7248
|
+
const oa = h`
|
|
7252
7249
|
:host {
|
|
7253
7250
|
display: block;
|
|
7254
7251
|
width: 100%;
|
|
7255
7252
|
}
|
|
7256
|
-
`, na =
|
|
7253
|
+
`, na = h`
|
|
7257
7254
|
nav {
|
|
7258
7255
|
display: flex;
|
|
7259
7256
|
justify-content: flex-start;
|
|
@@ -7309,7 +7306,7 @@ const oa = d`
|
|
|
7309
7306
|
.nav-container:hover .nav-arrow {
|
|
7310
7307
|
visibility: visible;
|
|
7311
7308
|
}
|
|
7312
|
-
`, aa =
|
|
7309
|
+
`, aa = h`
|
|
7313
7310
|
::slotted([slot='tab']) {
|
|
7314
7311
|
white-space: nowrap;
|
|
7315
7312
|
-webkit-user-select: none;
|
|
@@ -7327,7 +7324,7 @@ const oa = d`
|
|
|
7327
7324
|
::slotted([slot='tab'][selected]) {
|
|
7328
7325
|
cursor: auto;
|
|
7329
7326
|
}
|
|
7330
|
-
`, la =
|
|
7327
|
+
`, la = h`
|
|
7331
7328
|
::slotted([slot='panel']) {
|
|
7332
7329
|
display: none;
|
|
7333
7330
|
}
|
|
@@ -7345,10 +7342,10 @@ const oa = d`
|
|
|
7345
7342
|
"icon-button-variant": "primary"
|
|
7346
7343
|
}
|
|
7347
7344
|
};
|
|
7348
|
-
var
|
|
7349
|
-
for (var s = r > 1 ? void 0 : r ?
|
|
7345
|
+
var da = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, X = (t, e, i, r) => {
|
|
7346
|
+
for (var s = r > 1 ? void 0 : r ? ha(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7350
7347
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7351
|
-
return r && s &&
|
|
7348
|
+
return r && s && da(e, i, s), s;
|
|
7352
7349
|
};
|
|
7353
7350
|
let D = class extends f {
|
|
7354
7351
|
constructor() {
|
|
@@ -7436,9 +7433,9 @@ let D = class extends f {
|
|
|
7436
7433
|
}
|
|
7437
7434
|
selectTab(t) {
|
|
7438
7435
|
var e, i, r, s, o;
|
|
7439
|
-
(e = this.tabs) == null || e.forEach((
|
|
7440
|
-
|
|
7441
|
-
}), (i = this.tabs[t]) == null || i.setAttribute("selected", ""), this.panels.forEach((
|
|
7436
|
+
(e = this.tabs) == null || e.forEach((d, u) => {
|
|
7437
|
+
d.removeAttribute("selected"), d.setAttribute("aria-selected", u === t ? "true" : "false");
|
|
7438
|
+
}), (i = this.tabs[t]) == null || i.setAttribute("selected", ""), this.panels.forEach((d) => d.removeAttribute("selected")), (r = this.panels[t]) == null || r.setAttribute("selected", "");
|
|
7442
7439
|
const n = (s = this.tabs) == null ? void 0 : s[this.selectedTab];
|
|
7443
7440
|
this.nav.scrollLeft = (n == null ? void 0 : n.offsetLeft) - ((o = this.nav) == null ? void 0 : o.offsetWidth) / 2;
|
|
7444
7441
|
}
|
|
@@ -7621,7 +7618,7 @@ Gt([
|
|
|
7621
7618
|
xt = Gt([
|
|
7622
7619
|
b("ds-tag")
|
|
7623
7620
|
], xt);
|
|
7624
|
-
const ba =
|
|
7621
|
+
const ba = h`
|
|
7625
7622
|
:host {
|
|
7626
7623
|
display: contents;
|
|
7627
7624
|
}
|
|
@@ -7712,7 +7709,7 @@ kt([
|
|
|
7712
7709
|
Q = kt([
|
|
7713
7710
|
b("ds-text")
|
|
7714
7711
|
], Q);
|
|
7715
|
-
const fa =
|
|
7712
|
+
const fa = h`
|
|
7716
7713
|
:host {
|
|
7717
7714
|
display: contents;
|
|
7718
7715
|
}
|
|
@@ -7860,7 +7857,7 @@ let Ft = class extends pt {
|
|
|
7860
7857
|
}
|
|
7861
7858
|
loadThemeStyles() {
|
|
7862
7859
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7863
|
-
const i = "/0.
|
|
7860
|
+
const i = "/1.0.0-canary.2", r = `https://ds-assets.cupra.com${i}/styles/${this.theme}/theme.css`;
|
|
7864
7861
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7865
7862
|
else {
|
|
7866
7863
|
const s = `ui-kit-theme-${i}`, o = document.getElementById(s), n = document.createElement("link");
|
|
@@ -7891,7 +7888,7 @@ xe([
|
|
|
7891
7888
|
Ft = xe([
|
|
7892
7889
|
b("ds-theme-provider")
|
|
7893
7890
|
], Ft);
|
|
7894
|
-
const Ta =
|
|
7891
|
+
const Ta = h`
|
|
7895
7892
|
:host {
|
|
7896
7893
|
display: contents;
|
|
7897
7894
|
}
|
|
@@ -7997,7 +7994,7 @@ class Qt {
|
|
|
7997
7994
|
exiting: !1
|
|
7998
7995
|
};
|
|
7999
7996
|
n.timeoutId = window.setTimeout(() => {
|
|
8000
|
-
this.toasts.find((
|
|
7997
|
+
this.toasts.find((d) => d.id === i).exiting = !0, this.notifySubscribers();
|
|
8001
7998
|
}, s), this.toasts = [...this.toasts, n], this.notifySubscribers();
|
|
8002
7999
|
}, this.handleRemoveToast = (e) => {
|
|
8003
8000
|
const { id: i, referenceId: r } = e.detail || {};
|
|
@@ -8029,23 +8026,23 @@ class Qt {
|
|
|
8029
8026
|
this.subscribers.forEach((i) => i(e));
|
|
8030
8027
|
}
|
|
8031
8028
|
}
|
|
8032
|
-
const
|
|
8029
|
+
const di = Qt.getInstance();
|
|
8033
8030
|
/**
|
|
8034
8031
|
* @license
|
|
8035
8032
|
* Copyright 2020 Google LLC
|
|
8036
8033
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8037
8034
|
*/
|
|
8038
|
-
const { I: Ia } = tr,
|
|
8035
|
+
const { I: Ia } = tr, hi = () => document.createComment(""), Ce = (t, e, i) => {
|
|
8039
8036
|
var r;
|
|
8040
8037
|
const s = t._$AA.parentNode, o = e === void 0 ? t._$AB : e._$AA;
|
|
8041
8038
|
if (i === void 0) {
|
|
8042
|
-
const n = s.insertBefore(
|
|
8043
|
-
i = new Ia(n,
|
|
8039
|
+
const n = s.insertBefore(hi(), o), d = s.insertBefore(hi(), o);
|
|
8040
|
+
i = new Ia(n, d, t, t.options);
|
|
8044
8041
|
} else {
|
|
8045
|
-
const n = i._$AB.nextSibling,
|
|
8042
|
+
const n = i._$AB.nextSibling, d = i._$AM, u = d !== t;
|
|
8046
8043
|
if (u) {
|
|
8047
8044
|
let g;
|
|
8048
|
-
(r = i._$AQ) == null || r.call(i, t), i._$AM = t, i._$AP !== void 0 && (g = t._$AU) !==
|
|
8045
|
+
(r = i._$AQ) == null || r.call(i, t), i._$AM = t, i._$AP !== void 0 && (g = t._$AU) !== d._$AU && i._$AP(g);
|
|
8049
8046
|
}
|
|
8050
8047
|
if (n !== o || u) {
|
|
8051
8048
|
let g = i._$AA;
|
|
@@ -8077,7 +8074,7 @@ const pi = (t, e, i) => {
|
|
|
8077
8074
|
i === void 0 ? i = e : e !== void 0 && (r = e);
|
|
8078
8075
|
const s = [], o = [];
|
|
8079
8076
|
let n = 0;
|
|
8080
|
-
for (const
|
|
8077
|
+
for (const d of t) s[n] = r ? r(d, n) : n, o[n] = i(d, n), n++;
|
|
8081
8078
|
return { values: o, keys: s };
|
|
8082
8079
|
}
|
|
8083
8080
|
render(t, e, i) {
|
|
@@ -8086,20 +8083,20 @@ const pi = (t, e, i) => {
|
|
|
8086
8083
|
update(t, [e, i, r]) {
|
|
8087
8084
|
const s = Pa(t), { values: o, keys: n } = this.dt(e, i, r);
|
|
8088
8085
|
if (!Array.isArray(s)) return this.ut = n, o;
|
|
8089
|
-
const
|
|
8086
|
+
const d = this.ut ?? (this.ut = []), u = [];
|
|
8090
8087
|
let g, $, v = 0, x = s.length - 1, S = 0, T = o.length - 1;
|
|
8091
8088
|
for (; v <= x && S <= T; ) if (s[v] === null) v++;
|
|
8092
8089
|
else if (s[x] === null) x--;
|
|
8093
|
-
else if (
|
|
8094
|
-
else if (
|
|
8095
|
-
else if (
|
|
8096
|
-
else if (
|
|
8097
|
-
else if (g === void 0 && (g = pi(n, S, T), $ = pi(
|
|
8098
|
-
const z = $.get(n[S]),
|
|
8099
|
-
if (
|
|
8090
|
+
else if (d[v] === n[S]) u[S] = Nt(s[v], o[S]), v++, S++;
|
|
8091
|
+
else if (d[x] === n[T]) u[T] = Nt(s[x], o[T]), x--, T--;
|
|
8092
|
+
else if (d[v] === n[T]) u[T] = Nt(s[v], o[T]), Ce(t, u[T + 1], s[v]), v++, T--;
|
|
8093
|
+
else if (d[x] === n[S]) u[S] = Nt(s[x], o[S]), Ce(t, s[v], s[x]), x--, S++;
|
|
8094
|
+
else if (g === void 0 && (g = pi(n, S, T), $ = pi(d, v, x)), g.has(d[v])) if (g.has(d[x])) {
|
|
8095
|
+
const z = $.get(n[S]), ht = z !== void 0 ? s[z] : null;
|
|
8096
|
+
if (ht === null) {
|
|
8100
8097
|
const Se = Ce(t, s[v]);
|
|
8101
8098
|
Nt(Se, o[S]), u[S] = Se;
|
|
8102
|
-
} else u[S] = Nt(
|
|
8099
|
+
} else u[S] = Nt(ht, o[S]), Ce(t, s[v], ht), s[z] = null;
|
|
8103
8100
|
S++;
|
|
8104
8101
|
} else vs(s[x]), x--;
|
|
8105
8102
|
else vs(s[v]), v++;
|
|
@@ -8113,7 +8110,7 @@ const pi = (t, e, i) => {
|
|
|
8113
8110
|
}
|
|
8114
8111
|
return this.ut = n, _a(t, u), ut;
|
|
8115
8112
|
}
|
|
8116
|
-
}), Ba =
|
|
8113
|
+
}), Ba = h`
|
|
8117
8114
|
:host {
|
|
8118
8115
|
display: contents;
|
|
8119
8116
|
}
|
|
@@ -8154,7 +8151,7 @@ const pi = (t, e, i) => {
|
|
|
8154
8151
|
left: 1rem;
|
|
8155
8152
|
align-items: flex-start;
|
|
8156
8153
|
}
|
|
8157
|
-
`, La =
|
|
8154
|
+
`, La = h`
|
|
8158
8155
|
.toast {
|
|
8159
8156
|
margin-bottom: 1rem;
|
|
8160
8157
|
animation: toast-in-top 0.3s cubic-bezier(0, 0, 0.2, 1) forwards;
|
|
@@ -8227,7 +8224,7 @@ let Me = class extends f {
|
|
|
8227
8224
|
super(...arguments), this.position = "top-right", this.toasts = [], this.unsubscribe = null;
|
|
8228
8225
|
}
|
|
8229
8226
|
connectedCallback() {
|
|
8230
|
-
super.connectedCallback(), this.unsubscribe =
|
|
8227
|
+
super.connectedCallback(), this.unsubscribe = di.subscribe((t) => {
|
|
8231
8228
|
this.toasts = t;
|
|
8232
8229
|
});
|
|
8233
8230
|
}
|
|
@@ -8238,7 +8235,7 @@ let Me = class extends f {
|
|
|
8238
8235
|
const e = t.target;
|
|
8239
8236
|
if (e.classList.contains("exiting") && (t.animationName === "toast-out-left" || t.animationName === "toast-out-right")) {
|
|
8240
8237
|
const i = e.getAttribute("data-id");
|
|
8241
|
-
i &&
|
|
8238
|
+
i && di.removeToast(i);
|
|
8242
8239
|
}
|
|
8243
8240
|
}
|
|
8244
8241
|
getToastMessageTemplate(t) {
|
|
@@ -8302,7 +8299,7 @@ var ja = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, qe = (t, e
|
|
|
8302
8299
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8303
8300
|
return r && s && ja(e, i, s), s;
|
|
8304
8301
|
};
|
|
8305
|
-
let
|
|
8302
|
+
let he = class extends O {
|
|
8306
8303
|
constructor() {
|
|
8307
8304
|
super(...arguments), this.checked = !1, this.checkedText = "", this.uncheckedText = "", this.rounded = !0;
|
|
8308
8305
|
}
|
|
@@ -8345,20 +8342,20 @@ let de = class extends O {
|
|
|
8345
8342
|
};
|
|
8346
8343
|
qe([
|
|
8347
8344
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
8348
|
-
],
|
|
8345
|
+
], he.prototype, "checked", 2);
|
|
8349
8346
|
qe([
|
|
8350
8347
|
a({ type: String, attribute: "checked-text" })
|
|
8351
|
-
],
|
|
8348
|
+
], he.prototype, "checkedText", 2);
|
|
8352
8349
|
qe([
|
|
8353
8350
|
a({ type: String, attribute: "unchecked-text" })
|
|
8354
|
-
],
|
|
8351
|
+
], he.prototype, "uncheckedText", 2);
|
|
8355
8352
|
qe([
|
|
8356
8353
|
a({ type: Boolean, converter: m })
|
|
8357
|
-
],
|
|
8358
|
-
|
|
8354
|
+
], he.prototype, "rounded", 2);
|
|
8355
|
+
he = qe([
|
|
8359
8356
|
b("ds-toggle-button", { skipTagAsComponentName: !0, extendComponentNames: ["ds-button"] })
|
|
8360
|
-
],
|
|
8361
|
-
const Ra =
|
|
8357
|
+
], he);
|
|
8358
|
+
const Ra = h`
|
|
8362
8359
|
.container {
|
|
8363
8360
|
display: flex;
|
|
8364
8361
|
justify-content: flex-start;
|
|
@@ -8485,7 +8482,7 @@ we([
|
|
|
8485
8482
|
It = we([
|
|
8486
8483
|
b("ds-toggle-switch")
|
|
8487
8484
|
], It);
|
|
8488
|
-
const Ha =
|
|
8485
|
+
const Ha = h`
|
|
8489
8486
|
:host {
|
|
8490
8487
|
position: relative;
|
|
8491
8488
|
display: inline-block;
|
|
@@ -8504,7 +8501,7 @@ const Ha = d`
|
|
|
8504
8501
|
grid-template-columns: 1fr 1fr;
|
|
8505
8502
|
justify-content: flex-end;
|
|
8506
8503
|
}
|
|
8507
|
-
`, Wa =
|
|
8504
|
+
`, Wa = h`
|
|
8508
8505
|
.tooltip {
|
|
8509
8506
|
width: max-content;
|
|
8510
8507
|
white-space: normal;
|
|
@@ -8573,7 +8570,7 @@ const Ha = d`
|
|
|
8573
8570
|
bottom: 0;
|
|
8574
8571
|
transform: none;
|
|
8575
8572
|
}
|
|
8576
|
-
`, qa =
|
|
8573
|
+
`, qa = h`
|
|
8577
8574
|
.arrow {
|
|
8578
8575
|
width: 0;
|
|
8579
8576
|
height: 0;
|
|
@@ -8821,13 +8818,13 @@ q([
|
|
|
8821
8818
|
M = q([
|
|
8822
8819
|
b("ds-tooltip")
|
|
8823
8820
|
], M);
|
|
8824
|
-
const Ya =
|
|
8821
|
+
const Ya = h`
|
|
8825
8822
|
:host {
|
|
8826
8823
|
display: contents;
|
|
8827
8824
|
}
|
|
8828
8825
|
`;
|
|
8829
|
-
var Xa = Object.defineProperty,
|
|
8830
|
-
for (var s = r > 1 ? void 0 : r ?
|
|
8826
|
+
var Xa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Ke = (t, e, i, r) => {
|
|
8827
|
+
for (var s = r > 1 ? void 0 : r ? Ja(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
8831
8828
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8832
8829
|
return r && s && Xa(e, i, s), s;
|
|
8833
8830
|
};
|
|
@@ -8913,7 +8910,7 @@ Ke([
|
|
|
8913
8910
|
Rt = Ke([
|
|
8914
8911
|
b("ds-avatar")
|
|
8915
8912
|
], Rt);
|
|
8916
|
-
const
|
|
8913
|
+
const Za = h`
|
|
8917
8914
|
:host {
|
|
8918
8915
|
display: contents;
|
|
8919
8916
|
}
|
|
@@ -8954,7 +8951,7 @@ let De = class extends f {
|
|
|
8954
8951
|
`;
|
|
8955
8952
|
}
|
|
8956
8953
|
};
|
|
8957
|
-
De.styles = [
|
|
8954
|
+
De.styles = [Za];
|
|
8958
8955
|
Us([
|
|
8959
8956
|
a({ type: Number, attribute: "steps", reflect: !0 })
|
|
8960
8957
|
], De.prototype, "steps", 2);
|
|
@@ -8964,12 +8961,12 @@ Us([
|
|
|
8964
8961
|
De = Us([
|
|
8965
8962
|
b("ds-stepper")
|
|
8966
8963
|
], De);
|
|
8967
|
-
const el =
|
|
8964
|
+
const el = h`
|
|
8968
8965
|
:host {
|
|
8969
8966
|
display: contents;
|
|
8970
8967
|
}
|
|
8971
8968
|
`;
|
|
8972
|
-
var sl = Object.defineProperty, il = Object.getOwnPropertyDescriptor,
|
|
8969
|
+
var sl = Object.defineProperty, il = Object.getOwnPropertyDescriptor, hs = (t, e, i, r) => {
|
|
8973
8970
|
for (var s = r > 1 ? void 0 : r ? il(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
8974
8971
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8975
8972
|
return r && s && sl(e, i, s), s;
|
|
@@ -9019,19 +9016,19 @@ let pe = class extends At(f) {
|
|
|
9019
9016
|
}
|
|
9020
9017
|
};
|
|
9021
9018
|
pe.styles = [el];
|
|
9022
|
-
|
|
9019
|
+
hs([
|
|
9023
9020
|
a({ type: String, converter: Fe })
|
|
9024
9021
|
], pe.prototype, "size", 2);
|
|
9025
|
-
|
|
9022
|
+
hs([
|
|
9026
9023
|
As({ slot: "header", flatten: !0 })
|
|
9027
9024
|
], pe.prototype, "headerItems", 2);
|
|
9028
|
-
|
|
9025
|
+
hs([
|
|
9029
9026
|
As({ slot: "footer", flatten: !0 })
|
|
9030
9027
|
], pe.prototype, "footerItems", 2);
|
|
9031
|
-
pe =
|
|
9028
|
+
pe = hs([
|
|
9032
9029
|
b("ds-static-box")
|
|
9033
9030
|
], pe);
|
|
9034
|
-
const rl =
|
|
9031
|
+
const rl = h`
|
|
9035
9032
|
:host {
|
|
9036
9033
|
display: contents;
|
|
9037
9034
|
}
|
|
@@ -9070,7 +9067,7 @@ let ue = class extends f {
|
|
|
9070
9067
|
}
|
|
9071
9068
|
get contentTemplate() {
|
|
9072
9069
|
return this.error ? c : l`
|
|
9073
|
-
<div part="container" class=${p(this.classes)} data-testid="ds-interactive-card-container">
|
|
9070
|
+
<div part="container" class=${p(this.classes)} data-testid="ds-interactive-card-container" tabindex="0">
|
|
9074
9071
|
<header class="header" part="header">
|
|
9075
9072
|
<div class="header-main">
|
|
9076
9073
|
<slot name="title" class="title" part="title"></slot>
|
|
@@ -9114,7 +9111,7 @@ ps([
|
|
|
9114
9111
|
ue = ps([
|
|
9115
9112
|
b("ds-interactive-card")
|
|
9116
9113
|
], ue);
|
|
9117
|
-
const al =
|
|
9114
|
+
const al = h`
|
|
9118
9115
|
:host {
|
|
9119
9116
|
display: contents;
|
|
9120
9117
|
}
|
|
@@ -9145,7 +9142,18 @@ let je = class extends f {
|
|
|
9145
9142
|
const e = t.target.assignedElements().find((i) => i.tagName === "DS-BUTTON");
|
|
9146
9143
|
this.setMainCtaSize(e);
|
|
9147
9144
|
}, this.setMainCtaSize = (t) => {
|
|
9148
|
-
t &&
|
|
9145
|
+
t && t.setAttribute(
|
|
9146
|
+
"size",
|
|
9147
|
+
JSON.stringify({
|
|
9148
|
+
xxl: "large",
|
|
9149
|
+
xl: "large",
|
|
9150
|
+
l: "medium",
|
|
9151
|
+
m: "medium",
|
|
9152
|
+
s: "small",
|
|
9153
|
+
xs: "small",
|
|
9154
|
+
xxs: "small"
|
|
9155
|
+
})
|
|
9156
|
+
);
|
|
9149
9157
|
};
|
|
9150
9158
|
}
|
|
9151
9159
|
firstUpdated(t) {
|
|
@@ -9161,7 +9169,15 @@ let je = class extends f {
|
|
|
9161
9169
|
"@click": this.toggleModal,
|
|
9162
9170
|
"data-testid": "modal-button",
|
|
9163
9171
|
"data-aria-label": "more actions",
|
|
9164
|
-
size: {
|
|
9172
|
+
size: JSON.stringify({
|
|
9173
|
+
xxl: "large",
|
|
9174
|
+
xl: "large",
|
|
9175
|
+
l: "medium",
|
|
9176
|
+
m: "medium",
|
|
9177
|
+
s: "small",
|
|
9178
|
+
xs: "small",
|
|
9179
|
+
xxs: "small"
|
|
9180
|
+
})
|
|
9165
9181
|
});
|
|
9166
9182
|
}
|
|
9167
9183
|
classes() {
|