@cccsaurora/clue-ui 1.2.6-patch.305 → 1.2.6-patch.306
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/{ActionForm-ChVaioW5.js → ActionForm-DNmWuC4Z.js} +98 -98
- package/{AnnotationDetails-BQ1Ixe2L.js → AnnotationDetails-D1P1z5u_.js} +1 -1
- package/{AnnotationPreview-DyOYhHgD.js → AnnotationPreview-CWdMFlnR.js} +1 -1
- package/components/AnnotationDetailPopover.js +1 -1
- package/components/AnnotationDetails.js +2 -2
- package/components/AnnotationPreview.js +1 -1
- package/components/EnrichedCard.js +1 -1
- package/components/EnrichedChip.js +2 -2
- package/components/EnrichedTypography.js +2 -2
- package/components/RetryFailedEnrichments.js +1 -1
- package/components/SourcePicker.js +1 -1
- package/components/actions/ActionForm.js +1 -1
- package/components/actions/ExecutePopover.js +1 -1
- package/components/actions/ResultModal.js +1 -1
- package/components/enrichment/EnrichPopover.js +1 -1
- package/components/fetchers/Fetcher.js +1 -1
- package/components/group/GroupControl.js +1 -1
- package/components/stats/QueryStatus.js +1 -1
- package/hooks/ClueActionContext.js +1 -1
- package/hooks/ClueGroupContext.js +1 -1
- package/hooks/CluePopupContext.js +2 -2
- package/hooks/ClueProvider.js +2 -2
- package/hooks/selectors.js +1 -1
- package/hooks/useActionResult.js +1 -1
- package/hooks/useAnnotations.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/hooks/useErrors.js +1 -1
- package/hooks/useFetcherResult.js +1 -1
- package/icons/Action.js +2 -2
- package/icons/Assessment.js +1 -1
- package/icons/Context.js +1 -1
- package/icons/Opinion.js +1 -1
- package/main.js +3 -3
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ import { i as Vo } from "./utils-DmwSUrum.js";
|
|
|
14
14
|
import { useState as de, useRef as Fo, useMemo as Ne, useEffect as Wt, memo as Ns, useCallback as Oe } from "react";
|
|
15
15
|
import { u as je, c as Ko, a as qo } from "./index-Dj5C04IX.js";
|
|
16
16
|
import dt from "./components/ErrorBoundary.js";
|
|
17
|
-
import { adaptSchema as
|
|
18
|
-
import { I as
|
|
17
|
+
import { adaptSchema as Uo } from "./components/actions/form/schemaAdapter.js";
|
|
18
|
+
import { I as zo } from "./iconify-BBckr5AQ.js";
|
|
19
19
|
import { C as Ao } from "./ClueEnrichContext-KqRuuWNS.js";
|
|
20
20
|
import { ClueFetcherContext as Lo } from "./hooks/ClueFetcherContext.js";
|
|
21
21
|
import Go from "./components/ClassificationChip.js";
|
|
@@ -375,7 +375,7 @@ var rr = {};
|
|
|
375
375
|
}
|
|
376
376
|
get names() {
|
|
377
377
|
const n = this.lhs instanceof t.Name ? {} : { ...this.lhs.names };
|
|
378
|
-
return
|
|
378
|
+
return z(n, this.rhs);
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
class u extends d {
|
|
@@ -499,7 +499,7 @@ var rr = {};
|
|
|
499
499
|
}
|
|
500
500
|
get names() {
|
|
501
501
|
const n = super.names;
|
|
502
|
-
return
|
|
502
|
+
return z(n, this.condition), this.else && ie(n, this.else.names), n;
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
f.kind = "if";
|
|
@@ -530,8 +530,8 @@ var rr = {};
|
|
|
530
530
|
return `for(${c} ${w}=${j}; ${w}<${O}; ${w}++)` + super.render(n);
|
|
531
531
|
}
|
|
532
532
|
get names() {
|
|
533
|
-
const n =
|
|
534
|
-
return
|
|
533
|
+
const n = z(super.names, this.from);
|
|
534
|
+
return z(n, this.to);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
class C extends $ {
|
|
@@ -703,8 +703,8 @@ var rr = {};
|
|
|
703
703
|
const O = this._scope.toName(n);
|
|
704
704
|
if (this.opts.es5) {
|
|
705
705
|
const A = c instanceof t.Name ? c : this.var("_arr", c);
|
|
706
|
-
return this.forRange("_i", 0, (0, t._)`${A}.length`, (
|
|
707
|
-
this.var(O, (0, t._)`${A}[${
|
|
706
|
+
return this.forRange("_i", 0, (0, t._)`${A}.length`, (U) => {
|
|
707
|
+
this.var(O, (0, t._)`${A}[${U}]`), w(O);
|
|
708
708
|
});
|
|
709
709
|
}
|
|
710
710
|
return this._for(new C("of", j, O, c), () => w(O));
|
|
@@ -813,7 +813,7 @@ var rr = {};
|
|
|
813
813
|
_[c] = (_[c] || 0) + (n[c] || 0);
|
|
814
814
|
return _;
|
|
815
815
|
}
|
|
816
|
-
function
|
|
816
|
+
function z(_, n) {
|
|
817
817
|
return n instanceof t._CodeOrName ? ie(_, n.names) : _;
|
|
818
818
|
}
|
|
819
819
|
function B(_, n, c) {
|
|
@@ -876,7 +876,7 @@ function Fs(e, t = e.schema) {
|
|
|
876
876
|
return;
|
|
877
877
|
const o = s.RULES.keywords;
|
|
878
878
|
for (const a in t)
|
|
879
|
-
o[a] ||
|
|
879
|
+
o[a] || zs(e, `unknown keyword: "${a}"`);
|
|
880
880
|
}
|
|
881
881
|
N.checkUnknownRules = Fs;
|
|
882
882
|
function Ks(e, t) {
|
|
@@ -946,7 +946,7 @@ N.mergeEvaluated = {
|
|
|
946
946
|
t === !0 ? e.assign(r, !0) : (e.assign(r, (0, G._)`${r} || {}`), dr(e, r, t));
|
|
947
947
|
}),
|
|
948
948
|
mergeValues: (e, t) => e === !0 ? !0 : { ...e, ...t },
|
|
949
|
-
resultToName:
|
|
949
|
+
resultToName: Us
|
|
950
950
|
}),
|
|
951
951
|
items: es({
|
|
952
952
|
mergeNames: (e, t, r) => e.if((0, G._)`${r} !== true && ${t} !== undefined`, () => e.assign(r, (0, G._)`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`)),
|
|
@@ -955,13 +955,13 @@ N.mergeEvaluated = {
|
|
|
955
955
|
resultToName: (e, t) => e.var("items", t)
|
|
956
956
|
})
|
|
957
957
|
};
|
|
958
|
-
function
|
|
958
|
+
function Us(e, t) {
|
|
959
959
|
if (t === !0)
|
|
960
960
|
return e.var("props", !0);
|
|
961
961
|
const r = e.var("props", (0, G._)`{}`);
|
|
962
962
|
return t !== void 0 && dr(e, r, t), r;
|
|
963
963
|
}
|
|
964
|
-
N.evaluatedPropsToName =
|
|
964
|
+
N.evaluatedPropsToName = Us;
|
|
965
965
|
function dr(e, t, r) {
|
|
966
966
|
Object.keys(r).forEach((s) => e.assign((0, G._)`${t}${(0, G.getProperty)(s)}`, !0));
|
|
967
967
|
}
|
|
@@ -986,14 +986,14 @@ function On(e, t, r) {
|
|
|
986
986
|
return r ? (0, G.getProperty)(e).toString() : "/" + lr(e);
|
|
987
987
|
}
|
|
988
988
|
N.getErrorPath = On;
|
|
989
|
-
function
|
|
989
|
+
function zs(e, t, r = e.opts.strictSchema) {
|
|
990
990
|
if (r) {
|
|
991
991
|
if (t = `strict mode: ${t}`, r === !0)
|
|
992
992
|
throw new Error(t);
|
|
993
993
|
e.self.logger.warn(t);
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
-
N.checkStrictMode =
|
|
996
|
+
N.checkStrictMode = zs;
|
|
997
997
|
var ve = {};
|
|
998
998
|
Object.defineProperty(ve, "__esModule", { value: !0 });
|
|
999
999
|
const D = q, Tn = {
|
|
@@ -1130,9 +1130,9 @@ function As(e, t) {
|
|
|
1130
1130
|
var X = {}, Ve = {};
|
|
1131
1131
|
Object.defineProperty(Ve, "__esModule", { value: !0 });
|
|
1132
1132
|
Ve.getRules = Ve.isJSONType = void 0;
|
|
1133
|
-
const
|
|
1133
|
+
const Un = ["string", "number", "integer", "boolean", "null", "object", "array"], zn = new Set(Un);
|
|
1134
1134
|
function An(e) {
|
|
1135
|
-
return typeof e == "string" &&
|
|
1135
|
+
return typeof e == "string" && zn.has(e);
|
|
1136
1136
|
}
|
|
1137
1137
|
Ve.isJSONType = An;
|
|
1138
1138
|
function Ln() {
|
|
@@ -1695,7 +1695,7 @@ fe.getData = fe.KeywordCxt = fe.validateFunctionCode = void 0;
|
|
|
1695
1695
|
const eo = Qe, os = X, yr = we, kt = X, Ma = Rt, nt = _e, Bt = Ce, T = q, I = ve, Va = Z, be = N, tt = mt;
|
|
1696
1696
|
function Fa(e) {
|
|
1697
1697
|
if (so(e) && (oo(e), ro(e))) {
|
|
1698
|
-
|
|
1698
|
+
Ua(e);
|
|
1699
1699
|
return;
|
|
1700
1700
|
}
|
|
1701
1701
|
to(e, () => (0, eo.topBoolOrEmptySchema)(e));
|
|
@@ -1716,13 +1716,13 @@ function qa(e, t) {
|
|
|
1716
1716
|
e.var(I.default.instancePath, (0, T._)`""`), e.var(I.default.parentData, (0, T._)`undefined`), e.var(I.default.parentDataProperty, (0, T._)`undefined`), e.var(I.default.rootData, I.default.data), t.dynamicRef && e.var(I.default.dynamicAnchors, (0, T._)`{}`);
|
|
1717
1717
|
});
|
|
1718
1718
|
}
|
|
1719
|
-
function
|
|
1719
|
+
function Ua(e) {
|
|
1720
1720
|
const { schema: t, opts: r, gen: s } = e;
|
|
1721
1721
|
to(e, () => {
|
|
1722
|
-
r.$comment && t.$comment && ao(e), Ja(e), s.let(I.default.vErrors, null), s.let(I.default.errors, 0), r.unevaluated &&
|
|
1722
|
+
r.$comment && t.$comment && ao(e), Ja(e), s.let(I.default.vErrors, null), s.let(I.default.errors, 0), r.unevaluated && za(e), no(e), Qa(e);
|
|
1723
1723
|
});
|
|
1724
1724
|
}
|
|
1725
|
-
function
|
|
1725
|
+
function za(e) {
|
|
1726
1726
|
const { gen: t, validateName: r } = e;
|
|
1727
1727
|
e.evaluated = t.const("evaluated", (0, T._)`${r}.evaluated`), t.if((0, T._)`${e.evaluated}.dynamicProps`, () => t.assign((0, T._)`${e.evaluated}.props`, (0, T._)`undefined`)), t.if((0, T._)`${e.evaluated}.dynamicItems`, () => t.assign((0, T._)`${e.evaluated}.items`, (0, T._)`undefined`));
|
|
1728
1728
|
}
|
|
@@ -2257,23 +2257,23 @@ $r.default = mo;
|
|
|
2257
2257
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
2258
2258
|
}, $ = 200;
|
|
2259
2259
|
function P(k) {
|
|
2260
|
-
var p, S, _, n, c, w, j, O, A,
|
|
2260
|
+
var p, S, _, n, c, w, j, O, A, U, V, pe, Ue, We, ge, ze, Vt, Ft, Kt, qt, Ut, zt, At, Lt, Gt;
|
|
2261
2261
|
const xe = k.strict, Jt = (p = k.code) === null || p === void 0 ? void 0 : p.optimize, Wr = Jt === !0 || Jt === void 0 ? 1 : Jt || 0, xr = (_ = (S = k.code) === null || S === void 0 ? void 0 : S.regExp) !== null && _ !== void 0 ? _ : E, bo = (n = k.uriResolver) !== null && n !== void 0 ? n : b.default;
|
|
2262
2262
|
return {
|
|
2263
2263
|
strictSchema: (w = (c = k.strictSchema) !== null && c !== void 0 ? c : xe) !== null && w !== void 0 ? w : !0,
|
|
2264
2264
|
strictNumbers: (O = (j = k.strictNumbers) !== null && j !== void 0 ? j : xe) !== null && O !== void 0 ? O : !0,
|
|
2265
|
-
strictTypes: (
|
|
2265
|
+
strictTypes: (U = (A = k.strictTypes) !== null && A !== void 0 ? A : xe) !== null && U !== void 0 ? U : "log",
|
|
2266
2266
|
strictTuples: (pe = (V = k.strictTuples) !== null && V !== void 0 ? V : xe) !== null && pe !== void 0 ? pe : "log",
|
|
2267
|
-
strictRequired: (We = (
|
|
2267
|
+
strictRequired: (We = (Ue = k.strictRequired) !== null && Ue !== void 0 ? Ue : xe) !== null && We !== void 0 ? We : !1,
|
|
2268
2268
|
code: k.code ? { ...k.code, optimize: Wr, regExp: xr } : { optimize: Wr, regExp: xr },
|
|
2269
2269
|
loopRequired: (ge = k.loopRequired) !== null && ge !== void 0 ? ge : $,
|
|
2270
|
-
loopEnum: (
|
|
2270
|
+
loopEnum: (ze = k.loopEnum) !== null && ze !== void 0 ? ze : $,
|
|
2271
2271
|
meta: (Vt = k.meta) !== null && Vt !== void 0 ? Vt : !0,
|
|
2272
2272
|
messages: (Ft = k.messages) !== null && Ft !== void 0 ? Ft : !0,
|
|
2273
2273
|
inlineRefs: (Kt = k.inlineRefs) !== null && Kt !== void 0 ? Kt : !0,
|
|
2274
2274
|
schemaId: (qt = k.schemaId) !== null && qt !== void 0 ? qt : "$id",
|
|
2275
|
-
addUsedSchema: (
|
|
2276
|
-
validateSchema: (
|
|
2275
|
+
addUsedSchema: (Ut = k.addUsedSchema) !== null && Ut !== void 0 ? Ut : !0,
|
|
2276
|
+
validateSchema: (zt = k.validateSchema) !== null && zt !== void 0 ? zt : !0,
|
|
2277
2277
|
validateFormats: (At = k.validateFormats) !== null && At !== void 0 ? At : !0,
|
|
2278
2278
|
unicodeRegExp: (Lt = k.unicodeRegExp) !== null && Lt !== void 0 ? Lt : !0,
|
|
2279
2279
|
int32range: (Gt = k.int32range) !== null && Gt !== void 0 ? Gt : !0,
|
|
@@ -2319,39 +2319,39 @@ $r.default = mo;
|
|
|
2319
2319
|
throw new Error("options.loadSchema should be a function");
|
|
2320
2320
|
const { loadSchema: _ } = this.opts;
|
|
2321
2321
|
return n.call(this, p, S);
|
|
2322
|
-
async function n(
|
|
2323
|
-
await c.call(this,
|
|
2324
|
-
const pe = this._addSchema(
|
|
2322
|
+
async function n(U, V) {
|
|
2323
|
+
await c.call(this, U.$schema);
|
|
2324
|
+
const pe = this._addSchema(U, V);
|
|
2325
2325
|
return pe.validate || w.call(this, pe);
|
|
2326
2326
|
}
|
|
2327
|
-
async function c(
|
|
2328
|
-
|
|
2327
|
+
async function c(U) {
|
|
2328
|
+
U && !this.getSchema(U) && await n.call(this, { $ref: U }, !0);
|
|
2329
2329
|
}
|
|
2330
|
-
async function w(
|
|
2330
|
+
async function w(U) {
|
|
2331
2331
|
try {
|
|
2332
|
-
return this._compileSchemaEnv(
|
|
2332
|
+
return this._compileSchemaEnv(U);
|
|
2333
2333
|
} catch (V) {
|
|
2334
2334
|
if (!(V instanceof o.default))
|
|
2335
2335
|
throw V;
|
|
2336
|
-
return j.call(this, V), await O.call(this, V.missingSchema), w.call(this,
|
|
2336
|
+
return j.call(this, V), await O.call(this, V.missingSchema), w.call(this, U);
|
|
2337
2337
|
}
|
|
2338
2338
|
}
|
|
2339
|
-
function j({ missingSchema:
|
|
2340
|
-
if (this.refs[
|
|
2341
|
-
throw new Error(`AnySchema ${
|
|
2339
|
+
function j({ missingSchema: U, missingRef: V }) {
|
|
2340
|
+
if (this.refs[U])
|
|
2341
|
+
throw new Error(`AnySchema ${U} is loaded but ${V} cannot be resolved`);
|
|
2342
2342
|
}
|
|
2343
|
-
async function O(
|
|
2344
|
-
const V = await A.call(this,
|
|
2345
|
-
this.refs[
|
|
2343
|
+
async function O(U) {
|
|
2344
|
+
const V = await A.call(this, U);
|
|
2345
|
+
this.refs[U] || await c.call(this, V.$schema), this.refs[U] || this.addSchema(V, U, S);
|
|
2346
2346
|
}
|
|
2347
|
-
async function A(
|
|
2348
|
-
const V = this._loading[
|
|
2347
|
+
async function A(U) {
|
|
2348
|
+
const V = this._loading[U];
|
|
2349
2349
|
if (V)
|
|
2350
2350
|
return V;
|
|
2351
2351
|
try {
|
|
2352
|
-
return await (this._loading[
|
|
2352
|
+
return await (this._loading[U] = _(U));
|
|
2353
2353
|
} finally {
|
|
2354
|
-
delete this._loading[
|
|
2354
|
+
delete this._loading[U];
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
2357
|
}
|
|
@@ -2490,8 +2490,8 @@ $r.default = mo;
|
|
|
2490
2490
|
const O = _[j];
|
|
2491
2491
|
if (typeof O != "object")
|
|
2492
2492
|
continue;
|
|
2493
|
-
const { $data: A } = O.definition,
|
|
2494
|
-
A &&
|
|
2493
|
+
const { $data: A } = O.definition, U = w[j];
|
|
2494
|
+
A && U && (w[j] = he(U));
|
|
2495
2495
|
}
|
|
2496
2496
|
}
|
|
2497
2497
|
return p;
|
|
@@ -2594,13 +2594,13 @@ $r.default = mo;
|
|
|
2594
2594
|
return k;
|
|
2595
2595
|
throw new Error("logger must implement log, warn and error methods");
|
|
2596
2596
|
}
|
|
2597
|
-
const
|
|
2597
|
+
const z = /^[a-z_$][a-z0-9_$:-]*$/i;
|
|
2598
2598
|
function B(k, p) {
|
|
2599
2599
|
const { RULES: S } = this;
|
|
2600
2600
|
if ((0, m.eachItem)(k, (_) => {
|
|
2601
2601
|
if (S.keywords[_])
|
|
2602
2602
|
throw new Error(`Keyword ${_} is already defined`);
|
|
2603
|
-
if (!
|
|
2603
|
+
if (!z.test(_))
|
|
2604
2604
|
throw new Error(`Keyword ${_} has invalid name`);
|
|
2605
2605
|
}), !!p && p.$data && !("code" in p || "validate" in p))
|
|
2606
2606
|
throw new Error('$data keyword must have "code" or "validate" function');
|
|
@@ -2860,7 +2860,7 @@ const it = q, Ki = {
|
|
|
2860
2860
|
jr.default = qi;
|
|
2861
2861
|
var Rr = {};
|
|
2862
2862
|
Object.defineProperty(Rr, "__esModule", { value: !0 });
|
|
2863
|
-
const rt = K, ct = q,
|
|
2863
|
+
const rt = K, ct = q, Ui = N, zi = {
|
|
2864
2864
|
message: ({ params: { missingProperty: e } }) => (0, ct.str)`must have required property '${e}'`,
|
|
2865
2865
|
params: ({ params: { missingProperty: e } }) => (0, ct._)`{missingProperty: ${e}}`
|
|
2866
2866
|
}, Ai = {
|
|
@@ -2868,7 +2868,7 @@ const rt = K, ct = q, zi = N, Ui = {
|
|
|
2868
2868
|
type: "object",
|
|
2869
2869
|
schemaType: "array",
|
|
2870
2870
|
$data: !0,
|
|
2871
|
-
error:
|
|
2871
|
+
error: zi,
|
|
2872
2872
|
code(e) {
|
|
2873
2873
|
const { gen: t, schema: r, schemaCode: s, data: o, $data: a, it: i } = e, { opts: d } = i;
|
|
2874
2874
|
if (!a && r.length === 0)
|
|
@@ -2879,7 +2879,7 @@ const rt = K, ct = q, zi = N, Ui = {
|
|
|
2879
2879
|
for (const v of r)
|
|
2880
2880
|
if ((E == null ? void 0 : E[v]) === void 0 && !g.has(v)) {
|
|
2881
2881
|
const h = i.schemaEnv.baseId + i.errSchemaPath, f = `required property "${v}" is not defined at "${h}" (strictRequired)`;
|
|
2882
|
-
(0,
|
|
2882
|
+
(0, Ui.checkStrictMode)(i, f, i.opts.strictRequired);
|
|
2883
2883
|
}
|
|
2884
2884
|
}
|
|
2885
2885
|
function l() {
|
|
@@ -3276,8 +3276,8 @@ var $o = {};
|
|
|
3276
3276
|
}
|
|
3277
3277
|
e.validateSchemaDeps = d, e.default = o;
|
|
3278
3278
|
})($o);
|
|
3279
|
-
var
|
|
3280
|
-
Object.defineProperty(
|
|
3279
|
+
var Ur = {};
|
|
3280
|
+
Object.defineProperty(Ur, "__esModule", { value: !0 });
|
|
3281
3281
|
const go = q, kc = N, Nc = {
|
|
3282
3282
|
message: "property name must be valid",
|
|
3283
3283
|
params: ({ params: e }) => (0, go._)`{propertyName: ${e.propertyName}}`
|
|
@@ -3304,7 +3304,7 @@ const go = q, kc = N, Nc = {
|
|
|
3304
3304
|
}), e.ok(a);
|
|
3305
3305
|
}
|
|
3306
3306
|
};
|
|
3307
|
-
|
|
3307
|
+
Ur.default = Cc;
|
|
3308
3308
|
var It = {};
|
|
3309
3309
|
Object.defineProperty(It, "__esModule", { value: !0 });
|
|
3310
3310
|
const gt = K, le = q, jc = ve, wt = N, Rc = {
|
|
@@ -3373,8 +3373,8 @@ const gt = K, le = q, jc = ve, wt = N, Rc = {
|
|
|
3373
3373
|
}
|
|
3374
3374
|
};
|
|
3375
3375
|
It.default = Oc;
|
|
3376
|
-
var
|
|
3377
|
-
Object.defineProperty(
|
|
3376
|
+
var zr = {};
|
|
3377
|
+
Object.defineProperty(zr, "__esModule", { value: !0 });
|
|
3378
3378
|
const Tc = fe, ms = K, Zt = N, hs = It, Ic = {
|
|
3379
3379
|
keyword: "properties",
|
|
3380
3380
|
type: "object",
|
|
@@ -3404,7 +3404,7 @@ const Tc = fe, ms = K, Zt = N, hs = It, Ic = {
|
|
|
3404
3404
|
}
|
|
3405
3405
|
}
|
|
3406
3406
|
};
|
|
3407
|
-
|
|
3407
|
+
zr.default = Ic;
|
|
3408
3408
|
var Ar = {};
|
|
3409
3409
|
Object.defineProperty(Ar, "__esModule", { value: !0 });
|
|
3410
3410
|
const ps = K, bt = q, ys = N, _s = N, Mc = {
|
|
@@ -3478,14 +3478,14 @@ const Kc = K, qc = {
|
|
|
3478
3478
|
Gr.default = qc;
|
|
3479
3479
|
var Jr = {};
|
|
3480
3480
|
Object.defineProperty(Jr, "__esModule", { value: !0 });
|
|
3481
|
-
const Pt = q,
|
|
3481
|
+
const Pt = q, Uc = N, zc = {
|
|
3482
3482
|
message: "must match exactly one schema in oneOf",
|
|
3483
3483
|
params: ({ params: e }) => (0, Pt._)`{passingSchemas: ${e.passing}}`
|
|
3484
3484
|
}, Ac = {
|
|
3485
3485
|
keyword: "oneOf",
|
|
3486
3486
|
schemaType: "array",
|
|
3487
3487
|
trackErrors: !0,
|
|
3488
|
-
error:
|
|
3488
|
+
error: zc,
|
|
3489
3489
|
code(e) {
|
|
3490
3490
|
const { gen: t, schema: r, parentSchema: s, it: o } = e;
|
|
3491
3491
|
if (!Array.isArray(r))
|
|
@@ -3497,7 +3497,7 @@ const Pt = q, zc = N, Uc = {
|
|
|
3497
3497
|
function l() {
|
|
3498
3498
|
a.forEach((m, y) => {
|
|
3499
3499
|
let b;
|
|
3500
|
-
(0,
|
|
3500
|
+
(0, Uc.alwaysValidSchema)(o, m) ? t.var(u, !0) : b = e.subschema({
|
|
3501
3501
|
keyword: "oneOf",
|
|
3502
3502
|
schemaProp: y,
|
|
3503
3503
|
compositeRule: !0
|
|
@@ -3583,7 +3583,7 @@ const Bc = N, Qc = {
|
|
|
3583
3583
|
};
|
|
3584
3584
|
Qr.default = Qc;
|
|
3585
3585
|
Object.defineProperty(Vr, "__esModule", { value: !0 });
|
|
3586
|
-
const Xc = Ze, Yc = Fr, Zc = De, Dc = Kr, Wc = qr, xc = $o, el =
|
|
3586
|
+
const Xc = Ze, Yc = Fr, Zc = De, Dc = Kr, Wc = qr, xc = $o, el = Ur, tl = It, rl = zr, sl = Ar, ol = Lr, nl = Gr, al = Jr, il = Hr, cl = Br, ll = Qr;
|
|
3587
3587
|
function dl(e = !1) {
|
|
3588
3588
|
const t = [
|
|
3589
3589
|
// any
|
|
@@ -4097,7 +4097,7 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4097
4097
|
);
|
|
4098
4098
|
return o ? /* @__PURE__ */ M(bs, { open: r, sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClose: t, children: /* @__PURE__ */ M(Es, { sx: { maxHeight: "80%", maxWidth: "80%", height: "100%", p: 2, minWidth: "750px" }, children: /* @__PURE__ */ M(dt, { children: /* @__PURE__ */ W(se, { spacing: 1, height: "100%", children: [
|
|
4099
4099
|
/* @__PURE__ */ W(se, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
4100
|
-
o.action.action_icon && /* @__PURE__ */ M(
|
|
4100
|
+
o.action.action_icon && /* @__PURE__ */ M(zo, { height: "1.5rem", icon: o.action.action_icon }),
|
|
4101
4101
|
/* @__PURE__ */ M(ke, { variant: "h5", children: o.action.name }),
|
|
4102
4102
|
o.action.supported_types && /* @__PURE__ */ M(ke, { variant: "caption", color: "text.secondary", children: o.action.supported_types.map((u) => u.toUpperCase()).join(", ") }),
|
|
4103
4103
|
/* @__PURE__ */ M("div", { style: { flex: 1 } }),
|
|
@@ -4131,23 +4131,23 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4131
4131
|
getToken: o,
|
|
4132
4132
|
onNetworkCall: a
|
|
4133
4133
|
}) => {
|
|
4134
|
-
const { t: i, i18n: d } = je(ft, (
|
|
4135
|
-
const
|
|
4136
|
-
return B && (
|
|
4134
|
+
const { t: i, i18n: d } = je(ft, (z) => z.i18next), { ready: u } = Bo(), [l, m] = de(null), [y, b] = de({}), [E, g] = de(!1), [v, h] = de(null), [f, $] = de(!1), [P, R] = de({}), C = Ne(() => {
|
|
4135
|
+
const z = {}, B = o == null ? void 0 : o();
|
|
4136
|
+
return B && (z.Authorization = `Bearer ${B}`), a ? a({ baseURL: e, headers: z }) : { baseURL: e, headers: z };
|
|
4137
4137
|
}, [e, o, a]), L = Oe(async () => {
|
|
4138
4138
|
if (!u)
|
|
4139
4139
|
return;
|
|
4140
|
-
const
|
|
4141
|
-
return
|
|
4140
|
+
const z = await Ht.actions.get(C);
|
|
4141
|
+
return z && R(z), z;
|
|
4142
4142
|
}, [u, C]);
|
|
4143
4143
|
Wt(() => {
|
|
4144
4144
|
L();
|
|
4145
4145
|
}, [e, u]);
|
|
4146
4146
|
const H = Oe(
|
|
4147
|
-
(
|
|
4147
|
+
(z, B, ee) => JSON.stringify({ type: z, value: B, classification: ee ?? r }),
|
|
4148
4148
|
[r]
|
|
4149
4149
|
), oe = Oe(
|
|
4150
|
-
async (
|
|
4150
|
+
async (z, B, ee, Ke) => {
|
|
4151
4151
|
const {
|
|
4152
4152
|
forceMenu: qe,
|
|
4153
4153
|
onComplete: $e,
|
|
@@ -4170,23 +4170,23 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4170
4170
|
extraContext: null,
|
|
4171
4171
|
...Ke
|
|
4172
4172
|
};
|
|
4173
|
-
if (!Object.keys(P).includes(
|
|
4173
|
+
if (!Object.keys(P).includes(z))
|
|
4174
4174
|
throw new Error("Invalid action id");
|
|
4175
4175
|
const w = B.map(
|
|
4176
4176
|
(V) => V.type === "telemetry" ? { ...V, value: JSON.stringify(V.value) } : V
|
|
4177
|
-
), j = P[
|
|
4178
|
-
let
|
|
4179
|
-
if (n && (
|
|
4177
|
+
), j = P[z], O = Kl.compile(j.params), A = { selectors: w, ...ee };
|
|
4178
|
+
let U = null;
|
|
4179
|
+
if (n && (U = {
|
|
4180
4180
|
timestamp: Ho().toISOString(),
|
|
4181
4181
|
url: window.location,
|
|
4182
4182
|
language: (d == null ? void 0 : d.language) ?? "en"
|
|
4183
|
-
}), Qo(c) || (
|
|
4184
|
-
...
|
|
4183
|
+
}), Qo(c) || (U = {
|
|
4184
|
+
...U ?? {},
|
|
4185
4185
|
...c
|
|
4186
4186
|
}), $(!0), !O(A) || qe) {
|
|
4187
4187
|
if (p && !qe)
|
|
4188
4188
|
throw console.error(`Form is not valid (${O.errors.length} errors)`), new Error("Form is not completed");
|
|
4189
|
-
(l == null ? void 0 : l.id) ===
|
|
4189
|
+
(l == null ? void 0 : l.id) === z && (console.error(`Form is not valid (${O.errors.length} errors)`), _t(
|
|
4190
4190
|
new CustomEvent(yt, {
|
|
4191
4191
|
detail: {
|
|
4192
4192
|
message: i("action.error.validation"),
|
|
@@ -4194,12 +4194,12 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4194
4194
|
}
|
|
4195
4195
|
})
|
|
4196
4196
|
)), m({
|
|
4197
|
-
id:
|
|
4197
|
+
id: z,
|
|
4198
4198
|
action: j,
|
|
4199
4199
|
selectors: B,
|
|
4200
4200
|
params: A ?? {},
|
|
4201
4201
|
skipResultModal: S,
|
|
4202
|
-
context:
|
|
4202
|
+
context: U,
|
|
4203
4203
|
onComplete: $e,
|
|
4204
4204
|
onUpdate: he,
|
|
4205
4205
|
onCancel: k,
|
|
@@ -4209,21 +4209,21 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4209
4209
|
}
|
|
4210
4210
|
try {
|
|
4211
4211
|
const V = await Ht.actions.post(
|
|
4212
|
-
|
|
4212
|
+
z,
|
|
4213
4213
|
w,
|
|
4214
4214
|
A ?? {},
|
|
4215
|
-
|
|
4215
|
+
U,
|
|
4216
4216
|
{ timeout: _ },
|
|
4217
4217
|
C
|
|
4218
|
-
), pe = { ...V, actionId:
|
|
4219
|
-
he == null || he(pe), V.outcome !== "pending" && ($e == null || $e(pe)), b((
|
|
4218
|
+
), pe = { ...V, actionId: z, action: j, params: A };
|
|
4219
|
+
he == null || he(pe), V.outcome !== "pending" && ($e == null || $e(pe)), b((Ue) => {
|
|
4220
4220
|
const We = B.map((ge) => H(ge.type, ge.value, ge.classification));
|
|
4221
4221
|
return {
|
|
4222
|
-
...
|
|
4222
|
+
...Ue,
|
|
4223
4223
|
...We.reduce(
|
|
4224
|
-
(ge,
|
|
4224
|
+
(ge, ze) => ({
|
|
4225
4225
|
...ge,
|
|
4226
|
-
[
|
|
4226
|
+
[ze]: [...Ue[ze] ?? [], pe]
|
|
4227
4227
|
}),
|
|
4228
4228
|
{}
|
|
4229
4229
|
)
|
|
@@ -4249,7 +4249,7 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4249
4249
|
}
|
|
4250
4250
|
}
|
|
4251
4251
|
})
|
|
4252
|
-
), V.outcome === "success" && m(null), V.outcome === "pending" && (h({ ...V, actionId:
|
|
4252
|
+
), V.outcome === "success" && m(null), V.outcome === "pending" && (h({ ...V, actionId: z, action: j, onComplete: $e, onUpdate: he }), S || g(!0), m(null)), V.format && (h({ ...V, actionId: z, action: j }), V.format !== "pivot" && !S ? g(!0) : window.open(V.output, "_blank", "noreferrer"));
|
|
4253
4253
|
} catch (V) {
|
|
4254
4254
|
_t(
|
|
4255
4255
|
new CustomEvent(yt, {
|
|
@@ -4265,9 +4265,9 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4265
4265
|
},
|
|
4266
4266
|
[P, s, H, d == null ? void 0 : d.language, C, l == null ? void 0 : l.id, i]
|
|
4267
4267
|
), ae = Oe(
|
|
4268
|
-
async (
|
|
4268
|
+
async (z, B) => {
|
|
4269
4269
|
try {
|
|
4270
|
-
return await Ht.actions.status.get(
|
|
4270
|
+
return await Ht.actions.status.get(z, B, {}, C);
|
|
4271
4271
|
} catch (ee) {
|
|
4272
4272
|
_t(
|
|
4273
4273
|
new CustomEvent(yt, {
|
|
@@ -4281,10 +4281,10 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4281
4281
|
},
|
|
4282
4282
|
[C]
|
|
4283
4283
|
), me = Oe(() => {
|
|
4284
|
-
var
|
|
4285
|
-
(
|
|
4284
|
+
var z;
|
|
4285
|
+
(z = l == null ? void 0 : l.onCancel) == null || z.call(l), m(null), $(!1);
|
|
4286
4286
|
}, [l]), Ee = Oe(
|
|
4287
|
-
(
|
|
4287
|
+
(z, B, ee) => y[H(z, B, ee)] ?? [],
|
|
4288
4288
|
[y, H]
|
|
4289
4289
|
), ie = Ne(
|
|
4290
4290
|
() => ({
|
|
@@ -4312,12 +4312,12 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4312
4312
|
)
|
|
4313
4313
|
] })
|
|
4314
4314
|
] });
|
|
4315
|
-
}, ql = () => qo(Dr),
|
|
4315
|
+
}, ql = () => qo(Dr), Ul = Eo.map((e) => ({
|
|
4316
4316
|
...e,
|
|
4317
4317
|
renderer: ({ ...t }) => /* @__PURE__ */ M(dt, { children: /* @__PURE__ */ M(e.renderer, { ...t }) })
|
|
4318
|
-
})),
|
|
4318
|
+
})), zl = ({ runningActionData: e }) => {
|
|
4319
4319
|
const { executeAction: t, cancelAction: r } = ql(), { t: s } = je(ft, (v) => v.i18next), [o, a] = de(!1), [i, d] = de(null), [u, l] = de(e == null ? void 0 : e.params), [m, y] = de(!1), b = Ne(
|
|
4320
|
-
() => e != null && e.action ? { ...
|
|
4320
|
+
() => e != null && e.action ? { ...Uo(e.action.params), ...e.action.extra_schema ?? {} } : null,
|
|
4321
4321
|
[e == null ? void 0 : e.action]
|
|
4322
4322
|
), E = Ne(
|
|
4323
4323
|
() => ({
|
|
@@ -4341,7 +4341,7 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4341
4341
|
try {
|
|
4342
4342
|
a(!0);
|
|
4343
4343
|
const v = {};
|
|
4344
|
-
e != null && e.onComplete && (v.onComplete = e == null ? void 0 : e.onComplete), e != null && e.onUpdate && (v.
|
|
4344
|
+
e != null && e.onComplete && (v.onComplete = e == null ? void 0 : e.onComplete), e != null && e.onUpdate && (v.onUpdate = e == null ? void 0 : e.onUpdate), e != null && e.timeout && (v.timeout = e == null ? void 0 : e.timeout), e != null && e.skipResultModal && (v.skipResultModal = e == null ? void 0 : e.skipResultModal), await t(e == null ? void 0 : e.id, e == null ? void 0 : e.selectors, u, v);
|
|
4345
4345
|
} catch (v) {
|
|
4346
4346
|
console.error(v);
|
|
4347
4347
|
} finally {
|
|
@@ -4413,7 +4413,7 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4413
4413
|
{
|
|
4414
4414
|
schema: b,
|
|
4415
4415
|
uischema: E,
|
|
4416
|
-
renderers:
|
|
4416
|
+
renderers: Ul,
|
|
4417
4417
|
cells: So,
|
|
4418
4418
|
data: u,
|
|
4419
4419
|
onChange: ({ data: v, errors: h }) => {
|
|
@@ -4454,7 +4454,7 @@ const Tl = /* @__PURE__ */ Oo(Ol), pd = (e) => je(Lo, e), Il = (e) => je(Dr, e),
|
|
|
4454
4454
|
} catch (v) {
|
|
4455
4455
|
return console.warn(v), null;
|
|
4456
4456
|
}
|
|
4457
|
-
}, Al = Ns(
|
|
4457
|
+
}, Al = Ns(zl);
|
|
4458
4458
|
export {
|
|
4459
4459
|
Al as A,
|
|
4460
4460
|
vd as C,
|
|
@@ -4,7 +4,7 @@ import { useTheme as M, Stack as l, Typography as s, Tooltip as x, Box as A, Ico
|
|
|
4
4
|
import g from "./components/display/icons/Iconified.js";
|
|
5
5
|
import { SNACKBAR_EVENT_ID as O } from "./data/event.js";
|
|
6
6
|
import { ClueComponentContext as F } from "./hooks/ClueComponentContext.js";
|
|
7
|
-
import { b as H } from "./ActionForm-
|
|
7
|
+
import { b as H } from "./ActionForm-DNmWuC4Z.js";
|
|
8
8
|
import K from "./hooks/useAnnotations.js";
|
|
9
9
|
import L from "./hooks/useErrors.js";
|
|
10
10
|
import { ICON_MAP as T } from "./icons/iconMap.js";
|
|
@@ -8,7 +8,7 @@ import { useState as v, useRef as Y, useCallback as x, useEffect as Z, useMemo a
|
|
|
8
8
|
import { c as B, u as G } from "./index-Dj5C04IX.js";
|
|
9
9
|
import { SHOW_EVENT_ID as g, HIDE_EVENT_ID as D } from "./data/event.js";
|
|
10
10
|
import { safeDispatchEvent as A, safeAddEventListener as S } from "./utils/window.js";
|
|
11
|
-
import { i as J } from "./AnnotationDetails-
|
|
11
|
+
import { i as J } from "./AnnotationDetails-D1P1z5u_.js";
|
|
12
12
|
const b = B(null), rt = ({ children: c }) => {
|
|
13
13
|
const [l, e] = v(null), [p, i] = v(null), [r, d] = v(null), [u, m] = v(null), [f, t] = v({}), a = Y(null), P = x((s, o, z, N) => {
|
|
14
14
|
A(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as d } from "react/jsx-runtime";
|
|
2
2
|
import { Popover as r } from "@mui/material";
|
|
3
3
|
import v, { useRef as c, useState as g, useEffect as R } from "react";
|
|
4
|
-
import { A as k } from "../AnnotationDetails-
|
|
4
|
+
import { A as k } from "../AnnotationDetails-D1P1z5u_.js";
|
|
5
5
|
const S = v.memo(({ anchorEl: t, enrichRequest: u, open: o, onClose: l, ...e }) => {
|
|
6
6
|
var f, s, m;
|
|
7
7
|
const a = c(), [x, n] = g(!1);
|
|
@@ -4,13 +4,13 @@ import "@mui/material";
|
|
|
4
4
|
import "./display/icons/Iconified.js";
|
|
5
5
|
import "../data/event.js";
|
|
6
6
|
import "../hooks/ClueComponentContext.js";
|
|
7
|
-
import "../ActionForm-
|
|
7
|
+
import "../ActionForm-DNmWuC4Z.js";
|
|
8
8
|
import "../hooks/useAnnotations.js";
|
|
9
9
|
import "../hooks/useErrors.js";
|
|
10
10
|
import "../icons/iconMap.js";
|
|
11
11
|
import "../utils/window.js";
|
|
12
12
|
import "../groupBy-br8xmD2R.js";
|
|
13
|
-
import { A as n } from "../AnnotationDetails-
|
|
13
|
+
import { A as n } from "../AnnotationDetails-D1P1z5u_.js";
|
|
14
14
|
import "../useClueTypeConfig-Ct9Ygter.js";
|
|
15
15
|
import "react";
|
|
16
16
|
import "../index-Dj5C04IX.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../iconify-BBckr5AQ.js";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import { A as d } from "../AnnotationPreview-
|
|
4
|
+
import { A as d } from "../AnnotationPreview-CWdMFlnR.js";
|
|
5
5
|
import "../hooks/useAnnotations.js";
|
|
6
6
|
import "../utils-DmwSUrum.js";
|
|
7
7
|
import "react";
|
|
@@ -2,7 +2,7 @@ import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as C } from "../iconify-BBckr5AQ.js";
|
|
3
3
|
import { useTheme as F, Card as M, CardHeader as O, Stack as W, CircularProgress as B, Divider as D, CardContent as G, Grid as c, Chip as g, Typography as b, Tooltip as H, Box as N } from "@mui/material";
|
|
4
4
|
import { ClueComponentContext as R } from "../hooks/ClueComponentContext.js";
|
|
5
|
-
import { b as v } from "../ActionForm-
|
|
5
|
+
import { b as v } from "../ActionForm-DNmWuC4Z.js";
|
|
6
6
|
import _ from "../hooks/useAnnotations.js";
|
|
7
7
|
import $ from "../hooks/useErrors.js";
|
|
8
8
|
import J from "../icons/Assessment.js";
|
|
@@ -3,8 +3,8 @@ import { Chip as B, Tooltip as G, Box as _, Stack as H, CircularProgress as J }
|
|
|
3
3
|
import K from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext as L } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext as N } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as E } from "../AnnotationPreview-
|
|
7
|
-
import { b as Q } from "../ActionForm-
|
|
6
|
+
import { C as E } from "../AnnotationPreview-CWdMFlnR.js";
|
|
7
|
+
import { b as Q } from "../ActionForm-DNmWuC4Z.js";
|
|
8
8
|
import U from "../hooks/useAnnotations.js";
|
|
9
9
|
import V from "../icons/Action.js";
|
|
10
10
|
import v from "../icons/Assessment.js";
|
|
@@ -3,8 +3,8 @@ import { useTheme as K, Stack as L, CircularProgress as Q, Tooltip as U, IconBut
|
|
|
3
3
|
import W from "./display/icons/Iconified.js";
|
|
4
4
|
import { ClueComponentContext as X } from "../hooks/ClueComponentContext.js";
|
|
5
5
|
import { ClueGroupContext as Y } from "../hooks/ClueGroupContext.js";
|
|
6
|
-
import { C as j } from "../AnnotationPreview-
|
|
7
|
-
import { b as Z } from "../ActionForm-
|
|
6
|
+
import { C as j } from "../AnnotationPreview-CWdMFlnR.js";
|
|
7
|
+
import { b as Z } from "../ActionForm-DNmWuC4Z.js";
|
|
8
8
|
import F from "../hooks/useAnnotations.js";
|
|
9
9
|
import _ from "../icons/Action.js";
|
|
10
10
|
import z from "../icons/Assessment.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { Button as o } from "@mui/material";
|
|
3
3
|
import { ClueComponentContext as i } from "../hooks/ClueComponentContext.js";
|
|
4
|
-
import { b as c } from "../ActionForm-
|
|
4
|
+
import { b as c } from "../ActionForm-DNmWuC4Z.js";
|
|
5
5
|
import { u as m } from "../index-Dj5C04IX.js";
|
|
6
6
|
const p = () => {
|
|
7
7
|
const t = c((e) => e.enrichFailedEnrichments), { t: r } = m(i, (e) => e.i18next);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as k, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { Button as v, Popover as w, TextField as z, Divider as _, Stack as F, FormControlLabel as d, Checkbox as m } from "@mui/material";
|
|
3
|
-
import { d as E, b as a } from "../ActionForm-
|
|
3
|
+
import { d as E, b as a } from "../ActionForm-DNmWuC4Z.js";
|
|
4
4
|
import { memo as P, useState as g, useEffect as T } from "react";
|
|
5
5
|
const L = () => {
|
|
6
6
|
const { t: r } = E((e) => e.i18next), o = a((e) => e.availableSources), t = a((e) => e.sources), c = a((e) => e.setSources), [s, i] = g(null), [h, x] = g(), f = (e) => {
|
|
@@ -5,7 +5,7 @@ import "@mui/material";
|
|
|
5
5
|
import "../display/icons/Iconified.js";
|
|
6
6
|
import "../../index-BK-zfYhR.js";
|
|
7
7
|
import "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { A } from "../../ActionForm-
|
|
8
|
+
import { A } from "../../ActionForm-DNmWuC4Z.js";
|
|
9
9
|
import "../../utils-DmwSUrum.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import "../../index-Dj5C04IX.js";
|
|
@@ -3,7 +3,7 @@ import { I as O } from "../../iconify-BBckr5AQ.js";
|
|
|
3
3
|
import { useTheme as w, Tooltip as S, IconButton as z, CircularProgress as E, Button as D, Popover as M, Paper as B, Stack as l, Typography as I, Box as T, Divider as F } from "@mui/material";
|
|
4
4
|
import h from "../display/icons/Iconified.js";
|
|
5
5
|
import { ClueComponentContext as R } from "../../hooks/ClueComponentContext.js";
|
|
6
|
-
import { a } from "../../ActionForm-
|
|
6
|
+
import { a } from "../../ActionForm-DNmWuC4Z.js";
|
|
7
7
|
import W from "../../hooks/useClueConfig.js";
|
|
8
8
|
import { isAccessible as q } from "../../utils/classificationParser.js";
|
|
9
9
|
import { useState as G, useRef as H, useMemo as J, useEffect as P } from "react";
|
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "../../iconify-BBckr5AQ.js";
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "../../hooks/ClueComponentContext.js";
|
|
5
|
-
import { R as s } from "../../ActionForm-
|
|
5
|
+
import { R as s } from "../../ActionForm-DNmWuC4Z.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "../../index-Dj5C04IX.js";
|
|
8
8
|
import "../ClassificationChip.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as y, Fragment as C, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTheme as k, Tooltip as S, IconButton as E, CircularProgress as f, Button as z, Popover as I, Paper as j, Stack as c, Box as P, Typography as B, Divider as O } from "@mui/material";
|
|
3
|
-
import { d as T, b as p, e as w } from "../../ActionForm-
|
|
3
|
+
import { d as T, b as p, e as w } from "../../ActionForm-DNmWuC4Z.js";
|
|
4
4
|
import { useState as m, useRef as M, useCallback as D, useEffect as F } from "react";
|
|
5
5
|
import g from "../display/icons/Iconified.js";
|
|
6
6
|
const H = ({ show: t = !1, size: b = "small", selector: n }) => {
|
|
@@ -5,7 +5,7 @@ import { F as L } from "../../FlexOne-BXWFOd1T.js";
|
|
|
5
5
|
import S from "../display/icons/Iconified.js";
|
|
6
6
|
import { J as Z } from "../../index-BK-zfYhR.js";
|
|
7
7
|
import { ClueComponentContext as $ } from "../../hooks/ClueComponentContext.js";
|
|
8
|
-
import { c as s } from "../../ActionForm-
|
|
8
|
+
import { c as s } from "../../ActionForm-DNmWuC4Z.js";
|
|
9
9
|
import p, { useState as b, useRef as k, useMemo as P, useEffect as N, memo as ee } from "react";
|
|
10
10
|
import { u as te } from "../../index-Dj5C04IX.js";
|
|
11
11
|
import re from "../display/graph/index.js";
|
|
@@ -4,7 +4,7 @@ import { F as _ } from "../../FlexOne-BXWFOd1T.js";
|
|
|
4
4
|
import k from "../display/icons/Iconified.js";
|
|
5
5
|
import { SNACKBAR_EVENT_ID as w } from "../../data/event.js";
|
|
6
6
|
import { ClueGroupContext as j } from "../../hooks/ClueGroupContext.js";
|
|
7
|
-
import { d as A, b as m, e as B } from "../../ActionForm-
|
|
7
|
+
import { d as A, b as m, e as B } from "../../ActionForm-DNmWuC4Z.js";
|
|
8
8
|
import { safeDispatchEvent as F } from "../../utils/window.js";
|
|
9
9
|
import { useState as d, useMemo as O, useCallback as T } from "react";
|
|
10
10
|
import { u as D } from "../../index-Dj5C04IX.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as e } from "react/jsx-runtime";
|
|
2
2
|
import { Stack as b, Typography as r } from "@mui/material";
|
|
3
3
|
import { ClueDatabaseContext as C } from "../../hooks/ClueDatabaseContext.js";
|
|
4
|
-
import { d as y, b as g } from "../../ActionForm-
|
|
4
|
+
import { d as y, b as g } from "../../ActionForm-DNmWuC4Z.js";
|
|
5
5
|
import { useContext as x, useState as u, useEffect as h } from "react";
|
|
6
6
|
const P = () => {
|
|
7
7
|
const { t: o } = y((t) => t.i18next), s = x(C), c = g((t) => t.ready), [i, m] = u(0), [a, d] = u(0), [l, f] = u(0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
|
-
import { g as A, C as d } from "../ActionForm-
|
|
3
|
+
import { g as A, C as d } from "../ActionForm-DNmWuC4Z.js";
|
|
4
4
|
import "../useClueTypeConfig-Ct9Ygter.js";
|
|
5
5
|
import "../components/display/icons/Iconified.js";
|
|
6
6
|
import "../components/ErrorBoundary.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n, useMemo as c } from "react";
|
|
3
3
|
import { c as m } from "../index-Dj5C04IX.js";
|
|
4
|
-
import { b as f } from "../ActionForm-
|
|
4
|
+
import { b as f } from "../ActionForm-DNmWuC4Z.js";
|
|
5
5
|
const C = m(null), G = ({ children: s, type: o, classification: t }) => {
|
|
6
6
|
const e = f((i) => i.defaultClassification), [r, u] = n([]), a = c(
|
|
7
7
|
() => ({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../components/AnnotationDetailPopover.js";
|
|
3
|
-
import { C as a, a as P } from "../AnnotationPreview-
|
|
3
|
+
import { C as a, a as P } from "../AnnotationPreview-CWdMFlnR.js";
|
|
4
4
|
import "../data/event.js";
|
|
5
5
|
import "../utils/window.js";
|
|
6
|
-
import "../AnnotationDetails-
|
|
6
|
+
import "../AnnotationDetails-D1P1z5u_.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../index-Dj5C04IX.js";
|
|
9
9
|
export {
|
package/hooks/ClueProvider.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { C as i } from "../ActionForm-
|
|
2
|
+
import { C as i } from "../ActionForm-DNmWuC4Z.js";
|
|
3
3
|
import { ClueComponentProvider as m } from "./ClueComponentContext.js";
|
|
4
4
|
import { ClueConfigProvider as n } from "./ClueConfigProvider.js";
|
|
5
5
|
import { ClueDatabaseProvider as t } from "./ClueDatabaseContext.js";
|
|
6
6
|
import { a as d } from "../ClueEnrichContext-KqRuuWNS.js";
|
|
7
7
|
import { ClueFetcherProvider as l } from "./ClueFetcherContext.js";
|
|
8
|
-
import { a as c } from "../AnnotationPreview-
|
|
8
|
+
import { a as c } from "../AnnotationPreview-CWdMFlnR.js";
|
|
9
9
|
const p = ({ children: o, ...e }) => /* @__PURE__ */ r(m, { ...e, children: /* @__PURE__ */ r(n, { config: e.config, children: /* @__PURE__ */ r(t, { ...e, children: /* @__PURE__ */ r(d, { ...e, children: /* @__PURE__ */ r(l, { ...e, children: /* @__PURE__ */ r(i, { ...e, children: /* @__PURE__ */ r(c, { children: o }) }) }) }) }) }) });
|
|
10
10
|
export {
|
|
11
11
|
p as ClueProvider
|
package/hooks/selectors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as l, d as u, b as i, c as m } from "../ActionForm-
|
|
1
|
+
import { a as l, d as u, b as i, c as m } from "../ActionForm-DNmWuC4Z.js";
|
|
2
2
|
import "./ClueComponentContext.js";
|
|
3
3
|
import "../ClueEnrichContext-KqRuuWNS.js";
|
|
4
4
|
import "./ClueFetcherContext.js";
|
package/hooks/useActionResult.js
CHANGED
package/hooks/useAnnotations.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as p } from "../ClueEnrichContext-KqRuuWNS.js";
|
|
2
2
|
import { useContext as q, useMemo as d, useState as h, useEffect as u } from "react";
|
|
3
3
|
import { ClueDatabaseContext as A } from "./ClueDatabaseContext.js";
|
|
4
|
-
import { b as i } from "../ActionForm-
|
|
4
|
+
import { b as i } from "../ActionForm-DNmWuC4Z.js";
|
|
5
5
|
const D = (n, o, l, { skipEnrichment: a } = { skipEnrichment: !1 }) => {
|
|
6
6
|
const s = q(A), f = i((t) => t.defaultClassification), m = i((t) => t.ready), g = i((t) => t.availableSources), b = i((t) => t.queueEnrich), e = d(
|
|
7
7
|
() => l ?? f,
|
package/hooks/useClueActions.js
CHANGED
package/hooks/useErrors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext as a, useState as i, useEffect as l } from "react";
|
|
2
2
|
import { ClueDatabaseContext as f } from "./ClueDatabaseContext.js";
|
|
3
|
-
import { b as m } from "../ActionForm-
|
|
3
|
+
import { b as m } from "../ActionForm-DNmWuC4Z.js";
|
|
4
4
|
const C = (r) => {
|
|
5
5
|
const e = a(f), o = m((s) => s.ready), [n, u] = i([]);
|
|
6
6
|
return l(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useState as S, useRef as T, useMemo as d, useEffect as g } from "react";
|
|
2
|
-
import { u as _ } from "../ActionForm-
|
|
2
|
+
import { u as _ } from "../ActionForm-DNmWuC4Z.js";
|
|
3
3
|
const y = (o, p = 2e3) => {
|
|
4
4
|
const [e, n] = S(o), f = T(null), { getActionStatus: I } = _(), m = d(() => o == null ? void 0 : o.task_id, [o == null ? void 0 : o.task_id]), R = d(() => o == null ? void 0 : o.actionId, [o == null ? void 0 : o.actionId]);
|
|
5
5
|
return g(() => {
|
package/icons/Action.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as z } from "react/jsx-runtime";
|
|
|
2
2
|
import { I } from "../iconify-BBckr5AQ.js";
|
|
3
3
|
import { useTheme as j, Stack as i, Divider as l, Typography as C } from "@mui/material";
|
|
4
4
|
import R from "../components/CountBadge.js";
|
|
5
|
-
import { C as v } from "../AnnotationPreview-
|
|
6
|
-
import { u as B } from "../ActionForm-
|
|
5
|
+
import { C as v } from "../AnnotationPreview-CWdMFlnR.js";
|
|
6
|
+
import { u as B } from "../ActionForm-DNmWuC4Z.js";
|
|
7
7
|
import { g as D } from "../groupBy-br8xmD2R.js";
|
|
8
8
|
import { memo as L, useRef as A, useMemo as s, useEffect as O } from "react";
|
|
9
9
|
import { u as M } from "../index-Dj5C04IX.js";
|
package/icons/Assessment.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as b, Fragment as k, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as l } from "../iconify-BBckr5AQ.js";
|
|
3
3
|
import { useTheme as j, Stack as y, Chip as I, Divider as q, Grid as C, Tooltip as A } from "@mui/material";
|
|
4
4
|
import z from "../components/CountBadge.js";
|
|
5
|
-
import { C as w } from "../AnnotationPreview-
|
|
5
|
+
import { C as w } from "../AnnotationPreview-CWdMFlnR.js";
|
|
6
6
|
import { g as O } from "../groupBy-br8xmD2R.js";
|
|
7
7
|
import { l as P } from "../last-7CdUxN0r.js";
|
|
8
8
|
import { m as L } from "../maxBy-Bc0dYHcO.js";
|
package/icons/Context.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Stack as u, Divider as z } from "@mui/material";
|
|
|
4
4
|
import v from "../components/AnnotationEntry.js";
|
|
5
5
|
import E from "../components/CountBadge.js";
|
|
6
6
|
import M from "../components/display/icons/Iconified.js";
|
|
7
|
-
import { C as x } from "../AnnotationPreview-
|
|
7
|
+
import { C as x } from "../AnnotationPreview-CWdMFlnR.js";
|
|
8
8
|
import { g as O } from "../groupBy-br8xmD2R.js";
|
|
9
9
|
import { memo as j, useRef as k, useMemo as h, useEffect as B } from "react";
|
|
10
10
|
import { u as g } from "../index-Dj5C04IX.js";
|
package/icons/Opinion.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as x, Fragment as R, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { I as u } from "../iconify-BBckr5AQ.js";
|
|
3
3
|
import { useTheme as S, Stack as b, Chip as y, Divider as j, Grid as I } from "@mui/material";
|
|
4
4
|
import q from "../components/CountBadge.js";
|
|
5
|
-
import { C as v } from "../AnnotationPreview-
|
|
5
|
+
import { C as v } from "../AnnotationPreview-CWdMFlnR.js";
|
|
6
6
|
import { g as B } from "../groupBy-br8xmD2R.js";
|
|
7
7
|
import { s as E } from "../sortBy-DY2JBf9n.js";
|
|
8
8
|
import { s as M } from "../sumBy-DuMASLPd.js";
|
package/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as t, u as r, a, b as f, c as u } from "./ActionForm-
|
|
1
|
+
import { A as t, u as r, a, b as f, c as u } from "./ActionForm-DNmWuC4Z.js";
|
|
2
2
|
import { default as n } from "./components/AnnotationDetailPopover.js";
|
|
3
|
-
import { A as l } from "./AnnotationDetails-
|
|
3
|
+
import { A as l } from "./AnnotationDetails-D1P1z5u_.js";
|
|
4
4
|
import { default as m } from "./components/AnnotationEntry.js";
|
|
5
|
-
import { A as d, C as i } from "./AnnotationPreview-
|
|
5
|
+
import { A as d, C as i } from "./AnnotationPreview-CWdMFlnR.js";
|
|
6
6
|
import { default as A } from "./components/CountBadge.js";
|
|
7
7
|
import { default as E } from "./components/EnrichedCard.js";
|
|
8
8
|
import { default as b } from "./components/EnrichedChip.js";
|