@startinblox/components-ds4go 3.3.7 → 3.3.8
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 +121 -174
- package/package.json +1 -1
- package/src/components/modal/ds4go-catalog-modal.ts +1 -48
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ const { is: ss, defineProperty: os, getOwnPropertyDescriptor: as, getOwnProperty
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
return i;
|
|
67
|
-
} },
|
|
67
|
+
} }, we = (e, t) => !ss(e, t), Ti = { attribute: !0, type: String, converter: he, reflect: !1, useDefault: !1, hasChanged: we };
|
|
68
68
|
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), $e.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
69
69
|
let kt = class extends HTMLElement {
|
|
70
70
|
static addInitializer(t) {
|
|
@@ -179,7 +179,7 @@ let kt = class extends HTMLElement {
|
|
|
179
179
|
requestUpdate(t, i, r, s = !1, o) {
|
|
180
180
|
if (t !== void 0) {
|
|
181
181
|
const a = this.constructor;
|
|
182
|
-
if (s === !1 && (o = this[t]), r ??= a.getPropertyOptions(t), !((r.hasChanged ??
|
|
182
|
+
if (s === !1 && (o = this[t]), r ??= a.getPropertyOptions(t), !((r.hasChanged ?? we)(o, i) || r.useDefault && r.reflect && o === this._$Ej?.get(t) && !this.hasAttribute(a._$Eu(t, r)))) return;
|
|
183
183
|
this.C(t, i, r);
|
|
184
184
|
}
|
|
185
185
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -250,8 +250,8 @@ let kt = class extends HTMLElement {
|
|
|
250
250
|
kt.elementStyles = [], kt.shadowRootOptions = { mode: "open" }, kt[Qt("elementProperties")] = /* @__PURE__ */ new Map(), kt[Qt("finalized")] = /* @__PURE__ */ new Map(), ps?.({ ReactiveElement: kt }), ($e.reactiveElementVersions ??= []).push("2.1.2");
|
|
251
251
|
const ci = globalThis, ki = (e) => e, me = ci.trustedTypes, ji = me ? me.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, br = "$lit$", ut = `lit$${Math.random().toFixed(9).slice(2)}$`, $r = "?" + ut, us = `<${$r}>`, Ct = document, ee = () => Ct.createComment(""), ie = (e) => e === null || typeof e != "object" && typeof e != "function", li = Array.isArray, hs = (e) => li(e) || typeof e?.[Symbol.iterator] == "function", je = `[
|
|
252
252
|
\f\r]`, Kt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Fi = /-->/g, Ui = />/g, Pt = RegExp(`>|${je}(?:([^\\s"'>=/]+)(${je}*=${je}*(?:[^
|
|
253
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ni = /'/g, Mi = /"/g,
|
|
254
|
-
function
|
|
253
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ni = /'/g, Mi = /"/g, wr = /^(?:script|style|textarea|title)$/i, ms = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), c = ms(1), ht = /* @__PURE__ */ Symbol.for("lit-noChange"), d = /* @__PURE__ */ Symbol.for("lit-nothing"), Li = /* @__PURE__ */ new WeakMap(), St = Ct.createTreeWalker(Ct, 129);
|
|
254
|
+
function _r(e, t) {
|
|
255
255
|
if (!li(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
256
256
|
return ji !== void 0 ? ji.createHTML(t) : t;
|
|
257
257
|
}
|
|
@@ -261,11 +261,11 @@ const fs = (e, t) => {
|
|
|
261
261
|
for (let n = 0; n < i; n++) {
|
|
262
262
|
const l = e[n];
|
|
263
263
|
let u, f, m = -1, g = 0;
|
|
264
|
-
for (; g < l.length && (a.lastIndex = g, f = a.exec(l), f !== null); ) g = a.lastIndex, a === Kt ? f[1] === "!--" ? a = Fi : f[1] !== void 0 ? a = Ui : f[2] !== void 0 ? (
|
|
264
|
+
for (; g < l.length && (a.lastIndex = g, f = a.exec(l), f !== null); ) g = a.lastIndex, a === Kt ? f[1] === "!--" ? a = Fi : f[1] !== void 0 ? a = Ui : f[2] !== void 0 ? (wr.test(f[2]) && (s = RegExp("</" + f[2], "g")), a = Pt) : f[3] !== void 0 && (a = Pt) : a === Pt ? f[0] === ">" ? (a = s ?? Kt, m = -1) : f[1] === void 0 ? m = -2 : (m = a.lastIndex - f[2].length, u = f[1], a = f[3] === void 0 ? Pt : f[3] === '"' ? Mi : Ni) : a === Mi || a === Ni ? a = Pt : a === Fi || a === Ui ? a = Kt : (a = Pt, s = void 0);
|
|
265
265
|
const y = a === Pt && e[n + 1].startsWith("/>") ? " " : "";
|
|
266
266
|
o += a === Kt ? l + us : m >= 0 ? (r.push(u), l.slice(0, m) + br + l.slice(m) + ut + y) : l + ut + (m === -2 ? n : y);
|
|
267
267
|
}
|
|
268
|
-
return [
|
|
268
|
+
return [_r(e, o + (e[i] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
|
|
269
269
|
};
|
|
270
270
|
let Ye = class Pr {
|
|
271
271
|
constructor({ strings: t, _$litType$: i }, r) {
|
|
@@ -281,9 +281,9 @@ let Ye = class Pr {
|
|
|
281
281
|
if (s.nodeType === 1) {
|
|
282
282
|
if (s.hasAttributes()) for (const m of s.getAttributeNames()) if (m.endsWith(br)) {
|
|
283
283
|
const g = f[a++], y = s.getAttribute(m).split(ut), v = /([.?@])?(.*)/.exec(g);
|
|
284
|
-
l.push({ type: 1, index: o, name: v[2], strings: y, ctor: v[1] === "." ? ys : v[1] === "?" ? vs : v[1] === "@" ? bs :
|
|
284
|
+
l.push({ type: 1, index: o, name: v[2], strings: y, ctor: v[1] === "." ? ys : v[1] === "?" ? vs : v[1] === "@" ? bs : _e }), s.removeAttribute(m);
|
|
285
285
|
} else m.startsWith(ut) && (l.push({ type: 6, index: o }), s.removeAttribute(m));
|
|
286
|
-
if (
|
|
286
|
+
if (wr.test(s.tagName)) {
|
|
287
287
|
const m = s.textContent.split(ut), g = m.length - 1;
|
|
288
288
|
if (g > 0) {
|
|
289
289
|
s.textContent = me ? me.emptyScript : "";
|
|
@@ -368,7 +368,7 @@ let gs = class {
|
|
|
368
368
|
this._$AH !== d && ie(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ct.createTextNode(t)), this._$AH = t;
|
|
369
369
|
}
|
|
370
370
|
$(t) {
|
|
371
|
-
const { values: i, _$litType$: r } = t, s = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = Ye.createElement(
|
|
371
|
+
const { values: i, _$litType$: r } = t, s = typeof r == "number" ? this._$AC(t) : (r.el === void 0 && (r.el = Ye.createElement(_r(r.h, r.h[0]), this.options)), r);
|
|
372
372
|
if (this._$AH?._$AD === s) this._$AH.p(i);
|
|
373
373
|
else {
|
|
374
374
|
const o = new gs(s, this), a = o.u(this.options);
|
|
@@ -395,7 +395,7 @@ let gs = class {
|
|
|
395
395
|
setConnected(t) {
|
|
396
396
|
this._$AM === void 0 && (this._$Cv = t, this._$AP?.(t));
|
|
397
397
|
}
|
|
398
|
-
},
|
|
398
|
+
}, _e = class {
|
|
399
399
|
get tagName() {
|
|
400
400
|
return this.element.tagName;
|
|
401
401
|
}
|
|
@@ -419,14 +419,14 @@ let gs = class {
|
|
|
419
419
|
j(t) {
|
|
420
420
|
t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
421
421
|
}
|
|
422
|
-
}, ys = class extends
|
|
422
|
+
}, ys = class extends _e {
|
|
423
423
|
constructor() {
|
|
424
424
|
super(...arguments), this.type = 3;
|
|
425
425
|
}
|
|
426
426
|
j(t) {
|
|
427
427
|
this.element[this.name] = t === d ? void 0 : t;
|
|
428
428
|
}
|
|
429
|
-
}, vs = class extends
|
|
429
|
+
}, vs = class extends _e {
|
|
430
430
|
constructor() {
|
|
431
431
|
super(...arguments), this.type = 4;
|
|
432
432
|
}
|
|
@@ -434,7 +434,7 @@ let gs = class {
|
|
|
434
434
|
this.element.toggleAttribute(this.name, !!t && t !== d);
|
|
435
435
|
}
|
|
436
436
|
};
|
|
437
|
-
class bs extends
|
|
437
|
+
class bs extends _e {
|
|
438
438
|
constructor(t, i, r, s, o) {
|
|
439
439
|
super(t, i, r, s, o), this.type = 5;
|
|
440
440
|
}
|
|
@@ -458,9 +458,9 @@ class $s {
|
|
|
458
458
|
Mt(this, t);
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
|
-
const
|
|
462
|
-
|
|
463
|
-
const
|
|
461
|
+
const ws = ci.litHtmlPolyfillSupport;
|
|
462
|
+
ws?.(Ye, di), (ci.litHtmlVersions ??= []).push("3.3.2");
|
|
463
|
+
const _s = (e, t, i) => {
|
|
464
464
|
const r = i?.renderBefore ?? t;
|
|
465
465
|
let s = r._$litPart$;
|
|
466
466
|
if (s === void 0) {
|
|
@@ -480,7 +480,7 @@ let j = class extends kt {
|
|
|
480
480
|
}
|
|
481
481
|
update(t) {
|
|
482
482
|
const i = this.render();
|
|
483
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
483
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = _s(i, this.renderRoot, this.renderOptions);
|
|
484
484
|
}
|
|
485
485
|
connectedCallback() {
|
|
486
486
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -501,7 +501,7 @@ const x = (e) => (t, i) => {
|
|
|
501
501
|
customElements.define(e, t);
|
|
502
502
|
}) : customElements.define(e, t);
|
|
503
503
|
};
|
|
504
|
-
const As = { attribute: !0, type: String, converter: he, reflect: !1, hasChanged:
|
|
504
|
+
const As = { attribute: !0, type: String, converter: he, reflect: !1, hasChanged: we }, xs = (e = As, t, i) => {
|
|
505
505
|
const { kind: r, metadata: s } = i;
|
|
506
506
|
let o = globalThis.litPropertyMetadata.get(s);
|
|
507
507
|
if (o === void 0 && globalThis.litPropertyMetadata.set(s, o = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), o.set(i.name, e), r === "accessor") {
|
|
@@ -1528,7 +1528,7 @@ const Js = (e) => (Ms(((t, i) => Ks(Dr, t, i))), fe = Rr = e.sourceLocale, ge =
|
|
|
1528
1528
|
const t = JSON.stringify(e);
|
|
1529
1529
|
let i = Hi.get(t);
|
|
1530
1530
|
return i || (i = new Intl.DateTimeFormat(void 0, e), Hi.set(t, i)), i;
|
|
1531
|
-
},
|
|
1531
|
+
}, Q = (e, t = {
|
|
1532
1532
|
day: "2-digit",
|
|
1533
1533
|
month: "2-digit",
|
|
1534
1534
|
year: "2-digit"
|
|
@@ -1789,14 +1789,14 @@ function yo() {
|
|
|
1789
1789
|
} : m, y = f.wordsPerSentence, v = y === void 0 ? {
|
|
1790
1790
|
max: 15,
|
|
1791
1791
|
min: 5
|
|
1792
|
-
} : y,
|
|
1792
|
+
} : y, w = f.random;
|
|
1793
1793
|
f.seed;
|
|
1794
1794
|
var J = f.words, $ = J === void 0 ? t.WORDS : J;
|
|
1795
1795
|
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)
|
|
1796
1796
|
throw new Error("Minimum number of sentences per paragraph (".concat(g.min, ") cannot exceed maximum (").concat(g.max, ")."));
|
|
1797
1797
|
if (v.min > v.max)
|
|
1798
1798
|
throw new Error("Minimum number of words per sentence (".concat(v.min, ") cannot exceed maximum (").concat(v.max, ")."));
|
|
1799
|
-
this.sentencesPerParagraph = g, this.words = $, this.wordsPerSentence = v, this.random =
|
|
1799
|
+
this.sentencesPerParagraph = g, this.words = $, this.wordsPerSentence = v, this.random = w || Math.random;
|
|
1800
1800
|
}
|
|
1801
1801
|
return o(u, [{
|
|
1802
1802
|
key: "generateRandomInteger",
|
|
@@ -1806,7 +1806,7 @@ function yo() {
|
|
|
1806
1806
|
}, {
|
|
1807
1807
|
key: "generateRandomWords",
|
|
1808
1808
|
value: function(m) {
|
|
1809
|
-
var g = this, y = this.wordsPerSentence, v = y.min,
|
|
1809
|
+
var g = this, y = this.wordsPerSentence, v = y.min, w = y.max, J = m || this.generateRandomInteger(v, w);
|
|
1810
1810
|
return (0, i.makeArrayOfLength)(J).reduce(function($, Tt) {
|
|
1811
1811
|
return "".concat(g.pluckRandomWord(), " ").concat($);
|
|
1812
1812
|
}, "").trim();
|
|
@@ -1819,7 +1819,7 @@ function yo() {
|
|
|
1819
1819
|
}, {
|
|
1820
1820
|
key: "generateRandomParagraph",
|
|
1821
1821
|
value: function(m) {
|
|
1822
|
-
var g = this, y = this.sentencesPerParagraph, v = y.min,
|
|
1822
|
+
var g = this, y = this.sentencesPerParagraph, v = y.min, w = y.max, J = m || this.generateRandomInteger(v, w);
|
|
1823
1823
|
return (0, i.makeArrayOfLength)(J).reduce(function($, Tt) {
|
|
1824
1824
|
return "".concat(g.generateRandomSentence(), " ").concat($);
|
|
1825
1825
|
}, "").trim();
|
|
@@ -1851,8 +1851,8 @@ function vo() {
|
|
|
1851
1851
|
}
|
|
1852
1852
|
function n(g, y) {
|
|
1853
1853
|
for (var v = 0; v < y.length; v++) {
|
|
1854
|
-
var
|
|
1855
|
-
|
|
1854
|
+
var w = y[v];
|
|
1855
|
+
w.enumerable = w.enumerable || !1, w.configurable = !0, "value" in w && (w.writable = !0), Object.defineProperty(g, w.key, w);
|
|
1856
1856
|
}
|
|
1857
1857
|
}
|
|
1858
1858
|
function l(g, y, v) {
|
|
@@ -1863,8 +1863,8 @@ function vo() {
|
|
|
1863
1863
|
}
|
|
1864
1864
|
var f = /* @__PURE__ */ (function() {
|
|
1865
1865
|
function g() {
|
|
1866
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t.FORMAT_PLAIN,
|
|
1867
|
-
if (a(this, g), this.format = v, this.suffix =
|
|
1866
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t.FORMAT_PLAIN, w = arguments.length > 2 ? arguments[2] : void 0;
|
|
1867
|
+
if (a(this, g), this.format = v, this.suffix = w, u(this, "generator", void 0), t.FORMATS.indexOf(v.toLowerCase()) === -1)
|
|
1868
1868
|
throw new Error("".concat(v, " is an invalid format. Please use ").concat(t.FORMATS.join(" or "), "."));
|
|
1869
1869
|
this.generator = new r.default(y);
|
|
1870
1870
|
}
|
|
@@ -1881,9 +1881,9 @@ function vo() {
|
|
|
1881
1881
|
}, {
|
|
1882
1882
|
key: "formatStrings",
|
|
1883
1883
|
value: function(v) {
|
|
1884
|
-
var
|
|
1884
|
+
var w = this;
|
|
1885
1885
|
return v.map(function(J) {
|
|
1886
|
-
return
|
|
1886
|
+
return w.formatString(J);
|
|
1887
1887
|
});
|
|
1888
1888
|
}
|
|
1889
1889
|
}, {
|
|
@@ -1899,8 +1899,8 @@ function vo() {
|
|
|
1899
1899
|
}, {
|
|
1900
1900
|
key: "generateParagraphs",
|
|
1901
1901
|
value: function(v) {
|
|
1902
|
-
var
|
|
1903
|
-
return this.formatStrings((0, s.makeArrayOfStrings)(v,
|
|
1902
|
+
var w = this.generator.generateRandomParagraph.bind(this.generator);
|
|
1903
|
+
return this.formatStrings((0, s.makeArrayOfStrings)(v, w)).join(this.getLineEnding());
|
|
1904
1904
|
}
|
|
1905
1905
|
}]), g;
|
|
1906
1906
|
})(), m = f;
|
|
@@ -1923,7 +1923,7 @@ function bo() {
|
|
|
1923
1923
|
return n && n.__esModule ? n : { default: n };
|
|
1924
1924
|
}
|
|
1925
1925
|
var a = function() {
|
|
1926
|
-
var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = l.count, f = u === void 0 ? 1 : u, m = l.format, g = m === void 0 ? t.FORMAT_PLAIN : m, y = l.paragraphLowerBound, v = y === void 0 ? 3 : y,
|
|
1926
|
+
var l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, u = l.count, f = u === void 0 ? 1 : u, m = l.format, g = m === void 0 ? t.FORMAT_PLAIN : m, y = l.paragraphLowerBound, v = y === void 0 ? 3 : y, w = l.paragraphUpperBound, J = w === void 0 ? 7 : w, $ = l.random, Tt = l.sentenceLowerBound, Jr = Tt === void 0 ? 5 : Tt, Si = l.sentenceUpperBound, Zr = Si === void 0 ? 15 : Si, Ci = l.units, Xr = Ci === void 0 ? i.UNIT_SENTENCES : Ci, Ii = l.words, Qr = Ii === void 0 ? r.WORDS : Ii, Ei = l.suffix, ts = Ei === void 0 ? "" : Ei, es = {
|
|
1927
1927
|
random: $,
|
|
1928
1928
|
sentencesPerParagraph: {
|
|
1929
1929
|
max: J,
|
|
@@ -1953,7 +1953,7 @@ function bo() {
|
|
|
1953
1953
|
})(Ne)), Ne;
|
|
1954
1954
|
}
|
|
1955
1955
|
var $o = bo();
|
|
1956
|
-
class
|
|
1956
|
+
class wo extends j {
|
|
1957
1957
|
constructor() {
|
|
1958
1958
|
super(...arguments), this.object = {
|
|
1959
1959
|
"@id": ""
|
|
@@ -1964,7 +1964,7 @@ class _o extends j {
|
|
|
1964
1964
|
}
|
|
1965
1965
|
}
|
|
1966
1966
|
const ue = globalThis, hi = ue.ShadowRoot && (ue.ShadyCSS === void 0 || ue.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ur = /* @__PURE__ */ Symbol(), cr = /* @__PURE__ */ new WeakMap();
|
|
1967
|
-
let
|
|
1967
|
+
let _o = class {
|
|
1968
1968
|
constructor(e, t, i) {
|
|
1969
1969
|
if (this._$cssResult$ = !0, i !== Ur) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1970
1970
|
this.cssText = e, this.t = t;
|
|
@@ -1982,7 +1982,7 @@ let wo = class {
|
|
|
1982
1982
|
return this.cssText;
|
|
1983
1983
|
}
|
|
1984
1984
|
};
|
|
1985
|
-
const Po = (e) => new
|
|
1985
|
+
const Po = (e) => new _o(typeof e == "string" ? e : e + "", void 0, Ur), Ao = (e, t) => {
|
|
1986
1986
|
if (hi) e.adoptedStyleSheets = t.map((i) => i instanceof CSSStyleSheet ? i : i.styleSheet);
|
|
1987
1987
|
else for (const i of t) {
|
|
1988
1988
|
const r = document.createElement("style"), s = ue.litNonce;
|
|
@@ -2225,14 +2225,14 @@ const To = { attribute: !0, type: String, converter: ye, reflect: !1, hasChanged
|
|
|
2225
2225
|
}
|
|
2226
2226
|
throw Error("Unsupported decorator location: " + r);
|
|
2227
2227
|
};
|
|
2228
|
-
function
|
|
2228
|
+
function _(e) {
|
|
2229
2229
|
return (t, i) => typeof i == "object" ? ko(e, t, i) : ((r, s, o) => {
|
|
2230
2230
|
const a = s.hasOwnProperty(o);
|
|
2231
2231
|
return s.constructor.createProperty(o, r), a ? Object.getOwnPropertyDescriptor(s, o) : void 0;
|
|
2232
2232
|
})(e, t, i);
|
|
2233
2233
|
}
|
|
2234
2234
|
function G(e) {
|
|
2235
|
-
return
|
|
2235
|
+
return _({ ...e, state: !0, attribute: !1 });
|
|
2236
2236
|
}
|
|
2237
2237
|
var jo = Object.defineProperty, Fo = (e, t, i, r) => {
|
|
2238
2238
|
for (var s = void 0, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -2248,7 +2248,7 @@ class fi extends j {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
2250
|
Fo([
|
|
2251
|
-
|
|
2251
|
+
_({ attribute: !1 })
|
|
2252
2252
|
], fi.prototype, "objects");
|
|
2253
2253
|
var Uo = Object.defineProperty, pt = (e, t, i, r) => {
|
|
2254
2254
|
for (var s = void 0, o = e.length - 1, a; o >= 0; o--)
|
|
@@ -2377,22 +2377,22 @@ pt([
|
|
|
2377
2377
|
G()
|
|
2378
2378
|
], it.prototype, "ready");
|
|
2379
2379
|
pt([
|
|
2380
|
-
|
|
2380
|
+
_({ attribute: "default-data-src", reflect: !0 })
|
|
2381
2381
|
], it.prototype, "defaultDataSrc");
|
|
2382
2382
|
pt([
|
|
2383
|
-
|
|
2383
|
+
_({ attribute: "data-src", reflect: !0 })
|
|
2384
2384
|
], it.prototype, "dataSrc");
|
|
2385
2385
|
pt([
|
|
2386
|
-
|
|
2386
|
+
_({ attribute: "nested-field" })
|
|
2387
2387
|
], it.prototype, "nestedField");
|
|
2388
2388
|
pt([
|
|
2389
|
-
|
|
2389
|
+
_({ attribute: "uniq" })
|
|
2390
2390
|
], it.prototype, "uniq");
|
|
2391
2391
|
pt([
|
|
2392
|
-
|
|
2392
|
+
_({ attribute: "route" })
|
|
2393
2393
|
], it.prototype, "route");
|
|
2394
2394
|
pt([
|
|
2395
|
-
|
|
2395
|
+
_({ attribute: !1 })
|
|
2396
2396
|
], it.prototype, "cherryPickedProperties");
|
|
2397
2397
|
pt([
|
|
2398
2398
|
G()
|
|
@@ -2929,16 +2929,16 @@ class rt extends it {
|
|
|
2929
2929
|
}
|
|
2930
2930
|
}
|
|
2931
2931
|
vt([
|
|
2932
|
-
|
|
2932
|
+
_({ attribute: "participant-connector-uri", reflect: !0 })
|
|
2933
2933
|
], rt.prototype, "participantConnectorUri");
|
|
2934
2934
|
vt([
|
|
2935
|
-
|
|
2935
|
+
_({ attribute: "participant-id", reflect: !0 })
|
|
2936
2936
|
], rt.prototype, "participantId");
|
|
2937
2937
|
vt([
|
|
2938
|
-
|
|
2938
|
+
_({ attribute: "participant-api-key", reflect: !0 })
|
|
2939
2939
|
], rt.prototype, "participantApiKey");
|
|
2940
2940
|
vt([
|
|
2941
|
-
|
|
2941
|
+
_({ attribute: "api-gateway-config", reflect: !0 })
|
|
2942
2942
|
], rt.prototype, "apiGatewayConfig");
|
|
2943
2943
|
vt([
|
|
2944
2944
|
G()
|
|
@@ -2950,7 +2950,7 @@ vt([
|
|
|
2950
2950
|
G()
|
|
2951
2951
|
], rt.prototype, "_apiGatewayConfigParsed");
|
|
2952
2952
|
vt([
|
|
2953
|
-
|
|
2953
|
+
_({ type: Array })
|
|
2954
2954
|
], rt.prototype, "providers");
|
|
2955
2955
|
const k = window.orbit?.client.rdf_tems_scope || "https://tems-dataspace.eu/owl#", Nr = `${k}Image`, Mr = `${k}Licence`, Lr = `${k}Asset`, zr = `${k}Location`, qo = `${k}Service`, Wo = `${k}Offer`, Ho = `${k}DataOffer`, Go = `${k}Provider`, gi = `${k}Object`, Br = `${k}MediaObject`, qr = `${k}FactChecking`, Wr = `${k}CivilSociety`, Hr = `${k}Story`, Gr = `${k}InteractiveInfographic`, yi = `${k}3DObject`, Vo = `${k}Sentiment`, Rt = {};
|
|
2956
2956
|
Rt[yi] = "3D Object";
|
|
@@ -3166,16 +3166,16 @@ class I extends vi {
|
|
|
3166
3166
|
}
|
|
3167
3167
|
}
|
|
3168
3168
|
C([
|
|
3169
|
-
|
|
3169
|
+
_({ attribute: "default-data-src", reflect: !0 })
|
|
3170
3170
|
], I.prototype, "defaultDataSrc");
|
|
3171
3171
|
C([
|
|
3172
|
-
|
|
3172
|
+
_({ attribute: "data-src", reflect: !0 })
|
|
3173
3173
|
], I.prototype, "dataSrc");
|
|
3174
3174
|
C([
|
|
3175
|
-
|
|
3175
|
+
_({ attribute: "uniq" })
|
|
3176
3176
|
], I.prototype, "uniq");
|
|
3177
3177
|
C([
|
|
3178
|
-
|
|
3178
|
+
_({ attribute: "route" })
|
|
3179
3179
|
], I.prototype, "route");
|
|
3180
3180
|
C([
|
|
3181
3181
|
G()
|
|
@@ -3193,34 +3193,34 @@ C([
|
|
|
3193
3193
|
G()
|
|
3194
3194
|
], I.prototype, "storeService");
|
|
3195
3195
|
C([
|
|
3196
|
-
|
|
3196
|
+
_({ attribute: "participant-connector-uri", reflect: !0 })
|
|
3197
3197
|
], I.prototype, "participantConnectorUri");
|
|
3198
3198
|
C([
|
|
3199
|
-
|
|
3199
|
+
_({ attribute: "participant-id", reflect: !0 })
|
|
3200
3200
|
], I.prototype, "participantId");
|
|
3201
3201
|
C([
|
|
3202
|
-
|
|
3202
|
+
_({ attribute: "participant-api-key", reflect: !0 })
|
|
3203
3203
|
], I.prototype, "participantApiKey");
|
|
3204
3204
|
C([
|
|
3205
|
-
|
|
3205
|
+
_({ attribute: "api-gateway-config", reflect: !0 })
|
|
3206
3206
|
], I.prototype, "apiGatewayConfig");
|
|
3207
3207
|
C([
|
|
3208
|
-
|
|
3208
|
+
_({ attribute: "bearer-token-proxy-endpoint", reflect: !0 })
|
|
3209
3209
|
], I.prototype, "bearerTokenProxyEndpoint");
|
|
3210
3210
|
C([
|
|
3211
|
-
|
|
3211
|
+
_({ attribute: "local-keycloak-authority", reflect: !0 })
|
|
3212
3212
|
], I.prototype, "localKeycloakAuthority");
|
|
3213
3213
|
C([
|
|
3214
|
-
|
|
3214
|
+
_({ attribute: "local-keycloak-client-id", reflect: !0 })
|
|
3215
3215
|
], I.prototype, "localKeycloakClientId");
|
|
3216
3216
|
C([
|
|
3217
|
-
|
|
3217
|
+
_({ attribute: "local-keycloak-silent-redirect-uri", reflect: !0 })
|
|
3218
3218
|
], I.prototype, "localKeycloakSilentRedirectUri");
|
|
3219
3219
|
C([
|
|
3220
|
-
|
|
3220
|
+
_({ attribute: "linked-provider-id", reflect: !0 })
|
|
3221
3221
|
], I.prototype, "linkedProviderId");
|
|
3222
3222
|
C([
|
|
3223
|
-
|
|
3223
|
+
_({ attribute: "display-service-test", type: Boolean, reflect: !0 })
|
|
3224
3224
|
], I.prototype, "displayServiceTest");
|
|
3225
3225
|
C([
|
|
3226
3226
|
G()
|
|
@@ -3265,7 +3265,7 @@ const bi = ({
|
|
|
3265
3265
|
document.removeEventListener(r[0], r[1]);
|
|
3266
3266
|
}, e._subscribe();
|
|
3267
3267
|
}, hr = Object.values(N);
|
|
3268
|
-
class Zo extends
|
|
3268
|
+
class Zo extends wo {
|
|
3269
3269
|
getNestedProperty(t, i = this.object) {
|
|
3270
3270
|
return t.split(".").reduce((r, s) => {
|
|
3271
3271
|
if (r === void 0)
|
|
@@ -4065,7 +4065,7 @@ const aa = {
|
|
|
4065
4065
|
Math.random() < Math.random() * 0.25 && e.push(r);
|
|
4066
4066
|
};
|
|
4067
4067
|
return i("address"), i("city"), i("state"), i("country"), i("latitude"), i("longitude"), i("elevation"), Y(aa, e, t, !0);
|
|
4068
|
-
},
|
|
4068
|
+
}, wi = {
|
|
4069
4069
|
"@id": "_:b1",
|
|
4070
4070
|
first_name: "John",
|
|
4071
4071
|
last_name: "Doe",
|
|
@@ -4089,9 +4089,9 @@ const aa = {
|
|
|
4089
4089
|
],
|
|
4090
4090
|
permissions: ["view", "add", "control", "delete", "change"]
|
|
4091
4091
|
};
|
|
4092
|
-
Y(
|
|
4093
|
-
Y(
|
|
4094
|
-
Y(
|
|
4092
|
+
Y(wi, ["account.picture"]);
|
|
4093
|
+
Y(wi, ["email"]);
|
|
4094
|
+
Y(wi, [
|
|
4095
4095
|
"first_name",
|
|
4096
4096
|
"last_name",
|
|
4097
4097
|
"email",
|
|
@@ -4548,7 +4548,7 @@ bt([
|
|
|
4548
4548
|
tt = bt([
|
|
4549
4549
|
x("ds4go-catalog-filter-holder")
|
|
4550
4550
|
], tt);
|
|
4551
|
-
var ua = Object.defineProperty, ha = Object.getOwnPropertyDescriptor,
|
|
4551
|
+
var ua = Object.defineProperty, ha = Object.getOwnPropertyDescriptor, _i = (e, t, i, r) => {
|
|
4552
4552
|
for (var s = r > 1 ? void 0 : r ? ha(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
4553
4553
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
4554
4554
|
return r && s && ua(t, i, s), s;
|
|
@@ -4672,13 +4672,13 @@ re.styles = D`
|
|
|
4672
4672
|
cursor: pointer;
|
|
4673
4673
|
}
|
|
4674
4674
|
`;
|
|
4675
|
-
|
|
4675
|
+
_i([
|
|
4676
4676
|
h()
|
|
4677
4677
|
], re.prototype, "search", 2);
|
|
4678
|
-
|
|
4678
|
+
_i([
|
|
4679
4679
|
h()
|
|
4680
4680
|
], re.prototype, "_displayObjects", 2);
|
|
4681
|
-
re =
|
|
4681
|
+
re = _i([
|
|
4682
4682
|
x("ds4go-customer-holder")
|
|
4683
4683
|
], re);
|
|
4684
4684
|
var ma = Object.defineProperty, fa = Object.getOwnPropertyDescriptor, Re = (e, t, i, r) => {
|
|
@@ -4843,7 +4843,7 @@ let zt = class extends j {
|
|
|
4843
4843
|
.header=${e.catalogId || d}
|
|
4844
4844
|
.content=${e.description || d}
|
|
4845
4845
|
.tags=${this._getCatalogTags(e)}
|
|
4846
|
-
date=${
|
|
4846
|
+
date=${Q(e.lastUpdated) || d}
|
|
4847
4847
|
@click=${() => this.parent._selectCatalog(e.catalogId)}
|
|
4848
4848
|
></ds4go-card-catalog>`
|
|
4849
4849
|
)}` : c`${this._displayObjects.map(
|
|
@@ -4853,7 +4853,7 @@ let zt = class extends j {
|
|
|
4853
4853
|
.header=${e.id || d}
|
|
4854
4854
|
.content=${e.description || d}
|
|
4855
4855
|
.tags=${this._getSectorTags(e)}
|
|
4856
|
-
date=${
|
|
4856
|
+
date=${Q(e.lastUpdated) || d}
|
|
4857
4857
|
@click=${() => this.parent._selectSector(e.id)}
|
|
4858
4858
|
></ds4go-card-catalog>`
|
|
4859
4859
|
)}`}
|
|
@@ -5216,10 +5216,10 @@ et = $t([
|
|
|
5216
5216
|
x("ds4go-customer-contract-modal-part"),
|
|
5217
5217
|
yt()
|
|
5218
5218
|
], et);
|
|
5219
|
-
var
|
|
5220
|
-
for (var s = r > 1 ? void 0 : r ?
|
|
5219
|
+
var wa = Object.defineProperty, _a = Object.getOwnPropertyDescriptor, De = (e, t, i, r) => {
|
|
5220
|
+
for (var s = r > 1 ? void 0 : r ? _a(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
5221
5221
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
5222
|
-
return r && s &&
|
|
5222
|
+
return r && s && wa(t, i, s), s;
|
|
5223
5223
|
};
|
|
5224
5224
|
let Bt = class extends vi {
|
|
5225
5225
|
constructor() {
|
|
@@ -5355,8 +5355,8 @@ let Bt = class extends vi {
|
|
|
5355
5355
|
type: "contentType",
|
|
5356
5356
|
color: "#607d8b"
|
|
5357
5357
|
});
|
|
5358
|
-
let
|
|
5359
|
-
return y && !
|
|
5358
|
+
let w = s("description") || "";
|
|
5359
|
+
return y && !w && (w = y), { ...{
|
|
5360
5360
|
backgroundImg: this.hasType(N.RDFTYPE_PROVIDER, [r]) ? !1 : m?.filter(($) => $?.url && !$?.iframe)?.[0]?.url,
|
|
5361
5361
|
orgLogo: this.hasType(N.RDFTYPE_PROVIDER, [r]) ? m?.filter(($) => $?.url && !$?.iframe)?.[0]?.url : s("providers")?.filter(
|
|
5362
5362
|
($) => $.image?.url && !$.image?.iframe
|
|
@@ -5365,7 +5365,7 @@ let Bt = class extends vi {
|
|
|
5365
5365
|
badge: !i && this.hasType(N.RDFTYPE_OBJECT, [r]) ? this._typeToString([s("@type")].flat()) : u,
|
|
5366
5366
|
tags: o.filter(($) => $),
|
|
5367
5367
|
header: s("name", "title"),
|
|
5368
|
-
content:
|
|
5368
|
+
content: w,
|
|
5369
5369
|
isFullSize: !0,
|
|
5370
5370
|
date: this.hasType(N.RDFTYPE_3D_OBJECT, [r]) ? s("licences")?.map(($) => $.name).join(", ") : s("publication_date", "release_date", "creation_date"),
|
|
5371
5371
|
language: g,
|
|
@@ -5717,8 +5717,8 @@ let U = class extends Zo {
|
|
|
5717
5717
|
const g = a.target, y = [];
|
|
5718
5718
|
for (const v in a)
|
|
5719
5719
|
if (/^\d+$/.test(v)) {
|
|
5720
|
-
let
|
|
5721
|
-
g && !
|
|
5720
|
+
let w = a[v];
|
|
5721
|
+
g && !w.target && !w["odrl:target"] && (w = { ...w, target: g, "odrl:target": g }), y.push(w);
|
|
5722
5722
|
}
|
|
5723
5723
|
y.length > 0 && (o = y, a = y[0]);
|
|
5724
5724
|
}
|
|
@@ -6006,56 +6006,10 @@ let U = class extends Zo {
|
|
|
6006
6006
|
_renderServiceSpecificModal() {
|
|
6007
6007
|
return c` ${this._renderColumns(
|
|
6008
6008
|
c`${this.renderTemplateWhenWith(
|
|
6009
|
-
["long_description"],
|
|
6010
|
-
() => this._renderTitleValueDivision(
|
|
6011
|
-
p("Features & Functionalities"),
|
|
6012
|
-
this.object.long_description
|
|
6013
|
-
)
|
|
6014
|
-
)}${this.renderTemplateWhenWith(
|
|
6015
|
-
[["is_in_app", "is_external", "is_api"]],
|
|
6016
|
-
() => c`${this._renderDivision("h4", p("Installation Possible"))}
|
|
6017
|
-
<div class="badges">
|
|
6018
|
-
${this.renderTemplateWhenWith(
|
|
6019
|
-
["is_in_app"],
|
|
6020
|
-
() => c`${this._renderBadge("success", p("In-App"))}</div>`
|
|
6021
|
-
)}
|
|
6022
|
-
${this.renderTemplateWhenWith(
|
|
6023
|
-
["is_external"],
|
|
6024
|
-
() => c`${this._renderBadge("success", p("External"))}</div>`
|
|
6025
|
-
)}
|
|
6026
|
-
${this.renderTemplateWhenWith(
|
|
6027
|
-
["is_api"],
|
|
6028
|
-
() => c`${this._renderBadge("success", p("API"))}</div>`
|
|
6029
|
-
)}
|
|
6030
|
-
</div>`
|
|
6031
|
-
)}${this.renderTemplateWhenWith(
|
|
6032
|
-
["developper", "developper.url"],
|
|
6033
|
-
() => c`${this._renderDivision("h4", p("Developper"))}
|
|
6034
|
-
<img
|
|
6035
|
-
src="${this.object.developper.url}"
|
|
6036
|
-
alt=${this.object.developper.name}
|
|
6037
|
-
class="default-img"
|
|
6038
|
-
/>`
|
|
6039
|
-
)}${this.renderTemplateWhenWith(
|
|
6040
6009
|
["release_date"],
|
|
6041
6010
|
() => this._renderTitleValueDivision(
|
|
6042
6011
|
p("Release Date"),
|
|
6043
|
-
|
|
6044
|
-
)
|
|
6045
|
-
)}${this.renderTemplateWhenWith(
|
|
6046
|
-
["last_update"],
|
|
6047
|
-
() => this._renderTitleValueDivision(
|
|
6048
|
-
p("Last Update"),
|
|
6049
|
-
X(this.object.last_update)
|
|
6050
|
-
)
|
|
6051
|
-
)}${this.renderTemplateWhenWith(
|
|
6052
|
-
["documentation_url"],
|
|
6053
|
-
() => this._renderButton(
|
|
6054
|
-
void 0,
|
|
6055
|
-
"sm",
|
|
6056
|
-
"Read the full documentation",
|
|
6057
|
-
"outline-gray",
|
|
6058
|
-
this.object.documentation_url
|
|
6012
|
+
Q(this.object.release_date)
|
|
6059
6013
|
)
|
|
6060
6014
|
)}
|
|
6061
6015
|
${this._renderPolicyDescription()} ${this._renderAgreementInfo()}`
|
|
@@ -6343,7 +6297,7 @@ U = W([
|
|
|
6343
6297
|
yt()
|
|
6344
6298
|
], U);
|
|
6345
6299
|
const Sa = /* @__PURE__ */ Symbol();
|
|
6346
|
-
class
|
|
6300
|
+
class wt {
|
|
6347
6301
|
get taskComplete() {
|
|
6348
6302
|
return this.t || (this.i === 1 ? this.t = new Promise(((t, i) => {
|
|
6349
6303
|
this.o = t, this.h = i;
|
|
@@ -6429,15 +6383,15 @@ class _t {
|
|
|
6429
6383
|
}
|
|
6430
6384
|
}
|
|
6431
6385
|
}
|
|
6432
|
-
const Ca = (e, t) => e === t || e.length === t.length && e.every(((i, r) => !
|
|
6433
|
-
var Ea = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor,
|
|
6386
|
+
const Ca = (e, t) => e === t || e.length === t.length && e.every(((i, r) => !we(i, t[r]))), Ia = ".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}}";
|
|
6387
|
+
var Ea = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, X = (e, t, i, r) => {
|
|
6434
6388
|
for (var s = r > 1 ? void 0 : r ? Oa(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
6435
6389
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
6436
6390
|
return r && s && Ea(t, i, s), s;
|
|
6437
6391
|
};
|
|
6438
6392
|
let H = class extends z {
|
|
6439
6393
|
constructor() {
|
|
6440
|
-
super({ setupSubscriptions: !1, ignoreRouter: !0 }), this.assets = [], this.policies = [], this.bundles = [], this.negotiations = [], this.providerNegotiations = [], this.consumerNegotiations = [], this.allAgreements = [], this.providerAgreements = [], this.consumerAgreements = [], this._getResource = new
|
|
6394
|
+
super({ setupSubscriptions: !1, ignoreRouter: !0 }), this.assets = [], this.policies = [], this.bundles = [], this.negotiations = [], this.providerNegotiations = [], this.consumerNegotiations = [], this.allAgreements = [], this.providerAgreements = [], this.consumerAgreements = [], this._getResource = new wt(this, {
|
|
6441
6395
|
task: async () => {
|
|
6442
6396
|
if (this.object) {
|
|
6443
6397
|
if (this.dspConnector?.instance) {
|
|
@@ -6624,37 +6578,37 @@ let H = class extends z {
|
|
|
6624
6578
|
H.styles = D`
|
|
6625
6579
|
${K(Ia)}
|
|
6626
6580
|
`;
|
|
6627
|
-
|
|
6581
|
+
X([
|
|
6628
6582
|
h()
|
|
6629
6583
|
], H.prototype, "dspConnector", 2);
|
|
6630
|
-
|
|
6584
|
+
X([
|
|
6631
6585
|
h()
|
|
6632
6586
|
], H.prototype, "assets", 2);
|
|
6633
|
-
|
|
6587
|
+
X([
|
|
6634
6588
|
h()
|
|
6635
6589
|
], H.prototype, "policies", 2);
|
|
6636
|
-
|
|
6590
|
+
X([
|
|
6637
6591
|
h()
|
|
6638
6592
|
], H.prototype, "bundles", 2);
|
|
6639
|
-
|
|
6593
|
+
X([
|
|
6640
6594
|
h()
|
|
6641
6595
|
], H.prototype, "negotiations", 2);
|
|
6642
|
-
|
|
6596
|
+
X([
|
|
6643
6597
|
h()
|
|
6644
6598
|
], H.prototype, "providerNegotiations", 2);
|
|
6645
|
-
|
|
6599
|
+
X([
|
|
6646
6600
|
h()
|
|
6647
6601
|
], H.prototype, "consumerNegotiations", 2);
|
|
6648
|
-
|
|
6602
|
+
X([
|
|
6649
6603
|
h()
|
|
6650
6604
|
], H.prototype, "allAgreements", 2);
|
|
6651
|
-
|
|
6605
|
+
X([
|
|
6652
6606
|
h()
|
|
6653
6607
|
], H.prototype, "providerAgreements", 2);
|
|
6654
|
-
|
|
6608
|
+
X([
|
|
6655
6609
|
h()
|
|
6656
6610
|
], H.prototype, "consumerAgreements", 2);
|
|
6657
|
-
H =
|
|
6611
|
+
H = X([
|
|
6658
6612
|
x("ds4go-customer-modal"),
|
|
6659
6613
|
yt()
|
|
6660
6614
|
], H);
|
|
@@ -6666,7 +6620,7 @@ var Da = Object.defineProperty, Ta = Object.getOwnPropertyDescriptor, Dt = (e, t
|
|
|
6666
6620
|
};
|
|
6667
6621
|
let ct = class extends z {
|
|
6668
6622
|
constructor() {
|
|
6669
|
-
super({ setupSubscriptions: !1, ignoreRouter: !0 }), this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this.showTechnicalInfo = !1, this._getResource = new
|
|
6623
|
+
super({ setupSubscriptions: !1, ignoreRouter: !0 }), this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this.showTechnicalInfo = !1, this._getResource = new wt(this, {
|
|
6670
6624
|
task: async () => {
|
|
6671
6625
|
if (this.object) {
|
|
6672
6626
|
if (this.dspConnector?.instance)
|
|
@@ -8102,8 +8056,8 @@ var Ka = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ht = (e, t
|
|
|
8102
8056
|
let ft = class extends z {
|
|
8103
8057
|
constructor() {
|
|
8104
8058
|
super(...arguments), this.objects = [], this.header = "DS4GO Customer List", this.search = [], this.resultCount = this.objects?.length || 0, this.cherryPickedProperties = [
|
|
8105
|
-
{ key: "created_at", value: "created_at", cast:
|
|
8106
|
-
{ key: "updated_at", value: "updated_at", cast:
|
|
8059
|
+
{ key: "created_at", value: "created_at", cast: Q },
|
|
8060
|
+
{ key: "updated_at", value: "updated_at", cast: Q },
|
|
8107
8061
|
{ key: "name", value: "name" },
|
|
8108
8062
|
{ key: "participant_id", value: "participant_id" },
|
|
8109
8063
|
{
|
|
@@ -8114,7 +8068,7 @@ let ft = class extends z {
|
|
|
8114
8068
|
currency: "EUR"
|
|
8115
8069
|
}).format(Number(e))
|
|
8116
8070
|
}
|
|
8117
|
-
], this._getResource = new
|
|
8071
|
+
], this._getResource = new wt(this, {
|
|
8118
8072
|
task: async ([e, t]) => {
|
|
8119
8073
|
if (!(!e || !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))) {
|
|
8120
8074
|
if (!this.hasCachedDatas || this.oldDataSrc !== e) {
|
|
@@ -8232,7 +8186,7 @@ Ht([
|
|
|
8232
8186
|
ft = Ht([
|
|
8233
8187
|
x("solid-customer-list")
|
|
8234
8188
|
], ft);
|
|
8235
|
-
var Ja = Object.defineProperty, Za = Object.getOwnPropertyDescriptor,
|
|
8189
|
+
var Ja = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, _t = (e, t, i, r) => {
|
|
8236
8190
|
for (var s = r > 1 ? void 0 : r ? Za(t, i) : t, o = e.length - 1, a; o >= 0; o--)
|
|
8237
8191
|
(a = e[o]) && (s = (r ? a(t, i, s) : a(s)) || s);
|
|
8238
8192
|
return r && s && Ja(t, i, s), s;
|
|
@@ -8249,7 +8203,7 @@ let lt = class extends z {
|
|
|
8249
8203
|
{ key: "dsif:previewLinks", value: "previewLinks" },
|
|
8250
8204
|
{ key: "dsif:negotiation", value: "negotiation" },
|
|
8251
8205
|
{ key: "dsif:originCatalogId", value: "originCatalogId" }
|
|
8252
|
-
], this.sectors = [], this._getResource = new
|
|
8206
|
+
], this.sectors = [], this._getResource = new wt(this, {
|
|
8253
8207
|
task: async ([e, t, i]) => {
|
|
8254
8208
|
if (!(!e || !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))) {
|
|
8255
8209
|
if (this.displayFiltering = !this.component.parameters.disableFiltering, !this.hasCachedDatas) {
|
|
@@ -8423,28 +8377,28 @@ let lt = class extends z {
|
|
|
8423
8377
|
});
|
|
8424
8378
|
}
|
|
8425
8379
|
};
|
|
8426
|
-
|
|
8380
|
+
_t([
|
|
8427
8381
|
b({ attribute: "sector-id", type: String })
|
|
8428
8382
|
], lt.prototype, "sectorId", 2);
|
|
8429
|
-
|
|
8383
|
+
_t([
|
|
8430
8384
|
b({ attribute: "catalog-id", type: String })
|
|
8431
8385
|
], lt.prototype, "catalogId", 2);
|
|
8432
|
-
|
|
8386
|
+
_t([
|
|
8433
8387
|
h()
|
|
8434
8388
|
], lt.prototype, "search", 2);
|
|
8435
|
-
|
|
8389
|
+
_t([
|
|
8436
8390
|
h()
|
|
8437
8391
|
], lt.prototype, "resultCount", 2);
|
|
8438
|
-
|
|
8392
|
+
_t([
|
|
8439
8393
|
h()
|
|
8440
8394
|
], lt.prototype, "sectors", 2);
|
|
8441
|
-
|
|
8395
|
+
_t([
|
|
8442
8396
|
h()
|
|
8443
8397
|
], lt.prototype, "catalogs", 2);
|
|
8444
|
-
|
|
8398
|
+
_t([
|
|
8445
8399
|
h()
|
|
8446
8400
|
], lt.prototype, "object", 2);
|
|
8447
|
-
lt =
|
|
8401
|
+
lt = _t([
|
|
8448
8402
|
x("solid-dsif-explorer-poc")
|
|
8449
8403
|
], lt);
|
|
8450
8404
|
var Xa = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, ce = (e, t, i, r) => {
|
|
@@ -8454,7 +8408,7 @@ var Xa = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, ce = (e, t
|
|
|
8454
8408
|
};
|
|
8455
8409
|
let It = class extends rt {
|
|
8456
8410
|
constructor() {
|
|
8457
|
-
super(), this.header = "DSP Catalog", this.search = [], this.resultCount = this.objects?.length || 0, this._getResource = new
|
|
8411
|
+
super(), this.header = "DSP Catalog", this.search = [], this.resultCount = this.objects?.length || 0, this._getResource = new wt(this, {
|
|
8458
8412
|
task: async ([e]) => {
|
|
8459
8413
|
if (!(!this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))) {
|
|
8460
8414
|
if (this.dspConnector?.instance)
|
|
@@ -8612,7 +8566,7 @@ var tn = Object.defineProperty, en = Object.getOwnPropertyDescriptor, Gt = (e, t
|
|
|
8612
8566
|
};
|
|
8613
8567
|
let Et = class extends rt {
|
|
8614
8568
|
constructor() {
|
|
8615
|
-
super(...arguments), this.autoRefreshInterval = 0, this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this._getResource = new
|
|
8569
|
+
super(...arguments), this.autoRefreshInterval = 0, this.assets = [], this.policies = [], this.contracts = [], this.negotiations = [], this._getResource = new wt(this, {
|
|
8616
8570
|
task: async () => {
|
|
8617
8571
|
if (this.orbit) {
|
|
8618
8572
|
if (!this.hasCachedDatas) {
|
|
@@ -8788,8 +8742,8 @@ var sn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, R = (e, t,
|
|
|
8788
8742
|
let S = class extends z {
|
|
8789
8743
|
constructor() {
|
|
8790
8744
|
super(...arguments), this.objects = [], this.header = "DS4GO Fact Bundling Creation", this.selectedFacts = [], this.bundleName = "", this.bundleDescription = "", this.bundleCategory = "", this.bundleLanguage = "en", this.step = 0, this.policyTemplates = io, this.bundleAccessPolicy = this.policyTemplates[0].id, this.bundleContractPolicy = this.policyTemplates[0].id, this.filterFactText = "", this.spliceLength = 0, this.cherryPickedProperties = [
|
|
8791
|
-
{ key: "created_at", value: "created_at", cast:
|
|
8792
|
-
{ key: "updated_at", value: "updated_at", cast:
|
|
8745
|
+
{ key: "created_at", value: "created_at", cast: Q },
|
|
8746
|
+
{ key: "updated_at", value: "updated_at", cast: Q },
|
|
8793
8747
|
{ key: "name", value: "name" },
|
|
8794
8748
|
{ key: "description", value: "description" },
|
|
8795
8749
|
{ key: "author", value: "author" },
|
|
@@ -8799,7 +8753,7 @@ let S = class extends z {
|
|
|
8799
8753
|
expand: !0,
|
|
8800
8754
|
cast: (t) => Z(t, "name")
|
|
8801
8755
|
}
|
|
8802
|
-
], this._getResource = new
|
|
8756
|
+
], this._getResource = new wt(this, {
|
|
8803
8757
|
task: async ([t, i, r]) => {
|
|
8804
8758
|
if (!t || !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))
|
|
8805
8759
|
return;
|
|
@@ -9356,12 +9310,12 @@ var an = Object.defineProperty, nn = Object.getOwnPropertyDescriptor, Vt = (e, t
|
|
|
9356
9310
|
let gt = class extends z {
|
|
9357
9311
|
constructor() {
|
|
9358
9312
|
super(...arguments), this.objects = [], this.header = "DS4GO Fact Bundling", this.search = [], this.resultCount = this.objects?.length || 0, this.cherryPickedProperties = [
|
|
9359
|
-
{ key: "created_at", value: "created_at", cast:
|
|
9360
|
-
{ key: "updated_at", value: "updated_at", cast:
|
|
9313
|
+
{ key: "created_at", value: "created_at", cast: Q },
|
|
9314
|
+
{ key: "updated_at", value: "updated_at", cast: Q },
|
|
9361
9315
|
{ key: "name", value: "name" },
|
|
9362
9316
|
{ key: "category", value: "category" },
|
|
9363
9317
|
{ key: "description", value: "description" }
|
|
9364
|
-
], this._getResource = new
|
|
9318
|
+
], this._getResource = new wt(this, {
|
|
9365
9319
|
task: async ([e, t]) => {
|
|
9366
9320
|
if (!(!e || !this.orbit || !this.noRouter && this.route && this.currentRoute && !this.route.startsWith(this.currentRoute))) {
|
|
9367
9321
|
if (this.menuComponent.ready || await new Promise((i) => {
|
|
@@ -9389,7 +9343,7 @@ let gt = class extends z {
|
|
|
9389
9343
|
return e?._originalResource?.hasType("ds4go:FactBundle") && (e.facts = await Promise.all(
|
|
9390
9344
|
(await e._originalResource["ldp:contains"]).map(
|
|
9391
9345
|
(t) => this._getProxyValue(t["@id"], !1, [
|
|
9392
|
-
{ key: "updated_at", value: "updated_at", cast:
|
|
9346
|
+
{ key: "updated_at", value: "updated_at", cast: Q },
|
|
9393
9347
|
{ key: "name", value: "name" },
|
|
9394
9348
|
{ key: "description", value: "description" },
|
|
9395
9349
|
{
|
|
@@ -9583,14 +9537,7 @@ const cn = {
|
|
|
9583
9537
|
s80e477849a7534b1: "Compatible Services",
|
|
9584
9538
|
s4105d0f87979694f: "Available Data Offers",
|
|
9585
9539
|
s994ce4b585d1fd2a: "Offers",
|
|
9586
|
-
sa8c3c24c28e02883: "Features & Functionalities",
|
|
9587
|
-
s6a7dd187715dc79c: "Installation Possible",
|
|
9588
|
-
s54c4dbb85cfdd378: "In-App",
|
|
9589
|
-
s84fcddede27b8e2a: "External",
|
|
9590
|
-
sfa5f0019a09be6a7: "API",
|
|
9591
|
-
sd4272ce9c0d1dc09: "Developper",
|
|
9592
9540
|
sde1994b9f0f7a1fe: "Release Date",
|
|
9593
|
-
s2cba8ee8ec3411ba: "Last Update",
|
|
9594
9541
|
s95b064f1a3d622cb: "Access Policies",
|
|
9595
9542
|
sdf84f71cdbae4127: "Multiple contract policies available for this asset",
|
|
9596
9543
|
s042baf59902a711f: "Policy",
|
package/package.json
CHANGED
|
@@ -1081,58 +1081,11 @@ export class Ds4goCatalogModal extends TemsObjectHandler {
|
|
|
1081
1081
|
|
|
1082
1082
|
_renderServiceSpecificModal(): TemplateResultOrSymbol {
|
|
1083
1083
|
return html` ${this._renderColumns(
|
|
1084
|
-
html`${this.renderTemplateWhenWith(["
|
|
1085
|
-
this._renderTitleValueDivision(
|
|
1086
|
-
msg("Features & Functionalities"),
|
|
1087
|
-
this.object.long_description,
|
|
1088
|
-
),
|
|
1089
|
-
)}${this.renderTemplateWhenWith(
|
|
1090
|
-
[["is_in_app", "is_external", "is_api"]],
|
|
1091
|
-
() =>
|
|
1092
|
-
html`${this._renderDivision("h4", msg("Installation Possible"))}
|
|
1093
|
-
<div class="badges">
|
|
1094
|
-
${this.renderTemplateWhenWith(
|
|
1095
|
-
["is_in_app"],
|
|
1096
|
-
() =>
|
|
1097
|
-
html`${this._renderBadge("success", msg("In-App"))}</div>`,
|
|
1098
|
-
)}
|
|
1099
|
-
${this.renderTemplateWhenWith(
|
|
1100
|
-
["is_external"],
|
|
1101
|
-
() =>
|
|
1102
|
-
html`${this._renderBadge("success", msg("External"))}</div>`,
|
|
1103
|
-
)}
|
|
1104
|
-
${this.renderTemplateWhenWith(
|
|
1105
|
-
["is_api"],
|
|
1106
|
-
() => html`${this._renderBadge("success", msg("API"))}</div>`,
|
|
1107
|
-
)}
|
|
1108
|
-
</div>`,
|
|
1109
|
-
)}${this.renderTemplateWhenWith(
|
|
1110
|
-
["developper", "developper.url"],
|
|
1111
|
-
() =>
|
|
1112
|
-
html`${this._renderDivision("h4", msg("Developper"))}
|
|
1113
|
-
<img
|
|
1114
|
-
src="${this.object.developper.url}"
|
|
1115
|
-
alt=${this.object.developper.name}
|
|
1116
|
-
class="default-img"
|
|
1117
|
-
/>`,
|
|
1118
|
-
)}${this.renderTemplateWhenWith(["release_date"], () =>
|
|
1084
|
+
html`${this.renderTemplateWhenWith(["release_date"], () =>
|
|
1119
1085
|
this._renderTitleValueDivision(
|
|
1120
1086
|
msg("Release Date"),
|
|
1121
1087
|
formatDate(this.object.release_date),
|
|
1122
1088
|
),
|
|
1123
|
-
)}${this.renderTemplateWhenWith(["last_update"], () =>
|
|
1124
|
-
this._renderTitleValueDivision(
|
|
1125
|
-
msg("Last Update"),
|
|
1126
|
-
formatDate(this.object.last_update),
|
|
1127
|
-
),
|
|
1128
|
-
)}${this.renderTemplateWhenWith(["documentation_url"], () =>
|
|
1129
|
-
this._renderButton(
|
|
1130
|
-
undefined,
|
|
1131
|
-
"sm",
|
|
1132
|
-
"Read the full documentation",
|
|
1133
|
-
"outline-gray",
|
|
1134
|
-
this.object.documentation_url,
|
|
1135
|
-
),
|
|
1136
1089
|
)}
|
|
1137
1090
|
${this._renderPolicyDescription()} ${this._renderAgreementInfo()}`,
|
|
1138
1091
|
)}`;
|