@startinblox/components-ds4go 1.0.0 → 2.0.0
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/.gitlab-ci.yml +3 -3
- package/biome.json +1 -1
- package/dist/index.js +210 -300
- package/package.json +13 -13
- package/src/helpers/components/orbitComponent.ts +0 -3
package/.gitlab-ci.yml
CHANGED
|
@@ -10,7 +10,7 @@ cache:
|
|
|
10
10
|
- .npm/
|
|
11
11
|
|
|
12
12
|
default:
|
|
13
|
-
image: node:
|
|
13
|
+
image: node:24
|
|
14
14
|
|
|
15
15
|
stages:
|
|
16
16
|
- prepare
|
|
@@ -19,7 +19,7 @@ stages:
|
|
|
19
19
|
|
|
20
20
|
prepare:
|
|
21
21
|
stage: prepare
|
|
22
|
-
image: node:
|
|
22
|
+
image: node:24
|
|
23
23
|
before_script:
|
|
24
24
|
- npm ci --cache .npm --prefer-offline
|
|
25
25
|
- npm install -g semantic-release@24 @semantic-release/gitlab@13
|
|
@@ -37,7 +37,7 @@ prepare:
|
|
|
37
37
|
test:
|
|
38
38
|
stage: test
|
|
39
39
|
image:
|
|
40
|
-
name: cypress/included:15.
|
|
40
|
+
name: cypress/included:15.9.0
|
|
41
41
|
entrypoint: [""]
|
|
42
42
|
before_script:
|
|
43
43
|
- npm ci --cache .npm --prefer-offline
|
package/biome.json
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Copyright 2019 Google LLC
|
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
-
*/
|
|
6
|
-
const z = globalThis, lt = z.ShadowRoot && (z.ShadyCSS === void 0 || z.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ct = Symbol(), yt = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
let Ut = class {
|
|
1
|
+
const I = globalThis, lt = I.ShadowRoot && (I.ShadyCSS === void 0 || I.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ct = /* @__PURE__ */ Symbol(), yt = /* @__PURE__ */ new WeakMap();
|
|
2
|
+
let Dt = class {
|
|
8
3
|
constructor(t, s, i) {
|
|
9
4
|
if (this._$cssResult$ = !0, i !== ct) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
5
|
this.cssText = t, this.t = s;
|
|
@@ -22,33 +17,28 @@ let Ut = class {
|
|
|
22
17
|
return this.cssText;
|
|
23
18
|
}
|
|
24
19
|
};
|
|
25
|
-
const
|
|
26
|
-
const s = e.length === 1 ? e[0] : t.reduce((
|
|
20
|
+
const Nt = (e) => new Dt(typeof e == "string" ? e : e + "", void 0, ct), ut = (e, ...t) => {
|
|
21
|
+
const s = e.length === 1 ? e[0] : t.reduce((i, r, o) => i + ((n) => {
|
|
27
22
|
if (n._$cssResult$ === !0) return n.cssText;
|
|
28
23
|
if (typeof n == "number") return n;
|
|
29
24
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
|
-
})(r) + e[o + 1]
|
|
31
|
-
return new
|
|
32
|
-
},
|
|
33
|
-
if (lt) e.adoptedStyleSheets = t.map((
|
|
25
|
+
})(r) + e[o + 1], e[0]);
|
|
26
|
+
return new Dt(s, e, ct);
|
|
27
|
+
}, Jt = (e, t) => {
|
|
28
|
+
if (lt) e.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
|
|
34
29
|
else for (const s of t) {
|
|
35
|
-
const i = document.createElement("style"), r =
|
|
30
|
+
const i = document.createElement("style"), r = I.litNonce;
|
|
36
31
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = s.cssText, e.appendChild(i);
|
|
37
32
|
}
|
|
38
33
|
}, vt = lt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
|
39
34
|
let s = "";
|
|
40
35
|
for (const i of t.cssRules) s += i.cssText;
|
|
41
|
-
return
|
|
36
|
+
return Nt(s);
|
|
42
37
|
})(e) : e;
|
|
43
|
-
|
|
44
|
-
* @license
|
|
45
|
-
* Copyright 2017 Google LLC
|
|
46
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
*/
|
|
48
|
-
const { is: Jt, defineProperty: Zt, getOwnPropertyDescriptor: Qt, getOwnPropertyNames: Yt, getOwnPropertySymbols: te, getPrototypeOf: ee } = Object, G = globalThis, _t = G.trustedTypes, se = _t ? _t.emptyScript : "", re = G.reactiveElementPolyfillSupport, M = (e, t) => e, B = { toAttribute(e, t) {
|
|
38
|
+
const { is: Xt, defineProperty: Qt, getOwnPropertyDescriptor: Yt, getOwnPropertyNames: te, getOwnPropertySymbols: ee, getPrototypeOf: se } = Object, G = globalThis, _t = G.trustedTypes, re = _t ? _t.emptyScript : "", ie = G.reactiveElementPolyfillSupport, T = (e, t) => e, B = { toAttribute(e, t) {
|
|
49
39
|
switch (t) {
|
|
50
40
|
case Boolean:
|
|
51
|
-
e = e ?
|
|
41
|
+
e = e ? re : null;
|
|
52
42
|
break;
|
|
53
43
|
case Object:
|
|
54
44
|
case Array:
|
|
@@ -73,8 +63,8 @@ const { is: Jt, defineProperty: Zt, getOwnPropertyDescriptor: Qt, getOwnProperty
|
|
|
73
63
|
}
|
|
74
64
|
}
|
|
75
65
|
return s;
|
|
76
|
-
} },
|
|
77
|
-
Symbol.metadata ??= Symbol("metadata"), G.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
66
|
+
} }, Z = (e, t) => !Xt(e, t), $t = { attribute: !0, type: String, converter: B, reflect: !1, useDefault: !1, hasChanged: Z };
|
|
67
|
+
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), G.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
78
68
|
let S = class extends HTMLElement {
|
|
79
69
|
static addInitializer(t) {
|
|
80
70
|
this._$Ei(), (this.l ??= []).push(t);
|
|
@@ -84,12 +74,12 @@ let S = class extends HTMLElement {
|
|
|
84
74
|
}
|
|
85
75
|
static createProperty(t, s = $t) {
|
|
86
76
|
if (s.state && (s.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = !0), this.elementProperties.set(t, s), !s.noAccessor) {
|
|
87
|
-
const i = Symbol(), r = this.getPropertyDescriptor(t, i, s);
|
|
88
|
-
r !== void 0 &&
|
|
77
|
+
const i = /* @__PURE__ */ Symbol(), r = this.getPropertyDescriptor(t, i, s);
|
|
78
|
+
r !== void 0 && Qt(this.prototype, t, r);
|
|
89
79
|
}
|
|
90
80
|
}
|
|
91
81
|
static getPropertyDescriptor(t, s, i) {
|
|
92
|
-
const { get: r, set: o } =
|
|
82
|
+
const { get: r, set: o } = Yt(this.prototype, t) ?? { get() {
|
|
93
83
|
return this[s];
|
|
94
84
|
}, set(n) {
|
|
95
85
|
this[s] = n;
|
|
@@ -103,14 +93,14 @@ let S = class extends HTMLElement {
|
|
|
103
93
|
return this.elementProperties.get(t) ?? $t;
|
|
104
94
|
}
|
|
105
95
|
static _$Ei() {
|
|
106
|
-
if (this.hasOwnProperty(
|
|
107
|
-
const t =
|
|
96
|
+
if (this.hasOwnProperty(T("elementProperties"))) return;
|
|
97
|
+
const t = se(this);
|
|
108
98
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
109
99
|
}
|
|
110
100
|
static finalize() {
|
|
111
|
-
if (this.hasOwnProperty(
|
|
112
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
113
|
-
const s = this.properties, i = [...
|
|
101
|
+
if (this.hasOwnProperty(T("finalized"))) return;
|
|
102
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(T("properties"))) {
|
|
103
|
+
const s = this.properties, i = [...te(s), ...ee(s)];
|
|
114
104
|
for (const r of i) this.createProperty(r, s[r]);
|
|
115
105
|
}
|
|
116
106
|
const t = this[Symbol.metadata];
|
|
@@ -141,7 +131,7 @@ let S = class extends HTMLElement {
|
|
|
141
131
|
super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
|
|
142
132
|
}
|
|
143
133
|
_$Ev() {
|
|
144
|
-
this._$ES = new Promise((
|
|
134
|
+
this._$ES = new Promise((t) => this.enableUpdating = t), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t) => t(this));
|
|
145
135
|
}
|
|
146
136
|
addController(t) {
|
|
147
137
|
(this._$EO ??= /* @__PURE__ */ new Set()).add(t), this.renderRoot !== void 0 && this.isConnected && t.hostConnected?.();
|
|
@@ -156,15 +146,15 @@ let S = class extends HTMLElement {
|
|
|
156
146
|
}
|
|
157
147
|
createRenderRoot() {
|
|
158
148
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
159
|
-
return
|
|
149
|
+
return Jt(t, this.constructor.elementStyles), t;
|
|
160
150
|
}
|
|
161
151
|
connectedCallback() {
|
|
162
|
-
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((
|
|
152
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
163
153
|
}
|
|
164
154
|
enableUpdating(t) {
|
|
165
155
|
}
|
|
166
156
|
disconnectedCallback() {
|
|
167
|
-
this._$EO?.forEach((
|
|
157
|
+
this._$EO?.forEach((t) => t.hostDisconnected?.());
|
|
168
158
|
}
|
|
169
159
|
attributeChangedCallback(t, s, i) {
|
|
170
160
|
this._$AK(t, i);
|
|
@@ -185,10 +175,10 @@ let S = class extends HTMLElement {
|
|
|
185
175
|
this[r] = a ?? this._$Ej?.get(r) ?? a, this._$Em = null;
|
|
186
176
|
}
|
|
187
177
|
}
|
|
188
|
-
requestUpdate(t, s, i) {
|
|
178
|
+
requestUpdate(t, s, i, r = !1, o) {
|
|
189
179
|
if (t !== void 0) {
|
|
190
|
-
const
|
|
191
|
-
if (i ??=
|
|
180
|
+
const n = this.constructor;
|
|
181
|
+
if (r === !1 && (o = this[t]), i ??= n.getPropertyOptions(t), !((i.hasChanged ?? Z)(o, s) || i.useDefault && i.reflect && o === this._$Ej?.get(t) && !this.hasAttribute(n._$Eu(t, i)))) return;
|
|
192
182
|
this.C(t, s, i);
|
|
193
183
|
}
|
|
194
184
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -225,7 +215,7 @@ let S = class extends HTMLElement {
|
|
|
225
215
|
let t = !1;
|
|
226
216
|
const s = this._$AL;
|
|
227
217
|
try {
|
|
228
|
-
t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach((
|
|
218
|
+
t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(s)) : this._$EM();
|
|
229
219
|
} catch (i) {
|
|
230
220
|
throw t = !1, this._$EM(), i;
|
|
231
221
|
}
|
|
@@ -234,7 +224,7 @@ let S = class extends HTMLElement {
|
|
|
234
224
|
willUpdate(t) {
|
|
235
225
|
}
|
|
236
226
|
_$AE(t) {
|
|
237
|
-
this._$EO?.forEach((
|
|
227
|
+
this._$EO?.forEach((s) => s.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
238
228
|
}
|
|
239
229
|
_$EM() {
|
|
240
230
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
@@ -249,35 +239,30 @@ let S = class extends HTMLElement {
|
|
|
249
239
|
return !0;
|
|
250
240
|
}
|
|
251
241
|
update(t) {
|
|
252
|
-
this._$Eq &&= this._$Eq.forEach((
|
|
242
|
+
this._$Eq &&= this._$Eq.forEach((s) => this._$ET(s, this[s])), this._$EM();
|
|
253
243
|
}
|
|
254
244
|
updated(t) {
|
|
255
245
|
}
|
|
256
246
|
firstUpdated(t) {
|
|
257
247
|
}
|
|
258
248
|
};
|
|
259
|
-
S.elementStyles = [], S.shadowRootOptions = { mode: "open" }, S[
|
|
260
|
-
|
|
261
|
-
*
|
|
262
|
-
|
|
263
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
264
|
-
*/
|
|
265
|
-
const ut = globalThis, F = ut.trustedTypes, bt = F ? F.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Nt = "$lit$", v = `lit$${Math.random().toFixed(9).slice(2)}$`, Ht = "?" + v, ie = `<${Ht}>`, E = document, L = () => E.createComment(""), U = (e) => e === null || typeof e != "object" && typeof e != "function", dt = Array.isArray, oe = (e) => dt(e) || typeof e?.[Symbol.iterator] == "function", Q = `[
|
|
266
|
-
\f\r]`, T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wt = /-->/g, At = />/g, w = RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
|
|
267
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), xt = /'/g, Et = /"/g, qt = /^(?:script|style|textarea|title)$/i, ne = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), $ = ne(1), P = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), St = /* @__PURE__ */ new WeakMap(), x = E.createTreeWalker(E, 129);
|
|
249
|
+
S.elementStyles = [], S.shadowRootOptions = { mode: "open" }, S[T("elementProperties")] = /* @__PURE__ */ new Map(), S[T("finalized")] = /* @__PURE__ */ new Map(), ie?.({ ReactiveElement: S }), (G.reactiveElementVersions ??= []).push("2.1.2");
|
|
250
|
+
const ht = globalThis, bt = (e) => e, F = ht.trustedTypes, wt = F ? F.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Ht = "$lit$", v = `lit$${Math.random().toFixed(9).slice(2)}$`, qt = "?" + v, oe = `<${qt}>`, E = document, L = () => E.createComment(""), U = (e) => e === null || typeof e != "object" && typeof e != "function", dt = Array.isArray, ne = (e) => dt(e) || typeof e?.[Symbol.iterator] == "function", Q = `[
|
|
251
|
+
\f\r]`, k = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, At = /-->/g, xt = />/g, w = RegExp(`>|${Q}(?:([^\\s"'>=/]+)(${Q}*=${Q}*(?:[^
|
|
252
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Et = /'/g, St = /"/g, zt = /^(?:script|style|textarea|title)$/i, ae = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), $ = ae(1), C = /* @__PURE__ */ Symbol.for("lit-noChange"), c = /* @__PURE__ */ Symbol.for("lit-nothing"), Pt = /* @__PURE__ */ new WeakMap(), x = E.createTreeWalker(E, 129);
|
|
268
253
|
function It(e, t) {
|
|
269
254
|
if (!dt(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
270
|
-
return
|
|
255
|
+
return wt !== void 0 ? wt.createHTML(t) : t;
|
|
271
256
|
}
|
|
272
|
-
const
|
|
257
|
+
const le = (e, t) => {
|
|
273
258
|
const s = e.length - 1, i = [];
|
|
274
|
-
let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
259
|
+
let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = k;
|
|
275
260
|
for (let a = 0; a < s; a++) {
|
|
276
261
|
const l = e[a];
|
|
277
|
-
let
|
|
278
|
-
for (; p < l.length && (n.lastIndex = p, d = n.exec(l), d !== null); ) p = n.lastIndex, n ===
|
|
262
|
+
let u, d, h = -1, p = 0;
|
|
263
|
+
for (; p < l.length && (n.lastIndex = p, d = n.exec(l), d !== null); ) p = n.lastIndex, n === k ? d[1] === "!--" ? n = At : d[1] !== void 0 ? n = xt : d[2] !== void 0 ? (zt.test(d[2]) && (r = RegExp("</" + d[2], "g")), n = w) : d[3] !== void 0 && (n = w) : n === w ? d[0] === ">" ? (n = r ?? k, h = -1) : d[1] === void 0 ? h = -2 : (h = n.lastIndex - d[2].length, u = d[1], n = d[3] === void 0 ? w : d[3] === '"' ? St : Et) : n === St || n === Et ? n = w : n === At || n === xt ? n = k : (n = w, r = void 0);
|
|
279
264
|
const y = n === w && e[a + 1].startsWith("/>") ? " " : "";
|
|
280
|
-
o += n ===
|
|
265
|
+
o += n === k ? l + oe : h >= 0 ? (i.push(u), l.slice(0, h) + Ht + l.slice(h) + v + y) : l + v + (h === -2 ? a : y);
|
|
281
266
|
}
|
|
282
267
|
return [It(e, o + (e[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
283
268
|
};
|
|
@@ -286,29 +271,29 @@ class D {
|
|
|
286
271
|
let r;
|
|
287
272
|
this.parts = [];
|
|
288
273
|
let o = 0, n = 0;
|
|
289
|
-
const a = t.length - 1, l = this.parts, [
|
|
290
|
-
if (this.el = D.createElement(
|
|
291
|
-
const
|
|
292
|
-
|
|
274
|
+
const a = t.length - 1, l = this.parts, [u, d] = le(t, s);
|
|
275
|
+
if (this.el = D.createElement(u, i), x.currentNode = this.el.content, s === 2 || s === 3) {
|
|
276
|
+
const h = this.el.content.firstChild;
|
|
277
|
+
h.replaceWith(...h.childNodes);
|
|
293
278
|
}
|
|
294
279
|
for (; (r = x.nextNode()) !== null && l.length < a; ) {
|
|
295
280
|
if (r.nodeType === 1) {
|
|
296
|
-
if (r.hasAttributes()) for (const
|
|
297
|
-
const p = d[n++], y = r.getAttribute(
|
|
298
|
-
l.push({ type: 1, index: o, name: q[2], strings: y, ctor: q[1] === "." ?
|
|
299
|
-
} else
|
|
300
|
-
if (
|
|
301
|
-
const
|
|
281
|
+
if (r.hasAttributes()) for (const h of r.getAttributeNames()) if (h.endsWith(Ht)) {
|
|
282
|
+
const p = d[n++], y = r.getAttribute(h).split(v), q = /([.?@])?(.*)/.exec(p);
|
|
283
|
+
l.push({ type: 1, index: o, name: q[2], strings: y, ctor: q[1] === "." ? ue : q[1] === "?" ? he : q[1] === "@" ? de : J }), r.removeAttribute(h);
|
|
284
|
+
} else h.startsWith(v) && (l.push({ type: 6, index: o }), r.removeAttribute(h));
|
|
285
|
+
if (zt.test(r.tagName)) {
|
|
286
|
+
const h = r.textContent.split(v), p = h.length - 1;
|
|
302
287
|
if (p > 0) {
|
|
303
288
|
r.textContent = F ? F.emptyScript : "";
|
|
304
|
-
for (let y = 0; y < p; y++) r.append(
|
|
305
|
-
r.append(
|
|
289
|
+
for (let y = 0; y < p; y++) r.append(h[y], L()), x.nextNode(), l.push({ type: 2, index: ++o });
|
|
290
|
+
r.append(h[p], L());
|
|
306
291
|
}
|
|
307
292
|
}
|
|
308
|
-
} else if (r.nodeType === 8) if (r.data ===
|
|
293
|
+
} else if (r.nodeType === 8) if (r.data === qt) l.push({ type: 2, index: o });
|
|
309
294
|
else {
|
|
310
|
-
let
|
|
311
|
-
for (; (
|
|
295
|
+
let h = -1;
|
|
296
|
+
for (; (h = r.data.indexOf(v, h + 1)) !== -1; ) l.push({ type: 7, index: o }), h += v.length - 1;
|
|
312
297
|
}
|
|
313
298
|
o++;
|
|
314
299
|
}
|
|
@@ -319,12 +304,12 @@ class D {
|
|
|
319
304
|
}
|
|
320
305
|
}
|
|
321
306
|
function j(e, t, s = e, i) {
|
|
322
|
-
if (t ===
|
|
307
|
+
if (t === C) return t;
|
|
323
308
|
let r = i !== void 0 ? s._$Co?.[i] : s._$Cl;
|
|
324
309
|
const o = U(t) ? void 0 : t._$litDirective$;
|
|
325
310
|
return r?.constructor !== o && (r?._$AO?.(!1), o === void 0 ? r = void 0 : (r = new o(e), r._$AT(e, s, i)), i !== void 0 ? (s._$Co ??= [])[i] = r : s._$Cl = r), r !== void 0 && (t = j(e, r._$AS(e, t.values), r, i)), t;
|
|
326
311
|
}
|
|
327
|
-
class
|
|
312
|
+
class ce {
|
|
328
313
|
constructor(t, s) {
|
|
329
314
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
|
|
330
315
|
}
|
|
@@ -340,8 +325,8 @@ class le {
|
|
|
340
325
|
let o = x.nextNode(), n = 0, a = 0, l = i[0];
|
|
341
326
|
for (; l !== void 0; ) {
|
|
342
327
|
if (n === l.index) {
|
|
343
|
-
let
|
|
344
|
-
l.type === 2 ?
|
|
328
|
+
let u;
|
|
329
|
+
l.type === 2 ? u = new H(o, o.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (u = new fe(o, this, t)), this._$AV.push(u), l = i[++a];
|
|
345
330
|
}
|
|
346
331
|
n !== l?.index && (o = x.nextNode(), n++);
|
|
347
332
|
}
|
|
@@ -371,7 +356,7 @@ class H {
|
|
|
371
356
|
return this._$AB;
|
|
372
357
|
}
|
|
373
358
|
_$AI(t, s = this) {
|
|
374
|
-
t = j(this, t, s), U(t) ? t === c || t == null || t === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : t !== this._$AH && t !==
|
|
359
|
+
t = j(this, t, s), U(t) ? t === c || t == null || t === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : t !== this._$AH && t !== C && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ne(t) ? this.k(t) : this._(t);
|
|
375
360
|
}
|
|
376
361
|
O(t) {
|
|
377
362
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -386,13 +371,13 @@ class H {
|
|
|
386
371
|
const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = D.createElement(It(i.h, i.h[0]), this.options)), i);
|
|
387
372
|
if (this._$AH?._$AD === r) this._$AH.p(s);
|
|
388
373
|
else {
|
|
389
|
-
const o = new
|
|
374
|
+
const o = new ce(r, this), n = o.u(this.options);
|
|
390
375
|
o.p(s), this.T(n), this._$AH = o;
|
|
391
376
|
}
|
|
392
377
|
}
|
|
393
378
|
_$AC(t) {
|
|
394
|
-
let s =
|
|
395
|
-
return s === void 0 &&
|
|
379
|
+
let s = Pt.get(t.strings);
|
|
380
|
+
return s === void 0 && Pt.set(t.strings, s = new D(t)), s;
|
|
396
381
|
}
|
|
397
382
|
k(t) {
|
|
398
383
|
dt(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -403,8 +388,8 @@ class H {
|
|
|
403
388
|
}
|
|
404
389
|
_$AR(t = this._$AA.nextSibling, s) {
|
|
405
390
|
for (this._$AP?.(!1, !0, s); t !== this._$AB; ) {
|
|
406
|
-
const i = t.nextSibling;
|
|
407
|
-
t.remove(), t = i;
|
|
391
|
+
const i = bt(t).nextSibling;
|
|
392
|
+
bt(t).remove(), t = i;
|
|
408
393
|
}
|
|
409
394
|
}
|
|
410
395
|
setConnected(t) {
|
|
@@ -424,11 +409,11 @@ class J {
|
|
|
424
409
|
_$AI(t, s = this, i, r) {
|
|
425
410
|
const o = this.strings;
|
|
426
411
|
let n = !1;
|
|
427
|
-
if (o === void 0) t = j(this, t, s, 0), n = !U(t) || t !== this._$AH && t !==
|
|
412
|
+
if (o === void 0) t = j(this, t, s, 0), n = !U(t) || t !== this._$AH && t !== C, n && (this._$AH = t);
|
|
428
413
|
else {
|
|
429
414
|
const a = t;
|
|
430
|
-
let l,
|
|
431
|
-
for (t = o[0], l = 0; l < o.length - 1; l++)
|
|
415
|
+
let l, u;
|
|
416
|
+
for (t = o[0], l = 0; l < o.length - 1; l++) u = j(this, a[i + l], s, l), u === C && (u = this._$AH[l]), n ||= !U(u) || u !== this._$AH[l], u === c ? t = c : t !== c && (t += (u ?? "") + o[l + 1]), this._$AH[l] = u;
|
|
432
417
|
}
|
|
433
418
|
n && !r && this.j(t);
|
|
434
419
|
}
|
|
@@ -436,7 +421,7 @@ class J {
|
|
|
436
421
|
t === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
437
422
|
}
|
|
438
423
|
}
|
|
439
|
-
class
|
|
424
|
+
class ue extends J {
|
|
440
425
|
constructor() {
|
|
441
426
|
super(...arguments), this.type = 3;
|
|
442
427
|
}
|
|
@@ -452,12 +437,12 @@ class he extends J {
|
|
|
452
437
|
this.element.toggleAttribute(this.name, !!t && t !== c);
|
|
453
438
|
}
|
|
454
439
|
}
|
|
455
|
-
class
|
|
440
|
+
class de extends J {
|
|
456
441
|
constructor(t, s, i, r, o) {
|
|
457
442
|
super(t, s, i, r, o), this.type = 5;
|
|
458
443
|
}
|
|
459
444
|
_$AI(t, s = this) {
|
|
460
|
-
if ((t = j(this, t, s, 0) ?? c) ===
|
|
445
|
+
if ((t = j(this, t, s, 0) ?? c) === C) return;
|
|
461
446
|
const i = this._$AH, r = t === c && i !== c || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== c && (i === c || r);
|
|
462
447
|
r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
463
448
|
}
|
|
@@ -465,7 +450,7 @@ class ue extends J {
|
|
|
465
450
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
466
451
|
}
|
|
467
452
|
}
|
|
468
|
-
class
|
|
453
|
+
class fe {
|
|
469
454
|
constructor(t, s, i) {
|
|
470
455
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
|
|
471
456
|
}
|
|
@@ -476,9 +461,9 @@ class de {
|
|
|
476
461
|
j(this, t);
|
|
477
462
|
}
|
|
478
463
|
}
|
|
479
|
-
const
|
|
480
|
-
|
|
481
|
-
const
|
|
464
|
+
const pe = ht.litHtmlPolyfillSupport;
|
|
465
|
+
pe?.(D, H), (ht.litHtmlVersions ??= []).push("3.3.2");
|
|
466
|
+
const ge = (e, t, s) => {
|
|
482
467
|
const i = s?.renderBefore ?? t;
|
|
483
468
|
let r = i._$litPart$;
|
|
484
469
|
if (r === void 0) {
|
|
@@ -487,13 +472,8 @@ const pe = (e, t, s) => {
|
|
|
487
472
|
}
|
|
488
473
|
return r._$AI(e), r;
|
|
489
474
|
};
|
|
490
|
-
/**
|
|
491
|
-
* @license
|
|
492
|
-
* Copyright 2017 Google LLC
|
|
493
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
494
|
-
*/
|
|
495
475
|
const ft = globalThis;
|
|
496
|
-
let
|
|
476
|
+
let P = class extends S {
|
|
497
477
|
constructor() {
|
|
498
478
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
499
479
|
}
|
|
@@ -503,7 +483,7 @@ let C = class extends S {
|
|
|
503
483
|
}
|
|
504
484
|
update(t) {
|
|
505
485
|
const s = this.render();
|
|
506
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
486
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ge(s, this.renderRoot, this.renderOptions);
|
|
507
487
|
}
|
|
508
488
|
connectedCallback() {
|
|
509
489
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -512,14 +492,14 @@ let C = class extends S {
|
|
|
512
492
|
super.disconnectedCallback(), this._$Do?.setConnected(!1);
|
|
513
493
|
}
|
|
514
494
|
render() {
|
|
515
|
-
return
|
|
495
|
+
return C;
|
|
516
496
|
}
|
|
517
497
|
};
|
|
518
|
-
|
|
519
|
-
const
|
|
520
|
-
|
|
521
|
-
(ft.litElementVersions ??= []).push("4.2.
|
|
522
|
-
class
|
|
498
|
+
P._$litElement$ = !0, P.finalized = !0, ft.litElementHydrateSupport?.({ LitElement: P });
|
|
499
|
+
const me = ft.litElementPolyfillSupport;
|
|
500
|
+
me?.({ LitElement: P });
|
|
501
|
+
(ft.litElementVersions ??= []).push("4.2.2");
|
|
502
|
+
class ye extends P {
|
|
523
503
|
constructor() {
|
|
524
504
|
super(...arguments), this.object = {
|
|
525
505
|
"@id": ""
|
|
@@ -529,29 +509,19 @@ class me extends C {
|
|
|
529
509
|
};
|
|
530
510
|
}
|
|
531
511
|
}
|
|
532
|
-
/**
|
|
533
|
-
* @license
|
|
534
|
-
* Copyright 2017 Google LLC
|
|
535
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
536
|
-
*/
|
|
537
512
|
const pt = (e) => (t, s) => {
|
|
538
|
-
s !== void 0 ? s.addInitializer((
|
|
513
|
+
s !== void 0 ? s.addInitializer(() => {
|
|
539
514
|
customElements.define(e, t);
|
|
540
|
-
})
|
|
515
|
+
}) : customElements.define(e, t);
|
|
541
516
|
};
|
|
542
|
-
|
|
543
|
-
* @license
|
|
544
|
-
* Copyright 2017 Google LLC
|
|
545
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
546
|
-
*/
|
|
547
|
-
const ye = { attribute: !0, type: String, converter: B, reflect: !1, hasChanged: X }, ve = (e = ye, t, s) => {
|
|
517
|
+
const ve = { attribute: !0, type: String, converter: B, reflect: !1, hasChanged: Z }, _e = (e = ve, t, s) => {
|
|
548
518
|
const { kind: i, metadata: r } = s;
|
|
549
519
|
let o = globalThis.litPropertyMetadata.get(r);
|
|
550
520
|
if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), i === "setter" && ((e = Object.create(e)).wrapped = !0), o.set(s.name, e), i === "accessor") {
|
|
551
521
|
const { name: n } = s;
|
|
552
522
|
return { set(a) {
|
|
553
523
|
const l = t.get.call(this);
|
|
554
|
-
t.set.call(this, a), this.requestUpdate(n, l, e);
|
|
524
|
+
t.set.call(this, a), this.requestUpdate(n, l, e, !0, a);
|
|
555
525
|
}, init(a) {
|
|
556
526
|
return a !== void 0 && this.C(n, void 0, e, a), a;
|
|
557
527
|
} };
|
|
@@ -560,42 +530,37 @@ const ye = { attribute: !0, type: String, converter: B, reflect: !1, hasChanged:
|
|
|
560
530
|
const { name: n } = s;
|
|
561
531
|
return function(a) {
|
|
562
532
|
const l = this[n];
|
|
563
|
-
t.call(this, a), this.requestUpdate(n, l, e);
|
|
533
|
+
t.call(this, a), this.requestUpdate(n, l, e, !0, a);
|
|
564
534
|
};
|
|
565
535
|
}
|
|
566
536
|
throw Error("Unsupported decorator location: " + i);
|
|
567
537
|
};
|
|
568
538
|
function f(e) {
|
|
569
|
-
return (t, s) => typeof s == "object" ?
|
|
539
|
+
return (t, s) => typeof s == "object" ? _e(e, t, s) : ((i, r, o) => {
|
|
570
540
|
const n = r.hasOwnProperty(o);
|
|
571
541
|
return r.constructor.createProperty(o, i), n ? Object.getOwnPropertyDescriptor(r, o) : void 0;
|
|
572
542
|
})(e, t, s);
|
|
573
543
|
}
|
|
574
|
-
|
|
575
|
-
* @license
|
|
576
|
-
* Copyright 2017 Google LLC
|
|
577
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
578
|
-
*/
|
|
579
|
-
function R(e) {
|
|
544
|
+
function O(e) {
|
|
580
545
|
return f({ ...e, state: !0, attribute: !1 });
|
|
581
546
|
}
|
|
582
|
-
var
|
|
547
|
+
var $e = Object.defineProperty, be = (e, t, s, i) => {
|
|
583
548
|
for (var r = void 0, o = e.length - 1, n; o >= 0; o--)
|
|
584
549
|
(n = e[o]) && (r = n(t, s, r) || r);
|
|
585
|
-
return r &&
|
|
550
|
+
return r && $e(t, s, r), r;
|
|
586
551
|
};
|
|
587
|
-
class gt extends
|
|
552
|
+
class gt extends P {
|
|
588
553
|
constructor() {
|
|
589
554
|
super(...arguments), this.objects = [], this.hasType = (t, s = this.objects) => new Set(s.flatMap((r) => r["@type"])).has(t);
|
|
590
555
|
}
|
|
591
556
|
}
|
|
592
|
-
|
|
557
|
+
be([
|
|
593
558
|
f({ attribute: !1 })
|
|
594
559
|
], gt.prototype, "objects");
|
|
595
|
-
var
|
|
560
|
+
var we = Object.defineProperty, b = (e, t, s, i) => {
|
|
596
561
|
for (var r = void 0, o = e.length - 1, n; o >= 0; o--)
|
|
597
562
|
(n = e[o]) && (r = n(t, s, r) || r);
|
|
598
|
-
return r &&
|
|
563
|
+
return r && we(t, s, r), r;
|
|
599
564
|
};
|
|
600
565
|
class m extends gt {
|
|
601
566
|
constructor({
|
|
@@ -614,7 +579,7 @@ class m extends gt {
|
|
|
614
579
|
document.readyState === "complete" ? r() : document.addEventListener("readystatechange", r);
|
|
615
580
|
}
|
|
616
581
|
async _attach(t, s, i) {
|
|
617
|
-
return !this.orbit && window.orbit && (this.orbit = window.orbit, s) ? (
|
|
582
|
+
return !this.orbit && window.orbit && (this.orbit = window.orbit, s) ? (xe({
|
|
618
583
|
component: this,
|
|
619
584
|
defaultRoute: t,
|
|
620
585
|
ignoreRouter: i
|
|
@@ -634,7 +599,7 @@ class m extends gt {
|
|
|
634
599
|
);
|
|
635
600
|
a && (i = a[0]?.uniq);
|
|
636
601
|
}
|
|
637
|
-
i &&
|
|
602
|
+
i && M(
|
|
638
603
|
(window.orbit ? window.orbit.getRoute(i, !0) : i) + (r ? `-${r}` : ""),
|
|
639
604
|
o
|
|
640
605
|
), t.preventDefault();
|
|
@@ -735,20 +700,20 @@ b([
|
|
|
735
700
|
f({ attribute: !1 })
|
|
736
701
|
], m.prototype, "cherryPickedProperties");
|
|
737
702
|
b([
|
|
738
|
-
|
|
703
|
+
O()
|
|
739
704
|
], m.prototype, "orbit");
|
|
740
705
|
b([
|
|
741
|
-
|
|
706
|
+
O()
|
|
742
707
|
], m.prototype, "currentRoute");
|
|
743
|
-
function
|
|
708
|
+
function Ae() {
|
|
744
709
|
return Math.random().toString(16).slice(2);
|
|
745
710
|
}
|
|
746
|
-
const
|
|
711
|
+
const xe = ({
|
|
747
712
|
component: e,
|
|
748
713
|
defaultRoute: t = !1,
|
|
749
714
|
ignoreRouter: s = !1
|
|
750
715
|
}) => {
|
|
751
|
-
if (e.uniq || (e.uniq =
|
|
716
|
+
if (e.uniq || (e.uniq = Ae(), t && !e.route && !s && (e.route = t)), e._subscriptions = /* @__PURE__ */ new Set(), !s) {
|
|
752
717
|
e.route || (e.route = e.uniq, window.orbit && (e.route = window.orbit.getRoute(e.uniq))), e.noRouter = !0;
|
|
753
718
|
let i = document.querySelector("solid-router");
|
|
754
719
|
for (; i; )
|
|
@@ -794,14 +759,14 @@ const st = (e, t, s) => {
|
|
|
794
759
|
return Array.isArray(e) ? e.some(
|
|
795
760
|
(o) => st(o, t, s)
|
|
796
761
|
) : typeof e == "object" ? Object.entries(e).some(([o, n]) => o === t && Ct(n) ? !1 : st(n, t, s)) : !1;
|
|
797
|
-
},
|
|
762
|
+
}, Ee = (e, t, s) => {
|
|
798
763
|
if (!t || !s || typeof s != "string")
|
|
799
764
|
return e;
|
|
800
765
|
const i = new Date(s);
|
|
801
766
|
return Number.isNaN(i.getTime()) ? (console.warn(`Invalid threshold date provided: ${s}`), e) : e.filter(
|
|
802
767
|
(r) => st(r, t, i)
|
|
803
768
|
);
|
|
804
|
-
},
|
|
769
|
+
}, Se = (e, t, s) => !t || !s ? e : e.filter((i) => {
|
|
805
770
|
let r = i;
|
|
806
771
|
const o = t.split(".");
|
|
807
772
|
for (const a of o)
|
|
@@ -814,7 +779,7 @@ const st = (e, t, s) => {
|
|
|
814
779
|
(a) => typeof a == "object" && a !== null && "@id" in a && a["@id"] === s
|
|
815
780
|
) : !1 : !1;
|
|
816
781
|
});
|
|
817
|
-
function
|
|
782
|
+
function Pe(e) {
|
|
818
783
|
return typeof e != "string" && typeof e != "number" && !(e instanceof Date) ? !1 : !Number.isNaN(new Date(e).getTime());
|
|
819
784
|
}
|
|
820
785
|
const rt = (e, t, s, i) => {
|
|
@@ -830,7 +795,7 @@ const rt = (e, t, s, i) => {
|
|
|
830
795
|
if (typeof o == "number") {
|
|
831
796
|
if (typeof s == "number" && typeof i == "number" && s <= o && o <= i)
|
|
832
797
|
return !0;
|
|
833
|
-
} else if (
|
|
798
|
+
} else if (Pe(o)) {
|
|
834
799
|
const n = new Date(o);
|
|
835
800
|
if (s instanceof Date && i instanceof Date && s <= n && n <= i)
|
|
836
801
|
return !0;
|
|
@@ -881,7 +846,7 @@ const rt = (e, t, s, i) => {
|
|
|
881
846
|
)
|
|
882
847
|
), i === 2) break;
|
|
883
848
|
return i;
|
|
884
|
-
},
|
|
849
|
+
}, je = (e, t, s) => {
|
|
885
850
|
if (!t || !s || s.trim() === "")
|
|
886
851
|
return e;
|
|
887
852
|
const i = s.toLowerCase(), o = e.map((n) => {
|
|
@@ -894,11 +859,11 @@ const rt = (e, t, s, i) => {
|
|
|
894
859
|
a = null;
|
|
895
860
|
break;
|
|
896
861
|
}
|
|
897
|
-
let
|
|
898
|
-
return a && (
|
|
862
|
+
let u = 0;
|
|
863
|
+
return a && (u = it(a, i)), { obj: n, score: u };
|
|
899
864
|
}).filter((n) => n.score > 0);
|
|
900
865
|
return o.sort((n, a) => a.score - n.score), o.map((n) => n.obj);
|
|
901
|
-
},
|
|
866
|
+
}, Re = (e, t) => t ? e.filter((s) => {
|
|
902
867
|
const i = s["@type"];
|
|
903
868
|
return i ? typeof i == "string" ? i === t : Array.isArray(i) ? i.some((r) => r === t) : !1 : !1;
|
|
904
869
|
}) : e, ot = (e, t, s) => {
|
|
@@ -936,14 +901,14 @@ const rt = (e, t, s, i) => {
|
|
|
936
901
|
score: ot(o, s)
|
|
937
902
|
})).filter((o) => o.score > 0);
|
|
938
903
|
return r.sort((o, n) => n.score - o.score), r.map((o) => o.obj);
|
|
939
|
-
},
|
|
904
|
+
}, jt = (e, t) => {
|
|
940
905
|
let s = e;
|
|
941
906
|
for (let i = 0; i < t.length && (s && t[i] in s); i++)
|
|
942
907
|
s = s[t[i]];
|
|
943
908
|
return s;
|
|
944
|
-
},
|
|
909
|
+
}, Rt = (e, t, s = "asc") => e.sort((i, r) => {
|
|
945
910
|
let o = i, n = r;
|
|
946
|
-
Array.isArray(t) ? (o =
|
|
911
|
+
Array.isArray(t) ? (o = jt(i, t), n = jt(r, t)) : (o = i[t], n = r[t]);
|
|
947
912
|
let a = 0;
|
|
948
913
|
if (typeof o == "number" && typeof n == "number")
|
|
949
914
|
a = o - n;
|
|
@@ -962,7 +927,7 @@ const rt = (e, t, s, i) => {
|
|
|
962
927
|
if (!e) return "";
|
|
963
928
|
const i = (typeof e == "string" ? new Date(e) : e).toLocaleString(void 0, t);
|
|
964
929
|
return typeof e == "string" && i === "Invalid Date" ? e : i;
|
|
965
|
-
},
|
|
930
|
+
}, M = (e, t = !1) => {
|
|
966
931
|
window.dispatchEvent(
|
|
967
932
|
new CustomEvent("requestNavigation", {
|
|
968
933
|
detail: {
|
|
@@ -972,41 +937,21 @@ const rt = (e, t, s, i) => {
|
|
|
972
937
|
})
|
|
973
938
|
);
|
|
974
939
|
}, Ot = {};
|
|
975
|
-
/**
|
|
976
|
-
* @license
|
|
977
|
-
* Copyright 2021 Google LLC
|
|
978
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
979
|
-
*/
|
|
980
940
|
const nt = "lit-localize-status";
|
|
981
|
-
|
|
982
|
-
* @license
|
|
983
|
-
* Copyright 2021 Google LLC
|
|
984
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
985
|
-
*/
|
|
986
|
-
const Re = (e) => typeof e != "string" && "strTag" in e, zt = (e, t, s) => {
|
|
941
|
+
const ke = (e) => typeof e != "string" && "strTag" in e, Bt = (e, t, s) => {
|
|
987
942
|
let i = e[0];
|
|
988
943
|
for (let r = 1; r < e.length; r++)
|
|
989
944
|
i += t[s ? s[r - 1] : r - 1], i += e[r];
|
|
990
945
|
return i;
|
|
991
946
|
};
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
*/
|
|
997
|
-
const Bt = ((e) => Re(e) ? zt(e.strings, e.values) : e);
|
|
998
|
-
let _ = Bt, Rt = !1;
|
|
999
|
-
function Te(e) {
|
|
1000
|
-
if (Rt)
|
|
947
|
+
const Ft = ((e) => ke(e) ? Bt(e.strings, e.values) : e);
|
|
948
|
+
let _ = Ft, kt = !1;
|
|
949
|
+
function Me(e) {
|
|
950
|
+
if (kt)
|
|
1001
951
|
throw new Error("lit-localize can only be configured once");
|
|
1002
|
-
_ = e,
|
|
952
|
+
_ = e, kt = !0;
|
|
1003
953
|
}
|
|
1004
|
-
|
|
1005
|
-
* @license
|
|
1006
|
-
* Copyright 2021 Google LLC
|
|
1007
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1008
|
-
*/
|
|
1009
|
-
class ke {
|
|
954
|
+
class Te {
|
|
1010
955
|
constructor(t) {
|
|
1011
956
|
this.__litLocalizeEventHandler = (s) => {
|
|
1012
957
|
s.detail.status === "ready" && this.host.requestUpdate();
|
|
@@ -1019,19 +964,9 @@ class ke {
|
|
|
1019
964
|
window.removeEventListener(nt, this.__litLocalizeEventHandler);
|
|
1020
965
|
}
|
|
1021
966
|
}
|
|
1022
|
-
const
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
* Copyright 2021 Google LLC
|
|
1026
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1027
|
-
*/
|
|
1028
|
-
const Ue = () => (e, t) => (e.addInitializer(Le), e);
|
|
1029
|
-
/**
|
|
1030
|
-
* @license
|
|
1031
|
-
* Copyright 2020 Google LLC
|
|
1032
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1033
|
-
*/
|
|
1034
|
-
class Ft {
|
|
967
|
+
const Le = (e) => e.addController(new Te(e)), Ue = Le;
|
|
968
|
+
const De = () => (e, t) => (e.addInitializer(Ue), e);
|
|
969
|
+
class Vt {
|
|
1035
970
|
constructor() {
|
|
1036
971
|
this.settled = !1, this.promise = new Promise((t, s) => {
|
|
1037
972
|
this._resolve = t, this._reject = s;
|
|
@@ -1044,43 +979,28 @@ class Ft {
|
|
|
1044
979
|
this.settled = !0, this._reject(t);
|
|
1045
980
|
}
|
|
1046
981
|
}
|
|
1047
|
-
/**
|
|
1048
|
-
* @license
|
|
1049
|
-
* Copyright 2014 Travis Webb
|
|
1050
|
-
* SPDX-License-Identifier: MIT
|
|
1051
|
-
*/
|
|
1052
982
|
const g = [];
|
|
1053
983
|
for (let e = 0; e < 256; e++)
|
|
1054
984
|
g[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
|
|
1055
|
-
function
|
|
985
|
+
function Ne(e) {
|
|
1056
986
|
let t = 0, s = 8997, i = 0, r = 33826, o = 0, n = 40164, a = 0, l = 52210;
|
|
1057
|
-
for (let
|
|
1058
|
-
s ^= e.charCodeAt(
|
|
987
|
+
for (let u = 0; u < e.length; u++)
|
|
988
|
+
s ^= e.charCodeAt(u), t = s * 435, i = r * 435, o = n * 435, a = l * 435, o += s << 8, a += r << 8, i += t >>> 16, s = t & 65535, o += i >>> 16, r = i & 65535, l = a + (o >>> 16) & 65535, n = o & 65535;
|
|
1059
989
|
return g[l >> 8] + g[l & 255] + g[n >> 8] + g[n & 255] + g[r >> 8] + g[r & 255] + g[s >> 8] + g[s & 255];
|
|
1060
990
|
}
|
|
1061
|
-
|
|
1062
|
-
* @license
|
|
1063
|
-
* Copyright 2020 Google LLC
|
|
1064
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1065
|
-
*/
|
|
1066
|
-
const Ne = "", He = "h", qe = "s";
|
|
991
|
+
const He = "", qe = "h", ze = "s";
|
|
1067
992
|
function Ie(e, t) {
|
|
1068
|
-
return (t ?
|
|
993
|
+
return (t ? qe : ze) + Ne(typeof e == "string" ? e : e.join(He));
|
|
1069
994
|
}
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
* Copyright 2021 Google LLC
|
|
1073
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1074
|
-
*/
|
|
1075
|
-
const Tt = /* @__PURE__ */ new WeakMap(), kt = /* @__PURE__ */ new Map();
|
|
1076
|
-
function ze(e, t, s) {
|
|
995
|
+
const Mt = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new Map();
|
|
996
|
+
function Be(e, t, s) {
|
|
1077
997
|
if (e) {
|
|
1078
|
-
const i = s?.id ??
|
|
998
|
+
const i = s?.id ?? Fe(t), r = e[i];
|
|
1079
999
|
if (r) {
|
|
1080
1000
|
if (typeof r == "string")
|
|
1081
1001
|
return r;
|
|
1082
1002
|
if ("strTag" in r)
|
|
1083
|
-
return
|
|
1003
|
+
return Bt(
|
|
1084
1004
|
r.strings,
|
|
1085
1005
|
// Cast `template` because its type wasn't automatically narrowed (but
|
|
1086
1006
|
// we know it must be the same type as `localized`).
|
|
@@ -1088,60 +1008,55 @@ function ze(e, t, s) {
|
|
|
1088
1008
|
r.values
|
|
1089
1009
|
);
|
|
1090
1010
|
{
|
|
1091
|
-
let o =
|
|
1092
|
-
return o === void 0 && (o = r.values,
|
|
1011
|
+
let o = Mt.get(r);
|
|
1012
|
+
return o === void 0 && (o = r.values, Mt.set(r, o)), {
|
|
1093
1013
|
...r,
|
|
1094
1014
|
values: o.map((n) => t.values[n])
|
|
1095
1015
|
};
|
|
1096
1016
|
}
|
|
1097
1017
|
}
|
|
1098
1018
|
}
|
|
1099
|
-
return
|
|
1019
|
+
return Ft(t);
|
|
1100
1020
|
}
|
|
1101
|
-
function
|
|
1021
|
+
function Fe(e) {
|
|
1102
1022
|
const t = typeof e == "string" ? e : e.strings;
|
|
1103
|
-
let s =
|
|
1104
|
-
return s === void 0 && (s = Ie(t, typeof e != "string" && !("strTag" in e)),
|
|
1023
|
+
let s = Tt.get(t);
|
|
1024
|
+
return s === void 0 && (s = Ie(t, typeof e != "string" && !("strTag" in e)), Tt.set(t, s)), s;
|
|
1105
1025
|
}
|
|
1106
|
-
/**
|
|
1107
|
-
* @license
|
|
1108
|
-
* Copyright 2021 Google LLC
|
|
1109
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1110
|
-
*/
|
|
1111
1026
|
function tt(e) {
|
|
1112
1027
|
window.dispatchEvent(new CustomEvent(nt, { detail: e }));
|
|
1113
1028
|
}
|
|
1114
|
-
let V = "", et,
|
|
1029
|
+
let V = "", et, Wt, W, at, Kt, A = new Vt();
|
|
1115
1030
|
A.resolve();
|
|
1116
|
-
let
|
|
1117
|
-
const
|
|
1031
|
+
let z = 0;
|
|
1032
|
+
const Ve = (e) => (Me(((t, s) => Be(Kt, t, s))), V = Wt = e.sourceLocale, W = new Set(e.targetLocales), W.add(e.sourceLocale), at = e.loadLocale, { getLocale: We, setLocale: Ke }), We = () => V, Ke = (e) => {
|
|
1118
1033
|
if (e === (et ?? V))
|
|
1119
1034
|
return A.promise;
|
|
1120
1035
|
if (!W || !at)
|
|
1121
1036
|
throw new Error("Internal error");
|
|
1122
1037
|
if (!W.has(e))
|
|
1123
1038
|
throw new Error("Invalid locale code");
|
|
1124
|
-
|
|
1125
|
-
const t =
|
|
1126
|
-
return et = e, A.settled && (A = new
|
|
1039
|
+
z++;
|
|
1040
|
+
const t = z;
|
|
1041
|
+
return et = e, A.settled && (A = new Vt()), tt({ status: "loading", loadingLocale: e }), (e === Wt ? (
|
|
1127
1042
|
// We could switch to the source locale synchronously, but we prefer to
|
|
1128
1043
|
// queue it on a microtask so that switching locales is consistently
|
|
1129
1044
|
// asynchronous.
|
|
1130
1045
|
Promise.resolve({ templates: void 0 })
|
|
1131
1046
|
) : at(e)).then((i) => {
|
|
1132
|
-
|
|
1047
|
+
z === t && (V = e, et = void 0, Kt = i.templates, tt({ status: "ready", readyLocale: e }), A.resolve());
|
|
1133
1048
|
}, (i) => {
|
|
1134
|
-
|
|
1049
|
+
z === t && (tt({
|
|
1135
1050
|
status: "error",
|
|
1136
1051
|
errorLocale: e,
|
|
1137
1052
|
errorMessage: i.toString()
|
|
1138
1053
|
}), A.reject(i));
|
|
1139
1054
|
}), A.promise;
|
|
1140
1055
|
};
|
|
1141
|
-
var
|
|
1142
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
1056
|
+
var Ge = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, mt = (e, t, s, i) => {
|
|
1057
|
+
for (var r = i > 1 ? void 0 : i ? Ze(t, s) : t, o = e.length - 1, n; o >= 0; o--)
|
|
1143
1058
|
(n = e[o]) && (r = (i ? n(t, s, r) : n(r)) || r);
|
|
1144
|
-
return i && r &&
|
|
1059
|
+
return i && r && Ge(t, s, r), r;
|
|
1145
1060
|
};
|
|
1146
1061
|
let N = class extends gt {
|
|
1147
1062
|
constructor() {
|
|
@@ -1173,7 +1088,7 @@ let N = class extends gt {
|
|
|
1173
1088
|
break;
|
|
1174
1089
|
case "dateAfter":
|
|
1175
1090
|
o.push(
|
|
1176
|
-
|
|
1091
|
+
Ee(
|
|
1177
1092
|
i,
|
|
1178
1093
|
n.name,
|
|
1179
1094
|
n.value
|
|
@@ -1182,7 +1097,7 @@ let N = class extends gt {
|
|
|
1182
1097
|
break;
|
|
1183
1098
|
case "matchId":
|
|
1184
1099
|
o.push(
|
|
1185
|
-
|
|
1100
|
+
Se(
|
|
1186
1101
|
i,
|
|
1187
1102
|
n.name,
|
|
1188
1103
|
n.value
|
|
@@ -1191,12 +1106,12 @@ let N = class extends gt {
|
|
|
1191
1106
|
break;
|
|
1192
1107
|
case "matchType":
|
|
1193
1108
|
o.push(
|
|
1194
|
-
|
|
1109
|
+
Re(i, n.value)
|
|
1195
1110
|
);
|
|
1196
1111
|
break;
|
|
1197
1112
|
case "exact":
|
|
1198
1113
|
o.push(
|
|
1199
|
-
|
|
1114
|
+
je(
|
|
1200
1115
|
i,
|
|
1201
1116
|
n.name,
|
|
1202
1117
|
n.value
|
|
@@ -1244,7 +1159,7 @@ let N = class extends gt {
|
|
|
1244
1159
|
</div>`;
|
|
1245
1160
|
}
|
|
1246
1161
|
};
|
|
1247
|
-
N.styles =
|
|
1162
|
+
N.styles = ut`
|
|
1248
1163
|
.card-grid {
|
|
1249
1164
|
display: flex;
|
|
1250
1165
|
flex-direction: row;
|
|
@@ -1263,21 +1178,21 @@ N.styles = ht`
|
|
|
1263
1178
|
}
|
|
1264
1179
|
`;
|
|
1265
1180
|
mt([
|
|
1266
|
-
|
|
1181
|
+
O()
|
|
1267
1182
|
], N.prototype, "search", 2);
|
|
1268
1183
|
mt([
|
|
1269
|
-
|
|
1184
|
+
O()
|
|
1270
1185
|
], N.prototype, "_displayObjects", 2);
|
|
1271
1186
|
N = mt([
|
|
1272
1187
|
pt("ds4go-fact-bundle-holder")
|
|
1273
1188
|
], N);
|
|
1274
|
-
const
|
|
1275
|
-
var
|
|
1276
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
1189
|
+
const Je = ".flex{display:flex}.flex.flex-row{flex-direction:row}.flex.flex-column{flex-direction:column}.flex.wrap{flex-wrap:wrap}.flex.flex-1{flex:1}.flex .half,.flex.half{flex-basis:50%}.flex.justify-content-center{justify-content:center}.flex.justify-content-space-between{justify-content:space-between}.flex.align-items-center{align-items:center}.flex.align-items-flex-start{align-items:flex-start}.full-width{width:100%}.modal{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);color:var(--color-text-body);display:flex;flex-direction:column;font-family:var(--font-family-body);font-size:var(--typography-size-body-md);font-style:normal;font-weight:var(--font-weight-regular);gap:var(--scale-600);height:90vh;letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-md);padding:var(--scale-600) var(--scale-900);width:90vw}.modal .topbar{display:flex;flex-direction:row;gap:var(--scale-400);width:100%}.modal .topbar tems-button:nth-child(2){margin-left:auto}.modal .modal-content-wrapper{display:flex;flex:1;flex-direction:column;overflow:hidden}.modal .modal-content-wrapper .modal-box{display:flex;flex:1;overflow-x:hidden;overflow-y:scroll}.modal .modal-content-wrapper .modal-content{display:flex;flex-direction:column;gap:var(--scale-400);height:fit-content;width:100%}.modal .modal-content-wrapper tems-division{width:fit-content}.modal .modal-content-wrapper tems-division div{display:block;height:auto;overflow:hidden;text-overflow:ellipsis}.modal .modal-content-wrapper .card-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.modal .modal-content-wrapper .card-grid-vertical{justify-content:stretch}.modal .modal-content-wrapper .card-grid-vertical tems-card-catalog{height:auto;width:354px}@media screen and (min-width:1100px){div.modal{height:80vh;width:80vw}}";
|
|
1190
|
+
var Xe = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, Gt = (e, t, s, i) => {
|
|
1191
|
+
for (var r = i > 1 ? void 0 : i ? Qe(t, s) : t, o = e.length - 1, n; o >= 0; o--)
|
|
1277
1192
|
(n = e[o]) && (r = (i ? n(t, s, r) : n(r)) || r);
|
|
1278
|
-
return i && r &&
|
|
1193
|
+
return i && r && Xe(t, s, r), r;
|
|
1279
1194
|
};
|
|
1280
|
-
let K = class extends
|
|
1195
|
+
let K = class extends ye {
|
|
1281
1196
|
constructor() {
|
|
1282
1197
|
super(...arguments), this.object = { "@id": "" };
|
|
1283
1198
|
}
|
|
@@ -1343,23 +1258,18 @@ let K = class extends me {
|
|
|
1343
1258
|
</div>`;
|
|
1344
1259
|
}
|
|
1345
1260
|
};
|
|
1346
|
-
K.styles =
|
|
1347
|
-
${
|
|
1261
|
+
K.styles = ut`
|
|
1262
|
+
${Nt(Je)}
|
|
1348
1263
|
`;
|
|
1349
|
-
|
|
1264
|
+
Gt([
|
|
1350
1265
|
f({ attribute: !1, type: Object })
|
|
1351
1266
|
], K.prototype, "object", 2);
|
|
1352
|
-
K =
|
|
1267
|
+
K = Gt([
|
|
1353
1268
|
pt("ds4go-fact-bundle-modal"),
|
|
1354
|
-
|
|
1269
|
+
De()
|
|
1355
1270
|
], K);
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
* Copyright 2017 Google LLC
|
|
1359
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
1360
|
-
*/
|
|
1361
|
-
const Qe = Symbol();
|
|
1362
|
-
class Ye {
|
|
1271
|
+
const Ye = /* @__PURE__ */ Symbol();
|
|
1272
|
+
class ts {
|
|
1363
1273
|
get taskComplete() {
|
|
1364
1274
|
return this.t || (this.i === 1 ? this.t = new Promise(((t, s) => {
|
|
1365
1275
|
this.o = t, this.h = s;
|
|
@@ -1368,7 +1278,7 @@ class Ye {
|
|
|
1368
1278
|
constructor(t, s, i) {
|
|
1369
1279
|
this.p = 0, this.i = 0, (this._ = t).addController(this);
|
|
1370
1280
|
const r = typeof s == "object" ? s : { task: s, args: i };
|
|
1371
|
-
this.v = r.task, this.j = r.args, this.m = r.argsEqual ??
|
|
1281
|
+
this.v = r.task, this.j = r.args, this.m = r.argsEqual ?? es, this.k = r.onComplete, this.A = r.onError, this.autoRun = r.autoRun ?? !0, "initialValue" in r && (this.u = r.initialValue, this.i = 2, this.O = this.T?.());
|
|
1372
1282
|
}
|
|
1373
1283
|
hostUpdate() {
|
|
1374
1284
|
this.autoRun === !0 && this.S();
|
|
@@ -1398,7 +1308,7 @@ class Ye {
|
|
|
1398
1308
|
o = !0, i = n;
|
|
1399
1309
|
}
|
|
1400
1310
|
if (this.p === r) {
|
|
1401
|
-
if (s ===
|
|
1311
|
+
if (s === Ye) this.i = 0;
|
|
1402
1312
|
else {
|
|
1403
1313
|
if (o === !1) {
|
|
1404
1314
|
try {
|
|
@@ -1445,20 +1355,20 @@ class Ye {
|
|
|
1445
1355
|
}
|
|
1446
1356
|
}
|
|
1447
1357
|
}
|
|
1448
|
-
const
|
|
1449
|
-
var
|
|
1450
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
1358
|
+
const es = (e, t) => e === t || e.length === t.length && e.every(((s, i) => !Z(s, t[i])));
|
|
1359
|
+
var ss = Object.defineProperty, rs = Object.getOwnPropertyDescriptor, X = (e, t, s, i) => {
|
|
1360
|
+
for (var r = i > 1 ? void 0 : i ? rs(t, s) : t, o = e.length - 1, n; o >= 0; o--)
|
|
1451
1361
|
(n = e[o]) && (r = (i ? n(t, s, r) : n(r)) || r);
|
|
1452
|
-
return i && r &&
|
|
1362
|
+
return i && r && ss(t, s, r), r;
|
|
1453
1363
|
};
|
|
1454
|
-
let
|
|
1364
|
+
let R = class extends m {
|
|
1455
1365
|
constructor() {
|
|
1456
1366
|
super(...arguments), this.header = "DS4GO Fact Bundling", this.search = [], this.resultCount = this.objects?.length || 0, this.cherryPickedProperties = [
|
|
1457
1367
|
{ key: "created_at", value: "created_at", cast: Y },
|
|
1458
1368
|
{ key: "updated_at", value: "updated_at", cast: Y },
|
|
1459
1369
|
{ key: "name", value: "name" },
|
|
1460
1370
|
{ key: "description", value: "description" }
|
|
1461
|
-
], this._getResource = new
|
|
1371
|
+
], this._getResource = new ts(this, {
|
|
1462
1372
|
task: async ([e, t]) => {
|
|
1463
1373
|
if (!(!e && !t || !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))) {
|
|
1464
1374
|
if (this.menuComponent.ready || await new Promise((s) => {
|
|
@@ -1469,7 +1379,7 @@ let O = class extends m {
|
|
|
1469
1379
|
if (!e) return;
|
|
1470
1380
|
this.objects = await this._getProxyValue(e), this.hasCachedDatas = !0;
|
|
1471
1381
|
}
|
|
1472
|
-
return this.oldDataSrc !== e && (this.oldDataSrc = e), Array.isArray(this.objects) || (this.objects = []), this.object = this.objects.find((s) => s["@id"] === t),
|
|
1382
|
+
return this.oldDataSrc !== e && (this.oldDataSrc = e), Array.isArray(this.objects) || (this.objects = []), this.object = this.objects.find((s) => s["@id"] === t), Rt(this.objects, "name", "asc");
|
|
1473
1383
|
}
|
|
1474
1384
|
},
|
|
1475
1385
|
args: () => [
|
|
@@ -1491,7 +1401,7 @@ let O = class extends m {
|
|
|
1491
1401
|
key: "categories",
|
|
1492
1402
|
value: "categories",
|
|
1493
1403
|
expand: !0,
|
|
1494
|
-
cast: (s) =>
|
|
1404
|
+
cast: (s) => Rt(s, "name")
|
|
1495
1405
|
},
|
|
1496
1406
|
{ key: "author", value: "author" },
|
|
1497
1407
|
{ key: "link", value: "link" },
|
|
@@ -1519,22 +1429,22 @@ let O = class extends m {
|
|
|
1519
1429
|
_openModal(e) {
|
|
1520
1430
|
if (e.preventDefault(), this.route)
|
|
1521
1431
|
if ("use-id" in (this.component.routeAttributes || {}))
|
|
1522
|
-
|
|
1432
|
+
M(this.route, e.detail["@id"]);
|
|
1523
1433
|
else {
|
|
1524
1434
|
const t = e.detail["@type"]?.at(-1) ?? e.detail["@type"];
|
|
1525
1435
|
if (t) {
|
|
1526
1436
|
const s = window.orbit?.components?.filter(
|
|
1527
1437
|
(i) => i?.routeAttributes?.["rdf-type"] === t
|
|
1528
1438
|
);
|
|
1529
|
-
s?.[0]?.route &&
|
|
1439
|
+
s?.[0]?.route && M(s[0]?.route, e.detail["@id"]);
|
|
1530
1440
|
}
|
|
1531
1441
|
}
|
|
1532
1442
|
}
|
|
1533
1443
|
_closeModal(e) {
|
|
1534
|
-
e.preventDefault(), this.route &&
|
|
1444
|
+
e.preventDefault(), this.route && M(this.route, this.defaultDataSrc);
|
|
1535
1445
|
}
|
|
1536
1446
|
_closeModalFromBackground(e) {
|
|
1537
|
-
e.preventDefault(), this.route && e.target?.classList.contains("modal") &&
|
|
1447
|
+
e.preventDefault(), this.route && e.target?.classList.contains("modal") && M(this.route, this.defaultDataSrc);
|
|
1538
1448
|
}
|
|
1539
1449
|
_resultCountUpdate(e) {
|
|
1540
1450
|
this.resultCount = e.detail ?? 0;
|
|
@@ -1581,7 +1491,7 @@ let O = class extends m {
|
|
|
1581
1491
|
});
|
|
1582
1492
|
}
|
|
1583
1493
|
};
|
|
1584
|
-
|
|
1494
|
+
R.styles = ut`
|
|
1585
1495
|
.modal {
|
|
1586
1496
|
position: fixed;
|
|
1587
1497
|
top: 0;
|
|
@@ -1595,19 +1505,19 @@ O.styles = ht`
|
|
|
1595
1505
|
align-items: center;
|
|
1596
1506
|
}
|
|
1597
1507
|
`;
|
|
1598
|
-
|
|
1508
|
+
X([
|
|
1599
1509
|
f({ attribute: "header", type: String })
|
|
1600
|
-
],
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
],
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
],
|
|
1607
|
-
|
|
1510
|
+
], R.prototype, "header", 2);
|
|
1511
|
+
X([
|
|
1512
|
+
O()
|
|
1513
|
+
], R.prototype, "search", 2);
|
|
1514
|
+
X([
|
|
1515
|
+
O()
|
|
1516
|
+
], R.prototype, "resultCount", 2);
|
|
1517
|
+
R = X([
|
|
1608
1518
|
pt("solid-fact-bundle")
|
|
1609
|
-
],
|
|
1610
|
-
const
|
|
1519
|
+
], R);
|
|
1520
|
+
const is = {
|
|
1611
1521
|
sf5509a9f253b9836: "Create a bundle",
|
|
1612
1522
|
sefa717c1620c4ae4: "facts",
|
|
1613
1523
|
sef234a791696afff: "fact",
|
|
@@ -1615,20 +1525,20 @@ const rs = {
|
|
|
1615
1525
|
s0d1be7a2c400c080: "more",
|
|
1616
1526
|
s57a40de45f324b96: "Bundle created on",
|
|
1617
1527
|
sd3682395cf86f913: "Bundle updated on"
|
|
1618
|
-
},
|
|
1528
|
+
}, os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1619
1529
|
__proto__: null,
|
|
1620
|
-
templates:
|
|
1621
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1530
|
+
templates: is
|
|
1531
|
+
}, Symbol.toStringTag, { value: "Module" })), ns = "en", Zt = [
|
|
1622
1532
|
"en"
|
|
1623
|
-
],
|
|
1624
|
-
|
|
1533
|
+
], as = /* @__PURE__ */ Object.assign({ "../../generated/locales/en.ts": os }), ls = new Map(
|
|
1534
|
+
Zt.map((e) => [
|
|
1625
1535
|
e,
|
|
1626
|
-
|
|
1536
|
+
as[`../../generated/locales/${e}.ts`]
|
|
1627
1537
|
])
|
|
1628
|
-
), { getLocale:
|
|
1629
|
-
sourceLocale:
|
|
1630
|
-
targetLocales:
|
|
1631
|
-
loadLocale: async (e) =>
|
|
1538
|
+
), { getLocale: Lt, setLocale: Ut } = Ve({
|
|
1539
|
+
sourceLocale: ns,
|
|
1540
|
+
targetLocales: Zt,
|
|
1541
|
+
loadLocale: async (e) => ls.get(e)
|
|
1632
1542
|
});
|
|
1633
|
-
window.getLocale = window.getLocale ? window.getLocale.push(
|
|
1634
|
-
window.setLocale = window.setLocale ? window.setLocale.push(
|
|
1543
|
+
window.getLocale = window.getLocale ? window.getLocale.push(Lt) : [Lt];
|
|
1544
|
+
window.setLocale = window.setLocale ? window.setLocale.push(Ut) : [Ut];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startinblox/components-ds4go",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Startin'blox DS4GO",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -68,26 +68,26 @@
|
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@lit/localize": "^0.12.2",
|
|
70
70
|
"@lit/task": "^1.0.3",
|
|
71
|
-
"autoprefixer": "^10.4.
|
|
72
|
-
"cssnano": "^7.1.
|
|
73
|
-
"lit": "^3.3.
|
|
71
|
+
"autoprefixer": "^10.4.23",
|
|
72
|
+
"cssnano": "^7.1.2",
|
|
73
|
+
"lit": "^3.3.2",
|
|
74
74
|
"postcss": "^8.5.6",
|
|
75
|
-
"postcss-preset-env": "^
|
|
75
|
+
"postcss-preset-env": "^11.1.2",
|
|
76
76
|
"postcss-scss": "^4.0.9",
|
|
77
|
-
"sass": "^1.
|
|
78
|
-
"unplugin-icons": "^
|
|
79
|
-
"vite": "^7.1
|
|
77
|
+
"sass": "^1.97.3",
|
|
78
|
+
"unplugin-icons": "^23.0.1",
|
|
79
|
+
"vite": "^7.3.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@lit/localize-tools": "^0.8.
|
|
83
|
-
"@storybook/addon-docs": "^
|
|
84
|
-
"@storybook/web-components-vite": "^
|
|
82
|
+
"@lit/localize-tools": "^0.8.1",
|
|
83
|
+
"@storybook/addon-docs": "^10.2.3",
|
|
84
|
+
"@storybook/web-components-vite": "^10.2.3",
|
|
85
85
|
"baseline-browser-mapping": "^2.9.19",
|
|
86
86
|
"buffer": "^6.0.3",
|
|
87
|
-
"cypress": "^15.
|
|
87
|
+
"cypress": "^15.9.0",
|
|
88
88
|
"cypress-ct-lit": "^1.0.0",
|
|
89
89
|
"lorem-ipsum": "^2.0.8",
|
|
90
|
-
"storybook": "^
|
|
90
|
+
"storybook": "^10.2.3",
|
|
91
91
|
"stream-browserify": "^3.0.0"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -212,9 +212,6 @@ export default class extends ComponentObjectsHandler {
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
// TEMPFIX: weird store behaviour? (await await getData?)
|
|
216
|
-
// target = await target;
|
|
217
|
-
|
|
218
215
|
if (typeof resource !== "string" && !resource.isFullResource) {
|
|
219
216
|
// Edge case when calling getProxyValue with an already
|
|
220
217
|
// fetched resource with server search, not a proxy
|