@cupra/ui-react 1.0.0-canary.5 → 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/packages/ui-kit/dist-react/index.js +781 -776
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { breakpoints as
|
|
1
|
+
import { breakpoints as Lt } from "./utils/breakpoints.js";
|
|
2
2
|
import { debounce as Ss } from "./utils/debounce.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -108,7 +108,7 @@ let Li = class extends Event {
|
|
|
108
108
|
* Copyright 2017 Google LLC
|
|
109
109
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
110
|
*/
|
|
111
|
-
function
|
|
111
|
+
function ve({ context: t }) {
|
|
112
112
|
return (e, i) => {
|
|
113
113
|
const r = /* @__PURE__ */ new WeakMap();
|
|
114
114
|
if (typeof i == "object") return { get() {
|
|
@@ -160,12 +160,12 @@ function mi({ context: t, subscribe: e }) {
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
const ks = "theme";
|
|
163
|
-
class
|
|
163
|
+
class Jt {
|
|
164
164
|
constructor() {
|
|
165
165
|
this.subscribers = {}, this.lastPublishedData = {};
|
|
166
166
|
}
|
|
167
167
|
static getInstance() {
|
|
168
|
-
return
|
|
168
|
+
return Jt.instance || (Jt.instance = new Jt()), Jt.instance;
|
|
169
169
|
}
|
|
170
170
|
subscribe(e, i) {
|
|
171
171
|
return this.subscribers[e] || (this.subscribers[e] = []), this.subscribers[e].push(i), this.lastPublishedData[e];
|
|
@@ -183,15 +183,15 @@ class Xt {
|
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
class
|
|
186
|
+
const se = Jt.getInstance();
|
|
187
|
+
class Zt {
|
|
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/1.0.0-canary.
|
|
194
|
+
const r = `https://ds-assets.cupra.com/1.0.0-canary.5/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,16 +209,16 @@ class Jt {
|
|
|
209
209
|
return this.stylePromises.get(e);
|
|
210
210
|
}
|
|
211
211
|
static getInstance() {
|
|
212
|
-
return
|
|
212
|
+
return Zt.instance || (Zt.instance = new Zt()), Zt.instance;
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
const Mi =
|
|
215
|
+
const Mi = Zt.getInstance();
|
|
216
216
|
/**
|
|
217
217
|
* @license
|
|
218
218
|
* Copyright 2019 Google LLC
|
|
219
219
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
220
220
|
*/
|
|
221
|
-
const
|
|
221
|
+
const Ye = globalThis, Ts = Ye.ShadowRoot && (Ye.ShadyCSS === void 0 || Ye.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cs = Symbol(), Ws = /* @__PURE__ */ new WeakMap();
|
|
222
222
|
let vi = class {
|
|
223
223
|
constructor(t, e, i) {
|
|
224
224
|
if (this._$cssResult$ = !0, i !== Cs) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -247,7 +247,7 @@ const bi = (t) => new vi(typeof t == "string" ? t : t + "", void 0, Cs), h = (t,
|
|
|
247
247
|
}, Es = (t, e) => {
|
|
248
248
|
if (Ts) t.adoptedStyleSheets = e.map(((i) => i instanceof CSSStyleSheet ? i : i.styleSheet));
|
|
249
249
|
else for (const i of e) {
|
|
250
|
-
const r = document.createElement("style"), s =
|
|
250
|
+
const r = document.createElement("style"), s = Ye.litNonce;
|
|
251
251
|
s !== void 0 && r.setAttribute("nonce", s), r.textContent = i.cssText, t.appendChild(r);
|
|
252
252
|
}
|
|
253
253
|
}, qs = Ts ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
|
|
@@ -260,7 +260,7 @@ const bi = (t) => new vi(typeof t == "string" ? t : t + "", void 0, Cs), h = (t,
|
|
|
260
260
|
* Copyright 2017 Google LLC
|
|
261
261
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
262
262
|
*/
|
|
263
|
-
const { is: Di, defineProperty: ji, getOwnPropertyDescriptor: Fi, getOwnPropertyNames: Ri, getOwnPropertySymbols: Ui, getPrototypeOf: Vi } = Object,
|
|
263
|
+
const { is: Di, defineProperty: ji, getOwnPropertyDescriptor: Fi, getOwnPropertyNames: Ri, getOwnPropertySymbols: Ui, getPrototypeOf: Vi } = Object, ie = globalThis, Ks = ie.trustedTypes, Hi = Ks ? Ks.emptyScript : "", Ys = ie.reactiveElementPolyfillSupport, ze = (t, e) => t, Ge = { toAttribute(t, e) {
|
|
264
264
|
switch (e) {
|
|
265
265
|
case Boolean:
|
|
266
266
|
t = t ? Hi : null;
|
|
@@ -288,16 +288,16 @@ const { is: Di, defineProperty: ji, getOwnPropertyDescriptor: Fi, getOwnProperty
|
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
return i;
|
|
291
|
-
} }, Os = (t, e) => !Di(t, e),
|
|
292
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
293
|
-
let
|
|
291
|
+
} }, Os = (t, e) => !Di(t, e), Gs = { attribute: !0, type: String, converter: Ge, reflect: !1, useDefault: !1, hasChanged: Os };
|
|
292
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), ie.litPropertyMetadata ?? (ie.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
293
|
+
let Xt = class extends HTMLElement {
|
|
294
294
|
static addInitializer(t) {
|
|
295
295
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
296
296
|
}
|
|
297
297
|
static get observedAttributes() {
|
|
298
298
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
299
299
|
}
|
|
300
|
-
static createProperty(t, e =
|
|
300
|
+
static createProperty(t, e = Gs) {
|
|
301
301
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
302
302
|
const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
|
|
303
303
|
r !== void 0 && ji(this.prototype, t, r);
|
|
@@ -315,16 +315,16 @@ let Yt = class extends HTMLElement {
|
|
|
315
315
|
}, configurable: !0, enumerable: !0 };
|
|
316
316
|
}
|
|
317
317
|
static getPropertyOptions(t) {
|
|
318
|
-
return this.elementProperties.get(t) ??
|
|
318
|
+
return this.elementProperties.get(t) ?? Gs;
|
|
319
319
|
}
|
|
320
320
|
static _$Ei() {
|
|
321
|
-
if (this.hasOwnProperty(
|
|
321
|
+
if (this.hasOwnProperty(ze("elementProperties"))) return;
|
|
322
322
|
const t = Vi(this);
|
|
323
323
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
324
324
|
}
|
|
325
325
|
static finalize() {
|
|
326
|
-
if (this.hasOwnProperty(
|
|
327
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
326
|
+
if (this.hasOwnProperty(ze("finalized"))) return;
|
|
327
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ze("properties"))) {
|
|
328
328
|
const e = this.properties, i = [...Ri(e), ...Ui(e)];
|
|
329
329
|
for (const r of i) this.createProperty(r, e[r]);
|
|
330
330
|
}
|
|
@@ -399,7 +399,7 @@ let Yt = class extends HTMLElement {
|
|
|
399
399
|
var i;
|
|
400
400
|
const r = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, r);
|
|
401
401
|
if (s !== void 0 && r.reflect === !0) {
|
|
402
|
-
const o = (((i = r.converter) == null ? void 0 : i.toAttribute) !== void 0 ? r.converter :
|
|
402
|
+
const o = (((i = r.converter) == null ? void 0 : i.toAttribute) !== void 0 ? r.converter : Ge).toAttribute(e, r.type);
|
|
403
403
|
this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
@@ -407,7 +407,7 @@ 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), d = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((i = n.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? n.converter :
|
|
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 : Ge;
|
|
411
411
|
this._$Em = o;
|
|
412
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;
|
|
@@ -493,28 +493,28 @@ let Yt = class extends HTMLElement {
|
|
|
493
493
|
firstUpdated(t) {
|
|
494
494
|
}
|
|
495
495
|
};
|
|
496
|
-
|
|
496
|
+
Xt.elementStyles = [], Xt.shadowRootOptions = { mode: "open" }, Xt[ze("elementProperties")] = /* @__PURE__ */ new Map(), Xt[ze("finalized")] = /* @__PURE__ */ new Map(), Ys == null || Ys({ ReactiveElement: Xt }), (ie.reactiveElementVersions ?? (ie.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 Xe = globalThis, Je = Xe.trustedTypes, Xs = Je ? Je.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, yi = "$lit$",
|
|
503
|
-
\f\r]`,
|
|
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),
|
|
502
|
+
const Xe = globalThis, Je = Xe.trustedTypes, Xs = Je ? Je.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, yi = "$lit$", Ct = `lit$${Math.random().toFixed(9).slice(2)}$`, gi = "?" + Ct, Wi = `<${gi}>`, Dt = document, Ae = () => Dt.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]`, Te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Js = /-->/g, Zs = />/g, Nt = RegExp(`>|${us}(?:([^\\s"'>=/]+)(${us}*=${us}*(?:[^
|
|
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), mt = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), ei = /* @__PURE__ */ new WeakMap(), Mt = Dt.createTreeWalker(Dt, 129);
|
|
505
505
|
function xi(t, e) {
|
|
506
506
|
if (!zs(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
507
507
|
return Xs !== void 0 ? Xs.createHTML(e) : e;
|
|
508
508
|
}
|
|
509
|
-
const
|
|
509
|
+
const Yi = (t, e) => {
|
|
510
510
|
const i = t.length - 1, r = [];
|
|
511
|
-
let s, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n =
|
|
511
|
+
let s, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = Te;
|
|
512
512
|
for (let d = 0; d < i; d++) {
|
|
513
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 ===
|
|
516
|
-
const S = n ===
|
|
517
|
-
o += n ===
|
|
515
|
+
for (; x < u.length && (n.lastIndex = x, $ = n.exec(u), $ !== null); ) x = n.lastIndex, n === Te ? $[1] === "!--" ? n = Js : $[1] !== void 0 ? n = Zs : $[2] !== void 0 ? (fi.test($[2]) && (s = RegExp("</" + $[2], "g")), n = Nt) : $[3] !== void 0 && (n = Nt) : n === Nt ? $[0] === ">" ? (n = s ?? Te, v = -1) : $[1] === void 0 ? v = -2 : (v = n.lastIndex - $[2].length, g = $[1], n = $[3] === void 0 ? Nt : $[3] === '"' ? ti : Qs) : n === ti || n === Qs ? n = Nt : n === Js || n === Zs ? n = Te : (n = Nt, s = void 0);
|
|
516
|
+
const S = n === Nt && t[d + 1].startsWith("/>") ? " " : "";
|
|
517
|
+
o += n === Te ? u + Wi : v >= 0 ? (r.push(g), u.slice(0, v) + yi + u.slice(v) + Ct + S) : u + Ct + (v === -2 ? d : S);
|
|
518
518
|
}
|
|
519
519
|
return [xi(t, o + (t[i] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), r];
|
|
520
520
|
};
|
|
@@ -523,46 +523,46 @@ class Pe {
|
|
|
523
523
|
let s;
|
|
524
524
|
this.parts = [];
|
|
525
525
|
let o = 0, n = 0;
|
|
526
|
-
const d = e.length - 1, u = this.parts, [g, $] =
|
|
527
|
-
if (this.el = Pe.createElement(g, r),
|
|
526
|
+
const d = e.length - 1, u = this.parts, [g, $] = Yi(e, i);
|
|
527
|
+
if (this.el = Pe.createElement(g, r), Mt.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 =
|
|
531
|
+
for (; (s = Mt.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
|
-
const x = $[n++], S = s.getAttribute(v).split(
|
|
534
|
+
const x = $[n++], S = s.getAttribute(v).split(Ct), T = /([.?@])?(.*)/.exec(x);
|
|
535
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
|
-
} else v.startsWith(
|
|
536
|
+
} else v.startsWith(Ct) && (u.push({ type: 6, index: o }), s.removeAttribute(v));
|
|
537
537
|
if (fi.test(s.tagName)) {
|
|
538
|
-
const v = s.textContent.split(
|
|
538
|
+
const v = s.textContent.split(Ct), x = v.length - 1;
|
|
539
539
|
if (x > 0) {
|
|
540
540
|
s.textContent = Je ? Je.emptyScript : "";
|
|
541
|
-
for (let S = 0; S < x; S++) s.append(v[S], Ae()),
|
|
541
|
+
for (let S = 0; S < x; S++) s.append(v[S], Ae()), Mt.nextNode(), u.push({ type: 2, index: ++o });
|
|
542
542
|
s.append(v[x], Ae());
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
545
|
} else if (s.nodeType === 8) if (s.data === gi) u.push({ type: 2, index: o });
|
|
546
546
|
else {
|
|
547
547
|
let v = -1;
|
|
548
|
-
for (; (v = s.data.indexOf(
|
|
548
|
+
for (; (v = s.data.indexOf(Ct, v + 1)) !== -1; ) u.push({ type: 7, index: o }), v += Ct.length - 1;
|
|
549
549
|
}
|
|
550
550
|
o++;
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
static createElement(e, i) {
|
|
554
|
-
const r =
|
|
554
|
+
const r = Dt.createElement("template");
|
|
555
555
|
return r.innerHTML = e, r;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function re(t, e, i = t, r) {
|
|
559
559
|
var s, o;
|
|
560
|
-
if (e ===
|
|
560
|
+
if (e === mt) return e;
|
|
561
561
|
let n = r !== void 0 ? (s = i._$Co) == null ? void 0 : s[r] : i._$Cl;
|
|
562
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 =
|
|
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 = re(t, n._$AS(t, e.values), n, r)), e;
|
|
564
564
|
}
|
|
565
|
-
let
|
|
565
|
+
let Gi = class {
|
|
566
566
|
constructor(t, e) {
|
|
567
567
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
568
568
|
}
|
|
@@ -573,24 +573,24 @@ let Yi = class {
|
|
|
573
573
|
return this._$AM._$AU;
|
|
574
574
|
}
|
|
575
575
|
u(t) {
|
|
576
|
-
const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ??
|
|
577
|
-
|
|
578
|
-
let s =
|
|
576
|
+
const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? Dt).importNode(e, !0);
|
|
577
|
+
Mt.currentNode = r;
|
|
578
|
+
let s = Mt.nextNode(), o = 0, n = 0, d = i[0];
|
|
579
579
|
for (; d !== void 0; ) {
|
|
580
580
|
if (o === d.index) {
|
|
581
581
|
let u;
|
|
582
|
-
d.type === 2 ? u = new
|
|
582
|
+
d.type === 2 ? u = new be(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 !== (d == null ? void 0 : d.index) && (s =
|
|
584
|
+
o !== (d == null ? void 0 : d.index) && (s = Mt.nextNode(), o++);
|
|
585
585
|
}
|
|
586
|
-
return
|
|
586
|
+
return Mt.currentNode = Dt, r;
|
|
587
587
|
}
|
|
588
588
|
p(t) {
|
|
589
589
|
let e = 0;
|
|
590
590
|
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
591
591
|
}
|
|
592
592
|
};
|
|
593
|
-
class
|
|
593
|
+
class be {
|
|
594
594
|
get _$AU() {
|
|
595
595
|
var e;
|
|
596
596
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
@@ -610,7 +610,7 @@ class ve {
|
|
|
610
610
|
return this._$AB;
|
|
611
611
|
}
|
|
612
612
|
_$AI(e, i = this) {
|
|
613
|
-
e =
|
|
613
|
+
e = re(this, e, i), _e(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) : qi(e) ? this.k(e) : this._(e);
|
|
614
614
|
}
|
|
615
615
|
O(e) {
|
|
616
616
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -619,14 +619,14 @@ class ve {
|
|
|
619
619
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
620
620
|
}
|
|
621
621
|
_(e) {
|
|
622
|
-
this._$AH !== c && _e(this._$AH) ? this._$AA.nextSibling.data = e : this.T(
|
|
622
|
+
this._$AH !== c && _e(this._$AH) ? this._$AA.nextSibling.data = e : this.T(Dt.createTextNode(e)), this._$AH = e;
|
|
623
623
|
}
|
|
624
624
|
$(e) {
|
|
625
625
|
var i;
|
|
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
|
|
629
|
+
const n = new Gi(o, this), d = n.u(this.options);
|
|
630
630
|
n.p(r), this.T(d), this._$AH = n;
|
|
631
631
|
}
|
|
632
632
|
}
|
|
@@ -638,7 +638,7 @@ class ve {
|
|
|
638
638
|
zs(this._$AH) || (this._$AH = [], this._$AR());
|
|
639
639
|
const i = this._$AH;
|
|
640
640
|
let r, s = 0;
|
|
641
|
-
for (const o of e) s === i.length ? i.push(r = new
|
|
641
|
+
for (const o of e) s === i.length ? i.push(r = new be(this.O(Ae()), this.O(Ae()), this, this.options)) : r = i[s], r._$AI(o), s++;
|
|
642
642
|
s < i.length && (this._$AR(r && r._$AB.nextSibling, s), i.length = s);
|
|
643
643
|
}
|
|
644
644
|
_$AR(e = this._$AA.nextSibling, i) {
|
|
@@ -666,11 +666,11 @@ class ts {
|
|
|
666
666
|
_$AI(e, i = this, r, s) {
|
|
667
667
|
const o = this.strings;
|
|
668
668
|
let n = !1;
|
|
669
|
-
if (o === void 0) e =
|
|
669
|
+
if (o === void 0) e = re(this, e, i, 0), n = !_e(e) || e !== this._$AH && e !== mt, n && (this._$AH = e);
|
|
670
670
|
else {
|
|
671
671
|
const d = e;
|
|
672
672
|
let u, g;
|
|
673
|
-
for (e = o[0], u = 0; u < o.length - 1; u++) g =
|
|
673
|
+
for (e = o[0], u = 0; u < o.length - 1; u++) g = re(this, d[r + u], i, u), g === mt && (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
|
}
|
|
@@ -699,7 +699,7 @@ class Zi extends ts {
|
|
|
699
699
|
super(e, i, r, s, o), this.type = 5;
|
|
700
700
|
}
|
|
701
701
|
_$AI(e, i = this) {
|
|
702
|
-
if ((e =
|
|
702
|
+
if ((e = re(this, e, i, 0) ?? c) === mt) return;
|
|
703
703
|
const r = this._$AH, s = e === c && r !== c || e.capture !== r.capture || e.once !== r.once || e.passive !== r.passive, o = e !== c && (r === c || s);
|
|
704
704
|
s && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
705
705
|
}
|
|
@@ -716,17 +716,17 @@ class Qi {
|
|
|
716
716
|
return this._$AM._$AU;
|
|
717
717
|
}
|
|
718
718
|
_$AI(e) {
|
|
719
|
-
|
|
719
|
+
re(this, e);
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
|
-
const tr = { I:
|
|
723
|
-
si == null || si(Pe,
|
|
722
|
+
const tr = { I: be }, si = Xe.litHtmlPolyfillSupport;
|
|
723
|
+
si == null || si(Pe, be), (Xe.litHtmlVersions ?? (Xe.litHtmlVersions = [])).push("3.3.1");
|
|
724
724
|
const er = (t, e, i) => {
|
|
725
725
|
const r = (i == null ? void 0 : i.renderBefore) ?? e;
|
|
726
726
|
let s = r._$litPart$;
|
|
727
727
|
if (s === void 0) {
|
|
728
728
|
const o = (i == null ? void 0 : i.renderBefore) ?? null;
|
|
729
|
-
r._$litPart$ = s = new
|
|
729
|
+
r._$litPart$ = s = new be(e.insertBefore(Ae(), o), o, void 0, i ?? {});
|
|
730
730
|
}
|
|
731
731
|
return s._$AI(t), s;
|
|
732
732
|
};
|
|
@@ -736,7 +736,7 @@ const er = (t, e, i) => {
|
|
|
736
736
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
737
737
|
*/
|
|
738
738
|
const Ne = globalThis;
|
|
739
|
-
let
|
|
739
|
+
let ut = class extends Xt {
|
|
740
740
|
constructor() {
|
|
741
741
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
742
742
|
}
|
|
@@ -758,20 +758,20 @@ let pt = class extends Yt {
|
|
|
758
758
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
759
759
|
}
|
|
760
760
|
render() {
|
|
761
|
-
return
|
|
761
|
+
return mt;
|
|
762
762
|
}
|
|
763
763
|
};
|
|
764
764
|
var ii;
|
|
765
|
-
|
|
765
|
+
ut._$litElement$ = !0, ut.finalized = !0, (ii = Ne.litElementHydrateSupport) == null || ii.call(Ne, { LitElement: ut });
|
|
766
766
|
const ri = Ne.litElementPolyfillSupport;
|
|
767
|
-
ri == null || ri({ LitElement:
|
|
767
|
+
ri == null || ri({ LitElement: ut });
|
|
768
768
|
(Ne.litElementVersions ?? (Ne.litElementVersions = [])).push("4.2.1");
|
|
769
769
|
/**
|
|
770
770
|
* @license
|
|
771
771
|
* Copyright 2017 Google LLC
|
|
772
772
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
773
773
|
*/
|
|
774
|
-
const sr = { attribute: !0, type: String, converter:
|
|
774
|
+
const sr = { attribute: !0, type: String, converter: Ge, reflect: !1, hasChanged: Os }, ir = (t = sr, e, i) => {
|
|
775
775
|
const { kind: r, metadata: s } = i;
|
|
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") {
|
|
@@ -817,7 +817,7 @@ const Is = (t, e, i) => (i.configurable = !0, i.enumerable = !0, Reflect.decorat
|
|
|
817
817
|
* Copyright 2017 Google LLC
|
|
818
818
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
819
819
|
*/
|
|
820
|
-
function
|
|
820
|
+
function ct(t, e) {
|
|
821
821
|
return (i, r, s) => {
|
|
822
822
|
const o = (n) => {
|
|
823
823
|
var d;
|
|
@@ -833,7 +833,7 @@ function lt(t, e) {
|
|
|
833
833
|
* Copyright 2021 Google LLC
|
|
834
834
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
835
835
|
*/
|
|
836
|
-
function
|
|
836
|
+
function et(t) {
|
|
837
837
|
return (e, i) => {
|
|
838
838
|
const { slot: r, selector: s } = t ?? {}, o = "slot" + (r ? `[name=${r}]` : ":not([name])");
|
|
839
839
|
return Is(e, i, { get() {
|
|
@@ -863,11 +863,11 @@ 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 = h`:host([unresolved]){visibility:hidden}`, _s = class wi extends
|
|
866
|
+
const or = h`:host([unresolved]){visibility:hidden}`, _s = class wi extends ut {
|
|
867
867
|
constructor() {
|
|
868
868
|
super(), this.appliedConstructables = [], this.appliedStyleTags = [], this.handleChangeTheme = (e) => {
|
|
869
869
|
this.pubSubTheme = e;
|
|
870
|
-
}, this.pubSubTheme =
|
|
870
|
+
}, this.pubSubTheme = se.subscribe("theme", this.handleChangeTheme);
|
|
871
871
|
}
|
|
872
872
|
get theme() {
|
|
873
873
|
return this.contextTheme ?? this.pubSubTheme;
|
|
@@ -878,7 +878,7 @@ const or = h`:host([unresolved]){visibility:hidden}`, _s = class wi extends pt {
|
|
|
878
878
|
Es(this.shadowRoot, [...i, or]), this.applyThemeStyles();
|
|
879
879
|
}
|
|
880
880
|
disconnectedCallback() {
|
|
881
|
-
super.disconnectedCallback(),
|
|
881
|
+
super.disconnectedCallback(), se.unsubscribe("theme", this.handleChangeTheme);
|
|
882
882
|
}
|
|
883
883
|
updated(e) {
|
|
884
884
|
super.updated(e), (e.has("contextTheme") || e.has("pubSubTheme")) && this.applyThemeStyles();
|
|
@@ -1009,20 +1009,21 @@ const nr = h`
|
|
|
1009
1009
|
* Copyright 2018 Google LLC
|
|
1010
1010
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1011
1011
|
*/
|
|
1012
|
-
const
|
|
1012
|
+
const U = (t) => t ?? c, ar = {
|
|
1013
1013
|
createIcon: (t) => l`
|
|
1014
1014
|
<ds-icon-react
|
|
1015
|
-
class=${t == null ? void 0 : t.class}
|
|
1016
|
-
data-testid=${t == null ? void 0 : t["data-testid"]}
|
|
1015
|
+
class=${U(t == null ? void 0 : t.class)}
|
|
1016
|
+
data-testid=${U(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=${U(t == null ? void 0 : t.color)}
|
|
1021
|
+
background-color=${U(t == null ? void 0 : t["background-color"])}
|
|
1022
|
+
size=${U(t == null ? void 0 : t.size)}
|
|
1023
|
+
aria-label=${U(t == null ? void 0 : t["aria-label"])}
|
|
1024
|
+
aria-hidden=${U(t == null ? void 0 : t["aria-hidden"])}
|
|
1025
|
+
role=${U(t == null ? void 0 : t.role)}
|
|
1026
|
+
tabindex=${U(t == null ? void 0 : t.tabindex)}
|
|
1026
1027
|
>
|
|
1027
1028
|
${t.children}
|
|
1028
1029
|
</ds-icon-react>
|
|
@@ -1031,7 +1032,7 @@ const ze = (t) => t ?? c, ar = {
|
|
|
1031
1032
|
<ds-button-react
|
|
1032
1033
|
class=${t == null ? void 0 : t.class}
|
|
1033
1034
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1034
|
-
.size=${
|
|
1035
|
+
.size=${U(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 ze = (t) => t ?? c, ar = {
|
|
|
1053
1054
|
<ds-icon-button-react
|
|
1054
1055
|
class=${t == null ? void 0 : t.class}
|
|
1055
1056
|
@click=${t == null ? void 0 : t["@click"]}
|
|
1056
|
-
size=${
|
|
1057
|
+
size=${U(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}
|
|
@@ -1138,7 +1139,7 @@ let ys = class extends Bs {
|
|
|
1138
1139
|
}
|
|
1139
1140
|
render(t) {
|
|
1140
1141
|
if (t === c || t == null) return this._t = void 0, this.it = t;
|
|
1141
|
-
if (t ===
|
|
1142
|
+
if (t === mt) return t;
|
|
1142
1143
|
if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
|
|
1143
1144
|
if (t === this.it) return this._t;
|
|
1144
1145
|
this.it = t;
|
|
@@ -1149,7 +1150,7 @@ let ys = class extends Bs {
|
|
|
1149
1150
|
ys.directiveName = "unsafeHTML", ys.resultType = 1;
|
|
1150
1151
|
const es = Ns(ys);
|
|
1151
1152
|
function C(t, ...e) {
|
|
1152
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
1153
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-5"), r = es(i);
|
|
1153
1154
|
return l`${r}`;
|
|
1154
1155
|
}
|
|
1155
1156
|
/**
|
|
@@ -1178,15 +1179,15 @@ const p = Ns(class extends Bs {
|
|
|
1178
1179
|
const n = !!e[o];
|
|
1179
1180
|
n === this.st.has(o) || (r = this.nt) != null && r.has(o) || (n ? (s.add(o), this.st.add(o)) : (s.remove(o), this.st.delete(o)));
|
|
1180
1181
|
}
|
|
1181
|
-
return
|
|
1182
|
+
return mt;
|
|
1182
1183
|
}
|
|
1183
1184
|
});
|
|
1184
|
-
var lr = Object.defineProperty, cr = Object.getOwnPropertyDescriptor,
|
|
1185
|
+
var lr = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, Vt = (t, e, i, r) => {
|
|
1185
1186
|
for (var s = r > 1 ? void 0 : r ? cr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
1186
1187
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
1187
1188
|
return r && s && lr(e, i, s), s;
|
|
1188
1189
|
};
|
|
1189
|
-
let
|
|
1190
|
+
let vt = class extends f {
|
|
1190
1191
|
constructor() {
|
|
1191
1192
|
super(...arguments), this.maxHeight = 300, this.open = !1, this.mode = "light", this.size = "medium", this.disabled = !1, this._open = !1;
|
|
1192
1193
|
}
|
|
@@ -1214,6 +1215,8 @@ let mt = class extends f {
|
|
|
1214
1215
|
const e = (t = oi[this.theme]) == null ? void 0 : t["icon-names"];
|
|
1215
1216
|
return this.componentFactory.createIcon({
|
|
1216
1217
|
class: "icon open-icon",
|
|
1218
|
+
role: "image",
|
|
1219
|
+
"aria-hidden": "true",
|
|
1217
1220
|
"icon-name": (e == null ? void 0 : e.open) || "minus"
|
|
1218
1221
|
});
|
|
1219
1222
|
}
|
|
@@ -1223,6 +1226,8 @@ let mt = class extends f {
|
|
|
1223
1226
|
const e = (t = oi[this.theme]) == null ? void 0 : t["icon-names"];
|
|
1224
1227
|
return this.componentFactory.createIcon({
|
|
1225
1228
|
class: "icon close-icon",
|
|
1229
|
+
role: "image",
|
|
1230
|
+
"aria-hidden": "true",
|
|
1226
1231
|
"icon-name": (e == null ? void 0 : e.close) || "plus"
|
|
1227
1232
|
});
|
|
1228
1233
|
}
|
|
@@ -1264,28 +1269,28 @@ let mt = class extends f {
|
|
|
1264
1269
|
`;
|
|
1265
1270
|
}
|
|
1266
1271
|
};
|
|
1267
|
-
|
|
1268
|
-
|
|
1272
|
+
vt.styles = [nr];
|
|
1273
|
+
Vt([
|
|
1269
1274
|
a({ type: Number, attribute: "max-height" })
|
|
1270
|
-
],
|
|
1271
|
-
|
|
1275
|
+
], vt.prototype, "maxHeight", 2);
|
|
1276
|
+
Vt([
|
|
1272
1277
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
1273
|
-
],
|
|
1274
|
-
|
|
1278
|
+
], vt.prototype, "open", 2);
|
|
1279
|
+
Vt([
|
|
1275
1280
|
a({ type: String, reflect: !0 })
|
|
1276
|
-
],
|
|
1277
|
-
|
|
1281
|
+
], vt.prototype, "mode", 2);
|
|
1282
|
+
Vt([
|
|
1278
1283
|
a({ type: String })
|
|
1279
|
-
],
|
|
1280
|
-
|
|
1284
|
+
], vt.prototype, "size", 2);
|
|
1285
|
+
Vt([
|
|
1281
1286
|
a({ type: Boolean, converter: m })
|
|
1282
|
-
],
|
|
1283
|
-
|
|
1287
|
+
], vt.prototype, "disabled", 2);
|
|
1288
|
+
Vt([
|
|
1284
1289
|
y()
|
|
1285
|
-
],
|
|
1286
|
-
|
|
1290
|
+
], vt.prototype, "_open", 2);
|
|
1291
|
+
vt = Vt([
|
|
1287
1292
|
b("ds-accordion")
|
|
1288
|
-
],
|
|
1293
|
+
], vt);
|
|
1289
1294
|
const dr = h`
|
|
1290
1295
|
:host {
|
|
1291
1296
|
display: block;
|
|
@@ -1310,7 +1315,7 @@ var hr = Object.defineProperty, pr = Object.getOwnPropertyDescriptor, ss = (t, e
|
|
|
1310
1315
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
1311
1316
|
return r && s && hr(e, i, s), s;
|
|
1312
1317
|
};
|
|
1313
|
-
let
|
|
1318
|
+
let oe = class extends f {
|
|
1314
1319
|
constructor() {
|
|
1315
1320
|
super(...arguments), this.mode = "light", this.activeBulletIndex = 0, this.handleClickChunk = (t) => () => {
|
|
1316
1321
|
this.activeBulletIndex !== t && (this.activeBulletIndex = t, this.dispatchEvent(
|
|
@@ -1359,20 +1364,20 @@ let re = class extends f {
|
|
|
1359
1364
|
` : c;
|
|
1360
1365
|
}
|
|
1361
1366
|
};
|
|
1362
|
-
|
|
1367
|
+
oe.styles = [dr];
|
|
1363
1368
|
ss([
|
|
1364
1369
|
a({ type: String, reflect: !0 })
|
|
1365
|
-
],
|
|
1370
|
+
], oe.prototype, "mode", 2);
|
|
1366
1371
|
ss([
|
|
1367
1372
|
a({ type: Number, attribute: "bullets-number" })
|
|
1368
|
-
],
|
|
1373
|
+
], oe.prototype, "bulletsNumber", 2);
|
|
1369
1374
|
ss([
|
|
1370
1375
|
a({ type: Number, attribute: "active-bullet-index", reflect: !0 })
|
|
1371
|
-
],
|
|
1372
|
-
|
|
1376
|
+
], oe.prototype, "activeBulletIndex", 2);
|
|
1377
|
+
oe = ss([
|
|
1373
1378
|
b("ds-bullets")
|
|
1374
|
-
],
|
|
1375
|
-
const
|
|
1379
|
+
], oe);
|
|
1380
|
+
const _t = (t) => class extends t {
|
|
1376
1381
|
constructor() {
|
|
1377
1382
|
super(...arguments), this.handleResize = () => {
|
|
1378
1383
|
this.updateViewportWithDebounce();
|
|
@@ -1380,7 +1385,7 @@ const At = (t) => class extends t {
|
|
|
1380
1385
|
let e = "xs";
|
|
1381
1386
|
const i = ["xxl", "xl", "l", "m", "s"];
|
|
1382
1387
|
for (const r of i)
|
|
1383
|
-
if ((window == null ? void 0 : window.innerWidth) >=
|
|
1388
|
+
if ((window == null ? void 0 : window.innerWidth) >= Lt[r]) {
|
|
1384
1389
|
e = r;
|
|
1385
1390
|
break;
|
|
1386
1391
|
}
|
|
@@ -1420,7 +1425,7 @@ const Re = (t, e, i) => {
|
|
|
1420
1425
|
* Copyright 2021 Google LLC
|
|
1421
1426
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1422
1427
|
*/
|
|
1423
|
-
function
|
|
1428
|
+
function nt(t, e, i) {
|
|
1424
1429
|
return t ? e(t) : i == null ? void 0 : i(t);
|
|
1425
1430
|
}
|
|
1426
1431
|
const ur = h`
|
|
@@ -1535,7 +1540,7 @@ var br = Object.defineProperty, yr = Object.getOwnPropertyDescriptor, P = (t, e,
|
|
|
1535
1540
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
1536
1541
|
return r && s && br(e, i, s), s;
|
|
1537
1542
|
};
|
|
1538
|
-
let O = class extends
|
|
1543
|
+
let O = class extends _t(f) {
|
|
1539
1544
|
constructor() {
|
|
1540
1545
|
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;
|
|
1541
1546
|
}
|
|
@@ -1610,12 +1615,12 @@ let O = class extends At(f) {
|
|
|
1610
1615
|
@click=${this.handleClick}
|
|
1611
1616
|
?disabled=${this.disabled}
|
|
1612
1617
|
>
|
|
1613
|
-
${
|
|
1618
|
+
${nt(this.iconPosition === "left", () => l` ${this.iconTemplate} `)}
|
|
1614
1619
|
<span class="container">
|
|
1615
1620
|
<slot></slot>
|
|
1616
1621
|
${this.loadingTemplate}
|
|
1617
1622
|
</span>
|
|
1618
|
-
${
|
|
1623
|
+
${nt(this.iconPosition === "right", () => l` ${this.iconTemplate} `)}
|
|
1619
1624
|
</button>
|
|
1620
1625
|
`;
|
|
1621
1626
|
}
|
|
@@ -1634,12 +1639,12 @@ let O = class extends At(f) {
|
|
|
1634
1639
|
@click=${this.handleClick}
|
|
1635
1640
|
?disabled=${this.disabled}
|
|
1636
1641
|
>
|
|
1637
|
-
${
|
|
1642
|
+
${nt(this.iconPosition === "left", () => l`${this.iconTemplate}`)}
|
|
1638
1643
|
<span class="container">
|
|
1639
1644
|
<slot></slot>
|
|
1640
1645
|
${this.loadingTemplate}
|
|
1641
1646
|
</span>
|
|
1642
|
-
${
|
|
1647
|
+
${nt(this.iconPosition === "right", () => l`${this.iconTemplate}`)}
|
|
1643
1648
|
</a>
|
|
1644
1649
|
`;
|
|
1645
1650
|
}
|
|
@@ -1725,7 +1730,7 @@ var fr = Object.defineProperty, xr = Object.getOwnPropertyDescriptor, is = (t, e
|
|
|
1725
1730
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
1726
1731
|
return r && s && fr(e, i, s), s;
|
|
1727
1732
|
};
|
|
1728
|
-
let
|
|
1733
|
+
let ne = class extends f {
|
|
1729
1734
|
constructor() {
|
|
1730
1735
|
super(...arguments), this.maxSelectorsShown = 6;
|
|
1731
1736
|
}
|
|
@@ -1758,19 +1763,19 @@ let oe = class extends f {
|
|
|
1758
1763
|
` : c;
|
|
1759
1764
|
}
|
|
1760
1765
|
};
|
|
1761
|
-
|
|
1766
|
+
ne.styles = [gr];
|
|
1762
1767
|
is([
|
|
1763
1768
|
a({ type: Number, attribute: "selectors-number" })
|
|
1764
|
-
],
|
|
1769
|
+
], ne.prototype, "selectorsNumber", 2);
|
|
1765
1770
|
is([
|
|
1766
1771
|
a({ type: Number, attribute: "selected-index" })
|
|
1767
|
-
],
|
|
1772
|
+
], ne.prototype, "selectedIndex", 2);
|
|
1768
1773
|
is([
|
|
1769
1774
|
y()
|
|
1770
|
-
],
|
|
1771
|
-
|
|
1775
|
+
], ne.prototype, "maxSelectorsShown", 2);
|
|
1776
|
+
ne = is([
|
|
1772
1777
|
b("ds-carousel-indicator")
|
|
1773
|
-
],
|
|
1778
|
+
], ne);
|
|
1774
1779
|
const rs = (t) => {
|
|
1775
1780
|
const e = class extends t {
|
|
1776
1781
|
constructor(...s) {
|
|
@@ -1978,12 +1983,12 @@ const kr = h`
|
|
|
1978
1983
|
pointer-events: visible;
|
|
1979
1984
|
}
|
|
1980
1985
|
`;
|
|
1981
|
-
var Tr = Object.defineProperty, Cr = Object.getOwnPropertyDescriptor,
|
|
1986
|
+
var Tr = Object.defineProperty, Cr = Object.getOwnPropertyDescriptor, Ht = (t, e, i, r) => {
|
|
1982
1987
|
for (var s = r > 1 ? void 0 : r ? Cr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
1983
1988
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
1984
1989
|
return r && s && Tr(e, i, s), s;
|
|
1985
1990
|
};
|
|
1986
|
-
let
|
|
1991
|
+
let bt = class extends f {
|
|
1987
1992
|
constructor() {
|
|
1988
1993
|
super(...arguments), this.mode = "light", this.size = "large", this.selected = !1, this.deselectable = !1, this.slottedText = "";
|
|
1989
1994
|
}
|
|
@@ -2072,28 +2077,28 @@ let vt = class extends f {
|
|
|
2072
2077
|
`;
|
|
2073
2078
|
}
|
|
2074
2079
|
};
|
|
2075
|
-
|
|
2076
|
-
|
|
2080
|
+
bt.styles = [kr];
|
|
2081
|
+
Ht([
|
|
2077
2082
|
a({ type: String })
|
|
2078
|
-
],
|
|
2079
|
-
|
|
2083
|
+
], bt.prototype, "value", 2);
|
|
2084
|
+
Ht([
|
|
2080
2085
|
a({ type: String, reflect: !0 })
|
|
2081
|
-
],
|
|
2082
|
-
|
|
2086
|
+
], bt.prototype, "mode", 2);
|
|
2087
|
+
Ht([
|
|
2083
2088
|
a({ type: String, reflect: !0 })
|
|
2084
|
-
],
|
|
2085
|
-
|
|
2089
|
+
], bt.prototype, "size", 2);
|
|
2090
|
+
Ht([
|
|
2086
2091
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
2087
|
-
],
|
|
2088
|
-
|
|
2092
|
+
], bt.prototype, "selected", 2);
|
|
2093
|
+
Ht([
|
|
2089
2094
|
a({ type: Boolean, converter: m })
|
|
2090
|
-
],
|
|
2091
|
-
|
|
2095
|
+
], bt.prototype, "deselectable", 2);
|
|
2096
|
+
Ht([
|
|
2092
2097
|
y()
|
|
2093
|
-
],
|
|
2094
|
-
|
|
2098
|
+
], bt.prototype, "slottedText", 2);
|
|
2099
|
+
bt = Ht([
|
|
2095
2100
|
b("ds-chip")
|
|
2096
|
-
],
|
|
2101
|
+
], bt);
|
|
2097
2102
|
const Er = {
|
|
2098
2103
|
fromAttribute(t) {
|
|
2099
2104
|
if (!t) return [];
|
|
@@ -2180,12 +2185,12 @@ const Er = {
|
|
|
2180
2185
|
right: 0;
|
|
2181
2186
|
}
|
|
2182
2187
|
`;
|
|
2183
|
-
var zr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor,
|
|
2188
|
+
var zr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, wt = (t, e, i, r) => {
|
|
2184
2189
|
for (var s = r > 1 ? void 0 : r ? Ir(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2185
2190
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2186
2191
|
return r && s && zr(e, i, s), s;
|
|
2187
2192
|
};
|
|
2188
|
-
let
|
|
2193
|
+
let Z = class extends f {
|
|
2189
2194
|
constructor() {
|
|
2190
2195
|
super(...arguments), this.multiChoice = null, this.size = "medium", this.mode = "light", this.hasScrollLeft = !1, this.hasScrollRight = !1, this.resizeObserver = new ResizeObserver(() => {
|
|
2191
2196
|
this.handleScrollNav();
|
|
@@ -2279,34 +2284,34 @@ let J = class extends f {
|
|
|
2279
2284
|
`;
|
|
2280
2285
|
}
|
|
2281
2286
|
};
|
|
2282
|
-
|
|
2283
|
-
|
|
2287
|
+
Z.styles = [Or];
|
|
2288
|
+
wt([
|
|
2284
2289
|
a({ type: Array, attribute: "selected-chips", converter: Er, reflect: !0 })
|
|
2285
|
-
],
|
|
2286
|
-
|
|
2290
|
+
], Z.prototype, "selectedChips", 2);
|
|
2291
|
+
wt([
|
|
2287
2292
|
a({ type: Boolean, attribute: "multi-choice", converter: m })
|
|
2288
|
-
],
|
|
2289
|
-
|
|
2293
|
+
], Z.prototype, "multiChoice", 2);
|
|
2294
|
+
wt([
|
|
2290
2295
|
a({ type: String })
|
|
2291
|
-
],
|
|
2292
|
-
|
|
2296
|
+
], Z.prototype, "size", 2);
|
|
2297
|
+
wt([
|
|
2293
2298
|
a({ type: String, reflect: !0 })
|
|
2294
|
-
],
|
|
2295
|
-
|
|
2299
|
+
], Z.prototype, "mode", 2);
|
|
2300
|
+
wt([
|
|
2296
2301
|
y()
|
|
2297
|
-
],
|
|
2298
|
-
|
|
2302
|
+
], Z.prototype, "hasScrollLeft", 2);
|
|
2303
|
+
wt([
|
|
2299
2304
|
y()
|
|
2300
|
-
],
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
],
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
],
|
|
2307
|
-
|
|
2305
|
+
], Z.prototype, "hasScrollRight", 2);
|
|
2306
|
+
wt([
|
|
2307
|
+
et({ slot: "" })
|
|
2308
|
+
], Z.prototype, "chips", 2);
|
|
2309
|
+
wt([
|
|
2310
|
+
ct(".chips-container")
|
|
2311
|
+
], Z.prototype, "chipsContainer", 2);
|
|
2312
|
+
Z = wt([
|
|
2308
2313
|
b("ds-chips")
|
|
2309
|
-
],
|
|
2314
|
+
], Z);
|
|
2310
2315
|
function Si({
|
|
2311
2316
|
value: t,
|
|
2312
2317
|
locale: e,
|
|
@@ -2332,24 +2337,24 @@ function Si({
|
|
|
2332
2337
|
maximumFractionDigits: u,
|
|
2333
2338
|
useGrouping: v
|
|
2334
2339
|
}).formatToParts(t ?? 0);
|
|
2335
|
-
return z.forEach((
|
|
2336
|
-
switch (
|
|
2340
|
+
return z.forEach((pt, ke) => {
|
|
2341
|
+
switch (pt.type) {
|
|
2337
2342
|
case "unit":
|
|
2338
2343
|
case "currency":
|
|
2339
2344
|
case "percentSign":
|
|
2340
|
-
S =
|
|
2345
|
+
S = pt.value, T = ke === 0 || (z[0].type === "minusSign" || z[0].type === "plusSign") && ke === 1 ? "left" : "right";
|
|
2341
2346
|
break;
|
|
2342
2347
|
case "group":
|
|
2343
|
-
x += g ??
|
|
2348
|
+
x += g ?? pt.value;
|
|
2344
2349
|
break;
|
|
2345
2350
|
case "decimal":
|
|
2346
|
-
x += $ ??
|
|
2351
|
+
x += $ ?? pt.value;
|
|
2347
2352
|
break;
|
|
2348
2353
|
case "integer":
|
|
2349
2354
|
case "fraction":
|
|
2350
2355
|
case "plusSign":
|
|
2351
2356
|
case "minusSign":
|
|
2352
|
-
x +=
|
|
2357
|
+
x += pt.value;
|
|
2353
2358
|
break;
|
|
2354
2359
|
}
|
|
2355
2360
|
}), {
|
|
@@ -2589,7 +2594,7 @@ var Fr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, os = (t, e
|
|
|
2589
2594
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2590
2595
|
return r && s && Fr(e, i, s), s;
|
|
2591
2596
|
};
|
|
2592
|
-
let
|
|
2597
|
+
let ae = class extends f {
|
|
2593
2598
|
constructor() {
|
|
2594
2599
|
super(...arguments), this.title = "primary", this.iconSize = 32;
|
|
2595
2600
|
}
|
|
@@ -2627,26 +2632,26 @@ let ne = class extends f {
|
|
|
2627
2632
|
`;
|
|
2628
2633
|
}
|
|
2629
2634
|
};
|
|
2630
|
-
|
|
2635
|
+
ae.styles = [jr];
|
|
2631
2636
|
os([
|
|
2632
2637
|
a({ type: String })
|
|
2633
|
-
],
|
|
2638
|
+
], ae.prototype, "title", 2);
|
|
2634
2639
|
os([
|
|
2635
2640
|
a({ type: String, attribute: "icon-name" })
|
|
2636
|
-
],
|
|
2641
|
+
], ae.prototype, "iconName", 2);
|
|
2637
2642
|
os([
|
|
2638
2643
|
a({ type: Number, attribute: "icon-size" })
|
|
2639
|
-
],
|
|
2640
|
-
|
|
2644
|
+
], ae.prototype, "iconSize", 2);
|
|
2645
|
+
ae = os([
|
|
2641
2646
|
b("ds-dialog-header")
|
|
2642
|
-
],
|
|
2643
|
-
const
|
|
2644
|
-
xs: h`@media(min-width: ${
|
|
2645
|
-
s: h`@media(min-width: ${
|
|
2646
|
-
m: h`@media(min-width: ${
|
|
2647
|
-
l: h`@media(min-width: ${
|
|
2648
|
-
xl: h`@media(min-width: ${
|
|
2649
|
-
xxl: h`@media(min-width: ${
|
|
2647
|
+
], ae);
|
|
2648
|
+
const V = {
|
|
2649
|
+
xs: h`@media(min-width: ${Lt.xs}px)`,
|
|
2650
|
+
s: h`@media(min-width: ${Lt.s}px)`,
|
|
2651
|
+
m: h`@media(min-width: ${Lt.m}px)`,
|
|
2652
|
+
l: h`@media(min-width: ${Lt.l}px)`,
|
|
2653
|
+
xl: h`@media(min-width: ${Lt.xl}px)`,
|
|
2654
|
+
xxl: h`@media(min-width: ${Lt.xxl}px)`
|
|
2650
2655
|
}, Ur = h`
|
|
2651
2656
|
:host {
|
|
2652
2657
|
transition: display 0.3s cubic-bezier(0, 0, 0.2, 1) allow-discrete;
|
|
@@ -2705,7 +2710,7 @@ const U = {
|
|
|
2705
2710
|
background-color: transparent;
|
|
2706
2711
|
}
|
|
2707
2712
|
|
|
2708
|
-
${
|
|
2713
|
+
${V.xs} {
|
|
2709
2714
|
.ds-scroll::-webkit-scrollbar,
|
|
2710
2715
|
.ds-scroll-global *::-webkit-scrollbar {
|
|
2711
2716
|
height: 4px;
|
|
@@ -2713,7 +2718,7 @@ const U = {
|
|
|
2713
2718
|
}
|
|
2714
2719
|
}
|
|
2715
2720
|
|
|
2716
|
-
${
|
|
2721
|
+
${V.m} {
|
|
2717
2722
|
.ds-scroll::-webkit-scrollbar,
|
|
2718
2723
|
.ds-scroll-global *::-webkit-scrollbar {
|
|
2719
2724
|
height: 8px;
|
|
@@ -2721,12 +2726,12 @@ const U = {
|
|
|
2721
2726
|
}
|
|
2722
2727
|
}
|
|
2723
2728
|
`;
|
|
2724
|
-
var Vr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor,
|
|
2729
|
+
var Vr = Object.defineProperty, Hr = Object.getOwnPropertyDescriptor, ye = (t, e, i, r) => {
|
|
2725
2730
|
for (var s = r > 1 ? void 0 : r ? Hr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2726
2731
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2727
2732
|
return r && s && Vr(e, i, s), s;
|
|
2728
2733
|
};
|
|
2729
|
-
let
|
|
2734
|
+
let Et = class extends f {
|
|
2730
2735
|
constructor() {
|
|
2731
2736
|
super(...arguments), this.open = !1, this.size = "medium", this.hasBeenOpened = !1, this.hasScroll = !1, this.debouncedCheckScroll = Ss({ func: () => this.checkScroll() }), this.handleKeyDown = (t) => {
|
|
2732
2737
|
this.open && t.key === "Escape" && this.handleClose();
|
|
@@ -2794,25 +2799,25 @@ let Ct = class extends f {
|
|
|
2794
2799
|
`;
|
|
2795
2800
|
}
|
|
2796
2801
|
};
|
|
2797
|
-
|
|
2798
|
-
|
|
2802
|
+
Et.styles = [Ur];
|
|
2803
|
+
ye([
|
|
2799
2804
|
a({ type: Boolean, converter: m })
|
|
2800
|
-
],
|
|
2801
|
-
|
|
2805
|
+
], Et.prototype, "open", 2);
|
|
2806
|
+
ye([
|
|
2802
2807
|
a({ type: String })
|
|
2803
|
-
],
|
|
2804
|
-
|
|
2808
|
+
], Et.prototype, "size", 2);
|
|
2809
|
+
ye([
|
|
2805
2810
|
y()
|
|
2806
|
-
],
|
|
2807
|
-
|
|
2811
|
+
], Et.prototype, "hasBeenOpened", 2);
|
|
2812
|
+
ye([
|
|
2808
2813
|
y()
|
|
2809
|
-
],
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
],
|
|
2813
|
-
|
|
2814
|
+
], Et.prototype, "hasScroll", 2);
|
|
2815
|
+
ye([
|
|
2816
|
+
ct(".content")
|
|
2817
|
+
], Et.prototype, "content", 2);
|
|
2818
|
+
Et = ye([
|
|
2814
2819
|
b("ds-dialog")
|
|
2815
|
-
],
|
|
2820
|
+
], Et);
|
|
2816
2821
|
const Wr = h`
|
|
2817
2822
|
.divider {
|
|
2818
2823
|
border: none;
|
|
@@ -2824,7 +2829,7 @@ var qr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, ns = (t, e
|
|
|
2824
2829
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2825
2830
|
return r && s && qr(e, i, s), s;
|
|
2826
2831
|
};
|
|
2827
|
-
let
|
|
2832
|
+
let le = class extends f {
|
|
2828
2833
|
constructor() {
|
|
2829
2834
|
super(...arguments), this.orientation = "horizontal", this.variant = "primary", this.mode = "light";
|
|
2830
2835
|
}
|
|
@@ -2852,20 +2857,20 @@ let ae = class extends f {
|
|
|
2852
2857
|
`;
|
|
2853
2858
|
}
|
|
2854
2859
|
};
|
|
2855
|
-
|
|
2860
|
+
le.styles = [Wr];
|
|
2856
2861
|
ns([
|
|
2857
2862
|
a({ type: String })
|
|
2858
|
-
],
|
|
2863
|
+
], le.prototype, "orientation", 2);
|
|
2859
2864
|
ns([
|
|
2860
2865
|
a({ type: String })
|
|
2861
|
-
],
|
|
2866
|
+
], le.prototype, "variant", 2);
|
|
2862
2867
|
ns([
|
|
2863
2868
|
a({ type: String, reflect: !0 })
|
|
2864
|
-
],
|
|
2865
|
-
|
|
2869
|
+
], le.prototype, "mode", 2);
|
|
2870
|
+
le = ns([
|
|
2866
2871
|
b("ds-divider")
|
|
2867
|
-
],
|
|
2868
|
-
const
|
|
2872
|
+
], le);
|
|
2873
|
+
const Yr = h`
|
|
2869
2874
|
:host {
|
|
2870
2875
|
display: inline-flex;
|
|
2871
2876
|
}
|
|
@@ -2880,12 +2885,12 @@ const Gr = h`
|
|
|
2880
2885
|
background: transparent;
|
|
2881
2886
|
}
|
|
2882
2887
|
`;
|
|
2883
|
-
var
|
|
2888
|
+
var Gr = Object.defineProperty, Xr = Object.getOwnPropertyDescriptor, Wt = (t, e, i, r) => {
|
|
2884
2889
|
for (var s = r > 1 ? void 0 : r ? Xr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2885
2890
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2886
|
-
return r && s &&
|
|
2891
|
+
return r && s && Gr(e, i, s), s;
|
|
2887
2892
|
};
|
|
2888
|
-
let
|
|
2893
|
+
let yt = class extends f {
|
|
2889
2894
|
constructor() {
|
|
2890
2895
|
super(...arguments), this.htmlTagName = "a", this.mode = "light", this.size = "large";
|
|
2891
2896
|
}
|
|
@@ -2938,28 +2943,28 @@ let bt = class extends f {
|
|
|
2938
2943
|
`;
|
|
2939
2944
|
}
|
|
2940
2945
|
};
|
|
2941
|
-
|
|
2942
|
-
|
|
2946
|
+
yt.styles = [Yr];
|
|
2947
|
+
Wt([
|
|
2943
2948
|
a({ type: String, attribute: "html-tag-name" })
|
|
2944
|
-
],
|
|
2945
|
-
|
|
2949
|
+
], yt.prototype, "htmlTagName", 2);
|
|
2950
|
+
Wt([
|
|
2946
2951
|
a({ type: String, reflect: !0 })
|
|
2947
|
-
],
|
|
2948
|
-
|
|
2952
|
+
], yt.prototype, "href", 2);
|
|
2953
|
+
Wt([
|
|
2949
2954
|
a({ type: String, reflect: !0 })
|
|
2950
|
-
],
|
|
2951
|
-
|
|
2955
|
+
], yt.prototype, "rel", 2);
|
|
2956
|
+
Wt([
|
|
2952
2957
|
a({ type: String, reflect: !0 })
|
|
2953
|
-
],
|
|
2954
|
-
|
|
2958
|
+
], yt.prototype, "target", 2);
|
|
2959
|
+
Wt([
|
|
2955
2960
|
a({ type: String, reflect: !0 })
|
|
2956
|
-
],
|
|
2957
|
-
|
|
2961
|
+
], yt.prototype, "mode", 2);
|
|
2962
|
+
Wt([
|
|
2958
2963
|
a({ type: String })
|
|
2959
|
-
],
|
|
2960
|
-
|
|
2964
|
+
], yt.prototype, "size", 2);
|
|
2965
|
+
yt = Wt([
|
|
2961
2966
|
b("ds-hyperlink")
|
|
2962
|
-
],
|
|
2967
|
+
], yt);
|
|
2963
2968
|
const Jr = h`
|
|
2964
2969
|
:host {
|
|
2965
2970
|
display: inline-flex;
|
|
@@ -2977,12 +2982,12 @@ const Jr = h`
|
|
|
2977
2982
|
padding: 0;
|
|
2978
2983
|
}
|
|
2979
2984
|
`;
|
|
2980
|
-
var Zr = Object.defineProperty, Qr = Object.getOwnPropertyDescriptor,
|
|
2985
|
+
var Zr = Object.defineProperty, Qr = Object.getOwnPropertyDescriptor, st = (t, e, i, r) => {
|
|
2981
2986
|
for (var s = r > 1 ? void 0 : r ? Qr(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
2982
2987
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
2983
2988
|
return r && s && Zr(e, i, s), s;
|
|
2984
2989
|
};
|
|
2985
|
-
let
|
|
2990
|
+
let H = class extends _t(f) {
|
|
2986
2991
|
constructor() {
|
|
2987
2992
|
super(...arguments), this.variant = "primary", this.mode = "light", this.size = "large", this.disabled = !1, this.htmlTagName = "button";
|
|
2988
2993
|
}
|
|
@@ -3065,50 +3070,50 @@ let V = class extends At(f) {
|
|
|
3065
3070
|
`;
|
|
3066
3071
|
}
|
|
3067
3072
|
};
|
|
3068
|
-
|
|
3069
|
-
|
|
3073
|
+
H.styles = [Jr];
|
|
3074
|
+
st([
|
|
3070
3075
|
a({ type: String })
|
|
3071
|
-
],
|
|
3072
|
-
|
|
3076
|
+
], H.prototype, "variant", 2);
|
|
3077
|
+
st([
|
|
3073
3078
|
a({ type: String, reflect: !0 })
|
|
3074
|
-
],
|
|
3075
|
-
|
|
3079
|
+
], H.prototype, "mode", 2);
|
|
3080
|
+
st([
|
|
3076
3081
|
a({ type: String, converter: Fe })
|
|
3077
|
-
],
|
|
3078
|
-
|
|
3082
|
+
], H.prototype, "size", 2);
|
|
3083
|
+
st([
|
|
3079
3084
|
a({ type: Boolean, converter: m })
|
|
3080
|
-
],
|
|
3081
|
-
|
|
3085
|
+
], H.prototype, "disabled", 2);
|
|
3086
|
+
st([
|
|
3082
3087
|
a({ type: String, attribute: "icon-name" })
|
|
3083
|
-
],
|
|
3084
|
-
|
|
3088
|
+
], H.prototype, "iconName", 2);
|
|
3089
|
+
st([
|
|
3085
3090
|
a({ type: String, attribute: "html-tag-name" })
|
|
3086
|
-
],
|
|
3087
|
-
|
|
3091
|
+
], H.prototype, "htmlTagName", 2);
|
|
3092
|
+
st([
|
|
3088
3093
|
a({ type: String, attribute: "data-aria-label" })
|
|
3089
|
-
],
|
|
3090
|
-
|
|
3094
|
+
], H.prototype, "dataAriaLabel", 2);
|
|
3095
|
+
st([
|
|
3091
3096
|
a({ type: String, reflect: !0 })
|
|
3092
|
-
],
|
|
3093
|
-
|
|
3097
|
+
], H.prototype, "href", 2);
|
|
3098
|
+
st([
|
|
3094
3099
|
a({ type: String, reflect: !0 })
|
|
3095
|
-
],
|
|
3096
|
-
|
|
3100
|
+
], H.prototype, "rel", 2);
|
|
3101
|
+
st([
|
|
3097
3102
|
a({ type: String, reflect: !0 })
|
|
3098
|
-
],
|
|
3099
|
-
|
|
3103
|
+
], H.prototype, "target", 2);
|
|
3104
|
+
H = st([
|
|
3100
3105
|
b("ds-icon-button")
|
|
3101
|
-
],
|
|
3102
|
-
class
|
|
3106
|
+
], H);
|
|
3107
|
+
class Qt {
|
|
3103
3108
|
constructor() {
|
|
3104
3109
|
this.icons = {}, this.handleChangeTheme = (e) => {
|
|
3105
3110
|
this.theme = e;
|
|
3106
3111
|
const i = Object.keys(this.icons);
|
|
3107
3112
|
this.icons = {}, i.forEach((r) => this.fetchIcon(r));
|
|
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])),
|
|
3113
|
+
}, 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])), se.subscribe("theme", this.handleChangeTheme);
|
|
3109
3114
|
}
|
|
3110
3115
|
static getInstance() {
|
|
3111
|
-
return
|
|
3116
|
+
return Qt.instance || (Qt.instance = new Qt()), Qt.instance;
|
|
3112
3117
|
}
|
|
3113
3118
|
getCachedIcon(e) {
|
|
3114
3119
|
return this.icons[e];
|
|
@@ -3120,22 +3125,22 @@ class Zt {
|
|
|
3120
3125
|
}).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>');
|
|
3121
3126
|
}
|
|
3122
3127
|
}
|
|
3123
|
-
const ni =
|
|
3128
|
+
const ni = Qt.getInstance();
|
|
3124
3129
|
var to = Object.defineProperty, eo = Object.getOwnPropertyDescriptor, Ti = (t) => {
|
|
3125
3130
|
throw TypeError(t);
|
|
3126
|
-
},
|
|
3131
|
+
}, qt = (t, e, i, r) => {
|
|
3127
3132
|
for (var s = r > 1 ? void 0 : r ? eo(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
3128
3133
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
3129
3134
|
return r && s && to(e, i, s), s;
|
|
3130
|
-
}, Ci = (t, e, i) => e.has(t) || Ti("Cannot " + i), ai = (t, e, i) => (Ci(t, e, "read from private field"), e.get(t)), so = (t, e, i) => e.has(t) ? Ti("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), io = (t, e, i, r) => (Ci(t, e, "write to private field"), e.set(t, i), i),
|
|
3131
|
-
let
|
|
3135
|
+
}, Ci = (t, e, i) => e.has(t) || Ti("Cannot " + i), ai = (t, e, i) => (Ci(t, e, "read from private field"), e.get(t)), so = (t, e, i) => e.has(t) ? Ti("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), io = (t, e, i, r) => (Ci(t, e, "write to private field"), e.set(t, i), i), Oe;
|
|
3136
|
+
let gt = class extends f {
|
|
3132
3137
|
constructor() {
|
|
3133
|
-
super(), this.iconHtml = "", so(this,
|
|
3138
|
+
super(), this.iconHtml = "", so(this, Oe), this.getIcon = async () => {
|
|
3134
3139
|
var t, e;
|
|
3135
|
-
(t = ai(this,
|
|
3136
|
-
const i = ai(this,
|
|
3140
|
+
(t = ai(this, Oe)) == null || t.abort(), io(this, Oe, new AbortController());
|
|
3141
|
+
const i = ai(this, Oe).signal;
|
|
3137
3142
|
this.iconHtml = await ((e = ni.fetchIcon) == null ? void 0 : e.call(ni, this.iconName, { signal: i }));
|
|
3138
|
-
},
|
|
3143
|
+
}, se.subscribe("theme", this.getIcon);
|
|
3139
3144
|
}
|
|
3140
3145
|
async updated(t) {
|
|
3141
3146
|
super.updated(t), (t.has("iconName") || !this.iconHtml) && await this.getIcon();
|
|
@@ -3178,44 +3183,44 @@ let yt = class extends f {
|
|
|
3178
3183
|
`;
|
|
3179
3184
|
}
|
|
3180
3185
|
};
|
|
3181
|
-
|
|
3182
|
-
|
|
3186
|
+
Oe = /* @__PURE__ */ new WeakMap();
|
|
3187
|
+
gt.styles = h`
|
|
3183
3188
|
:host {
|
|
3184
3189
|
line-height: 0;
|
|
3185
3190
|
display: inline-block;
|
|
3186
3191
|
}
|
|
3187
3192
|
`;
|
|
3188
|
-
|
|
3193
|
+
qt([
|
|
3189
3194
|
a({ type: String, attribute: "icon-name" })
|
|
3190
|
-
],
|
|
3191
|
-
|
|
3195
|
+
], gt.prototype, "iconName", 2);
|
|
3196
|
+
qt([
|
|
3192
3197
|
a({ type: String, attribute: "color" })
|
|
3193
|
-
],
|
|
3194
|
-
|
|
3198
|
+
], gt.prototype, "color", 2);
|
|
3199
|
+
qt([
|
|
3195
3200
|
a({ type: Number })
|
|
3196
|
-
],
|
|
3197
|
-
|
|
3201
|
+
], gt.prototype, "width", 2);
|
|
3202
|
+
qt([
|
|
3198
3203
|
a({ type: Number })
|
|
3199
|
-
],
|
|
3200
|
-
|
|
3204
|
+
], gt.prototype, "height", 2);
|
|
3205
|
+
qt([
|
|
3201
3206
|
a({ type: Number, attribute: "size" })
|
|
3202
|
-
],
|
|
3203
|
-
|
|
3207
|
+
], gt.prototype, "size", 2);
|
|
3208
|
+
qt([
|
|
3204
3209
|
y()
|
|
3205
|
-
],
|
|
3206
|
-
|
|
3210
|
+
], gt.prototype, "iconHtml", 2);
|
|
3211
|
+
gt = qt([
|
|
3207
3212
|
b("ds-icon")
|
|
3208
|
-
],
|
|
3213
|
+
], gt);
|
|
3209
3214
|
var ro = Object.defineProperty, Ls = (t, e, i, r) => {
|
|
3210
3215
|
for (var s = void 0, o = t.length - 1, n; o >= 0; o--)
|
|
3211
3216
|
(n = t[o]) && (s = n(e, i, s) || s);
|
|
3212
3217
|
return s && ro(e, i, s), s;
|
|
3213
3218
|
};
|
|
3214
|
-
class Ue extends
|
|
3219
|
+
class Ue extends ut {
|
|
3215
3220
|
constructor() {
|
|
3216
3221
|
super(), this.handleChangeTheme = (e) => {
|
|
3217
3222
|
this.pubSubTheme = e;
|
|
3218
|
-
}, this.pubSubTheme =
|
|
3223
|
+
}, this.pubSubTheme = se.subscribe("theme", this.handleChangeTheme);
|
|
3219
3224
|
}
|
|
3220
3225
|
connectedCallback() {
|
|
3221
3226
|
super.connectedCallback(), this.applyTheme();
|
|
@@ -3412,7 +3417,7 @@ const oo = h`
|
|
|
3412
3417
|
--ds-icon-color: var(--ds-color-dark-grey);
|
|
3413
3418
|
}
|
|
3414
3419
|
`, lo = [ao];
|
|
3415
|
-
var co = Object.defineProperty,
|
|
3420
|
+
var co = Object.defineProperty, it = (t, e, i, r) => {
|
|
3416
3421
|
for (var s = void 0, o = t.length - 1, n; o >= 0; o--)
|
|
3417
3422
|
(n = t[o]) && (s = n(e, i, s) || s);
|
|
3418
3423
|
return s && co(e, i, s), s;
|
|
@@ -3474,46 +3479,46 @@ const fs = class extends rs(Ue) {
|
|
|
3474
3479
|
fs.styles = [oo, no], fs.themesStyles = {
|
|
3475
3480
|
cupra: lo
|
|
3476
3481
|
};
|
|
3477
|
-
let
|
|
3478
|
-
|
|
3482
|
+
let X = fs;
|
|
3483
|
+
it([
|
|
3479
3484
|
a({ type: String, reflect: !0, attribute: "initial-value" })
|
|
3480
|
-
],
|
|
3481
|
-
|
|
3485
|
+
], X.prototype, "initialValue");
|
|
3486
|
+
it([
|
|
3482
3487
|
a({ type: String })
|
|
3483
|
-
],
|
|
3484
|
-
|
|
3488
|
+
], X.prototype, "label");
|
|
3489
|
+
it([
|
|
3485
3490
|
a({ type: String, attribute: "helper-text" })
|
|
3486
|
-
],
|
|
3487
|
-
|
|
3491
|
+
], X.prototype, "helperText");
|
|
3492
|
+
it([
|
|
3488
3493
|
a({ type: String, attribute: "error-text" })
|
|
3489
|
-
],
|
|
3490
|
-
|
|
3494
|
+
], X.prototype, "errorText");
|
|
3495
|
+
it([
|
|
3491
3496
|
a({ type: Boolean, converter: m })
|
|
3492
|
-
],
|
|
3493
|
-
|
|
3497
|
+
], X.prototype, "disabled");
|
|
3498
|
+
it([
|
|
3494
3499
|
a({ type: Boolean, converter: m })
|
|
3495
|
-
],
|
|
3496
|
-
|
|
3500
|
+
], X.prototype, "success");
|
|
3501
|
+
it([
|
|
3497
3502
|
a({ type: String, reflect: !0 })
|
|
3498
|
-
],
|
|
3499
|
-
|
|
3503
|
+
], X.prototype, "mode");
|
|
3504
|
+
it([
|
|
3500
3505
|
a({ type: String })
|
|
3501
|
-
],
|
|
3502
|
-
|
|
3506
|
+
], X.prototype, "size");
|
|
3507
|
+
it([
|
|
3503
3508
|
y()
|
|
3504
|
-
],
|
|
3505
|
-
|
|
3509
|
+
], X.prototype, "_value");
|
|
3510
|
+
it([
|
|
3506
3511
|
y()
|
|
3507
|
-
],
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
],
|
|
3511
|
-
var ho = Object.defineProperty, po = Object.getOwnPropertyDescriptor,
|
|
3512
|
+
], X.prototype, "focused");
|
|
3513
|
+
it([
|
|
3514
|
+
ct(".input-field")
|
|
3515
|
+
], X.prototype, "inputField");
|
|
3516
|
+
var ho = Object.defineProperty, po = Object.getOwnPropertyDescriptor, St = (t, e, i, r) => {
|
|
3512
3517
|
for (var s = r > 1 ? void 0 : r ? po(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
3513
3518
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
3514
3519
|
return r && s && ho(e, i, s), s;
|
|
3515
3520
|
};
|
|
3516
|
-
let
|
|
3521
|
+
let at = class extends X {
|
|
3517
3522
|
constructor() {
|
|
3518
3523
|
super(...arguments), this.name = "", this.placeholder = "", this.type = "text", this.min = 0, this.max = 100, this.step = 1, this._hasPicker = !1, this.handleClickIcon = () => {
|
|
3519
3524
|
var t, e;
|
|
@@ -3608,33 +3613,33 @@ let nt = class extends Y {
|
|
|
3608
3613
|
return c;
|
|
3609
3614
|
}
|
|
3610
3615
|
};
|
|
3611
|
-
|
|
3616
|
+
St([
|
|
3612
3617
|
a({ type: String })
|
|
3613
|
-
],
|
|
3614
|
-
|
|
3618
|
+
], at.prototype, "name", 2);
|
|
3619
|
+
St([
|
|
3615
3620
|
a({ type: String })
|
|
3616
|
-
],
|
|
3617
|
-
|
|
3621
|
+
], at.prototype, "placeholder", 2);
|
|
3622
|
+
St([
|
|
3618
3623
|
a({ type: String, attribute: "max-length" })
|
|
3619
|
-
],
|
|
3620
|
-
|
|
3624
|
+
], at.prototype, "maxLength", 2);
|
|
3625
|
+
St([
|
|
3621
3626
|
a({ type: String })
|
|
3622
|
-
],
|
|
3623
|
-
|
|
3627
|
+
], at.prototype, "type", 2);
|
|
3628
|
+
St([
|
|
3624
3629
|
a({ type: Number })
|
|
3625
|
-
],
|
|
3626
|
-
|
|
3630
|
+
], at.prototype, "min", 2);
|
|
3631
|
+
St([
|
|
3627
3632
|
a({ type: Number })
|
|
3628
|
-
],
|
|
3629
|
-
|
|
3633
|
+
], at.prototype, "max", 2);
|
|
3634
|
+
St([
|
|
3630
3635
|
a({ type: Number })
|
|
3631
|
-
],
|
|
3632
|
-
|
|
3636
|
+
], at.prototype, "step", 2);
|
|
3637
|
+
St([
|
|
3633
3638
|
y()
|
|
3634
|
-
],
|
|
3635
|
-
|
|
3639
|
+
], at.prototype, "_hasPicker", 2);
|
|
3640
|
+
at = St([
|
|
3636
3641
|
b("ds-input", { skipTagAsComponentName: !0 })
|
|
3637
|
-
],
|
|
3642
|
+
], at);
|
|
3638
3643
|
const uo = h`
|
|
3639
3644
|
:host {
|
|
3640
3645
|
display: inline-flex;
|
|
@@ -3652,12 +3657,12 @@ const uo = h`
|
|
|
3652
3657
|
cursor: pointer;
|
|
3653
3658
|
}
|
|
3654
3659
|
`;
|
|
3655
|
-
var mo = Object.defineProperty, vo = Object.getOwnPropertyDescriptor,
|
|
3660
|
+
var mo = Object.defineProperty, vo = Object.getOwnPropertyDescriptor, rt = (t, e, i, r) => {
|
|
3656
3661
|
for (var s = r > 1 ? void 0 : r ? vo(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
3657
3662
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
3658
3663
|
return r && s && mo(e, i, s), s;
|
|
3659
3664
|
};
|
|
3660
|
-
let
|
|
3665
|
+
let W = class extends f {
|
|
3661
3666
|
constructor() {
|
|
3662
3667
|
super(...arguments), this.mode = "light", this.size = "large", this.underline = !1, this.disabled = !1, this.iconName = "arrow-right", this.iconPosition = "right";
|
|
3663
3668
|
}
|
|
@@ -3724,40 +3729,40 @@ let H = class extends f {
|
|
|
3724
3729
|
`;
|
|
3725
3730
|
}
|
|
3726
3731
|
};
|
|
3727
|
-
|
|
3728
|
-
|
|
3732
|
+
W.styles = [uo];
|
|
3733
|
+
rt([
|
|
3729
3734
|
a({ type: String, reflect: !0 })
|
|
3730
|
-
],
|
|
3731
|
-
|
|
3735
|
+
], W.prototype, "mode", 2);
|
|
3736
|
+
rt([
|
|
3732
3737
|
a({ type: String })
|
|
3733
|
-
],
|
|
3734
|
-
|
|
3738
|
+
], W.prototype, "size", 2);
|
|
3739
|
+
rt([
|
|
3735
3740
|
a({ type: Boolean, converter: m })
|
|
3736
|
-
],
|
|
3737
|
-
|
|
3741
|
+
], W.prototype, "underline", 2);
|
|
3742
|
+
rt([
|
|
3738
3743
|
a({ type: Boolean, converter: m })
|
|
3739
|
-
],
|
|
3740
|
-
|
|
3744
|
+
], W.prototype, "disabled", 2);
|
|
3745
|
+
rt([
|
|
3741
3746
|
a({ type: String, attribute: "html-tag-name" })
|
|
3742
|
-
],
|
|
3743
|
-
|
|
3747
|
+
], W.prototype, "htmlTagName", 2);
|
|
3748
|
+
rt([
|
|
3744
3749
|
a({ type: String, reflect: !0 })
|
|
3745
|
-
],
|
|
3746
|
-
|
|
3750
|
+
], W.prototype, "href", 2);
|
|
3751
|
+
rt([
|
|
3747
3752
|
a({ type: String, reflect: !0 })
|
|
3748
|
-
],
|
|
3749
|
-
|
|
3753
|
+
], W.prototype, "rel", 2);
|
|
3754
|
+
rt([
|
|
3750
3755
|
a({ type: String, reflect: !0 })
|
|
3751
|
-
],
|
|
3752
|
-
|
|
3756
|
+
], W.prototype, "target", 2);
|
|
3757
|
+
rt([
|
|
3753
3758
|
a({ type: String, attribute: "icon-name" })
|
|
3754
|
-
],
|
|
3755
|
-
|
|
3759
|
+
], W.prototype, "iconName", 2);
|
|
3760
|
+
rt([
|
|
3756
3761
|
a({ type: String, attribute: "icon-position" })
|
|
3757
|
-
],
|
|
3758
|
-
|
|
3762
|
+
], W.prototype, "iconPosition", 2);
|
|
3763
|
+
W = rt([
|
|
3759
3764
|
b("ds-link-button")
|
|
3760
|
-
],
|
|
3765
|
+
], W);
|
|
3761
3766
|
const bo = h`
|
|
3762
3767
|
.track {
|
|
3763
3768
|
width: 100%;
|
|
@@ -3890,11 +3895,11 @@ Ie.styles = [...Oo(Ie, Ie, "styles"), ko];
|
|
|
3890
3895
|
Ie = Eo([
|
|
3891
3896
|
b("ds-loader-bar", { skipTagAsComponentName: !0 })
|
|
3892
3897
|
], Ie);
|
|
3893
|
-
function
|
|
3894
|
-
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-
|
|
3898
|
+
function Kt(t, ...e) {
|
|
3899
|
+
const i = String.raw({ raw: t }, ...e).replace(/(--private-[\w-]+)(?=\s*[):,])/g, "$1-v1-0-0-canary-5"), r = bi(i);
|
|
3895
3900
|
return h`${r}`;
|
|
3896
3901
|
}
|
|
3897
|
-
const zo =
|
|
3902
|
+
const zo = Kt`
|
|
3898
3903
|
.container {
|
|
3899
3904
|
display: inline-flex;
|
|
3900
3905
|
justify-content: center;
|
|
@@ -3930,7 +3935,7 @@ var Io = Object.defineProperty, Ao = Object.getOwnPropertyDescriptor, as = (t, e
|
|
|
3930
3935
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
3931
3936
|
return r && s && Io(e, i, s), s;
|
|
3932
3937
|
};
|
|
3933
|
-
let
|
|
3938
|
+
let ce = class extends f {
|
|
3934
3939
|
constructor() {
|
|
3935
3940
|
super(...arguments), this.show = !1, this.mode = "light", this.size = "large";
|
|
3936
3941
|
}
|
|
@@ -3961,19 +3966,19 @@ let le = class extends f {
|
|
|
3961
3966
|
` : c;
|
|
3962
3967
|
}
|
|
3963
3968
|
};
|
|
3964
|
-
|
|
3969
|
+
ce.styles = [zo];
|
|
3965
3970
|
as([
|
|
3966
3971
|
a({ type: Boolean, converter: m })
|
|
3967
|
-
],
|
|
3972
|
+
], ce.prototype, "show", 2);
|
|
3968
3973
|
as([
|
|
3969
3974
|
a({ type: String, reflect: !0 })
|
|
3970
|
-
],
|
|
3975
|
+
], ce.prototype, "mode", 2);
|
|
3971
3976
|
as([
|
|
3972
3977
|
a({ type: String })
|
|
3973
|
-
],
|
|
3974
|
-
|
|
3978
|
+
], ce.prototype, "size", 2);
|
|
3979
|
+
ce = as([
|
|
3975
3980
|
b("ds-loader-dots")
|
|
3976
|
-
],
|
|
3981
|
+
], ce);
|
|
3977
3982
|
const _o = h`
|
|
3978
3983
|
.backdrop {
|
|
3979
3984
|
display: flex;
|
|
@@ -4039,7 +4044,7 @@ var Po = Object.defineProperty, No = Object.getOwnPropertyDescriptor, He = (t, e
|
|
|
4039
4044
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
4040
4045
|
return r && s && Po(e, i, s), s;
|
|
4041
4046
|
};
|
|
4042
|
-
let
|
|
4047
|
+
let jt = class extends f {
|
|
4043
4048
|
constructor() {
|
|
4044
4049
|
super(...arguments), this.show = !1, this.zIndex = 2e3, this.iconName = "logo";
|
|
4045
4050
|
}
|
|
@@ -4072,22 +4077,22 @@ let Dt = class extends f {
|
|
|
4072
4077
|
` : c;
|
|
4073
4078
|
}
|
|
4074
4079
|
};
|
|
4075
|
-
|
|
4080
|
+
jt.styles = [_o];
|
|
4076
4081
|
He([
|
|
4077
4082
|
a({ type: Boolean, converter: m })
|
|
4078
|
-
],
|
|
4083
|
+
], jt.prototype, "show", 2);
|
|
4079
4084
|
He([
|
|
4080
4085
|
a({ type: Number, attribute: "z-index" })
|
|
4081
|
-
],
|
|
4086
|
+
], jt.prototype, "zIndex", 2);
|
|
4082
4087
|
He([
|
|
4083
4088
|
a({ type: String, attribute: "icon-name" })
|
|
4084
|
-
],
|
|
4089
|
+
], jt.prototype, "iconName", 2);
|
|
4085
4090
|
He([
|
|
4086
4091
|
a({ type: String })
|
|
4087
|
-
],
|
|
4088
|
-
|
|
4092
|
+
], jt.prototype, "color", 2);
|
|
4093
|
+
jt = He([
|
|
4089
4094
|
b("ds-loader-logo")
|
|
4090
|
-
],
|
|
4095
|
+
], jt);
|
|
4091
4096
|
const Bo = h`
|
|
4092
4097
|
:host {
|
|
4093
4098
|
display: contents;
|
|
@@ -4142,7 +4147,7 @@ var Do = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, ls = (t, e
|
|
|
4142
4147
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
4143
4148
|
return r && s && Do(e, i, s), s;
|
|
4144
4149
|
};
|
|
4145
|
-
let
|
|
4150
|
+
let de = class extends f {
|
|
4146
4151
|
constructor() {
|
|
4147
4152
|
super(...arguments), this.show = !1, this.mode = "light", this.orientation = "row";
|
|
4148
4153
|
}
|
|
@@ -4165,19 +4170,19 @@ let ce = class extends f {
|
|
|
4165
4170
|
` : c;
|
|
4166
4171
|
}
|
|
4167
4172
|
};
|
|
4168
|
-
|
|
4173
|
+
de.styles = Mo;
|
|
4169
4174
|
ls([
|
|
4170
4175
|
a({ type: Boolean, converter: m })
|
|
4171
|
-
],
|
|
4176
|
+
], de.prototype, "show", 2);
|
|
4172
4177
|
ls([
|
|
4173
4178
|
a({ type: String, reflect: !0 })
|
|
4174
|
-
],
|
|
4179
|
+
], de.prototype, "mode", 2);
|
|
4175
4180
|
ls([
|
|
4176
4181
|
a({ type: String })
|
|
4177
|
-
],
|
|
4178
|
-
|
|
4182
|
+
], de.prototype, "orientation", 2);
|
|
4183
|
+
de = ls([
|
|
4179
4184
|
b("ds-loader-spinner")
|
|
4180
|
-
],
|
|
4185
|
+
], de);
|
|
4181
4186
|
const Fo = h`
|
|
4182
4187
|
:host {
|
|
4183
4188
|
display: contents;
|
|
@@ -4281,12 +4286,12 @@ const Ho = h`
|
|
|
4281
4286
|
color: var(--dg-color-text-strong);
|
|
4282
4287
|
}
|
|
4283
4288
|
`;
|
|
4284
|
-
var Wo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor,
|
|
4289
|
+
var Wo = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, Pt = (t, e, i, r) => {
|
|
4285
4290
|
for (var s = r > 1 ? void 0 : r ? qo(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
4286
4291
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
4287
4292
|
return r && s && Wo(e, i, s), s;
|
|
4288
4293
|
};
|
|
4289
|
-
let
|
|
4294
|
+
let lt = class extends f {
|
|
4290
4295
|
constructor() {
|
|
4291
4296
|
super(...arguments), this.width = 48, this.height = 48, this.checked = !1, this.iconSize = 24, this.iconTop = 8;
|
|
4292
4297
|
}
|
|
@@ -4360,31 +4365,31 @@ let at = class extends f {
|
|
|
4360
4365
|
`;
|
|
4361
4366
|
}
|
|
4362
4367
|
};
|
|
4363
|
-
|
|
4364
|
-
|
|
4368
|
+
lt.styles = [Ho];
|
|
4369
|
+
Pt([
|
|
4365
4370
|
a({ type: Number, attribute: "width" })
|
|
4366
|
-
],
|
|
4367
|
-
|
|
4371
|
+
], lt.prototype, "width", 2);
|
|
4372
|
+
Pt([
|
|
4368
4373
|
a({ type: Number, attribute: "height" })
|
|
4369
|
-
],
|
|
4370
|
-
|
|
4374
|
+
], lt.prototype, "height", 2);
|
|
4375
|
+
Pt([
|
|
4371
4376
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
4372
|
-
],
|
|
4373
|
-
|
|
4377
|
+
], lt.prototype, "checked", 2);
|
|
4378
|
+
Pt([
|
|
4374
4379
|
a({ type: String, attribute: "icon-name" })
|
|
4375
|
-
],
|
|
4376
|
-
|
|
4380
|
+
], lt.prototype, "iconName", 2);
|
|
4381
|
+
Pt([
|
|
4377
4382
|
a({ type: Number, attribute: "icon-size" })
|
|
4378
|
-
],
|
|
4379
|
-
|
|
4383
|
+
], lt.prototype, "iconSize", 2);
|
|
4384
|
+
Pt([
|
|
4380
4385
|
a({ type: Number, attribute: "icon-top" })
|
|
4381
|
-
],
|
|
4382
|
-
|
|
4386
|
+
], lt.prototype, "iconTop", 2);
|
|
4387
|
+
Pt([
|
|
4383
4388
|
a({ type: Number, attribute: "cluster-count" })
|
|
4384
|
-
],
|
|
4385
|
-
|
|
4389
|
+
], lt.prototype, "clusterCount", 2);
|
|
4390
|
+
lt = Pt([
|
|
4386
4391
|
b("ds-map-pin")
|
|
4387
|
-
],
|
|
4392
|
+
], lt);
|
|
4388
4393
|
const Ko = h`
|
|
4389
4394
|
:host {
|
|
4390
4395
|
transition: display 300ms ease allow-discrete;
|
|
@@ -4455,7 +4460,7 @@ const Ko = h`
|
|
|
4455
4460
|
grid-area: confirmButton;
|
|
4456
4461
|
}
|
|
4457
4462
|
|
|
4458
|
-
${
|
|
4463
|
+
${V.m} {
|
|
4459
4464
|
.content-container.full-width {
|
|
4460
4465
|
max-width: 700px;
|
|
4461
4466
|
}
|
|
@@ -4486,7 +4491,7 @@ const Ko = h`
|
|
|
4486
4491
|
}
|
|
4487
4492
|
}
|
|
4488
4493
|
|
|
4489
|
-
${
|
|
4494
|
+
${V.l} {
|
|
4490
4495
|
.content-container.full-width {
|
|
4491
4496
|
max-width: 952px;
|
|
4492
4497
|
}
|
|
@@ -4504,7 +4509,7 @@ const Ko = h`
|
|
|
4504
4509
|
}
|
|
4505
4510
|
}
|
|
4506
4511
|
|
|
4507
|
-
${
|
|
4512
|
+
${V.xl} {
|
|
4508
4513
|
.content-container.full-width {
|
|
4509
4514
|
max-width: 1138px;
|
|
4510
4515
|
}
|
|
@@ -4521,7 +4526,7 @@ const Ko = h`
|
|
|
4521
4526
|
'. cancelButton confirmButton';
|
|
4522
4527
|
}
|
|
4523
4528
|
}
|
|
4524
|
-
`,
|
|
4529
|
+
`, Yo = h`
|
|
4525
4530
|
.container.full-screen {
|
|
4526
4531
|
position: fixed;
|
|
4527
4532
|
height: 100%;
|
|
@@ -4538,7 +4543,7 @@ const Ko = h`
|
|
|
4538
4543
|
.icon {
|
|
4539
4544
|
margin-bottom: 32px;
|
|
4540
4545
|
}
|
|
4541
|
-
`,
|
|
4546
|
+
`, Go = h`
|
|
4542
4547
|
.container.dialog {
|
|
4543
4548
|
position: fixed;
|
|
4544
4549
|
height: auto;
|
|
@@ -4566,7 +4571,7 @@ const Ko = h`
|
|
|
4566
4571
|
width: calc(100dvw - 32px);
|
|
4567
4572
|
}
|
|
4568
4573
|
|
|
4569
|
-
${
|
|
4574
|
+
${V.m} {
|
|
4570
4575
|
.container.dialog .content-container {
|
|
4571
4576
|
max-height: calc(100dvh - 112px);
|
|
4572
4577
|
padding: 48px;
|
|
@@ -4582,7 +4587,7 @@ const Ko = h`
|
|
|
4582
4587
|
padding-top: 24px;
|
|
4583
4588
|
}
|
|
4584
4589
|
|
|
4585
|
-
${
|
|
4590
|
+
${V.m} {
|
|
4586
4591
|
.container.full-screen.v-align-default {
|
|
4587
4592
|
justify-content: center;
|
|
4588
4593
|
padding-top: 0;
|
|
@@ -4599,19 +4604,19 @@ const Ko = h`
|
|
|
4599
4604
|
padding-top: 24px;
|
|
4600
4605
|
}
|
|
4601
4606
|
|
|
4602
|
-
${
|
|
4607
|
+
${V.m} {
|
|
4603
4608
|
.container.full-screen.v-align-start {
|
|
4604
4609
|
padding-top: 32px;
|
|
4605
4610
|
}
|
|
4606
4611
|
}
|
|
4607
4612
|
|
|
4608
|
-
${
|
|
4613
|
+
${V.l} {
|
|
4609
4614
|
.container.full-screen.v-align-start {
|
|
4610
4615
|
padding-top: 32px;
|
|
4611
4616
|
}
|
|
4612
4617
|
}
|
|
4613
4618
|
|
|
4614
|
-
${
|
|
4619
|
+
${V.xl} {
|
|
4615
4620
|
.container.full-screen.v-align-start {
|
|
4616
4621
|
padding-top: 64px;
|
|
4617
4622
|
}
|
|
@@ -4638,19 +4643,19 @@ const Ko = h`
|
|
|
4638
4643
|
padding-bottom: 24px;
|
|
4639
4644
|
}
|
|
4640
4645
|
|
|
4641
|
-
${
|
|
4646
|
+
${V.m} {
|
|
4642
4647
|
.container.full-screen.v-align-end {
|
|
4643
4648
|
padding-bottom: 32px;
|
|
4644
4649
|
}
|
|
4645
4650
|
}
|
|
4646
4651
|
|
|
4647
|
-
${
|
|
4652
|
+
${V.l} {
|
|
4648
4653
|
.container.full-screen.v-align-end {
|
|
4649
4654
|
padding-bottom: 32px;
|
|
4650
4655
|
}
|
|
4651
4656
|
}
|
|
4652
4657
|
|
|
4653
|
-
${
|
|
4658
|
+
${V.xl} {
|
|
4654
4659
|
.container.full-screen.v-align-end {
|
|
4655
4660
|
padding-bottom: 64px;
|
|
4656
4661
|
}
|
|
@@ -4662,12 +4667,12 @@ const Ko = h`
|
|
|
4662
4667
|
margin-bottom: 24px;
|
|
4663
4668
|
}
|
|
4664
4669
|
`;
|
|
4665
|
-
var Zo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor,
|
|
4670
|
+
var Zo = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, ot = (t, e, i, r) => {
|
|
4666
4671
|
for (var s = r > 1 ? void 0 : r ? Qo(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
4667
4672
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
4668
4673
|
return r && s && Zo(e, i, s), s;
|
|
4669
4674
|
};
|
|
4670
|
-
let
|
|
4675
|
+
let q = class extends _t(f) {
|
|
4671
4676
|
constructor() {
|
|
4672
4677
|
super(...arguments), this.withCloseButton = !0, this.variant = "fullScreen", this.zIndex = 2e3, this.disableScrollLock = !1, this.fullWidth = !1, this.vAlign = "default";
|
|
4673
4678
|
}
|
|
@@ -4818,52 +4823,52 @@ let W = class extends At(f) {
|
|
|
4818
4823
|
));
|
|
4819
4824
|
}
|
|
4820
4825
|
};
|
|
4821
|
-
|
|
4822
|
-
|
|
4826
|
+
q.styles = [Yo, Go, Xo, Ko, Jo];
|
|
4827
|
+
ot([
|
|
4823
4828
|
a({ type: Boolean, reflect: !0, converter: m })
|
|
4824
|
-
],
|
|
4825
|
-
|
|
4829
|
+
], q.prototype, "open", 2);
|
|
4830
|
+
ot([
|
|
4826
4831
|
a({
|
|
4827
4832
|
type: Boolean,
|
|
4828
4833
|
attribute: "with-close-button",
|
|
4829
4834
|
converter: m
|
|
4830
4835
|
})
|
|
4831
|
-
],
|
|
4832
|
-
|
|
4836
|
+
], q.prototype, "withCloseButton", 2);
|
|
4837
|
+
ot([
|
|
4833
4838
|
a({ type: String, attribute: "cancel-button-text" })
|
|
4834
|
-
],
|
|
4835
|
-
|
|
4839
|
+
], q.prototype, "cancelButtonText", 2);
|
|
4840
|
+
ot([
|
|
4836
4841
|
a({ type: String, attribute: "confirm-button-text" })
|
|
4837
|
-
],
|
|
4838
|
-
|
|
4842
|
+
], q.prototype, "confirmButtonText", 2);
|
|
4843
|
+
ot([
|
|
4839
4844
|
a({ type: String })
|
|
4840
|
-
],
|
|
4841
|
-
|
|
4845
|
+
], q.prototype, "variant", 2);
|
|
4846
|
+
ot([
|
|
4842
4847
|
a({ type: Number, attribute: "z-index" })
|
|
4843
|
-
],
|
|
4844
|
-
|
|
4848
|
+
], q.prototype, "zIndex", 2);
|
|
4849
|
+
ot([
|
|
4845
4850
|
a({
|
|
4846
4851
|
type: Boolean,
|
|
4847
4852
|
converter: m,
|
|
4848
4853
|
attribute: "disable-scroll-lock"
|
|
4849
4854
|
})
|
|
4850
|
-
],
|
|
4851
|
-
|
|
4855
|
+
], q.prototype, "disableScrollLock", 2);
|
|
4856
|
+
ot([
|
|
4852
4857
|
a({ type: String, attribute: "icon-name" })
|
|
4853
|
-
],
|
|
4854
|
-
|
|
4858
|
+
], q.prototype, "iconName", 2);
|
|
4859
|
+
ot([
|
|
4855
4860
|
a({
|
|
4856
4861
|
type: Boolean,
|
|
4857
4862
|
converter: m,
|
|
4858
4863
|
attribute: "full-width"
|
|
4859
4864
|
})
|
|
4860
|
-
],
|
|
4861
|
-
|
|
4865
|
+
], q.prototype, "fullWidth", 2);
|
|
4866
|
+
ot([
|
|
4862
4867
|
a({ type: String, attribute: "v-align" })
|
|
4863
|
-
],
|
|
4864
|
-
|
|
4868
|
+
], q.prototype, "vAlign", 2);
|
|
4869
|
+
q = ot([
|
|
4865
4870
|
b("ds-modal")
|
|
4866
|
-
],
|
|
4871
|
+
], q);
|
|
4867
4872
|
const js = (t) => class extends t {
|
|
4868
4873
|
constructor() {
|
|
4869
4874
|
super(...arguments), this.inputStates = {
|
|
@@ -4915,12 +4920,12 @@ const tn = h`
|
|
|
4915
4920
|
display: contents;
|
|
4916
4921
|
}
|
|
4917
4922
|
`;
|
|
4918
|
-
var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor,
|
|
4923
|
+
var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, ge = (t, e, i, r) => {
|
|
4919
4924
|
for (var s = r > 1 ? void 0 : r ? sn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
4920
4925
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
4921
4926
|
return r && s && en(e, i, s), s;
|
|
4922
4927
|
};
|
|
4923
|
-
let
|
|
4928
|
+
let ft = class extends js(f) {
|
|
4924
4929
|
constructor() {
|
|
4925
4930
|
super(...arguments), this.keyboardMode = !1, this.size = "medium", this.helperText = "", this.forcedError = "", this.invalidError = "", this.dataAriaLabelRemoveButton = "", this.handleClickIcon = () => {
|
|
4926
4931
|
this.nativeInput.value = "", this.nativeInput.focus(), ["input", "change"].forEach(
|
|
@@ -4983,31 +4988,31 @@ let gt = class extends js(f) {
|
|
|
4983
4988
|
return this.forcedError || !this.inputStates.invalid || !this.invalidError ? c : l`<span class="support-text error-text invalid-error">${this.invalidError}</span>`;
|
|
4984
4989
|
}
|
|
4985
4990
|
};
|
|
4986
|
-
|
|
4987
|
-
|
|
4991
|
+
ft.styles = [tn];
|
|
4992
|
+
ge([
|
|
4988
4993
|
a({ type: String })
|
|
4989
|
-
],
|
|
4990
|
-
|
|
4994
|
+
], ft.prototype, "size", 2);
|
|
4995
|
+
ge([
|
|
4991
4996
|
a({ type: String, attribute: "helper-text" })
|
|
4992
|
-
],
|
|
4993
|
-
|
|
4997
|
+
], ft.prototype, "helperText", 2);
|
|
4998
|
+
ge([
|
|
4994
4999
|
a({ type: String, attribute: "forced-error" })
|
|
4995
|
-
],
|
|
4996
|
-
|
|
5000
|
+
], ft.prototype, "forcedError", 2);
|
|
5001
|
+
ge([
|
|
4997
5002
|
a({ type: String, attribute: "invalid-error" })
|
|
4998
|
-
],
|
|
4999
|
-
|
|
5003
|
+
], ft.prototype, "invalidError", 2);
|
|
5004
|
+
ge([
|
|
5000
5005
|
a({ type: String, attribute: "data-aria-label-remove-button" })
|
|
5001
|
-
],
|
|
5002
|
-
|
|
5006
|
+
], ft.prototype, "dataAriaLabelRemoveButton", 2);
|
|
5007
|
+
ft = ge([
|
|
5003
5008
|
b("ds-text-input")
|
|
5004
|
-
],
|
|
5009
|
+
], ft);
|
|
5005
5010
|
var rn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, cs = (t, e, i, r) => {
|
|
5006
5011
|
for (var s = r > 1 ? void 0 : r ? on(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5007
5012
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5008
5013
|
return r && s && rn(e, i, s), s;
|
|
5009
5014
|
};
|
|
5010
|
-
let Le = class extends
|
|
5015
|
+
let Le = class extends ft {
|
|
5011
5016
|
constructor() {
|
|
5012
5017
|
super(...arguments), this.dataAriaLabelHideButton = "", this.dataAriaLabelShowButton = "", this.visible = !1, this.handleClickIcon = () => {
|
|
5013
5018
|
this.visible ? (this.nativeInput.setAttribute("type", "password"), this.visible = !1) : (this.nativeInput.setAttribute("type", "text"), this.visible = !0);
|
|
@@ -5048,7 +5053,7 @@ var an = Object.defineProperty, ln = Object.getOwnPropertyDescriptor, We = (t, e
|
|
|
5048
5053
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5049
5054
|
return r && s && an(e, i, s), s;
|
|
5050
5055
|
};
|
|
5051
|
-
let
|
|
5056
|
+
let Ft = class extends _t(f) {
|
|
5052
5057
|
constructor() {
|
|
5053
5058
|
super(...arguments), this.variant = "without-border", this.size = "medium", this.loading = !1, this.selected = !1;
|
|
5054
5059
|
}
|
|
@@ -5102,28 +5107,28 @@ let jt = class extends At(f) {
|
|
|
5102
5107
|
`;
|
|
5103
5108
|
}
|
|
5104
5109
|
};
|
|
5105
|
-
|
|
5110
|
+
Ft.styles = [nn];
|
|
5106
5111
|
We([
|
|
5107
5112
|
a({ type: String })
|
|
5108
|
-
],
|
|
5113
|
+
], Ft.prototype, "variant", 2);
|
|
5109
5114
|
We([
|
|
5110
5115
|
a({ type: String, converter: Fe })
|
|
5111
|
-
],
|
|
5116
|
+
], Ft.prototype, "size", 2);
|
|
5112
5117
|
We([
|
|
5113
5118
|
a({ type: Boolean, converter: m })
|
|
5114
|
-
],
|
|
5119
|
+
], Ft.prototype, "loading", 2);
|
|
5115
5120
|
We([
|
|
5116
5121
|
a({ type: Boolean, converter: m })
|
|
5117
|
-
],
|
|
5118
|
-
|
|
5122
|
+
], Ft.prototype, "selected", 2);
|
|
5123
|
+
Ft = We([
|
|
5119
5124
|
b("ds-picker-item")
|
|
5120
|
-
],
|
|
5125
|
+
], Ft);
|
|
5121
5126
|
var cn = Object.defineProperty, dn = Object.getOwnPropertyDescriptor, Ei = (t, e, i, r) => {
|
|
5122
5127
|
for (var s = r > 1 ? void 0 : r ? dn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5123
5128
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5124
5129
|
return r && s && cn(e, i, s), s;
|
|
5125
5130
|
};
|
|
5126
|
-
let $s = class extends
|
|
5131
|
+
let $s = class extends ut {
|
|
5127
5132
|
constructor() {
|
|
5128
5133
|
super(...arguments), this.nodes = [], this.querySelectorText = "body";
|
|
5129
5134
|
}
|
|
@@ -5161,7 +5166,7 @@ var pn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, mn = Objec
|
|
|
5161
5166
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5162
5167
|
return r && s && pn(e, i, s), s;
|
|
5163
5168
|
}, bn = (t, e, i) => vn(mn(t), i, e);
|
|
5164
|
-
let
|
|
5169
|
+
let ee = class extends Ve {
|
|
5165
5170
|
render() {
|
|
5166
5171
|
return this.show ? l`
|
|
5167
5172
|
<style>
|
|
@@ -5173,13 +5178,13 @@ let te = class extends Ve {
|
|
|
5173
5178
|
` : c;
|
|
5174
5179
|
}
|
|
5175
5180
|
};
|
|
5176
|
-
|
|
5181
|
+
ee.styles = [...bn(ee, ee, "styles"), hn];
|
|
5177
5182
|
Oi([
|
|
5178
5183
|
a({ type: Number })
|
|
5179
|
-
],
|
|
5180
|
-
|
|
5184
|
+
], ee.prototype, "progress", 2);
|
|
5185
|
+
ee = Oi([
|
|
5181
5186
|
b("ds-progress-bar", { skipTagAsComponentName: !0 })
|
|
5182
|
-
],
|
|
5187
|
+
], ee);
|
|
5183
5188
|
const yn = h`
|
|
5184
5189
|
:host {
|
|
5185
5190
|
display: contents;
|
|
@@ -5198,13 +5203,13 @@ const yn = h`
|
|
|
5198
5203
|
vertical-align: top;
|
|
5199
5204
|
}
|
|
5200
5205
|
`;
|
|
5201
|
-
var gn = Object.defineProperty, fn = Object.getOwnPropertyDescriptor,
|
|
5206
|
+
var gn = Object.defineProperty, fn = Object.getOwnPropertyDescriptor, Yt = (t, e, i, r) => {
|
|
5202
5207
|
for (var s = r > 1 ? void 0 : r ? fn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5203
5208
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5204
5209
|
return r && s && gn(e, i, s), s;
|
|
5205
5210
|
};
|
|
5206
5211
|
const zi = Symbol("ds-radio-button-group:disabled"), Ii = Symbol("ds-radio-button-group:error"), Ai = Symbol("ds-radio-button-group:error-text"), _i = Symbol("ds-radio-button-group:helper-text"), Pi = Symbol("ds-radio-button-group:size");
|
|
5207
|
-
let
|
|
5212
|
+
let xt = class extends f {
|
|
5208
5213
|
constructor() {
|
|
5209
5214
|
super(...arguments), this.error = !1, this.errorText = "", this.helperText = "", this.disabled = !1, this.size = "medium", this.orientation = "vertical";
|
|
5210
5215
|
}
|
|
@@ -5235,33 +5240,33 @@ let ft = class extends f {
|
|
|
5235
5240
|
`;
|
|
5236
5241
|
}
|
|
5237
5242
|
};
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5243
|
+
xt.styles = [yn];
|
|
5244
|
+
Yt([
|
|
5245
|
+
ve({ context: Ii }),
|
|
5241
5246
|
a({ type: Boolean, converter: m })
|
|
5242
|
-
],
|
|
5243
|
-
|
|
5244
|
-
|
|
5247
|
+
], xt.prototype, "error", 2);
|
|
5248
|
+
Yt([
|
|
5249
|
+
ve({ context: Ai }),
|
|
5245
5250
|
a({ type: String, attribute: "error-text" })
|
|
5246
|
-
],
|
|
5247
|
-
|
|
5248
|
-
|
|
5251
|
+
], xt.prototype, "errorText", 2);
|
|
5252
|
+
Yt([
|
|
5253
|
+
ve({ context: _i }),
|
|
5249
5254
|
a({ type: String, attribute: "helper-text" })
|
|
5250
|
-
],
|
|
5251
|
-
|
|
5252
|
-
|
|
5255
|
+
], xt.prototype, "helperText", 2);
|
|
5256
|
+
Yt([
|
|
5257
|
+
ve({ context: zi }),
|
|
5253
5258
|
a({ type: Boolean, converter: m })
|
|
5254
|
-
],
|
|
5255
|
-
|
|
5256
|
-
|
|
5259
|
+
], xt.prototype, "disabled", 2);
|
|
5260
|
+
Yt([
|
|
5261
|
+
ve({ context: Pi }),
|
|
5257
5262
|
a({ type: String })
|
|
5258
|
-
],
|
|
5259
|
-
|
|
5263
|
+
], xt.prototype, "size", 2);
|
|
5264
|
+
Yt([
|
|
5260
5265
|
a({ type: String, reflect: !0 })
|
|
5261
|
-
],
|
|
5262
|
-
|
|
5266
|
+
], xt.prototype, "orientation", 2);
|
|
5267
|
+
xt = Yt([
|
|
5263
5268
|
b("ds-radio-button-group")
|
|
5264
|
-
],
|
|
5269
|
+
], xt);
|
|
5265
5270
|
const xn = h`
|
|
5266
5271
|
:host {
|
|
5267
5272
|
display: block;
|
|
@@ -5471,7 +5476,7 @@ F([
|
|
|
5471
5476
|
y()
|
|
5472
5477
|
], B.prototype, "inputMutationObserver", 2);
|
|
5473
5478
|
F([
|
|
5474
|
-
|
|
5479
|
+
et({ slot: "input", selector: "input" })
|
|
5475
5480
|
], B.prototype, "input", 2);
|
|
5476
5481
|
B = F([
|
|
5477
5482
|
b("ds-radio-button")
|
|
@@ -5490,12 +5495,12 @@ const Sn = h`
|
|
|
5490
5495
|
display: contents;
|
|
5491
5496
|
}
|
|
5492
5497
|
`;
|
|
5493
|
-
var kn = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor,
|
|
5498
|
+
var kn = Object.defineProperty, Tn = Object.getOwnPropertyDescriptor, fe = (t, e, i, r) => {
|
|
5494
5499
|
for (var s = r > 1 ? void 0 : r ? Tn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5495
5500
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5496
5501
|
return r && s && kn(e, i, s), s;
|
|
5497
5502
|
};
|
|
5498
|
-
let
|
|
5503
|
+
let Ot = class extends rs(ut) {
|
|
5499
5504
|
constructor() {
|
|
5500
5505
|
super(...arguments), this.mode = "light", this.size = "large";
|
|
5501
5506
|
}
|
|
@@ -5538,25 +5543,25 @@ let Et = class extends rs(pt) {
|
|
|
5538
5543
|
`;
|
|
5539
5544
|
}
|
|
5540
5545
|
};
|
|
5541
|
-
|
|
5542
|
-
|
|
5546
|
+
Ot.styles = [Sn];
|
|
5547
|
+
fe([
|
|
5543
5548
|
a({ type: String })
|
|
5544
|
-
],
|
|
5545
|
-
|
|
5549
|
+
], Ot.prototype, "name", 2);
|
|
5550
|
+
fe([
|
|
5546
5551
|
a({ type: String, reflect: !0 })
|
|
5547
|
-
],
|
|
5548
|
-
|
|
5552
|
+
], Ot.prototype, "value", 2);
|
|
5553
|
+
fe([
|
|
5549
5554
|
a({ type: String, reflect: !0 })
|
|
5550
|
-
],
|
|
5551
|
-
|
|
5555
|
+
], Ot.prototype, "mode", 2);
|
|
5556
|
+
fe([
|
|
5552
5557
|
a({ type: String })
|
|
5553
|
-
],
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
],
|
|
5557
|
-
|
|
5558
|
+
], Ot.prototype, "size", 2);
|
|
5559
|
+
fe([
|
|
5560
|
+
et({ selector: "ds-radio" })
|
|
5561
|
+
], Ot.prototype, "radioElements", 2);
|
|
5562
|
+
Ot = fe([
|
|
5558
5563
|
b("ds-radio-group", { skipTagAsComponentName: !0 })
|
|
5559
|
-
],
|
|
5564
|
+
], Ot);
|
|
5560
5565
|
const Cn = h`
|
|
5561
5566
|
:host {
|
|
5562
5567
|
display: inline-block;
|
|
@@ -5594,12 +5599,12 @@ const Cn = h`
|
|
|
5594
5599
|
transform: scale(1);
|
|
5595
5600
|
}
|
|
5596
5601
|
`;
|
|
5597
|
-
var En = Object.defineProperty, On = Object.getOwnPropertyDescriptor,
|
|
5602
|
+
var En = Object.defineProperty, On = Object.getOwnPropertyDescriptor, kt = (t, e, i, r) => {
|
|
5598
5603
|
for (var s = r > 1 ? void 0 : r ? On(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5599
5604
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5600
5605
|
return r && s && En(e, i, s), s;
|
|
5601
5606
|
};
|
|
5602
|
-
let
|
|
5607
|
+
let Q = class extends f {
|
|
5603
5608
|
constructor() {
|
|
5604
5609
|
super(...arguments), this.readonly = !1, this.checked = !1, this.disabled = !1, this.mode = "light", this.size = "large", this.handleClickInput = (t) => {
|
|
5605
5610
|
this.readonly && t.preventDefault();
|
|
@@ -5663,45 +5668,45 @@ let Z = class extends f {
|
|
|
5663
5668
|
`;
|
|
5664
5669
|
}
|
|
5665
5670
|
};
|
|
5666
|
-
|
|
5667
|
-
|
|
5671
|
+
Q.styles = [Cn];
|
|
5672
|
+
kt([
|
|
5668
5673
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5669
|
-
],
|
|
5670
|
-
|
|
5674
|
+
], Q.prototype, "readonly", 2);
|
|
5675
|
+
kt([
|
|
5671
5676
|
a({ type: String, reflect: !0 })
|
|
5672
|
-
],
|
|
5673
|
-
|
|
5677
|
+
], Q.prototype, "name", 2);
|
|
5678
|
+
kt([
|
|
5674
5679
|
a({ type: String })
|
|
5675
|
-
],
|
|
5676
|
-
|
|
5680
|
+
], Q.prototype, "value", 2);
|
|
5681
|
+
kt([
|
|
5677
5682
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5678
|
-
],
|
|
5679
|
-
|
|
5683
|
+
], Q.prototype, "checked", 2);
|
|
5684
|
+
kt([
|
|
5680
5685
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
5681
|
-
],
|
|
5682
|
-
|
|
5686
|
+
], Q.prototype, "disabled", 2);
|
|
5687
|
+
kt([
|
|
5683
5688
|
a({ type: String, reflect: !0 })
|
|
5684
|
-
],
|
|
5685
|
-
|
|
5689
|
+
], Q.prototype, "mode", 2);
|
|
5690
|
+
kt([
|
|
5686
5691
|
a({ type: String })
|
|
5687
|
-
],
|
|
5688
|
-
|
|
5692
|
+
], Q.prototype, "size", 2);
|
|
5693
|
+
kt([
|
|
5689
5694
|
As({ slot: "", flatten: !0 })
|
|
5690
|
-
],
|
|
5691
|
-
|
|
5695
|
+
], Q.prototype, "_defaultSlotNodes", 2);
|
|
5696
|
+
Q = kt([
|
|
5692
5697
|
b("ds-radio")
|
|
5693
|
-
],
|
|
5698
|
+
], Q);
|
|
5694
5699
|
const zn = h`
|
|
5695
5700
|
:host {
|
|
5696
5701
|
display: contents;
|
|
5697
5702
|
}
|
|
5698
5703
|
`;
|
|
5699
|
-
var In = Object.defineProperty, An = Object.getOwnPropertyDescriptor,
|
|
5704
|
+
var In = Object.defineProperty, An = Object.getOwnPropertyDescriptor, dt = (t, e, i, r) => {
|
|
5700
5705
|
for (var s = r > 1 ? void 0 : r ? An(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
5701
5706
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
5702
5707
|
return r && s && In(e, i, s), s;
|
|
5703
5708
|
};
|
|
5704
|
-
let
|
|
5709
|
+
let Y = class extends js(f) {
|
|
5705
5710
|
constructor() {
|
|
5706
5711
|
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 = () => {
|
|
5707
5712
|
this.nativeInput.value = "", this.nativeInput.focus(), ["input", "change"].forEach(
|
|
@@ -5809,37 +5814,37 @@ let K = class extends js(f) {
|
|
|
5809
5814
|
return Fs(r) ? l`<span class="char-counter">${((i = this.inputStates.currentValue) == null ? void 0 : i.length) || 0}/${r}</span>` : c;
|
|
5810
5815
|
}
|
|
5811
5816
|
};
|
|
5812
|
-
|
|
5813
|
-
|
|
5817
|
+
Y.styles = [zn];
|
|
5818
|
+
dt([
|
|
5814
5819
|
a({ type: String })
|
|
5815
|
-
],
|
|
5816
|
-
|
|
5820
|
+
], Y.prototype, "size", 2);
|
|
5821
|
+
dt([
|
|
5817
5822
|
a({ type: String })
|
|
5818
|
-
],
|
|
5819
|
-
|
|
5823
|
+
], Y.prototype, "variant", 2);
|
|
5824
|
+
dt([
|
|
5820
5825
|
a({ type: Boolean, converter: m })
|
|
5821
|
-
],
|
|
5822
|
-
|
|
5826
|
+
], Y.prototype, "loading", 2);
|
|
5827
|
+
dt([
|
|
5823
5828
|
a({ type: String, attribute: "helper-text" })
|
|
5824
|
-
],
|
|
5825
|
-
|
|
5829
|
+
], Y.prototype, "helperText", 2);
|
|
5830
|
+
dt([
|
|
5826
5831
|
a({ type: String, attribute: "forced-error" })
|
|
5827
|
-
],
|
|
5828
|
-
|
|
5832
|
+
], Y.prototype, "forcedError", 2);
|
|
5833
|
+
dt([
|
|
5829
5834
|
a({ type: String, attribute: "invalid-error" })
|
|
5830
|
-
],
|
|
5831
|
-
|
|
5835
|
+
], Y.prototype, "invalidError", 2);
|
|
5836
|
+
dt([
|
|
5832
5837
|
a({ type: String, attribute: "data-aria-label-remove-button" })
|
|
5833
|
-
],
|
|
5834
|
-
|
|
5838
|
+
], Y.prototype, "dataAriaLabelRemoveButton", 2);
|
|
5839
|
+
dt([
|
|
5835
5840
|
a({ type: String, attribute: "data-aria-label-position-button" })
|
|
5836
|
-
],
|
|
5837
|
-
|
|
5841
|
+
], Y.prototype, "dataAriaLabelPositionButton", 2);
|
|
5842
|
+
dt([
|
|
5838
5843
|
a({ type: Boolean, converter: m, attribute: "with-position-button" })
|
|
5839
|
-
],
|
|
5840
|
-
|
|
5844
|
+
], Y.prototype, "withPositionButton", 2);
|
|
5845
|
+
Y = dt([
|
|
5841
5846
|
b("ds-search-input")
|
|
5842
|
-
],
|
|
5847
|
+
], Y);
|
|
5843
5848
|
const _n = h`
|
|
5844
5849
|
:host {
|
|
5845
5850
|
display: block;
|
|
@@ -6079,7 +6084,7 @@ L([
|
|
|
6079
6084
|
y()
|
|
6080
6085
|
], _.prototype, "focused", 2);
|
|
6081
6086
|
L([
|
|
6082
|
-
|
|
6087
|
+
ct(".input-field")
|
|
6083
6088
|
], _.prototype, "inputField", 2);
|
|
6084
6089
|
_ = L([
|
|
6085
6090
|
b("ds-search")
|
|
@@ -6089,12 +6094,12 @@ const jn = h`
|
|
|
6089
6094
|
display: contents;
|
|
6090
6095
|
}
|
|
6091
6096
|
`;
|
|
6092
|
-
var Fn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor,
|
|
6097
|
+
var Fn = Object.defineProperty, Rn = Object.getOwnPropertyDescriptor, ht = (t, e, i, r) => {
|
|
6093
6098
|
for (var s = r > 1 ? void 0 : r ? Rn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
6094
6099
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
6095
6100
|
return r && s && Fn(e, i, s), s;
|
|
6096
6101
|
};
|
|
6097
|
-
let G = class extends
|
|
6102
|
+
let G = class extends _t(f) {
|
|
6098
6103
|
constructor() {
|
|
6099
6104
|
super(...arguments), this.dropdownButtonText = "Menu", this.openItems = !1, this.openCtas = !1, this.hasScrollLeft = !1, this.hasScrollRight = !1, this.resizeObserver = new ResizeObserver(() => {
|
|
6100
6105
|
this.handleScroll();
|
|
@@ -6277,34 +6282,34 @@ let G = class extends At(f) {
|
|
|
6277
6282
|
}
|
|
6278
6283
|
};
|
|
6279
6284
|
G.styles = [jn];
|
|
6280
|
-
|
|
6285
|
+
ht([
|
|
6281
6286
|
a({ type: String, attribute: "dropdown-button-text" })
|
|
6282
6287
|
], G.prototype, "dropdownButtonText", 2);
|
|
6283
|
-
|
|
6288
|
+
ht([
|
|
6284
6289
|
a({ type: Number, attribute: "selected-index" })
|
|
6285
6290
|
], G.prototype, "selectedIndex", 2);
|
|
6286
|
-
|
|
6291
|
+
ht([
|
|
6287
6292
|
y()
|
|
6288
6293
|
], G.prototype, "openItems", 2);
|
|
6289
|
-
|
|
6294
|
+
ht([
|
|
6290
6295
|
y()
|
|
6291
6296
|
], G.prototype, "openCtas", 2);
|
|
6292
|
-
|
|
6297
|
+
ht([
|
|
6293
6298
|
y()
|
|
6294
6299
|
], G.prototype, "hasScrollLeft", 2);
|
|
6295
|
-
|
|
6300
|
+
ht([
|
|
6296
6301
|
y()
|
|
6297
6302
|
], G.prototype, "hasScrollRight", 2);
|
|
6298
|
-
|
|
6299
|
-
|
|
6303
|
+
ht([
|
|
6304
|
+
et({ slot: "items" })
|
|
6300
6305
|
], G.prototype, "items", 2);
|
|
6301
|
-
|
|
6302
|
-
|
|
6306
|
+
ht([
|
|
6307
|
+
et({ slot: "actions" })
|
|
6303
6308
|
], G.prototype, "ctas", 2);
|
|
6304
|
-
|
|
6305
|
-
|
|
6309
|
+
ht([
|
|
6310
|
+
ct(".items-container")
|
|
6306
6311
|
], G.prototype, "itemsContainer", 2);
|
|
6307
|
-
G =
|
|
6312
|
+
G = ht([
|
|
6308
6313
|
b("ds-secondary-navigation")
|
|
6309
6314
|
], G);
|
|
6310
6315
|
const Un = h`
|
|
@@ -6361,7 +6366,7 @@ var Vn = Object.defineProperty, Hn = Object.getOwnPropertyDescriptor, ds = (t, e
|
|
|
6361
6366
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
6362
6367
|
return r && s && Vn(e, i, s), s;
|
|
6363
6368
|
};
|
|
6364
|
-
let
|
|
6369
|
+
let he = class extends f {
|
|
6365
6370
|
constructor() {
|
|
6366
6371
|
super(...arguments), this.size = "medium", this.fullWidth = !1;
|
|
6367
6372
|
}
|
|
@@ -6397,23 +6402,23 @@ let de = class extends f {
|
|
|
6397
6402
|
`;
|
|
6398
6403
|
}
|
|
6399
6404
|
};
|
|
6400
|
-
|
|
6405
|
+
he.styles = [Un];
|
|
6401
6406
|
ds([
|
|
6402
6407
|
a({ type: String })
|
|
6403
|
-
],
|
|
6408
|
+
], he.prototype, "size", 2);
|
|
6404
6409
|
ds([
|
|
6405
6410
|
a({
|
|
6406
6411
|
type: Boolean,
|
|
6407
6412
|
converter: m,
|
|
6408
6413
|
attribute: "full-width"
|
|
6409
6414
|
})
|
|
6410
|
-
],
|
|
6415
|
+
], he.prototype, "fullWidth", 2);
|
|
6411
6416
|
ds([
|
|
6412
|
-
|
|
6413
|
-
],
|
|
6414
|
-
|
|
6417
|
+
et({ slot: "", flatten: !0 })
|
|
6418
|
+
], he.prototype, "slottedElements", 2);
|
|
6419
|
+
he = ds([
|
|
6415
6420
|
b("ds-segmented-control")
|
|
6416
|
-
],
|
|
6421
|
+
], he);
|
|
6417
6422
|
const ws = class {
|
|
6418
6423
|
static handleKeydownWhenOpen(e, i) {
|
|
6419
6424
|
switch (this.KEYS_WHEN_OPEN.has(e.key) && e.preventDefault(), e.key) {
|
|
@@ -6711,21 +6716,21 @@ R([
|
|
|
6711
6716
|
y()
|
|
6712
6717
|
], I.prototype, "hasForcedError", 2);
|
|
6713
6718
|
R([
|
|
6714
|
-
|
|
6719
|
+
et({ slot: "", selector: "select", flatten: !0 })
|
|
6715
6720
|
], I.prototype, "nativeSelects", 2);
|
|
6716
6721
|
R([
|
|
6717
|
-
|
|
6722
|
+
et({ slot: "", selector: "label", flatten: !0 })
|
|
6718
6723
|
], I.prototype, "nativeLabels", 2);
|
|
6719
6724
|
R([
|
|
6720
|
-
|
|
6725
|
+
et({ slot: "forced-error", flatten: !0 })
|
|
6721
6726
|
], I.prototype, "forcedError", 2);
|
|
6722
6727
|
R([
|
|
6723
|
-
|
|
6728
|
+
ct(".select")
|
|
6724
6729
|
], I.prototype, "displaySelect", 2);
|
|
6725
6730
|
I = R([
|
|
6726
6731
|
b("ds-select")
|
|
6727
6732
|
], I);
|
|
6728
|
-
const
|
|
6733
|
+
const Yn = h`
|
|
6729
6734
|
:host {
|
|
6730
6735
|
display: inline-block;
|
|
6731
6736
|
}
|
|
@@ -6735,10 +6740,10 @@ const Gn = h`
|
|
|
6735
6740
|
cursor: pointer;
|
|
6736
6741
|
}
|
|
6737
6742
|
`;
|
|
6738
|
-
var
|
|
6743
|
+
var Gn = Object.defineProperty, Xn = Object.getOwnPropertyDescriptor, Ni = (t, e, i, r) => {
|
|
6739
6744
|
for (var s = r > 1 ? void 0 : r ? Xn(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
6740
6745
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
6741
|
-
return r && s &&
|
|
6746
|
+
return r && s && Gn(e, i, s), s;
|
|
6742
6747
|
};
|
|
6743
6748
|
let Qe = class extends f {
|
|
6744
6749
|
get iconTemplate() {
|
|
@@ -6773,7 +6778,7 @@ let Qe = class extends f {
|
|
|
6773
6778
|
`;
|
|
6774
6779
|
}
|
|
6775
6780
|
};
|
|
6776
|
-
Qe.styles = [
|
|
6781
|
+
Qe.styles = [Yn];
|
|
6777
6782
|
Ni([
|
|
6778
6783
|
a({ type: Boolean, converter: m })
|
|
6779
6784
|
], Qe.prototype, "checked", 2);
|
|
@@ -6786,7 +6791,7 @@ function ms({ value: t, min: e, max: i }) {
|
|
|
6786
6791
|
const ci = (t, e, i = 10) => {
|
|
6787
6792
|
const r = Math.pow(10, i), s = Math.round(t * r), o = Math.round(e * r);
|
|
6788
6793
|
return (s + o) / r;
|
|
6789
|
-
},
|
|
6794
|
+
}, Ce = ({ step: t = 1, min: e = 0, max: i = 100, proposedValue: r, role: s, currentValues: o }) => {
|
|
6790
6795
|
const n = s === "min" ? 1 : 2, d = r;
|
|
6791
6796
|
let u, g = e, $ = i;
|
|
6792
6797
|
return Number.isFinite(d) ? (Object.keys(o).forEach((v) => {
|
|
@@ -6811,7 +6816,7 @@ const ci = (t, e, i = 10) => {
|
|
|
6811
6816
|
:host {
|
|
6812
6817
|
display: block;
|
|
6813
6818
|
}
|
|
6814
|
-
`, Qn =
|
|
6819
|
+
`, Qn = Kt`
|
|
6815
6820
|
.current-value-container {
|
|
6816
6821
|
position: relative;
|
|
6817
6822
|
}
|
|
@@ -6820,7 +6825,7 @@ const ci = (t, e, i = 10) => {
|
|
|
6820
6825
|
display: inline-flex;
|
|
6821
6826
|
position: absolute;
|
|
6822
6827
|
}
|
|
6823
|
-
`, ta =
|
|
6828
|
+
`, ta = Kt`
|
|
6824
6829
|
.range-value-container {
|
|
6825
6830
|
display: flex;
|
|
6826
6831
|
justify-content: space-between;
|
|
@@ -6833,7 +6838,7 @@ const ci = (t, e, i = 10) => {
|
|
|
6833
6838
|
.range-value-label:after {
|
|
6834
6839
|
content: ':';
|
|
6835
6840
|
}
|
|
6836
|
-
`, ea =
|
|
6841
|
+
`, ea = Kt`
|
|
6837
6842
|
.track {
|
|
6838
6843
|
position: relative;
|
|
6839
6844
|
cursor: pointer;
|
|
@@ -6850,7 +6855,7 @@ const ci = (t, e, i = 10) => {
|
|
|
6850
6855
|
.track, .track-range {
|
|
6851
6856
|
background-clip: content-box;
|
|
6852
6857
|
}
|
|
6853
|
-
`, sa =
|
|
6858
|
+
`, sa = Kt`
|
|
6854
6859
|
.thumb {
|
|
6855
6860
|
z-index: 2;
|
|
6856
6861
|
position: absolute;
|
|
@@ -6861,7 +6866,7 @@ var ia = Object.defineProperty, ra = Object.getOwnPropertyDescriptor, k = (t, e,
|
|
|
6861
6866
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
6862
6867
|
return r && s && ia(e, i, s), s;
|
|
6863
6868
|
};
|
|
6864
|
-
let w = class extends
|
|
6869
|
+
let w = class extends _t(f) {
|
|
6865
6870
|
constructor() {
|
|
6866
6871
|
super(...arguments), this.min = 0, this.max = 100, this.minLabel = "", this.maxLabel = "", this.step = 1, this.initialValueMin = 0, this.mode = "light", this.locale = void 0, this.localeMatcher = "lookup", this.useGrouping = !0, this.minimumIntegerDigits = 1, this.minimumFractionDigits = 0, this.maximumFractionDigits = 3, this.size = "medium", this.disabled = !1, this.keyboardMode = !1, this.getNewValue = (t) => {
|
|
6867
6872
|
const { width: e, left: i } = this.track.getBoundingClientRect(), r = t.type.indexOf("mouse") !== -1 ? t.clientX : t.touches[0].clientX, s = Math.min(Math.max(0, r - i), e) * 100 / e;
|
|
@@ -6871,7 +6876,7 @@ let w = class extends At(f) {
|
|
|
6871
6876
|
typeof this.valueMax != "number" || e <= this.valueMin ? this.activeThumb = "min" : e >= this.valueMax ? this.activeThumb = "max" : e - this.valueMin < this.valueMax - e ? this.activeThumb = "min" : this.activeThumb = "max";
|
|
6872
6877
|
}, this.handleMouseMove = (t) => {
|
|
6873
6878
|
this.animationFrameRequest && cancelAnimationFrame(this.animationFrameRequest), this.animationFrameRequest = requestAnimationFrame(() => {
|
|
6874
|
-
const e = this.getNewValue(t), i = this.activeThumb ?? "min", { stepValue: r } =
|
|
6879
|
+
const e = this.getNewValue(t), i = this.activeThumb ?? "min", { stepValue: r } = Ce({
|
|
6875
6880
|
step: this.step,
|
|
6876
6881
|
min: this.min,
|
|
6877
6882
|
max: this.max,
|
|
@@ -6899,7 +6904,7 @@ let w = class extends At(f) {
|
|
|
6899
6904
|
const s = r === "min" ? this.valueMin : this.valueMax;
|
|
6900
6905
|
i.value = String(s ?? ""), this.keyboardMode && i.classList.add("focus-visible");
|
|
6901
6906
|
}, this.commitInputValue = (t, e) => {
|
|
6902
|
-
const i = t.currentTarget, r = e === 1 ? "min" : "max", { stepValue: s } =
|
|
6907
|
+
const i = t.currentTarget, r = e === 1 ? "min" : "max", { stepValue: s } = Ce({
|
|
6903
6908
|
step: this.step,
|
|
6904
6909
|
min: this.min,
|
|
6905
6910
|
max: this.max,
|
|
@@ -6921,7 +6926,7 @@ let w = class extends At(f) {
|
|
|
6921
6926
|
}, this.onThumbKeyDown = (t, e) => {
|
|
6922
6927
|
if (!this.disabled && (t.key === "ArrowLeft" || t.key === "ArrowRight")) {
|
|
6923
6928
|
t.preventDefault();
|
|
6924
|
-
const i = this.step ?? 1, r = t.key === "ArrowLeft" ? -i : i, s = e === 1 ? "min" : "max", o = (s === "min" ? this.valueMin : this.valueMax) + r, { stepValue: n } =
|
|
6929
|
+
const i = this.step ?? 1, r = t.key === "ArrowLeft" ? -i : i, s = e === 1 ? "min" : "max", o = (s === "min" ? this.valueMin : this.valueMax) + r, { stepValue: n } = Ce({
|
|
6925
6930
|
step: this.step,
|
|
6926
6931
|
min: this.min,
|
|
6927
6932
|
max: this.max,
|
|
@@ -6943,7 +6948,7 @@ let w = class extends At(f) {
|
|
|
6943
6948
|
super.firstUpdated(t), window == null || window.addEventListener("keydown", this.handleKeydown), window == null || window.addEventListener("mousedown", this.handlePointerOrMouseDown), window == null || window.addEventListener("pointerdown", this.handlePointerOrMouseDown), ["min", "max"].forEach((e) => {
|
|
6944
6949
|
const i = this[e === "min" ? "initialValueMin" : "initialValueMax"];
|
|
6945
6950
|
if (typeof i != "number") return;
|
|
6946
|
-
const { stepValue: r } =
|
|
6951
|
+
const { stepValue: r } = Ce({
|
|
6947
6952
|
step: this.step,
|
|
6948
6953
|
min: this.min,
|
|
6949
6954
|
max: this.max,
|
|
@@ -7013,7 +7018,7 @@ let w = class extends At(f) {
|
|
|
7013
7018
|
`;
|
|
7014
7019
|
}
|
|
7015
7020
|
getThumbTemplate(t) {
|
|
7016
|
-
const e = t === 1 ? "min" : "max", i = e === "min" ? this.valueMin : this.valueMax, { minLimit: r, maxLimit: s } =
|
|
7021
|
+
const e = t === 1 ? "min" : "max", i = e === "min" ? this.valueMin : this.valueMax, { minLimit: r, maxLimit: s } = Ce({
|
|
7017
7022
|
step: this.step,
|
|
7018
7023
|
min: this.min,
|
|
7019
7024
|
max: this.max,
|
|
@@ -7222,7 +7227,7 @@ k([
|
|
|
7222
7227
|
a({ type: String, attribute: "input-max-aria-label" })
|
|
7223
7228
|
], w.prototype, "inputMaxAriaLabel", 2);
|
|
7224
7229
|
k([
|
|
7225
|
-
|
|
7230
|
+
ct(".track")
|
|
7226
7231
|
], w.prototype, "track", 2);
|
|
7227
7232
|
k([
|
|
7228
7233
|
y()
|
|
@@ -7342,7 +7347,7 @@ const oa = h`
|
|
|
7342
7347
|
"icon-button-variant": "primary"
|
|
7343
7348
|
}
|
|
7344
7349
|
};
|
|
7345
|
-
var da = Object.defineProperty, ha = Object.getOwnPropertyDescriptor,
|
|
7350
|
+
var da = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, J = (t, e, i, r) => {
|
|
7346
7351
|
for (var s = r > 1 ? void 0 : r ? ha(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7347
7352
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7348
7353
|
return r && s && da(e, i, s), s;
|
|
@@ -7494,43 +7499,43 @@ let D = class extends f {
|
|
|
7494
7499
|
}
|
|
7495
7500
|
};
|
|
7496
7501
|
D.styles = [oa, na, aa, la];
|
|
7497
|
-
|
|
7502
|
+
J([
|
|
7498
7503
|
a({ type: Number, attribute: "selected-tab", reflect: !0 })
|
|
7499
7504
|
], D.prototype, "selectedTab", 2);
|
|
7500
|
-
|
|
7505
|
+
J([
|
|
7501
7506
|
a({ type: String, reflect: !0 })
|
|
7502
7507
|
], D.prototype, "mode", 2);
|
|
7503
|
-
|
|
7508
|
+
J([
|
|
7504
7509
|
a({ type: String, reflect: !0 })
|
|
7505
7510
|
], D.prototype, "variant", 2);
|
|
7506
|
-
|
|
7511
|
+
J([
|
|
7507
7512
|
a({ type: String })
|
|
7508
7513
|
], D.prototype, "size", 2);
|
|
7509
|
-
|
|
7514
|
+
J([
|
|
7510
7515
|
a({ type: Boolean, converter: m })
|
|
7511
7516
|
], D.prototype, "disabled", 2);
|
|
7512
|
-
|
|
7517
|
+
J([
|
|
7513
7518
|
y()
|
|
7514
7519
|
], D.prototype, "focusedTabIndex", 2);
|
|
7515
|
-
|
|
7516
|
-
|
|
7520
|
+
J([
|
|
7521
|
+
ct("nav")
|
|
7517
7522
|
], D.prototype, "nav", 2);
|
|
7518
|
-
|
|
7523
|
+
J([
|
|
7519
7524
|
y()
|
|
7520
7525
|
], D.prototype, "tabs", 2);
|
|
7521
|
-
|
|
7526
|
+
J([
|
|
7522
7527
|
y()
|
|
7523
7528
|
], D.prototype, "panels", 2);
|
|
7524
|
-
|
|
7529
|
+
J([
|
|
7525
7530
|
y()
|
|
7526
7531
|
], D.prototype, "hasScrollLeft", 2);
|
|
7527
|
-
|
|
7532
|
+
J([
|
|
7528
7533
|
y()
|
|
7529
7534
|
], D.prototype, "hasScrollRight", 2);
|
|
7530
|
-
D =
|
|
7535
|
+
D = J([
|
|
7531
7536
|
b("ds-tabs")
|
|
7532
7537
|
], D);
|
|
7533
|
-
const pa =
|
|
7538
|
+
const pa = Kt`
|
|
7534
7539
|
:host {
|
|
7535
7540
|
display: inline-block;
|
|
7536
7541
|
}
|
|
@@ -7540,7 +7545,7 @@ const pa = qt`
|
|
|
7540
7545
|
justify-content: center;
|
|
7541
7546
|
align-items: center;
|
|
7542
7547
|
}
|
|
7543
|
-
`, ua =
|
|
7548
|
+
`, ua = Kt`
|
|
7544
7549
|
.icon.clicable {
|
|
7545
7550
|
cursor: pointer;
|
|
7546
7551
|
}
|
|
@@ -7550,7 +7555,7 @@ var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, Gt = (t, e
|
|
|
7550
7555
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7551
7556
|
return r && s && ma(e, i, s), s;
|
|
7552
7557
|
};
|
|
7553
|
-
let
|
|
7558
|
+
let $t = class extends f {
|
|
7554
7559
|
constructor() {
|
|
7555
7560
|
super(...arguments), this.show = !0, this.clickableIcon = !1, this.iconPosition = "left", this.color = "black";
|
|
7556
7561
|
}
|
|
@@ -7585,39 +7590,39 @@ let xt = class extends f {
|
|
|
7585
7590
|
render() {
|
|
7586
7591
|
return this.show ? l`
|
|
7587
7592
|
<div class=${p(this.classes)}>
|
|
7588
|
-
${
|
|
7593
|
+
${nt(this.iconPosition === "left", () => l`${this.iconTemplate}`)}
|
|
7589
7594
|
<slot></slot>
|
|
7590
|
-
${
|
|
7595
|
+
${nt(this.iconPosition === "right", () => l`${this.iconTemplate}`)}
|
|
7591
7596
|
</div>
|
|
7592
7597
|
` : c;
|
|
7593
7598
|
}
|
|
7594
7599
|
};
|
|
7595
|
-
|
|
7600
|
+
$t.styles = [pa, ua];
|
|
7596
7601
|
Gt([
|
|
7597
7602
|
a({ type: Boolean, converter: m })
|
|
7598
|
-
],
|
|
7603
|
+
], $t.prototype, "show", 2);
|
|
7599
7604
|
Gt([
|
|
7600
7605
|
a({
|
|
7601
7606
|
type: Boolean,
|
|
7602
7607
|
converter: m,
|
|
7603
7608
|
attribute: "clickable-icon"
|
|
7604
7609
|
})
|
|
7605
|
-
],
|
|
7610
|
+
], $t.prototype, "clickableIcon", 2);
|
|
7606
7611
|
Gt([
|
|
7607
7612
|
a({ type: String, attribute: "icon-name" })
|
|
7608
|
-
],
|
|
7613
|
+
], $t.prototype, "iconName", 2);
|
|
7609
7614
|
Gt([
|
|
7610
7615
|
a({ type: String, attribute: "icon-position" })
|
|
7611
|
-
],
|
|
7616
|
+
], $t.prototype, "iconPosition", 2);
|
|
7612
7617
|
Gt([
|
|
7613
7618
|
a({ type: String, attribute: "color" })
|
|
7614
|
-
],
|
|
7619
|
+
], $t.prototype, "color", 2);
|
|
7615
7620
|
Gt([
|
|
7616
7621
|
y()
|
|
7617
|
-
],
|
|
7618
|
-
|
|
7622
|
+
], $t.prototype, "onClickHandler", 2);
|
|
7623
|
+
$t = Gt([
|
|
7619
7624
|
b("ds-tag")
|
|
7620
|
-
],
|
|
7625
|
+
], $t);
|
|
7621
7626
|
const ba = h`
|
|
7622
7627
|
:host {
|
|
7623
7628
|
display: contents;
|
|
@@ -7640,12 +7645,12 @@ const ba = h`
|
|
|
7640
7645
|
text-transform: uppercase;
|
|
7641
7646
|
}
|
|
7642
7647
|
`;
|
|
7643
|
-
var ya = Object.defineProperty, ga = Object.getOwnPropertyDescriptor,
|
|
7648
|
+
var ya = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, Tt = (t, e, i, r) => {
|
|
7644
7649
|
for (var s = r > 1 ? void 0 : r ? ga(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7645
7650
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7646
7651
|
return r && s && ya(e, i, s), s;
|
|
7647
7652
|
};
|
|
7648
|
-
let
|
|
7653
|
+
let tt = class extends f {
|
|
7649
7654
|
constructor() {
|
|
7650
7655
|
super(...arguments), this.size = "medium", this.weight = "regular", this.variant = "body", this.mode = "light";
|
|
7651
7656
|
}
|
|
@@ -7681,45 +7686,45 @@ let Q = class extends f {
|
|
|
7681
7686
|
`;
|
|
7682
7687
|
}
|
|
7683
7688
|
};
|
|
7684
|
-
|
|
7685
|
-
|
|
7689
|
+
tt.styles = [ba];
|
|
7690
|
+
Tt([
|
|
7686
7691
|
a({ type: String })
|
|
7687
|
-
],
|
|
7688
|
-
|
|
7692
|
+
], tt.prototype, "size", 2);
|
|
7693
|
+
Tt([
|
|
7689
7694
|
a({ type: String })
|
|
7690
|
-
],
|
|
7691
|
-
|
|
7695
|
+
], tt.prototype, "weight", 2);
|
|
7696
|
+
Tt([
|
|
7692
7697
|
a({ type: String })
|
|
7693
|
-
],
|
|
7694
|
-
|
|
7698
|
+
], tt.prototype, "variant", 2);
|
|
7699
|
+
Tt([
|
|
7695
7700
|
a({ type: String, attribute: "html-tag-name" })
|
|
7696
|
-
],
|
|
7697
|
-
|
|
7701
|
+
], tt.prototype, "htmlTagName", 2);
|
|
7702
|
+
Tt([
|
|
7698
7703
|
a({ type: String })
|
|
7699
|
-
],
|
|
7700
|
-
|
|
7704
|
+
], tt.prototype, "value", 2);
|
|
7705
|
+
Tt([
|
|
7701
7706
|
a({ type: String, reflect: !0 })
|
|
7702
|
-
],
|
|
7703
|
-
|
|
7707
|
+
], tt.prototype, "mode", 2);
|
|
7708
|
+
Tt([
|
|
7704
7709
|
a({ type: String, reflect: !0 })
|
|
7705
|
-
],
|
|
7706
|
-
|
|
7710
|
+
], tt.prototype, "color", 2);
|
|
7711
|
+
Tt([
|
|
7707
7712
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
7708
|
-
],
|
|
7709
|
-
|
|
7713
|
+
], tt.prototype, "uppercase", 2);
|
|
7714
|
+
tt = Tt([
|
|
7710
7715
|
b("ds-text")
|
|
7711
|
-
],
|
|
7716
|
+
], tt);
|
|
7712
7717
|
const fa = h`
|
|
7713
7718
|
:host {
|
|
7714
7719
|
display: contents;
|
|
7715
7720
|
}
|
|
7716
7721
|
`;
|
|
7717
|
-
var xa = Object.defineProperty, $a = Object.getOwnPropertyDescriptor,
|
|
7722
|
+
var xa = Object.defineProperty, $a = Object.getOwnPropertyDescriptor, xe = (t, e, i, r) => {
|
|
7718
7723
|
for (var s = r > 1 ? void 0 : r ? $a(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7719
7724
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7720
7725
|
return r && s && xa(e, i, s), s;
|
|
7721
7726
|
};
|
|
7722
|
-
let
|
|
7727
|
+
let zt = class extends js(f) {
|
|
7723
7728
|
constructor() {
|
|
7724
7729
|
super(...arguments), this.keyboardMode = !1, this.size = "medium", this.helperText = "", this.forcedError = "", this.invalidError = "", this.mode = "light";
|
|
7725
7730
|
}
|
|
@@ -7769,25 +7774,25 @@ let Ot = class extends js(f) {
|
|
|
7769
7774
|
return this.forcedError || !this.inputStates.invalid || !this.invalidError ? c : l`<span class="support-text error-text invalid-error">${this.invalidError}</span>`;
|
|
7770
7775
|
}
|
|
7771
7776
|
};
|
|
7772
|
-
|
|
7773
|
-
|
|
7777
|
+
zt.styles = [fa];
|
|
7778
|
+
xe([
|
|
7774
7779
|
a({ type: String })
|
|
7775
|
-
],
|
|
7776
|
-
|
|
7780
|
+
], zt.prototype, "size", 2);
|
|
7781
|
+
xe([
|
|
7777
7782
|
a({ type: String, attribute: "helper-text" })
|
|
7778
|
-
],
|
|
7779
|
-
|
|
7783
|
+
], zt.prototype, "helperText", 2);
|
|
7784
|
+
xe([
|
|
7780
7785
|
a({ type: String, attribute: "forced-error" })
|
|
7781
|
-
],
|
|
7782
|
-
|
|
7786
|
+
], zt.prototype, "forcedError", 2);
|
|
7787
|
+
xe([
|
|
7783
7788
|
a({ type: String, attribute: "invalid-error" })
|
|
7784
|
-
],
|
|
7785
|
-
|
|
7789
|
+
], zt.prototype, "invalidError", 2);
|
|
7790
|
+
xe([
|
|
7786
7791
|
a({ type: String })
|
|
7787
|
-
],
|
|
7788
|
-
|
|
7792
|
+
], zt.prototype, "mode", 2);
|
|
7793
|
+
zt = xe([
|
|
7789
7794
|
b("ds-textarea")
|
|
7790
|
-
],
|
|
7795
|
+
], zt);
|
|
7791
7796
|
const wa = {
|
|
7792
7797
|
cupra: {
|
|
7793
7798
|
fonts: [
|
|
@@ -7813,17 +7818,17 @@ const wa = {
|
|
|
7813
7818
|
]
|
|
7814
7819
|
}
|
|
7815
7820
|
};
|
|
7816
|
-
var Sa = Object.defineProperty, ka = Object.getOwnPropertyDescriptor,
|
|
7821
|
+
var Sa = Object.defineProperty, ka = Object.getOwnPropertyDescriptor, $e = (t, e, i, r) => {
|
|
7817
7822
|
for (var s = r > 1 ? void 0 : r ? ka(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7818
7823
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7819
7824
|
return r && s && Sa(e, i, s), s;
|
|
7820
7825
|
};
|
|
7821
|
-
let
|
|
7826
|
+
let Rt = class extends ut {
|
|
7822
7827
|
constructor() {
|
|
7823
7828
|
super(...arguments), this.loadFonts = !0, this.loadStyles = !0, this.cssLoaded = !1, this.loadedFonts = /* @__PURE__ */ new Set();
|
|
7824
7829
|
}
|
|
7825
7830
|
updated(t) {
|
|
7826
|
-
super.updated(t), t.has("theme") && (
|
|
7831
|
+
super.updated(t), t.has("theme") && (se.publish("theme", this.theme), window.DS_THEME = this.theme, this.loadThemeFonts(), this.loadThemeStyles().then(() => {
|
|
7827
7832
|
this.cssLoaded = !0;
|
|
7828
7833
|
}));
|
|
7829
7834
|
}
|
|
@@ -7857,7 +7862,7 @@ let Ft = class extends pt {
|
|
|
7857
7862
|
}
|
|
7858
7863
|
loadThemeStyles() {
|
|
7859
7864
|
return this.loadStyles ? new Promise((t, e) => {
|
|
7860
|
-
const i = "/1.0.0-canary.
|
|
7865
|
+
const i = "/1.0.0-canary.5", r = `https://ds-assets.cupra.com${i}/styles/${this.theme}/theme.css`;
|
|
7861
7866
|
if (document.head.querySelector(`link[href="${r}"]`)) t();
|
|
7862
7867
|
else {
|
|
7863
7868
|
const s = `ui-kit-theme-${i}`, o = document.getElementById(s), n = document.createElement("link");
|
|
@@ -7869,36 +7874,36 @@ let Ft = class extends pt {
|
|
|
7869
7874
|
return this.cssLoaded ? l`<slot></slot>` : c;
|
|
7870
7875
|
}
|
|
7871
7876
|
};
|
|
7872
|
-
|
|
7877
|
+
$e([
|
|
7873
7878
|
a({ type: Boolean, converter: m, attribute: "load-fonts" })
|
|
7874
|
-
],
|
|
7875
|
-
|
|
7879
|
+
], Rt.prototype, "loadFonts", 2);
|
|
7880
|
+
$e([
|
|
7876
7881
|
a({ type: Boolean, converter: m, attribute: "load-styles" })
|
|
7877
|
-
],
|
|
7878
|
-
|
|
7879
|
-
|
|
7882
|
+
], Rt.prototype, "loadStyles", 2);
|
|
7883
|
+
$e([
|
|
7884
|
+
ve({ context: ks }),
|
|
7880
7885
|
a({ type: String })
|
|
7881
|
-
],
|
|
7882
|
-
|
|
7886
|
+
], Rt.prototype, "theme", 2);
|
|
7887
|
+
$e([
|
|
7883
7888
|
y()
|
|
7884
|
-
],
|
|
7885
|
-
|
|
7889
|
+
], Rt.prototype, "cssLoaded", 2);
|
|
7890
|
+
$e([
|
|
7886
7891
|
y()
|
|
7887
|
-
],
|
|
7888
|
-
|
|
7892
|
+
], Rt.prototype, "loadedFonts", 2);
|
|
7893
|
+
Rt = $e([
|
|
7889
7894
|
b("ds-theme-provider")
|
|
7890
|
-
],
|
|
7895
|
+
], Rt);
|
|
7891
7896
|
const Ta = h`
|
|
7892
7897
|
:host {
|
|
7893
7898
|
display: contents;
|
|
7894
7899
|
}
|
|
7895
7900
|
`;
|
|
7896
|
-
var Ca = Object.defineProperty, Ea = Object.getOwnPropertyDescriptor,
|
|
7901
|
+
var Ca = Object.defineProperty, Ea = Object.getOwnPropertyDescriptor, we = (t, e, i, r) => {
|
|
7897
7902
|
for (var s = r > 1 ? void 0 : r ? Ea(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
7898
7903
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
7899
7904
|
return r && s && Ca(e, i, s), s;
|
|
7900
7905
|
};
|
|
7901
|
-
let
|
|
7906
|
+
let It = class extends f {
|
|
7902
7907
|
constructor() {
|
|
7903
7908
|
super(...arguments), this.status = "default", this.dataId = "", this.title = "", this.text = "", this.dataTemplate = !0;
|
|
7904
7909
|
}
|
|
@@ -7954,8 +7959,8 @@ let zt = class extends f {
|
|
|
7954
7959
|
${this.iconTemplate}
|
|
7955
7960
|
<div class="content">
|
|
7956
7961
|
<div class="header">
|
|
7957
|
-
${
|
|
7958
|
-
${
|
|
7962
|
+
${nt(this.title, () => l`<div class="title">${this.title}</div>`)}
|
|
7963
|
+
${nt(this.text, () => l`<div class="message">${this.text}</div>`)}
|
|
7959
7964
|
</div>
|
|
7960
7965
|
<slot></slot>
|
|
7961
7966
|
</div>
|
|
@@ -7964,27 +7969,27 @@ let zt = class extends f {
|
|
|
7964
7969
|
`;
|
|
7965
7970
|
}
|
|
7966
7971
|
};
|
|
7967
|
-
|
|
7968
|
-
|
|
7972
|
+
It.styles = [Ta];
|
|
7973
|
+
we([
|
|
7969
7974
|
a({ type: String })
|
|
7970
|
-
],
|
|
7971
|
-
|
|
7975
|
+
], It.prototype, "status", 2);
|
|
7976
|
+
we([
|
|
7972
7977
|
a({ type: String, attribute: "data-id", reflect: !0 })
|
|
7973
|
-
],
|
|
7974
|
-
|
|
7978
|
+
], It.prototype, "dataId", 2);
|
|
7979
|
+
we([
|
|
7975
7980
|
a({ type: String })
|
|
7976
|
-
],
|
|
7977
|
-
|
|
7981
|
+
], It.prototype, "title", 2);
|
|
7982
|
+
we([
|
|
7978
7983
|
a({ type: String })
|
|
7979
|
-
],
|
|
7980
|
-
|
|
7984
|
+
], It.prototype, "text", 2);
|
|
7985
|
+
we([
|
|
7981
7986
|
a({ type: Boolean, converter: m, attribute: "data-template", reflect: !0 })
|
|
7982
|
-
],
|
|
7983
|
-
|
|
7987
|
+
], It.prototype, "dataTemplate", 2);
|
|
7988
|
+
It = we([
|
|
7984
7989
|
b("ds-toast-message")
|
|
7985
|
-
],
|
|
7990
|
+
], It);
|
|
7986
7991
|
const Oa = 1e4, za = () => typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Math.random().toString(36).substring(2);
|
|
7987
|
-
class
|
|
7992
|
+
class te {
|
|
7988
7993
|
constructor() {
|
|
7989
7994
|
this.toasts = [], this.subscribers = [], this.defaultDuration = Oa, this.handleAddToast = (e) => {
|
|
7990
7995
|
const { id: i = za(), status: r = "default", duration: s = this.defaultDuration, ...o } = e.detail || {}, n = {
|
|
@@ -8007,7 +8012,7 @@ class Qt {
|
|
|
8007
8012
|
window.addEventListener("toast:add", this.handleAddToast), window.addEventListener("toast:remove", this.handleRemoveToast);
|
|
8008
8013
|
}
|
|
8009
8014
|
static getInstance() {
|
|
8010
|
-
return
|
|
8015
|
+
return te.instance || (te.instance = new te()), te.instance;
|
|
8011
8016
|
}
|
|
8012
8017
|
removeToast(e) {
|
|
8013
8018
|
const i = this.toasts.find((r) => r.id === e);
|
|
@@ -8026,13 +8031,13 @@ class Qt {
|
|
|
8026
8031
|
this.subscribers.forEach((i) => i(e));
|
|
8027
8032
|
}
|
|
8028
8033
|
}
|
|
8029
|
-
const di =
|
|
8034
|
+
const di = te.getInstance();
|
|
8030
8035
|
/**
|
|
8031
8036
|
* @license
|
|
8032
8037
|
* Copyright 2020 Google LLC
|
|
8033
8038
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8034
8039
|
*/
|
|
8035
|
-
const { I: Ia } = tr, hi = () => document.createComment(""),
|
|
8040
|
+
const { I: Ia } = tr, hi = () => document.createComment(""), Ee = (t, e, i) => {
|
|
8036
8041
|
var r;
|
|
8037
8042
|
const s = t._$AA.parentNode, o = e === void 0 ? t._$AB : e._$AA;
|
|
8038
8043
|
if (i === void 0) {
|
|
@@ -8053,7 +8058,7 @@ const { I: Ia } = tr, hi = () => document.createComment(""), Ce = (t, e, i) => {
|
|
|
8053
8058
|
}
|
|
8054
8059
|
}
|
|
8055
8060
|
return i;
|
|
8056
|
-
},
|
|
8061
|
+
}, Bt = (t, e, i = t) => (t._$AI(e, i), t), Aa = {}, _a = (t, e = Aa) => t._$AH = e, Pa = (t) => t._$AH, vs = (t) => {
|
|
8057
8062
|
t._$AR(), t._$AA.remove();
|
|
8058
8063
|
};
|
|
8059
8064
|
/**
|
|
@@ -8087,28 +8092,28 @@ const pi = (t, e, i) => {
|
|
|
8087
8092
|
let g, $, v = 0, x = s.length - 1, S = 0, T = o.length - 1;
|
|
8088
8093
|
for (; v <= x && S <= T; ) if (s[v] === null) v++;
|
|
8089
8094
|
else if (s[x] === null) x--;
|
|
8090
|
-
else if (d[v] === n[S]) u[S] =
|
|
8091
|
-
else if (d[x] === n[T]) u[T] =
|
|
8092
|
-
else if (d[v] === n[T]) u[T] =
|
|
8093
|
-
else if (d[x] === n[S]) u[S] =
|
|
8095
|
+
else if (d[v] === n[S]) u[S] = Bt(s[v], o[S]), v++, S++;
|
|
8096
|
+
else if (d[x] === n[T]) u[T] = Bt(s[x], o[T]), x--, T--;
|
|
8097
|
+
else if (d[v] === n[T]) u[T] = Bt(s[v], o[T]), Ee(t, u[T + 1], s[v]), v++, T--;
|
|
8098
|
+
else if (d[x] === n[S]) u[S] = Bt(s[x], o[S]), Ee(t, s[v], s[x]), x--, S++;
|
|
8094
8099
|
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]),
|
|
8096
|
-
if (
|
|
8097
|
-
const
|
|
8098
|
-
|
|
8099
|
-
} else u[S] =
|
|
8100
|
+
const z = $.get(n[S]), pt = z !== void 0 ? s[z] : null;
|
|
8101
|
+
if (pt === null) {
|
|
8102
|
+
const ke = Ee(t, s[v]);
|
|
8103
|
+
Bt(ke, o[S]), u[S] = ke;
|
|
8104
|
+
} else u[S] = Bt(pt, o[S]), Ee(t, s[v], pt), s[z] = null;
|
|
8100
8105
|
S++;
|
|
8101
8106
|
} else vs(s[x]), x--;
|
|
8102
8107
|
else vs(s[v]), v++;
|
|
8103
8108
|
for (; S <= T; ) {
|
|
8104
|
-
const z =
|
|
8105
|
-
|
|
8109
|
+
const z = Ee(t, u[T + 1]);
|
|
8110
|
+
Bt(z, o[S]), u[S++] = z;
|
|
8106
8111
|
}
|
|
8107
8112
|
for (; v <= x; ) {
|
|
8108
8113
|
const z = s[v++];
|
|
8109
8114
|
z !== null && vs(z);
|
|
8110
8115
|
}
|
|
8111
|
-
return this.ut = n, _a(t, u),
|
|
8116
|
+
return this.ut = n, _a(t, u), mt;
|
|
8112
8117
|
}
|
|
8113
8118
|
}), Ba = h`
|
|
8114
8119
|
:host {
|
|
@@ -8299,7 +8304,7 @@ var ja = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, qe = (t, e
|
|
|
8299
8304
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8300
8305
|
return r && s && ja(e, i, s), s;
|
|
8301
8306
|
};
|
|
8302
|
-
let
|
|
8307
|
+
let pe = class extends O {
|
|
8303
8308
|
constructor() {
|
|
8304
8309
|
super(...arguments), this.checked = !1, this.checkedText = "", this.uncheckedText = "", this.rounded = !0;
|
|
8305
8310
|
}
|
|
@@ -8333,28 +8338,28 @@ let he = class extends O {
|
|
|
8333
8338
|
type=${this.type}
|
|
8334
8339
|
@click=${this.handleClick}
|
|
8335
8340
|
>
|
|
8336
|
-
${
|
|
8341
|
+
${nt(this.iconPosition === "left", () => l`${this.iconTemplate}`)}
|
|
8337
8342
|
${this.checked ? this.checkedText : this.uncheckedText}
|
|
8338
|
-
${
|
|
8343
|
+
${nt(this.iconPosition === "right", () => l`${this.iconTemplate}`)}
|
|
8339
8344
|
</button>
|
|
8340
8345
|
`;
|
|
8341
8346
|
}
|
|
8342
8347
|
};
|
|
8343
8348
|
qe([
|
|
8344
8349
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
8345
|
-
],
|
|
8350
|
+
], pe.prototype, "checked", 2);
|
|
8346
8351
|
qe([
|
|
8347
8352
|
a({ type: String, attribute: "checked-text" })
|
|
8348
|
-
],
|
|
8353
|
+
], pe.prototype, "checkedText", 2);
|
|
8349
8354
|
qe([
|
|
8350
8355
|
a({ type: String, attribute: "unchecked-text" })
|
|
8351
|
-
],
|
|
8356
|
+
], pe.prototype, "uncheckedText", 2);
|
|
8352
8357
|
qe([
|
|
8353
8358
|
a({ type: Boolean, converter: m })
|
|
8354
|
-
],
|
|
8355
|
-
|
|
8359
|
+
], pe.prototype, "rounded", 2);
|
|
8360
|
+
pe = qe([
|
|
8356
8361
|
b("ds-toggle-button", { skipTagAsComponentName: !0, extendComponentNames: ["ds-button"] })
|
|
8357
|
-
],
|
|
8362
|
+
], pe);
|
|
8358
8363
|
const Ra = h`
|
|
8359
8364
|
.container {
|
|
8360
8365
|
display: flex;
|
|
@@ -8395,12 +8400,12 @@ const Ra = h`
|
|
|
8395
8400
|
transition: left 200ms ease-in-out;
|
|
8396
8401
|
}
|
|
8397
8402
|
`;
|
|
8398
|
-
var Ua = Object.defineProperty, Va = Object.getOwnPropertyDescriptor,
|
|
8403
|
+
var Ua = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, Se = (t, e, i, r) => {
|
|
8399
8404
|
for (var s = r > 1 ? void 0 : r ? Va(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
8400
8405
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8401
8406
|
return r && s && Ua(e, i, s), s;
|
|
8402
8407
|
};
|
|
8403
|
-
let
|
|
8408
|
+
let At = class extends f {
|
|
8404
8409
|
constructor() {
|
|
8405
8410
|
super(...arguments), this.size = "medium", this.checked = !1, this.disabled = !1, this.mode = "light";
|
|
8406
8411
|
}
|
|
@@ -8463,25 +8468,25 @@ let It = class extends f {
|
|
|
8463
8468
|
`;
|
|
8464
8469
|
}
|
|
8465
8470
|
};
|
|
8466
|
-
|
|
8467
|
-
|
|
8471
|
+
At.styles = [Ra];
|
|
8472
|
+
Se([
|
|
8468
8473
|
a({ type: String })
|
|
8469
|
-
],
|
|
8470
|
-
|
|
8474
|
+
], At.prototype, "size", 2);
|
|
8475
|
+
Se([
|
|
8471
8476
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
8472
|
-
],
|
|
8473
|
-
|
|
8477
|
+
], At.prototype, "checked", 2);
|
|
8478
|
+
Se([
|
|
8474
8479
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
8475
|
-
],
|
|
8476
|
-
|
|
8480
|
+
], At.prototype, "disabled", 2);
|
|
8481
|
+
Se([
|
|
8477
8482
|
a({ type: String, reflect: !0 })
|
|
8478
|
-
],
|
|
8479
|
-
|
|
8483
|
+
], At.prototype, "mode", 2);
|
|
8484
|
+
Se([
|
|
8480
8485
|
a({ type: String, attribute: "data-aria-label" })
|
|
8481
|
-
],
|
|
8482
|
-
|
|
8486
|
+
], At.prototype, "dataAriaLabel", 2);
|
|
8487
|
+
At = Se([
|
|
8483
8488
|
b("ds-toggle-switch")
|
|
8484
|
-
],
|
|
8489
|
+
], At);
|
|
8485
8490
|
const Ha = h`
|
|
8486
8491
|
:host {
|
|
8487
8492
|
position: relative;
|
|
@@ -8636,12 +8641,12 @@ const Ha = h`
|
|
|
8636
8641
|
transform: none;
|
|
8637
8642
|
}
|
|
8638
8643
|
`;
|
|
8639
|
-
var Ka = Object.defineProperty,
|
|
8640
|
-
for (var s = r > 1 ? void 0 : r ?
|
|
8644
|
+
var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, K = (t, e, i, r) => {
|
|
8645
|
+
for (var s = r > 1 ? void 0 : r ? Ya(e, i) : e, o = t.length - 1, n; o >= 0; o--)
|
|
8641
8646
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8642
8647
|
return r && s && Ka(e, i, s), s;
|
|
8643
8648
|
};
|
|
8644
|
-
let M = class extends
|
|
8649
|
+
let M = class extends _t(f) {
|
|
8645
8650
|
constructor() {
|
|
8646
8651
|
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 = Ss({ func: () => this.requestUpdate() }), this.handleClickOutside = (t) => {
|
|
8647
8652
|
var e;
|
|
@@ -8779,46 +8784,46 @@ let M = class extends At(f) {
|
|
|
8779
8784
|
}
|
|
8780
8785
|
};
|
|
8781
8786
|
M.styles = [Ha, Wa, qa];
|
|
8782
|
-
|
|
8787
|
+
K([
|
|
8783
8788
|
a({ type: String, reflect: !0 })
|
|
8784
8789
|
], M.prototype, "mode", 2);
|
|
8785
|
-
|
|
8790
|
+
K([
|
|
8786
8791
|
a({ type: String, attribute: "title-text" })
|
|
8787
8792
|
], M.prototype, "titleText", 2);
|
|
8788
|
-
|
|
8793
|
+
K([
|
|
8789
8794
|
a({ type: String, attribute: "body-text" })
|
|
8790
8795
|
], M.prototype, "bodyText", 2);
|
|
8791
|
-
|
|
8796
|
+
K([
|
|
8792
8797
|
a({ type: String })
|
|
8793
8798
|
], M.prototype, "position", 2);
|
|
8794
|
-
|
|
8799
|
+
K([
|
|
8795
8800
|
a({ type: String })
|
|
8796
8801
|
], M.prototype, "align", 2);
|
|
8797
|
-
|
|
8802
|
+
K([
|
|
8798
8803
|
a({ type: String, attribute: "cancel-button-text" })
|
|
8799
8804
|
], M.prototype, "cancelButtonText", 2);
|
|
8800
|
-
|
|
8805
|
+
K([
|
|
8801
8806
|
a({ type: String, attribute: "confirm-button-text" })
|
|
8802
8807
|
], M.prototype, "confirmButtonText", 2);
|
|
8803
|
-
|
|
8808
|
+
K([
|
|
8804
8809
|
a({ type: Boolean, reflect: !0, converter: m })
|
|
8805
8810
|
], M.prototype, "show", 2);
|
|
8806
|
-
|
|
8811
|
+
K([
|
|
8807
8812
|
a({ type: Number, attribute: "z-index" })
|
|
8808
8813
|
], M.prototype, "zIndex", 2);
|
|
8809
|
-
|
|
8814
|
+
K([
|
|
8810
8815
|
a({ type: String, attribute: "body-width" })
|
|
8811
8816
|
], M.prototype, "bodyWidth", 2);
|
|
8812
|
-
|
|
8813
|
-
|
|
8817
|
+
K([
|
|
8818
|
+
ct(".tooltip")
|
|
8814
8819
|
], M.prototype, "tooltip", 2);
|
|
8815
|
-
|
|
8816
|
-
|
|
8820
|
+
K([
|
|
8821
|
+
ct(".arrow")
|
|
8817
8822
|
], M.prototype, "arrow", 2);
|
|
8818
|
-
M =
|
|
8823
|
+
M = K([
|
|
8819
8824
|
b("ds-tooltip")
|
|
8820
8825
|
], M);
|
|
8821
|
-
const
|
|
8826
|
+
const Ga = h`
|
|
8822
8827
|
:host {
|
|
8823
8828
|
display: contents;
|
|
8824
8829
|
}
|
|
@@ -8828,7 +8833,7 @@ var Xa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Ke = (t, e
|
|
|
8828
8833
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8829
8834
|
return r && s && Xa(e, i, s), s;
|
|
8830
8835
|
};
|
|
8831
|
-
let
|
|
8836
|
+
let Ut = class extends f {
|
|
8832
8837
|
constructor() {
|
|
8833
8838
|
super(...arguments), this.size = "medium", this.disabled = !1;
|
|
8834
8839
|
}
|
|
@@ -8880,9 +8885,9 @@ let Rt = class extends f {
|
|
|
8880
8885
|
${this.styleTokens}
|
|
8881
8886
|
<div
|
|
8882
8887
|
class=${p(this.classes)}
|
|
8883
|
-
title=${
|
|
8888
|
+
title=${U(this.name)}
|
|
8884
8889
|
aria-label=${`Open ${this.name ? this.name + "'s " : ""}profile menu`}
|
|
8885
|
-
aria-disabled=${
|
|
8890
|
+
aria-disabled=${U(this.disabled ? "true" : void 0)}
|
|
8886
8891
|
role="button"
|
|
8887
8892
|
tabindex=${this.disabled ? -1 : 0}
|
|
8888
8893
|
@keydown=${this.handleKeyDown}
|
|
@@ -8894,22 +8899,22 @@ let Rt = class extends f {
|
|
|
8894
8899
|
`;
|
|
8895
8900
|
}
|
|
8896
8901
|
};
|
|
8897
|
-
|
|
8902
|
+
Ut.styles = [Ga];
|
|
8898
8903
|
Ke([
|
|
8899
8904
|
a({ type: String })
|
|
8900
|
-
],
|
|
8905
|
+
], Ut.prototype, "size", 2);
|
|
8901
8906
|
Ke([
|
|
8902
8907
|
a({ type: String })
|
|
8903
|
-
],
|
|
8908
|
+
], Ut.prototype, "name", 2);
|
|
8904
8909
|
Ke([
|
|
8905
8910
|
a({ type: Boolean, converter: m, reflect: !0 })
|
|
8906
|
-
],
|
|
8911
|
+
], Ut.prototype, "disabled", 2);
|
|
8907
8912
|
Ke([
|
|
8908
|
-
|
|
8909
|
-
],
|
|
8910
|
-
|
|
8913
|
+
et({ slot: "media", selector: "img" })
|
|
8914
|
+
], Ut.prototype, "assignedImages", 2);
|
|
8915
|
+
Ut = Ke([
|
|
8911
8916
|
b("ds-avatar")
|
|
8912
|
-
],
|
|
8917
|
+
], Ut);
|
|
8913
8918
|
const Za = h`
|
|
8914
8919
|
:host {
|
|
8915
8920
|
display: contents;
|
|
@@ -8971,7 +8976,7 @@ var sl = Object.defineProperty, il = Object.getOwnPropertyDescriptor, hs = (t, e
|
|
|
8971
8976
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
8972
8977
|
return r && s && sl(e, i, s), s;
|
|
8973
8978
|
};
|
|
8974
|
-
let
|
|
8979
|
+
let ue = class extends _t(f) {
|
|
8975
8980
|
constructor() {
|
|
8976
8981
|
super(...arguments), this.size = "medium";
|
|
8977
8982
|
}
|
|
@@ -9015,19 +9020,19 @@ let pe = class extends At(f) {
|
|
|
9015
9020
|
`;
|
|
9016
9021
|
}
|
|
9017
9022
|
};
|
|
9018
|
-
|
|
9023
|
+
ue.styles = [el];
|
|
9019
9024
|
hs([
|
|
9020
9025
|
a({ type: String, converter: Fe })
|
|
9021
|
-
],
|
|
9026
|
+
], ue.prototype, "size", 2);
|
|
9022
9027
|
hs([
|
|
9023
9028
|
As({ slot: "header", flatten: !0 })
|
|
9024
|
-
],
|
|
9029
|
+
], ue.prototype, "headerItems", 2);
|
|
9025
9030
|
hs([
|
|
9026
9031
|
As({ slot: "footer", flatten: !0 })
|
|
9027
|
-
],
|
|
9028
|
-
|
|
9032
|
+
], ue.prototype, "footerItems", 2);
|
|
9033
|
+
ue = hs([
|
|
9029
9034
|
b("ds-static-box")
|
|
9030
|
-
],
|
|
9035
|
+
], ue);
|
|
9031
9036
|
const rl = h`
|
|
9032
9037
|
:host {
|
|
9033
9038
|
display: contents;
|
|
@@ -9038,7 +9043,7 @@ var ol = Object.defineProperty, nl = Object.getOwnPropertyDescriptor, ps = (t, e
|
|
|
9038
9043
|
(n = t[o]) && (s = (r ? n(e, i, s) : n(s)) || s);
|
|
9039
9044
|
return r && s && ol(e, i, s), s;
|
|
9040
9045
|
};
|
|
9041
|
-
let
|
|
9046
|
+
let me = class extends f {
|
|
9042
9047
|
constructor() {
|
|
9043
9048
|
super(...arguments), this.size = "medium", this.selected = !1, this.error = !1, this.handleClick = (t) => {
|
|
9044
9049
|
t.stopPropagation();
|
|
@@ -9098,19 +9103,19 @@ let ue = class extends f {
|
|
|
9098
9103
|
`;
|
|
9099
9104
|
}
|
|
9100
9105
|
};
|
|
9101
|
-
|
|
9106
|
+
me.styles = [rl];
|
|
9102
9107
|
ps([
|
|
9103
9108
|
a({ type: String })
|
|
9104
|
-
],
|
|
9109
|
+
], me.prototype, "size", 2);
|
|
9105
9110
|
ps([
|
|
9106
9111
|
a({ type: Boolean, converter: m })
|
|
9107
|
-
],
|
|
9112
|
+
], me.prototype, "selected", 2);
|
|
9108
9113
|
ps([
|
|
9109
9114
|
a({ type: Boolean, converter: m })
|
|
9110
|
-
],
|
|
9111
|
-
|
|
9115
|
+
], me.prototype, "error", 2);
|
|
9116
|
+
me = ps([
|
|
9112
9117
|
b("ds-interactive-card")
|
|
9113
|
-
],
|
|
9118
|
+
], me);
|
|
9114
9119
|
const al = h`
|
|
9115
9120
|
:host {
|
|
9116
9121
|
display: contents;
|
|
@@ -9214,7 +9219,7 @@ Vs([
|
|
|
9214
9219
|
y()
|
|
9215
9220
|
], je.prototype, "open", 2);
|
|
9216
9221
|
Vs([
|
|
9217
|
-
|
|
9222
|
+
et({ slot: "main-cta", selector: "ds-button", flatten: !0 })
|
|
9218
9223
|
], je.prototype, "mainCtas", 2);
|
|
9219
9224
|
je = Vs([
|
|
9220
9225
|
b("ds-sidebar-navigation")
|