@supersoniks/concorde 3.1.4 → 3.1.5
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 +68 -53
- package/concorde-core.es.js +279 -239
- package/dist/concorde-core.bundle.js +68 -53
- package/dist/concorde-core.es.js +279 -239
- package/docs/assets/index--bDsd7qW.css +1 -0
- package/docs/assets/index-Ce3mr_lI.js +4040 -0
- package/docs/css/docs.css +0 -0
- package/docs/img/concorde-logo.svg +1 -0
- package/docs/img/concorde.png +0 -0
- package/docs/img/concorde_def.png +0 -0
- package/docs/index.html +132 -0
- package/docs/src/core/components/functional/date/date.md +290 -0
- package/docs/src/core/components/functional/fetch/fetch.md +117 -0
- package/docs/src/core/components/functional/if/if.md +16 -0
- package/docs/src/core/components/functional/list/list.md +194 -0
- package/docs/src/core/components/functional/mix/mix.md +41 -0
- package/docs/src/core/components/functional/queue/queue.md +87 -0
- package/docs/src/core/components/functional/router/router.md +112 -0
- package/docs/src/core/components/functional/sdui/default-library.json +108 -0
- package/docs/src/core/components/functional/sdui/example.json +99 -0
- package/docs/src/core/components/functional/sdui/sdui.md +356 -0
- package/docs/src/core/components/functional/states/states.md +87 -0
- package/docs/src/core/components/functional/submit/submit.md +48 -0
- package/docs/src/core/components/functional/subscriber/subscriber.md +91 -0
- package/docs/src/core/components/functional/value/value.md +35 -0
- package/docs/src/core/components/ui/alert/alert.md +121 -0
- package/docs/src/core/components/ui/badge/badge.md +102 -0
- package/docs/src/core/components/ui/button/button.md +184 -0
- package/docs/src/core/components/ui/captcha/captcha.md +12 -0
- package/docs/src/core/components/ui/card/card.md +96 -0
- package/docs/src/core/components/ui/divider/divider.md +35 -0
- package/docs/src/core/components/ui/form/checkbox/checkbox.md +96 -0
- package/docs/src/core/components/ui/form/fieldset/fieldset.md +129 -0
- package/docs/src/core/components/ui/form/form-actions/form-actions.md +77 -0
- package/docs/src/core/components/ui/form/form-layout/form-layout.md +43 -0
- package/docs/src/core/components/ui/form/input/input.md +168 -0
- package/docs/src/core/components/ui/form/input-autocomplete/input-autocomplete.md +130 -0
- package/docs/src/core/components/ui/form/radio/radio.md +86 -0
- package/docs/src/core/components/ui/form/select/select.md +99 -0
- package/docs/src/core/components/ui/form/textarea/textarea.md +66 -0
- package/docs/src/core/components/ui/group/group.md +75 -0
- package/docs/src/core/components/ui/icon/icon.md +125 -0
- package/docs/src/core/components/ui/icon/icons.json +1 -0
- package/docs/src/core/components/ui/image/image.md +107 -0
- package/docs/src/core/components/ui/link/link.md +43 -0
- package/docs/src/core/components/ui/loader/loader.md +37 -0
- package/docs/src/core/components/ui/menu/menu.md +288 -0
- package/docs/src/core/components/ui/modal/modal.md +123 -0
- package/docs/src/core/components/ui/pop/pop.md +79 -0
- package/docs/src/core/components/ui/progress/progress.md +65 -0
- package/docs/src/core/components/ui/table/table.md +467 -0
- package/docs/src/core/components/ui/tooltip/tooltip.md +37 -0
- package/docs/src/docs/_core-concept/overview.md +57 -0
- package/docs/src/docs/_core-concept/subscriber.md +76 -0
- package/docs/src/docs/_getting-started/concorde-outside.md +141 -0
- package/docs/src/docs/_getting-started/create-a-component.md +137 -0
- package/docs/src/docs/_getting-started/pubsub.md +150 -0
- package/docs/src/docs/_getting-started/start.md +37 -0
- package/docs/src/docs/_getting-started/theming.md +91 -0
- package/docs/src/docs/search/docs-search.json +3737 -0
- package/docs/src/tag-list.json +1 -0
- package/docs/src/tsconfig.json +113 -0
- package/docs/svg/regular/plane.svg +1 -0
- package/docs/svg/solid/plane.svg +1 -0
- package/package.json +1 -1
- package/postcss.config.cjs +0 -0
- package/src/core/utils/api.ts +97 -32
- package/src/docs/tailwind/index.ts +0 -0
package/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 = "Wed Jun 19 2024 17:55:51 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
|
};
|
|
@@ -3318,7 +3337,7 @@ var Ro = Object.defineProperty, Fo = Object.getOwnPropertyDescriptor, U = (r, t,
|
|
|
3318
3337
|
return i && e && Ro(t, s, e), e;
|
|
3319
3338
|
};
|
|
3320
3339
|
const Uo = "sonic-button";
|
|
3321
|
-
let T = class extends di(
|
|
3340
|
+
let T = class extends di(De(Y(y))) {
|
|
3322
3341
|
constructor() {
|
|
3323
3342
|
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
3343
|
window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
|
|
@@ -3800,10 +3819,10 @@ U([
|
|
|
3800
3819
|
M()
|
|
3801
3820
|
], T.prototype, "hasSuffix", 2);
|
|
3802
3821
|
U([
|
|
3803
|
-
|
|
3822
|
+
me({ flatten: !0, slot: "prefix" })
|
|
3804
3823
|
], T.prototype, "prefixes", 2);
|
|
3805
3824
|
U([
|
|
3806
|
-
|
|
3825
|
+
me({ flatten: !0, slot: "suffix" })
|
|
3807
3826
|
], T.prototype, "suffixes", 2);
|
|
3808
3827
|
U([
|
|
3809
3828
|
a({ type: String })
|
|
@@ -3845,9 +3864,9 @@ const Ri = (r, t, s) => {
|
|
|
3845
3864
|
for (let e = t; e <= s; e++)
|
|
3846
3865
|
i.set(r[e], e);
|
|
3847
3866
|
return i;
|
|
3848
|
-
}, Ss =
|
|
3867
|
+
}, Ss = ve(class extends Oe {
|
|
3849
3868
|
constructor(r) {
|
|
3850
|
-
if (super(r), r.type !==
|
|
3869
|
+
if (super(r), r.type !== be.CHILD)
|
|
3851
3870
|
throw Error("repeat() can only be used in text expressions");
|
|
3852
3871
|
}
|
|
3853
3872
|
dt(r, t, s) {
|
|
@@ -3878,24 +3897,24 @@ const Ri = (r, t, s) => {
|
|
|
3878
3897
|
else if (l[m] === n[w])
|
|
3879
3898
|
c[w] = ie(e[m], o[w]), m--, w--;
|
|
3880
3899
|
else if (l[f] === n[w])
|
|
3881
|
-
c[w] = ie(e[f], o[w]),
|
|
3900
|
+
c[w] = ie(e[f], o[w]), je(r, c[w + 1], e[f]), f++, w--;
|
|
3882
3901
|
else if (l[m] === n[b])
|
|
3883
|
-
c[b] = ie(e[m], o[b]),
|
|
3902
|
+
c[b] = ie(e[m], o[b]), je(r, e[f], e[m]), m--, b++;
|
|
3884
3903
|
else if (h === void 0 && (h = Ri(n, b, w), d = Ri(l, f, m)), h.has(l[f]))
|
|
3885
3904
|
if (h.has(l[m])) {
|
|
3886
3905
|
const C = d.get(n[b]), O = C !== void 0 ? e[C] : null;
|
|
3887
3906
|
if (O === null) {
|
|
3888
|
-
const D =
|
|
3907
|
+
const D = je(r, e[f]);
|
|
3889
3908
|
ie(D, o[b]), c[b] = D;
|
|
3890
3909
|
} else
|
|
3891
|
-
c[b] = ie(O, o[b]),
|
|
3910
|
+
c[b] = ie(O, o[b]), je(r, e[f], O), e[C] = null;
|
|
3892
3911
|
b++;
|
|
3893
3912
|
} else
|
|
3894
3913
|
Ms(e[m]), m--;
|
|
3895
3914
|
else
|
|
3896
3915
|
Ms(e[f]), f++;
|
|
3897
3916
|
for (; b <= w; ) {
|
|
3898
|
-
const C =
|
|
3917
|
+
const C = je(r, c[w + 1]);
|
|
3899
3918
|
ie(C, o[b]), c[b++] = C;
|
|
3900
3919
|
}
|
|
3901
3920
|
for (; f <= m; ) {
|
|
@@ -3931,7 +3950,7 @@ const Rs = /* @__PURE__ */ new Map(), Ui = /* @__PURE__ */ new WeakSet(), Vi = (
|
|
|
3931
3950
|
} }, qo = { duration: 333, easing: "ease-in-out" }, Wo = ["left", "top", "width", "height", "opacity", "color", "background"], qi = /* @__PURE__ */ new WeakMap();
|
|
3932
3951
|
class Ko extends hi {
|
|
3933
3952
|
constructor(t) {
|
|
3934
|
-
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type ===
|
|
3953
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === be.CHILD)
|
|
3935
3954
|
throw Error("The `animate` directive must be used in attribute position.");
|
|
3936
3955
|
this.createFinished();
|
|
3937
3956
|
}
|
|
@@ -4108,7 +4127,7 @@ class Ko extends hi {
|
|
|
4108
4127
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
|
|
4109
4128
|
}
|
|
4110
4129
|
}
|
|
4111
|
-
const cs =
|
|
4130
|
+
const cs = ve(Ko), Zo = {
|
|
4112
4131
|
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
4132
|
<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
4133
|
</svg>
|
|
@@ -4237,7 +4256,7 @@ var Jo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, Xe = (r, t
|
|
|
4237
4256
|
return i && e && Jo(t, s, e), e;
|
|
4238
4257
|
};
|
|
4239
4258
|
const tn = "sonic-icon";
|
|
4240
|
-
let
|
|
4259
|
+
let de = class extends y {
|
|
4241
4260
|
constructor() {
|
|
4242
4261
|
super(...arguments), this.iconText = "", this.name = "", this.prefix = "", this.library = "";
|
|
4243
4262
|
}
|
|
@@ -4255,7 +4274,7 @@ let he = class extends y {
|
|
|
4255
4274
|
return this.iconText ? this.iconText : $;
|
|
4256
4275
|
}
|
|
4257
4276
|
};
|
|
4258
|
-
|
|
4277
|
+
de.styles = P`
|
|
4259
4278
|
:host {
|
|
4260
4279
|
line-height: 0.1em;
|
|
4261
4280
|
width: fit-content;
|
|
@@ -4307,19 +4326,19 @@ he.styles = P`
|
|
|
4307
4326
|
`;
|
|
4308
4327
|
Xe([
|
|
4309
4328
|
M()
|
|
4310
|
-
],
|
|
4329
|
+
], de.prototype, "iconText", 2);
|
|
4311
4330
|
Xe([
|
|
4312
4331
|
a({ type: String })
|
|
4313
|
-
],
|
|
4332
|
+
], de.prototype, "name", 2);
|
|
4314
4333
|
Xe([
|
|
4315
4334
|
a({ type: String })
|
|
4316
|
-
],
|
|
4335
|
+
], de.prototype, "prefix", 2);
|
|
4317
4336
|
Xe([
|
|
4318
4337
|
a({ type: String })
|
|
4319
|
-
],
|
|
4320
|
-
|
|
4338
|
+
], de.prototype, "library", 2);
|
|
4339
|
+
de = Xe([
|
|
4321
4340
|
_(tn)
|
|
4322
|
-
],
|
|
4341
|
+
], de);
|
|
4323
4342
|
const ts = P`
|
|
4324
4343
|
.custom-scroll {
|
|
4325
4344
|
overflow: auto !important;
|
|
@@ -4366,15 +4385,29 @@ let yt = class extends y {
|
|
|
4366
4385
|
if (JSON.parse(r)[this.id])
|
|
4367
4386
|
return $;
|
|
4368
4387
|
}
|
|
4369
|
-
return this.visible ? g`<div
|
|
4370
|
-
|
|
4388
|
+
return this.visible ? g`<div
|
|
4389
|
+
class="sonic-toast ${this.status} ${this.ghost ? "ghost" : ""}"
|
|
4390
|
+
>
|
|
4391
|
+
<button
|
|
4392
|
+
aria-label="Close"
|
|
4393
|
+
class="sonic-toast-close"
|
|
4394
|
+
@click=${() => this.hide()}
|
|
4395
|
+
>
|
|
4371
4396
|
<sonic-icon name="cancel" size="lg"></sonic-icon>
|
|
4372
4397
|
</button>
|
|
4373
|
-
<div
|
|
4374
|
-
|
|
4398
|
+
<div
|
|
4399
|
+
class="sonic-toast-content custom-scroll"
|
|
4400
|
+
style="max-height: ${this.maxHeight} ;"
|
|
4401
|
+
>
|
|
4402
|
+
${this.status && g`<sonic-icon
|
|
4403
|
+
name=${rn[this.status]}
|
|
4404
|
+
class="sonic-toast-icon"
|
|
4405
|
+
size="2xl"
|
|
4406
|
+
></sonic-icon>`}
|
|
4375
4407
|
|
|
4376
4408
|
<div class="sonic-toast-text">
|
|
4377
|
-
${this.title ? g`<div class="sonic-toast-title">${this.title}</div>` : ""}
|
|
4409
|
+
${this.title ? g`<div class="sonic-toast-title">${this.title}</div>` : ""}
|
|
4410
|
+
${this.text ? z(this.text) : ""}
|
|
4378
4411
|
<slot></slot>
|
|
4379
4412
|
</div>
|
|
4380
4413
|
|
|
@@ -4383,9 +4416,12 @@ let yt = class extends y {
|
|
|
4383
4416
|
</div>` : $;
|
|
4384
4417
|
}
|
|
4385
4418
|
hide() {
|
|
4386
|
-
if (
|
|
4419
|
+
if (he.getClosestElement(this, "sonic-toast") || (this.visible = !1), this.dismissForever) {
|
|
4387
4420
|
const r = localStorage.getItem("sonic-toast-dismissed") || "{}", t = JSON.parse(r);
|
|
4388
|
-
t[this.id] = !0, localStorage.setItem(
|
|
4421
|
+
t[this.id] = !0, localStorage.setItem(
|
|
4422
|
+
"sonic-toast-dismissed",
|
|
4423
|
+
JSON.stringify(t)
|
|
4424
|
+
);
|
|
4389
4425
|
}
|
|
4390
4426
|
this.dispatchEvent(new CustomEvent("hide", { bubbles: !0 }));
|
|
4391
4427
|
}
|
|
@@ -4469,7 +4505,8 @@ yt.styles = [
|
|
|
4469
4505
|
}
|
|
4470
4506
|
|
|
4471
4507
|
::slotted(:is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6):last-child),
|
|
4472
|
-
.sonic-toast-text
|
|
4508
|
+
.sonic-toast-text
|
|
4509
|
+
> :is(p, ul, ol, hr, h1, h2, h3, h4, h5, h6):last-child {
|
|
4473
4510
|
margin-bottom: 0 !important;
|
|
4474
4511
|
}
|
|
4475
4512
|
|
|
@@ -5018,7 +5055,7 @@ function gn() {
|
|
|
5018
5055
|
(s = i.contentWindow) == null || s.postMessage({ type: "sonicToastAvailable" }, "*");
|
|
5019
5056
|
}
|
|
5020
5057
|
gn();
|
|
5021
|
-
var mn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor,
|
|
5058
|
+
var mn = Object.defineProperty, bn = Object.getOwnPropertyDescriptor, Me = (r, t, s, i) => {
|
|
5022
5059
|
for (var e = i > 1 ? void 0 : i ? bn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5023
5060
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5024
5061
|
return i && e && mn(t, s, e), e;
|
|
@@ -5050,7 +5087,7 @@ const vn = /* @__PURE__ */ new Set(), yn = /* @__PURE__ */ new Set(), wn = (r) =
|
|
|
5050
5087
|
* Un Toast est affiché si le chargement échoue
|
|
5051
5088
|
*/
|
|
5052
5089
|
async _fetchData() {
|
|
5053
|
-
if (this.requestUpdate(), !this.isFetchEnabled || (this.api = new
|
|
5090
|
+
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
5091
|
return;
|
|
5055
5092
|
const e = J.getInstance().get(this.getAncestorAttributeValue("headersDataProvider")).get();
|
|
5056
5093
|
this.isLoading = !0, X.isObject(this.props) && Object.keys(this.props || {}).length > 0 && this.isFirstLoad && window.requestAnimationFrame(() => {
|
|
@@ -5135,15 +5172,15 @@ const vn = /* @__PURE__ */ new Set(), yn = /* @__PURE__ */ new Set(), wn = (r) =
|
|
|
5135
5172
|
}
|
|
5136
5173
|
}
|
|
5137
5174
|
}
|
|
5138
|
-
return
|
|
5175
|
+
return Me([
|
|
5139
5176
|
a()
|
|
5140
|
-
], s.prototype, "noErrorsRecordings", 2),
|
|
5177
|
+
], s.prototype, "noErrorsRecordings", 2), Me([
|
|
5141
5178
|
a()
|
|
5142
|
-
], s.prototype, "props", 1),
|
|
5179
|
+
], s.prototype, "props", 1), Me([
|
|
5143
5180
|
a({ type: String })
|
|
5144
|
-
], s.prototype, "endPoint", 1),
|
|
5181
|
+
], s.prototype, "endPoint", 1), Me([
|
|
5145
5182
|
a()
|
|
5146
|
-
], s.prototype, "requestId", 2),
|
|
5183
|
+
], s.prototype, "requestId", 2), Me([
|
|
5147
5184
|
a({ type: Number })
|
|
5148
5185
|
], s.prototype, "refetchEveryMs", 2), s;
|
|
5149
5186
|
};
|
|
@@ -5199,7 +5236,7 @@ const Os = (r) => {
|
|
|
5199
5236
|
], t.prototype, "tabindex", 2), re([
|
|
5200
5237
|
a({ type: String })
|
|
5201
5238
|
], t.prototype, "autocomplete", 2), t;
|
|
5202
|
-
}, wr = pi, Pn = di, _r =
|
|
5239
|
+
}, wr = pi, Pn = di, _r = De, xr = Os, Qt = Y, ui = Qe;
|
|
5203
5240
|
window["concorde-mixins"] = window["concorde-mixins"] || {};
|
|
5204
5241
|
window["concorde-mixins"] = {
|
|
5205
5242
|
Fetcher: wr,
|
|
@@ -5214,9 +5251,9 @@ window["concorde-mixins"] = {
|
|
|
5214
5251
|
* Copyright 2020 Google LLC
|
|
5215
5252
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5216
5253
|
*/
|
|
5217
|
-
const Ot =
|
|
5254
|
+
const Ot = ve(class extends Oe {
|
|
5218
5255
|
constructor(r) {
|
|
5219
|
-
if (super(r), r.type !==
|
|
5256
|
+
if (super(r), r.type !== be.CHILD)
|
|
5220
5257
|
throw Error("templateContent can only be used in child bindings");
|
|
5221
5258
|
}
|
|
5222
5259
|
render(r) {
|
|
@@ -5497,7 +5534,7 @@ let Gi = class extends Y(y) {
|
|
|
5497
5534
|
Gi = In([
|
|
5498
5535
|
_(zn)
|
|
5499
5536
|
], Gi);
|
|
5500
|
-
var Rn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor,
|
|
5537
|
+
var Rn = Object.defineProperty, Fn = Object.getOwnPropertyDescriptor, ye = (r, t, s, i) => {
|
|
5501
5538
|
for (var e = i > 1 ? void 0 : i ? Fn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5502
5539
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5503
5540
|
return i && e && Rn(t, s, e), e;
|
|
@@ -5598,25 +5635,25 @@ let qt = class extends pi(Y(Qe(y))) {
|
|
|
5598
5635
|
`;
|
|
5599
5636
|
}
|
|
5600
5637
|
};
|
|
5601
|
-
|
|
5638
|
+
ye([
|
|
5602
5639
|
a({ type: Object })
|
|
5603
5640
|
], qt.prototype, "itemPropertyMap", 2);
|
|
5604
|
-
|
|
5641
|
+
ye([
|
|
5605
5642
|
a({ type: String })
|
|
5606
5643
|
], qt.prototype, "templateKey", 2);
|
|
5607
|
-
|
|
5644
|
+
ye([
|
|
5608
5645
|
a({ type: String })
|
|
5609
5646
|
], qt.prototype, "idKey", 2);
|
|
5610
|
-
|
|
5647
|
+
ye([
|
|
5611
5648
|
a()
|
|
5612
5649
|
], qt.prototype, "loader", 2);
|
|
5613
|
-
|
|
5650
|
+
ye([
|
|
5614
5651
|
a()
|
|
5615
5652
|
], qt.prototype, "limit", 2);
|
|
5616
|
-
|
|
5653
|
+
ye([
|
|
5617
5654
|
a()
|
|
5618
5655
|
], qt.prototype, "offset", 2);
|
|
5619
|
-
qt =
|
|
5656
|
+
qt = ye([
|
|
5620
5657
|
_(Un)
|
|
5621
5658
|
], qt);
|
|
5622
5659
|
/**
|
|
@@ -5672,7 +5709,7 @@ let ot = class extends Y(y) {
|
|
|
5672
5709
|
async connectedCallback() {
|
|
5673
5710
|
this.instanceId = ot.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
5674
5711
|
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 =
|
|
5712
|
+
), 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
5713
|
this.querySelectorAll("template")
|
|
5677
5714
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
5678
5715
|
}
|
|
@@ -5805,7 +5842,7 @@ bt([
|
|
|
5805
5842
|
ot = bt([
|
|
5806
5843
|
_(qn)
|
|
5807
5844
|
], ot);
|
|
5808
|
-
var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor,
|
|
5845
|
+
var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, ke = (r, t, s, i) => {
|
|
5809
5846
|
for (var e = i > 1 ? void 0 : i ? Kn(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
5810
5847
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
5811
5848
|
return i && e && Wn(t, s, e), e;
|
|
@@ -5818,10 +5855,10 @@ let Wt = class extends Y(y) {
|
|
|
5818
5855
|
connectedCallback() {
|
|
5819
5856
|
this.hasAttribute("onClick") && this.addEventListener("click", () => this.submit()), this.hasAttribute("onEnterKey") && this.addEventListener("keydown", (r) => {
|
|
5820
5857
|
r.key === "Enter" && this.submit();
|
|
5821
|
-
}), super.connectedCallback(), this.api = new
|
|
5858
|
+
}), super.connectedCallback(), this.api = new Ae(this.getApiConfiguration());
|
|
5822
5859
|
}
|
|
5823
5860
|
submitNativeForm() {
|
|
5824
|
-
const r =
|
|
5861
|
+
const r = he.getClosestForm(this);
|
|
5825
5862
|
if (!r)
|
|
5826
5863
|
return;
|
|
5827
5864
|
const t = this.getAncestorAttributeValue("formDataProvider"), s = N.get(t).get();
|
|
@@ -5936,22 +5973,22 @@ Wt.styles = P`
|
|
|
5936
5973
|
user-select: none;
|
|
5937
5974
|
}
|
|
5938
5975
|
`;
|
|
5939
|
-
|
|
5976
|
+
ke([
|
|
5940
5977
|
a({ type: String })
|
|
5941
5978
|
], Wt.prototype, "submitResultKey", 2);
|
|
5942
|
-
|
|
5979
|
+
ke([
|
|
5943
5980
|
a({ type: Boolean })
|
|
5944
5981
|
], Wt.prototype, "disabled", 2);
|
|
5945
|
-
|
|
5982
|
+
ke([
|
|
5946
5983
|
a({ type: String })
|
|
5947
5984
|
], Wt.prototype, "endPoint", 2);
|
|
5948
|
-
|
|
5985
|
+
ke([
|
|
5949
5986
|
a()
|
|
5950
5987
|
], Wt.prototype, "name", 2);
|
|
5951
|
-
|
|
5988
|
+
ke([
|
|
5952
5989
|
a()
|
|
5953
5990
|
], Wt.prototype, "value", 2);
|
|
5954
|
-
Wt =
|
|
5991
|
+
Wt = ke([
|
|
5955
5992
|
_(Zn)
|
|
5956
5993
|
], Wt);
|
|
5957
5994
|
var Gn = Object.defineProperty, Yn = Object.getOwnPropertyDescriptor, gi = (r, t, s, i) => {
|
|
@@ -6500,10 +6537,10 @@ let ws = class extends wr(Qt(y)) {
|
|
|
6500
6537
|
if (this.sduiDescriptor) {
|
|
6501
6538
|
if (this.sduiDescriptor.js)
|
|
6502
6539
|
for (const r of this.sduiDescriptor.js)
|
|
6503
|
-
|
|
6540
|
+
he.loadJS(r);
|
|
6504
6541
|
if (this.sduiDescriptor.css)
|
|
6505
6542
|
for (const r of this.sduiDescriptor.css)
|
|
6506
|
-
|
|
6543
|
+
he.loadCSS(r);
|
|
6507
6544
|
}
|
|
6508
6545
|
}
|
|
6509
6546
|
/**
|
|
@@ -6724,7 +6761,7 @@ var Ba = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, ss = (r, t
|
|
|
6724
6761
|
return i && e && Ba(t, s, e), e;
|
|
6725
6762
|
};
|
|
6726
6763
|
const qa = "sonic-badge";
|
|
6727
|
-
let
|
|
6764
|
+
let pe = class extends y {
|
|
6728
6765
|
constructor() {
|
|
6729
6766
|
super(...arguments), this.type = "default", this.variant = "default", this.ellipsis = !1;
|
|
6730
6767
|
}
|
|
@@ -6736,7 +6773,7 @@ let de = class extends y {
|
|
|
6736
6773
|
`;
|
|
6737
6774
|
}
|
|
6738
6775
|
};
|
|
6739
|
-
|
|
6776
|
+
pe.styles = [
|
|
6740
6777
|
Lt,
|
|
6741
6778
|
P`
|
|
6742
6779
|
:host {
|
|
@@ -6888,19 +6925,19 @@ de.styles = [
|
|
|
6888
6925
|
];
|
|
6889
6926
|
ss([
|
|
6890
6927
|
a({ type: String, reflect: !0 })
|
|
6891
|
-
],
|
|
6928
|
+
], pe.prototype, "type", 2);
|
|
6892
6929
|
ss([
|
|
6893
6930
|
a({ type: String, reflect: !0 })
|
|
6894
|
-
],
|
|
6931
|
+
], pe.prototype, "variant", 2);
|
|
6895
6932
|
ss([
|
|
6896
6933
|
a({ type: String, reflect: !0 })
|
|
6897
|
-
],
|
|
6934
|
+
], pe.prototype, "size", 2);
|
|
6898
6935
|
ss([
|
|
6899
6936
|
a({ type: Boolean, reflect: !0 })
|
|
6900
|
-
],
|
|
6901
|
-
|
|
6937
|
+
], pe.prototype, "ellipsis", 2);
|
|
6938
|
+
pe = ss([
|
|
6902
6939
|
_(qa)
|
|
6903
|
-
],
|
|
6940
|
+
], pe);
|
|
6904
6941
|
class Wa {
|
|
6905
6942
|
static fixBlankLink(t) {
|
|
6906
6943
|
const i = typeof require > "u" || typeof process != "object" ? null : require("electron");
|
|
@@ -6909,7 +6946,7 @@ class Wa {
|
|
|
6909
6946
|
});
|
|
6910
6947
|
}
|
|
6911
6948
|
}
|
|
6912
|
-
var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor,
|
|
6949
|
+
var Ka = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Le = (r, t, s, i) => {
|
|
6913
6950
|
for (var e = i > 1 ? void 0 : i ? Za(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6914
6951
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6915
6952
|
return i && e && Ka(t, s, e), e;
|
|
@@ -6971,25 +7008,25 @@ Kt.styles = [
|
|
|
6971
7008
|
}
|
|
6972
7009
|
`
|
|
6973
7010
|
];
|
|
6974
|
-
|
|
7011
|
+
Le([
|
|
6975
7012
|
a({ type: String })
|
|
6976
7013
|
], Kt.prototype, "href", 2);
|
|
6977
|
-
|
|
7014
|
+
Le([
|
|
6978
7015
|
a({ type: String, attribute: "data-aria-label" })
|
|
6979
7016
|
], Kt.prototype, "ariaLabel", 2);
|
|
6980
|
-
|
|
7017
|
+
Le([
|
|
6981
7018
|
a({ type: String })
|
|
6982
7019
|
], Kt.prototype, "autoActive", 2);
|
|
6983
|
-
|
|
7020
|
+
Le([
|
|
6984
7021
|
a({ type: String })
|
|
6985
7022
|
], Kt.prototype, "target", 1);
|
|
6986
|
-
|
|
7023
|
+
Le([
|
|
6987
7024
|
a({ type: Boolean })
|
|
6988
7025
|
], Kt.prototype, "pushState", 2);
|
|
6989
|
-
Kt =
|
|
7026
|
+
Kt = Le([
|
|
6990
7027
|
_(Ga)
|
|
6991
7028
|
], Kt);
|
|
6992
|
-
var Ya = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor,
|
|
7029
|
+
var Ya = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, Ee = (r, t, s, i) => {
|
|
6993
7030
|
for (var e = i > 1 ? void 0 : i ? Qa(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
6994
7031
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
6995
7032
|
return i && e && Ya(t, s, e), e;
|
|
@@ -7121,22 +7158,22 @@ Zt.styles = [
|
|
|
7121
7158
|
}
|
|
7122
7159
|
`
|
|
7123
7160
|
];
|
|
7124
|
-
|
|
7161
|
+
Ee([
|
|
7125
7162
|
a({ type: Number })
|
|
7126
7163
|
], Zt.prototype, "value", 2);
|
|
7127
|
-
|
|
7164
|
+
Ee([
|
|
7128
7165
|
a({ type: Number })
|
|
7129
7166
|
], Zt.prototype, "max", 2);
|
|
7130
|
-
|
|
7167
|
+
Ee([
|
|
7131
7168
|
a({ type: Boolean })
|
|
7132
7169
|
], Zt.prototype, "invert", 2);
|
|
7133
|
-
|
|
7170
|
+
Ee([
|
|
7134
7171
|
a({ type: String, reflect: !0 })
|
|
7135
7172
|
], Zt.prototype, "type", 2);
|
|
7136
|
-
|
|
7173
|
+
Ee([
|
|
7137
7174
|
a({ type: String, reflect: !0 })
|
|
7138
7175
|
], Zt.prototype, "size", 2);
|
|
7139
|
-
Zt =
|
|
7176
|
+
Zt = Ee([
|
|
7140
7177
|
_(Ja)
|
|
7141
7178
|
], Zt);
|
|
7142
7179
|
const Xa = P`
|
|
@@ -7526,10 +7563,10 @@ const Xa = P`
|
|
|
7526
7563
|
* Copyright 2018 Google LLC
|
|
7527
7564
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
7528
7565
|
*/
|
|
7529
|
-
const yi =
|
|
7566
|
+
const yi = ve(class extends Oe {
|
|
7530
7567
|
constructor(r) {
|
|
7531
7568
|
var t;
|
|
7532
|
-
if (super(r), r.type !==
|
|
7569
|
+
if (super(r), r.type !== be.ATTRIBUTE || r.name !== "class" || ((t = r.strings) == null ? void 0 : t.length) > 2)
|
|
7533
7570
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
7534
7571
|
}
|
|
7535
7572
|
render(r) {
|
|
@@ -7559,7 +7596,7 @@ var tl = Object.defineProperty, el = Object.getOwnPropertyDescriptor, B = (r, t,
|
|
|
7559
7596
|
return i && e && tl(t, s, e), e;
|
|
7560
7597
|
};
|
|
7561
7598
|
const sl = "sonic-input";
|
|
7562
|
-
let F = class extends Os(
|
|
7599
|
+
let F = class extends Os(De(Y(y))) {
|
|
7563
7600
|
constructor() {
|
|
7564
7601
|
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
7602
|
}
|
|
@@ -7762,7 +7799,7 @@ B([
|
|
|
7762
7799
|
lt({ slot: "prefix", flatten: !0 })
|
|
7763
7800
|
], F.prototype, "slotPrefixNodes", 2);
|
|
7764
7801
|
B([
|
|
7765
|
-
|
|
7802
|
+
ge("input")
|
|
7766
7803
|
], F.prototype, "input", 2);
|
|
7767
7804
|
B([
|
|
7768
7805
|
M()
|
|
@@ -7957,10 +7994,10 @@ Jt([
|
|
|
7957
7994
|
M()
|
|
7958
7995
|
], it.prototype, "open", 2);
|
|
7959
7996
|
Jt([
|
|
7960
|
-
|
|
7997
|
+
ge("slot:not([name=content])")
|
|
7961
7998
|
], it.prototype, "popBtn", 2);
|
|
7962
7999
|
Jt([
|
|
7963
|
-
|
|
8000
|
+
ge("slot[name=content]")
|
|
7964
8001
|
], it.prototype, "popContent", 2);
|
|
7965
8002
|
Jt([
|
|
7966
8003
|
a({ type: Boolean })
|
|
@@ -8320,7 +8357,7 @@ ht([
|
|
|
8320
8357
|
nt = ht([
|
|
8321
8358
|
_(fl)
|
|
8322
8359
|
], nt);
|
|
8323
|
-
var gl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor,
|
|
8360
|
+
var gl = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, we = (r, t, s, i) => {
|
|
8324
8361
|
for (var e = i > 1 ? void 0 : i ? ml(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8325
8362
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
8326
8363
|
return i && e && gl(t, s, e), e;
|
|
@@ -8351,25 +8388,25 @@ let Gt = class extends Qt(y) {
|
|
|
8351
8388
|
`;
|
|
8352
8389
|
}
|
|
8353
8390
|
};
|
|
8354
|
-
|
|
8391
|
+
we([
|
|
8355
8392
|
a()
|
|
8356
8393
|
], Gt.prototype, "name", 2);
|
|
8357
|
-
|
|
8394
|
+
we([
|
|
8358
8395
|
a()
|
|
8359
8396
|
], Gt.prototype, "sameValueAs", 2);
|
|
8360
|
-
|
|
8397
|
+
we([
|
|
8361
8398
|
a()
|
|
8362
8399
|
], Gt.prototype, "descriptionWhenEqual", 2);
|
|
8363
|
-
|
|
8400
|
+
we([
|
|
8364
8401
|
a()
|
|
8365
8402
|
], Gt.prototype, "descriptionWhenNotEqual", 2);
|
|
8366
|
-
|
|
8403
|
+
we([
|
|
8367
8404
|
M()
|
|
8368
8405
|
], Gt.prototype, "areEqual", 2);
|
|
8369
|
-
|
|
8406
|
+
we([
|
|
8370
8407
|
M()
|
|
8371
8408
|
], Gt.prototype, "hasNoChar", 2);
|
|
8372
|
-
Gt =
|
|
8409
|
+
Gt = we([
|
|
8373
8410
|
_(bl)
|
|
8374
8411
|
], Gt);
|
|
8375
8412
|
var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, Ut = (r, t, s, i) => {
|
|
@@ -8379,7 +8416,7 @@ var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, Ut = (r, t
|
|
|
8379
8416
|
};
|
|
8380
8417
|
const wl = "sonic-checkbox";
|
|
8381
8418
|
let mt = class extends di(
|
|
8382
|
-
Os(
|
|
8419
|
+
Os(De(Y(y)))
|
|
8383
8420
|
) {
|
|
8384
8421
|
constructor() {
|
|
8385
8422
|
super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
@@ -8627,7 +8664,7 @@ var Cl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, Q = (r, t,
|
|
|
8627
8664
|
return i && e && Cl(t, s, e), e;
|
|
8628
8665
|
};
|
|
8629
8666
|
const Sl = "sonic-select";
|
|
8630
|
-
let K = class extends
|
|
8667
|
+
let K = class extends De(Y(y)) {
|
|
8631
8668
|
constructor() {
|
|
8632
8669
|
super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
|
|
8633
8670
|
const r = this.querySelectorAll(
|
|
@@ -8881,7 +8918,7 @@ var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, ut = (r, t
|
|
|
8881
8918
|
return i && e && Ol(t, s, e), e;
|
|
8882
8919
|
};
|
|
8883
8920
|
const kl = "sonic-textarea";
|
|
8884
|
-
let at = class extends Os(
|
|
8921
|
+
let at = class extends Os(De(Y(y))) {
|
|
8885
8922
|
constructor() {
|
|
8886
8923
|
super(...arguments), this.size = "", this.readonly = !1, this.hasDescription = !1, this.hasLabel = !1;
|
|
8887
8924
|
}
|
|
@@ -9040,7 +9077,7 @@ Zs.styles = [
|
|
|
9040
9077
|
Zs = Nl([
|
|
9041
9078
|
_("sonic-legend-description")
|
|
9042
9079
|
], Zs);
|
|
9043
|
-
var Tl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor,
|
|
9080
|
+
var Tl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, _e = (r, t, s, i) => {
|
|
9044
9081
|
for (var e = i > 1 ? void 0 : i ? jl(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
9045
9082
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
9046
9083
|
return i && e && Tl(t, s, e), e;
|
|
@@ -9115,25 +9152,25 @@ Rt.styles = [
|
|
|
9115
9152
|
}
|
|
9116
9153
|
`
|
|
9117
9154
|
];
|
|
9118
|
-
|
|
9155
|
+
_e([
|
|
9119
9156
|
a({ type: Boolean })
|
|
9120
9157
|
], Rt.prototype, "forceAutoFill", 2);
|
|
9121
|
-
|
|
9158
|
+
_e([
|
|
9122
9159
|
a()
|
|
9123
9160
|
], Rt.prototype, "description", 1);
|
|
9124
|
-
|
|
9161
|
+
_e([
|
|
9125
9162
|
a()
|
|
9126
9163
|
], Rt.prototype, "label", 1);
|
|
9127
|
-
|
|
9164
|
+
_e([
|
|
9128
9165
|
a({ type: String })
|
|
9129
9166
|
], Rt.prototype, "iconName", 2);
|
|
9130
|
-
|
|
9167
|
+
_e([
|
|
9131
9168
|
a({ type: String })
|
|
9132
9169
|
], Rt.prototype, "iconLibrary", 2);
|
|
9133
|
-
|
|
9170
|
+
_e([
|
|
9134
9171
|
a({ type: String })
|
|
9135
9172
|
], Rt.prototype, "iconPrefix", 2);
|
|
9136
|
-
Rt =
|
|
9173
|
+
Rt = _e([
|
|
9137
9174
|
_(Ml)
|
|
9138
9175
|
], Rt);
|
|
9139
9176
|
var Il = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, Nt = (r, t, s, i) => {
|
|
@@ -9303,7 +9340,7 @@ We.styles = [
|
|
|
9303
9340
|
`
|
|
9304
9341
|
];
|
|
9305
9342
|
wi([
|
|
9306
|
-
|
|
9343
|
+
me({ flatten: !0 })
|
|
9307
9344
|
], We.prototype, "slottedElements", 2);
|
|
9308
9345
|
wi([
|
|
9309
9346
|
a({ type: Boolean })
|
|
@@ -9779,13 +9816,13 @@ vt([
|
|
|
9779
9816
|
a({ type: String })
|
|
9780
9817
|
], ct.prototype, "minWidth", 2);
|
|
9781
9818
|
vt([
|
|
9782
|
-
|
|
9819
|
+
ge("menu")
|
|
9783
9820
|
], ct.prototype, "menu", 2);
|
|
9784
9821
|
vt([
|
|
9785
|
-
|
|
9822
|
+
me({ selector: "sonic-menu-item" })
|
|
9786
9823
|
], ct.prototype, "menuChildren", 2);
|
|
9787
9824
|
vt([
|
|
9788
|
-
|
|
9825
|
+
me({ slot: "more", selector: "*" })
|
|
9789
9826
|
], ct.prototype, "moreElements", 2);
|
|
9790
9827
|
vt([
|
|
9791
9828
|
M()
|
|
@@ -9805,7 +9842,10 @@ let xs = class extends y {
|
|
|
9805
9842
|
(t = this.buttons) == null || t.forEach((s) => {
|
|
9806
9843
|
s.addEventListener("click", () => {
|
|
9807
9844
|
if (s.getAttribute("hideModal") != "false") {
|
|
9808
|
-
const i =
|
|
9845
|
+
const i = he.getClosestElement(
|
|
9846
|
+
this,
|
|
9847
|
+
"sonic-modal"
|
|
9848
|
+
);
|
|
9809
9849
|
i == null || i.hide();
|
|
9810
9850
|
}
|
|
9811
9851
|
});
|
|
@@ -9826,7 +9866,7 @@ xs.styles = [
|
|
|
9826
9866
|
`
|
|
9827
9867
|
];
|
|
9828
9868
|
Or([
|
|
9829
|
-
|
|
9869
|
+
me({ selector: "sonic-button" })
|
|
9830
9870
|
], xs.prototype, "buttons", 2);
|
|
9831
9871
|
xs = Or([
|
|
9832
9872
|
_(ic)
|
|
@@ -10239,13 +10279,13 @@ tt([
|
|
|
10239
10279
|
a({ type: Boolean, reflect: !0 })
|
|
10240
10280
|
], R.prototype, "visible", 2);
|
|
10241
10281
|
tt([
|
|
10242
|
-
|
|
10282
|
+
ge(".modal-wrapper")
|
|
10243
10283
|
], R.prototype, "modalWrapper", 2);
|
|
10244
10284
|
tt([
|
|
10245
|
-
|
|
10285
|
+
ge(".modal")
|
|
10246
10286
|
], R.prototype, "modalElement", 2);
|
|
10247
10287
|
tt([
|
|
10248
|
-
|
|
10288
|
+
me({ selector: "sonic-modal-close" })
|
|
10249
10289
|
], R.prototype, "closeBtn", 2);
|
|
10250
10290
|
R = tt([
|
|
10251
10291
|
_(kr)
|
|
@@ -10453,7 +10493,7 @@ var Oc = Object.defineProperty, Dc = Object.getOwnPropertyDescriptor, is = (r, t
|
|
|
10453
10493
|
return i && e && Oc(t, s, e), e;
|
|
10454
10494
|
};
|
|
10455
10495
|
const kc = "sonic-tooltip";
|
|
10456
|
-
let
|
|
10496
|
+
let ue = class extends y {
|
|
10457
10497
|
constructor() {
|
|
10458
10498
|
super(...arguments), this.label = "", this.disabled = !1, this.focusable = !1;
|
|
10459
10499
|
}
|
|
@@ -10470,7 +10510,7 @@ let pe = class extends y {
|
|
|
10470
10510
|
</div>`;
|
|
10471
10511
|
}
|
|
10472
10512
|
};
|
|
10473
|
-
|
|
10513
|
+
ue.styles = [
|
|
10474
10514
|
P`
|
|
10475
10515
|
:host {
|
|
10476
10516
|
position: relative;
|
|
@@ -10574,19 +10614,19 @@ pe.styles = [
|
|
|
10574
10614
|
];
|
|
10575
10615
|
is([
|
|
10576
10616
|
a({ type: String })
|
|
10577
|
-
],
|
|
10617
|
+
], ue.prototype, "label", 2);
|
|
10578
10618
|
is([
|
|
10579
10619
|
a({ type: String, reflect: !0 })
|
|
10580
|
-
],
|
|
10620
|
+
], ue.prototype, "placement", 2);
|
|
10581
10621
|
is([
|
|
10582
10622
|
a({ type: Boolean })
|
|
10583
|
-
],
|
|
10623
|
+
], ue.prototype, "disabled", 2);
|
|
10584
10624
|
is([
|
|
10585
10625
|
a({ type: Boolean })
|
|
10586
|
-
],
|
|
10587
|
-
|
|
10626
|
+
], ue.prototype, "focusable", 2);
|
|
10627
|
+
ue = is([
|
|
10588
10628
|
_(kc)
|
|
10589
|
-
],
|
|
10629
|
+
], ue);
|
|
10590
10630
|
var Lc = Object.defineProperty, Ec = Object.getOwnPropertyDescriptor, Mt = (r, t, s, i) => {
|
|
10591
10631
|
for (var e = i > 1 ? void 0 : i ? Ec(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
10592
10632
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
@@ -10740,7 +10780,7 @@ Mt([
|
|
|
10740
10780
|
lt({ flatten: !0 })
|
|
10741
10781
|
], Pt.prototype, "slotNodes", 2);
|
|
10742
10782
|
Mt([
|
|
10743
|
-
|
|
10783
|
+
ge("div")
|
|
10744
10784
|
], Pt.prototype, "divider", 2);
|
|
10745
10785
|
Mt([
|
|
10746
10786
|
a({ type: String })
|
|
@@ -11071,7 +11111,7 @@ var Jc = Object.defineProperty, Xc = Object.getOwnPropertyDescriptor, rs = (r, t
|
|
|
11071
11111
|
return i && e && Jc(t, s, e), e;
|
|
11072
11112
|
};
|
|
11073
11113
|
const th = "sonic-tr";
|
|
11074
|
-
let
|
|
11114
|
+
let fe = class extends Y(y) {
|
|
11075
11115
|
constructor() {
|
|
11076
11116
|
super(...arguments), this._metadata_ = {};
|
|
11077
11117
|
}
|
|
@@ -11082,7 +11122,7 @@ let ue = class extends Y(y) {
|
|
|
11082
11122
|
return g`<slot></slot>`;
|
|
11083
11123
|
}
|
|
11084
11124
|
};
|
|
11085
|
-
|
|
11125
|
+
fe.styles = [
|
|
11086
11126
|
Pi,
|
|
11087
11127
|
P`
|
|
11088
11128
|
:host {
|
|
@@ -11106,20 +11146,20 @@ ue.styles = [
|
|
|
11106
11146
|
];
|
|
11107
11147
|
rs([
|
|
11108
11148
|
a({ type: Object })
|
|
11109
|
-
],
|
|
11149
|
+
], fe.prototype, "_metadata_", 2);
|
|
11110
11150
|
rs([
|
|
11111
11151
|
a({ type: Boolean, reflect: !0 })
|
|
11112
|
-
],
|
|
11152
|
+
], fe.prototype, "even", 2);
|
|
11113
11153
|
rs([
|
|
11114
11154
|
a({ type: Boolean, reflect: !0 })
|
|
11115
|
-
],
|
|
11155
|
+
], fe.prototype, "odd", 2);
|
|
11116
11156
|
rs([
|
|
11117
11157
|
a({ type: Boolean, reflect: !0 })
|
|
11118
|
-
],
|
|
11119
|
-
|
|
11158
|
+
], fe.prototype, "last", 2);
|
|
11159
|
+
fe = rs([
|
|
11120
11160
|
_(th)
|
|
11121
|
-
],
|
|
11122
|
-
var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor,
|
|
11161
|
+
], fe);
|
|
11162
|
+
var eh = Object.defineProperty, sh = Object.getOwnPropertyDescriptor, xe = (r, t, s, i) => {
|
|
11123
11163
|
for (var e = i > 1 ? void 0 : i ? sh(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11124
11164
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11125
11165
|
return i && e && eh(t, s, e), e;
|
|
@@ -11164,25 +11204,25 @@ Ft.styles = [
|
|
|
11164
11204
|
}
|
|
11165
11205
|
`
|
|
11166
11206
|
];
|
|
11167
|
-
|
|
11207
|
+
xe([
|
|
11168
11208
|
a({ type: Number })
|
|
11169
11209
|
], Ft.prototype, "colSpan", 2);
|
|
11170
|
-
|
|
11210
|
+
xe([
|
|
11171
11211
|
a({ type: Number })
|
|
11172
11212
|
], Ft.prototype, "rowSpan", 2);
|
|
11173
|
-
|
|
11213
|
+
xe([
|
|
11174
11214
|
a({ type: String })
|
|
11175
11215
|
], Ft.prototype, "align", 2);
|
|
11176
|
-
|
|
11216
|
+
xe([
|
|
11177
11217
|
a({ type: String })
|
|
11178
11218
|
], Ft.prototype, "minWidth", 2);
|
|
11179
|
-
|
|
11219
|
+
xe([
|
|
11180
11220
|
a({ type: String })
|
|
11181
11221
|
], Ft.prototype, "maxWidth", 2);
|
|
11182
|
-
|
|
11222
|
+
xe([
|
|
11183
11223
|
a({ type: String })
|
|
11184
11224
|
], Ft.prototype, "width", 2);
|
|
11185
|
-
Ft =
|
|
11225
|
+
Ft = xe([
|
|
11186
11226
|
_(ih)
|
|
11187
11227
|
], Ft);
|
|
11188
11228
|
var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, te = (r, t, s, i) => {
|
|
@@ -11349,7 +11389,7 @@ ii.styles = [
|
|
|
11349
11389
|
ii = _h([
|
|
11350
11390
|
_(xh)
|
|
11351
11391
|
], ii);
|
|
11352
|
-
var Ph = Object.defineProperty, $h = Object.getOwnPropertyDescriptor,
|
|
11392
|
+
var Ph = Object.defineProperty, $h = Object.getOwnPropertyDescriptor, Ne = (r, t, s, i) => {
|
|
11353
11393
|
for (var e = i > 1 ? void 0 : i ? $h(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
11354
11394
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
11355
11395
|
return i && e && Ph(t, s, e), e;
|
|
@@ -11418,22 +11458,22 @@ Yt.styles = [
|
|
|
11418
11458
|
}
|
|
11419
11459
|
`
|
|
11420
11460
|
];
|
|
11421
|
-
|
|
11461
|
+
Ne([
|
|
11422
11462
|
a({ type: String, reflect: !0 })
|
|
11423
11463
|
], Yt.prototype, "size", 2);
|
|
11424
|
-
|
|
11464
|
+
Ne([
|
|
11425
11465
|
a({ type: Boolean, reflect: !0 })
|
|
11426
11466
|
], Yt.prototype, "bordered", 2);
|
|
11427
|
-
|
|
11467
|
+
Ne([
|
|
11428
11468
|
a({ type: Boolean, reflect: !0 })
|
|
11429
11469
|
], Yt.prototype, "rounded", 2);
|
|
11430
|
-
|
|
11470
|
+
Ne([
|
|
11431
11471
|
a({ type: Boolean, reflect: !0 })
|
|
11432
11472
|
], Yt.prototype, "noCustomScroll", 2);
|
|
11433
|
-
|
|
11473
|
+
Ne([
|
|
11434
11474
|
a({ type: String })
|
|
11435
11475
|
], Yt.prototype, "maxHeight", 2);
|
|
11436
|
-
Yt =
|
|
11476
|
+
Yt = Ne([
|
|
11437
11477
|
_(Ch)
|
|
11438
11478
|
], Yt);
|
|
11439
11479
|
var Ah = Object.defineProperty, Sh = Object.getOwnPropertyDescriptor, Ls = (r, t, s, i) => {
|