@startinblox/components-ds4go 4.1.1 → 4.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +369 -277
- package/package.json +1 -1
- package/src/components/solid-dsp-connector.ts +125 -0
- package/src/components/solid-fact-list.ts +18 -11
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ const L = (e) => new Er(typeof e == "string" ? e : e + "", void 0, mi), A = (e,
|
|
|
36
36
|
for (const r of t.cssRules) i += r.cssText;
|
|
37
37
|
return L(i);
|
|
38
38
|
})(e) : e;
|
|
39
|
-
const { is: ys, defineProperty: vs, getOwnPropertyDescriptor: bs, getOwnPropertyNames:
|
|
39
|
+
const { is: ys, defineProperty: vs, getOwnPropertyDescriptor: bs, getOwnPropertyNames: ws, getOwnPropertySymbols: $s, getPrototypeOf: _s } = Object, Ie = globalThis, Li = Ie.trustedTypes, xs = Li ? Li.emptyScript : "", Ps = Ie.reactiveElementPolyfillSupport, Yt = (e, t) => e, be = { toAttribute(e, t) {
|
|
40
40
|
switch (t) {
|
|
41
41
|
case Boolean:
|
|
42
42
|
e = e ? xs : null;
|
|
@@ -66,7 +66,7 @@ const { is: ys, defineProperty: vs, getOwnPropertyDescriptor: bs, getOwnProperty
|
|
|
66
66
|
return i;
|
|
67
67
|
} }, Re = (e, t) => !ys(e, t), zi = { attribute: !0, type: String, converter: be, reflect: !1, useDefault: !1, hasChanged: Re };
|
|
68
68
|
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), Ie.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
69
|
-
let
|
|
69
|
+
let jt = class extends HTMLElement {
|
|
70
70
|
static addInitializer(t) {
|
|
71
71
|
this._$Ei(), (this.l ??= []).push(t);
|
|
72
72
|
}
|
|
@@ -101,7 +101,7 @@ let Tt = class extends HTMLElement {
|
|
|
101
101
|
static finalize() {
|
|
102
102
|
if (this.hasOwnProperty(Yt("finalized"))) return;
|
|
103
103
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Yt("properties"))) {
|
|
104
|
-
const i = this.properties, r = [
|
|
104
|
+
const i = this.properties, r = [...ws(i), ...$s(i)];
|
|
105
105
|
for (const s of r) this.createProperty(s, i[s]);
|
|
106
106
|
}
|
|
107
107
|
const t = this[Symbol.metadata];
|
|
@@ -247,10 +247,10 @@ let Tt = class extends HTMLElement {
|
|
|
247
247
|
firstUpdated(t) {
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
|
|
251
|
-
const fi = globalThis, qi = (e) => e,
|
|
252
|
-
\f\r]`, Wt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Wi = /-->/g, Gi = />/g,
|
|
253
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Vi = /"/g, Rr = /^(?:script|style|textarea|title)$/i, Ss = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), d = Ss(1), ut = /* @__PURE__ */ Symbol.for("lit-noChange"), p = /* @__PURE__ */ Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(),
|
|
250
|
+
jt.elementStyles = [], jt.shadowRootOptions = { mode: "open" }, jt[Yt("elementProperties")] = /* @__PURE__ */ new Map(), jt[Yt("finalized")] = /* @__PURE__ */ new Map(), Ps?.({ ReactiveElement: jt }), (Ie.reactiveElementVersions ??= []).push("2.1.2");
|
|
251
|
+
const fi = globalThis, qi = (e) => e, we = fi.trustedTypes, Bi = we ? we.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Or = "$lit$", dt = `lit$${Math.random().toFixed(9).slice(2)}$`, Ir = "?" + dt, As = `<${Ir}>`, St = document, Zt = () => St.createComment(""), Xt = (e) => e === null || typeof e != "object" && typeof e != "function", gi = Array.isArray, Cs = (e) => gi(e) || typeof e?.[Symbol.iterator] == "function", ze = `[
|
|
252
|
+
\f\r]`, Wt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Wi = /-->/g, Gi = />/g, xt = RegExp(`>|${ze}(?:([^\\s"'>=/]+)(${ze}*=${ze}*(?:[^
|
|
253
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Hi = /'/g, Vi = /"/g, Rr = /^(?:script|style|textarea|title)$/i, Ss = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), d = Ss(1), ut = /* @__PURE__ */ Symbol.for("lit-noChange"), p = /* @__PURE__ */ Symbol.for("lit-nothing"), Ki = /* @__PURE__ */ new WeakMap(), Ct = St.createTreeWalker(St, 129);
|
|
254
254
|
function Dr(e, t) {
|
|
255
255
|
if (!gi(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
256
256
|
return Bi !== void 0 ? Bi.createHTML(t) : t;
|
|
@@ -261,8 +261,8 @@ const Es = (e, t) => {
|
|
|
261
261
|
for (let n = 0; n < i; n++) {
|
|
262
262
|
const c = e[n];
|
|
263
263
|
let u, m, f = -1, g = 0;
|
|
264
|
-
for (; g < c.length && (a.lastIndex = g, m = a.exec(c), m !== null); ) g = a.lastIndex, a === Wt ? m[1] === "!--" ? a = Wi : m[1] !== void 0 ? a = Gi : m[2] !== void 0 ? (Rr.test(m[2]) && (s = RegExp("</" + m[2], "g")), a =
|
|
265
|
-
const v = a ===
|
|
264
|
+
for (; g < c.length && (a.lastIndex = g, m = a.exec(c), m !== null); ) g = a.lastIndex, a === Wt ? m[1] === "!--" ? a = Wi : m[1] !== void 0 ? a = Gi : m[2] !== void 0 ? (Rr.test(m[2]) && (s = RegExp("</" + m[2], "g")), a = xt) : m[3] !== void 0 && (a = xt) : a === xt ? m[0] === ">" ? (a = s ?? Wt, f = -1) : m[1] === void 0 ? f = -2 : (f = a.lastIndex - m[2].length, u = m[1], a = m[3] === void 0 ? xt : m[3] === '"' ? Vi : Hi) : a === Vi || a === Hi ? a = xt : a === Wi || a === Gi ? a = Wt : (a = xt, s = void 0);
|
|
265
|
+
const v = a === xt && e[n + 1].startsWith("/>") ? " " : "";
|
|
266
266
|
o += a === Wt ? c + As : f >= 0 ? (r.push(u), c.slice(0, f) + Or + c.slice(f) + dt + v) : c + dt + (f === -2 ? n : v);
|
|
267
267
|
}
|
|
268
268
|
return [Dr(e, o + (e[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
@@ -273,11 +273,11 @@ class Qt {
|
|
|
273
273
|
this.parts = [];
|
|
274
274
|
let o = 0, a = 0;
|
|
275
275
|
const n = t.length - 1, c = this.parts, [u, m] = Es(t, i);
|
|
276
|
-
if (this.el = Qt.createElement(u, r),
|
|
276
|
+
if (this.el = Qt.createElement(u, r), Ct.currentNode = this.el.content, i === 2 || i === 3) {
|
|
277
277
|
const f = this.el.content.firstChild;
|
|
278
278
|
f.replaceWith(...f.childNodes);
|
|
279
279
|
}
|
|
280
|
-
for (; (s =
|
|
280
|
+
for (; (s = Ct.nextNode()) !== null && c.length < n; ) {
|
|
281
281
|
if (s.nodeType === 1) {
|
|
282
282
|
if (s.hasAttributes()) for (const f of s.getAttributeNames()) if (f.endsWith(Or)) {
|
|
283
283
|
const g = m[a++], v = s.getAttribute(f).split(dt), b = /([.?@])?(.*)/.exec(g);
|
|
@@ -286,8 +286,8 @@ class Qt {
|
|
|
286
286
|
if (Rr.test(s.tagName)) {
|
|
287
287
|
const f = s.textContent.split(dt), g = f.length - 1;
|
|
288
288
|
if (g > 0) {
|
|
289
|
-
s.textContent =
|
|
290
|
-
for (let v = 0; v < g; v++) s.append(f[v], Zt()),
|
|
289
|
+
s.textContent = we ? we.emptyScript : "";
|
|
290
|
+
for (let v = 0; v < g; v++) s.append(f[v], Zt()), Ct.nextNode(), c.push({ type: 2, index: ++o });
|
|
291
291
|
s.append(f[g], Zt());
|
|
292
292
|
}
|
|
293
293
|
}
|
|
@@ -300,15 +300,15 @@ class Qt {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
static createElement(t, i) {
|
|
303
|
-
const r =
|
|
303
|
+
const r = St.createElement("template");
|
|
304
304
|
return r.innerHTML = t, r;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
-
function
|
|
307
|
+
function kt(e, t, i = e, r) {
|
|
308
308
|
if (t === ut) return t;
|
|
309
309
|
let s = r !== void 0 ? i._$Co?.[r] : i._$Cl;
|
|
310
310
|
const o = Xt(t) ? void 0 : t._$litDirective$;
|
|
311
|
-
return s?.constructor !== o && (s?._$AO?.(!1), o === void 0 ? s = void 0 : (s = new o(e), s._$AT(e, i, r)), r !== void 0 ? (i._$Co ??= [])[r] = s : i._$Cl = s), s !== void 0 && (t =
|
|
311
|
+
return s?.constructor !== o && (s?._$AO?.(!1), o === void 0 ? s = void 0 : (s = new o(e), s._$AT(e, i, r)), r !== void 0 ? (i._$Co ??= [])[r] = s : i._$Cl = s), s !== void 0 && (t = kt(e, s._$AS(e, t.values), s, r)), t;
|
|
312
312
|
}
|
|
313
313
|
let Os = class {
|
|
314
314
|
constructor(t, i) {
|
|
@@ -321,17 +321,17 @@ let Os = class {
|
|
|
321
321
|
return this._$AM._$AU;
|
|
322
322
|
}
|
|
323
323
|
u(t) {
|
|
324
|
-
const { el: { content: i }, parts: r } = this._$AD, s = (t?.creationScope ??
|
|
325
|
-
|
|
326
|
-
let o =
|
|
324
|
+
const { el: { content: i }, parts: r } = this._$AD, s = (t?.creationScope ?? St).importNode(i, !0);
|
|
325
|
+
Ct.currentNode = s;
|
|
326
|
+
let o = Ct.nextNode(), a = 0, n = 0, c = r[0];
|
|
327
327
|
for (; c !== void 0; ) {
|
|
328
328
|
if (a === c.index) {
|
|
329
329
|
let u;
|
|
330
330
|
c.type === 2 ? u = new ae(o, o.nextSibling, this, t) : c.type === 1 ? u = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (u = new Ts(o, this, t)), this._$AV.push(u), c = r[++n];
|
|
331
331
|
}
|
|
332
|
-
a !== c?.index && (o =
|
|
332
|
+
a !== c?.index && (o = Ct.nextNode(), a++);
|
|
333
333
|
}
|
|
334
|
-
return
|
|
334
|
+
return Ct.currentNode = St, s;
|
|
335
335
|
}
|
|
336
336
|
p(t) {
|
|
337
337
|
let i = 0;
|
|
@@ -357,7 +357,7 @@ class ae {
|
|
|
357
357
|
return this._$AB;
|
|
358
358
|
}
|
|
359
359
|
_$AI(t, i = this) {
|
|
360
|
-
t =
|
|
360
|
+
t = kt(this, t, i), Xt(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== ut && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Cs(t) ? this.k(t) : this._(t);
|
|
361
361
|
}
|
|
362
362
|
O(t) {
|
|
363
363
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -366,7 +366,7 @@ class ae {
|
|
|
366
366
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
367
367
|
}
|
|
368
368
|
_(t) {
|
|
369
|
-
this._$AH !== p && Xt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(
|
|
369
|
+
this._$AH !== p && Xt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(St.createTextNode(t)), this._$AH = t;
|
|
370
370
|
}
|
|
371
371
|
$(t) {
|
|
372
372
|
const { values: i, _$litType$: r } = t, s = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = Qt.createElement(Dr(r.h, r.h[0]), this.options)), r);
|
|
@@ -410,11 +410,11 @@ let De = class {
|
|
|
410
410
|
_$AI(t, i = this, r, s) {
|
|
411
411
|
const o = this.strings;
|
|
412
412
|
let a = !1;
|
|
413
|
-
if (o === void 0) t =
|
|
413
|
+
if (o === void 0) t = kt(this, t, i, 0), a = !Xt(t) || t !== this._$AH && t !== ut, a && (this._$AH = t);
|
|
414
414
|
else {
|
|
415
415
|
const n = t;
|
|
416
416
|
let c, u;
|
|
417
|
-
for (t = o[0], c = 0; c < o.length - 1; c++) u =
|
|
417
|
+
for (t = o[0], c = 0; c < o.length - 1; c++) u = kt(this, n[r + c], i, c), u === ut && (u = this._$AH[c]), a ||= !Xt(u) || u !== this._$AH[c], u === p ? t = p : t !== p && (t += (u ?? "") + o[c + 1]), this._$AH[c] = u;
|
|
418
418
|
}
|
|
419
419
|
a && !s && this.j(t);
|
|
420
420
|
}
|
|
@@ -440,7 +440,7 @@ let De = class {
|
|
|
440
440
|
super(t, i, r, s, o), this.type = 5;
|
|
441
441
|
}
|
|
442
442
|
_$AI(t, i = this) {
|
|
443
|
-
if ((t =
|
|
443
|
+
if ((t = kt(this, t, i, 0) ?? p) === ut) return;
|
|
444
444
|
const r = this._$AH, s = t === p && r !== p || t.capture !== r.capture || t.once !== r.once || t.passive !== r.passive, o = t !== p && (r === p || s);
|
|
445
445
|
s && this.element.removeEventListener(this.name, this, r), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
446
446
|
}
|
|
@@ -455,7 +455,7 @@ let De = class {
|
|
|
455
455
|
return this._$AM._$AU;
|
|
456
456
|
}
|
|
457
457
|
_$AI(t) {
|
|
458
|
-
|
|
458
|
+
kt(this, t);
|
|
459
459
|
}
|
|
460
460
|
};
|
|
461
461
|
const js = fi.litHtmlPolyfillSupport;
|
|
@@ -470,7 +470,7 @@ const ks = (e, t, i) => {
|
|
|
470
470
|
return s._$AI(e), s;
|
|
471
471
|
};
|
|
472
472
|
const yi = globalThis;
|
|
473
|
-
let C = class extends
|
|
473
|
+
let C = class extends jt {
|
|
474
474
|
constructor() {
|
|
475
475
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
476
476
|
}
|
|
@@ -496,7 +496,7 @@ C._$litElement$ = !0, C.finalized = !0, yi.litElementHydrateSupport?.({ LitEleme
|
|
|
496
496
|
const Fs = yi.litElementPolyfillSupport;
|
|
497
497
|
Fs?.({ LitElement: C });
|
|
498
498
|
(yi.litElementVersions ??= []).push("4.2.2");
|
|
499
|
-
const
|
|
499
|
+
const $ = (e) => (t, i) => {
|
|
500
500
|
i !== void 0 ? i.addInitializer(() => {
|
|
501
501
|
customElements.define(e, t);
|
|
502
502
|
}) : customElements.define(e, t);
|
|
@@ -673,7 +673,7 @@ Ot([
|
|
|
673
673
|
y({ attribute: "image", type: String })
|
|
674
674
|
], rt.prototype, "image", 2);
|
|
675
675
|
rt = Ot([
|
|
676
|
-
|
|
676
|
+
$("ds4go-card-catalog")
|
|
677
677
|
], rt);
|
|
678
678
|
const zs = ":host{box-sizing:border-box;display:flex;height:fit-content;max-width:100%;width:100%}article{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);flex-direction:column;font-family:var(--font-family-body);min-width:295px}article,article header{display:flex;width:100%}article header{background-position:50%;background-repeat:no-repeat;background-size:contain;border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg) var(--border-radius-lg) 0 0;box-sizing:border-box;height:167px;padding:var(--scale-400)}article .card-content,article .card-content tems-division{max-height:180px}article main{display:flex;flex:1;flex-direction:column;gap:var(--scale-400);padding:var(--scale-600);padding-bottom:var(--scale-800)}article main .content{flex:1}article main .card-content{flex-grow:1;overflow:hidden;text-overflow:ellipsis;width:100%}article .tags{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200)}";
|
|
679
679
|
const ri = "lit-localize-status";
|
|
@@ -681,7 +681,7 @@ const qs = (e, ...t) => ({
|
|
|
681
681
|
strTag: !0,
|
|
682
682
|
strings: e,
|
|
683
683
|
values: t
|
|
684
|
-
}),
|
|
684
|
+
}), w = qs, Bs = (e) => typeof e != "string" && "strTag" in e, Fr = (e, t, i) => {
|
|
685
685
|
let r = e[0];
|
|
686
686
|
for (let s = 1; s < e.length; s++)
|
|
687
687
|
r += t[i ? i[s - 1] : s - 1], r += e[s];
|
|
@@ -769,32 +769,32 @@ function to(e) {
|
|
|
769
769
|
function Be(e) {
|
|
770
770
|
window.dispatchEvent(new CustomEvent(ri, { detail: e }));
|
|
771
771
|
}
|
|
772
|
-
let
|
|
773
|
-
|
|
772
|
+
let $e = "", We, Ur, _e, si, Lr, At = new Nr();
|
|
773
|
+
At.resolve();
|
|
774
774
|
let fe = 0;
|
|
775
|
-
const eo = (e) => (Ws(((t, i) => Qs(Lr, t, i))),
|
|
776
|
-
if (e === (We ??
|
|
777
|
-
return
|
|
775
|
+
const eo = (e) => (Ws(((t, i) => Qs(Lr, t, i))), $e = Ur = e.sourceLocale, _e = new Set(e.targetLocales), _e.add(e.sourceLocale), si = e.loadLocale, { getLocale: io, setLocale: ro }), io = () => $e, ro = (e) => {
|
|
776
|
+
if (e === (We ?? $e))
|
|
777
|
+
return At.promise;
|
|
778
778
|
if (!_e || !si)
|
|
779
779
|
throw new Error("Internal error");
|
|
780
780
|
if (!_e.has(e))
|
|
781
781
|
throw new Error("Invalid locale code");
|
|
782
782
|
fe++;
|
|
783
783
|
const t = fe;
|
|
784
|
-
return We = e,
|
|
784
|
+
return We = e, At.settled && (At = new Nr()), Be({ status: "loading", loadingLocale: e }), (e === Ur ? (
|
|
785
785
|
// We could switch to the source locale synchronously, but we prefer to
|
|
786
786
|
// queue it on a microtask so that switching locales is consistently
|
|
787
787
|
// asynchronous.
|
|
788
788
|
Promise.resolve({ templates: void 0 })
|
|
789
789
|
) : si(e)).then((r) => {
|
|
790
|
-
fe === t && (
|
|
790
|
+
fe === t && ($e = e, We = void 0, Lr = r.templates, Be({ status: "ready", readyLocale: e }), At.resolve());
|
|
791
791
|
}, (r) => {
|
|
792
792
|
fe === t && (Be({
|
|
793
793
|
status: "error",
|
|
794
794
|
errorLocale: e,
|
|
795
795
|
errorMessage: r.toString()
|
|
796
|
-
}),
|
|
797
|
-
}),
|
|
796
|
+
}), At.reject(r));
|
|
797
|
+
}), At.promise;
|
|
798
798
|
};
|
|
799
799
|
var so = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, zr = (e, t, i, r) => {
|
|
800
800
|
for (var s = r > 1 ? void 0 : r ? oo(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -813,7 +813,7 @@ let xe = class extends C {
|
|
|
813
813
|
}), this.object?.category && e.push({ label: this.object.category, type: "neutral" });
|
|
814
814
|
const t = (this.object?.previewLinks || "").split(" ");
|
|
815
815
|
return t.length > 0 && e.push({
|
|
816
|
-
label: l(
|
|
816
|
+
label: l(w`${t.length} previews`),
|
|
817
817
|
type: "information"
|
|
818
818
|
}), e;
|
|
819
819
|
}
|
|
@@ -874,7 +874,7 @@ zr([
|
|
|
874
874
|
y({ attribute: !1 })
|
|
875
875
|
], xe.prototype, "object", 2);
|
|
876
876
|
xe = zr([
|
|
877
|
-
|
|
877
|
+
$("ds4go-card-dataspace-catalog")
|
|
878
878
|
], xe);
|
|
879
879
|
const ao = ":host{box-sizing:border-box;display:flex;height:fit-content;max-width:100%;width:100%}article{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg);cursor:pointer;display:flex;flex-direction:column;font-family:var(--font-family-body);min-width:295px;transition:box-shadow .2s ease-in-out;width:100%}article:hover{box-shadow:var(--shadow-md)}article header{background-position:50%;background-repeat:no-repeat;background-size:cover;border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg) var(--border-radius-lg) 0 0;box-sizing:border-box;display:flex;height:167px;padding:var(--scale-400);width:100%}article main{display:flex;flex:1;flex-direction:column;gap:var(--scale-400);padding:var(--scale-600);padding-bottom:var(--scale-800)}article main .meta-info{color:var(--color-text-disabled-on);display:flex;flex-direction:column;font-size:var(--typography-size-body-sm);font-weight:var(--font-weight-regular);gap:var(--scale-200);justify-items:center;line-height:var(--line-height-body-sm)}article main .meta-info .author{color:var(--color-text-primary)}article main .meta-info .separator{color:var(--color-border-primary)}article main .meta-info .date{color:var(--color-text-disabled-on)}article main .content{display:flex;flex:1;flex-direction:column;gap:var(--scale-200)}article main .card-header tems-division{font-weight:var(--font-weight-semibold)}article main .card-content{max-height:180px;overflow:hidden;text-overflow:ellipsis;width:100%}article main .card-content tems-division{display:-webkit-box;-webkit-line-clamp:4;max-height:180px;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}article .tags{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200)}";
|
|
880
880
|
var no = Object.defineProperty, lo = (e, t, i, r) => {
|
|
@@ -1269,7 +1269,7 @@ const ai = (e, t, i, r) => {
|
|
|
1269
1269
|
li(o, t, s)
|
|
1270
1270
|
), r === 4) break;
|
|
1271
1271
|
return r;
|
|
1272
|
-
},
|
|
1272
|
+
}, Lt = (e, t) => {
|
|
1273
1273
|
if (!t || t.trim() === "")
|
|
1274
1274
|
return e;
|
|
1275
1275
|
const i = t.toLowerCase();
|
|
@@ -1404,7 +1404,7 @@ const ai = (e, t, i, r) => {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
]
|
|
1406
1406
|
}
|
|
1407
|
-
}, yo = [mo, fo, go],
|
|
1407
|
+
}, yo = [mo, fo, go], Pt = (e, t) => {
|
|
1408
1408
|
let i = e;
|
|
1409
1409
|
for (const r of t)
|
|
1410
1410
|
if (i && r in i)
|
|
@@ -1414,20 +1414,20 @@ const ai = (e, t, i, r) => {
|
|
|
1414
1414
|
return i;
|
|
1415
1415
|
}, G = (e, t, i = "asc") => {
|
|
1416
1416
|
const r = Array.isArray(t) ? t : [t], s = i !== "asc", o = [...e], n = (() => {
|
|
1417
|
-
const c =
|
|
1417
|
+
const c = Pt(o[0], r);
|
|
1418
1418
|
if (typeof c == "number")
|
|
1419
1419
|
return (u, m) => {
|
|
1420
|
-
const f =
|
|
1420
|
+
const f = Pt(u, r), g = Pt(m, r);
|
|
1421
1421
|
return f == null ? g == null ? 0 : 1 : g == null ? -1 : f - g;
|
|
1422
1422
|
};
|
|
1423
1423
|
if (typeof c == "string")
|
|
1424
1424
|
return (u, m) => {
|
|
1425
|
-
const f =
|
|
1425
|
+
const f = Pt(u, r), g = Pt(m, r);
|
|
1426
1426
|
return f == null ? g == null ? 0 : 1 : g == null ? -1 : f.localeCompare(g);
|
|
1427
1427
|
};
|
|
1428
1428
|
if (c instanceof Date)
|
|
1429
1429
|
return (u, m) => {
|
|
1430
|
-
const f =
|
|
1430
|
+
const f = Pt(u, r), g = Pt(m, r);
|
|
1431
1431
|
return f == null ? g == null ? 0 : 1 : g == null ? -1 : f.getTime() - g.getTime();
|
|
1432
1432
|
};
|
|
1433
1433
|
throw new TypeError(`Unsupported data type for key "${t}"`);
|
|
@@ -1464,10 +1464,10 @@ const ai = (e, t, i, r) => {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
})
|
|
1466
1466
|
);
|
|
1467
|
-
}, bo = "https://cdn.startinblox.com/owl/ds4go.jsonld#",
|
|
1467
|
+
}, bo = "https://cdn.startinblox.com/owl/ds4go.jsonld#", wo = { "@id": "ds4go:link", "@type": "@id" }, $o = { "@id": "ds4go:enclosure", "@type": "@id" }, _o = { "@id": "ds4go:url", "@type": "@id" }, er = {
|
|
1468
1468
|
ds4go: bo,
|
|
1469
|
-
link:
|
|
1470
|
-
enclosure:
|
|
1469
|
+
link: wo,
|
|
1470
|
+
enclosure: $o,
|
|
1471
1471
|
url: _o
|
|
1472
1472
|
};
|
|
1473
1473
|
var Ge = {}, tt = {}, ir;
|
|
@@ -1710,12 +1710,12 @@ function Ro() {
|
|
|
1710
1710
|
min: 5
|
|
1711
1711
|
} : v, P = m.random;
|
|
1712
1712
|
m.seed;
|
|
1713
|
-
var K = m.words,
|
|
1713
|
+
var K = m.words, _t = K === void 0 ? t.WORDS : K;
|
|
1714
1714
|
if (r(this, u), a(this, "sentencesPerParagraph", void 0), a(this, "wordsPerSentence", void 0), a(this, "random", void 0), a(this, "words", void 0), g.min > g.max)
|
|
1715
1715
|
throw new Error("Minimum number of sentences per paragraph (".concat(g.min, ") cannot exceed maximum (").concat(g.max, ")."));
|
|
1716
1716
|
if (b.min > b.max)
|
|
1717
1717
|
throw new Error("Minimum number of words per sentence (".concat(b.min, ") cannot exceed maximum (").concat(b.max, ")."));
|
|
1718
|
-
this.sentencesPerParagraph = g, this.words =
|
|
1718
|
+
this.sentencesPerParagraph = g, this.words = _t, this.wordsPerSentence = b, this.random = P || Math.random;
|
|
1719
1719
|
}
|
|
1720
1720
|
return o(u, [{
|
|
1721
1721
|
key: "generateRandomInteger",
|
|
@@ -1726,8 +1726,8 @@ function Ro() {
|
|
|
1726
1726
|
key: "generateRandomWords",
|
|
1727
1727
|
value: function(f) {
|
|
1728
1728
|
var g = this, v = this.wordsPerSentence, b = v.min, P = v.max, K = f || this.generateRandomInteger(b, P);
|
|
1729
|
-
return (0, i.makeArrayOfLength)(K).reduce(function(
|
|
1730
|
-
return "".concat(g.pluckRandomWord(), " ").concat(
|
|
1729
|
+
return (0, i.makeArrayOfLength)(K).reduce(function(_t, me) {
|
|
1730
|
+
return "".concat(g.pluckRandomWord(), " ").concat(_t);
|
|
1731
1731
|
}, "").trim();
|
|
1732
1732
|
}
|
|
1733
1733
|
}, {
|
|
@@ -1739,8 +1739,8 @@ function Ro() {
|
|
|
1739
1739
|
key: "generateRandomParagraph",
|
|
1740
1740
|
value: function(f) {
|
|
1741
1741
|
var g = this, v = this.sentencesPerParagraph, b = v.min, P = v.max, K = f || this.generateRandomInteger(b, P);
|
|
1742
|
-
return (0, i.makeArrayOfLength)(K).reduce(function(
|
|
1743
|
-
return "".concat(g.generateRandomSentence(), " ").concat(
|
|
1742
|
+
return (0, i.makeArrayOfLength)(K).reduce(function(_t, me) {
|
|
1743
|
+
return "".concat(g.generateRandomSentence(), " ").concat(_t);
|
|
1744
1744
|
}, "").trim();
|
|
1745
1745
|
}
|
|
1746
1746
|
}, {
|
|
@@ -1842,8 +1842,8 @@ function To() {
|
|
|
1842
1842
|
return n && n.__esModule ? n : { default: n };
|
|
1843
1843
|
}
|
|
1844
1844
|
var a = function() {
|
|
1845
|
-
var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = c.count, m = u === void 0 ? 1 : u, f = c.format, g = f === void 0 ? t.FORMAT_PLAIN : f, v = c.paragraphLowerBound, b = v === void 0 ? 3 : v, P = c.paragraphUpperBound, K = P === void 0 ? 7 : P,
|
|
1846
|
-
random:
|
|
1845
|
+
var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = c.count, m = u === void 0 ? 1 : u, f = c.format, g = f === void 0 ? t.FORMAT_PLAIN : f, v = c.paragraphLowerBound, b = v === void 0 ? 3 : v, P = c.paragraphUpperBound, K = P === void 0 ? 7 : P, _t = c.random, me = c.sentenceLowerBound, cs = me === void 0 ? 5 : me, ji = c.sentenceUpperBound, ds = ji === void 0 ? 15 : ji, ki = c.units, ps = ki === void 0 ? i.UNIT_SENTENCES : ki, Fi = c.words, us = Fi === void 0 ? r.WORDS : Fi, Mi = c.suffix, hs = Mi === void 0 ? "" : Mi, ms = {
|
|
1846
|
+
random: _t,
|
|
1847
1847
|
sentencesPerParagraph: {
|
|
1848
1848
|
max: K,
|
|
1849
1849
|
min: b
|
|
@@ -1939,7 +1939,7 @@ const Mo = (e) => new Fo(typeof e == "string" ? e : e + "", void 0, Hr), No = (e
|
|
|
1939
1939
|
}
|
|
1940
1940
|
}
|
|
1941
1941
|
return i;
|
|
1942
|
-
} }, bi = (e, t) => !Uo(e, t),
|
|
1942
|
+
} }, bi = (e, t) => !Uo(e, t), wr = { attribute: !0, type: String, converter: Pe, reflect: !1, useDefault: !1, hasChanged: bi };
|
|
1943
1943
|
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), je.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
1944
1944
|
class Kt extends HTMLElement {
|
|
1945
1945
|
static addInitializer(t) {
|
|
@@ -1948,7 +1948,7 @@ class Kt extends HTMLElement {
|
|
|
1948
1948
|
static get observedAttributes() {
|
|
1949
1949
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1950
1950
|
}
|
|
1951
|
-
static createProperty(t, i =
|
|
1951
|
+
static createProperty(t, i = wr) {
|
|
1952
1952
|
if (i.state && (i.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((i = Object.create(i)).wrapped = !0), this.elementProperties.set(t, i), !i.noAccessor) {
|
|
1953
1953
|
const r = /* @__PURE__ */ Symbol(), s = this.getPropertyDescriptor(t, r, i);
|
|
1954
1954
|
s !== void 0 && Lo(this.prototype, t, s);
|
|
@@ -1966,7 +1966,7 @@ class Kt extends HTMLElement {
|
|
|
1966
1966
|
}, configurable: !0, enumerable: !0 };
|
|
1967
1967
|
}
|
|
1968
1968
|
static getPropertyOptions(t) {
|
|
1969
|
-
return this.elementProperties.get(t) ??
|
|
1969
|
+
return this.elementProperties.get(t) ?? wr;
|
|
1970
1970
|
}
|
|
1971
1971
|
static _$Ei() {
|
|
1972
1972
|
if (this.hasOwnProperty(Jt("elementProperties"))) return;
|
|
@@ -2158,7 +2158,7 @@ var Yo = Object.defineProperty, Jo = (e, t, i, r) => {
|
|
|
2158
2158
|
(a = e[o]) && (s = a(t, i, s) || s);
|
|
2159
2159
|
return s && Yo(t, i, s), s;
|
|
2160
2160
|
};
|
|
2161
|
-
class
|
|
2161
|
+
class wi extends C {
|
|
2162
2162
|
constructor() {
|
|
2163
2163
|
super(...arguments), this.objects = [], this.hasType = (t, i) => (i ?? this.objects ?? []).some((r) => {
|
|
2164
2164
|
const s = r["@type"];
|
|
@@ -2168,13 +2168,13 @@ class $i extends C {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
Jo([
|
|
2170
2170
|
_({ attribute: !1 })
|
|
2171
|
-
],
|
|
2171
|
+
], wi.prototype, "objects");
|
|
2172
2172
|
var Zo = Object.defineProperty, ct = (e, t, i, r) => {
|
|
2173
2173
|
for (var s = void 0, o = e.length - 1, a; o >= 0; o--)
|
|
2174
2174
|
(a = e[o]) && (s = a(t, i, s) || s);
|
|
2175
2175
|
return s && Zo(t, i, s), s;
|
|
2176
2176
|
};
|
|
2177
|
-
class Z extends
|
|
2177
|
+
class Z extends wi {
|
|
2178
2178
|
constructor({
|
|
2179
2179
|
defaultRoute: t = !1,
|
|
2180
2180
|
setupSubscriptions: i = !0,
|
|
@@ -2319,7 +2319,7 @@ ct([
|
|
|
2319
2319
|
ct([
|
|
2320
2320
|
B()
|
|
2321
2321
|
], Z.prototype, "currentRoute");
|
|
2322
|
-
var Xo = Object.defineProperty,
|
|
2322
|
+
var Xo = Object.defineProperty, yt = (e, t, i, r) => {
|
|
2323
2323
|
for (var s = void 0, o = e.length - 1, a; o >= 0; o--)
|
|
2324
2324
|
(a = e[o]) && (s = a(t, i, s) || s);
|
|
2325
2325
|
return s && Xo(t, i, s), s;
|
|
@@ -2427,31 +2427,31 @@ class X extends Z {
|
|
|
2427
2427
|
return this.storeService;
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
|
-
|
|
2430
|
+
yt([
|
|
2431
2431
|
_({ attribute: "participant-connector-uri", reflect: !0 })
|
|
2432
2432
|
], X.prototype, "participantConnectorUri");
|
|
2433
|
-
|
|
2433
|
+
yt([
|
|
2434
2434
|
_({ attribute: "participant-id", reflect: !0 })
|
|
2435
2435
|
], X.prototype, "participantId");
|
|
2436
|
-
|
|
2436
|
+
yt([
|
|
2437
2437
|
_({ attribute: "participant-api-key", reflect: !0 })
|
|
2438
2438
|
], X.prototype, "participantApiKey");
|
|
2439
|
-
|
|
2439
|
+
yt([
|
|
2440
2440
|
_({ attribute: "api-gateway-config", reflect: !0 })
|
|
2441
2441
|
], X.prototype, "apiGatewayConfig");
|
|
2442
|
-
|
|
2442
|
+
yt([
|
|
2443
2443
|
B()
|
|
2444
2444
|
], X.prototype, "storeService");
|
|
2445
|
-
|
|
2445
|
+
yt([
|
|
2446
2446
|
B()
|
|
2447
2447
|
], X.prototype, "dspStoreService");
|
|
2448
|
-
|
|
2448
|
+
yt([
|
|
2449
2449
|
B()
|
|
2450
2450
|
], X.prototype, "_apiGatewayConfigParsed");
|
|
2451
|
-
|
|
2451
|
+
yt([
|
|
2452
2452
|
_({ type: Array })
|
|
2453
2453
|
], X.prototype, "providers");
|
|
2454
|
-
const F = window.orbit?.client.rdf_tems_scope || "https://tems-dataspace.eu/owl#", Vr = `${F}Image`, Kr = `${F}Licence`, Yr = `${F}Asset`, Jr = `${F}Location`, Qo = `${F}Service`, ta = `${F}Offer`, ea = `${F}DataOffer`, ia = `${F}Provider`,
|
|
2454
|
+
const F = window.orbit?.client.rdf_tems_scope || "https://tems-dataspace.eu/owl#", Vr = `${F}Image`, Kr = `${F}Licence`, Yr = `${F}Asset`, Jr = `${F}Location`, Qo = `${F}Service`, ta = `${F}Offer`, ea = `${F}DataOffer`, ia = `${F}Provider`, $i = `${F}Object`, Zr = `${F}MediaObject`, Xr = `${F}FactChecking`, Qr = `${F}CivilSociety`, ts = `${F}Story`, es = `${F}InteractiveInfographic`, _i = `${F}3DObject`, ra = `${F}Sentiment`, It = {};
|
|
2455
2455
|
It[_i] = "3D Object";
|
|
2456
2456
|
It[Xr] = "Fact Checking";
|
|
2457
2457
|
It[Qr] = "Civil Society";
|
|
@@ -2469,7 +2469,7 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2469
2469
|
RDFTYPE_LICENCE: Kr,
|
|
2470
2470
|
RDFTYPE_LOCATION: Jr,
|
|
2471
2471
|
RDFTYPE_MEDIA_OBJECT: Zr,
|
|
2472
|
-
RDFTYPE_OBJECT:
|
|
2472
|
+
RDFTYPE_OBJECT: $i,
|
|
2473
2473
|
RDFTYPE_OFFER: ta,
|
|
2474
2474
|
RDFTYPE_PROVIDER: ia,
|
|
2475
2475
|
RDFTYPE_SENTIMENT: ra,
|
|
@@ -2479,7 +2479,7 @@ const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2479
2479
|
RDFTYPE_TEMS: F,
|
|
2480
2480
|
typeMap: It
|
|
2481
2481
|
}, Symbol.toStringTag, { value: "Module" })), sa = Object.values(is);
|
|
2482
|
-
class xi extends
|
|
2482
|
+
class xi extends wi {
|
|
2483
2483
|
renderTemplateWhenWith(t, i, r = this.objects) {
|
|
2484
2484
|
const s = (o, a) => Array.isArray(o) ? o.some((n) => a(n)) : a(o);
|
|
2485
2485
|
return t.filter(
|
|
@@ -2763,7 +2763,7 @@ const Pi = ({
|
|
|
2763
2763
|
for (const r of e._subscriptions)
|
|
2764
2764
|
document.removeEventListener(r[0], r[1]);
|
|
2765
2765
|
}, e._subscribe();
|
|
2766
|
-
},
|
|
2766
|
+
}, $r = Object.values(is);
|
|
2767
2767
|
class na extends ko {
|
|
2768
2768
|
getNestedProperty(t, i = this.object) {
|
|
2769
2769
|
return t.split(".").reduce((r, s) => {
|
|
@@ -2784,10 +2784,10 @@ class na extends ko {
|
|
|
2784
2784
|
}
|
|
2785
2785
|
renderTemplateWhenWith(t, i, r = this.object) {
|
|
2786
2786
|
const s = (a, n) => Array.isArray(a) ? a.some((c) => n(c)) : n(a), o = t.filter(
|
|
2787
|
-
(a) => s(a, (n) =>
|
|
2787
|
+
(a) => s(a, (n) => $r.includes(n))
|
|
2788
2788
|
);
|
|
2789
2789
|
return t.filter(
|
|
2790
|
-
(a) => s(a, (n) =>
|
|
2790
|
+
(a) => s(a, (n) => !$r.includes(n))
|
|
2791
2791
|
).every(
|
|
2792
2792
|
(a) => s(a, (n) => this.getNestedProperty(n, r))
|
|
2793
2793
|
) && o.every(
|
|
@@ -3408,7 +3408,7 @@ const di = (e, t) => {
|
|
|
3408
3408
|
}, N = () => H(ca, [], {
|
|
3409
3409
|
"@id": `store://local.sample-object/${Math.floor(Math.random() * 1e3)}/`,
|
|
3410
3410
|
name: W.generateWords(Math.floor(Math.random() * 3) + 1)
|
|
3411
|
-
}),
|
|
3411
|
+
}), Ft = {
|
|
3412
3412
|
"@id": "store://local.sample-object/assets/1/",
|
|
3413
3413
|
"@type": Yr,
|
|
3414
3414
|
name: "SampleAsset",
|
|
@@ -3426,14 +3426,14 @@ const di = (e, t) => {
|
|
|
3426
3426
|
}
|
|
3427
3427
|
]
|
|
3428
3428
|
};
|
|
3429
|
-
H(
|
|
3430
|
-
H(
|
|
3431
|
-
H(
|
|
3429
|
+
H(Ft, ["categories"]);
|
|
3430
|
+
H(Ft, ["format"]);
|
|
3431
|
+
H(Ft, [
|
|
3432
3432
|
"categories",
|
|
3433
3433
|
"format",
|
|
3434
3434
|
"size"
|
|
3435
3435
|
]);
|
|
3436
|
-
H(
|
|
3436
|
+
H(Ft, ["@id"], {
|
|
3437
3437
|
"@id": "store://local.sample-object/assets/2/"
|
|
3438
3438
|
});
|
|
3439
3439
|
const da = () => {
|
|
@@ -3447,7 +3447,7 @@ const da = () => {
|
|
|
3447
3447
|
() => N()
|
|
3448
3448
|
)
|
|
3449
3449
|
};
|
|
3450
|
-
return Math.random() < 0.1 && e.push("name"), Math.random() < 0.5 && e.push("categories"), Math.random() < 0.5 && e.push("format"), Math.random() < 0.5 && e.push("size"), H(
|
|
3450
|
+
return Math.random() < 0.1 && e.push("name"), Math.random() < 0.5 && e.push("categories"), Math.random() < 0.5 && e.push("format"), Math.random() < 0.5 && e.push("size"), H(Ft, e, t, !0);
|
|
3451
3451
|
}, pa = {
|
|
3452
3452
|
"@id": "store://local.sample-object/images/1/",
|
|
3453
3453
|
"@type": Vr,
|
|
@@ -3581,7 +3581,7 @@ H(Ci, [
|
|
|
3581
3581
|
]);
|
|
3582
3582
|
const rs = {
|
|
3583
3583
|
"@id": "store://local.sample-object/1/",
|
|
3584
|
-
"@type":
|
|
3584
|
+
"@type": $i,
|
|
3585
3585
|
creation_date: "2024-11-11T12:53:16.938000Z",
|
|
3586
3586
|
update_date: "2024-11-14T08:04:47.656001Z",
|
|
3587
3587
|
title: "Sample Object",
|
|
@@ -3608,7 +3608,7 @@ const rs = {
|
|
|
3608
3608
|
});
|
|
3609
3609
|
const ke = {
|
|
3610
3610
|
...rs,
|
|
3611
|
-
"@type": [
|
|
3611
|
+
"@type": [$i, Zr],
|
|
3612
3612
|
keywords: Array.from(
|
|
3613
3613
|
{ length: Math.floor(Math.random() * 5) },
|
|
3614
3614
|
N
|
|
@@ -3787,7 +3787,7 @@ function ba(e) {
|
|
|
3787
3787
|
const t = Si(e);
|
|
3788
3788
|
t && localStorage.removeItem(t);
|
|
3789
3789
|
}
|
|
3790
|
-
function
|
|
3790
|
+
function wa(e, t) {
|
|
3791
3791
|
try {
|
|
3792
3792
|
const i = e._provider?.participantId || "", r = e["@id"] || e.id;
|
|
3793
3793
|
if (!r) return;
|
|
@@ -3822,7 +3822,7 @@ function $a(e, t) {
|
|
|
3822
3822
|
);
|
|
3823
3823
|
}
|
|
3824
3824
|
}
|
|
3825
|
-
function
|
|
3825
|
+
function $a(e, t, i) {
|
|
3826
3826
|
try {
|
|
3827
3827
|
const r = e._provider?.participantId || "", s = e["@id"] || e.id;
|
|
3828
3828
|
if (!s) return;
|
|
@@ -3934,14 +3934,14 @@ function Aa(e) {
|
|
|
3934
3934
|
(n) => d`
|
|
3935
3935
|
<li>
|
|
3936
3936
|
${l(
|
|
3937
|
-
|
|
3937
|
+
w`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("use")}`
|
|
3938
3938
|
)}
|
|
3939
3939
|
</li>
|
|
3940
3940
|
${n["odrl:constraint"] ? d`${(Array.isArray(n["odrl:constraint"]) ? n["odrl:constraint"] : [n["odrl:constraint"]]).map(
|
|
3941
3941
|
(c) => d`
|
|
3942
3942
|
<li style="margin-left: 20px;">
|
|
3943
3943
|
${l(
|
|
3944
|
-
|
|
3944
|
+
w`Constraint: ${c["odrl:leftOperand"]} ${c["odrl:operator"]} ${c["odrl:rightOperand"]}`
|
|
3945
3945
|
)}
|
|
3946
3946
|
</li>
|
|
3947
3947
|
`
|
|
@@ -3957,7 +3957,7 @@ function Aa(e) {
|
|
|
3957
3957
|
(n) => d`
|
|
3958
3958
|
<li>
|
|
3959
3959
|
${l(
|
|
3960
|
-
|
|
3960
|
+
w`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("unknown")}`
|
|
3961
3961
|
)}
|
|
3962
3962
|
</li>
|
|
3963
3963
|
`
|
|
@@ -3971,7 +3971,7 @@ function Aa(e) {
|
|
|
3971
3971
|
(n) => d`
|
|
3972
3972
|
<li>
|
|
3973
3973
|
${l(
|
|
3974
|
-
|
|
3974
|
+
w`Action: ${n["odrl:action"]?.["@id"] || n["odrl:action"] || l("unknown")}`
|
|
3975
3975
|
)}
|
|
3976
3976
|
</li>
|
|
3977
3977
|
`
|
|
@@ -4011,13 +4011,13 @@ let Ce = class extends C {
|
|
|
4011
4011
|
});
|
|
4012
4012
|
const t = this.object?.categories?.length || 0;
|
|
4013
4013
|
t > 3 && e.push({
|
|
4014
|
-
label: l(
|
|
4014
|
+
label: l(w`+${t - 3} ${l("more")}`),
|
|
4015
4015
|
type: "neutral"
|
|
4016
4016
|
});
|
|
4017
4017
|
const i = this.object?.medias?.length || 0;
|
|
4018
4018
|
return i > 0 && e.push({
|
|
4019
4019
|
label: l(
|
|
4020
|
-
|
|
4020
|
+
w`${i} ${i > 1 ? l("medias") : l("media")}`
|
|
4021
4021
|
),
|
|
4022
4022
|
type: "information"
|
|
4023
4023
|
}), e;
|
|
@@ -4072,14 +4072,14 @@ ss([
|
|
|
4072
4072
|
y({ attribute: !1 })
|
|
4073
4073
|
], Ce.prototype, "object", 2);
|
|
4074
4074
|
Ce = ss([
|
|
4075
|
-
|
|
4075
|
+
$("ds4go-card-fact")
|
|
4076
4076
|
], Ce);
|
|
4077
4077
|
var Ea = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, Fe = (e, t, i, r) => {
|
|
4078
4078
|
for (var s = r > 1 ? void 0 : r ? Oa(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
4079
4079
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
4080
4080
|
return r && s && Ea(t, i, s), s;
|
|
4081
4081
|
};
|
|
4082
|
-
let
|
|
4082
|
+
let Mt = class extends xi {
|
|
4083
4083
|
constructor() {
|
|
4084
4084
|
super(...arguments), this.view = "card", this.search = [], this.objects = [], this._displayObjects = [];
|
|
4085
4085
|
}
|
|
@@ -4141,7 +4141,7 @@ let Ft = class extends xi {
|
|
|
4141
4141
|
break;
|
|
4142
4142
|
default:
|
|
4143
4143
|
o.push(
|
|
4144
|
-
|
|
4144
|
+
Lt(r, a.value)
|
|
4145
4145
|
);
|
|
4146
4146
|
}
|
|
4147
4147
|
r = [...o.flat()];
|
|
@@ -4171,7 +4171,7 @@ let Ft = class extends xi {
|
|
|
4171
4171
|
</div>`;
|
|
4172
4172
|
}
|
|
4173
4173
|
};
|
|
4174
|
-
|
|
4174
|
+
Mt.styles = A`
|
|
4175
4175
|
.card-grid {
|
|
4176
4176
|
display: flex;
|
|
4177
4177
|
flex-direction: row;
|
|
@@ -4191,17 +4191,17 @@ Ft.styles = A`
|
|
|
4191
4191
|
`;
|
|
4192
4192
|
Fe([
|
|
4193
4193
|
h()
|
|
4194
|
-
],
|
|
4194
|
+
], Mt.prototype, "view", 2);
|
|
4195
4195
|
Fe([
|
|
4196
4196
|
h()
|
|
4197
|
-
],
|
|
4197
|
+
], Mt.prototype, "search", 2);
|
|
4198
4198
|
Fe([
|
|
4199
4199
|
h()
|
|
4200
|
-
],
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
],
|
|
4204
|
-
var Ia = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor,
|
|
4200
|
+
], Mt.prototype, "_displayObjects", 2);
|
|
4201
|
+
Mt = Fe([
|
|
4202
|
+
$("ds4go-catalog-data-holder")
|
|
4203
|
+
], Mt);
|
|
4204
|
+
var Ia = Object.defineProperty, Ra = Object.getOwnPropertyDescriptor, vt = (e, t, i, r) => {
|
|
4205
4205
|
for (var s = r > 1 ? void 0 : r ? Ra(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
4206
4206
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
4207
4207
|
return r && s && Ia(t, i, s), s;
|
|
@@ -4452,29 +4452,29 @@ Y.styles = A`
|
|
|
4452
4452
|
justify-content: flex-end;
|
|
4453
4453
|
}
|
|
4454
4454
|
`;
|
|
4455
|
-
|
|
4455
|
+
vt([
|
|
4456
4456
|
y({ attribute: !1 })
|
|
4457
4457
|
], Y.prototype, "displayFiltering", 2);
|
|
4458
|
-
|
|
4458
|
+
vt([
|
|
4459
4459
|
h()
|
|
4460
4460
|
], Y.prototype, "_internalFilters", 2);
|
|
4461
|
-
|
|
4461
|
+
vt([
|
|
4462
4462
|
h()
|
|
4463
4463
|
], Y.prototype, "displayFilters", 2);
|
|
4464
|
-
|
|
4464
|
+
vt([
|
|
4465
4465
|
h()
|
|
4466
4466
|
], Y.prototype, "resultCount", 2);
|
|
4467
|
-
|
|
4467
|
+
vt([
|
|
4468
4468
|
h()
|
|
4469
4469
|
], Y.prototype, "filterCount", 2);
|
|
4470
|
-
|
|
4470
|
+
vt([
|
|
4471
4471
|
h()
|
|
4472
4472
|
], Y.prototype, "view", 2);
|
|
4473
|
-
|
|
4473
|
+
vt([
|
|
4474
4474
|
h()
|
|
4475
4475
|
], Y.prototype, "_accordionStates", 2);
|
|
4476
|
-
Y =
|
|
4477
|
-
|
|
4476
|
+
Y = vt([
|
|
4477
|
+
$("ds4go-catalog-filter-holder")
|
|
4478
4478
|
], Y);
|
|
4479
4479
|
var Da = Object.defineProperty, Ta = Object.getOwnPropertyDescriptor, Ei = (e, t, i, r) => {
|
|
4480
4480
|
for (var s = r > 1 ? void 0 : r ? Ta(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -4543,7 +4543,7 @@ let te = class extends ne {
|
|
|
4543
4543
|
break;
|
|
4544
4544
|
default:
|
|
4545
4545
|
o.push(
|
|
4546
|
-
|
|
4546
|
+
Lt(r, a.value)
|
|
4547
4547
|
);
|
|
4548
4548
|
}
|
|
4549
4549
|
r = [...o.flat()];
|
|
@@ -4565,7 +4565,7 @@ let te = class extends ne {
|
|
|
4565
4565
|
${this._displayObjects.map((e) => {
|
|
4566
4566
|
const t = [
|
|
4567
4567
|
{
|
|
4568
|
-
name: `${l(
|
|
4568
|
+
name: `${l(w`Balance: ${e.balance}`)}`,
|
|
4569
4569
|
type: "information"
|
|
4570
4570
|
}
|
|
4571
4571
|
];
|
|
@@ -4574,7 +4574,7 @@ let te = class extends ne {
|
|
|
4574
4574
|
type=${"vertical"}
|
|
4575
4575
|
.tags=${t}
|
|
4576
4576
|
.header=${e.name || p}
|
|
4577
|
-
.content=${e.participant_id ? l(
|
|
4577
|
+
.content=${e.participant_id ? l(w`Participant ID: ${e.participant_id}`) : p}
|
|
4578
4578
|
date=${e.updated_at || p}
|
|
4579
4579
|
@click=${() => this._handleClickEvent(e)}
|
|
4580
4580
|
></ds4go-card-catalog>`;
|
|
@@ -4607,14 +4607,14 @@ Ei([
|
|
|
4607
4607
|
h()
|
|
4608
4608
|
], te.prototype, "_displayObjects", 2);
|
|
4609
4609
|
te = Ei([
|
|
4610
|
-
|
|
4610
|
+
$("ds4go-customer-holder")
|
|
4611
4611
|
], te);
|
|
4612
4612
|
var ja = Object.defineProperty, ka = Object.getOwnPropertyDescriptor, Me = (e, t, i, r) => {
|
|
4613
4613
|
for (var s = r > 1 ? void 0 : r ? ka(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
4614
4614
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
4615
4615
|
return r && s && ja(t, i, s), s;
|
|
4616
4616
|
};
|
|
4617
|
-
let
|
|
4617
|
+
let Nt = class extends C {
|
|
4618
4618
|
constructor() {
|
|
4619
4619
|
super(...arguments), this.objects = [], this.search = [], this._displayObjects = [];
|
|
4620
4620
|
}
|
|
@@ -4677,7 +4677,7 @@ let Mt = class extends C {
|
|
|
4677
4677
|
break;
|
|
4678
4678
|
default:
|
|
4679
4679
|
o.push(
|
|
4680
|
-
|
|
4680
|
+
Lt(r, a.value)
|
|
4681
4681
|
);
|
|
4682
4682
|
}
|
|
4683
4683
|
r = [...o.flat()];
|
|
@@ -4789,7 +4789,7 @@ let Mt = class extends C {
|
|
|
4789
4789
|
</div>`;
|
|
4790
4790
|
}
|
|
4791
4791
|
};
|
|
4792
|
-
|
|
4792
|
+
Nt.styles = A`
|
|
4793
4793
|
.card-grid {
|
|
4794
4794
|
display: flex;
|
|
4795
4795
|
flex-direction: row;
|
|
@@ -4812,16 +4812,16 @@ Mt.styles = A`
|
|
|
4812
4812
|
`;
|
|
4813
4813
|
Me([
|
|
4814
4814
|
y({ attribute: !1 })
|
|
4815
|
-
],
|
|
4815
|
+
], Nt.prototype, "objects", 2);
|
|
4816
4816
|
Me([
|
|
4817
4817
|
h()
|
|
4818
|
-
],
|
|
4818
|
+
], Nt.prototype, "search", 2);
|
|
4819
4819
|
Me([
|
|
4820
4820
|
h()
|
|
4821
|
-
],
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
],
|
|
4821
|
+
], Nt.prototype, "_displayObjects", 2);
|
|
4822
|
+
Nt = Me([
|
|
4823
|
+
$("ds4go-dsif-explorer-poc-holder")
|
|
4824
|
+
], Nt);
|
|
4825
4825
|
var Fa = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, Oi = (e, t, i, r) => {
|
|
4826
4826
|
for (var s = r > 1 ? void 0 : r ? Ma(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
4827
4827
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
@@ -4889,7 +4889,7 @@ let ee = class extends ne {
|
|
|
4889
4889
|
break;
|
|
4890
4890
|
default:
|
|
4891
4891
|
o.push(
|
|
4892
|
-
|
|
4892
|
+
Lt(r, a.value)
|
|
4893
4893
|
);
|
|
4894
4894
|
}
|
|
4895
4895
|
r = [...o.flat()];
|
|
@@ -4956,7 +4956,7 @@ Oi([
|
|
|
4956
4956
|
h()
|
|
4957
4957
|
], ee.prototype, "_displayObjects", 2);
|
|
4958
4958
|
ee = Oi([
|
|
4959
|
-
|
|
4959
|
+
$("ds4go-fact-bundle-holder")
|
|
4960
4960
|
], ee);
|
|
4961
4961
|
var Na = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, Ii = (e, t, i, r) => {
|
|
4962
4962
|
for (var s = r > 1 ? void 0 : r ? Ua(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -5025,7 +5025,7 @@ let ie = class extends ne {
|
|
|
5025
5025
|
break;
|
|
5026
5026
|
default:
|
|
5027
5027
|
o.push(
|
|
5028
|
-
|
|
5028
|
+
Lt(r, a.value)
|
|
5029
5029
|
);
|
|
5030
5030
|
}
|
|
5031
5031
|
r = [...o.flat()];
|
|
@@ -5076,7 +5076,7 @@ Ii([
|
|
|
5076
5076
|
h()
|
|
5077
5077
|
], ie.prototype, "_displayObjects", 2);
|
|
5078
5078
|
ie = Ii([
|
|
5079
|
-
|
|
5079
|
+
$("ds4go-fact-holder")
|
|
5080
5080
|
], ie);
|
|
5081
5081
|
var La = Object.defineProperty, za = Object.getOwnPropertyDescriptor, Ne = (e, t, i, r) => {
|
|
5082
5082
|
for (var s = r > 1 ? void 0 : r ? za(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -5167,7 +5167,7 @@ Ne([
|
|
|
5167
5167
|
y({ attribute: !1 })
|
|
5168
5168
|
], re.prototype, "contractId", 2);
|
|
5169
5169
|
re = Ne([
|
|
5170
|
-
|
|
5170
|
+
$("catalog-modal-agreement-info"),
|
|
5171
5171
|
q()
|
|
5172
5172
|
], re);
|
|
5173
5173
|
var qa = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, os = (e, t, i, r) => {
|
|
@@ -5234,7 +5234,7 @@ os([
|
|
|
5234
5234
|
y({ attribute: !1 })
|
|
5235
5235
|
], pi.prototype, "policies", 2);
|
|
5236
5236
|
pi = os([
|
|
5237
|
-
|
|
5237
|
+
$("catalog-modal-policy-selection"),
|
|
5238
5238
|
q()
|
|
5239
5239
|
], pi);
|
|
5240
5240
|
var Wa = Object.defineProperty, Ga = Object.getOwnPropertyDescriptor, Ri = (e, t, i, r) => {
|
|
@@ -5285,10 +5285,10 @@ Ri([
|
|
|
5285
5285
|
y({ attribute: !1 })
|
|
5286
5286
|
], Se.prototype, "policies", 2);
|
|
5287
5287
|
Se = Ri([
|
|
5288
|
-
|
|
5288
|
+
$("catalog-modal-policy-display"),
|
|
5289
5289
|
q()
|
|
5290
5290
|
], Se);
|
|
5291
|
-
var Ha = Object.defineProperty, Va = Object.getOwnPropertyDescriptor,
|
|
5291
|
+
var Ha = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, bt = (e, t, i, r) => {
|
|
5292
5292
|
for (var s = r > 1 ? void 0 : r ? Va(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
5293
5293
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
5294
5294
|
return r && s && Ha(t, i, s), s;
|
|
@@ -5357,33 +5357,33 @@ let st = class extends C {
|
|
|
5357
5357
|
}
|
|
5358
5358
|
}
|
|
5359
5359
|
};
|
|
5360
|
-
|
|
5360
|
+
bt([
|
|
5361
5361
|
y({ attribute: !1 })
|
|
5362
5362
|
], st.prototype, "dspStore", 2);
|
|
5363
|
-
|
|
5363
|
+
bt([
|
|
5364
5364
|
y({ attribute: !1 })
|
|
5365
5365
|
], st.prototype, "showPolicySelection", 2);
|
|
5366
|
-
|
|
5366
|
+
bt([
|
|
5367
5367
|
y()
|
|
5368
5368
|
], st.prototype, "negotiationStatus", 2);
|
|
5369
|
-
|
|
5369
|
+
bt([
|
|
5370
5370
|
y()
|
|
5371
5371
|
], st.prototype, "currentState", 2);
|
|
5372
|
-
|
|
5372
|
+
bt([
|
|
5373
5373
|
y()
|
|
5374
5374
|
], st.prototype, "attempt", 2);
|
|
5375
|
-
|
|
5375
|
+
bt([
|
|
5376
5376
|
y()
|
|
5377
5377
|
], st.prototype, "maxAttempts", 2);
|
|
5378
|
-
|
|
5378
|
+
bt([
|
|
5379
5379
|
y()
|
|
5380
5380
|
], st.prototype, "negotiationError", 2);
|
|
5381
|
-
st =
|
|
5382
|
-
|
|
5381
|
+
st = bt([
|
|
5382
|
+
$("catalog-modal-negotiation-button"),
|
|
5383
5383
|
q()
|
|
5384
5384
|
], st);
|
|
5385
5385
|
const Ka = ".contract-section{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-400);margin-bottom:var(--scale-400);padding:var(--scale-500)}.contract-section .contract-header{display:flex;flex-direction:column;gap:var(--scale-200);padding-bottom:var(--scale-300)}.contract-section .contract-subsection{display:flex;flex-direction:column;gap:var(--scale-300)}.contract-section .contract-subsection .collapsible-header{align-items:center;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-sm);cursor:pointer;display:flex;justify-content:space-between;padding:var(--scale-300) var(--scale-400);transition:all .2s ease;user-select:none}.contract-section .contract-subsection .collapsible-header:hover{background-color:var(--color-surface-tertiary);border-color:var(--color-border-primary)}.contract-section .contract-subsection .collapsible-header .chevron{color:var(--color-text-secondary);font-size:1.5rem;transition:transform .3s ease}.contract-section .contract-subsection .collapsible-header .chevron.expanded{transform:rotate(180deg)}.contract-section .contract-subsection .collapsible-content{max-height:0;opacity:0;overflow:hidden;padding:0 var(--scale-400);transition:max-height .3s ease,opacity .3s ease}.contract-section .contract-subsection .collapsible-content.expanded{max-height:2000px;opacity:1;padding-bottom:var(--scale-300);padding-top:var(--scale-300)}.contract-section .contract-subsection .collapsible-content .assets-list{display:flex;flex-direction:column;gap:var(--scale-200)}.contract-section .contract-subsection .collapsible-content .assets-list .asset-item{gap:var(--scale-100)}.contract-section .contract-subsection .collapsible-content .assets-list .asset-item,.contract-section .contract-subsection .collapsible-content .bundle-info{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-sm);display:flex;flex-direction:column;padding:var(--scale-300)}.contract-section .contract-subsection .collapsible-content .bundle-info{gap:var(--scale-200);margin-bottom:var(--scale-300)}.contract-section .contract-subsection .collapsible-content .facts-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.contract-section .contract-subsection .collapsible-content .facts-list ds4go-card-catalog{height:auto;width:354px}";
|
|
5386
|
-
var Ya = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor,
|
|
5386
|
+
var Ya = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, wt = (e, t, i, r) => {
|
|
5387
5387
|
for (var s = r > 1 ? void 0 : r ? Ja(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
5388
5388
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
5389
5389
|
return r && s && Ya(t, i, s), s;
|
|
@@ -5543,29 +5543,29 @@ let J = class extends C {
|
|
|
5543
5543
|
J.styles = A`
|
|
5544
5544
|
${L(Ka)}
|
|
5545
5545
|
`;
|
|
5546
|
-
|
|
5546
|
+
wt([
|
|
5547
5547
|
h()
|
|
5548
5548
|
], J.prototype, "agreement", 2);
|
|
5549
|
-
|
|
5549
|
+
wt([
|
|
5550
5550
|
h()
|
|
5551
5551
|
], J.prototype, "assets", 2);
|
|
5552
|
-
|
|
5552
|
+
wt([
|
|
5553
5553
|
h()
|
|
5554
5554
|
], J.prototype, "bundles", 2);
|
|
5555
|
-
|
|
5555
|
+
wt([
|
|
5556
5556
|
h()
|
|
5557
5557
|
], J.prototype, "policies", 2);
|
|
5558
|
-
|
|
5558
|
+
wt([
|
|
5559
5559
|
h()
|
|
5560
5560
|
], J.prototype, "expandedAssets", 2);
|
|
5561
|
-
|
|
5561
|
+
wt([
|
|
5562
5562
|
h()
|
|
5563
5563
|
], J.prototype, "expandedPolicies", 2);
|
|
5564
|
-
|
|
5564
|
+
wt([
|
|
5565
5565
|
h()
|
|
5566
5566
|
], J.prototype, "expandedFacts", 2);
|
|
5567
|
-
J =
|
|
5568
|
-
|
|
5567
|
+
J = wt([
|
|
5568
|
+
$("ds4go-customer-contract-modal-part"),
|
|
5569
5569
|
q()
|
|
5570
5570
|
], J);
|
|
5571
5571
|
const Za = ":host{--provider-logo-width:48px;--provider-logo-height:22px;--modal-logo-width:152px;--modal-logo-height:48px}svg{vertical-align:middle}.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}.flex .align-items-flex-end{align-items:flex-end}.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 catalog-modal-negotiation-button{margin-left:auto}.modal .modal-content-wrapper{display:flex;flex:1;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 .provider-line{flex-wrap:wrap}.modal .modal-content-wrapper .provider-line,.modal .modal-content-wrapper .provider-line>div{align-items:center;display:flex;flex-direction:row}.modal .modal-content-wrapper .provider-logo{background-position:50%;background-repeat:no-repeat;background-size:contain;height:var(--provider-logo-height);width:var(--provider-logo-width)}.modal .modal-content-wrapper .default-image-grid{display:flex;flex-wrap:wrap;gap:8px}.modal .modal-content-wrapper .default-img{max-height:10vh;max-width:100%;width:max-content}.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 a{margin:0}.modal .modal-content-wrapper a:has(svg){align-items:center;display:flex;flex-direction:row;gap:var(--typography-spacing-xs)}.modal .modal-content-wrapper a:has(svg) svg{color:var(--color-icon-information);display:flex;height:20px;width:20px}.modal .modal-content-wrapper .badges{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200);padding:8px}.modal .modal-content-wrapper .badges:has(+.badges){padding-right:0}.modal .modal-content-wrapper .badges+.badges{padding-left:0}.modal .modal-content-wrapper .metadata-section{border-top:var(--border-width-sm) solid var(--color-border-primary);gap:var(--scale-400);padding-top:--scale-200}.modal .modal-content-wrapper .metadata-section tems-division[type=h2]{padding-top:var(--scale-400)}.modal .modal-content-wrapper .metadata-section .metadata-provider{gap:var(--scale-400)}.modal>.modal-content-wrapper:has(iframe,.main-img){flex-direction:row;gap:var(--scale-900)}.modal>.modal-content-wrapper:has(iframe,.main-img) .main-img,.modal>.modal-content-wrapper:has(iframe,.main-img) iframe{background-position:top;background-repeat:no-repeat;background-size:100%;min-width:50%;padding:var(--scale-600);width:50%}.modal>.modal-content-wrapper:has(iframe,.main-img) .main-img>div[style],.modal>.modal-content-wrapper:has(iframe,.main-img) iframe,.modal>.modal-content-wrapper:has(iframe,.main-img) iframe>div[style]{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-lg)}.modal>.modal-content-wrapper:has(iframe,.main-img) .logo{background-position:50%;background-repeat:no-repeat;background-size:contain;height:var(--modal-logo-height);width:var(--modal-logo-width)}.modal .modal-content-wrapper:not(:has(iframe,.main-img)){flex-direction:column}.modal .case-2,.modal .case-3,.modal .case-4{display:flex;flex-direction:column;flex-wrap:wrap;gap:var(--scale-400);width:50%}.modal .case-2 *,.modal .case-3 *,.modal .case-4 *{background-position:50%;background-repeat:no-repeat;background-size:cover}.modal .case-2 .full-width,.modal .case-3 .full-width,.modal .case-4 .full-width{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);flex-grow:1;width:100%}.modal .case-2 .img-inner-row,.modal .case-3 .img-inner-row,.modal .case-4 .img-inner-row{display:flex;flex-direction:row;flex-grow:1;gap:var(--scale-400)}.modal .case-2 .img-inner-row .double-image,.modal .case-3 .img-inner-row .double-image,.modal .case-4 .img-inner-row .double-image{display:flex;gap:var(--scale-400)}.modal .case-2 .img-inner-row .double-image>div,.modal .case-3 .img-inner-row .double-image>div,.modal .case-4 .img-inner-row .double-image>div{background-position:50%;background-repeat:no-repeat;background-size:cover;border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);flex:1;width:100%}.modal .case-3 .double-image{flex-direction:row;width:100%}.modal .case-4 .img-inner-row{display:flex;flex-direction:row;flex-grow:1;gap:var(--scale-400)}.modal .case-4 .img-inner-row .double-image{flex-direction:column;width:50%}.modal .case-4 .img-inner-row .last-img{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);flex:1;height:100%;margin-right:auto;width:50%}.modal .multiple-columns{gap:var(--scale-800)}.modal .multiple-columns>.half{gap:var(--scale-400)}.modal .multiple-columns>.half:empty{display:none}.modal .badge-row{gap:var(--scale-200)}.modal .assets-rows{gap:0}.modal .assets-rows .asset-row{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-bottom:0;color:var(--color-text-body);gap:var(--scale-300);padding:var(--scale-200);text-overflow:ellipsis}.modal .assets-rows p{font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-weight:var(--font-weight-medium);line-height:var(--line-height-body-sm);margin:0;overflow:hidden;text-overflow:ellipsis}.modal .assets-rows .asset-row:first-of-type{border-radius:var(--border-radius-xl) var(--border-radius-xl) 0 0}.modal .assets-rows .asset-row:last-of-type{border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:0 0 var(--border-radius-xl) var(--border-radius-xl)}.modal .assets-rows .asset-row:only-of-type{border-bottom:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-xl)}.modal .assets-rows .asset-format{align-items:flex-end;background-color:var(--color-surface-disabled);border-radius:var(--border-radius-md);display:flex;height:48px;justify-content:flex-end;min-width:40px;padding:6px;width:40px}.modal .assets-rows .asset-format p{font-size:var(--typography-size-body-xs);font-weight:var(--font-weight-bold);text-transform:low ercase}.modal .assets-rows .flex-column{overflow:hidden}.modal .metadata-section .half:empty{display:none}.modal .policy-selection-modal{background:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-500);padding:var(--scale-400)}.modal .policy-selection-modal .policy-selection-header h3{font-size:var(--typography-size-heading-md);font-weight:var(--font-weight-bold);margin:0 0 var(--scale-300) 0}.modal .policy-selection-modal .policy-selection-header p{color:var(--color-text-secondary);margin:0}.modal .policy-selection-modal .policy-selection-list{display:flex;flex-direction:column;gap:var(--scale-400);max-height:400px;overflow-y:auto}.modal .policy-selection-modal .policy-option{border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);cursor:pointer;padding:var(--scale-400);transition:all .2s ease}.modal .policy-selection-modal .policy-option:hover{background:var(--color-surface-secondary);border-color:var(--color-primary)}.modal .policy-selection-modal .policy-option .policy-option-header{align-items:center;display:flex;flex-wrap:wrap;gap:var(--scale-200);justify-content:space-between;margin-bottom:var(--scale-300)}.modal .policy-selection-modal .policy-option .policy-option-header strong{font-weight:var(--font-weight-bold)}.modal .policy-selection-modal .policy-option .policy-option-header code{background:var(--color-surface-tertiary);border-radius:var(--border-radius-sm);font-family:monospace;font-size:.85em;padding:2px 6px;word-break:break-all}.modal .policy-selection-modal .policy-option .policy-option-details{color:var(--color-text-secondary);font-size:.9em}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail{margin:var(--scale-200) 0}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail strong{color:var(--color-text-body)}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail ul{margin:var(--scale-100) 0;padding-left:var(--scale-400)}.modal .policy-selection-modal .policy-option .policy-option-details .policy-detail ul li{margin:var(--scale-100) 0}.modal .policy-selection-modal .policy-selection-actions{display:flex;gap:var(--scale-300);justify-content:flex-end;margin-top:var(--scale-300)}@media screen and (min-width:1100px){div.modal{height:80vh;width:80vw}}";
|
|
@@ -5670,7 +5670,7 @@ let I = class extends na {
|
|
|
5670
5670
|
n,
|
|
5671
5671
|
r
|
|
5672
5672
|
);
|
|
5673
|
-
this.negotiationId = c, this.negotiationStatus = "pending", this.requestUpdate(),
|
|
5673
|
+
this.negotiationId = c, this.negotiationStatus = "pending", this.requestUpdate(), wa(t, c), await this._pollNegotiationStatus(e, c);
|
|
5674
5674
|
} catch (e) {
|
|
5675
5675
|
if (console.error("Contract negotiation failed:", e), this.negotiationStatus = "failed", this.negotiationError = e.message, this.negotiationId) {
|
|
5676
5676
|
const t = this.object;
|
|
@@ -5707,7 +5707,7 @@ let I = class extends na {
|
|
|
5707
5707
|
this.contractId,
|
|
5708
5708
|
t,
|
|
5709
5709
|
Date.now()
|
|
5710
|
-
), this.contractId &&
|
|
5710
|
+
), this.contractId && $a(
|
|
5711
5711
|
n,
|
|
5712
5712
|
this.contractId,
|
|
5713
5713
|
t
|
|
@@ -5858,7 +5858,7 @@ T([
|
|
|
5858
5858
|
h()
|
|
5859
5859
|
], I.prototype, "availablePolicies", 2);
|
|
5860
5860
|
I = T([
|
|
5861
|
-
|
|
5861
|
+
$("ds4go-catalog-modal"),
|
|
5862
5862
|
q()
|
|
5863
5863
|
], I);
|
|
5864
5864
|
const tn = /* @__PURE__ */ Symbol();
|
|
@@ -6067,12 +6067,12 @@ let z = class extends k {
|
|
|
6067
6067
|
>
|
|
6068
6068
|
<tems-division type="body-m"
|
|
6069
6069
|
><div>
|
|
6070
|
-
${e.participant_id ? l(
|
|
6070
|
+
${e.participant_id ? l(w`Participant ID: ${String(e.participant_id)}`) : ""}
|
|
6071
6071
|
</div></tems-division
|
|
6072
6072
|
>
|
|
6073
6073
|
${e.balance !== void 0 && e.balance !== null ? d`<tems-division type="body-m"
|
|
6074
6074
|
><div>
|
|
6075
|
-
${l(
|
|
6075
|
+
${l(w`Balance: ${String(e.balance)}`)}
|
|
6076
6076
|
</div></tems-division
|
|
6077
6077
|
>` : p}
|
|
6078
6078
|
${this.providerNegotiations && this.providerNegotiations.length > 0 ? d`<tems-division type="h4"
|
|
@@ -6174,7 +6174,7 @@ V([
|
|
|
6174
6174
|
h()
|
|
6175
6175
|
], z.prototype, "consumerAgreements", 2);
|
|
6176
6176
|
z = V([
|
|
6177
|
-
|
|
6177
|
+
$("ds4go-customer-modal"),
|
|
6178
6178
|
q()
|
|
6179
6179
|
], z);
|
|
6180
6180
|
const an = ".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}.flex .align-items-flex-end{align-items:flex-end}.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 ds4go-card-catalog{height:auto;width:354px}@media screen and (min-width:1100px){div.modal{height:fit-content;max-height:80vh;max-width:80vw;min-height:50vh;min-width:50vw;width:fit-content}}";
|
|
@@ -6338,7 +6338,7 @@ Rt([
|
|
|
6338
6338
|
h()
|
|
6339
6339
|
], ot.prototype, "showTechnicalInfo", 2);
|
|
6340
6340
|
ot = Rt([
|
|
6341
|
-
|
|
6341
|
+
$("ds4go-fact-bundle-modal"),
|
|
6342
6342
|
q()
|
|
6343
6343
|
], ot);
|
|
6344
6344
|
const cn = ".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}.flex .align-items-flex-end{align-items:flex-end}.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 .cover-image{border-radius:var(--border-radius-md);height:300px;margin-bottom:var(--scale-200);overflow:hidden;width:100%}.modal .modal-content-wrapper .cover-image img{display:block;height:100%;object-fit:cover;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 tems-division[type=h3]{margin-bottom:var(--scale-500);margin-top:var(--scale-300)}.modal .modal-content-wrapper tems-division[type=h4]{margin-bottom:var(--scale-200);margin-top:var(--scale-500)}.modal .modal-content-wrapper .author-section{margin-bottom:var(--scale-200);margin-top:var(--scale-200);text-align:center;width:100%}.modal .modal-content-wrapper .author-section div{display:block;height:auto;overflow:hidden;text-overflow:ellipsis}.modal .modal-content-wrapper .categories-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:var(--scale-200)}.modal .modal-content-wrapper .medias-gallery{display:grid;gap:var(--scale-300);grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.modal .modal-content-wrapper .medias-gallery .media-item{aspect-ratio:1;border-radius:var(--border-radius-md);cursor:pointer;overflow:hidden;transition:transform var(--transition-duration-fast) ease,box-shadow var(--transition-duration-fast) ease}.modal .modal-content-wrapper .medias-gallery .media-item:hover{box-shadow:var(--shadow-md);transform:scale(1.05)}.modal .modal-content-wrapper .medias-gallery .media-item img{display:block;height:100%;object-fit:cover;width:100%}@media screen and (min-width:1100px){div.modal{height:fit-content;max-height:80vh;max-width:80vw;min-height:50vh;min-width:50vw;width:fit-content}div.modal .modal-content-wrapper .cover-image{height:400px}div.modal .modal-content-wrapper .medias-gallery{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}";
|
|
@@ -6511,11 +6511,11 @@ as([
|
|
|
6511
6511
|
h()
|
|
6512
6512
|
], Ee.prototype, "disableButton", 2);
|
|
6513
6513
|
Ee = as([
|
|
6514
|
-
|
|
6514
|
+
$("ds4go-fact-modal"),
|
|
6515
6515
|
q()
|
|
6516
6516
|
], Ee);
|
|
6517
6517
|
const un = ".contract-section{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-400);margin-bottom:var(--scale-400);padding:var(--scale-500)}.contract-section .contract-header{border-bottom:var(--border-width-sm) solid var(--color-border-secondary);display:flex;flex-direction:column;gap:var(--scale-200);padding-bottom:var(--scale-300)}.contract-section .contract-subsection{display:flex;flex-direction:column;gap:var(--scale-300)}.contract-section .contract-subsection .collapsible-header{align-items:center;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-sm);cursor:pointer;display:flex;justify-content:space-between;padding:var(--scale-300) var(--scale-400);transition:all .2s ease;user-select:none}.contract-section .contract-subsection .collapsible-header:hover{background-color:var(--color-surface-tertiary);border-color:var(--color-border-primary)}.contract-section .contract-subsection .collapsible-header .chevron{color:var(--color-text-secondary);font-size:1.5rem;transition:transform .3s ease}.contract-section .contract-subsection .collapsible-header .chevron.expanded{transform:rotate(180deg)}.contract-section .contract-subsection .collapsible-content{max-height:0;opacity:0;overflow:hidden;padding:0 var(--scale-400);transition:max-height .3s ease,opacity .3s ease}.contract-section .contract-subsection .collapsible-content.expanded{max-height:2000px;opacity:1;padding-bottom:var(--scale-300);padding-top:var(--scale-300)}.contract-section .contract-subsection .assets-list{display:flex;flex-direction:column;gap:var(--scale-200)}.contract-section .contract-subsection .assets-list .asset-item{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-sm);display:flex;flex-direction:column;gap:var(--scale-100);padding:var(--scale-300)}";
|
|
6518
|
-
var hn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor,
|
|
6518
|
+
var hn = Object.defineProperty, mn = Object.getOwnPropertyDescriptor, zt = (e, t, i, r) => {
|
|
6519
6519
|
for (var s = r > 1 ? void 0 : r ? mn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
6520
6520
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
6521
6521
|
return r && s && hn(t, i, s), s;
|
|
@@ -6606,23 +6606,23 @@ let ht = class extends C {
|
|
|
6606
6606
|
ht.styles = A`
|
|
6607
6607
|
${L(un)}
|
|
6608
6608
|
`;
|
|
6609
|
-
|
|
6609
|
+
zt([
|
|
6610
6610
|
h()
|
|
6611
6611
|
], ht.prototype, "contract", 2);
|
|
6612
|
-
|
|
6612
|
+
zt([
|
|
6613
6613
|
h()
|
|
6614
6614
|
], ht.prototype, "assets", 2);
|
|
6615
|
-
|
|
6615
|
+
zt([
|
|
6616
6616
|
h()
|
|
6617
6617
|
], ht.prototype, "policies", 2);
|
|
6618
|
-
|
|
6618
|
+
zt([
|
|
6619
6619
|
h()
|
|
6620
6620
|
], ht.prototype, "expandedAssets", 2);
|
|
6621
|
-
|
|
6621
|
+
zt([
|
|
6622
6622
|
h()
|
|
6623
6623
|
], ht.prototype, "expandedPolicies", 2);
|
|
6624
|
-
ht =
|
|
6625
|
-
|
|
6624
|
+
ht = zt([
|
|
6625
|
+
$("ds4go-contract-modal-part"),
|
|
6626
6626
|
q()
|
|
6627
6627
|
], ht);
|
|
6628
6628
|
const fn = ".card-grid{display:flex;flex-direction:row;flex-wrap:wrap;gap:20px}.card-grid-vertical{justify-content:stretch}.card-grid-vertical ds4go-card-catalog{height:auto;width:354px}";
|
|
@@ -6631,7 +6631,7 @@ var gn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, Ue = (e, t
|
|
|
6631
6631
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
6632
6632
|
return r && s && gn(t, i, s), s;
|
|
6633
6633
|
};
|
|
6634
|
-
let
|
|
6634
|
+
let Ut = class extends C {
|
|
6635
6635
|
constructor() {
|
|
6636
6636
|
super(...arguments), this.negotiations = [], this.assets = [], this.type = "PROVIDER";
|
|
6637
6637
|
}
|
|
@@ -6694,25 +6694,25 @@ let Nt = class extends C {
|
|
|
6694
6694
|
</div>`;
|
|
6695
6695
|
}
|
|
6696
6696
|
};
|
|
6697
|
-
|
|
6697
|
+
Ut.styles = A`
|
|
6698
6698
|
${L(fn)}
|
|
6699
6699
|
`;
|
|
6700
6700
|
Ue([
|
|
6701
6701
|
h()
|
|
6702
|
-
],
|
|
6702
|
+
], Ut.prototype, "negotiations", 2);
|
|
6703
6703
|
Ue([
|
|
6704
6704
|
h()
|
|
6705
|
-
],
|
|
6705
|
+
], Ut.prototype, "assets", 2);
|
|
6706
6706
|
Ue([
|
|
6707
6707
|
h()
|
|
6708
|
-
],
|
|
6709
|
-
|
|
6710
|
-
|
|
6708
|
+
], Ut.prototype, "type", 2);
|
|
6709
|
+
Ut = Ue([
|
|
6710
|
+
$("ds4go-negotiations-modal-part"),
|
|
6711
6711
|
q()
|
|
6712
|
-
],
|
|
6712
|
+
], Ut);
|
|
6713
6713
|
const vn = ".policy-card{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-md);display:flex;flex-direction:column;gap:var(--scale-400);margin-bottom:var(--scale-400);padding:var(--scale-500)}.policy-card .policy-header{border-bottom:var(--border-width-sm) solid var(--color-border-secondary);display:flex;flex-direction:column;gap:var(--scale-200);padding-bottom:var(--scale-300)}.policy-card .policy-section{display:flex;flex-direction:column;gap:var(--scale-300)}.policy-card .policy-section .policy-section-title{color:var(--color-text-heading);font-weight:var(--font-weight-semibold)}.policy-card .policy-section .policy-item{background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-sm);display:flex;flex-direction:column;gap:var(--scale-200);padding:var(--scale-300)}.policy-card .policy-section .policy-item .constraints-list{border-left:var(--border-width-sm) solid var(--color-border-secondary);display:flex;flex-direction:column;gap:var(--scale-100);margin-top:var(--scale-200);padding-left:var(--scale-400)}.policy-card .policy-section .policy-item .constraints-list .constraint-item{background-color:var(--color-surface-secondary);border:var(--border-width-sm) solid var(--color-border-secondary);border-radius:var(--border-radius-xs);display:flex;flex-direction:column;gap:var(--scale-100);padding:var(--scale-200)}";
|
|
6714
|
-
var bn = Object.defineProperty,
|
|
6715
|
-
for (var s = r > 1 ? void 0 : r ?
|
|
6714
|
+
var bn = Object.defineProperty, wn = Object.getOwnPropertyDescriptor, ns = (e, t, i, r) => {
|
|
6715
|
+
for (var s = r > 1 ? void 0 : r ? wn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
6716
6716
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
6717
6717
|
return r && s && bn(t, i, s), s;
|
|
6718
6718
|
};
|
|
@@ -6828,7 +6828,7 @@ ns([
|
|
|
6828
6828
|
h()
|
|
6829
6829
|
], Oe.prototype, "policy", 2);
|
|
6830
6830
|
Oe = ns([
|
|
6831
|
-
|
|
6831
|
+
$("ds4go-odrl-policy-modal-part"),
|
|
6832
6832
|
q()
|
|
6833
6833
|
], Oe);
|
|
6834
6834
|
class ui extends kr {
|
|
@@ -6846,7 +6846,7 @@ class ui extends kr {
|
|
|
6846
6846
|
}
|
|
6847
6847
|
}
|
|
6848
6848
|
ui.directiveName = "unsafeHTML", ui.resultType = 1;
|
|
6849
|
-
const
|
|
6849
|
+
const $n = jr(ui);
|
|
6850
6850
|
var _n = Object.defineProperty, xn = Object.getOwnPropertyDescriptor, Di = (e, t, i, r) => {
|
|
6851
6851
|
for (var s = r > 1 ? void 0 : r ? xn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
6852
6852
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
@@ -6863,7 +6863,7 @@ let se = class extends C {
|
|
|
6863
6863
|
const t = new la(this.policy).renderAsHtml();
|
|
6864
6864
|
return d`
|
|
6865
6865
|
<div class="${this.compact ? "compact" : ""}">
|
|
6866
|
-
${
|
|
6866
|
+
${$n(t)}
|
|
6867
6867
|
</div>
|
|
6868
6868
|
`;
|
|
6869
6869
|
} catch (e) {
|
|
@@ -6999,7 +6999,7 @@ Di([
|
|
|
6999
6999
|
y({ type: Boolean })
|
|
7000
7000
|
], se.prototype, "compact", 2);
|
|
7001
7001
|
se = Di([
|
|
7002
|
-
|
|
7002
|
+
$("odrl-policy-viewer")
|
|
7003
7003
|
], se);
|
|
7004
7004
|
const Pn = "div.select{align-items:flex-start;display:flex;flex-direction:column;gap:var(--scale-200);width:100%}div:has(>tems-textarea){margin-bottom:-2px}select{appearance:none;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300);width:100%}select:hover{border:var(--border-width-sm) solid var(--color-border-action)}select option{background-color:var(--color-surface-primary);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300)}.flex{display:flex;gap:var(--scale-200);width:100%}.flex.flex-column{flex-direction:column}.flex.align-right{justify-content:flex-end}.flex .flex-1{flex:1}.spacer-auto+.spacer-auto,.spacer-top{margin-top:var(--scale-400)}tems-input+tems-input{margin-top:var(--scale-200)}fieldset+fieldset{margin-top:var(--scale-400)}fieldset{margin-bottom:var(--scale-400)}fieldset>fieldset{margin-top:var(--scale-400)}";
|
|
7005
7005
|
var An = Object.defineProperty, Cn = Object.getOwnPropertyDescriptor, Ti = (e, t, i, r) => {
|
|
@@ -7180,7 +7180,7 @@ let oe = class extends C {
|
|
|
7180
7180
|
}
|
|
7181
7181
|
_renderPermission(e, t) {
|
|
7182
7182
|
return d`<fieldset>
|
|
7183
|
-
<legend>${l(
|
|
7183
|
+
<legend>${l(w`Permission ${t + 1}`)}</legend>
|
|
7184
7184
|
<tems-input
|
|
7185
7185
|
type="text"
|
|
7186
7186
|
label="${l("Action")}"
|
|
@@ -7471,7 +7471,7 @@ let oe = class extends C {
|
|
|
7471
7471
|
}
|
|
7472
7472
|
_renderProhibition(e, t) {
|
|
7473
7473
|
return d`<fieldset>
|
|
7474
|
-
<legend>${l(
|
|
7474
|
+
<legend>${l(w`Prohibition ${t + 1}`)}</legend>
|
|
7475
7475
|
<tems-input
|
|
7476
7476
|
type="text"
|
|
7477
7477
|
label="${l("Action")}"
|
|
@@ -7588,7 +7588,7 @@ let oe = class extends C {
|
|
|
7588
7588
|
}
|
|
7589
7589
|
_renderObligation(e, t) {
|
|
7590
7590
|
return d`<fieldset>
|
|
7591
|
-
<legend>${l(
|
|
7591
|
+
<legend>${l(w`Obligation ${t + 1}`)}</legend>
|
|
7592
7592
|
<tems-input
|
|
7593
7593
|
type="text"
|
|
7594
7594
|
label="${l("Action")}"
|
|
@@ -7704,7 +7704,7 @@ let oe = class extends C {
|
|
|
7704
7704
|
<div class="flex">
|
|
7705
7705
|
<tems-label
|
|
7706
7706
|
class="flex-1"
|
|
7707
|
-
label=${l(
|
|
7707
|
+
label=${l(w`Custom ${this.template.name} policy`)}
|
|
7708
7708
|
></tems-label>
|
|
7709
7709
|
<tems-button
|
|
7710
7710
|
type="outline-gray"
|
|
@@ -7785,7 +7785,7 @@ let oe = class extends C {
|
|
|
7785
7785
|
</fieldset>
|
|
7786
7786
|
<div class="flex align-right spacer-top">
|
|
7787
7787
|
<tems-button type="outline-gray" size="sm" @click=${this._resetPolicy}>
|
|
7788
|
-
${l(
|
|
7788
|
+
${l(w`Reset to ${this.template.name} default`)}
|
|
7789
7789
|
</tems-button>
|
|
7790
7790
|
</div>
|
|
7791
7791
|
</form>`) : d`<p>${l("No policy template provided")}</p>`;
|
|
@@ -7799,10 +7799,10 @@ Ti([
|
|
|
7799
7799
|
y({ attribute: !1 })
|
|
7800
7800
|
], oe.prototype, "policy", 2);
|
|
7801
7801
|
oe = Ti([
|
|
7802
|
-
|
|
7802
|
+
$("policy-composer"),
|
|
7803
7803
|
q()
|
|
7804
7804
|
], oe);
|
|
7805
|
-
var Sn = Object.defineProperty, En = Object.getOwnPropertyDescriptor,
|
|
7805
|
+
var Sn = Object.defineProperty, En = Object.getOwnPropertyDescriptor, qt = (e, t, i, r) => {
|
|
7806
7806
|
for (var s = r > 1 ? void 0 : r ? En(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
7807
7807
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
7808
7808
|
return r && s && Sn(t, i, s), s;
|
|
@@ -7922,23 +7922,23 @@ mt.styles = A`
|
|
|
7922
7922
|
align-items: center;
|
|
7923
7923
|
}
|
|
7924
7924
|
`;
|
|
7925
|
-
|
|
7925
|
+
qt([
|
|
7926
7926
|
y({ attribute: !1 })
|
|
7927
7927
|
], mt.prototype, "objects", 2);
|
|
7928
|
-
|
|
7928
|
+
qt([
|
|
7929
7929
|
y({ attribute: "header", type: String })
|
|
7930
7930
|
], mt.prototype, "header", 2);
|
|
7931
|
-
|
|
7931
|
+
qt([
|
|
7932
7932
|
h()
|
|
7933
7933
|
], mt.prototype, "search", 2);
|
|
7934
|
-
|
|
7934
|
+
qt([
|
|
7935
7935
|
h()
|
|
7936
7936
|
], mt.prototype, "resultCount", 2);
|
|
7937
|
-
|
|
7937
|
+
qt([
|
|
7938
7938
|
h()
|
|
7939
7939
|
], mt.prototype, "bundleCreationComponent", 2);
|
|
7940
|
-
mt =
|
|
7941
|
-
|
|
7940
|
+
mt = qt([
|
|
7941
|
+
$("solid-customer-list")
|
|
7942
7942
|
], mt);
|
|
7943
7943
|
var On = Object.defineProperty, In = Object.getOwnPropertyDescriptor, $t = (e, t, i, r) => {
|
|
7944
7944
|
for (var s = r > 1 ? void 0 : r ? In(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -8098,12 +8098,12 @@ let at = class extends k {
|
|
|
8098
8098
|
<tems-header
|
|
8099
8099
|
slot="header"
|
|
8100
8100
|
heading=${this.catalogId ? e ? this.catalogId === "*" ? `${l("All Datasets")}` : `${l("Datasets from")}
|
|
8101
|
-
${e["dct:title"]} (From ${this.sectorId})` : `${l(
|
|
8101
|
+
${e["dct:title"]} (From ${this.sectorId})` : `${l(w`Error while loading catalog ${this.catalogId}`)}` : this.sectorId ? this.sectorId === "*" ? `${l("All Sectors")}` : `${l("Catalogs available in")} ${this.sectorId}` : `${l("Root Authority")}`}
|
|
8102
8102
|
>${(this.sectorId || this.catalogId) && !(this.catalogId === "*" && this.sectorId === "*") && !(this.sectorId === "*" && !this.catalogId) ? d`<div slot="cta">
|
|
8103
8103
|
<tems-button
|
|
8104
8104
|
type="primary"
|
|
8105
8105
|
label=${l(
|
|
8106
|
-
|
|
8106
|
+
w`Back to ${this.catalogId ? this.sectorId : "Root Authority"}`
|
|
8107
8107
|
)}
|
|
8108
8108
|
@click=${this._back}
|
|
8109
8109
|
></tems-button>
|
|
@@ -8153,14 +8153,14 @@ $t([
|
|
|
8153
8153
|
h()
|
|
8154
8154
|
], at.prototype, "object", 2);
|
|
8155
8155
|
at = $t([
|
|
8156
|
-
|
|
8156
|
+
$("solid-dsif-explorer-poc")
|
|
8157
8157
|
], at);
|
|
8158
8158
|
var Rn = Object.defineProperty, Dn = Object.getOwnPropertyDescriptor, he = (e, t, i, r) => {
|
|
8159
8159
|
for (var s = r > 1 ? void 0 : r ? Dn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
8160
8160
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
8161
8161
|
return r && s && Rn(t, i, s), s;
|
|
8162
8162
|
};
|
|
8163
|
-
let
|
|
8163
|
+
let Et = class extends X {
|
|
8164
8164
|
constructor() {
|
|
8165
8165
|
super(), this.header = "DSP Catalog", this.search = [], this.resultCount = this.objects?.length || 0, this._getResource = new Q(this, {
|
|
8166
8166
|
task: async ([e]) => {
|
|
@@ -8254,7 +8254,7 @@ let St = class extends X {
|
|
|
8254
8254
|
});
|
|
8255
8255
|
}
|
|
8256
8256
|
};
|
|
8257
|
-
|
|
8257
|
+
Et.styles = A`
|
|
8258
8258
|
.modal {
|
|
8259
8259
|
position: fixed;
|
|
8260
8260
|
top: 0;
|
|
@@ -8270,27 +8270,27 @@ St.styles = A`
|
|
|
8270
8270
|
`;
|
|
8271
8271
|
he([
|
|
8272
8272
|
h()
|
|
8273
|
-
],
|
|
8273
|
+
], Et.prototype, "dspConnector", 2);
|
|
8274
8274
|
he([
|
|
8275
8275
|
y({ attribute: "header", type: String })
|
|
8276
|
-
],
|
|
8276
|
+
], Et.prototype, "header", 2);
|
|
8277
8277
|
he([
|
|
8278
8278
|
h()
|
|
8279
|
-
],
|
|
8279
|
+
], Et.prototype, "search", 2);
|
|
8280
8280
|
he([
|
|
8281
8281
|
h()
|
|
8282
|
-
],
|
|
8283
|
-
|
|
8284
|
-
|
|
8285
|
-
],
|
|
8286
|
-
var Tn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor,
|
|
8282
|
+
], Et.prototype, "resultCount", 2);
|
|
8283
|
+
Et = he([
|
|
8284
|
+
$("solid-dsp-catalog")
|
|
8285
|
+
], Et);
|
|
8286
|
+
var Tn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor, Dt = (e, t, i, r) => {
|
|
8287
8287
|
for (var s = r > 1 ? void 0 : r ? jn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
8288
8288
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
8289
8289
|
return r && s && Tn(t, i, s), s;
|
|
8290
8290
|
};
|
|
8291
|
-
let
|
|
8291
|
+
let ft = class extends X {
|
|
8292
8292
|
constructor() {
|
|
8293
|
-
super(...arguments), this.autoRefreshInterval = 0, this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this._getResource = new Q(this, {
|
|
8293
|
+
super(...arguments), this.autoRefreshInterval = 0, this.agreements = [], this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this._getResource = new Q(this, {
|
|
8294
8294
|
task: async () => {
|
|
8295
8295
|
if (this.orbit) {
|
|
8296
8296
|
if (!this.hasCachedDatas) {
|
|
@@ -8329,7 +8329,96 @@ let Et = class extends X {
|
|
|
8329
8329
|
this.loadPolicies(),
|
|
8330
8330
|
this.loadContracts(),
|
|
8331
8331
|
this.loadNegotiations()
|
|
8332
|
-
]);
|
|
8332
|
+
]), await this.forceLoadAllAssets();
|
|
8333
|
+
}
|
|
8334
|
+
// IMPROVEME: allows Consumer connector to load assets from other providers
|
|
8335
|
+
async forceLoadAllAssets() {
|
|
8336
|
+
if (!this.storeService) {
|
|
8337
|
+
console.error("Store not initialized. Check connector configuration.");
|
|
8338
|
+
return;
|
|
8339
|
+
}
|
|
8340
|
+
try {
|
|
8341
|
+
await Promise.all(
|
|
8342
|
+
this.negotiations.map(async (r) => {
|
|
8343
|
+
if (r.contractAgreementId) {
|
|
8344
|
+
const s = await this.loadAgreement(r["@id"]);
|
|
8345
|
+
s && !this.agreements.find((o) => o["@id"] === s["@id"]) && this.agreements.push(s);
|
|
8346
|
+
}
|
|
8347
|
+
})
|
|
8348
|
+
);
|
|
8349
|
+
const e = this.agreements.filter(
|
|
8350
|
+
(r) => {
|
|
8351
|
+
if (!r.consumerId) return !1;
|
|
8352
|
+
const s = r.consumerId.split("/").pop();
|
|
8353
|
+
if (!this.participantId)
|
|
8354
|
+
throw new Error("Participant ID not set");
|
|
8355
|
+
return s?.startsWith(this.participantId);
|
|
8356
|
+
}
|
|
8357
|
+
), t = [];
|
|
8358
|
+
for (const r of e)
|
|
8359
|
+
if (!this.assets.find((s) => s["@id"] === r.assetId))
|
|
8360
|
+
for (const s of this.providers)
|
|
8361
|
+
t.push(
|
|
8362
|
+
fetch(
|
|
8363
|
+
`${s.address.replace("/protocol", "")}/management/v3/assets/${r.assetId}`
|
|
8364
|
+
)
|
|
8365
|
+
);
|
|
8366
|
+
const i = await Promise.all(t);
|
|
8367
|
+
this.assets = [
|
|
8368
|
+
...this.assets,
|
|
8369
|
+
...await Promise.all(
|
|
8370
|
+
i.filter((r) => r.status === 200).map((r) => r.json())
|
|
8371
|
+
)
|
|
8372
|
+
];
|
|
8373
|
+
} catch (e) {
|
|
8374
|
+
console.error("Failed to get all assets from all providers:", e);
|
|
8375
|
+
}
|
|
8376
|
+
}
|
|
8377
|
+
async getAgreementForResource(e) {
|
|
8378
|
+
if (!this.storeService) {
|
|
8379
|
+
console.error("Store not initialized. Check connector configuration.");
|
|
8380
|
+
return;
|
|
8381
|
+
}
|
|
8382
|
+
try {
|
|
8383
|
+
const t = this.assets.find(
|
|
8384
|
+
(r) => r.dataAddress?.baseUrl === e
|
|
8385
|
+
);
|
|
8386
|
+
if (!t)
|
|
8387
|
+
throw new Error(`No asset found for resource ${e}`);
|
|
8388
|
+
const i = this.agreements.find(
|
|
8389
|
+
(r) => r.assetId === t["@id"]
|
|
8390
|
+
);
|
|
8391
|
+
if (!i)
|
|
8392
|
+
throw new Error(`No agreement found for asset ${t["@id"]}`);
|
|
8393
|
+
return i;
|
|
8394
|
+
} catch (t) {
|
|
8395
|
+
console.error(`Failed to get agreement ID for ${e}:`, t);
|
|
8396
|
+
}
|
|
8397
|
+
}
|
|
8398
|
+
async fetchProtectedResource(e) {
|
|
8399
|
+
if (!this.storeService) {
|
|
8400
|
+
console.error("Store not initialized. Check connector configuration.");
|
|
8401
|
+
return;
|
|
8402
|
+
}
|
|
8403
|
+
try {
|
|
8404
|
+
const t = await this.getAgreementForResource(e);
|
|
8405
|
+
if (!t)
|
|
8406
|
+
throw new Error(`No agreement found for resource ${e}`);
|
|
8407
|
+
const i = this.negotiations.find(
|
|
8408
|
+
(r) => r.contractAgreementId === t?.["@id"]
|
|
8409
|
+
);
|
|
8410
|
+
if (!i)
|
|
8411
|
+
throw new Error(`No negotiation found for resource ${e}`);
|
|
8412
|
+
return await this.storeService.fetchProtectedResource(
|
|
8413
|
+
e,
|
|
8414
|
+
this.participantId,
|
|
8415
|
+
this.participantConnectorUri,
|
|
8416
|
+
i.counterPartyAddress,
|
|
8417
|
+
i.contractAgreementId
|
|
8418
|
+
);
|
|
8419
|
+
} catch (t) {
|
|
8420
|
+
console.error(`Failed to load ${e}:`, t);
|
|
8421
|
+
}
|
|
8333
8422
|
}
|
|
8334
8423
|
async loadAssets() {
|
|
8335
8424
|
if (!this.storeService) {
|
|
@@ -8450,24 +8539,27 @@ let Et = class extends X {
|
|
|
8450
8539
|
});
|
|
8451
8540
|
}
|
|
8452
8541
|
};
|
|
8453
|
-
|
|
8542
|
+
Dt([
|
|
8454
8543
|
y({ attribute: "auto-refresh", type: Number })
|
|
8455
|
-
],
|
|
8456
|
-
|
|
8544
|
+
], ft.prototype, "autoRefreshInterval", 2);
|
|
8545
|
+
Dt([
|
|
8457
8546
|
h()
|
|
8458
|
-
],
|
|
8459
|
-
|
|
8547
|
+
], ft.prototype, "agreements", 2);
|
|
8548
|
+
Dt([
|
|
8460
8549
|
h()
|
|
8461
|
-
],
|
|
8462
|
-
|
|
8550
|
+
], ft.prototype, "assets", 2);
|
|
8551
|
+
Dt([
|
|
8463
8552
|
h()
|
|
8464
|
-
],
|
|
8465
|
-
|
|
8553
|
+
], ft.prototype, "policies", 2);
|
|
8554
|
+
Dt([
|
|
8466
8555
|
h()
|
|
8467
|
-
],
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
],
|
|
8556
|
+
], ft.prototype, "contracts", 2);
|
|
8557
|
+
Dt([
|
|
8558
|
+
h()
|
|
8559
|
+
], ft.prototype, "negotiations", 2);
|
|
8560
|
+
ft = Dt([
|
|
8561
|
+
$("solid-dsp-connector")
|
|
8562
|
+
], ft);
|
|
8471
8563
|
const kn = ".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}.flex .align-items-flex-end{align-items:flex-end}.full-width{width:100%}[slot=content]{height:100%}section{height:calc(100% - var(--scale-900)*2);padding:var(--scale-900) 0}section,section>div{gap:var(--scale-400)}section>div{display:flex;flex:1;flex-direction:column;height:100%}section>div:first-child{max-width:400px}.card-grid{align-content:flex-start;display:flex;flex:1;flex-direction:row;flex-wrap:wrap;gap:20px;overflow-y:scroll}.card-grid-vertical{justify-content:stretch}.card-grid-vertical ds4go-card-catalog{height:fit-content;width:354px}ds4go-card-catalog{cursor:pointer}ds4go-card-catalog[selected]{--color-border-primary:var(--color-surface-action-solid)}tems-search-bar{--scale-900:0}.gap-400{gap:var(--scale-400)}div.select{align-items:flex-start;flex-direction:column}div.select,div.select .flex{display:flex;gap:var(--scale-200);width:100%}div.select .flex .flex-1{flex:1}div.select .flex tems-button{min-width:205px}div:has(>tems-textarea){margin-bottom:-2px}select{appearance:none;background-color:var(--color-surface-primary);border:var(--border-width-sm) solid var(--color-border-primary);border-radius:var(--border-radius-md);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300);width:100%}select:hover{border:var(--border-width-sm) solid var(--color-border-action)}select option{background-color:var(--color-surface-primary);color:var(--color-text-body);cursor:pointer;font-family:var(--font-family-body);font-size:var(--typography-size-body-sm);font-style:normal;font-weight:var(--font-weight-regular);letter-spacing:var(--font-letter-spacing-default);line-height:var(--line-height-body-sm);padding:var(--scale-100) var(--scale-300)}";
|
|
8472
8564
|
var Fn = Object.defineProperty, Mn = Object.getOwnPropertyDescriptor, D = (e, t, i, r) => {
|
|
8473
8565
|
for (var s = r > 1 ? void 0 : r ? Mn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -8501,7 +8593,7 @@ let S = class extends k {
|
|
|
8501
8593
|
(o) => !r.includes(o)
|
|
8502
8594
|
);
|
|
8503
8595
|
if (i) {
|
|
8504
|
-
const o =
|
|
8596
|
+
const o = Lt(
|
|
8505
8597
|
s,
|
|
8506
8598
|
i
|
|
8507
8599
|
);
|
|
@@ -8746,7 +8838,7 @@ let S = class extends k {
|
|
|
8746
8838
|
<tems-division type="h4">
|
|
8747
8839
|
<div>
|
|
8748
8840
|
${l(
|
|
8749
|
-
|
|
8841
|
+
w`${r} selected fact${r > 1 ? "s" : ""}`
|
|
8750
8842
|
)}
|
|
8751
8843
|
</div></tems-division
|
|
8752
8844
|
>
|
|
@@ -8824,7 +8916,7 @@ let S = class extends k {
|
|
|
8824
8916
|
>
|
|
8825
8917
|
<div>
|
|
8826
8918
|
${l(
|
|
8827
|
-
|
|
8919
|
+
w`Displaying ${i.length} of ${t.length} result${t.length > 1 ? "s" : ""}`
|
|
8828
8920
|
)}
|
|
8829
8921
|
</div>
|
|
8830
8922
|
<div class="flex flex-row gap-400">
|
|
@@ -9035,14 +9127,14 @@ D([
|
|
|
9035
9127
|
h()
|
|
9036
9128
|
], S.prototype, "displayContractPolicyCustomization", 2);
|
|
9037
9129
|
S = D([
|
|
9038
|
-
|
|
9130
|
+
$("solid-fact-bundle-creation")
|
|
9039
9131
|
], S);
|
|
9040
9132
|
var Nn = Object.defineProperty, Un = Object.getOwnPropertyDescriptor, Bt = (e, t, i, r) => {
|
|
9041
9133
|
for (var s = r > 1 ? void 0 : r ? Un(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
9042
9134
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
9043
9135
|
return r && s && Nn(t, i, s), s;
|
|
9044
9136
|
};
|
|
9045
|
-
let
|
|
9137
|
+
let gt = class extends k {
|
|
9046
9138
|
constructor() {
|
|
9047
9139
|
super(...arguments), this.objects = [], this.header = "DS4GO Fact Bundling", this.search = [], this.resultCount = this.objects?.length || 0, this.cherryPickedProperties = [
|
|
9048
9140
|
{ key: "created_at", value: "created_at", cast: M },
|
|
@@ -9184,7 +9276,7 @@ let ft = class extends k {
|
|
|
9184
9276
|
});
|
|
9185
9277
|
}
|
|
9186
9278
|
};
|
|
9187
|
-
|
|
9279
|
+
gt.styles = A`
|
|
9188
9280
|
.modal {
|
|
9189
9281
|
position: fixed;
|
|
9190
9282
|
top: 0;
|
|
@@ -9200,23 +9292,23 @@ ft.styles = A`
|
|
|
9200
9292
|
`;
|
|
9201
9293
|
Bt([
|
|
9202
9294
|
y({ attribute: !1 })
|
|
9203
|
-
],
|
|
9295
|
+
], gt.prototype, "objects", 2);
|
|
9204
9296
|
Bt([
|
|
9205
9297
|
y({ attribute: "header", type: String })
|
|
9206
|
-
],
|
|
9298
|
+
], gt.prototype, "header", 2);
|
|
9207
9299
|
Bt([
|
|
9208
9300
|
h()
|
|
9209
|
-
],
|
|
9301
|
+
], gt.prototype, "search", 2);
|
|
9210
9302
|
Bt([
|
|
9211
9303
|
h()
|
|
9212
|
-
],
|
|
9304
|
+
], gt.prototype, "resultCount", 2);
|
|
9213
9305
|
Bt([
|
|
9214
9306
|
h()
|
|
9215
|
-
],
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
],
|
|
9219
|
-
var Ln = Object.defineProperty, zn = Object.getOwnPropertyDescriptor,
|
|
9307
|
+
], gt.prototype, "bundleCreationComponent", 2);
|
|
9308
|
+
gt = Bt([
|
|
9309
|
+
$("solid-fact-bundle")
|
|
9310
|
+
], gt);
|
|
9311
|
+
var Ln = Object.defineProperty, zn = Object.getOwnPropertyDescriptor, Tt = (e, t, i, r) => {
|
|
9220
9312
|
for (var s = r > 1 ? void 0 : r ? zn(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
9221
9313
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
9222
9314
|
return r && s && Ln(t, i, s), s;
|
|
@@ -9247,17 +9339,17 @@ let nt = class extends k {
|
|
|
9247
9339
|
(c) => c.consumerId ? c.consumerId.split("/").pop()?.startsWith(t) : !1
|
|
9248
9340
|
), o = [];
|
|
9249
9341
|
for (const c of s) {
|
|
9250
|
-
const u = this.dspConnector?.instance?.
|
|
9251
|
-
c.assetId
|
|
9342
|
+
const u = this.dspConnector?.instance?.assets.find(
|
|
9343
|
+
(m) => m["@id"] === c.assetId
|
|
9252
9344
|
);
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
const u = c?.dataAddress?.baseUrl;
|
|
9258
|
-
u && a.push(this._getProxyValue(u));
|
|
9345
|
+
if (u) {
|
|
9346
|
+
const m = u?.dataAddress?.baseUrl;
|
|
9347
|
+
m && o.push(m);
|
|
9348
|
+
}
|
|
9259
9349
|
}
|
|
9260
|
-
const
|
|
9350
|
+
const a = (await Promise.all(o)).map(
|
|
9351
|
+
(c) => this._getProxyValue(c)
|
|
9352
|
+
), n = Array.from(
|
|
9261
9353
|
new Set(
|
|
9262
9354
|
(await Promise.all(a)).flatMap((c) => c?.facts || []).map((c) => c["@id"])
|
|
9263
9355
|
)
|
|
@@ -9392,26 +9484,26 @@ nt.styles = A`
|
|
|
9392
9484
|
align-items: center;
|
|
9393
9485
|
}
|
|
9394
9486
|
`;
|
|
9395
|
-
|
|
9487
|
+
Tt([
|
|
9396
9488
|
y({ attribute: !1 })
|
|
9397
9489
|
], nt.prototype, "objects", 2);
|
|
9398
|
-
|
|
9490
|
+
Tt([
|
|
9399
9491
|
h()
|
|
9400
9492
|
], nt.prototype, "dspConnector", 2);
|
|
9401
|
-
|
|
9493
|
+
Tt([
|
|
9402
9494
|
y({ attribute: "header", type: String })
|
|
9403
9495
|
], nt.prototype, "header", 2);
|
|
9404
|
-
|
|
9496
|
+
Tt([
|
|
9405
9497
|
h()
|
|
9406
9498
|
], nt.prototype, "search", 2);
|
|
9407
|
-
|
|
9499
|
+
Tt([
|
|
9408
9500
|
h()
|
|
9409
9501
|
], nt.prototype, "resultCount", 2);
|
|
9410
|
-
|
|
9502
|
+
Tt([
|
|
9411
9503
|
h()
|
|
9412
9504
|
], nt.prototype, "consumerAgreements", 2);
|
|
9413
|
-
nt =
|
|
9414
|
-
|
|
9505
|
+
nt = Tt([
|
|
9506
|
+
$("solid-fact-list")
|
|
9415
9507
|
], nt);
|
|
9416
9508
|
const qn = {
|
|
9417
9509
|
sc7e3b594ffcd9d61: "Open access",
|
|
@@ -9421,28 +9513,28 @@ const qn = {
|
|
|
9421
9513
|
s70a26f677dc46e06: "Policy ID:",
|
|
9422
9514
|
s7b3a70561cec8d75: "Type:",
|
|
9423
9515
|
s15923994727a0adb: "Permissions:",
|
|
9424
|
-
s0772542b009a8be9:
|
|
9516
|
+
s0772542b009a8be9: w`Action: ${0}`,
|
|
9425
9517
|
s4c52b0193dcce634: "use",
|
|
9426
|
-
s723a09cb247483aa:
|
|
9518
|
+
s723a09cb247483aa: w`Constraint: ${0} ${1} ${2}`,
|
|
9427
9519
|
s0885bc9622c48b61: "Prohibitions:",
|
|
9428
9520
|
s498865c7bd1f3959: "unknown",
|
|
9429
9521
|
sbde02617664d091c: "Obligations:",
|
|
9430
9522
|
s5ea7f731936859c6: "Target Asset:",
|
|
9431
9523
|
s3fca726cbe9998b3: "Assigner:",
|
|
9432
9524
|
s20acf344316637a0: "All Catalogs",
|
|
9433
|
-
s67269ab6dc51ec41:
|
|
9525
|
+
s67269ab6dc51ec41: w`Error while loading catalog ${0}`,
|
|
9434
9526
|
s0b88896b7338837d: "All Datasets",
|
|
9435
9527
|
s541d9cd11a5bc840: "Datasets from",
|
|
9436
9528
|
s01ceffa02fa6bd7f: "All Sectors",
|
|
9437
9529
|
s4aaac20ff7887391: "Catalogs available in",
|
|
9438
9530
|
sa89a60c3e1230cec: "Root Authority",
|
|
9439
|
-
se5784a16a6799dad:
|
|
9531
|
+
se5784a16a6799dad: w`Back to ${0}`,
|
|
9440
9532
|
s0fbf6dc6a1966408: "Next",
|
|
9441
9533
|
s7cde8ae6e5ec185a: "Cancel bundle creation",
|
|
9442
9534
|
seb1a452f2df70baf: "Create bundle",
|
|
9443
|
-
sac1b0231875ff056:
|
|
9535
|
+
sac1b0231875ff056: w`${0} selected fact${1}`,
|
|
9444
9536
|
s0d1be7a2c400c080: "more",
|
|
9445
|
-
s8272d3578b7c78d5:
|
|
9537
|
+
s8272d3578b7c78d5: w`Displaying ${0} of ${1} result${2}`,
|
|
9446
9538
|
sa40e7f4f2a43e2f7: "Show more results",
|
|
9447
9539
|
sacf246e0fa11730d: "Show all results",
|
|
9448
9540
|
s9094c0cde8fb5058: "No results found",
|
|
@@ -9458,18 +9550,18 @@ const qn = {
|
|
|
9458
9550
|
s6de61424bb681993: "Contract policy",
|
|
9459
9551
|
s9e1971000a6a2270: "Customize contract policy",
|
|
9460
9552
|
sf5509a9f253b9836: "Create a bundle",
|
|
9461
|
-
s971c62c3e06f9d82:
|
|
9553
|
+
s971c62c3e06f9d82: w`${0} previews`,
|
|
9462
9554
|
sefa717c1620c4ae4: "facts",
|
|
9463
9555
|
sef234a791696afff: "fact",
|
|
9464
|
-
s43d205c00fad9f7e:
|
|
9465
|
-
s984a5e18d85b6d57:
|
|
9556
|
+
s43d205c00fad9f7e: w`+${0} ${1}`,
|
|
9557
|
+
s984a5e18d85b6d57: w`${0} ${1}`,
|
|
9466
9558
|
sc792eb5e201cf4d0: "medias",
|
|
9467
9559
|
sb333b8c7b846af83: "media",
|
|
9468
9560
|
s09134b07b5aacab4: "By",
|
|
9469
9561
|
s1a09219b217309cc: "Search for...",
|
|
9470
9562
|
sb34b3dca6ec05933: "Date after",
|
|
9471
|
-
se2a05e7d1641da65:
|
|
9472
|
-
se5c723fd92e6b3a1:
|
|
9563
|
+
se2a05e7d1641da65: w`Balance: ${0}`,
|
|
9564
|
+
se5c723fd92e6b3a1: w`Participant ID: ${0}`,
|
|
9473
9565
|
s6665daa6d6147db0: "No data available, data source may be temporarily unavailable.",
|
|
9474
9566
|
sc16e00a7a8b2fde2: "Back",
|
|
9475
9567
|
s2c8189544e3ea679: "Retry",
|
|
@@ -9543,7 +9635,7 @@ You will be charged 5€ on your account.`,
|
|
|
9543
9635
|
sff5bb7742c2896c8: "Target",
|
|
9544
9636
|
sbe3e707b57c46ca1: "Prohibitions",
|
|
9545
9637
|
sffb7bb8de238ac4e: "Obligations",
|
|
9546
|
-
s14859b947195b408:
|
|
9638
|
+
s14859b947195b408: w`Permission ${0}`,
|
|
9547
9639
|
s35bf8bb435438a0b: "Constraints",
|
|
9548
9640
|
s132a54c0aec0f79d: "Left Operand",
|
|
9549
9641
|
sc4801f580ac4e73d: "Operator",
|
|
@@ -9554,12 +9646,12 @@ You will be charged 5€ on your account.`,
|
|
|
9554
9646
|
sdf761eb7ad16410b: "Remove Duty",
|
|
9555
9647
|
s1718e3c349bc1d30: "Add Duty",
|
|
9556
9648
|
s9d400a027526b9d8: "Remove Permission",
|
|
9557
|
-
s076b9e9621d4d0b2:
|
|
9649
|
+
s076b9e9621d4d0b2: w`Prohibition ${0}`,
|
|
9558
9650
|
sbe1b941d4910d6ea: "Remove Prohibition",
|
|
9559
|
-
sbcccc4176562f98f:
|
|
9651
|
+
sbcccc4176562f98f: w`Obligation ${0}`,
|
|
9560
9652
|
s93ec9f2c98cc8e3f: "Remove Obligation",
|
|
9561
9653
|
s628bb01dd2b078ad: "No policy template provided",
|
|
9562
|
-
s9ffd7cfd1c88fd4e:
|
|
9654
|
+
s9ffd7cfd1c88fd4e: w`Custom ${0} policy`,
|
|
9563
9655
|
s2bed402279cceb12: "Cancel policy customization",
|
|
9564
9656
|
s23cd949fc2aa86a8: "Policy Definition",
|
|
9565
9657
|
se0f628ee952e5ad8: "Policy ID",
|
|
@@ -9567,7 +9659,7 @@ You will be charged 5€ on your account.`,
|
|
|
9567
9659
|
s275cf91505dc75a3: "Add Permission",
|
|
9568
9660
|
s18c23b99ee3c7cb3: "Add Prohibition",
|
|
9569
9661
|
sc3fc7be063c1cb1c: "Add Obligation",
|
|
9570
|
-
sb59dc090f2be3796:
|
|
9662
|
+
sb59dc090f2be3796: w`Reset to ${0} default`
|
|
9571
9663
|
}, Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9572
9664
|
__proto__: null,
|
|
9573
9665
|
templates: qn
|