@cccsaurora/clue-ui 1.6.0-dev.517.1 → 1.6.0-dev.524.1
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-Sj0KtEYj.js → ActionForm-C1D2_1Pg.js} +3 -3
- package/{AnnotationDetails-B1NQ-B4f.js → AnnotationDetails-C683Hvym.js} +1 -1
- package/{AnnotationPreview-Cw3JUL8k.js → AnnotationPreview-Bm9e2UgC.js} +1 -1
- package/{ClueEnrichContext-Dpv_xiDv.js → ClueEnrichContext-DmERFjhQ.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/display/graph/index.js +1 -1
- package/components/display/graph/visualizations/cloud/index.js +2 -2
- package/components/display/graph/visualizations/tree/BundleLine.js +1 -1
- package/components/display/markdown/index.js +87 -27
- 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/{index-CVUD9o3t.js → d3-CwtkB99t.js} +15024 -10621
- package/database/index.js +2 -2
- package/database/replication.js +2 -2
- package/hooks/ClueActionContext.js +2 -2
- package/hooks/ClueDatabaseContext.js +1 -1
- package/hooks/ClueEnrichContext.js +2 -2
- package/hooks/ClueFetcherContext.js +1 -1
- package/hooks/ClueGroupContext.js +1 -1
- package/hooks/CluePopupContext.js +2 -2
- package/hooks/ClueProvider.js +3 -3
- package/hooks/selectors.js +2 -2
- package/hooks/useActionResult.js +1 -1
- package/hooks/useAnnotations.js +2 -2
- package/hooks/useClue.js +1 -1
- package/hooks/useClueActions.js +1 -1
- package/hooks/useClueTypeConfig.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/{index-29cEmZLo.js → index-Bx5giDpY.js} +727 -247
- package/{index-DieKGFn1.js → index-D1tw5sJ1.js} +20 -9
- package/{index-BCzfYx7I.js → index-DzbOfIT_.js} +9 -7
- package/main.js +5 -5
- package/package.json +12 -12
- package/{replication-DwPGDesg.js → replication-Bxa4yXXZ.js} +111 -42
- package/utils/time.js +8 -8
package/utils/time.js
CHANGED
|
@@ -9,7 +9,7 @@ function requireDayjs_min() {
|
|
|
9
9
|
!(function(t, e) {
|
|
10
10
|
module.exports = e();
|
|
11
11
|
})(dayjs_min, (function() {
|
|
12
|
-
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|
|
|
12
|
+
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
|
|
13
13
|
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
14
14
|
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
15
15
|
} }, m = function(t2, e2, n2) {
|
|
@@ -268,9 +268,9 @@ function requireDayjs_min() {
|
|
|
268
268
|
}, m2.toString = function() {
|
|
269
269
|
return this.$d.toUTCString();
|
|
270
270
|
}, M2;
|
|
271
|
-
})(),
|
|
272
|
-
return O.prototype =
|
|
273
|
-
|
|
271
|
+
})(), Y = _.prototype;
|
|
272
|
+
return O.prototype = Y, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach((function(t2) {
|
|
273
|
+
Y[t2[1]] = function(e2) {
|
|
274
274
|
return this.$g(e2, t2[0], t2[1]);
|
|
275
275
|
};
|
|
276
276
|
})), O.extend = function(t2, e2) {
|
|
@@ -294,7 +294,7 @@ function requireDuration() {
|
|
|
294
294
|
!(function(t, s) {
|
|
295
295
|
module.exports = s();
|
|
296
296
|
})(duration$1, (function() {
|
|
297
|
-
var t, s, n = 1e3, i = 6e4, e = 36e5, r = 864e5, o =
|
|
297
|
+
var t, s, n = 1e3, i = 6e4, e = 36e5, r = 864e5, o = 31536e6, u = 2628e6, d = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, a = /\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g, h = { years: o, months: u, days: r, hours: e, minutes: i, seconds: n, milliseconds: 1, weeks: 6048e5 }, c = function(t2) {
|
|
298
298
|
return t2 instanceof g;
|
|
299
299
|
}, f = function(t2, s2, n2) {
|
|
300
300
|
return new g(t2, n2, s2.$l);
|
|
@@ -317,7 +317,7 @@ function requireDuration() {
|
|
|
317
317
|
i2.$d[m(s3)] = t2[s3];
|
|
318
318
|
})), this.calMilliseconds(), this;
|
|
319
319
|
if ("string" == typeof t2) {
|
|
320
|
-
var e2 = t2.match(
|
|
320
|
+
var e2 = t2.match(d);
|
|
321
321
|
if (e2) {
|
|
322
322
|
var r2 = e2.slice(2).map((function(t3) {
|
|
323
323
|
return null != t3 ? Number(t3) : 0;
|
|
@@ -335,7 +335,7 @@ function requireDuration() {
|
|
|
335
335
|
}), 0);
|
|
336
336
|
}, y2.parseFromMilliseconds = function() {
|
|
337
337
|
var t2 = this.$ms;
|
|
338
|
-
this.$d.years = $(t2 /
|
|
338
|
+
this.$d.years = $(t2 / o), t2 %= o, this.$d.months = $(t2 / u), t2 %= u, this.$d.days = $(t2 / r), t2 %= r, this.$d.hours = $(t2 / e), t2 %= e, this.$d.minutes = $(t2 / i), t2 %= i, this.$d.seconds = $(t2 / n), t2 %= n, this.$d.milliseconds = t2;
|
|
339
339
|
}, y2.toISOString = function() {
|
|
340
340
|
var t2 = v(this.$d.years, "Y"), s2 = v(this.$d.months, "M"), n2 = +this.$d.days || 0;
|
|
341
341
|
this.$d.weeks && (n2 += 7 * this.$d.weeks);
|
|
@@ -347,7 +347,7 @@ function requireDuration() {
|
|
|
347
347
|
return this.toISOString();
|
|
348
348
|
}, y2.format = function(t2) {
|
|
349
349
|
var n2 = t2 || "YYYY-MM-DDTHH:mm:ss", i2 = { Y: this.$d.years, YY: s.s(this.$d.years, 2, "0"), YYYY: s.s(this.$d.years, 4, "0"), M: this.$d.months, MM: s.s(this.$d.months, 2, "0"), D: this.$d.days, DD: s.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: s.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: s.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: s.s(this.$d.seconds, 2, "0"), SSS: s.s(this.$d.milliseconds, 3, "0") };
|
|
350
|
-
return n2.replace(
|
|
350
|
+
return n2.replace(a, (function(t3, s2) {
|
|
351
351
|
return s2 || String(i2[t3]);
|
|
352
352
|
}));
|
|
353
353
|
}, y2.as = function(t2) {
|