@telia-ace/knowledge-data-client-flamingo 1.0.12 → 1.0.13
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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -58
- package/dist/index.js.map +1 -1
- package/dist/plugin.d.ts +3 -0
- package/dist/plugin.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACtD,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var ge = (n, e, t) => e in n ? Be(n, e, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Ve.call(e, t) && ge(n, t, e[t]);
|
|
11
11
|
return n;
|
|
12
12
|
}, me = (n, e) => Fe(n, We(e));
|
|
13
|
-
var
|
|
13
|
+
var M = (n, e, t) => new Promise((i, s) => {
|
|
14
14
|
var r = (c) => {
|
|
15
15
|
try {
|
|
16
16
|
o(t.next(c));
|
|
@@ -47,7 +47,7 @@ const Z = (n, e, t, ...i) => {
|
|
|
47
47
|
error: (t, ...i) => Z(e, "error", t, ...i)
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
|
-
var
|
|
50
|
+
var G = /* @__PURE__ */ ((n) => (n.Implementation = "implementation", n.Widget = "widget", n))(G || {}), x = /* @__PURE__ */ ((n) => (n.Pre = "pre", n.Post = "post", n))(x || {});
|
|
51
51
|
const Ye = (n, e, t, i) => {
|
|
52
52
|
try {
|
|
53
53
|
const s = new e(t, i);
|
|
@@ -82,12 +82,12 @@ let Ke = class {
|
|
|
82
82
|
createCommand(e, t, i) {
|
|
83
83
|
let s;
|
|
84
84
|
typeof t == "function" ? s = {
|
|
85
|
-
scope:
|
|
85
|
+
scope: G.Widget,
|
|
86
86
|
stage: x.Post,
|
|
87
87
|
defaultArgs: void 0,
|
|
88
88
|
handlerResolver: t
|
|
89
89
|
} : s = {
|
|
90
|
-
scope: fe(t.scope,
|
|
90
|
+
scope: fe(t.scope, G.Widget),
|
|
91
91
|
stage: fe(t.stage, x.Post),
|
|
92
92
|
defaultArgs: t.defaultArgs,
|
|
93
93
|
handlerResolver: i
|
|
@@ -109,7 +109,7 @@ const Me = (n) => {
|
|
|
109
109
|
Me((n) => {
|
|
110
110
|
n.createCommand(
|
|
111
111
|
"types.register",
|
|
112
|
-
{ scope:
|
|
112
|
+
{ scope: G.Implementation, stage: x.Pre },
|
|
113
113
|
(e) => (t, i) => {
|
|
114
114
|
e.container.get("$types")[t] = i;
|
|
115
115
|
}
|
|
@@ -188,7 +188,7 @@ Me((n) => {
|
|
|
188
188
|
const Ze = Me((n) => {
|
|
189
189
|
n.createCommand(
|
|
190
190
|
"ready",
|
|
191
|
-
{ scope:
|
|
191
|
+
{ scope: G.Implementation, stage: x.Pre },
|
|
192
192
|
(e) => (t) => {
|
|
193
193
|
const { container: i } = e, s = i.owner;
|
|
194
194
|
i.get("bootstrapping").ready ? t(s) : s.events.subscribeOnce("bootstrap:ready", () => {
|
|
@@ -197,7 +197,7 @@ const Ze = Me((n) => {
|
|
|
197
197
|
}
|
|
198
198
|
);
|
|
199
199
|
}), J = /* @__PURE__ */ new WeakMap();
|
|
200
|
-
function
|
|
200
|
+
function _() {
|
|
201
201
|
return (n) => (J.has(n) || J.set(n, {}), J.get(n));
|
|
202
202
|
}
|
|
203
203
|
const X = (n, e, t, ...i) => {
|
|
@@ -220,7 +220,7 @@ const X = (n, e, t, ...i) => {
|
|
|
220
220
|
warn: (t, ...i) => X(e, "warning", t, ...i),
|
|
221
221
|
error: (t, ...i) => X(e, "error", t, ...i)
|
|
222
222
|
};
|
|
223
|
-
}, m =
|
|
223
|
+
}, m = _(), re = (() => {
|
|
224
224
|
let n = 0;
|
|
225
225
|
return () => ++n;
|
|
226
226
|
})(), oe = (n, e, t) => {
|
|
@@ -403,7 +403,7 @@ class ve {
|
|
|
403
403
|
this.cancelable && (this.defaultPrevented = !0);
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
const $ =
|
|
406
|
+
const $ = _(), ye = (n, e) => [].concat(
|
|
407
407
|
$(n).listenerLookup.get(e.toLowerCase()) || [],
|
|
408
408
|
$(n).listenerLookup.get("*") || []
|
|
409
409
|
), be = (n, e, t, i) => {
|
|
@@ -506,7 +506,7 @@ let tt = class Re {
|
|
|
506
506
|
return $(this).children.push(t), t;
|
|
507
507
|
}
|
|
508
508
|
};
|
|
509
|
-
const
|
|
509
|
+
const U = (n, e, t) => {
|
|
510
510
|
const i = n.get("$plugins").map((s) => {
|
|
511
511
|
try {
|
|
512
512
|
return s.invoke(e, t);
|
|
@@ -547,7 +547,7 @@ let nt = class {
|
|
|
547
547
|
return this.initialized = this.initialized || (() => {
|
|
548
548
|
const t = this.container.get("$instance"), i = t.initialize || (() => {
|
|
549
549
|
});
|
|
550
|
-
return this.initialized = Promise.resolve(i.call(t, e)).then(() =>
|
|
550
|
+
return this.initialized = Promise.resolve(i.call(t, e)).then(() => U(this.container, "initialize", e)).then(() => {
|
|
551
551
|
});
|
|
552
552
|
})();
|
|
553
553
|
}
|
|
@@ -559,7 +559,7 @@ let nt = class {
|
|
|
559
559
|
*/
|
|
560
560
|
activate(e) {
|
|
561
561
|
return (this.initialized || this.initialize()).then(() => {
|
|
562
|
-
this.activated = this.activated || (() =>
|
|
562
|
+
this.activated = this.activated || (() => U(this.container, "activate").then(() => {
|
|
563
563
|
const t = this.container.get("$instance");
|
|
564
564
|
return this.activated = t.activate(e);
|
|
565
565
|
}))();
|
|
@@ -568,7 +568,7 @@ let nt = class {
|
|
|
568
568
|
deactivate() {
|
|
569
569
|
const e = this.container.get("$instance"), t = e.deactivate || (() => {
|
|
570
570
|
});
|
|
571
|
-
return
|
|
571
|
+
return U(this.container, "deactivate").then(() => Promise.resolve(t.call(e))).then(() => {
|
|
572
572
|
this.initialized = null, this.activated = null;
|
|
573
573
|
}).then(() => {
|
|
574
574
|
});
|
|
@@ -579,7 +579,7 @@ let nt = class {
|
|
|
579
579
|
* @param args Command arguments
|
|
580
580
|
*/
|
|
581
581
|
invoke(e, ...t) {
|
|
582
|
-
return
|
|
582
|
+
return U(this.container, "invoke", { command: e, args: t }).then(() => {
|
|
583
583
|
const i = this.container.get("$instance");
|
|
584
584
|
if (i[e])
|
|
585
585
|
return i[e].apply(i, t);
|
|
@@ -589,7 +589,7 @@ let nt = class {
|
|
|
589
589
|
});
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
|
-
const
|
|
592
|
+
const R = (n, e) => {
|
|
593
593
|
if (!e)
|
|
594
594
|
return !0;
|
|
595
595
|
if (typeof e == "string") {
|
|
@@ -605,19 +605,19 @@ const M = (n, e) => {
|
|
|
605
605
|
if (typeof e == "function")
|
|
606
606
|
return e(n);
|
|
607
607
|
const t = typeof e == "string" ? ot(e) : e;
|
|
608
|
-
return !(!
|
|
608
|
+
return !(!R(n.implementation.tenant || "", t.tenant || "") || !R(n.implementation.name, t.implementation || "") || !R(n.name, t.widget || "") || !R(n.container.get("$type"), t.type || ""));
|
|
609
609
|
}, st = (n, e) => {
|
|
610
610
|
if (typeof e == "function")
|
|
611
611
|
return e(n);
|
|
612
612
|
const t = typeof e == "string" ? at(e) : e;
|
|
613
|
-
return !(!
|
|
613
|
+
return !(!R(n.tenant || "", t.tenant || "") || !R(n.name, t.implementation || ""));
|
|
614
614
|
}, _e = (n) => (e) => it(e, n), rt = (n) => (e) => st(e, n), E = (n) => n instanceof Array && n.length === 1 ? n[0] : n, ot = (n) => {
|
|
615
615
|
const e = {}, t = n.split(":");
|
|
616
616
|
return t.length === 1 ? e.widget = E(t[0].split(",")) : t.length === 2 ? (e.implementation = E(t[0].split(",")), e.widget = E(t[1].split(","))) : (e.tenant = E(t[0].split(",")), e.implementation = E(t[1].split(",")), e.widget = E(t[2].split(","))), e;
|
|
617
617
|
}, at = (n) => {
|
|
618
618
|
const e = {}, t = n.split(":");
|
|
619
619
|
return t.length === 1 ? e.implementation = E(t[0].split(",")) : (e.tenant = E(t[0].split(",")), e.implementation = E(t[1].split(","))), e;
|
|
620
|
-
}, H =
|
|
620
|
+
}, H = _(), we = (n, e, t) => n.filter((i) => i.stage === e && _e(i.selector)(t));
|
|
621
621
|
function ct(n) {
|
|
622
622
|
const e = n.container.get("$environment");
|
|
623
623
|
let t = H(e).configurationCache;
|
|
@@ -846,18 +846,18 @@ class ft {
|
|
|
846
846
|
});
|
|
847
847
|
}
|
|
848
848
|
}
|
|
849
|
-
const
|
|
849
|
+
const B = /* @__PURE__ */ new WeakMap();
|
|
850
850
|
function vt(n) {
|
|
851
|
-
return
|
|
852
|
-
const s =
|
|
851
|
+
return B.has(n) || B.set(n, new ft()), (e) => new Promise((t, i) => {
|
|
852
|
+
const s = B.get(n);
|
|
853
853
|
s.add(e, t, i, () => {
|
|
854
|
-
s.tasks.length ||
|
|
854
|
+
s.tasks.length || B.delete(n);
|
|
855
855
|
});
|
|
856
856
|
});
|
|
857
857
|
}
|
|
858
858
|
const $e = (n) => typeof n != "undefined", L = (n, e) => {
|
|
859
859
|
n.events.dispatch("widget:state-change", { state: e }, { bubbles: !0 }), n.state = e, n.events.dispatch("widget:state-changed", {}, { bubbles: !0 });
|
|
860
|
-
}, y =
|
|
860
|
+
}, y = _(), yt = (n) => {
|
|
861
861
|
const { container: e, events: t } = n;
|
|
862
862
|
e.get("$controller") || (e.register("$controller", new nt(e)), t.dispatch("widget:controller-created", {}, { bubbles: !0 }));
|
|
863
863
|
};
|
|
@@ -959,7 +959,7 @@ let bt = class {
|
|
|
959
959
|
})))));
|
|
960
960
|
}
|
|
961
961
|
};
|
|
962
|
-
const Pe =
|
|
962
|
+
const Pe = _();
|
|
963
963
|
class wt {
|
|
964
964
|
/**
|
|
965
965
|
* Creates a new Implementation instance.
|
|
@@ -1029,7 +1029,7 @@ let Ee = class je {
|
|
|
1029
1029
|
return t[0];
|
|
1030
1030
|
}
|
|
1031
1031
|
};
|
|
1032
|
-
const ce = "#____version____#", ee =
|
|
1032
|
+
const ce = "#____version____#", ee = _(), Ct = (n) => n.tenant ? `${n.name}:${n.tenant}` : n.name, qe = class {
|
|
1033
1033
|
constructor(e, t = [], i = {}) {
|
|
1034
1034
|
this.widgets = new Ee(
|
|
1035
1035
|
() => {
|
|
@@ -1091,11 +1091,11 @@ const Y = (n, e, ...t) => typeof e == "string" ? n(`[humany] ${e}`, ...t) : n(e,
|
|
|
1091
1091
|
this.keys.indexOf(e) === -1 && (this.keys.push(e), t());
|
|
1092
1092
|
}
|
|
1093
1093
|
};
|
|
1094
|
-
let
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1094
|
+
let T = j;
|
|
1095
|
+
T.log = (...n) => Y(console.log, ...n);
|
|
1096
|
+
T.warn = (...n) => Y(console.warn, ...n);
|
|
1097
|
+
T.error = (...n) => Y(console.error, ...n);
|
|
1098
|
+
T.info = (...n) => Y(console.info, ...n);
|
|
1099
1099
|
const Ge = (n) => {
|
|
1100
1100
|
let e = {}, t, i;
|
|
1101
1101
|
if (typeof n != "object" || n === null)
|
|
@@ -1118,7 +1118,7 @@ class Pt {
|
|
|
1118
1118
|
if (e) {
|
|
1119
1119
|
let t;
|
|
1120
1120
|
const i = setTimeout(() => {
|
|
1121
|
-
process.env.NODE_ENV !== "production" &&
|
|
1121
|
+
process.env.NODE_ENV !== "production" && T.warn(
|
|
1122
1122
|
`A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,
|
|
1123
1123
|
e
|
|
1124
1124
|
), t = setTimeout(() => {
|
|
@@ -1135,18 +1135,18 @@ class Pt {
|
|
|
1135
1135
|
});
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
const
|
|
1138
|
+
const F = /* @__PURE__ */ new WeakMap();
|
|
1139
1139
|
function Et(n, e = 5e3, t = 1e3) {
|
|
1140
|
-
return
|
|
1141
|
-
const a =
|
|
1140
|
+
return F.has(n) || F.set(n, new Pt(e, t)), (i) => new Promise((s, r) => {
|
|
1141
|
+
const a = F.get(n);
|
|
1142
1142
|
a.add(i, s, r, () => {
|
|
1143
|
-
a.tasks.length ||
|
|
1143
|
+
a.tasks.length || F.delete(n);
|
|
1144
1144
|
});
|
|
1145
1145
|
});
|
|
1146
1146
|
}
|
|
1147
1147
|
const At = (n = {}) => (Object.keys(n).forEach((e) => {
|
|
1148
1148
|
(n[e] === null || typeof n[e] == "undefined") && delete n[e];
|
|
1149
|
-
}), n), Nt = At,
|
|
1149
|
+
}), n), Nt = At, W = (n, e) => {
|
|
1150
1150
|
let t = !0;
|
|
1151
1151
|
return Object.keys(n).length !== Object.keys(e).length || Object.keys(n).some((i) => !Object.keys(e).some((s) => i === s)) ? !1 : (Object.keys(n).forEach((i) => {
|
|
1152
1152
|
if (t) {
|
|
@@ -1390,12 +1390,12 @@ const Oe = (n) => import("./index-d70f1e69.js").then(
|
|
|
1390
1390
|
Tags: l,
|
|
1391
1391
|
SeoMetaDescription: f,
|
|
1392
1392
|
SeoAllowIndex: K,
|
|
1393
|
-
Perspectives:
|
|
1393
|
+
Perspectives: S,
|
|
1394
1394
|
PerspectiveKey: he,
|
|
1395
1395
|
Translations: le
|
|
1396
|
-
} = e, ze = he || Object.values(
|
|
1396
|
+
} = e, ze = he || Object.values(S).find(
|
|
1397
1397
|
(N) => N === o
|
|
1398
|
-
) ||
|
|
1398
|
+
) || S.Default || null, de = {
|
|
1399
1399
|
guide: {
|
|
1400
1400
|
id: t.toString(),
|
|
1401
1401
|
title: i,
|
|
@@ -1410,9 +1410,9 @@ const Oe = (n) => import("./index-d70f1e69.js").then(
|
|
|
1410
1410
|
allowFeedback: h,
|
|
1411
1411
|
seoMetaDescription: f,
|
|
1412
1412
|
seoAllowIndex: K,
|
|
1413
|
-
perspectives:
|
|
1413
|
+
perspectives: S,
|
|
1414
1414
|
perspective: ze,
|
|
1415
|
-
translations: Object.keys(le || {}).reduce((N,
|
|
1415
|
+
translations: Object.keys(le || {}).reduce((N, z) => (N[z] = le[z].toString(), N), {})
|
|
1416
1416
|
},
|
|
1417
1417
|
related: ie(r || []),
|
|
1418
1418
|
dialog: [],
|
|
@@ -1422,12 +1422,12 @@ const Oe = (n) => import("./index-d70f1e69.js").then(
|
|
|
1422
1422
|
tags: q(l)
|
|
1423
1423
|
};
|
|
1424
1424
|
return (a || []).forEach(
|
|
1425
|
-
({ CanAccess: N, Description:
|
|
1425
|
+
({ CanAccess: N, Description: z, ConnectionId: Ue, Properties: k }) => {
|
|
1426
1426
|
if (!N)
|
|
1427
1427
|
return;
|
|
1428
1428
|
const I = {
|
|
1429
1429
|
id: t.toString(),
|
|
1430
|
-
title:
|
|
1430
|
+
title: z,
|
|
1431
1431
|
connection: Ue,
|
|
1432
1432
|
connectionKey: k.ConnectionKey,
|
|
1433
1433
|
type: "default",
|
|
@@ -1514,11 +1514,11 @@ const Ie = (n) => {
|
|
|
1514
1514
|
default:
|
|
1515
1515
|
throw "error";
|
|
1516
1516
|
}
|
|
1517
|
-
}, Dt = (n) =>
|
|
1517
|
+
}, Dt = (n) => M(void 0, null, function* () {
|
|
1518
1518
|
const { invoke: e } = n.get("$widget");
|
|
1519
1519
|
return (yield e("renderState")) === Q.hidden;
|
|
1520
1520
|
});
|
|
1521
|
-
class
|
|
1521
|
+
class D {
|
|
1522
1522
|
constructor(e, t) {
|
|
1523
1523
|
this.container = e, this.matchingClient = t, this.queries = /* @__PURE__ */ new Map(), this.getUnresolvedQueries = () => {
|
|
1524
1524
|
let i = 0;
|
|
@@ -1536,21 +1536,21 @@ class W {
|
|
|
1536
1536
|
);
|
|
1537
1537
|
}
|
|
1538
1538
|
static getInstance(e, t = "dataClient") {
|
|
1539
|
-
return Et(this)(() => e.getAsync(t).then((i) =>
|
|
1539
|
+
return Et(this)(() => e.getAsync(t).then((i) => M(this, null, function* () {
|
|
1540
1540
|
let s = yield e.getAsync("matchingClient");
|
|
1541
1541
|
s || (s = yield Oe(e), e.registerAsync("matchingClient", () => s));
|
|
1542
1542
|
let r = i;
|
|
1543
|
-
return r || (r = new
|
|
1543
|
+
return r || (r = new D(e, s), e.registerAsync(t, () => r)), r;
|
|
1544
1544
|
})));
|
|
1545
1545
|
}
|
|
1546
1546
|
fetch(e, t, i) {
|
|
1547
1547
|
return new Promise((s, r) => {
|
|
1548
1548
|
t.take, Nt(t);
|
|
1549
1549
|
const a = Ie(e);
|
|
1550
|
-
let o = this.queries.get(a) || [], c = o.find((h) =>
|
|
1550
|
+
let o = this.queries.get(a) || [], c = o.find((h) => W(h.params, t)) || null;
|
|
1551
1551
|
if (c && (i != null && i.noCache)) {
|
|
1552
1552
|
const h = o.findIndex(
|
|
1553
|
-
(d) =>
|
|
1553
|
+
(d) => W(d.params, t)
|
|
1554
1554
|
);
|
|
1555
1555
|
o = [...o.slice(0, h), ...o.slice(h + 1)], c = null;
|
|
1556
1556
|
}
|
|
@@ -1589,11 +1589,11 @@ class W {
|
|
|
1589
1589
|
return this.matchingClient.giveFeedback(e, t, i);
|
|
1590
1590
|
}
|
|
1591
1591
|
setLoadingStatus(e, t, i) {
|
|
1592
|
-
const s = this.queries.get(e) || [], r = s.find((a) =>
|
|
1592
|
+
const s = this.queries.get(e) || [], r = s.find((a) => W(a.params, t));
|
|
1593
1593
|
r && (r.loading = i), this.queries.set(e, s);
|
|
1594
1594
|
}
|
|
1595
1595
|
runQuery(e, t) {
|
|
1596
|
-
return
|
|
1596
|
+
return M(this, null, function* () {
|
|
1597
1597
|
const {
|
|
1598
1598
|
searchPhrase: i = "",
|
|
1599
1599
|
categories: s = "0",
|
|
@@ -1613,7 +1613,7 @@ class W {
|
|
|
1613
1613
|
switch (e) {
|
|
1614
1614
|
case "match": {
|
|
1615
1615
|
const l = (f) => {
|
|
1616
|
-
const [K,
|
|
1616
|
+
const [K, S] = f.split("-");
|
|
1617
1617
|
return {
|
|
1618
1618
|
type: (/* @__PURE__ */ new Map([
|
|
1619
1619
|
["popularity", "popularity"],
|
|
@@ -1621,7 +1621,7 @@ class W {
|
|
|
1621
1621
|
["modified", "lastModified"],
|
|
1622
1622
|
["published", "firstPublished"]
|
|
1623
1623
|
])).get(K),
|
|
1624
|
-
direction:
|
|
1624
|
+
direction: S
|
|
1625
1625
|
};
|
|
1626
1626
|
};
|
|
1627
1627
|
return b.length ? this.matchingClient.customRequest("guides", "POST", {
|
|
@@ -1709,7 +1709,7 @@ class W {
|
|
|
1709
1709
|
});
|
|
1710
1710
|
}
|
|
1711
1711
|
handleResponse(e = {}, t, i, s) {
|
|
1712
|
-
const r = this.queries.get(t) || [], a = r.find((o) =>
|
|
1712
|
+
const r = this.queries.get(t) || [], a = r.find((o) => W(o.params, i));
|
|
1713
1713
|
if (a) {
|
|
1714
1714
|
const o = s || St(t, e);
|
|
1715
1715
|
this.track(o, t, s), a.resolvers.forEach((h) => {
|
|
@@ -1746,21 +1746,25 @@ class W {
|
|
|
1746
1746
|
});
|
|
1747
1747
|
}
|
|
1748
1748
|
static create(e) {
|
|
1749
|
-
return e.getAsync("matchingClient").then((t) =>
|
|
1749
|
+
return e.getAsync("matchingClient").then((t) => M(this, null, function* () {
|
|
1750
1750
|
if (t)
|
|
1751
|
-
return new
|
|
1751
|
+
return new D(e, t);
|
|
1752
1752
|
const i = yield Oe(e);
|
|
1753
|
-
return e.registerAsync("matchingClient", () => i), new
|
|
1753
|
+
return e.registerAsync("matchingClient", () => i), new D(e, i);
|
|
1754
1754
|
}));
|
|
1755
1755
|
}
|
|
1756
1756
|
getClient() {
|
|
1757
1757
|
return this.matchingClient;
|
|
1758
1758
|
}
|
|
1759
1759
|
}
|
|
1760
|
+
const Ht = (n) => M(void 0, null, function* () {
|
|
1761
|
+
n.registerAsync("dataClient", () => D.create(n));
|
|
1762
|
+
});
|
|
1760
1763
|
export {
|
|
1761
|
-
|
|
1764
|
+
D as DataClient,
|
|
1762
1765
|
Lt as DataType,
|
|
1763
1766
|
jt as FeedbackType,
|
|
1767
|
+
Ht as KnowledgeDataClientPlugin,
|
|
1764
1768
|
C as ServiceClientQueryType,
|
|
1765
1769
|
qt as SortingType,
|
|
1766
1770
|
Ie as determineServiceClientQueryType,
|