@supersoniks/concorde 3.1.4 → 3.1.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/build-infos.json +1 -3
- package/concorde-core.bundle.js +151 -68
- package/concorde-core.es.js +363 -255
- package/dist/concorde-core.bundle.js +151 -68
- package/dist/concorde-core.es.js +363 -255
- package/package.json +1 -1
- package/src/core/components/ui/_css/size.ts +3 -0
- package/src/core/components/ui/menu/menu.ts +116 -30
- package/src/core/utils/api.ts +97 -32
package/dist/concorde-core.es.js
CHANGED
|
@@ -109,15 +109,15 @@ let rt = class At {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
|
-
function
|
|
112
|
+
function Ie(r) {
|
|
113
113
|
return typeof r == "object" && r != null;
|
|
114
114
|
}
|
|
115
115
|
const Tr = async () => new Promise((r) => {
|
|
116
116
|
window.queueMicrotask(() => r(null));
|
|
117
117
|
});
|
|
118
|
-
let
|
|
119
|
-
typeof __SONIC_PREFIX__ > "u" && (
|
|
120
|
-
const Es =
|
|
118
|
+
let Ce = "sonic";
|
|
119
|
+
typeof __SONIC_PREFIX__ > "u" && (Ce = "sonic" + Math.floor(Math.random() * 1e6));
|
|
120
|
+
const Es = Ce == "sonic" ? "publisher-proxies-data" : Ce + "-publisher-proxies-data";
|
|
121
121
|
var St;
|
|
122
122
|
let ri = (St = class {
|
|
123
123
|
constructor(t, s) {
|
|
@@ -264,7 +264,7 @@ let ri = (St = class {
|
|
|
264
264
|
if (this._value_ === t || this._value_ && t && Object.prototype.hasOwnProperty.call(this._value_, "__value") && Object.prototype.hasOwnProperty.call(t, "__value") && this._value_.__value === t.__value)
|
|
265
265
|
return !0;
|
|
266
266
|
const i = this._value_;
|
|
267
|
-
if (this._value_ =
|
|
267
|
+
if (this._value_ = Ie(t) ? t : { __value: t }, this._cachedGet_ = void 0, Object.prototype.hasOwnProperty.call(
|
|
268
268
|
this._value_,
|
|
269
269
|
"__value"
|
|
270
270
|
))
|
|
@@ -273,9 +273,9 @@ let ri = (St = class {
|
|
|
273
273
|
this._value_[n] === void 0 && delete this._value_[n];
|
|
274
274
|
if (this._proxies_.forEach((n, l) => {
|
|
275
275
|
this._value_[l] === void 0 && l != "_parent_" && i[l] && (this._value_[l] = null);
|
|
276
|
-
}), await this._publishAssignement_(),
|
|
276
|
+
}), await this._publishAssignement_(), Ie(this._value_))
|
|
277
277
|
for (const n in this._value_) {
|
|
278
|
-
const l = t[n], h =
|
|
278
|
+
const l = t[n], h = Ie(l) ? l : { __value: l };
|
|
279
279
|
if (!this._proxies_.has(n)) {
|
|
280
280
|
this._publishDynamicFilling_(n, l);
|
|
281
281
|
continue;
|
|
@@ -297,7 +297,7 @@ let ri = (St = class {
|
|
|
297
297
|
* retourner le webcomponent auquel le proxy est associé
|
|
298
298
|
*/
|
|
299
299
|
get $tag() {
|
|
300
|
-
return this._instanceCounter_ || (St.instancesCounter++, this._instanceCounter_ = St.instancesCounter), St.instances.set(this._instanceCounter_, this), "<" +
|
|
300
|
+
return this._instanceCounter_ || (St.instancesCounter++, this._instanceCounter_ = St.instancesCounter), St.instances.set(this._instanceCounter_, this), "<" + Ce + '-publisher-proxy publisher="' + this._instanceCounter_ + '"></' + Ce + "-publisher-proxy>";
|
|
301
301
|
}
|
|
302
302
|
}, St.instances = /* @__PURE__ */ new Map(), St.instancesCounter = 0, St);
|
|
303
303
|
var k;
|
|
@@ -384,7 +384,7 @@ let N = (k = class {
|
|
|
384
384
|
get(t, s) {
|
|
385
385
|
const i = (s == null ? void 0 : s.localStorageMode) === "enabled";
|
|
386
386
|
if (!this.publishers.has(t)) {
|
|
387
|
-
const o = {}, n = new
|
|
387
|
+
const o = {}, n = new Ve(o);
|
|
388
388
|
this.set(t, n);
|
|
389
389
|
}
|
|
390
390
|
const e = this.publishers.get(t);
|
|
@@ -463,7 +463,7 @@ let N = (k = class {
|
|
|
463
463
|
const h = await new Response(l.readable).arrayBuffer();
|
|
464
464
|
return new TextDecoder().decode(h);
|
|
465
465
|
}
|
|
466
|
-
}, k.buildDate = "
|
|
466
|
+
}, k.buildDate = "Tue Jun 25 2024 13:03:13 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
|
|
467
467
|
const Us = window;
|
|
468
468
|
Us.SonicPublisherManager || (Us.SonicPublisherManager = N);
|
|
469
469
|
Us.SonicPublisherManager.registerInstance(
|
|
@@ -505,7 +505,7 @@ const jr = /* @__PURE__ */ new Set([
|
|
|
505
505
|
"_instanceCounter_",
|
|
506
506
|
"_assignmentId_"
|
|
507
507
|
]);
|
|
508
|
-
class
|
|
508
|
+
class Ve extends ri {
|
|
509
509
|
constructor(t, s = null) {
|
|
510
510
|
super(t, s);
|
|
511
511
|
const i = new Proxy(this, {
|
|
@@ -520,8 +520,8 @@ class Ue extends ri {
|
|
|
520
520
|
if (jr.has(o))
|
|
521
521
|
return e[o];
|
|
522
522
|
if (!e._proxies_.has(o)) {
|
|
523
|
-
const n = e._value_[o], l = new
|
|
524
|
-
|
|
523
|
+
const n = e._value_[o], l = new Ve(
|
|
524
|
+
Ie(n) ? n : { __value: n },
|
|
525
525
|
e
|
|
526
526
|
);
|
|
527
527
|
l._proxies_.set("_parent_", i), e._proxies_.set(o, l);
|
|
@@ -545,10 +545,10 @@ class Ue extends ri {
|
|
|
545
545
|
if (o == "_instanceCounter_")
|
|
546
546
|
return e._instanceCounter_ = n, !0;
|
|
547
547
|
if (!e._proxies_.has(o)) {
|
|
548
|
-
const h = new
|
|
548
|
+
const h = new Ve({}, e);
|
|
549
549
|
h._proxies_.set("_parent_", i), e._proxies_.set(o, h);
|
|
550
550
|
}
|
|
551
|
-
return e._value_[o] !== n && (e._value_[o] = n, e._publishDynamicFilling_(o, n), (c = e._proxies_.get(o)) == null || c.set(
|
|
551
|
+
return e._value_[o] !== n && (e._value_[o] = n, e._publishDynamicFilling_(o, n), (c = e._proxies_.get(o)) == null || c.set(Ie(n) ? n : { __value: n })), !0;
|
|
552
552
|
},
|
|
553
553
|
/**
|
|
554
554
|
* Autres propriétés classiques d'un objet implémentées par le proxy
|
|
@@ -605,7 +605,7 @@ class Mr extends HTMLElement {
|
|
|
605
605
|
}
|
|
606
606
|
try {
|
|
607
607
|
customElements.define(
|
|
608
|
-
|
|
608
|
+
Ce + "-publisher-proxy",
|
|
609
609
|
Mr
|
|
610
610
|
);
|
|
611
611
|
} catch {
|
|
@@ -910,7 +910,7 @@ const Ir = (r) => new ir(typeof r == "string" ? r : r + "", void 0, ni), P = (r,
|
|
|
910
910
|
* Copyright 2017 Google LLC
|
|
911
911
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
912
912
|
*/
|
|
913
|
-
const { is: Rr, defineProperty: Fr, getOwnPropertyDescriptor: Ur, getOwnPropertyNames: Vr, getOwnPropertySymbols: Br, getPrototypeOf: Hr } = Object, Ht = globalThis, Oi = Ht.trustedTypes, qr = Oi ? Oi.emptyScript : "", Ns = Ht.reactiveElementPolyfillSupport,
|
|
913
|
+
const { is: Rr, defineProperty: Fr, getOwnPropertyDescriptor: Ur, getOwnPropertyNames: Vr, getOwnPropertySymbols: Br, getPrototypeOf: Hr } = Object, Ht = globalThis, Oi = Ht.trustedTypes, qr = Oi ? Oi.emptyScript : "", Ns = Ht.reactiveElementPolyfillSupport, ze = (r, t) => r, ds = { toAttribute(r, t) {
|
|
914
914
|
switch (t) {
|
|
915
915
|
case Boolean:
|
|
916
916
|
r = r ? qr : null;
|
|
@@ -940,7 +940,7 @@ const { is: Rr, defineProperty: Fr, getOwnPropertyDescriptor: Ur, getOwnProperty
|
|
|
940
940
|
return s;
|
|
941
941
|
} }, ai = (r, t) => !Rr(r, t), Di = { attribute: !0, type: String, converter: ds, reflect: !1, hasChanged: ai };
|
|
942
942
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ht.litPropertyMetadata ?? (Ht.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
943
|
-
let
|
|
943
|
+
let $e = class extends HTMLElement {
|
|
944
944
|
static addInitializer(t) {
|
|
945
945
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
946
946
|
}
|
|
@@ -970,15 +970,15 @@ let Pe = class extends HTMLElement {
|
|
|
970
970
|
return this.elementProperties.get(t) ?? Di;
|
|
971
971
|
}
|
|
972
972
|
static _$Ei() {
|
|
973
|
-
if (this.hasOwnProperty(
|
|
973
|
+
if (this.hasOwnProperty(ze("elementProperties")))
|
|
974
974
|
return;
|
|
975
975
|
const t = Hr(this);
|
|
976
976
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
977
977
|
}
|
|
978
978
|
static finalize() {
|
|
979
|
-
if (this.hasOwnProperty(
|
|
979
|
+
if (this.hasOwnProperty(ze("finalized")))
|
|
980
980
|
return;
|
|
981
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
981
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ze("properties"))) {
|
|
982
982
|
const s = this.properties, i = [...Vr(s), ...Br(s)];
|
|
983
983
|
for (const e of i)
|
|
984
984
|
this.createProperty(e, s[e]);
|
|
@@ -1151,7 +1151,7 @@ let Pe = class extends HTMLElement {
|
|
|
1151
1151
|
firstUpdated(t) {
|
|
1152
1152
|
}
|
|
1153
1153
|
};
|
|
1154
|
-
|
|
1154
|
+
$e.elementStyles = [], $e.shadowRootOptions = { mode: "open" }, $e[ze("elementProperties")] = /* @__PURE__ */ new Map(), $e[ze("finalized")] = /* @__PURE__ */ new Map(), Ns == null || Ns({ ReactiveElement: $e }), (Ht.reactiveElementVersions ?? (Ht.reactiveElementVersions = [])).push("2.0.4");
|
|
1155
1155
|
/**
|
|
1156
1156
|
* @license
|
|
1157
1157
|
* Copyright 2017 Google LLC
|
|
@@ -1203,7 +1203,7 @@ const ps = (r, t, s) => (s.configurable = !0, s.enumerable = !0, Reflect.decorat
|
|
|
1203
1203
|
* Copyright 2017 Google LLC
|
|
1204
1204
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1205
1205
|
*/
|
|
1206
|
-
function
|
|
1206
|
+
function ge(r, t) {
|
|
1207
1207
|
return (s, i, e) => {
|
|
1208
1208
|
const o = (n) => {
|
|
1209
1209
|
var l;
|
|
@@ -1233,7 +1233,7 @@ function fe(r, t) {
|
|
|
1233
1233
|
* Copyright 2021 Google LLC
|
|
1234
1234
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1235
1235
|
*/
|
|
1236
|
-
function
|
|
1236
|
+
function me(r) {
|
|
1237
1237
|
return (t, s) => {
|
|
1238
1238
|
const { slot: i, selector: e } = r ?? {}, o = "slot" + (i ? `[name=${i}]` : ":not([name])");
|
|
1239
1239
|
return ps(t, s, { get() {
|
|
@@ -1263,8 +1263,8 @@ function lt(r) {
|
|
|
1263
1263
|
* Copyright 2017 Google LLC
|
|
1264
1264
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1265
1265
|
*/
|
|
1266
|
-
const
|
|
1267
|
-
\f\r]`,
|
|
1266
|
+
const Re = globalThis, us = Re.trustedTypes, ki = us ? us.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, li = "$lit$", zt = `lit$${(Math.random() + "").slice(9)}$`, ci = "?" + zt, Zr = `<${ci}>`, le = document, Be = () => le.createComment(""), He = (r) => r === null || typeof r != "object" && typeof r != "function", rr = Array.isArray, or = (r) => rr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", Ts = `[
|
|
1267
|
+
\f\r]`, Te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Li = /-->/g, Ei = />/g, se = RegExp(`>|${Ts}(?:([^\\s"'>=/]+)(${Ts}*=${Ts}*(?:[^
|
|
1268
1268
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ni = /'/g, Ti = /"/g, nr = /^(?:script|style|textarea|title)$/i, Gr = (r) => (t, ...s) => ({ _$litType$: r, strings: t, values: s }), g = Gr(1), gt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), ji = /* @__PURE__ */ new WeakMap(), ne = le.createTreeWalker(le, 129);
|
|
1269
1269
|
function ar(r, t) {
|
|
1270
1270
|
if (!Array.isArray(r) || !r.hasOwnProperty("raw"))
|
|
@@ -1273,24 +1273,24 @@ function ar(r, t) {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
const lr = (r, t) => {
|
|
1275
1275
|
const s = r.length - 1, i = [];
|
|
1276
|
-
let e, o = t === 2 ? "<svg>" : "", n =
|
|
1276
|
+
let e, o = t === 2 ? "<svg>" : "", n = Te;
|
|
1277
1277
|
for (let l = 0; l < s; l++) {
|
|
1278
1278
|
const c = r[l];
|
|
1279
1279
|
let h, d, f = -1, m = 0;
|
|
1280
1280
|
for (; m < c.length && (n.lastIndex = m, d = n.exec(c), d !== null); )
|
|
1281
|
-
m = n.lastIndex, n ===
|
|
1281
|
+
m = n.lastIndex, n === Te ? d[1] === "!--" ? n = Li : d[1] !== void 0 ? n = Ei : d[2] !== void 0 ? (nr.test(d[2]) && (e = RegExp("</" + d[2], "g")), n = se) : d[3] !== void 0 && (n = se) : n === se ? d[0] === ">" ? (n = e ?? Te, f = -1) : d[1] === void 0 ? f = -2 : (f = n.lastIndex - d[2].length, h = d[1], n = d[3] === void 0 ? se : d[3] === '"' ? Ti : Ni) : n === Ti || n === Ni ? n = se : n === Li || n === Ei ? n = Te : (n = se, e = void 0);
|
|
1282
1282
|
const b = n === se && r[l + 1].startsWith("/>") ? " " : "";
|
|
1283
|
-
o += n ===
|
|
1283
|
+
o += n === Te ? c + Zr : f >= 0 ? (i.push(h), c.slice(0, f) + li + c.slice(f) + zt + b) : c + zt + (f === -2 ? l : b);
|
|
1284
1284
|
}
|
|
1285
1285
|
return [ar(r, o + (r[s] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
|
1286
1286
|
};
|
|
1287
|
-
class
|
|
1287
|
+
class qe {
|
|
1288
1288
|
constructor({ strings: t, _$litType$: s }, i) {
|
|
1289
1289
|
let e;
|
|
1290
1290
|
this.parts = [];
|
|
1291
1291
|
let o = 0, n = 0;
|
|
1292
1292
|
const l = t.length - 1, c = this.parts, [h, d] = lr(t, s);
|
|
1293
|
-
if (this.el =
|
|
1293
|
+
if (this.el = qe.createElement(h, i), ne.currentNode = this.el.content, s === 2) {
|
|
1294
1294
|
const f = this.el.content.firstChild;
|
|
1295
1295
|
f.replaceWith(...f.childNodes);
|
|
1296
1296
|
}
|
|
@@ -1308,8 +1308,8 @@ class He {
|
|
|
1308
1308
|
if (m > 0) {
|
|
1309
1309
|
e.textContent = us ? us.emptyScript : "";
|
|
1310
1310
|
for (let b = 0; b < m; b++)
|
|
1311
|
-
e.append(f[b],
|
|
1312
|
-
e.append(f[m],
|
|
1311
|
+
e.append(f[b], Be()), ne.nextNode(), c.push({ type: 2, index: ++o });
|
|
1312
|
+
e.append(f[m], Be());
|
|
1313
1313
|
}
|
|
1314
1314
|
}
|
|
1315
1315
|
} else if (e.nodeType === 8)
|
|
@@ -1333,7 +1333,7 @@ function ce(r, t, s = r, i) {
|
|
|
1333
1333
|
if (t === gt)
|
|
1334
1334
|
return t;
|
|
1335
1335
|
let e = i !== void 0 ? (n = s._$Co) == null ? void 0 : n[i] : s._$Cl;
|
|
1336
|
-
const o =
|
|
1336
|
+
const o = He(t) ? void 0 : t._$litDirective$;
|
|
1337
1337
|
return (e == null ? void 0 : e.constructor) !== o && ((l = e == null ? void 0 : e._$AO) == null || l.call(e, !1), o === void 0 ? e = void 0 : (e = new o(r), e._$AT(r, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = e : s._$Cl = e), e !== void 0 && (t = ce(r, e._$AS(r, t.values), e, i)), t;
|
|
1338
1338
|
}
|
|
1339
1339
|
class cr {
|
|
@@ -1353,7 +1353,7 @@ class cr {
|
|
|
1353
1353
|
for (; c !== void 0; ) {
|
|
1354
1354
|
if (n === c.index) {
|
|
1355
1355
|
let h;
|
|
1356
|
-
c.type === 2 ? h = new
|
|
1356
|
+
c.type === 2 ? h = new Se(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new ur(o, this, t)), this._$AV.push(h), c = i[++l];
|
|
1357
1357
|
}
|
|
1358
1358
|
n !== (c == null ? void 0 : c.index) && (o = ne.nextNode(), n++);
|
|
1359
1359
|
}
|
|
@@ -1365,7 +1365,7 @@ class cr {
|
|
|
1365
1365
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
|
-
class
|
|
1368
|
+
class Se {
|
|
1369
1369
|
get _$AU() {
|
|
1370
1370
|
var t;
|
|
1371
1371
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1385,7 +1385,7 @@ class Ae {
|
|
|
1385
1385
|
return this._$AB;
|
|
1386
1386
|
}
|
|
1387
1387
|
_$AI(t, s = this) {
|
|
1388
|
-
t = ce(this, t, s),
|
|
1388
|
+
t = ce(this, t, s), He(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== gt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : or(t) ? this.k(t) : this._(t);
|
|
1389
1389
|
}
|
|
1390
1390
|
S(t) {
|
|
1391
1391
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1394,11 +1394,11 @@ class Ae {
|
|
|
1394
1394
|
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
1395
1395
|
}
|
|
1396
1396
|
_(t) {
|
|
1397
|
-
this._$AH !== $ &&
|
|
1397
|
+
this._$AH !== $ && He(this._$AH) ? this._$AA.nextSibling.data = t : this.T(le.createTextNode(t)), this._$AH = t;
|
|
1398
1398
|
}
|
|
1399
1399
|
$(t) {
|
|
1400
1400
|
var o;
|
|
1401
|
-
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
1401
|
+
const { values: s, _$litType$: i } = t, e = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = qe.createElement(ar(i.h, i.h[0]), this.options)), i);
|
|
1402
1402
|
if (((o = this._$AH) == null ? void 0 : o._$AD) === e)
|
|
1403
1403
|
this._$AH.p(s);
|
|
1404
1404
|
else {
|
|
@@ -1408,14 +1408,14 @@ class Ae {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
_$AC(t) {
|
|
1410
1410
|
let s = ji.get(t.strings);
|
|
1411
|
-
return s === void 0 && ji.set(t.strings, s = new
|
|
1411
|
+
return s === void 0 && ji.set(t.strings, s = new qe(t)), s;
|
|
1412
1412
|
}
|
|
1413
1413
|
k(t) {
|
|
1414
1414
|
rr(this._$AH) || (this._$AH = [], this._$AR());
|
|
1415
1415
|
const s = this._$AH;
|
|
1416
1416
|
let i, e = 0;
|
|
1417
1417
|
for (const o of t)
|
|
1418
|
-
e === s.length ? s.push(i = new
|
|
1418
|
+
e === s.length ? s.push(i = new Se(this.S(Be()), this.S(Be()), this, this.options)) : i = s[e], i._$AI(o), e++;
|
|
1419
1419
|
e < s.length && (this._$AR(i && i._$AB.nextSibling, e), s.length = e);
|
|
1420
1420
|
}
|
|
1421
1421
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
@@ -1444,12 +1444,12 @@ class Ye {
|
|
|
1444
1444
|
const o = this.strings;
|
|
1445
1445
|
let n = !1;
|
|
1446
1446
|
if (o === void 0)
|
|
1447
|
-
t = ce(this, t, s, 0), n = !
|
|
1447
|
+
t = ce(this, t, s, 0), n = !He(t) || t !== this._$AH && t !== gt, n && (this._$AH = t);
|
|
1448
1448
|
else {
|
|
1449
1449
|
const l = t;
|
|
1450
1450
|
let c, h;
|
|
1451
1451
|
for (t = o[0], c = 0; c < o.length - 1; c++)
|
|
1452
|
-
h = ce(this, l[i + c], s, c), h === gt && (h = this._$AH[c]), n || (n = !
|
|
1452
|
+
h = ce(this, l[i + c], s, c), h === gt && (h = this._$AH[c]), n || (n = !He(h) || h !== this._$AH[c]), h === $ ? t = $ : t !== $ && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
|
|
1453
1453
|
}
|
|
1454
1454
|
n && !e && this.j(t);
|
|
1455
1455
|
}
|
|
@@ -1499,14 +1499,14 @@ class ur {
|
|
|
1499
1499
|
ce(this, t);
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
|
-
const Yr = { P: li, A: zt, C: ci, M: 1, L: lr, R: cr, D: or, V: ce, I:
|
|
1503
|
-
js == null || js(
|
|
1502
|
+
const Yr = { P: li, A: zt, C: ci, M: 1, L: lr, R: cr, D: or, V: ce, I: Se, H: Ye, N: dr, U: pr, B: hr, F: ur }, js = Re.litHtmlPolyfillSupport;
|
|
1503
|
+
js == null || js(qe, Se), (Re.litHtmlVersions ?? (Re.litHtmlVersions = [])).push("3.1.2");
|
|
1504
1504
|
const Qr = (r, t, s) => {
|
|
1505
1505
|
const i = (s == null ? void 0 : s.renderBefore) ?? t;
|
|
1506
1506
|
let e = i._$litPart$;
|
|
1507
1507
|
if (e === void 0) {
|
|
1508
1508
|
const o = (s == null ? void 0 : s.renderBefore) ?? null;
|
|
1509
|
-
i._$litPart$ = e = new
|
|
1509
|
+
i._$litPart$ = e = new Se(t.insertBefore(Be(), o), o, void 0, s ?? {});
|
|
1510
1510
|
}
|
|
1511
1511
|
return e._$AI(r), e;
|
|
1512
1512
|
};
|
|
@@ -1515,7 +1515,7 @@ const Qr = (r, t, s) => {
|
|
|
1515
1515
|
* Copyright 2020 Google LLC
|
|
1516
1516
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1517
1517
|
*/
|
|
1518
|
-
const { I: Jr } = Yr, Xr = (r) => r.strings === void 0, Mi = () => document.createComment(""),
|
|
1518
|
+
const { I: Jr } = Yr, Xr = (r) => r.strings === void 0, Mi = () => document.createComment(""), je = (r, t, s) => {
|
|
1519
1519
|
var o;
|
|
1520
1520
|
const i = r._$AA.parentNode, e = t === void 0 ? r._$AB : t._$AA;
|
|
1521
1521
|
if (s === void 0) {
|
|
@@ -1551,8 +1551,8 @@ const { I: Jr } = Yr, Xr = (r) => r.strings === void 0, Mi = () => document.crea
|
|
|
1551
1551
|
* Copyright 2017 Google LLC
|
|
1552
1552
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1553
1553
|
*/
|
|
1554
|
-
const
|
|
1555
|
-
let
|
|
1554
|
+
const be = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ve = (r) => (...t) => ({ _$litDirective$: r, values: t });
|
|
1555
|
+
let Oe = class {
|
|
1556
1556
|
constructor(t) {
|
|
1557
1557
|
}
|
|
1558
1558
|
get _$AU() {
|
|
@@ -1573,13 +1573,13 @@ let Se = class {
|
|
|
1573
1573
|
* Copyright 2017 Google LLC
|
|
1574
1574
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1575
1575
|
*/
|
|
1576
|
-
const
|
|
1576
|
+
const Fe = (r, t) => {
|
|
1577
1577
|
var i;
|
|
1578
1578
|
const s = r._$AN;
|
|
1579
1579
|
if (s === void 0)
|
|
1580
1580
|
return !1;
|
|
1581
1581
|
for (const e of s)
|
|
1582
|
-
(i = e._$AO) == null || i.call(e, t, !1),
|
|
1582
|
+
(i = e._$AO) == null || i.call(e, t, !1), Fe(e, t);
|
|
1583
1583
|
return !0;
|
|
1584
1584
|
}, fs = (r) => {
|
|
1585
1585
|
let t, s;
|
|
@@ -1607,16 +1607,16 @@ function ro(r, t = !1, s = 0) {
|
|
|
1607
1607
|
if (t)
|
|
1608
1608
|
if (Array.isArray(i))
|
|
1609
1609
|
for (let o = s; o < i.length; o++)
|
|
1610
|
-
|
|
1610
|
+
Fe(i[o], !1), fs(i[o]);
|
|
1611
1611
|
else
|
|
1612
|
-
i != null && (
|
|
1612
|
+
i != null && (Fe(i, !1), fs(i));
|
|
1613
1613
|
else
|
|
1614
|
-
|
|
1614
|
+
Fe(this, r);
|
|
1615
1615
|
}
|
|
1616
1616
|
const oo = (r) => {
|
|
1617
|
-
r.type ==
|
|
1617
|
+
r.type == be.CHILD && (r._$AP ?? (r._$AP = ro), r._$AQ ?? (r._$AQ = io));
|
|
1618
1618
|
};
|
|
1619
|
-
let hi = class extends
|
|
1619
|
+
let hi = class extends Oe {
|
|
1620
1620
|
constructor() {
|
|
1621
1621
|
super(...arguments), this._$AN = void 0;
|
|
1622
1622
|
}
|
|
@@ -1625,7 +1625,7 @@ let hi = class extends Se {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
_$AO(t, s = !0) {
|
|
1627
1627
|
var i, e;
|
|
1628
|
-
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (
|
|
1628
|
+
t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (e = this.disconnected) == null || e.call(this)), s && (Fe(this, t), fs(this));
|
|
1629
1629
|
}
|
|
1630
1630
|
setValue(t) {
|
|
1631
1631
|
if (Xr(this._$Ct))
|
|
@@ -1645,7 +1645,7 @@ let hi = class extends Se {
|
|
|
1645
1645
|
* Copyright 2017 Google LLC
|
|
1646
1646
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1647
1647
|
*/
|
|
1648
|
-
let y = class extends
|
|
1648
|
+
let y = class extends $e {
|
|
1649
1649
|
constructor() {
|
|
1650
1650
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1651
1651
|
}
|
|
@@ -1726,7 +1726,7 @@ class no extends hi {
|
|
|
1726
1726
|
this.observable && this.subscribe(this.observable);
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
1729
|
-
const gr =
|
|
1729
|
+
const gr = ve(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get(), mr = (r, t) => {
|
|
1730
1730
|
const s = As(r).values().next().value;
|
|
1731
1731
|
if (t !== void 0) {
|
|
1732
1732
|
const i = s.get();
|
|
@@ -1765,7 +1765,15 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1765
1765
|
} catch {
|
|
1766
1766
|
o = {};
|
|
1767
1767
|
}
|
|
1768
|
-
return this.addHTTPResponse && X.isObject(o) && (o._sonic_http_response_ = t), e === 498 && !I.failledTokenUpdates.has(this.serviceURL) && (this.handleInvalidToken(this.token), s.apiMethod === "get" ? o = await this[s.apiMethod](
|
|
1768
|
+
return this.addHTTPResponse && X.isObject(o) && (o._sonic_http_response_ = t), e === 498 && !I.failledTokenUpdates.has(this.serviceURL) && (this.handleInvalidToken(this.token), s.apiMethod === "get" ? o = await this[s.apiMethod](
|
|
1769
|
+
s.path,
|
|
1770
|
+
s.additionalHeaders
|
|
1771
|
+
) : o = await this[s.apiMethod](
|
|
1772
|
+
s.path,
|
|
1773
|
+
s.data,
|
|
1774
|
+
s.method,
|
|
1775
|
+
s.additionalHeaders
|
|
1776
|
+
)), o;
|
|
1769
1777
|
}
|
|
1770
1778
|
/**
|
|
1771
1779
|
* Basic auth
|
|
@@ -1781,14 +1789,21 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1781
1789
|
return;
|
|
1782
1790
|
let t = {};
|
|
1783
1791
|
this.userName && this.password ? t = {
|
|
1784
|
-
Authorization: "Basic " + window.btoa(
|
|
1792
|
+
Authorization: "Basic " + window.btoa(
|
|
1793
|
+
unescape(encodeURIComponent(this.userName + ":" + this.password))
|
|
1794
|
+
)
|
|
1785
1795
|
} : this.authToken && (t = {
|
|
1786
1796
|
Authorization: "Bearer " + this.authToken
|
|
1787
1797
|
});
|
|
1788
|
-
const s = new URL(this.serviceURL), i = s.protocol + "//" + s.host, e = await fetch(
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1798
|
+
const s = new URL(this.serviceURL), i = s.protocol + "//" + s.host, e = await fetch(
|
|
1799
|
+
this.computeURL(this.tokenProvider, {
|
|
1800
|
+
serviceHost: i
|
|
1801
|
+
}),
|
|
1802
|
+
{
|
|
1803
|
+
headers: t,
|
|
1804
|
+
credentials: this.credentials
|
|
1805
|
+
}
|
|
1806
|
+
);
|
|
1792
1807
|
try {
|
|
1793
1808
|
const o = await e.json();
|
|
1794
1809
|
o.token ? this.token = o.token : I.failledTokenUpdates.set(this.serviceURL, !0);
|
|
@@ -1806,9 +1821,7 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1806
1821
|
*/
|
|
1807
1822
|
async localGet(t, s) {
|
|
1808
1823
|
var f;
|
|
1809
|
-
const i = N.get(t);
|
|
1810
|
-
console.log(i);
|
|
1811
|
-
const e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
|
|
1824
|
+
const i = N.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
|
|
1812
1825
|
let n = [];
|
|
1813
1826
|
Array.isArray(o) ? n = o : n = [o];
|
|
1814
1827
|
const l = [];
|
|
@@ -1820,12 +1833,12 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1820
1833
|
for (const C of w)
|
|
1821
1834
|
for (const O of n)
|
|
1822
1835
|
if (typeof O != "object")
|
|
1823
|
-
isNaN(+
|
|
1836
|
+
isNaN(+O) ? O.toString().toLowerCase().includes(b.toLowerCase()) && l.push(O) : O === b && l.push(O);
|
|
1824
1837
|
else {
|
|
1825
1838
|
const D = O;
|
|
1826
1839
|
if (!D[m])
|
|
1827
1840
|
continue;
|
|
1828
|
-
isNaN(+
|
|
1841
|
+
isNaN(+D[m]) ? (f = D[m]) != null && f.toString().toLowerCase().includes(C.toLowerCase()) && l.push(O) : D[m] === C && l.push(O);
|
|
1829
1842
|
}
|
|
1830
1843
|
}
|
|
1831
1844
|
return l.slice(h, h + c);
|
|
@@ -1839,7 +1852,9 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1839
1852
|
I.firstCallDoneFlags.set(this.serviceURL, "loading"), t(!0);
|
|
1840
1853
|
else {
|
|
1841
1854
|
const s = () => {
|
|
1842
|
-
[void 0, "loading"].includes(
|
|
1855
|
+
[void 0, "loading"].includes(
|
|
1856
|
+
I.firstCallDoneFlags.get(this.serviceURL)
|
|
1857
|
+
) ? window.requestAnimationFrame(s) : t(!0);
|
|
1843
1858
|
};
|
|
1844
1859
|
s();
|
|
1845
1860
|
}
|
|
@@ -1865,7 +1880,11 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1865
1880
|
if (!I.loadingGetPromises.has(l)) {
|
|
1866
1881
|
const h = new Promise(async (d) => {
|
|
1867
1882
|
try {
|
|
1868
|
-
const f = await fetch(n, {
|
|
1883
|
+
const f = await fetch(n, {
|
|
1884
|
+
headers: o,
|
|
1885
|
+
credentials: this.credentials,
|
|
1886
|
+
cache: this.cache
|
|
1887
|
+
}), m = await this.handleResult(f, e);
|
|
1869
1888
|
d(m);
|
|
1870
1889
|
} catch {
|
|
1871
1890
|
d(null);
|
|
@@ -1965,15 +1984,15 @@ const gr = be(no), ao = gr, lo = gr, co = (r) => As(r).values().next().value.get
|
|
|
1965
1984
|
}
|
|
1966
1985
|
};
|
|
1967
1986
|
I.loadingGetPromises = /* @__PURE__ */ new Map(), I.tokens = /* @__PURE__ */ new Map(), I.invalidTokens = [], I.failledTokenUpdates = /* @__PURE__ */ new Map(), I.firstCallDoneFlags = /* @__PURE__ */ new Map();
|
|
1968
|
-
let
|
|
1987
|
+
let Ae = I;
|
|
1969
1988
|
/**
|
|
1970
1989
|
* @license
|
|
1971
1990
|
* Copyright 2017 Google LLC
|
|
1972
1991
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1973
1992
|
*/
|
|
1974
|
-
let Vs = class extends
|
|
1993
|
+
let Vs = class extends Oe {
|
|
1975
1994
|
constructor(t) {
|
|
1976
|
-
if (super(t), this.it = $, t.type !==
|
|
1995
|
+
if (super(t), this.it = $, t.type !== be.CHILD)
|
|
1977
1996
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
1978
1997
|
}
|
|
1979
1998
|
render(t) {
|
|
@@ -1991,7 +2010,7 @@ let Vs = class extends Se {
|
|
|
1991
2010
|
}
|
|
1992
2011
|
};
|
|
1993
2012
|
Vs.directiveName = "unsafeHTML", Vs.resultType = 1;
|
|
1994
|
-
const z =
|
|
2013
|
+
const z = ve(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
|
|
1995
2014
|
if (!r)
|
|
1996
2015
|
return null;
|
|
1997
2016
|
const t = rt.getApiConfiguration(r), s = rt.getAncestorAttributeValue(
|
|
@@ -2012,7 +2031,7 @@ const z = be(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
|
|
|
2012
2031
|
break;
|
|
2013
2032
|
}
|
|
2014
2033
|
return o || (o = {
|
|
2015
|
-
api: new
|
|
2034
|
+
api: new Ae(t),
|
|
2016
2035
|
keysToTranslate: /* @__PURE__ */ new Set(),
|
|
2017
2036
|
translatedKeys: /* @__PURE__ */ new Set(),
|
|
2018
2037
|
wordingProvider: s,
|
|
@@ -2133,7 +2152,7 @@ const z = be(Vs), Bs = /* @__PURE__ */ new Map(), Ii = (r) => {
|
|
|
2133
2152
|
V.publisher = N.get("sonic-wording", {
|
|
2134
2153
|
localStorageMode: "enabled"
|
|
2135
2154
|
}), V.firstCall = !0, V.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2136
|
-
let
|
|
2155
|
+
let Ue = V;
|
|
2137
2156
|
var uo = Object.defineProperty, fo = Object.getOwnPropertyDescriptor, It = (r, t, s, i) => {
|
|
2138
2157
|
for (var e = i > 1 ? void 0 : i ? fo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
2139
2158
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -2199,7 +2218,7 @@ const Y = (r, t) => {
|
|
|
2199
2218
|
}
|
|
2200
2219
|
disconnectedCallback() {
|
|
2201
2220
|
var n;
|
|
2202
|
-
this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)),
|
|
2221
|
+
this.removeDebugger(), super.disconnectedCallback(), this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate)), Ue.publisher.stopTemplateFilling(this), this.onAssign && ((n = this.publisher) == null || n.offAssign(this.onAssign));
|
|
2203
2222
|
}
|
|
2204
2223
|
addDebugger() {
|
|
2205
2224
|
var n;
|
|
@@ -2252,8 +2271,8 @@ const Y = (r, t) => {
|
|
|
2252
2271
|
async initWording() {
|
|
2253
2272
|
const n = Object.getOwnPropertyNames(this.constructor.prototype);
|
|
2254
2273
|
for (const l of n)
|
|
2255
|
-
l.indexOf("wording_") == 0 &&
|
|
2256
|
-
|
|
2274
|
+
l.indexOf("wording_") == 0 && Ue.callApi(this, l.substring(8));
|
|
2275
|
+
Ue.publisher.startTemplateFilling(this);
|
|
2257
2276
|
}
|
|
2258
2277
|
/**
|
|
2259
2278
|
*
|
|
@@ -2552,10 +2571,10 @@ let st = (G = class {
|
|
|
2552
2571
|
* Copyright 2018 Google LLC
|
|
2553
2572
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2554
2573
|
*/
|
|
2555
|
-
const vr = "important", _o = " !" + vr, dt =
|
|
2574
|
+
const vr = "important", _o = " !" + vr, dt = ve(class extends Oe {
|
|
2556
2575
|
constructor(r) {
|
|
2557
2576
|
var t;
|
|
2558
|
-
if (super(r), r.type !==
|
|
2577
|
+
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "style" || ((t = r.strings) == null ? void 0 : t.length) > 2)
|
|
2559
2578
|
throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
2560
2579
|
}
|
|
2561
2580
|
render(r) {
|
|
@@ -2586,7 +2605,7 @@ var xo = Object.defineProperty, Po = Object.getOwnPropertyDescriptor, Ct = (r, t
|
|
|
2586
2605
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
2587
2606
|
return i && e && xo(t, s, e), e;
|
|
2588
2607
|
};
|
|
2589
|
-
const ns = /* @__PURE__ */ new Map(),
|
|
2608
|
+
const ns = /* @__PURE__ */ new Map(), De = (r) => {
|
|
2590
2609
|
class t extends r {
|
|
2591
2610
|
constructor(...i) {
|
|
2592
2611
|
super(), this.touched = !1, this.error = !1, this.autofocus = !1, this.required = !1, this.forceAutoFill = !1, this.disabled = null, this.formDataProvider = "", this._name = "", this._value = "", this.onValueAssign = (e) => {
|
|
@@ -3107,14 +3126,14 @@ var Hs = { exports: {} };
|
|
|
3107
3126
|
});
|
|
3108
3127
|
})(Hs, Hs.exports);
|
|
3109
3128
|
var Oo = Hs.exports;
|
|
3110
|
-
const ae = /* @__PURE__ */ So(Oo), Do = $o, ko = Co, Lo = Cs, Eo = hs,
|
|
3129
|
+
const ae = /* @__PURE__ */ So(Oo), Do = $o, ko = Co, Lo = Cs, Eo = hs, he = rt, No = st, Je = X, To = Ve, J = N, jo = Ae, Mo = ae;
|
|
3111
3130
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3112
3131
|
window["concorde-utils"] = {
|
|
3113
3132
|
Utils: Do,
|
|
3114
3133
|
Arrays: ko,
|
|
3115
3134
|
DataBindObserver: Lo,
|
|
3116
3135
|
Format: Eo,
|
|
3117
|
-
HTML:
|
|
3136
|
+
HTML: he,
|
|
3118
3137
|
LocationHandler: No,
|
|
3119
3138
|
Objects: Je,
|
|
3120
3139
|
PublisherProxy: To,
|
|
@@ -3122,7 +3141,7 @@ window["concorde-utils"] = {
|
|
|
3122
3141
|
api: jo,
|
|
3123
3142
|
URLPattern: Mo
|
|
3124
3143
|
};
|
|
3125
|
-
var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor,
|
|
3144
|
+
var Io = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, Pe = (r, t, s, i) => {
|
|
3126
3145
|
for (var e = i > 1 ? void 0 : i ? zo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
3127
3146
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
3128
3147
|
return i && e && Io(t, s, e), e;
|
|
@@ -3262,17 +3281,17 @@ const di = (r) => {
|
|
|
3262
3281
|
e && (e.checkMode.onAssign(this.onChecksAllRequest), this.checksAll() && (e.hasCheckAll = !0), e.values.get() || (e.values = []), this.checksAll() || (e.values = [...e.values.get(), this.value])), this.hasAttribute("checked") && (!this.publisher || this.publisher.get().checked !== !1) && setTimeout(() => this.checked = !0, 1);
|
|
3263
3282
|
}
|
|
3264
3283
|
}
|
|
3265
|
-
return
|
|
3284
|
+
return Pe([
|
|
3266
3285
|
a()
|
|
3267
|
-
], t.prototype, "value", 1),
|
|
3286
|
+
], t.prototype, "value", 1), Pe([
|
|
3268
3287
|
a()
|
|
3269
|
-
], t.prototype, "forceAutoFill", 2),
|
|
3288
|
+
], t.prototype, "forceAutoFill", 2), Pe([
|
|
3270
3289
|
a({ type: Boolean })
|
|
3271
|
-
], t.prototype, "unique", 2),
|
|
3290
|
+
], t.prototype, "unique", 2), Pe([
|
|
3272
3291
|
a({ type: Boolean })
|
|
3273
|
-
], t.prototype, "radio", 2),
|
|
3292
|
+
], t.prototype, "radio", 2), Pe([
|
|
3274
3293
|
a({ type: Boolean })
|
|
3275
|
-
], t.prototype, "unCheckOnDisconnect", 2),
|
|
3294
|
+
], t.prototype, "unCheckOnDisconnect", 2), Pe([
|
|
3276
3295
|
a()
|
|
3277
3296
|
], t.prototype, "checked", 1), t;
|
|
3278
3297
|
};
|
|
@@ -3311,6 +3330,9 @@ const x = (r) => r ?? $, Lt = P`
|
|
|
3311
3330
|
:host([size="2xl"]) {
|
|
3312
3331
|
--sc-fs: 1.5rem;
|
|
3313
3332
|
}
|
|
3333
|
+
:host([size="inherit"]) {
|
|
3334
|
+
--sc-fs: 1em;
|
|
3335
|
+
}
|
|
3314
3336
|
`;
|
|
3315
3337
|
var Ro = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, U = (r, t, s, i) => {
|
|
3316
3338
|
for (var e = i > 1 ? void 0 : i ? Fo(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
@@ -3318,7 +3340,7 @@ var Ro = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, U = (r, t,
|
|
|
3318
3340
|
return i && e && Ro(t, s, e), e;
|
|
3319
3341
|
};
|
|
3320
3342
|
const Uo = "sonic-button";
|
|
3321
|
-
let T = class extends di(
|
|
3343
|
+
let T = class extends di(De(Y(y))) {
|
|
3322
3344
|
constructor() {
|
|
3323
3345
|
super(...arguments), this.type = "default", this.variant = "default", this.shape = "default", this.direction = "row", this.alignItems = "center", this.justify = "center", this.minWidth = "0", this.icon = !1, this.download = null, this.autoActive = "partial", this.loading = !1, this.hasPrefix = !1, this.hasSuffix = !1, this._href = "", this.goBack = null, this.pushState = !1, this.active = !1, this.autoRepeat = !1, this.pointerDownTime = 0, this.lastRepeatTime = 0, this.isRepeating = !1, this.handleRepeatend = () => {
|
|
3324
3346
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3800,10 +3822,10 @@ U([
|
|
|
3800
3822
|
M()
|
|
3801
3823
|
], T.prototype, "hasSuffix", 2);
|
|
3802
3824
|
U([
|
|
3803
|
-
|
|
3825
|
+
me({ flatten: !0, slot: "prefix" })
|
|
3804
3826
|
], T.prototype, "prefixes", 2);
|
|
3805
3827
|
U([
|
|
3806
|
-
|
|
3828
|
+
me({ flatten: !0, slot: "suffix" })
|
|
3807
3829
|
], T.prototype, "suffixes", 2);
|
|
3808
3830
|
U([
|
|
3809
3831
|
a({ type: String })
|
|
@@ -3845,9 +3867,9 @@ const Ri = (r, t, s) => {
|
|
|
3845
3867
|
for (let e = t; e <= s; e++)
|
|
3846
3868
|
i.set(r[e], e);
|
|
3847
3869
|
return i;
|
|
3848
|
-
}, Ss =
|
|
3870
|
+
}, Ss = ve(class extends Oe {
|
|
3849
3871
|
constructor(r) {
|
|
3850
|
-
if (super(r), r.type !==
|
|
3872
|
+
if (super(r), r.type !== be.CHILD)
|
|
3851
3873
|
throw Error("repeat() can only be used in text expressions");
|
|
3852
3874
|
}
|
|
3853
3875
|
dt(r, t, s) {
|
|
@@ -3878,24 +3900,24 @@ const Ri = (r, t, s) => {
|
|
|
3878
3900
|
else if (l[m] === n[w])
|
|
3879
3901
|
c[w] = ie(e[m], o[w]), m--, w--;
|
|
3880
3902
|
else if (l[f] === n[w])
|
|
3881
|
-
c[w] = ie(e[f], o[w]),
|
|
3903
|
+
c[w] = ie(e[f], o[w]), je(r, c[w + 1], e[f]), f++, w--;
|
|
3882
3904
|
else if (l[m] === n[b])
|
|
3883
|
-
c[b] = ie(e[m], o[b]),
|
|
3905
|
+
c[b] = ie(e[m], o[b]), je(r, e[f], e[m]), m--, b++;
|
|
3884
3906
|
else if (h === void 0 && (h = Ri(n, b, w), d = Ri(l, f, m)), h.has(l[f]))
|
|
3885
3907
|
if (h.has(l[m])) {
|
|
3886
3908
|
const C = d.get(n[b]), O = C !== void 0 ? e[C] : null;
|
|
3887
3909
|
if (O === null) {
|
|
3888
|
-
const D =
|
|
3910
|
+
const D = je(r, e[f]);
|
|
3889
3911
|
ie(D, o[b]), c[b] = D;
|
|
3890
3912
|
} else
|
|
3891
|
-
c[b] = ie(O, o[b]),
|
|
3913
|
+
c[b] = ie(O, o[b]), je(r, e[f], O), e[C] = null;
|
|
3892
3914
|
b++;
|
|
3893
3915
|
} else
|
|
3894
3916
|
Ms(e[m]), m--;
|
|
3895
3917
|
else
|
|
3896
3918
|
Ms(e[f]), f++;
|
|
3897
3919
|
for (; b <= w; ) {
|
|
3898
|
-
const C =
|
|
3920
|
+
const C = je(r, c[w + 1]);
|
|
3899
3921
|
ie(C, o[b]), c[b++] = C;
|
|
3900
3922
|
}
|
|
3901
3923
|
for (; f <= m; ) {
|
|
@@ -3931,7 +3953,7 @@ const Rs = /* @__PURE__ */ new Map(), Ui = /* @__PURE__ */ new WeakSet(), Vi = (
|
|
|
3931
3953
|
} }, qo = { duration: 333, easing: "ease-in-out" }, Wo = ["left", "top", "width", "height", "opacity", "color", "background"], qi = /* @__PURE__ */ new WeakMap();
|
|
3932
3954
|
class Ko extends hi {
|
|
3933
3955
|
constructor(t) {
|
|
3934
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
3956
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === be.CHILD)
|
|
3935
3957
|
throw Error("The `animate` directive must be used in attribute position.");
|
|
3936
3958
|
this.createFinished();
|
|
3937
3959
|
}
|
|
@@ -4108,7 +4130,7 @@ class Ko extends hi {
|
|
|
4108
4130
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
|
|
4109
4131
|
}
|
|
4110
4132
|
}
|
|
4111
|
-
const cs =
|
|
4133
|
+
const cs = ve(Ko), Zo = {
|
|
4112
4134
|
cancel: `<svg width="24" height="24" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4113
4135
|
<path d="M6.75827 17.2426L12.0009 12M17.2435 6.75736L12.0009 12M12.0009 12L6.75827 6.75736M12.0009 12L17.2435 17.2426" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4114
4136
|
</svg>
|
|
@@ -4237,7 +4259,7 @@ var Jo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, Xe = (r, t
|
|
|
4237
4259
|
return i && e && Jo(t, s, e), e;
|
|
4238
4260
|
};
|
|
4239
4261
|
const tn = "sonic-icon";
|
|
4240
|
-
let
|
|
4262
|
+
let de = class extends y {
|
|
4241
4263
|
constructor() {
|
|
4242
4264
|
super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
|
|
4243
4265
|
}
|
|
@@ -4255,7 +4277,7 @@ let he = class extends y {
|
|
|
4255
4277
|
return this.iconText ? this.iconText : $;
|
|
4256
4278
|
}
|
|
4257
4279
|
};
|
|
4258
|
-
|
|
4280
|
+
de.styles = P`
|
|
4259
4281
|
:host {
|
|
4260
4282
|
line-height: 0.1em;
|
|
4261
4283
|
width: fit-content;
|
|
@@ -4307,19 +4329,19 @@ he.styles = P`
|
|
|
4307
4329
|
`;
|
|
4308
4330
|
Xe([
|
|
4309
4331
|
M()
|
|
4310
|
-
],
|
|
4332
|
+
], de.prototype, "iconText", 2);
|
|
4311
4333
|
Xe([
|
|
4312
4334
|
a({ type: String })
|
|
4313
|
-
],
|
|
4335
|
+
], de.prototype, "name", 2);
|
|
4314
4336
|
Xe([
|
|
4315
4337
|
a({ type: String })
|
|
4316
|
-
],
|
|
4338
|
+
], de.prototype, "prefix", 2);
|
|
4317
4339
|
Xe([
|
|
4318
4340
|
a({ type: String })
|
|
4319
|
-
],
|
|
4320
|
-
|
|
4341
|
+
], de.prototype, "library", 2);
|
|
4342
|
+
de = Xe([
|
|
4321
4343
|
_(tn)
|
|
4322
|
-
],
|
|
4344
|
+
], de);
|
|
4323
4345
|
const ts = P`
|
|
4324
4346
|
.custom-scroll {
|
|
4325
4347
|
overflow: auto !important;
|
|
@@ -4366,15 +4388,29 @@ let yt = class extends y {
|
|
|
4366
4388
|
if (JSON.parse(r)[this.id])
|
|
4367
4389
|
return $;
|
|
4368
4390
|
}
|
|
4369
|
-
return this.visible ? g`<div
|
|
4370
|
-
|
|
4391
|
+
return this.visible ? g`<div
|
|
4392
|
+
class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
|
|
4393
|
+
>
|
|
4394
|
+
<button
|
|
4395
|
+
aria-label="Close"
|
|
4396
|
+
class="sonic-toast-close"
|
|
4397
|
+
@click=${() => this.hide()}
|
|
4398
|
+
>
|
|
4371
4399
|
<sonic-icon name="cancel" size="lg"></sonic-icon>
|
|
4372
4400
|
</button>
|
|
4373
|
-
<div
|
|
4374
|
-
|
|
4401
|
+
<div
|
|
4402
|
+
class="sonic-toast-content custom-scroll"
|
|
4403
|
+
style="max-height: ${this.maxHeight} ;"
|
|
4404
|
+
>
|
|
4405
|
+
${this.status && g`<sonic-icon
|
|
4406
|
+
name=${rn[this.status]}
|
|
4407
|
+
class="sonic-toast-icon"
|
|
4408
|
+
size="2xl"
|
|
4409
|
+
></sonic-icon>`}
|
|
4375
4410
|
|
|
4376
4411
|
<div class="sonic-toast-text">
|
|
4377
|
-
${this.title ? g`<div class="sonic-toast-title">${this.title}</div>` : ""}
|
|
4412
|
+
${this.title ? g`<div class="sonic-toast-title">${this.title}</div>` : ""}
|
|
4413
|
+
${this.text ? z(this.text) : ""}
|
|
4378
4414
|
<slot></slot>
|
|
4379
4415
|
</div>
|
|
4380
4416
|
|
|
@@ -4383,9 +4419,12 @@ let yt = class extends y {
|
|
|
4383
4419
|
</div>` : $;
|
|
4384
4420
|
}
|
|
4385
4421
|
hide() {
|
|
4386
|
-
if (
|
|
4422
|
+
if (he.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
|
|
4387
4423
|
const r = localStorage.getItem("sonic-toast-dismissed") || "{}", t = JSON.parse(r);
|
|
4388
|
-
t[this.id] = !0, localStorage.setItem(
|
|
4424
|
+
t[this.id] = !0, localStorage.setItem(
|
|
4425
|
+
"sonic-toast-dismissed",
|
|
4426
|
+
JSON.stringify(t)
|
|
4427
|
+
);
|
|
4389
4428
|
}
|
|
4390
4429
|
this.dispatchEvent(new CustomEvent("hide", { bubbles: !0 }));
|
|
4391
4430
|
}
|
|
@@ -4469,7 +4508,8 @@ yt.styles = [
|
|
|
4469
4508
|
}
|
|
4470
4509
|
|
|
4471
4510
|
::slotted(:is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6):last-child),
|
|
4472
|
-
.sonic-toast-text
|
|
4511
|
+
.sonic-toast-text
|
|
4512
|
+
> :is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6):last-child {
|
|
4473
4513
|
margin-bottom: 0 !important;
|
|
4474
4514
|
}
|
|
4475
4515
|
|
|
@@ -5018,7 +5058,7 @@ function gn() {
|
|
|
5018
5058
|
(s = i.contentWindow) == null || s.postMessage({ type: "sonicToastAvailable" }, "*");
|
|
5019
5059
|
}
|
|
5020
5060
|
gn();
|
|
5021
|
-
var mn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor,
|
|
5061
|
+
var mn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, Me = (r, t, s, i) => {
|
|
5022
5062
|
for (var e = i > 1 ? void 0 : i ? bn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5023
5063
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5024
5064
|
return i && e && mn(t, s, e), e;
|
|
@@ -5050,7 +5090,7 @@ const vn = /* @__PURE__ */ new Set(), yn = /* @__PURE__ */ new Set(), wn = (r) =
|
|
|
5050
5090
|
* Un Toast est affiché si le chargement échoue
|
|
5051
5091
|
*/
|
|
5052
5092
|
async _fetchData() {
|
|
5053
|
-
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new
|
|
5093
|
+
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new Ae(this.getApiConfiguration()), !this.api) || (this.dispatchEvent(new CustomEvent("loading", { detail: this })), this.getAttribute("localStorage") === "enabled" && await J.getInstance().isLocalStrorageReady, !this.isConnected))
|
|
5054
5094
|
return;
|
|
5055
5095
|
const e = J.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
|
|
5056
5096
|
this.isLoading = !0, X.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
|
|
@@ -5135,15 +5175,15 @@ const vn = /* @__PURE__ */ new Set(), yn = /* @__PURE__ */ new Set(), wn = (r) =
|
|
|
5135
5175
|
}
|
|
5136
5176
|
}
|
|
5137
5177
|
}
|
|
5138
|
-
return
|
|
5178
|
+
return Me([
|
|
5139
5179
|
a()
|
|
5140
|
-
], s.prototype, "noErrorsRecordings", 2),
|
|
5180
|
+
], s.prototype, "noErrorsRecordings", 2), Me([
|
|
5141
5181
|
a()
|
|
5142
|
-
], s.prototype, "props", 1),
|
|
5182
|
+
], s.prototype, "props", 1), Me([
|
|
5143
5183
|
a({ type: String })
|
|
5144
|
-
], s.prototype, "endPoint", 1),
|
|
5184
|
+
], s.prototype, "endPoint", 1), Me([
|
|
5145
5185
|
a()
|
|
5146
|
-
], s.prototype, "requestId", 2),
|
|
5186
|
+
], s.prototype, "requestId", 2), Me([
|
|
5147
5187
|
a({ type: Number })
|
|
5148
5188
|
], s.prototype, "refetchEveryMs", 2), s;
|
|
5149
5189
|
};
|
|
@@ -5199,7 +5239,7 @@ const Os = (r) => {
|
|
|
5199
5239
|
], t.prototype, "tabindex", 2), re([
|
|
5200
5240
|
a({ type: String })
|
|
5201
5241
|
], t.prototype, "autocomplete", 2), t;
|
|
5202
|
-
}, wr = pi, Pn = di, _r =
|
|
5242
|
+
}, wr = pi, Pn = di, _r = De, xr = Os, Qt = Y, ui = Qe;
|
|
5203
5243
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5204
5244
|
window["concorde-mixins"] = {
|
|
5205
5245
|
Fetcher: wr,
|
|
@@ -5214,9 +5254,9 @@ window["concorde-mixins"] = {
|
|
|
5214
5254
|
* Copyright 2020 Google LLC
|
|
5215
5255
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5216
5256
|
*/
|
|
5217
|
-
const Ot =
|
|
5257
|
+
const Ot = ve(class extends Oe {
|
|
5218
5258
|
constructor(r) {
|
|
5219
|
-
if (super(r), r.type !==
|
|
5259
|
+
if (super(r), r.type !== be.CHILD)
|
|
5220
5260
|
throw Error("templateContent can only be used in child bindings");
|
|
5221
5261
|
}
|
|
5222
5262
|
render(r) {
|
|
@@ -5497,7 +5537,7 @@ let Gi = class extends Y(y) {
|
|
|
5497
5537
|
Gi = In([
|
|
5498
5538
|
_(zn)
|
|
5499
5539
|
], Gi);
|
|
5500
|
-
var Rn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor,
|
|
5540
|
+
var Rn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, ye = (r, t, s, i) => {
|
|
5501
5541
|
for (var e = i > 1 ? void 0 : i ? Fn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5502
5542
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5503
5543
|
return i && e && Rn(t, s, e), e;
|
|
@@ -5598,25 +5638,25 @@ let qt = class extends pi(Y(Qe(y))) {
|
|
|
5598
5638
|
`;
|
|
5599
5639
|
}
|
|
5600
5640
|
};
|
|
5601
|
-
|
|
5641
|
+
ye([
|
|
5602
5642
|
a({ type: Object })
|
|
5603
5643
|
], qt.prototype, "itemPropertyMap", 2);
|
|
5604
|
-
|
|
5644
|
+
ye([
|
|
5605
5645
|
a({ type: String })
|
|
5606
5646
|
], qt.prototype, "templateKey", 2);
|
|
5607
|
-
|
|
5647
|
+
ye([
|
|
5608
5648
|
a({ type: String })
|
|
5609
5649
|
], qt.prototype, "idKey", 2);
|
|
5610
|
-
|
|
5650
|
+
ye([
|
|
5611
5651
|
a()
|
|
5612
5652
|
], qt.prototype, "loader", 2);
|
|
5613
|
-
|
|
5653
|
+
ye([
|
|
5614
5654
|
a()
|
|
5615
5655
|
], qt.prototype, "limit", 2);
|
|
5616
|
-
|
|
5656
|
+
ye([
|
|
5617
5657
|
a()
|
|
5618
5658
|
], qt.prototype, "offset", 2);
|
|
5619
|
-
qt =
|
|
5659
|
+
qt = ye([
|
|
5620
5660
|
_(Un)
|
|
5621
5661
|
], qt);
|
|
5622
5662
|
/**
|
|
@@ -5672,7 +5712,7 @@ let ot = class extends Y(y) {
|
|
|
5672
5712
|
async connectedCallback() {
|
|
5673
5713
|
this.instanceId = ot.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
5674
5714
|
this.getAttribute("filterTimeoutMs") || "400"
|
|
5675
|
-
), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression =
|
|
5715
|
+
), this.removeAttribute("localStorage"), this.noShadowDom = "", this.defferedDebug = this.hasAttribute("debug") || null, this.dataProvider || (this.dataProvider = this.dataProviderExpression || "sonic-queue-" + this.instanceId + "-" + Math.random().toString(36).substring(7)), this.dataProviderExpression || (this.dataProviderExpression = he.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await N.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
5676
5716
|
this.querySelectorAll("template")
|
|
5677
5717
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
5678
5718
|
}
|
|
@@ -5805,7 +5845,7 @@ bt([
|
|
|
5805
5845
|
ot = bt([
|
|
5806
5846
|
_(qn)
|
|
5807
5847
|
], ot);
|
|
5808
|
-
var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor,
|
|
5848
|
+
var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, ke = (r, t, s, i) => {
|
|
5809
5849
|
for (var e = i > 1 ? void 0 : i ? Kn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5810
5850
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5811
5851
|
return i && e && Wn(t, s, e), e;
|
|
@@ -5818,10 +5858,10 @@ let Wt = class extends Y(y) {
|
|
|
5818
5858
|
connectedCallback() {
|
|
5819
5859
|
this.hasAttribute("onClick") && this.addEventListener("click", () => this.submit()), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", (r) => {
|
|
5820
5860
|
r.key === "Enter" && this.submit();
|
|
5821
|
-
}), super.connectedCallback(), this.api = new
|
|
5861
|
+
}), super.connectedCallback(), this.api = new Ae(this.getApiConfiguration());
|
|
5822
5862
|
}
|
|
5823
5863
|
submitNativeForm() {
|
|
5824
|
-
const r =
|
|
5864
|
+
const r = he.getClosestForm(this);
|
|
5825
5865
|
if (!r)
|
|
5826
5866
|
return;
|
|
5827
5867
|
const t = this.getAncestorAttributeValue("formDataProvider"), s = N.get(t).get();
|
|
@@ -5936,22 +5976,22 @@ Wt.styles = P`
|
|
|
5936
5976
|
user-select: none;
|
|
5937
5977
|
}
|
|
5938
5978
|
`;
|
|
5939
|
-
|
|
5979
|
+
ke([
|
|
5940
5980
|
a({ type: String })
|
|
5941
5981
|
], Wt.prototype, "submitResultKey", 2);
|
|
5942
|
-
|
|
5982
|
+
ke([
|
|
5943
5983
|
a({ type: Boolean })
|
|
5944
5984
|
], Wt.prototype, "disabled", 2);
|
|
5945
|
-
|
|
5985
|
+
ke([
|
|
5946
5986
|
a({ type: String })
|
|
5947
5987
|
], Wt.prototype, "endPoint", 2);
|
|
5948
|
-
|
|
5988
|
+
ke([
|
|
5949
5989
|
a()
|
|
5950
5990
|
], Wt.prototype, "name", 2);
|
|
5951
|
-
|
|
5991
|
+
ke([
|
|
5952
5992
|
a()
|
|
5953
5993
|
], Wt.prototype, "value", 2);
|
|
5954
|
-
Wt =
|
|
5994
|
+
Wt = ke([
|
|
5955
5995
|
_(Zn)
|
|
5956
5996
|
], Wt);
|
|
5957
5997
|
var Gn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, gi = (r, t, s, i) => {
|
|
@@ -6500,10 +6540,10 @@ let ws = class extends wr(Qt(y)) {
|
|
|
6500
6540
|
if (this.sduiDescriptor) {
|
|
6501
6541
|
if (this.sduiDescriptor.js)
|
|
6502
6542
|
for (const r of this.sduiDescriptor.js)
|
|
6503
|
-
|
|
6543
|
+
he.loadJS(r);
|
|
6504
6544
|
if (this.sduiDescriptor.css)
|
|
6505
6545
|
for (const r of this.sduiDescriptor.css)
|
|
6506
|
-
|
|
6546
|
+
he.loadCSS(r);
|
|
6507
6547
|
}
|
|
6508
6548
|
}
|
|
6509
6549
|
/**
|
|
@@ -6724,7 +6764,7 @@ var Ba = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, ss = (r, t
|
|
|
6724
6764
|
return i && e && Ba(t, s, e), e;
|
|
6725
6765
|
};
|
|
6726
6766
|
const qa = "sonic-badge";
|
|
6727
|
-
let
|
|
6767
|
+
let pe = class extends y {
|
|
6728
6768
|
constructor() {
|
|
6729
6769
|
super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
|
|
6730
6770
|
}
|
|
@@ -6736,7 +6776,7 @@ let de = class extends y {
|
|
|
6736
6776
|
`;
|
|
6737
6777
|
}
|
|
6738
6778
|
};
|
|
6739
|
-
|
|
6779
|
+
pe.styles = [
|
|
6740
6780
|
Lt,
|
|
6741
6781
|
P`
|
|
6742
6782
|
:host {
|
|
@@ -6888,19 +6928,19 @@ de.styles = [
|
|
|
6888
6928
|
];
|
|
6889
6929
|
ss([
|
|
6890
6930
|
a({ type: String, reflect: !0 })
|
|
6891
|
-
],
|
|
6931
|
+
], pe.prototype, "type", 2);
|
|
6892
6932
|
ss([
|
|
6893
6933
|
a({ type: String, reflect: !0 })
|
|
6894
|
-
],
|
|
6934
|
+
], pe.prototype, "variant", 2);
|
|
6895
6935
|
ss([
|
|
6896
6936
|
a({ type: String, reflect: !0 })
|
|
6897
|
-
],
|
|
6937
|
+
], pe.prototype, "size", 2);
|
|
6898
6938
|
ss([
|
|
6899
6939
|
a({ type: Boolean, reflect: !0 })
|
|
6900
|
-
],
|
|
6901
|
-
|
|
6940
|
+
], pe.prototype, "ellipsis", 2);
|
|
6941
|
+
pe = ss([
|
|
6902
6942
|
_(qa)
|
|
6903
|
-
],
|
|
6943
|
+
], pe);
|
|
6904
6944
|
class Wa {
|
|
6905
6945
|
static fixBlankLink(t) {
|
|
6906
6946
|
const i = typeof require > "u" || typeof process != "object" ? null : require("electron");
|
|
@@ -6909,7 +6949,7 @@ class Wa {
|
|
|
6909
6949
|
});
|
|
6910
6950
|
}
|
|
6911
6951
|
}
|
|
6912
|
-
var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor,
|
|
6952
|
+
var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Le = (r, t, s, i) => {
|
|
6913
6953
|
for (var e = i > 1 ? void 0 : i ? Za(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6914
6954
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6915
6955
|
return i && e && Ka(t, s, e), e;
|
|
@@ -6971,25 +7011,25 @@ Kt.styles = [
|
|
|
6971
7011
|
}
|
|
6972
7012
|
`
|
|
6973
7013
|
];
|
|
6974
|
-
|
|
7014
|
+
Le([
|
|
6975
7015
|
a({ type: String })
|
|
6976
7016
|
], Kt.prototype, "href", 2);
|
|
6977
|
-
|
|
7017
|
+
Le([
|
|
6978
7018
|
a({ type: String, attribute: "data-aria-label" })
|
|
6979
7019
|
], Kt.prototype, "ariaLabel", 2);
|
|
6980
|
-
|
|
7020
|
+
Le([
|
|
6981
7021
|
a({ type: String })
|
|
6982
7022
|
], Kt.prototype, "autoActive", 2);
|
|
6983
|
-
|
|
7023
|
+
Le([
|
|
6984
7024
|
a({ type: String })
|
|
6985
7025
|
], Kt.prototype, "target", 1);
|
|
6986
|
-
|
|
7026
|
+
Le([
|
|
6987
7027
|
a({ type: Boolean })
|
|
6988
7028
|
], Kt.prototype, "pushState", 2);
|
|
6989
|
-
Kt =
|
|
7029
|
+
Kt = Le([
|
|
6990
7030
|
_(Ga)
|
|
6991
7031
|
], Kt);
|
|
6992
|
-
var Ya = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor,
|
|
7032
|
+
var Ya = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, Ee = (r, t, s, i) => {
|
|
6993
7033
|
for (var e = i > 1 ? void 0 : i ? Qa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6994
7034
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6995
7035
|
return i && e && Ya(t, s, e), e;
|
|
@@ -7121,22 +7161,22 @@ Zt.styles = [
|
|
|
7121
7161
|
}
|
|
7122
7162
|
`
|
|
7123
7163
|
];
|
|
7124
|
-
|
|
7164
|
+
Ee([
|
|
7125
7165
|
a({ type: Number })
|
|
7126
7166
|
], Zt.prototype, "value", 2);
|
|
7127
|
-
|
|
7167
|
+
Ee([
|
|
7128
7168
|
a({ type: Number })
|
|
7129
7169
|
], Zt.prototype, "max", 2);
|
|
7130
|
-
|
|
7170
|
+
Ee([
|
|
7131
7171
|
a({ type: Boolean })
|
|
7132
7172
|
], Zt.prototype, "invert", 2);
|
|
7133
|
-
|
|
7173
|
+
Ee([
|
|
7134
7174
|
a({ type: String, reflect: !0 })
|
|
7135
7175
|
], Zt.prototype, "type", 2);
|
|
7136
|
-
|
|
7176
|
+
Ee([
|
|
7137
7177
|
a({ type: String, reflect: !0 })
|
|
7138
7178
|
], Zt.prototype, "size", 2);
|
|
7139
|
-
Zt =
|
|
7179
|
+
Zt = Ee([
|
|
7140
7180
|
_(Ja)
|
|
7141
7181
|
], Zt);
|
|
7142
7182
|
const Xa = P`
|
|
@@ -7526,10 +7566,10 @@ const Xa = P`
|
|
|
7526
7566
|
* Copyright 2018 Google LLC
|
|
7527
7567
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7528
7568
|
*/
|
|
7529
|
-
const yi =
|
|
7569
|
+
const yi = ve(class extends Oe {
|
|
7530
7570
|
constructor(r) {
|
|
7531
7571
|
var t;
|
|
7532
|
-
if (super(r), r.type !==
|
|
7572
|
+
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
|
|
7533
7573
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7534
7574
|
}
|
|
7535
7575
|
render(r) {
|
|
@@ -7559,7 +7599,7 @@ var tl = Object.defineProperty, el = Object.getOwnPropertyDescriptor, B = (r, t,
|
|
|
7559
7599
|
return i && e && tl(t, s, e), e;
|
|
7560
7600
|
};
|
|
7561
7601
|
const sl = "sonic-input";
|
|
7562
|
-
let F = class extends Os(
|
|
7602
|
+
let F = class extends Os(De(Y(y))) {
|
|
7563
7603
|
constructor() {
|
|
7564
7604
|
super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
|
|
7565
7605
|
}
|
|
@@ -7762,7 +7802,7 @@ B([
|
|
|
7762
7802
|
lt({ slot: "prefix", flatten: !0 })
|
|
7763
7803
|
], F.prototype, "slotPrefixNodes", 2);
|
|
7764
7804
|
B([
|
|
7765
|
-
|
|
7805
|
+
ge("input")
|
|
7766
7806
|
], F.prototype, "input", 2);
|
|
7767
7807
|
B([
|
|
7768
7808
|
M()
|
|
@@ -7957,10 +7997,10 @@ Jt([
|
|
|
7957
7997
|
M()
|
|
7958
7998
|
], it.prototype, "open", 2);
|
|
7959
7999
|
Jt([
|
|
7960
|
-
|
|
8000
|
+
ge("slot:not([name=content])")
|
|
7961
8001
|
], it.prototype, "popBtn", 2);
|
|
7962
8002
|
Jt([
|
|
7963
|
-
|
|
8003
|
+
ge("slot[name=content]")
|
|
7964
8004
|
], it.prototype, "popContent", 2);
|
|
7965
8005
|
Jt([
|
|
7966
8006
|
a({ type: Boolean })
|
|
@@ -8320,7 +8360,7 @@ ht([
|
|
|
8320
8360
|
nt = ht([
|
|
8321
8361
|
_(fl)
|
|
8322
8362
|
], nt);
|
|
8323
|
-
var gl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor,
|
|
8363
|
+
var gl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, we = (r, t, s, i) => {
|
|
8324
8364
|
for (var e = i > 1 ? void 0 : i ? ml(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8325
8365
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
8326
8366
|
return i && e && gl(t, s, e), e;
|
|
@@ -8351,25 +8391,25 @@ let Gt = class extends Qt(y) {
|
|
|
8351
8391
|
`;
|
|
8352
8392
|
}
|
|
8353
8393
|
};
|
|
8354
|
-
|
|
8394
|
+
we([
|
|
8355
8395
|
a()
|
|
8356
8396
|
], Gt.prototype, "name", 2);
|
|
8357
|
-
|
|
8397
|
+
we([
|
|
8358
8398
|
a()
|
|
8359
8399
|
], Gt.prototype, "sameValueAs", 2);
|
|
8360
|
-
|
|
8400
|
+
we([
|
|
8361
8401
|
a()
|
|
8362
8402
|
], Gt.prototype, "descriptionWhenEqual", 2);
|
|
8363
|
-
|
|
8403
|
+
we([
|
|
8364
8404
|
a()
|
|
8365
8405
|
], Gt.prototype, "descriptionWhenNotEqual", 2);
|
|
8366
|
-
|
|
8406
|
+
we([
|
|
8367
8407
|
M()
|
|
8368
8408
|
], Gt.prototype, "areEqual", 2);
|
|
8369
|
-
|
|
8409
|
+
we([
|
|
8370
8410
|
M()
|
|
8371
8411
|
], Gt.prototype, "hasNoChar", 2);
|
|
8372
|
-
Gt =
|
|
8412
|
+
Gt = we([
|
|
8373
8413
|
_(bl)
|
|
8374
8414
|
], Gt);
|
|
8375
8415
|
var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, Ut = (r, t, s, i) => {
|
|
@@ -8379,7 +8419,7 @@ var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, Ut = (r, t
|
|
|
8379
8419
|
};
|
|
8380
8420
|
const wl = "sonic-checkbox";
|
|
8381
8421
|
let mt = class extends di(
|
|
8382
|
-
Os(
|
|
8422
|
+
Os(De(Y(y)))
|
|
8383
8423
|
) {
|
|
8384
8424
|
constructor() {
|
|
8385
8425
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -8627,7 +8667,7 @@ var Cl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Q = (r, t,
|
|
|
8627
8667
|
return i && e && Cl(t, s, e), e;
|
|
8628
8668
|
};
|
|
8629
8669
|
const Sl = "sonic-select";
|
|
8630
|
-
let K = class extends
|
|
8670
|
+
let K = class extends De(Y(y)) {
|
|
8631
8671
|
constructor() {
|
|
8632
8672
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
8633
8673
|
const r = this.querySelectorAll(
|
|
@@ -8881,7 +8921,7 @@ var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ut = (r, t
|
|
|
8881
8921
|
return i && e && Ol(t, s, e), e;
|
|
8882
8922
|
};
|
|
8883
8923
|
const kl = "sonic-textarea";
|
|
8884
|
-
let at = class extends Os(
|
|
8924
|
+
let at = class extends Os(De(Y(y))) {
|
|
8885
8925
|
constructor() {
|
|
8886
8926
|
super(...arguments), this.size = "", this.readonly = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
8887
8927
|
}
|
|
@@ -9040,7 +9080,7 @@ Zs.styles = [
|
|
|
9040
9080
|
Zs = Nl([
|
|
9041
9081
|
_("sonic-legend-description")
|
|
9042
9082
|
], Zs);
|
|
9043
|
-
var Tl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor,
|
|
9083
|
+
var Tl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, _e = (r, t, s, i) => {
|
|
9044
9084
|
for (var e = i > 1 ? void 0 : i ? jl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9045
9085
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9046
9086
|
return i && e && Tl(t, s, e), e;
|
|
@@ -9115,25 +9155,25 @@ Rt.styles = [
|
|
|
9115
9155
|
}
|
|
9116
9156
|
`
|
|
9117
9157
|
];
|
|
9118
|
-
|
|
9158
|
+
_e([
|
|
9119
9159
|
a({ type: Boolean })
|
|
9120
9160
|
], Rt.prototype, "forceAutoFill", 2);
|
|
9121
|
-
|
|
9161
|
+
_e([
|
|
9122
9162
|
a()
|
|
9123
9163
|
], Rt.prototype, "description", 1);
|
|
9124
|
-
|
|
9164
|
+
_e([
|
|
9125
9165
|
a()
|
|
9126
9166
|
], Rt.prototype, "label", 1);
|
|
9127
|
-
|
|
9167
|
+
_e([
|
|
9128
9168
|
a({ type: String })
|
|
9129
9169
|
], Rt.prototype, "iconName", 2);
|
|
9130
|
-
|
|
9170
|
+
_e([
|
|
9131
9171
|
a({ type: String })
|
|
9132
9172
|
], Rt.prototype, "iconLibrary", 2);
|
|
9133
|
-
|
|
9173
|
+
_e([
|
|
9134
9174
|
a({ type: String })
|
|
9135
9175
|
], Rt.prototype, "iconPrefix", 2);
|
|
9136
|
-
Rt =
|
|
9176
|
+
Rt = _e([
|
|
9137
9177
|
_(Ml)
|
|
9138
9178
|
], Rt);
|
|
9139
9179
|
var Il = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, Nt = (r, t, s, i) => {
|
|
@@ -9303,7 +9343,7 @@ We.styles = [
|
|
|
9303
9343
|
`
|
|
9304
9344
|
];
|
|
9305
9345
|
wi([
|
|
9306
|
-
|
|
9346
|
+
me({ flatten: !0 })
|
|
9307
9347
|
], We.prototype, "slottedElements", 2);
|
|
9308
9348
|
wi([
|
|
9309
9349
|
a({ type: Boolean })
|
|
@@ -9591,7 +9631,7 @@ var Jl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, vt = (r, t
|
|
|
9591
9631
|
const tc = "sonic-menu";
|
|
9592
9632
|
let ct = class extends y {
|
|
9593
9633
|
constructor() {
|
|
9594
|
-
super(...arguments), this.
|
|
9634
|
+
super(...arguments), this.direction = "column", this.gap = "var(--sc-menu-gap)", this.align = "left", this.shadow = null, this.moreShape = "circle", this.scrollable = !1, this.observer = null, this.minWidth = "0", this.hasMoreElements = !1, this.updateIsScollable = () => {
|
|
9595
9635
|
this.scrollable && (this.initScrollable(), this.setScrollShadow(this, this.direction));
|
|
9596
9636
|
};
|
|
9597
9637
|
}
|
|
@@ -9654,11 +9694,26 @@ let ct = class extends y {
|
|
|
9654
9694
|
}, i = {
|
|
9655
9695
|
marginLeft: t ? "" : ".55em"
|
|
9656
9696
|
};
|
|
9657
|
-
return g`<menu
|
|
9697
|
+
return g`<menu
|
|
9698
|
+
part="menu"
|
|
9699
|
+
class="shadowable"
|
|
9700
|
+
style=${dt(r)}
|
|
9701
|
+
>
|
|
9658
9702
|
<slot @slotchange=${this.mainSlotChange}></slot>
|
|
9659
|
-
<sonic-pop
|
|
9660
|
-
|
|
9661
|
-
|
|
9703
|
+
<sonic-pop
|
|
9704
|
+
style=${dt(s)}
|
|
9705
|
+
class=${this.hasMoreElements ? "" : "hidden"}
|
|
9706
|
+
>
|
|
9707
|
+
<sonic-menu-item
|
|
9708
|
+
style=${dt(i)}
|
|
9709
|
+
class="more-btn"
|
|
9710
|
+
shape=${this.moreShape}
|
|
9711
|
+
align="center"
|
|
9712
|
+
>
|
|
9713
|
+
<sonic-icon
|
|
9714
|
+
size="xl"
|
|
9715
|
+
name=${t ? "more-vert" : "more-horiz"}
|
|
9716
|
+
></sonic-icon>
|
|
9662
9717
|
</sonic-menu-item>
|
|
9663
9718
|
<slot name="more" @slotchange=${this.checkIfMore} slot="content"></slot>
|
|
9664
9719
|
</sonic-pop>
|
|
@@ -9723,12 +9778,28 @@ ct.styles = [
|
|
|
9723
9778
|
display: none !important;
|
|
9724
9779
|
}
|
|
9725
9780
|
:host([scrollable][direction="row"].shadow-right) {
|
|
9726
|
-
-webkit-mask-image: linear-gradient(
|
|
9727
|
-
|
|
9781
|
+
-webkit-mask-image: linear-gradient(
|
|
9782
|
+
to left,
|
|
9783
|
+
rgba(0, 0, 0, 0),
|
|
9784
|
+
rgba(0, 0, 0, 1) 10%
|
|
9785
|
+
);
|
|
9786
|
+
mask-image: linear-gradient(
|
|
9787
|
+
to left,
|
|
9788
|
+
rgba(0, 0, 0, 0),
|
|
9789
|
+
rgba(0, 0, 0, 1) 10%
|
|
9790
|
+
);
|
|
9728
9791
|
}
|
|
9729
9792
|
:host([scrollable][direction="row"].shadow-left) {
|
|
9730
|
-
-webkit-mask-image: linear-gradient(
|
|
9731
|
-
|
|
9793
|
+
-webkit-mask-image: linear-gradient(
|
|
9794
|
+
to right,
|
|
9795
|
+
rgba(0, 0, 0, 0),
|
|
9796
|
+
rgba(0, 0, 0, 1) 10%
|
|
9797
|
+
);
|
|
9798
|
+
mask-image: linear-gradient(
|
|
9799
|
+
to right,
|
|
9800
|
+
rgba(0, 0, 0, 0),
|
|
9801
|
+
rgba(0, 0, 0, 1) 10%
|
|
9802
|
+
);
|
|
9732
9803
|
}
|
|
9733
9804
|
:host([scrollable][direction="row"].shadow-left.shadow-right) {
|
|
9734
9805
|
-webkit-mask-image: linear-gradient(
|
|
@@ -9738,19 +9809,53 @@ ct.styles = [
|
|
|
9738
9809
|
rgba(0, 0, 0, 1) 90%,
|
|
9739
9810
|
rgba(0, 0, 0, 0) 100%
|
|
9740
9811
|
);
|
|
9741
|
-
mask-image: linear-gradient(
|
|
9812
|
+
mask-image: linear-gradient(
|
|
9813
|
+
to right,
|
|
9814
|
+
rgba(0, 0, 0, 0) 0%,
|
|
9815
|
+
rgba(0, 0, 0, 1) 10%,
|
|
9816
|
+
rgba(0, 0, 0, 1) 90%,
|
|
9817
|
+
rgba(0, 0, 0, 0) 100%
|
|
9818
|
+
);
|
|
9742
9819
|
}
|
|
9743
9820
|
:host([scrollable][direction="column"].shadow-top) {
|
|
9744
|
-
-webkit-mask-image: linear-gradient(
|
|
9745
|
-
|
|
9821
|
+
-webkit-mask-image: linear-gradient(
|
|
9822
|
+
to bottom,
|
|
9823
|
+
rgba(0, 0, 0, 0),
|
|
9824
|
+
rgba(0, 0, 0, 1) 10%
|
|
9825
|
+
);
|
|
9826
|
+
mask-image: linear-gradient(
|
|
9827
|
+
to bottom,
|
|
9828
|
+
rgba(0, 0, 0, 0),
|
|
9829
|
+
rgba(0, 0, 0, 1) 10%
|
|
9830
|
+
);
|
|
9746
9831
|
}
|
|
9747
9832
|
:host([scrollable][direction="column"].shadow-bottom) {
|
|
9748
|
-
-webkit-mask-image: linear-gradient(
|
|
9749
|
-
|
|
9833
|
+
-webkit-mask-image: linear-gradient(
|
|
9834
|
+
to top,
|
|
9835
|
+
rgba(0, 0, 0, 0),
|
|
9836
|
+
rgba(0, 0, 0, 1) 10%
|
|
9837
|
+
);
|
|
9838
|
+
mask-image: linear-gradient(
|
|
9839
|
+
to top,
|
|
9840
|
+
rgba(0, 0, 0, 0),
|
|
9841
|
+
rgba(0, 0, 0, 1) 10%
|
|
9842
|
+
);
|
|
9750
9843
|
}
|
|
9751
9844
|
:host([scrollable][direction="column"].shadow-top.shadow-bottom) {
|
|
9752
|
-
-webkit-mask-image: linear-gradient(
|
|
9753
|
-
|
|
9845
|
+
-webkit-mask-image: linear-gradient(
|
|
9846
|
+
to top,
|
|
9847
|
+
rgba(0, 0, 0, 0) 0%,
|
|
9848
|
+
rgba(0, 0, 0, 1) 10%,
|
|
9849
|
+
rgba(0, 0, 0, 1) 90%,
|
|
9850
|
+
rgba(0, 0, 0, 0) 100%
|
|
9851
|
+
);
|
|
9852
|
+
mask-image: linear-gradient(
|
|
9853
|
+
to bottom,
|
|
9854
|
+
rgba(0, 0, 0, 0) 0%,
|
|
9855
|
+
rgba(0, 0, 0, 1) 10%,
|
|
9856
|
+
rgba(0, 0, 0, 1) 90%,
|
|
9857
|
+
rgba(0, 0, 0, 0) 100%
|
|
9858
|
+
);
|
|
9754
9859
|
}
|
|
9755
9860
|
`
|
|
9756
9861
|
];
|
|
@@ -9779,13 +9884,13 @@ vt([
|
|
|
9779
9884
|
a({ type: String })
|
|
9780
9885
|
], ct.prototype, "minWidth", 2);
|
|
9781
9886
|
vt([
|
|
9782
|
-
|
|
9887
|
+
ge("menu")
|
|
9783
9888
|
], ct.prototype, "menu", 2);
|
|
9784
9889
|
vt([
|
|
9785
|
-
|
|
9890
|
+
me({ selector: "sonic-menu-item" })
|
|
9786
9891
|
], ct.prototype, "menuChildren", 2);
|
|
9787
9892
|
vt([
|
|
9788
|
-
|
|
9893
|
+
me({ slot: "more", selector: "*" })
|
|
9789
9894
|
], ct.prototype, "moreElements", 2);
|
|
9790
9895
|
vt([
|
|
9791
9896
|
M()
|
|
@@ -9805,7 +9910,10 @@ let xs = class extends y {
|
|
|
9805
9910
|
(t = this.buttons) == null || t.forEach((s) => {
|
|
9806
9911
|
s.addEventListener("click", () => {
|
|
9807
9912
|
if (s.getAttribute("hideModal") != "false") {
|
|
9808
|
-
const i =
|
|
9913
|
+
const i = he.getClosestElement(
|
|
9914
|
+
this,
|
|
9915
|
+
"sonic-modal"
|
|
9916
|
+
);
|
|
9809
9917
|
i == null || i.hide();
|
|
9810
9918
|
}
|
|
9811
9919
|
});
|
|
@@ -9826,7 +9934,7 @@ xs.styles = [
|
|
|
9826
9934
|
`
|
|
9827
9935
|
];
|
|
9828
9936
|
Or([
|
|
9829
|
-
|
|
9937
|
+
me({ selector: "sonic-button" })
|
|
9830
9938
|
], xs.prototype, "buttons", 2);
|
|
9831
9939
|
xs = Or([
|
|
9832
9940
|
_(ic)
|
|
@@ -10239,13 +10347,13 @@ tt([
|
|
|
10239
10347
|
a({ type: Boolean, reflect: !0 })
|
|
10240
10348
|
], R.prototype, "visible", 2);
|
|
10241
10349
|
tt([
|
|
10242
|
-
|
|
10350
|
+
ge(".modal-wrapper")
|
|
10243
10351
|
], R.prototype, "modalWrapper", 2);
|
|
10244
10352
|
tt([
|
|
10245
|
-
|
|
10353
|
+
ge(".modal")
|
|
10246
10354
|
], R.prototype, "modalElement", 2);
|
|
10247
10355
|
tt([
|
|
10248
|
-
|
|
10356
|
+
me({ selector: "sonic-modal-close" })
|
|
10249
10357
|
], R.prototype, "closeBtn", 2);
|
|
10250
10358
|
R = tt([
|
|
10251
10359
|
_(kr)
|
|
@@ -10453,7 +10561,7 @@ var Oc = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, is = (r, t
|
|
|
10453
10561
|
return i && e && Oc(t, s, e), e;
|
|
10454
10562
|
};
|
|
10455
10563
|
const kc = "sonic-tooltip";
|
|
10456
|
-
let
|
|
10564
|
+
let ue = class extends y {
|
|
10457
10565
|
constructor() {
|
|
10458
10566
|
super(...arguments), this.label = "", this.disabled = !1, this.focusable = !1;
|
|
10459
10567
|
}
|
|
@@ -10470,7 +10578,7 @@ let pe = class extends y {
|
|
|
10470
10578
|
</div>`;
|
|
10471
10579
|
}
|
|
10472
10580
|
};
|
|
10473
|
-
|
|
10581
|
+
ue.styles = [
|
|
10474
10582
|
P`
|
|
10475
10583
|
:host {
|
|
10476
10584
|
position: relative;
|
|
@@ -10574,19 +10682,19 @@ pe.styles = [
|
|
|
10574
10682
|
];
|
|
10575
10683
|
is([
|
|
10576
10684
|
a({ type: String })
|
|
10577
|
-
],
|
|
10685
|
+
], ue.prototype, "label", 2);
|
|
10578
10686
|
is([
|
|
10579
10687
|
a({ type: String, reflect: !0 })
|
|
10580
|
-
],
|
|
10688
|
+
], ue.prototype, "placement", 2);
|
|
10581
10689
|
is([
|
|
10582
10690
|
a({ type: Boolean })
|
|
10583
|
-
],
|
|
10691
|
+
], ue.prototype, "disabled", 2);
|
|
10584
10692
|
is([
|
|
10585
10693
|
a({ type: Boolean })
|
|
10586
|
-
],
|
|
10587
|
-
|
|
10694
|
+
], ue.prototype, "focusable", 2);
|
|
10695
|
+
ue = is([
|
|
10588
10696
|
_(kc)
|
|
10589
|
-
],
|
|
10697
|
+
], ue);
|
|
10590
10698
|
var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, Mt = (r, t, s, i) => {
|
|
10591
10699
|
for (var e = i > 1 ? void 0 : i ? Ec(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10592
10700
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -10740,7 +10848,7 @@ Mt([
|
|
|
10740
10848
|
lt({ flatten: !0 })
|
|
10741
10849
|
], Pt.prototype, "slotNodes", 2);
|
|
10742
10850
|
Mt([
|
|
10743
|
-
|
|
10851
|
+
ge("div")
|
|
10744
10852
|
], Pt.prototype, "divider", 2);
|
|
10745
10853
|
Mt([
|
|
10746
10854
|
a({ type: String })
|
|
@@ -11071,7 +11179,7 @@ var Jc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, rs = (r, t
|
|
|
11071
11179
|
return i && e && Jc(t, s, e), e;
|
|
11072
11180
|
};
|
|
11073
11181
|
const th = "sonic-tr";
|
|
11074
|
-
let
|
|
11182
|
+
let fe = class extends Y(y) {
|
|
11075
11183
|
constructor() {
|
|
11076
11184
|
super(...arguments), this._metadata_ = {};
|
|
11077
11185
|
}
|
|
@@ -11082,7 +11190,7 @@ let ue = class extends Y(y) {
|
|
|
11082
11190
|
return g`<slot></slot>`;
|
|
11083
11191
|
}
|
|
11084
11192
|
};
|
|
11085
|
-
|
|
11193
|
+
fe.styles = [
|
|
11086
11194
|
Pi,
|
|
11087
11195
|
P`
|
|
11088
11196
|
:host {
|
|
@@ -11106,20 +11214,20 @@ ue.styles = [
|
|
|
11106
11214
|
];
|
|
11107
11215
|
rs([
|
|
11108
11216
|
a({ type: Object })
|
|
11109
|
-
],
|
|
11217
|
+
], fe.prototype, "_metadata_", 2);
|
|
11110
11218
|
rs([
|
|
11111
11219
|
a({ type: Boolean, reflect: !0 })
|
|
11112
|
-
],
|
|
11220
|
+
], fe.prototype, "even", 2);
|
|
11113
11221
|
rs([
|
|
11114
11222
|
a({ type: Boolean, reflect: !0 })
|
|
11115
|
-
],
|
|
11223
|
+
], fe.prototype, "odd", 2);
|
|
11116
11224
|
rs([
|
|
11117
11225
|
a({ type: Boolean, reflect: !0 })
|
|
11118
|
-
],
|
|
11119
|
-
|
|
11226
|
+
], fe.prototype, "last", 2);
|
|
11227
|
+
fe = rs([
|
|
11120
11228
|
_(th)
|
|
11121
|
-
],
|
|
11122
|
-
var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor,
|
|
11229
|
+
], fe);
|
|
11230
|
+
var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor, xe = (r, t, s, i) => {
|
|
11123
11231
|
for (var e = i > 1 ? void 0 : i ? sh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11124
11232
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11125
11233
|
return i && e && eh(t, s, e), e;
|
|
@@ -11164,25 +11272,25 @@ Ft.styles = [
|
|
|
11164
11272
|
}
|
|
11165
11273
|
`
|
|
11166
11274
|
];
|
|
11167
|
-
|
|
11275
|
+
xe([
|
|
11168
11276
|
a({ type: Number })
|
|
11169
11277
|
], Ft.prototype, "colSpan", 2);
|
|
11170
|
-
|
|
11278
|
+
xe([
|
|
11171
11279
|
a({ type: Number })
|
|
11172
11280
|
], Ft.prototype, "rowSpan", 2);
|
|
11173
|
-
|
|
11281
|
+
xe([
|
|
11174
11282
|
a({ type: String })
|
|
11175
11283
|
], Ft.prototype, "align", 2);
|
|
11176
|
-
|
|
11284
|
+
xe([
|
|
11177
11285
|
a({ type: String })
|
|
11178
11286
|
], Ft.prototype, "minWidth", 2);
|
|
11179
|
-
|
|
11287
|
+
xe([
|
|
11180
11288
|
a({ type: String })
|
|
11181
11289
|
], Ft.prototype, "maxWidth", 2);
|
|
11182
|
-
|
|
11290
|
+
xe([
|
|
11183
11291
|
a({ type: String })
|
|
11184
11292
|
], Ft.prototype, "width", 2);
|
|
11185
|
-
Ft =
|
|
11293
|
+
Ft = xe([
|
|
11186
11294
|
_(ih)
|
|
11187
11295
|
], Ft);
|
|
11188
11296
|
var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, te = (r, t, s, i) => {
|
|
@@ -11349,7 +11457,7 @@ ii.styles = [
|
|
|
11349
11457
|
ii = _h([
|
|
11350
11458
|
_(xh)
|
|
11351
11459
|
], ii);
|
|
11352
|
-
var Ph = Object.defineProperty, $h = Object.getOwnPropertyDescriptor,
|
|
11460
|
+
var Ph = Object.defineProperty, $h = Object.getOwnPropertyDescriptor, Ne = (r, t, s, i) => {
|
|
11353
11461
|
for (var e = i > 1 ? void 0 : i ? $h(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11354
11462
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11355
11463
|
return i && e && Ph(t, s, e), e;
|
|
@@ -11418,22 +11526,22 @@ Yt.styles = [
|
|
|
11418
11526
|
}
|
|
11419
11527
|
`
|
|
11420
11528
|
];
|
|
11421
|
-
|
|
11529
|
+
Ne([
|
|
11422
11530
|
a({ type: String, reflect: !0 })
|
|
11423
11531
|
], Yt.prototype, "size", 2);
|
|
11424
|
-
|
|
11532
|
+
Ne([
|
|
11425
11533
|
a({ type: Boolean, reflect: !0 })
|
|
11426
11534
|
], Yt.prototype, "bordered", 2);
|
|
11427
|
-
|
|
11535
|
+
Ne([
|
|
11428
11536
|
a({ type: Boolean, reflect: !0 })
|
|
11429
11537
|
], Yt.prototype, "rounded", 2);
|
|
11430
|
-
|
|
11538
|
+
Ne([
|
|
11431
11539
|
a({ type: Boolean, reflect: !0 })
|
|
11432
11540
|
], Yt.prototype, "noCustomScroll", 2);
|
|
11433
|
-
|
|
11541
|
+
Ne([
|
|
11434
11542
|
a({ type: String })
|
|
11435
11543
|
], Yt.prototype, "maxHeight", 2);
|
|
11436
|
-
Yt =
|
|
11544
|
+
Yt = Ne([
|
|
11437
11545
|
_(Ch)
|
|
11438
11546
|
], Yt);
|
|
11439
11547
|
var Ah = Object.defineProperty, Sh = Object.getOwnPropertyDescriptor, Ls = (r, t, s, i) => {
|