@supersoniks/concorde 3.1.78 → 3.1.79
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 -1
- package/concorde-core.bundle.js +51 -50
- package/concorde-core.es.js +193 -172
- package/dist/concorde-core.bundle.js +51 -50
- package/dist/concorde-core.es.js +193 -172
- package/package.json +1 -1
- package/src/core/components/ui/form/input/input.ts +26 -0
- package/src/core/components/ui/form/input-autocomplete/input-autocomplete.ts +19 -17
- package/src/core/mixins/FormElement.ts +3 -1
- package/src/tsconfig.tsbuildinfo +1 -1
package/concorde-core.es.js
CHANGED
|
@@ -199,11 +199,11 @@ let Ii = (Dt = class {
|
|
|
199
199
|
_publishInternalMutation_(t = !1) {
|
|
200
200
|
if (this._mutationListeners_.forEach(
|
|
201
201
|
(s) => s()
|
|
202
|
-
), this._is_savable_ && !
|
|
203
|
-
|
|
204
|
-
const s =
|
|
202
|
+
), this._is_savable_ && !T.changed) {
|
|
203
|
+
T.changed = !0, T.saveId++;
|
|
204
|
+
const s = T.saveId;
|
|
205
205
|
setTimeout(
|
|
206
|
-
() =>
|
|
206
|
+
() => T.getInstance().saveToLocalStorage(s),
|
|
207
207
|
1e3
|
|
208
208
|
);
|
|
209
209
|
}
|
|
@@ -378,7 +378,7 @@ let Ii = (Dt = class {
|
|
|
378
378
|
}
|
|
379
379
|
get() {
|
|
380
380
|
if (this._cachedGet_ !== void 0) return this._cachedGet_;
|
|
381
|
-
if (
|
|
381
|
+
if (T.modifiedCollectore.length > 0 && T.modifiedCollectore[0].add(this), Object.prototype.hasOwnProperty.call(this._value_, "__value")) {
|
|
382
382
|
const t = this._value_.__value;
|
|
383
383
|
return this._cachedGet_ = t ?? null;
|
|
384
384
|
}
|
|
@@ -392,7 +392,7 @@ let Ii = (Dt = class {
|
|
|
392
392
|
}
|
|
393
393
|
}, Dt.instances = /* @__PURE__ */ new Map(), Dt.instancesCounter = 0, Dt);
|
|
394
394
|
var k;
|
|
395
|
-
let
|
|
395
|
+
let T = (k = class {
|
|
396
396
|
constructor() {
|
|
397
397
|
if (this.enabledLocaStorageProxies = [], this.publishers = /* @__PURE__ */ new Map(), this.localStorageData = {}, this.isLocalStrorageReady = null, this.initialisedData = [], k.instance != null) throw "Singleton / use getInstance";
|
|
398
398
|
k.instance = this, this.isLocalStrorageReady = this.cleanStorageData();
|
|
@@ -559,10 +559,10 @@ let N = (k = class {
|
|
|
559
559
|
const h = await new Response(a.readable).arrayBuffer();
|
|
560
560
|
return new TextDecoder().decode(h);
|
|
561
561
|
}
|
|
562
|
-
}, k.buildDate = "
|
|
562
|
+
}, k.buildDate = "Tue Jun 17 2025 09:37:17 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);
|
|
563
563
|
if (typeof window < "u") {
|
|
564
564
|
const r = window;
|
|
565
|
-
r[Ds + "PublisherManager"] = r[Ds + "PublisherManager"] ||
|
|
565
|
+
r[Ds + "PublisherManager"] = r[Ds + "PublisherManager"] || T;
|
|
566
566
|
}
|
|
567
567
|
const jo = /* @__PURE__ */ new Set([
|
|
568
568
|
"invalidate",
|
|
@@ -712,7 +712,7 @@ try {
|
|
|
712
712
|
} catch {
|
|
713
713
|
}
|
|
714
714
|
window.addEventListener("pageshow", (r) => {
|
|
715
|
-
r.persisted &&
|
|
715
|
+
r.persisted && T.getInstance().invalidateAll();
|
|
716
716
|
});
|
|
717
717
|
var L;
|
|
718
718
|
let qs = (L = class {
|
|
@@ -826,7 +826,7 @@ let qs = (L = class {
|
|
|
826
826
|
"dataProvider"
|
|
827
827
|
);
|
|
828
828
|
if (!s) return;
|
|
829
|
-
const i =
|
|
829
|
+
const i = T.getInstance().get(s), e = L.getDataBindItems(t), o = [];
|
|
830
830
|
e.forEach((n) => {
|
|
831
831
|
const a = n.bindedVariablesDescriptor, c = n.propertyToUpdate;
|
|
832
832
|
for (const h of a.variables) {
|
|
@@ -1276,7 +1276,7 @@ function l(r) {
|
|
|
1276
1276
|
* Copyright 2017 Google LLC
|
|
1277
1277
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1278
1278
|
*/
|
|
1279
|
-
function
|
|
1279
|
+
function E(r) {
|
|
1280
1280
|
return l({ ...r, state: !0, attribute: !1 });
|
|
1281
1281
|
}
|
|
1282
1282
|
/**
|
|
@@ -1721,11 +1721,11 @@ ai == null || ai({ LitElement: x });
|
|
|
1721
1721
|
function Ks(r) {
|
|
1722
1722
|
if (typeof r == "function") {
|
|
1723
1723
|
const t = r;
|
|
1724
|
-
return
|
|
1724
|
+
return T.collectModifiedPublisher(), t(), T.getModifiedPublishers() || /* @__PURE__ */ new Set();
|
|
1725
1725
|
}
|
|
1726
1726
|
if (typeof r == "string") {
|
|
1727
1727
|
const t = r.split("."), s = t.shift() || "";
|
|
1728
|
-
let i =
|
|
1728
|
+
let i = T.get(s);
|
|
1729
1729
|
i = et.traverse(i, t);
|
|
1730
1730
|
const e = /* @__PURE__ */ new Set();
|
|
1731
1731
|
return e.add(i), e;
|
|
@@ -1823,7 +1823,7 @@ const no = Ae(cn), hn = no, dn = no, pn = (r) => {
|
|
|
1823
1823
|
s.method,
|
|
1824
1824
|
s.additionalHeaders
|
|
1825
1825
|
));
|
|
1826
|
-
const n =
|
|
1826
|
+
const n = T.get("sonic-api");
|
|
1827
1827
|
return n.lastResponse = {
|
|
1828
1828
|
http: t,
|
|
1829
1829
|
processed: o
|
|
@@ -1873,7 +1873,7 @@ const no = Ae(cn), hn = no, dn = no, pn = (r) => {
|
|
|
1873
1873
|
*/
|
|
1874
1874
|
async localGet(t, s) {
|
|
1875
1875
|
var p;
|
|
1876
|
-
const i =
|
|
1876
|
+
const i = T.get(t), e = new URLSearchParams(s.split("?")[1] || ""), o = i.get();
|
|
1877
1877
|
let n = [];
|
|
1878
1878
|
Array.isArray(o) ? n = o : n = [o];
|
|
1879
1879
|
const a = [];
|
|
@@ -2103,7 +2103,7 @@ const R = Ae(mi), gi = /* @__PURE__ */ new Map(), vr = (r) => {
|
|
|
2103
2103
|
return this.useUnsafeHTML = s, this.key !== t && (this.key = t, this.isConnected && this.subscribe(t)), _t;
|
|
2104
2104
|
}
|
|
2105
2105
|
static async callApi(t, s, i = !0, e) {
|
|
2106
|
-
if (await
|
|
2106
|
+
if (await T.getInstance().isLocalStrorageReady, B.firstCall) {
|
|
2107
2107
|
B.firstCall = !1, Mi(B.reloadWordings);
|
|
2108
2108
|
const d = Object.keys(B.publisher.get());
|
|
2109
2109
|
for (const p of d)
|
|
@@ -2192,7 +2192,7 @@ const R = Ae(mi), gi = /* @__PURE__ */ new Map(), vr = (r) => {
|
|
|
2192
2192
|
this.key && this.subscribe(this.key);
|
|
2193
2193
|
}
|
|
2194
2194
|
};
|
|
2195
|
-
B.publisher =
|
|
2195
|
+
B.publisher = T.get("sonic-wording", {
|
|
2196
2196
|
localStorageMode: "enabled"
|
|
2197
2197
|
}), B.firstCall = !0, B.versionProviderHandlers = /* @__PURE__ */ new Map();
|
|
2198
2198
|
let ke = B;
|
|
@@ -2332,7 +2332,7 @@ const G = (r, t) => {
|
|
|
2332
2332
|
initPublisher() {
|
|
2333
2333
|
if (!document) return;
|
|
2334
2334
|
this.publisher && (this.publisher.stopTemplateFilling(this), this.publisher.offInternalMutation(this.requestUpdate), this.onAssign && this.publisher.offAssign(this.onAssign));
|
|
2335
|
-
const n =
|
|
2335
|
+
const n = T.getInstance();
|
|
2336
2336
|
this.dataProvider || (this.dataProvider = this.getAncestorAttributeValue("dataProvider"));
|
|
2337
2337
|
let a = this.dataProvider;
|
|
2338
2338
|
if (!a && this._props && (this.dataProvider = a = "__subscriber__" + e.instanceCounter), a) {
|
|
@@ -2374,7 +2374,7 @@ const G = (r, t) => {
|
|
|
2374
2374
|
], s.prototype, "bindPublisher", 2), Lt([
|
|
2375
2375
|
l()
|
|
2376
2376
|
], s.prototype, "props", 1), Lt([
|
|
2377
|
-
|
|
2377
|
+
E()
|
|
2378
2378
|
], s.prototype, "shouldRenderLazy", 2), s;
|
|
2379
2379
|
};
|
|
2380
2380
|
var _n = Object.defineProperty, wn = (r, t, s, i) => {
|
|
@@ -2565,7 +2565,7 @@ U = Z([
|
|
|
2565
2565
|
$(Pn)
|
|
2566
2566
|
], U);
|
|
2567
2567
|
var t, K;
|
|
2568
|
-
let
|
|
2568
|
+
let lt = (K = class {
|
|
2569
2569
|
static listen() {
|
|
2570
2570
|
var s;
|
|
2571
2571
|
if (!K.listening)
|
|
@@ -2648,7 +2648,7 @@ let at = (K = class {
|
|
|
2648
2648
|
* Copyright 2018 Google LLC
|
|
2649
2649
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2650
2650
|
*/
|
|
2651
|
-
const co = "important", An = " !" + co,
|
|
2651
|
+
const co = "important", An = " !" + co, bt = Ae(class extends je {
|
|
2652
2652
|
constructor(r) {
|
|
2653
2653
|
var t;
|
|
2654
2654
|
if (super(r), r.type !== Ie.ATTRIBUTE || r.name !== "style" || ((t = r.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
@@ -2706,7 +2706,7 @@ const Ps = /* @__PURE__ */ new Map(), Fe = (r) => {
|
|
|
2706
2706
|
this.getAttribute("name") && this.getFormPublisher() && (this.setFormPublisherValue(this.getValueForFormPublisher()), this.setFormValueFromPublisher(this.getFormPublisherValue()));
|
|
2707
2707
|
}
|
|
2708
2708
|
getFormPublisher() {
|
|
2709
|
-
return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ?
|
|
2709
|
+
return this.formDataProvider || (this.formDataProvider = this.getAncestorAttributeValue("formDataProvider")), this.formDataProvider ? T.get(this.formDataProvider) : null;
|
|
2710
2710
|
}
|
|
2711
2711
|
setFormPublisherValue(i) {
|
|
2712
2712
|
const e = this.getFormPublisher();
|
|
@@ -2990,10 +2990,10 @@ var bi = { exports: {} };
|
|
|
2990
2990
|
}, y = function(f) {
|
|
2991
2991
|
return new RegExp(f.toString() + "|").exec("").length - 1;
|
|
2992
2992
|
}, v = function(f, u) {
|
|
2993
|
-
var w, S, O,
|
|
2994
|
-
for (
|
|
2995
|
-
S = f[w], H = u[w], H != null && (
|
|
2996
|
-
return
|
|
2993
|
+
var w, S, O, N, H;
|
|
2994
|
+
for (N = {}, w = -1, O = f.length; ++w < O; )
|
|
2995
|
+
S = f[w], H = u[w], H != null && (N[S] != null ? (Array.isArray(N[S]) || (N[S] = [N[S]]), N[S].push(H)) : N[S] = H);
|
|
2996
|
+
return N;
|
|
2997
2997
|
}, i = {}, i.Result = function(f, u) {
|
|
2998
2998
|
this.value = f, this.rest = u;
|
|
2999
2999
|
}, i.Tagged = function(f, u) {
|
|
@@ -3013,13 +3013,13 @@ var bi = { exports: {} };
|
|
|
3013
3013
|
}, i.sequence = function() {
|
|
3014
3014
|
var f;
|
|
3015
3015
|
return f = 1 <= arguments.length ? s.call(arguments, 0) : [], function(u) {
|
|
3016
|
-
var w, S, O,
|
|
3017
|
-
for (w = -1, S = f.length, W = [],
|
|
3018
|
-
if (O = f[w], H = O(
|
|
3016
|
+
var w, S, O, N, H, W;
|
|
3017
|
+
for (w = -1, S = f.length, W = [], N = u; ++w < S; ) {
|
|
3018
|
+
if (O = f[w], H = O(N), H == null)
|
|
3019
3019
|
return;
|
|
3020
|
-
W.push(H.value),
|
|
3020
|
+
W.push(H.value), N = H.rest;
|
|
3021
3021
|
}
|
|
3022
|
-
return new i.Result(W,
|
|
3022
|
+
return new i.Result(W, N);
|
|
3023
3023
|
};
|
|
3024
3024
|
}, i.pick = function() {
|
|
3025
3025
|
var f, u;
|
|
@@ -3040,8 +3040,8 @@ var bi = { exports: {} };
|
|
|
3040
3040
|
return u == null && (u = f()), u(w);
|
|
3041
3041
|
};
|
|
3042
3042
|
}, i.baseMany = function(f, u, w, S, O) {
|
|
3043
|
-
var
|
|
3044
|
-
for (W = O, Ot = w ? "" : []; !(u != null && (
|
|
3043
|
+
var N, H, W, Ot;
|
|
3044
|
+
for (W = O, Ot = w ? "" : []; !(u != null && (N = u(W), N != null) || (H = f(W), H == null)); )
|
|
3045
3045
|
w ? Ot += H.value : Ot.push(H.value), W = H.rest;
|
|
3046
3046
|
if (!(S && Ot.length === 0))
|
|
3047
3047
|
return new i.Result(Ot, W);
|
|
@@ -3056,10 +3056,10 @@ var bi = { exports: {} };
|
|
|
3056
3056
|
}, i.firstChoice = function() {
|
|
3057
3057
|
var f;
|
|
3058
3058
|
return f = 1 <= arguments.length ? s.call(arguments, 0) : [], function(u) {
|
|
3059
|
-
var w, S, O,
|
|
3059
|
+
var w, S, O, N;
|
|
3060
3060
|
for (w = -1, S = f.length; ++w < S; )
|
|
3061
|
-
if (O = f[w],
|
|
3062
|
-
return
|
|
3061
|
+
if (O = f[w], N = O(u), N != null)
|
|
3062
|
+
return N;
|
|
3063
3063
|
};
|
|
3064
3064
|
}, b = function(f) {
|
|
3065
3065
|
var u;
|
|
@@ -3113,13 +3113,13 @@ var bi = { exports: {} };
|
|
|
3113
3113
|
return n(f.value);
|
|
3114
3114
|
}
|
|
3115
3115
|
}, g = function(f, u, w, S) {
|
|
3116
|
-
var O,
|
|
3116
|
+
var O, N, H, W;
|
|
3117
3117
|
if (S == null && (S = !1), W = f[u], W == null) {
|
|
3118
3118
|
if (S)
|
|
3119
3119
|
throw new Error("no values provided for key `" + u + "`");
|
|
3120
3120
|
return;
|
|
3121
3121
|
}
|
|
3122
|
-
if (O = w[u] || 0,
|
|
3122
|
+
if (O = w[u] || 0, N = Array.isArray(W) ? W.length - 1 : 0, O > N) {
|
|
3123
3123
|
if (S)
|
|
3124
3124
|
throw new Error("too few values provided for key `" + u + "`");
|
|
3125
3125
|
return;
|
|
@@ -3159,7 +3159,7 @@ var bi = { exports: {} };
|
|
|
3159
3159
|
return o(f.value, u, w) ? D(f.value, u, w) : "";
|
|
3160
3160
|
}
|
|
3161
3161
|
}, e = function(f, u) {
|
|
3162
|
-
var w, S, O,
|
|
3162
|
+
var w, S, O, N, H;
|
|
3163
3163
|
if (f instanceof e) {
|
|
3164
3164
|
this.isRegex = f.isRegex, this.regex = f.regex, this.ast = f.ast, this.names = f.names;
|
|
3165
3165
|
return;
|
|
@@ -3188,7 +3188,7 @@ var bi = { exports: {} };
|
|
|
3188
3188
|
optionalSegmentStartChar: (u != null ? u.optionalSegmentStartChar : void 0) || d.optionalSegmentStartChar,
|
|
3189
3189
|
optionalSegmentEndChar: (u != null ? u.optionalSegmentEndChar : void 0) || d.optionalSegmentEndChar,
|
|
3190
3190
|
wildcardChar: (u != null ? u.wildcardChar : void 0) || d.wildcardChar
|
|
3191
|
-
},
|
|
3191
|
+
}, N = b(S), O = N.pattern(f), O == null)
|
|
3192
3192
|
throw new Error("couldn't parse pattern");
|
|
3193
3193
|
if (O.rest !== "")
|
|
3194
3194
|
throw new Error("could only partially parse pattern");
|
|
@@ -3206,7 +3206,7 @@ var bi = { exports: {} };
|
|
|
3206
3206
|
});
|
|
3207
3207
|
})(bi, bi.exports);
|
|
3208
3208
|
var Ln = bi.exports;
|
|
3209
|
-
const qt = /* @__PURE__ */ kn(Ln), En = Io, Nn = On, Tn = qs, Mn = Os, Jt = tt, In =
|
|
3209
|
+
const qt = /* @__PURE__ */ kn(Ln), En = Io, Nn = On, Tn = qs, Mn = Os, Jt = tt, In = lt, ps = et, jn = ts, it = T, Fn = Ee, zn = qt;
|
|
3210
3210
|
window["concorde-utils"] = window["concorde-utils"] || {};
|
|
3211
3211
|
window["concorde-utils"] = {
|
|
3212
3212
|
Utils: En,
|
|
@@ -3422,16 +3422,16 @@ let I = class extends Bi(Fe(G(x))) {
|
|
|
3422
3422
|
set href(r) {
|
|
3423
3423
|
this._href = r;
|
|
3424
3424
|
const t = this._href.toString();
|
|
3425
|
-
t && t.indexOf("http") != 0 ?
|
|
3425
|
+
t && t.indexOf("http") != 0 ? lt.onChange(this) : lt.offChange(this), this.requestUpdate();
|
|
3426
3426
|
}
|
|
3427
3427
|
get href() {
|
|
3428
3428
|
return this._href;
|
|
3429
3429
|
}
|
|
3430
3430
|
handleNavigation(r) {
|
|
3431
|
-
r.preventDefault(),
|
|
3431
|
+
r.preventDefault(), lt.changeFromComponent(this);
|
|
3432
3432
|
}
|
|
3433
3433
|
handleChange(r) {
|
|
3434
|
-
if (!((r == null ? void 0 : r.type) == "click" && this.autoRepeat) && (super.handleChange(), (this.pushState || this.goBack !== null) && (r == null || r.preventDefault(), r == null || r.stopPropagation(),
|
|
3434
|
+
if (!((r == null ? void 0 : r.type) == "click" && this.autoRepeat) && (super.handleChange(), (this.pushState || this.goBack !== null) && (r == null || r.preventDefault(), r == null || r.stopPropagation(), lt.changeFromComponent(this)), this.hasAttribute("reset"))) {
|
|
3435
3435
|
const t = this.getAttribute("reset"), s = t ? it.get(t) : this.getFormPublisher();
|
|
3436
3436
|
s && s.set({});
|
|
3437
3437
|
}
|
|
@@ -3458,10 +3458,10 @@ let I = class extends Bi(Fe(G(x))) {
|
|
|
3458
3458
|
}
|
|
3459
3459
|
}
|
|
3460
3460
|
disconnectedCallback() {
|
|
3461
|
-
|
|
3461
|
+
lt.offChange(this), super.disconnectedCallback();
|
|
3462
3462
|
}
|
|
3463
3463
|
willUpdate(r) {
|
|
3464
|
-
(r.has("href") || r.has("autoActive")) &&
|
|
3464
|
+
(r.has("href") || r.has("autoActive")) && lt.updateComponentActiveState(this), r.has("location") && lt.updateComponentActiveState(this);
|
|
3465
3465
|
}
|
|
3466
3466
|
render() {
|
|
3467
3467
|
const r = {
|
|
@@ -3474,7 +3474,7 @@ let I = class extends Bi(Fe(G(x))) {
|
|
|
3474
3474
|
<button
|
|
3475
3475
|
part="button"
|
|
3476
3476
|
class=${this.hasPrefix || this.hasSuffix ? "has-prefix-or-suffix" : ""}
|
|
3477
|
-
style=${
|
|
3477
|
+
style=${bt(r)}
|
|
3478
3478
|
aria-controls=${A(this.ariaControls)}
|
|
3479
3479
|
aria-expanded=${A(this.sonicAriaExpanded)}
|
|
3480
3480
|
aria-label=${A(this.ariaLabel)}
|
|
@@ -3921,10 +3921,10 @@ q([
|
|
|
3921
3921
|
l({ type: Boolean, reflect: !0 })
|
|
3922
3922
|
], I.prototype, "loading", 2);
|
|
3923
3923
|
q([
|
|
3924
|
-
|
|
3924
|
+
E()
|
|
3925
3925
|
], I.prototype, "hasPrefix", 2);
|
|
3926
3926
|
q([
|
|
3927
|
-
|
|
3927
|
+
E()
|
|
3928
3928
|
], I.prototype, "hasSuffix", 2);
|
|
3929
3929
|
q([
|
|
3930
3930
|
Pe({ flatten: !0, slot: "prefix" })
|
|
@@ -3957,7 +3957,7 @@ q([
|
|
|
3957
3957
|
l({ type: Boolean, attribute: "data-aria-expanded" })
|
|
3958
3958
|
], I.prototype, "sonicAriaExpanded", 2);
|
|
3959
3959
|
q([
|
|
3960
|
-
|
|
3960
|
+
E()
|
|
3961
3961
|
], I.prototype, "location", 2);
|
|
3962
3962
|
I = q([
|
|
3963
3963
|
$(Bn)
|
|
@@ -4731,7 +4731,7 @@ ve.styles = P`
|
|
|
4731
4731
|
}
|
|
4732
4732
|
`;
|
|
4733
4733
|
us([
|
|
4734
|
-
|
|
4734
|
+
E()
|
|
4735
4735
|
], ve.prototype, "iconText", 2);
|
|
4736
4736
|
us([
|
|
4737
4737
|
l({ type: String })
|
|
@@ -5049,7 +5049,7 @@ Ft([
|
|
|
5049
5049
|
l({ type: String })
|
|
5050
5050
|
], xt.prototype, "maxHeight", 2);
|
|
5051
5051
|
Ft([
|
|
5052
|
-
|
|
5052
|
+
E()
|
|
5053
5053
|
], xt.prototype, "visible", 2);
|
|
5054
5054
|
xt = Ft([
|
|
5055
5055
|
$(_a)
|
|
@@ -5346,7 +5346,7 @@ let M = class extends x {
|
|
|
5346
5346
|
zIndex: "10000",
|
|
5347
5347
|
maxWidth: "64ch",
|
|
5348
5348
|
flexDirection: "column-reverse"
|
|
5349
|
-
}), M.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${
|
|
5349
|
+
}), M.handleExistingToastDelegation(), this.toasts ? m`<div aria-live="polite" style=${bt(s)}>
|
|
5350
5350
|
${Ys(
|
|
5351
5351
|
this.toasts,
|
|
5352
5352
|
(i) => i.id,
|
|
@@ -6186,11 +6186,11 @@ let X = class extends G(x) {
|
|
|
6186
6186
|
if (!(o == this.searchHash && !this.isFirstRequest)) {
|
|
6187
6187
|
this.searchHash = o;
|
|
6188
6188
|
for (const a of this.listDataProviders)
|
|
6189
|
-
|
|
6189
|
+
T.delete(a);
|
|
6190
6190
|
this.listDataProviders = [], clearTimeout(this.filterTimeoutId), this.filterTimeoutId = setTimeout(
|
|
6191
6191
|
async () => {
|
|
6192
6192
|
const a = this.resultCount;
|
|
6193
|
-
this.props = null, this.requestId++, this.resultCount = a, await
|
|
6193
|
+
this.props = null, this.requestId++, this.resultCount = a, await T.getInstance().isLocalStrorageReady, window.requestAnimationFrame(() => this.next());
|
|
6194
6194
|
},
|
|
6195
6195
|
this.isFirstRequest ? 0 : this.filterTimeoutMs
|
|
6196
6196
|
), this.isFirstRequest = !1;
|
|
@@ -6200,13 +6200,13 @@ let X = class extends G(x) {
|
|
|
6200
6200
|
disconnectedCallback() {
|
|
6201
6201
|
var r;
|
|
6202
6202
|
for (const t of this.listDataProviders)
|
|
6203
|
-
|
|
6203
|
+
T.delete(t), this.listDataProviders = [];
|
|
6204
6204
|
(r = this.filterPublisher) == null || r.offInternalMutation(this.updateFilteredContent), this.props = null, this.limit = 5, this.offset = 0, this.resultCount = 0, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.nextHadEvent = !1, this.publisher.set({}), super.disconnectedCallback();
|
|
6205
6205
|
}
|
|
6206
6206
|
async connectedCallback() {
|
|
6207
6207
|
this.instanceId = X.instanceCounter++, this.localStorage = this.getAttribute("localStorage") || this.localStorage, this.filterTimeoutMs = parseInt(
|
|
6208
6208
|
this.getAttribute("filterTimeoutMs") || "400"
|
|
6209
|
-
), 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 = Jt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await
|
|
6209
|
+
), 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 = Jt.getAncestorAttributeValue(this.parentElement, "dataProvider") || ""), this.storeScrollPosition(), super.connectedCallback(), this.publisher.set({}), this.key = this.getAttribute("key"), await T.getInstance().isLocalStrorageReady, this.templates || (this.templates = Array.from(
|
|
6210
6210
|
this.querySelectorAll("template")
|
|
6211
6211
|
)), this.lastRequestTime = (/* @__PURE__ */ new Date()).getTime(), this.configFilter();
|
|
6212
6212
|
}
|
|
@@ -6217,7 +6217,7 @@ let X = class extends G(x) {
|
|
|
6217
6217
|
this.next();
|
|
6218
6218
|
return;
|
|
6219
6219
|
}
|
|
6220
|
-
this.filterPublisher =
|
|
6220
|
+
this.filterPublisher = T.getInstance().get(r), (t = this.filterPublisher) == null || t.onInternalMutation(this.updateFilteredContent);
|
|
6221
6221
|
}
|
|
6222
6222
|
storeScrollPosition() {
|
|
6223
6223
|
this.isSafari() && (this.storedScrollX = window.scrollX, this.storedScrollY = window.scrollY);
|
|
@@ -6380,7 +6380,7 @@ let te = class extends G(x) {
|
|
|
6380
6380
|
var b;
|
|
6381
6381
|
if (this.disabled || r instanceof KeyboardEvent && r.key !== "Enter") return;
|
|
6382
6382
|
r instanceof MouseEvent && r.stopPropagation();
|
|
6383
|
-
const t =
|
|
6383
|
+
const t = T.getInstance().get(
|
|
6384
6384
|
this.getAncestorAttributeValue("formDataProvider")
|
|
6385
6385
|
);
|
|
6386
6386
|
if (t.isFormValid = !0, t.invalidateForm(), !t.isFormValid.get()) return;
|
|
@@ -6392,12 +6392,12 @@ let te = class extends G(x) {
|
|
|
6392
6392
|
delete o.isFormValid;
|
|
6393
6393
|
const n = this.getAncestorAttributeValue(
|
|
6394
6394
|
"headersDataProvider"
|
|
6395
|
-
), a = n ?
|
|
6395
|
+
), a = n ? T.getInstance().get(n) : null;
|
|
6396
6396
|
let c = {};
|
|
6397
6397
|
a && (c = a.get());
|
|
6398
6398
|
let h = null;
|
|
6399
6399
|
const d = this.getAncestorAttributeValue("dataProvider"), p = this.endPoint || d, g = async () => {
|
|
6400
|
-
var w, S, O,
|
|
6400
|
+
var w, S, O, N, H, W, Ot, rr;
|
|
6401
6401
|
const y = { ...o };
|
|
6402
6402
|
if (delete y.needsCaptchaValidation, delete c.needsCaptchaValidation, e)
|
|
6403
6403
|
h = await ((w = this.api) == null ? void 0 : w.submitFormData(
|
|
@@ -6415,7 +6415,7 @@ let te = class extends G(x) {
|
|
|
6415
6415
|
h = await ((O = this.api) == null ? void 0 : O.patch(p, y, c));
|
|
6416
6416
|
break;
|
|
6417
6417
|
case "delete":
|
|
6418
|
-
h = await ((
|
|
6418
|
+
h = await ((N = this.api) == null ? void 0 : N.delete(p, y, c));
|
|
6419
6419
|
break;
|
|
6420
6420
|
case "get":
|
|
6421
6421
|
const ws = new URLSearchParams();
|
|
@@ -6436,7 +6436,7 @@ let te = class extends G(x) {
|
|
|
6436
6436
|
"clearedDataOnSuccess"
|
|
6437
6437
|
);
|
|
6438
6438
|
_ && _.split(" ").forEach(
|
|
6439
|
-
(ws) =>
|
|
6439
|
+
(ws) => T.get(ws).set({})
|
|
6440
6440
|
);
|
|
6441
6441
|
const D = this.hasAttribute("usernameKey") ? this.getAttribute("usernameKey") : "username", f = this.hasAttribute("passwordKey") ? this.getAttribute("passwordKey") : "password";
|
|
6442
6442
|
(rr = (Ot = this.api) == null ? void 0 : Ot.lastResult) != null && rr.ok && y[D] && y[f] && this.saveCredentials(
|
|
@@ -6450,7 +6450,7 @@ let te = class extends G(x) {
|
|
|
6450
6450
|
const u = this.getAncestorAttributeValue(
|
|
6451
6451
|
"submitResultDataProvider"
|
|
6452
6452
|
);
|
|
6453
|
-
u &&
|
|
6453
|
+
u && T.get(u).set(h), this.disabled = !1, this.dispatchEvent(
|
|
6454
6454
|
new CustomEvent("submit", {
|
|
6455
6455
|
detail: h,
|
|
6456
6456
|
bubbles: !0,
|
|
@@ -6477,7 +6477,7 @@ let te = class extends G(x) {
|
|
|
6477
6477
|
submitNativeForm() {
|
|
6478
6478
|
const r = Jt.getClosestForm(this);
|
|
6479
6479
|
if (!r) return;
|
|
6480
|
-
const t = this.getAncestorAttributeValue("formDataProvider"), s = { ...
|
|
6480
|
+
const t = this.getAncestorAttributeValue("formDataProvider"), s = { ...T.get(t).get() };
|
|
6481
6481
|
delete s.needsCaptchaValidation;
|
|
6482
6482
|
for (const e in s) {
|
|
6483
6483
|
if (e == "isFormValid") continue;
|
|
@@ -6547,10 +6547,10 @@ let Te = class extends ds(x) {
|
|
|
6547
6547
|
return this;
|
|
6548
6548
|
}
|
|
6549
6549
|
connectedCallback() {
|
|
6550
|
-
|
|
6550
|
+
lt.onChange(this), super.connectedCallback();
|
|
6551
6551
|
}
|
|
6552
6552
|
disconnectedCallback() {
|
|
6553
|
-
|
|
6553
|
+
lt.offChange(this), super.disconnectedCallback();
|
|
6554
6554
|
}
|
|
6555
6555
|
set location(r) {
|
|
6556
6556
|
this._location = r, this.requestUpdate();
|
|
@@ -6681,12 +6681,12 @@ let zr = class extends G(x) {
|
|
|
6681
6681
|
}
|
|
6682
6682
|
update() {
|
|
6683
6683
|
if (this.hasAttribute("onAdded")) {
|
|
6684
|
-
|
|
6684
|
+
lt.changeFromComponent(this);
|
|
6685
6685
|
return;
|
|
6686
6686
|
}
|
|
6687
6687
|
if (!this.props) return;
|
|
6688
6688
|
const r = this.getAttribute("onData").split("."), t = et.traverse(this.props, r);
|
|
6689
|
-
t && !(et.isObject(t) && t) &&
|
|
6689
|
+
t && !(et.isObject(t) && t) && lt.changeFromComponent(this);
|
|
6690
6690
|
}
|
|
6691
6691
|
};
|
|
6692
6692
|
zr = fl([
|
|
@@ -7580,10 +7580,10 @@ let ee = class extends x {
|
|
|
7580
7580
|
return this._location;
|
|
7581
7581
|
}
|
|
7582
7582
|
set location(r) {
|
|
7583
|
-
this._location = r,
|
|
7583
|
+
this._location = r, lt.updateComponentActiveState(this);
|
|
7584
7584
|
}
|
|
7585
7585
|
connectedCallback() {
|
|
7586
|
-
this.href && this.href.indexOf("http") != 0 && (
|
|
7586
|
+
this.href && this.href.indexOf("http") != 0 && (lt.onChange(this), this.location = document.location.href.replace(document.location.origin, "")), this.addEventListener("keypress", (r) => {
|
|
7587
7587
|
var t, s;
|
|
7588
7588
|
r.key === "Enter" && ((s = (t = this.shadowRoot) == null ? void 0 : t.querySelector("a")) == null || s.click());
|
|
7589
7589
|
}), this.setFocusable(), super.connectedCallback();
|
|
@@ -7592,7 +7592,7 @@ let ee = class extends x {
|
|
|
7592
7592
|
this.href ? this.setAttribute("tabIndex", "0") : this.removeAttribute("tabIndex");
|
|
7593
7593
|
}
|
|
7594
7594
|
disconnectedCallback() {
|
|
7595
|
-
|
|
7595
|
+
lt.offChange(this), super.disconnectedCallback();
|
|
7596
7596
|
}
|
|
7597
7597
|
set target(r) {
|
|
7598
7598
|
this._target = r, cc.fixBlankLink(this), this.requestUpdate();
|
|
@@ -7601,7 +7601,7 @@ let ee = class extends x {
|
|
|
7601
7601
|
return this._target;
|
|
7602
7602
|
}
|
|
7603
7603
|
handlePushState(r) {
|
|
7604
|
-
r.preventDefault(),
|
|
7604
|
+
r.preventDefault(), lt.changeFromComponent(this);
|
|
7605
7605
|
}
|
|
7606
7606
|
updated(r) {
|
|
7607
7607
|
r.has("href") && this.setFocusable();
|
|
@@ -8273,6 +8273,24 @@ let j = class extends Gs(Fe(G(x))) {
|
|
|
8273
8273
|
togglePasswordVisibility(r) {
|
|
8274
8274
|
r.preventDefault(), r.stopPropagation(), this.isPassword = !this.isPassword, this._type = this.isPassword ? "password" : "text";
|
|
8275
8275
|
}
|
|
8276
|
+
firstUpdated(r) {
|
|
8277
|
+
super.firstUpdated(r);
|
|
8278
|
+
const t = Object.getOwnPropertyDescriptor(
|
|
8279
|
+
HTMLInputElement.prototype,
|
|
8280
|
+
"value"
|
|
8281
|
+
), s = this;
|
|
8282
|
+
Object.defineProperty(this.input, "value", {
|
|
8283
|
+
get() {
|
|
8284
|
+
var i;
|
|
8285
|
+
return (i = t == null ? void 0 : t.get) == null ? void 0 : i.call(this);
|
|
8286
|
+
},
|
|
8287
|
+
set(i) {
|
|
8288
|
+
var o;
|
|
8289
|
+
const e = this.value;
|
|
8290
|
+
i !== e && ((o = t == null ? void 0 : t.set) == null || o.call(this, i), s.input.dispatchEvent(new Event("input")));
|
|
8291
|
+
}
|
|
8292
|
+
});
|
|
8293
|
+
}
|
|
8276
8294
|
render() {
|
|
8277
8295
|
const r = {
|
|
8278
8296
|
"has-prefix": this.hasPrefix,
|
|
@@ -8436,19 +8454,19 @@ V([
|
|
|
8436
8454
|
$e("input")
|
|
8437
8455
|
], j.prototype, "input", 2);
|
|
8438
8456
|
V([
|
|
8439
|
-
|
|
8457
|
+
E()
|
|
8440
8458
|
], j.prototype, "hasDescription", 2);
|
|
8441
8459
|
V([
|
|
8442
|
-
|
|
8460
|
+
E()
|
|
8443
8461
|
], j.prototype, "hasLabel", 2);
|
|
8444
8462
|
V([
|
|
8445
|
-
|
|
8463
|
+
E()
|
|
8446
8464
|
], j.prototype, "hasSuffix", 2);
|
|
8447
8465
|
V([
|
|
8448
|
-
|
|
8466
|
+
E()
|
|
8449
8467
|
], j.prototype, "hasPrefix", 2);
|
|
8450
8468
|
V([
|
|
8451
|
-
|
|
8469
|
+
E()
|
|
8452
8470
|
], j.prototype, "isPassword", 2);
|
|
8453
8471
|
j = V([
|
|
8454
8472
|
$(yc)
|
|
@@ -8544,7 +8562,7 @@ let nt = class extends x {
|
|
|
8544
8562
|
this.popContent && this.resizeObserver.unobserve(this.popContent), super.disconnectedCallback(), nt.pops.delete(this), nt.pops.size == 0 && (document.removeEventListener("pointerdown", this._handleClosePop), document.removeEventListener("click", this._handleClosePop), document.removeEventListener("keydown", this._handleKeyDown));
|
|
8545
8563
|
}
|
|
8546
8564
|
computePosition(r) {
|
|
8547
|
-
var
|
|
8565
|
+
var N, H, W, Ot;
|
|
8548
8566
|
const t = r.split(" "), s = t[0];
|
|
8549
8567
|
let i = t[1];
|
|
8550
8568
|
const e = 5, o = this.getBoundingClientRect(), n = tt.getScrollableAncestor(
|
|
@@ -8556,7 +8574,7 @@ let nt = class extends x {
|
|
|
8556
8574
|
window.innerHeight,
|
|
8557
8575
|
(a == null ? void 0 : a.bottom) || window.innerHeight
|
|
8558
8576
|
) - e, g = o.left, v = o.top;
|
|
8559
|
-
let b = g, y = v, _ = (
|
|
8577
|
+
let b = g, y = v, _ = (N = this.popContent) == null ? void 0 : N.getBoundingClientRect();
|
|
8560
8578
|
const D = v - _.height, f = g - _.width, u = g + o.width, w = v + o.height, S = g + (o.width - _.width) * 0.5, O = v + (o.height - _.height) * 0.5;
|
|
8561
8579
|
switch (s) {
|
|
8562
8580
|
case "bottom":
|
|
@@ -8642,7 +8660,7 @@ nt.styles = [
|
|
|
8642
8660
|
Co
|
|
8643
8661
|
];
|
|
8644
8662
|
Yt([
|
|
8645
|
-
|
|
8663
|
+
E()
|
|
8646
8664
|
], nt.prototype, "open", 2);
|
|
8647
8665
|
Yt([
|
|
8648
8666
|
$e("slot:not([name=content])")
|
|
@@ -8663,7 +8681,7 @@ Yt([
|
|
|
8663
8681
|
l({ type: String })
|
|
8664
8682
|
], nt.prototype, "placement", 2);
|
|
8665
8683
|
Yt([
|
|
8666
|
-
|
|
8684
|
+
E()
|
|
8667
8685
|
], nt.prototype, "triggerElement", 2);
|
|
8668
8686
|
nt = Yt([
|
|
8669
8687
|
$(xc)
|
|
@@ -8721,12 +8739,12 @@ class So {
|
|
|
8721
8739
|
this.u.disconnect();
|
|
8722
8740
|
}
|
|
8723
8741
|
}
|
|
8724
|
-
var Sc = Object.defineProperty, Oc = Object.getOwnPropertyDescriptor,
|
|
8742
|
+
var Sc = Object.defineProperty, Oc = Object.getOwnPropertyDescriptor, mt = (r, t, s, i) => {
|
|
8725
8743
|
for (var e = i > 1 ? void 0 : i ? Oc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8726
8744
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
8727
8745
|
return i && e && Sc(t, s, e), e;
|
|
8728
8746
|
};
|
|
8729
|
-
let
|
|
8747
|
+
let at = class extends Ki(
|
|
8730
8748
|
_o(yo(oe(x)))
|
|
8731
8749
|
) {
|
|
8732
8750
|
constructor() {
|
|
@@ -8740,7 +8758,7 @@ let lt = class extends Ki(
|
|
|
8740
8758
|
this.queueDataProvider,
|
|
8741
8759
|
this.findSelection,
|
|
8742
8760
|
this.setSearchFromSelection
|
|
8743
|
-
) === !1 &&
|
|
8761
|
+
) === !1 && this.isSearchParameter() && (this.lastValidSearch = r, (s = this.searchPublisher) == null || s.set(this.lastValidSearch));
|
|
8744
8762
|
}, this.updatePopContentVisibility = (r) => {
|
|
8745
8763
|
this.isPopVisible = ((r == null ? void 0 : r.length) || 0) >= this.minSearchLength;
|
|
8746
8764
|
}, this.initSearchParameter = () => {
|
|
@@ -8758,7 +8776,7 @@ let lt = class extends Ki(
|
|
|
8758
8776
|
return (this.propertyName === "_self" ? r : r[this.propertyName || this.searchParameter || this.name]) == ((s = this.searchPublisher) == null ? void 0 : s.get());
|
|
8759
8777
|
}, this.findSelection = (r) => (this.propertyName === "_self" ? r : r[this.propertyName || this.name]) == this.value, this.setSearchFromSelection = (r) => {
|
|
8760
8778
|
var t;
|
|
8761
|
-
this.lastValidSearch = this.propertyName === "_self" ? r : r[this.searchParameter || this.propertyName || this.name], (t = this.searchPublisher) == null || t.set(this.lastValidSearch);
|
|
8779
|
+
this.lastValidSearch = this.propertyName === "_self" ? r : r[this.searchParameter || this.propertyName || this.name], this.isSearchParameter() && ((t = this.searchPublisher) == null || t.set(this.lastValidSearch));
|
|
8762
8780
|
}, this.updateActiveSelection = () => {
|
|
8763
8781
|
var r, t, s;
|
|
8764
8782
|
this.queryQueueListItem(
|
|
@@ -8775,12 +8793,8 @@ let lt = class extends Ki(
|
|
|
8775
8793
|
var r;
|
|
8776
8794
|
this.hasInputPrefix = !!((r = this.slotInputPrefixNodes) != null && r.length);
|
|
8777
8795
|
}
|
|
8778
|
-
|
|
8779
|
-
return
|
|
8780
|
-
}
|
|
8781
|
-
set value(r) {
|
|
8782
|
-
var t;
|
|
8783
|
-
(t = this.searchPublisher) == null || t.set(r), super.value = r;
|
|
8796
|
+
isSearchParameter() {
|
|
8797
|
+
return !this.searchParameter || this.searchParameter === this.name;
|
|
8784
8798
|
}
|
|
8785
8799
|
connectedCallback() {
|
|
8786
8800
|
var e, o, n, a;
|
|
@@ -8833,8 +8847,11 @@ let lt = class extends Ki(
|
|
|
8833
8847
|
(s = this.searchPublisher) == null || s.set(this.lastValidSearch);
|
|
8834
8848
|
}
|
|
8835
8849
|
}
|
|
8836
|
-
|
|
8850
|
+
getInputValue() {
|
|
8837
8851
|
var r;
|
|
8852
|
+
return this.isSearchParameter() ? (r = this.searchPublisher) == null ? void 0 : r.get() : this.lastValidSearch;
|
|
8853
|
+
}
|
|
8854
|
+
render() {
|
|
8838
8855
|
return m`
|
|
8839
8856
|
<sonic-pop noToggle style="display:block;" @hide=${this.handleHide}>
|
|
8840
8857
|
<sonic-input
|
|
@@ -8846,13 +8863,14 @@ let lt = class extends Ki(
|
|
|
8846
8863
|
label="${A(this.label)}"
|
|
8847
8864
|
description="${A(this.description)}"
|
|
8848
8865
|
name="${A(this.searchParameter || this.name)}"
|
|
8866
|
+
?required=${this.required}
|
|
8849
8867
|
placeholder="${A(this.placeholder)}"
|
|
8850
8868
|
?readonly="${this.readonly}"
|
|
8851
8869
|
autocomplete="off"
|
|
8852
8870
|
clearable
|
|
8853
8871
|
inlineContent
|
|
8854
8872
|
size=${this.size}
|
|
8855
|
-
value
|
|
8873
|
+
value=${A(this.getInputValue())}
|
|
8856
8874
|
>
|
|
8857
8875
|
<slot
|
|
8858
8876
|
name="prefix"
|
|
@@ -8900,7 +8918,7 @@ let lt = class extends Ki(
|
|
|
8900
8918
|
`;
|
|
8901
8919
|
}
|
|
8902
8920
|
};
|
|
8903
|
-
|
|
8921
|
+
at.styles = [
|
|
8904
8922
|
fs,
|
|
8905
8923
|
P`
|
|
8906
8924
|
:host {
|
|
@@ -8918,49 +8936,52 @@ lt.styles = [
|
|
|
8918
8936
|
}
|
|
8919
8937
|
`
|
|
8920
8938
|
];
|
|
8921
|
-
|
|
8939
|
+
mt([
|
|
8922
8940
|
l({ type: String })
|
|
8923
|
-
],
|
|
8924
|
-
|
|
8941
|
+
], at.prototype, "size", 2);
|
|
8942
|
+
mt([
|
|
8925
8943
|
l({ type: String })
|
|
8926
|
-
],
|
|
8927
|
-
|
|
8944
|
+
], at.prototype, "placeholder", 2);
|
|
8945
|
+
mt([
|
|
8928
8946
|
l()
|
|
8929
|
-
],
|
|
8930
|
-
|
|
8947
|
+
], at.prototype, "filteredFields", 2);
|
|
8948
|
+
mt([
|
|
8931
8949
|
l({ type: Boolean })
|
|
8932
|
-
],
|
|
8933
|
-
|
|
8950
|
+
], at.prototype, "readonly", 2);
|
|
8951
|
+
mt([
|
|
8934
8952
|
l({ type: String })
|
|
8935
|
-
],
|
|
8936
|
-
|
|
8953
|
+
], at.prototype, "dataProviderExpression", 2);
|
|
8954
|
+
mt([
|
|
8937
8955
|
l({ type: Number })
|
|
8938
|
-
],
|
|
8939
|
-
|
|
8956
|
+
], at.prototype, "minSearchLength", 2);
|
|
8957
|
+
mt([
|
|
8940
8958
|
l({ type: Boolean })
|
|
8941
|
-
],
|
|
8942
|
-
|
|
8959
|
+
], at.prototype, "select", 2);
|
|
8960
|
+
mt([
|
|
8943
8961
|
l({ type: String })
|
|
8944
|
-
],
|
|
8945
|
-
|
|
8962
|
+
], at.prototype, "key", 2);
|
|
8963
|
+
mt([
|
|
8946
8964
|
l({ type: String })
|
|
8947
|
-
],
|
|
8948
|
-
|
|
8965
|
+
], at.prototype, "searchParameter", 2);
|
|
8966
|
+
mt([
|
|
8949
8967
|
l({ type: String })
|
|
8950
|
-
],
|
|
8951
|
-
|
|
8968
|
+
], at.prototype, "propertyName", 2);
|
|
8969
|
+
mt([
|
|
8952
8970
|
dt({ slot: "prefix", flatten: !0 })
|
|
8953
|
-
],
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
],
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
],
|
|
8960
|
-
|
|
8971
|
+
], at.prototype, "slotInputPrefixNodes", 2);
|
|
8972
|
+
mt([
|
|
8973
|
+
E()
|
|
8974
|
+
], at.prototype, "hasInputPrefix", 2);
|
|
8975
|
+
mt([
|
|
8976
|
+
E()
|
|
8977
|
+
], at.prototype, "isPopVisible", 2);
|
|
8978
|
+
mt([
|
|
8979
|
+
E()
|
|
8980
|
+
], at.prototype, "lastValidSearch", 2);
|
|
8981
|
+
at = mt([
|
|
8961
8982
|
$("sonic-input-autocomplete")
|
|
8962
|
-
],
|
|
8963
|
-
var Dc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor,
|
|
8983
|
+
], at);
|
|
8984
|
+
var Dc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor, gt = (r, t, s, i) => {
|
|
8964
8985
|
for (var e = i > 1 ? void 0 : i ? kc(t, s) : t, o = r.length - 1, n; o >= 0; o--)
|
|
8965
8986
|
(n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
|
|
8966
8987
|
return i && e && Dc(t, s, e), e;
|
|
@@ -9006,49 +9027,49 @@ let ct = class extends oe(x) {
|
|
|
9006
9027
|
`;
|
|
9007
9028
|
}
|
|
9008
9029
|
};
|
|
9009
|
-
|
|
9030
|
+
gt([
|
|
9010
9031
|
l()
|
|
9011
9032
|
], ct.prototype, "name", 2);
|
|
9012
|
-
|
|
9033
|
+
gt([
|
|
9013
9034
|
l()
|
|
9014
9035
|
], ct.prototype, "minChars", 2);
|
|
9015
|
-
|
|
9016
|
-
|
|
9036
|
+
gt([
|
|
9037
|
+
E()
|
|
9017
9038
|
], ct.prototype, "hasNoChar", 2);
|
|
9018
|
-
|
|
9019
|
-
|
|
9039
|
+
gt([
|
|
9040
|
+
E()
|
|
9020
9041
|
], ct.prototype, "hasEnoughChars", 2);
|
|
9021
|
-
|
|
9022
|
-
|
|
9042
|
+
gt([
|
|
9043
|
+
E()
|
|
9023
9044
|
], ct.prototype, "hasMinuscule", 2);
|
|
9024
|
-
|
|
9025
|
-
|
|
9045
|
+
gt([
|
|
9046
|
+
E()
|
|
9026
9047
|
], ct.prototype, "hasMajuscule", 2);
|
|
9027
|
-
|
|
9028
|
-
|
|
9048
|
+
gt([
|
|
9049
|
+
E()
|
|
9029
9050
|
], ct.prototype, "hasNumber", 2);
|
|
9030
|
-
|
|
9031
|
-
|
|
9051
|
+
gt([
|
|
9052
|
+
E()
|
|
9032
9053
|
], ct.prototype, "hasSpecialChar", 2);
|
|
9033
|
-
|
|
9054
|
+
gt([
|
|
9034
9055
|
l()
|
|
9035
9056
|
], ct.prototype, "wording_password_helper_decription", 2);
|
|
9036
|
-
|
|
9057
|
+
gt([
|
|
9037
9058
|
l()
|
|
9038
9059
|
], ct.prototype, "wording_password_helper_min_length", 2);
|
|
9039
|
-
|
|
9060
|
+
gt([
|
|
9040
9061
|
l()
|
|
9041
9062
|
], ct.prototype, "wording_password_helper_lower_case", 2);
|
|
9042
|
-
|
|
9063
|
+
gt([
|
|
9043
9064
|
l()
|
|
9044
9065
|
], ct.prototype, "wording_password_helper_upper_case", 2);
|
|
9045
|
-
|
|
9066
|
+
gt([
|
|
9046
9067
|
l()
|
|
9047
9068
|
], ct.prototype, "wording_password_helper_number", 2);
|
|
9048
|
-
|
|
9069
|
+
gt([
|
|
9049
9070
|
l()
|
|
9050
9071
|
], ct.prototype, "wording_password_helper_special_char", 2);
|
|
9051
|
-
ct =
|
|
9072
|
+
ct = gt([
|
|
9052
9073
|
$(Lc)
|
|
9053
9074
|
], ct);
|
|
9054
9075
|
var Ec = Object.defineProperty, Nc = Object.getOwnPropertyDescriptor, Ce = (r, t, s, i) => {
|
|
@@ -9109,10 +9130,10 @@ Ce([
|
|
|
9109
9130
|
l()
|
|
9110
9131
|
], ie.prototype, "descriptionWhenNotEqual", 2);
|
|
9111
9132
|
Ce([
|
|
9112
|
-
|
|
9133
|
+
E()
|
|
9113
9134
|
], ie.prototype, "areEqual", 2);
|
|
9114
9135
|
Ce([
|
|
9115
|
-
|
|
9136
|
+
E()
|
|
9116
9137
|
], ie.prototype, "hasNoChar", 2);
|
|
9117
9138
|
ie = Ce([
|
|
9118
9139
|
$(Tc)
|
|
@@ -9693,16 +9714,16 @@ Q([
|
|
|
9693
9714
|
dt({ slot: "prefix", flatten: !0 })
|
|
9694
9715
|
], Y.prototype, "slotPrefixNodes", 2);
|
|
9695
9716
|
Q([
|
|
9696
|
-
|
|
9717
|
+
E()
|
|
9697
9718
|
], Y.prototype, "hasDescription", 2);
|
|
9698
9719
|
Q([
|
|
9699
|
-
|
|
9720
|
+
E()
|
|
9700
9721
|
], Y.prototype, "hasLabel", 2);
|
|
9701
9722
|
Q([
|
|
9702
|
-
|
|
9723
|
+
E()
|
|
9703
9724
|
], Y.prototype, "hasSuffix", 2);
|
|
9704
9725
|
Q([
|
|
9705
|
-
|
|
9726
|
+
E()
|
|
9706
9727
|
], Y.prototype, "hasPrefix", 2);
|
|
9707
9728
|
Y = Q([
|
|
9708
9729
|
$(Yc)
|
|
@@ -9775,7 +9796,7 @@ let ht = class extends Gs(Fe(G(x))) {
|
|
|
9775
9796
|
class="form-element textarea custom-scroll"
|
|
9776
9797
|
aria-label=${A(this.ariaLabel)}
|
|
9777
9798
|
aria-labelledby=${A(this.ariaLabelledby)}
|
|
9778
|
-
style=${
|
|
9799
|
+
style=${bt(r)}
|
|
9779
9800
|
>
|
|
9780
9801
|
${this.value}</textarea
|
|
9781
9802
|
>
|
|
@@ -9837,10 +9858,10 @@ vt([
|
|
|
9837
9858
|
dt({ slot: "description", flatten: !0 })
|
|
9838
9859
|
], ht.prototype, "slotDescriptionNodes", 2);
|
|
9839
9860
|
vt([
|
|
9840
|
-
|
|
9861
|
+
E()
|
|
9841
9862
|
], ht.prototype, "hasDescription", 2);
|
|
9842
9863
|
vt([
|
|
9843
|
-
|
|
9864
|
+
E()
|
|
9844
9865
|
], ht.prototype, "hasLabel", 2);
|
|
9845
9866
|
ht = vt([
|
|
9846
9867
|
$(Gc)
|
|
@@ -10184,7 +10205,7 @@ let ls = class extends x {
|
|
|
10184
10205
|
flexDirection: this.direction,
|
|
10185
10206
|
justifyContent: this.justify
|
|
10186
10207
|
};
|
|
10187
|
-
return m`<slot style=${
|
|
10208
|
+
return m`<slot style=${bt(r)}></slot>`;
|
|
10188
10209
|
}
|
|
10189
10210
|
};
|
|
10190
10211
|
ls.styles = [
|
|
@@ -10250,7 +10271,7 @@ let Mt = class extends x {
|
|
|
10250
10271
|
@slotchange=${this.hasSlotOrProps}
|
|
10251
10272
|
></slot
|
|
10252
10273
|
></span>
|
|
10253
|
-
<slot class="main-slot" style=${
|
|
10274
|
+
<slot class="main-slot" style=${bt(r)}></slot>
|
|
10254
10275
|
<slot
|
|
10255
10276
|
name="description"
|
|
10256
10277
|
@slotchange=${this.hasSlotOrProps}
|
|
@@ -10302,10 +10323,10 @@ ne([
|
|
|
10302
10323
|
dt({ slot: "description", flatten: !0 })
|
|
10303
10324
|
], Mt.prototype, "slotDescriptionNodes", 2);
|
|
10304
10325
|
ne([
|
|
10305
|
-
|
|
10326
|
+
E()
|
|
10306
10327
|
], Mt.prototype, "hasDescription", 2);
|
|
10307
10328
|
ne([
|
|
10308
|
-
|
|
10329
|
+
E()
|
|
10309
10330
|
], Mt.prototype, "hasLabel", 2);
|
|
10310
10331
|
Mt = ne([
|
|
10311
10332
|
$(mh)
|
|
@@ -10344,7 +10365,7 @@ let At = class extends x {
|
|
|
10344
10365
|
src="${this.src}"
|
|
10345
10366
|
loading="${this.loading}"
|
|
10346
10367
|
alt="${this.alt}"
|
|
10347
|
-
style=${
|
|
10368
|
+
style=${bt(r)}
|
|
10348
10369
|
/></picture>
|
|
10349
10370
|
</div>`;
|
|
10350
10371
|
}
|
|
@@ -10529,15 +10550,15 @@ let ft = class extends x {
|
|
|
10529
10550
|
return m`<menu
|
|
10530
10551
|
part="menu"
|
|
10531
10552
|
class="shadowable"
|
|
10532
|
-
style=${
|
|
10553
|
+
style=${bt(r)}
|
|
10533
10554
|
>
|
|
10534
10555
|
<slot @slotchange=${this.mainSlotChange}></slot>
|
|
10535
10556
|
<sonic-pop
|
|
10536
|
-
style=${
|
|
10557
|
+
style=${bt(s)}
|
|
10537
10558
|
class=${this.hasMoreElements ? "" : "hidden"}
|
|
10538
10559
|
>
|
|
10539
10560
|
<sonic-menu-item
|
|
10540
|
-
style=${
|
|
10561
|
+
style=${bt(i)}
|
|
10541
10562
|
class="more-btn"
|
|
10542
10563
|
shape=${this.moreShape}
|
|
10543
10564
|
align="center"
|
|
@@ -10707,7 +10728,7 @@ wt([
|
|
|
10707
10728
|
Pe({ slot: "more", selector: "*" })
|
|
10708
10729
|
], ft.prototype, "moreElements", 2);
|
|
10709
10730
|
wt([
|
|
10710
|
-
|
|
10731
|
+
E()
|
|
10711
10732
|
], ft.prototype, "hasMoreElements", 2);
|
|
10712
10733
|
ft = wt([
|
|
10713
10734
|
$(wh)
|
|
@@ -10960,7 +10981,7 @@ let F = class extends G(x) {
|
|
|
10960
10981
|
></div>
|
|
10961
10982
|
<div
|
|
10962
10983
|
class="modal-wrapper"
|
|
10963
|
-
style=${
|
|
10984
|
+
style=${bt(t)}
|
|
10964
10985
|
${Ss({
|
|
10965
10986
|
out: kr
|
|
10966
10987
|
})}
|
|
@@ -10969,7 +10990,7 @@ let F = class extends G(x) {
|
|
|
10969
10990
|
<div
|
|
10970
10991
|
part="modal"
|
|
10971
10992
|
class="modal custom-scroll"
|
|
10972
|
-
style=${
|
|
10993
|
+
style=${bt(r)}
|
|
10973
10994
|
${Ss(this.animation)}
|
|
10974
10995
|
>
|
|
10975
10996
|
<div class="modal-content">
|
|
@@ -12157,7 +12178,7 @@ let Kt = class extends x {
|
|
|
12157
12178
|
};
|
|
12158
12179
|
return m`<th
|
|
12159
12180
|
part="th"
|
|
12160
|
-
style=${
|
|
12181
|
+
style=${bt(r)}
|
|
12161
12182
|
colspan=${A(this.colSpan)}
|
|
12162
12183
|
rowspan=${A(this.rowSpan)}
|
|
12163
12184
|
>
|
|
@@ -12228,7 +12249,7 @@ let It = class extends x {
|
|
|
12228
12249
|
maxWidth: this.maxWidth,
|
|
12229
12250
|
width: this.width
|
|
12230
12251
|
};
|
|
12231
|
-
return m`<td part="td" style=${
|
|
12252
|
+
return m`<td part="td" style=${bt(r)} colspan=${A(this.colSpan)} rowspan=${A(this.rowSpan)}>
|
|
12232
12253
|
<slot></slot>
|
|
12233
12254
|
</td>`;
|
|
12234
12255
|
}
|
|
@@ -12392,7 +12413,7 @@ let re = class extends x {
|
|
|
12392
12413
|
return m`
|
|
12393
12414
|
<div
|
|
12394
12415
|
class="table-container ${this.noCustomScroll ? "" : "custom-scroll"}"
|
|
12395
|
-
style=${
|
|
12416
|
+
style=${bt(r)}
|
|
12396
12417
|
>
|
|
12397
12418
|
<div class="table">
|
|
12398
12419
|
<slot></slot>
|
|
@@ -12641,7 +12662,7 @@ function lp(r) {
|
|
|
12641
12662
|
return function() {
|
|
12642
12663
|
};
|
|
12643
12664
|
const s = t.shift() || "";
|
|
12644
|
-
let i =
|
|
12665
|
+
let i = T.get(s);
|
|
12645
12666
|
return i = ps.traverse(i, t), function(e, o) {
|
|
12646
12667
|
if (!e) return;
|
|
12647
12668
|
let n;
|
|
@@ -12661,7 +12682,7 @@ function cp(...r) {
|
|
|
12661
12682
|
if (o.length == 0)
|
|
12662
12683
|
continue;
|
|
12663
12684
|
const n = o.shift() || "";
|
|
12664
|
-
let a =
|
|
12685
|
+
let a = T.get(n);
|
|
12665
12686
|
a = ps.traverse(a, o);
|
|
12666
12687
|
const c = /* @__PURE__ */ new Set(), h = (d) => {
|
|
12667
12688
|
t[i] = d, t.filter((p) => p !== null).length == r.length && c.forEach((p) => p(...t));
|