@cccsaurora/clue-ui 1.3.0-dev.279 → 1.3.0-dev.285

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.
Files changed (58) hide show
  1. package/{ActionForm-C4mWgND1.js → ActionForm-Cdo8jBDU.js} +7 -7
  2. package/{AnnotationDetails-CFsyeAZD.js → AnnotationDetails-CUU61Vwl.js} +4 -3
  3. package/{AnnotationPreview-CEopHIPL.js → AnnotationPreview-WuxXgLCE.js} +1 -1
  4. package/{ClueEnrichContext-CJEJxrgs.js → ClueEnrichContext-CZkS1jpb.js} +24 -9
  5. package/components/AnnotationDetailPopover.js +1 -1
  6. package/components/AnnotationDetails.js +3 -3
  7. package/components/AnnotationPreview.js +1 -1
  8. package/components/EnrichedCard.js +2 -2
  9. package/components/EnrichedChip.js +2 -2
  10. package/components/EnrichedTypography.js +2 -2
  11. package/components/RetryFailedEnrichments.js +1 -1
  12. package/components/SourcePicker.js +1 -1
  13. package/components/actions/ActionForm.js +1 -1
  14. package/components/actions/ExecutePopover.js +1 -1
  15. package/components/actions/ResultModal.js +1 -1
  16. package/components/enrichment/EnrichPopover.js +1 -1
  17. package/components/fetchers/Fetcher.js +1 -1
  18. package/components/group/GroupControl.js +1 -1
  19. package/components/stats/QueryStatus.js +1 -1
  20. package/database/globals.d.ts +5 -0
  21. package/database/globals.js +4 -0
  22. package/database/index.js +4 -1
  23. package/database/replication.d.ts +4 -0
  24. package/database/replication.js +7 -0
  25. package/database/selector.schema.json.d.ts +94 -71
  26. package/database/sync.d.ts +12 -0
  27. package/database/types.d.ts +58 -1
  28. package/hooks/ClueActionContext.js +2 -2
  29. package/hooks/ClueDatabaseContext.d.ts +33 -0
  30. package/hooks/ClueDatabaseContext.js +22 -5
  31. package/hooks/ClueEnrichContext.js +6 -3
  32. package/hooks/ClueFetcherContext.js +1 -1
  33. package/hooks/ClueGroupContext.js +1 -1
  34. package/hooks/CluePopupContext.js +2 -2
  35. package/hooks/ClueProvider.js +3 -3
  36. package/hooks/selectors.js +2 -2
  37. package/hooks/useActionResult.js +1 -1
  38. package/hooks/useAnnotations.js +6 -4
  39. package/hooks/useClue.js +1 -1
  40. package/hooks/useClueActions.js +1 -1
  41. package/hooks/useClueTypeConfig.js +3 -2
  42. package/hooks/useErrors.js +1 -1
  43. package/hooks/useFetcherResult.js +1 -1
  44. package/icons/Action.js +2 -2
  45. package/icons/Assessment.js +1 -1
  46. package/icons/Context.js +1 -1
  47. package/icons/Opinion.js +1 -1
  48. package/{index-C12gPw2W.js → index-BXnMCI65.js} +775 -9162
  49. package/{useClueTypeConfig-Z1LFp01b.js → index-BfslcSud.js} +104 -129
  50. package/{index-B6C2a_Lg.js → index-NaBSmVOx.js} +1 -1
  51. package/main.js +5 -5
  52. package/package.json +17 -17
  53. package/replication-BCvfRqsy.js +11777 -0
  54. package/{debounce-bV0h5FC5.js → sessionStorage-Dbmo2Exe.js} +49 -1
  55. package/useClueTypeConfig-DnF4rLsl.js +59 -0
  56. package/utils/constants.d.ts +1 -0
  57. package/utils/constants.js +2 -0
  58. package/utils/sessionStorage.js +8 -49
@@ -1,38 +1,32 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { i as isNil } from "./isNil-CIubwp4T.js";
5
4
  import { MY_LOCAL_STORAGE_PREFIX, StorageKey } from "./utils/constants.js";
5
+ import { i as isNil } from "./isNil-CIubwp4T.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DWwsNxpa.js";
7
- import { getAxiosCache, setAxiosCache } from "./utils/sessionStorage.js";
8
- import { clueDebugLogger } from "./utils/loggerUtil.js";
9
- import { b as baseUniq, i as isEmpty } from "./_baseUniq-BI9GIHMF.js";
10
- import { useState, useEffect } from "react";
11
- function uniq(array) {
12
- return array && array.length ? baseUniq(array) : [];
13
- }
14
- const get$9 = (actionId, taskId, options = { timeout: null }, config) => {
7
+ import { g as getAxiosCache, s as setAxiosCache } from "./sessionStorage-Dbmo2Exe.js";
8
+ const get$a = (actionId, taskId, options = { timeout: null }, config) => {
15
9
  const searchParams = [];
16
10
  if (!isNil(options.timeout)) {
17
11
  searchParams.push(`max_timeout=${options.timeout}`);
18
12
  }
19
13
  return hget(
20
- joinUri(uri$c(), `${actionId.replace(".", "/")}/status/${taskId}`),
14
+ joinUri(uri$d(), `${actionId.replace(".", "/")}/status/${taskId}`),
21
15
  searchParams.length > 0 ? new URLSearchParams(searchParams.join("&")) : null,
22
16
  config
23
17
  );
24
18
  };
25
19
  const status$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26
20
  __proto__: null,
27
- get: get$9
21
+ get: get$a
28
22
  }, Symbol.toStringTag, { value: "Module" }));
29
- const uri$c = () => {
23
+ const uri$d = () => {
30
24
  return joinUri(uri(), "actions");
31
25
  };
32
- const get$8 = (config) => {
33
- return hget(uri$c(), null, config);
26
+ const get$9 = (config) => {
27
+ return hget(uri$d(), null, config);
34
28
  };
35
- const post$3 = (actionId, selectors, params, context, options = { timeout: null }, config) => {
29
+ const post$4 = (actionId, selectors, params, context, options = { timeout: null }, config) => {
36
30
  const searchParams = [];
37
31
  if (!isNil(options.timeout)) {
38
32
  searchParams.push(`max_timeout=${options.timeout}`);
@@ -50,7 +44,7 @@ const post$3 = (actionId, selectors, params, context, options = { timeout: null
50
44
  payload.context = context ?? null;
51
45
  return hpost(
52
46
  joinUri(
53
- joinUri(uri$c(), "execute"),
47
+ joinUri(uri$d(), "execute"),
54
48
  actionId.replace(".", "/"),
55
49
  searchParams.length > 0 ? new URLSearchParams(searchParams.join("&")) : null
56
50
  ),
@@ -60,85 +54,85 @@ const post$3 = (actionId, selectors, params, context, options = { timeout: null
60
54
  };
61
55
  const actions = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
62
56
  __proto__: null,
63
- get: get$8,
64
- post: post$3,
57
+ get: get$9,
58
+ post: post$4,
65
59
  status: status$1,
66
- uri: uri$c
60
+ uri: uri$d
67
61
  }, Symbol.toStringTag, { value: "Module" }));
68
- const uri$b = (searchParams) => {
69
- return joinUri(uri$a(), "login", searchParams);
62
+ const uri$c = (searchParams) => {
63
+ return joinUri(uri$b(), "login", searchParams);
70
64
  };
71
- const post$2 = (body) => {
72
- return hpost(uri$b(), body);
65
+ const post$3 = (body) => {
66
+ return hpost(uri$c(), body);
73
67
  };
74
- const get$7 = (search) => {
68
+ const get$8 = (search) => {
75
69
  const nonce = localStorage.getItem(`${MY_LOCAL_STORAGE_PREFIX}.${StorageKey.LOGIN_NONCE}`);
76
70
  if (nonce) {
77
71
  search.set("nonce", JSON.parse(nonce));
78
72
  localStorage.removeItem(`${MY_LOCAL_STORAGE_PREFIX}.${StorageKey.LOGIN_NONCE}`);
79
73
  }
80
- return hget(uri$b(), search);
74
+ return hget(uri$c(), search);
81
75
  };
82
76
  const login = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83
77
  __proto__: null,
84
- get: get$7,
85
- post: post$2,
86
- uri: uri$b
78
+ get: get$8,
79
+ post: post$3,
80
+ uri: uri$c
87
81
  }, Symbol.toStringTag, { value: "Module" }));
88
- const uri$a = () => {
82
+ const uri$b = () => {
89
83
  return joinUri(uri(), "auth");
90
84
  };
91
85
  const auth = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
92
86
  __proto__: null,
93
87
  login,
94
- uri: uri$a
88
+ uri: uri$b
95
89
  }, Symbol.toStringTag, { value: "Module" }));
96
- const uri$9 = () => {
90
+ const uri$a = () => {
97
91
  return joinUri(uri(), "configs");
98
92
  };
99
- const get$6 = (config) => {
100
- return hget(uri$9(), null, config);
93
+ const get$7 = (config) => {
94
+ return hget(uri$a(), null, config);
101
95
  };
102
96
  const configs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
103
97
  __proto__: null,
104
- get: get$6,
105
- uri: uri$9
98
+ get: get$7,
99
+ uri: uri$a
106
100
  }, Symbol.toStringTag, { value: "Module" }));
107
- const get$5 = (fetcherId, taskId, options = { timeout: null }, config) => {
101
+ const get$6 = (fetcherId, taskId, options = { timeout: null }, config) => {
108
102
  const searchParams = [];
109
103
  if (!isNil(options.timeout)) {
110
104
  searchParams.push(`max_timeout=${options.timeout}`);
111
105
  }
112
106
  return hget(
113
- joinUri(uri$c(), `${fetcherId.replace(".", "/")}/status/${taskId}`),
107
+ joinUri(uri$d(), `${fetcherId.replace(".", "/")}/status/${taskId}`),
114
108
  searchParams.length > 0 ? new URLSearchParams(searchParams.join("&")) : null,
115
109
  config
116
110
  );
117
111
  };
118
112
  const status = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
119
113
  __proto__: null,
120
- get: get$5
114
+ get: get$6
121
115
  }, Symbol.toStringTag, { value: "Module" }));
122
- const uri$8 = () => {
116
+ const uri$9 = () => {
123
117
  return joinUri(uri(), "fetchers");
124
118
  };
125
- const get$4 = (config) => {
126
- return hget(uri$8(), null, config);
119
+ const get$5 = (config) => {
120
+ return hget(uri$9(), null, config);
127
121
  };
128
- const post$1 = (fetcherId, selector, config) => {
129
- return hpost(joinAllUri(uri$8(), fetcherId.replace(".", "/")), selector, config);
122
+ const post$2 = (fetcherId, selector, config) => {
123
+ return hpost(joinAllUri(uri$9(), fetcherId.replace(".", "/")), selector, config);
130
124
  };
131
125
  const fetchers = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
132
126
  __proto__: null,
133
- get: get$4,
134
- post: post$1,
127
+ get: get$5,
128
+ post: post$2,
135
129
  status,
136
- uri: uri$8
130
+ uri: uri$9
137
131
  }, Symbol.toStringTag, { value: "Module" }));
138
- const uri$7 = () => {
139
- return joinUri(uri$4(), "enrich");
132
+ const uri$8 = () => {
133
+ return joinUri(uri$5(), "enrich");
140
134
  };
141
- const post = (bulkData, sources = [], options = { timeout: null, includeRaw: false, noCache: false }, config) => {
135
+ const post$1 = (bulkData, sources = [], options = { timeout: null, includeRaw: false, noCache: false }, config) => {
142
136
  const searchParams = [];
143
137
  if ((sources == null ? void 0 : sources.length) > 0) {
144
138
  searchParams.push(`sources=${sources.join()}`);
@@ -156,39 +150,39 @@ const post = (bulkData, sources = [], options = { timeout: null, includeRaw: fal
156
150
  searchParams.push("no_cache=true");
157
151
  }
158
152
  return hpost(
159
- joinUri(uri$7(), "", searchParams.length > 0 ? new URLSearchParams(searchParams.join("&")) : null),
153
+ joinUri(uri$8(), "", searchParams.length > 0 ? new URLSearchParams(searchParams.join("&")) : null),
160
154
  bulkData,
161
155
  config
162
156
  );
163
157
  };
164
158
  const enrich = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
165
159
  __proto__: null,
166
- post,
160
+ post: post$1,
161
+ uri: uri$8
162
+ }, Symbol.toStringTag, { value: "Module" }));
163
+ const uri$7 = () => {
164
+ return joinUri(uri$5(), "types");
165
+ };
166
+ const get$4 = (config) => {
167
+ return hget(uri$7(), null, config);
168
+ };
169
+ const types = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
170
+ __proto__: null,
171
+ get: get$4,
167
172
  uri: uri$7
168
173
  }, Symbol.toStringTag, { value: "Module" }));
169
174
  const uri$6 = () => {
170
- return joinUri(uri$4(), "types");
175
+ return joinUri(uri$5(), "types_detection");
171
176
  };
172
177
  const get$3 = (config) => {
173
178
  return hget(uri$6(), null, config);
174
179
  };
175
- const types = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
180
+ const types_detection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
176
181
  __proto__: null,
177
182
  get: get$3,
178
183
  uri: uri$6
179
184
  }, Symbol.toStringTag, { value: "Module" }));
180
185
  const uri$5 = () => {
181
- return joinUri(uri$4(), "types_detection");
182
- };
183
- const get$2 = (config) => {
184
- return hget(uri$5(), null, config);
185
- };
186
- const types_detection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
187
- __proto__: null,
188
- get: get$2,
189
- uri: uri$5
190
- }, Symbol.toStringTag, { value: "Module" }));
191
- const uri$4 = () => {
192
186
  return joinUri(uri(), "lookup");
193
187
  };
194
188
  const lookup = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -196,37 +190,63 @@ const lookup = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProper
196
190
  enrich,
197
191
  types,
198
192
  types_detection,
199
- uri: uri$4
193
+ uri: uri$5
200
194
  }, Symbol.toStringTag, { value: "Module" }));
201
- const uri$3 = (filter2) => {
202
- return joinUri(uri$1(), filter2 ? "/docs?filter=" + filter2 : "/docs");
195
+ const uri$4 = (filter2) => {
196
+ return joinUri(uri$2(), filter2 ? "/docs?filter=" + filter2 : "/docs");
203
197
  };
204
- const get$1 = (filter2, config) => {
205
- return hget(uri$3(filter2), null, config);
198
+ const get$2 = (filter2, config) => {
199
+ return hget(uri$4(filter2), null, config);
206
200
  };
207
201
  const all_documentation = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
208
202
  __proto__: null,
209
- get: get$1,
210
- uri: uri$3
203
+ get: get$2,
204
+ uri: uri$4
211
205
  }, Symbol.toStringTag, { value: "Module" }));
212
- const uri$2 = (file) => {
213
- return joinAllUri(uri$1(), "docs", file);
206
+ const uri$3 = (file) => {
207
+ return joinAllUri(uri$2(), "docs", file);
214
208
  };
215
- const get = (file, config) => {
216
- return hget(uri$2(file), null, config);
209
+ const get$1 = (file, config) => {
210
+ return hget(uri$3(file), null, config);
217
211
  };
218
212
  const documentation = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
219
213
  __proto__: null,
220
- get,
221
- uri: uri$2
214
+ get: get$1,
215
+ uri: uri$3
222
216
  }, Symbol.toStringTag, { value: "Module" }));
223
- const uri$1 = () => {
217
+ const uri$2 = () => {
224
218
  return joinUri(uri(), "static");
225
219
  };
226
220
  const _static = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
227
221
  __proto__: null,
228
222
  all_documentation,
229
223
  documentation,
224
+ uri: uri$2
225
+ }, Symbol.toStringTag, { value: "Module" }));
226
+ const uri$1 = () => {
227
+ return joinUri(uri(), "sync");
228
+ };
229
+ const get = (collection, id, timestamp, omitDeleted, config) => {
230
+ const params = new URLSearchParams();
231
+ params.set("limit", "250");
232
+ if (!isNil(id)) {
233
+ params.set("id", id.toString());
234
+ }
235
+ if (!isNil(timestamp)) {
236
+ params.set("updated_at", timestamp.toString());
237
+ }
238
+ if (!isNil(omitDeleted) && omitDeleted) {
239
+ params.set("omit_deleted", "true");
240
+ }
241
+ return hget(joinAllUri(uri$1(), collection), params, config);
242
+ };
243
+ const post = (collection, payload, config) => {
244
+ return hpost(joinAllUri(uri$1(), collection), payload, config);
245
+ };
246
+ const sync = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
247
+ __proto__: null,
248
+ get,
249
+ post,
230
250
  uri: uri$1
231
251
  }, Symbol.toStringTag, { value: "Module" }));
232
252
  function bind(fn, thisArg) {
@@ -3152,6 +3172,7 @@ const api = {
3152
3172
  lookup,
3153
3173
  actions,
3154
3174
  fetchers,
3175
+ sync,
3155
3176
  _static
3156
3177
  };
3157
3178
  const uri = () => {
@@ -3233,57 +3254,11 @@ const hget = (_uri, searchParams, config = {}) => {
3233
3254
  const hpost = (_uri, body, config = {}) => {
3234
3255
  return hfetch(_uri, "post", body, void 0, config);
3235
3256
  };
3236
- const useClueTypeConfig = (ready, baseURL, debugLogging, getToken, onNetworkCall) => {
3237
- const [availableSources, setAvailableSources] = useState([]);
3238
- const [typesDetection, setTypesDetection] = useState({});
3239
- const [supportedTypes, setSupportedTypes] = useState([]);
3240
- useEffect(() => {
3241
- if (!ready) {
3242
- return;
3243
- }
3244
- if ((availableSources == null ? void 0 : availableSources.length) > 0 && !isEmpty(typesDetection)) {
3245
- return;
3246
- }
3247
- const headers = {};
3248
- const token = getToken == null ? void 0 : getToken();
3249
- if (token) {
3250
- headers.Authorization = `Bearer ${token}`;
3251
- }
3252
- (async () => {
3253
- let requestConfig = { baseURL, headers };
3254
- if (onNetworkCall) {
3255
- requestConfig = onNetworkCall(requestConfig);
3256
- }
3257
- clueDebugLogger("Executing types and type detection lookup", debugLogging);
3258
- const [_typesPerSource, _typesDetections] = await Promise.all([
3259
- get$3(requestConfig),
3260
- get$2(requestConfig)
3261
- ]);
3262
- if (_typesPerSource) {
3263
- setAvailableSources(Object.keys(_typesPerSource));
3264
- setSupportedTypes(uniq(Object.values(_typesPerSource).flat()));
3265
- }
3266
- if (_typesDetections) {
3267
- setTypesDetection(
3268
- Object.entries(_typesDetections).reduce((acc, [key, regex]) => {
3269
- if (regex !== null) {
3270
- acc[key] = new RegExp(regex);
3271
- }
3272
- return acc;
3273
- }, {})
3274
- );
3275
- }
3276
- })();
3277
- }, [baseURL, ready]);
3278
- return {
3279
- availableSources,
3280
- typesDetection,
3281
- supportedTypes
3282
- };
3283
- };
3284
3257
  export {
3285
3258
  api as a,
3286
- useClueTypeConfig as b,
3287
- post as p,
3288
- uniq as u
3259
+ get$3 as b,
3260
+ get$4 as g,
3261
+ joinAllUri as j,
3262
+ post$1 as p,
3263
+ uri$1 as u
3289
3264
  };
@@ -1,4 +1,4 @@
1
- import { N as NON_PREMIUM_COLLECTION_LIMIT, R as RxDatabaseBase, a as RxCollectionBase, c as createRxDocumentConstructor, d as basePrototype, n as newRxError, i as isMaybeReadonlyArray, g as getSchemaByObjectPath, f as flattenObject, e as getProperty, t as trimDots, h as appendToArray, j as getPrimaryFieldOfPrimaryKey, k as newRxTypeError, l as getPreviousVersions, m as isFolderPath, p as prepareQuery, o as findUndefinedPath, q as deepEqual, r as fillPrimaryKey, s as hasPremiumFlag, u as RXDB_VERSION, v as hashStringToNumber, w as deepFreeze } from "./index-C12gPw2W.js";
1
+ import { N as NON_PREMIUM_COLLECTION_LIMIT, R as RxDatabaseBase, a as RxCollectionBase, c as createRxDocumentConstructor, b as basePrototype, n as newRxError, i as isMaybeReadonlyArray, g as getSchemaByObjectPath, f as flattenObject, d as getProperty, t as trimDots, e as appendToArray, h as getPrimaryFieldOfPrimaryKey, j as newRxTypeError, k as getPreviousVersions, l as isFolderPath, p as prepareQuery, m as findUndefinedPath, o as deepEqual, q as fillPrimaryKey, r as hasPremiumFlag, s as RXDB_VERSION, u as hashStringToNumber, v as deepFreeze } from "./replication-BCvfRqsy.js";
2
2
  var ERROR_MESSAGES = {
3
3
  // util.js / config
4
4
  UT1: "given name is no string or empty",
package/main.js CHANGED
@@ -1,8 +1,8 @@
1
- import { A, u, a, b, c } from "./ActionForm-C4mWgND1.js";
1
+ import { A, u, a, b, c } from "./ActionForm-Cdo8jBDU.js";
2
2
  import { default as default2 } from "./components/AnnotationDetailPopover.js";
3
- import { A as A2 } from "./AnnotationDetails-CFsyeAZD.js";
3
+ import { A as A2 } from "./AnnotationDetails-CUU61Vwl.js";
4
4
  import { default as default3 } from "./components/AnnotationEntry.js";
5
- import { A as A3, C } from "./AnnotationPreview-CEopHIPL.js";
5
+ import { A as A3, C } from "./AnnotationPreview-WuxXgLCE.js";
6
6
  import { default as default4 } from "./components/CountBadge.js";
7
7
  import { default as default5 } from "./components/EnrichedCard.js";
8
8
  import { default as default6 } from "./components/EnrichedChip.js";
@@ -14,11 +14,11 @@ import { default as default11 } from "./components/group/Group.js";
14
14
  import { default as default12 } from "./components/group/GroupControl.js";
15
15
  import { default as default13 } from "./components/SourcePicker.js";
16
16
  import { SNACKBAR_EVENT_ID } from "./data/event.js";
17
- import { b as b2 } from "./index-C12gPw2W.js";
17
+ import { b as b2 } from "./index-BXnMCI65.js";
18
18
  import { ClueComponentContext } from "./hooks/ClueComponentContext.js";
19
19
  import { ClueConfigContext } from "./hooks/ClueConfigProvider.js";
20
20
  import { ClueDatabaseContext } from "./hooks/ClueDatabaseContext.js";
21
- import { C as C2 } from "./ClueEnrichContext-CJEJxrgs.js";
21
+ import { C as C2 } from "./ClueEnrichContext-CZkS1jpb.js";
22
22
  import { ClueProvider } from "./hooks/ClueProvider.js";
23
23
  import { default as default14 } from "./hooks/useClue.js";
24
24
  import { default as default15 } from "./hooks/useClueConfig.js";
package/package.json CHANGED
@@ -66,35 +66,38 @@
66
66
  },
67
67
  "type": "module",
68
68
  "types": "main.d.ts",
69
- "version": "1.3.0-dev.279",
69
+ "version": "1.3.0-dev.285",
70
70
  "exports": {
71
71
  ".": "./main.js",
72
72
  "./index.css": "./index.css",
73
73
  "./en/*.json": "./en/*.json",
74
74
  "./fr/*.json": "./fr/*.json",
75
- "./types/*": "./types/*.js",
76
75
  "./components/*": "./components/*.js",
77
- "./database/*": "./database/*.js",
78
- "./database": "./database/index.js",
79
76
  "./text/*": "./text/*.js",
80
- "./data/*": "./data/*.js",
81
- "./icons/*": "./icons/*.js",
82
- "./hooks/*": "./hooks/*.js",
83
77
  "./utils/*": "./utils/*.js",
84
78
  "./utils/*.json": "./utils/*.json",
85
- "./components/display/*": "./components/display/*.js",
79
+ "./data/*": "./data/*.js",
80
+ "./database/*": "./database/*.js",
81
+ "./database": "./database/index.js",
82
+ "./types/*": "./types/*.js",
83
+ "./hooks/*": "./hooks/*.js",
84
+ "./icons/*": "./icons/*.js",
86
85
  "./components/actions/*": "./components/actions/*.js",
86
+ "./components/enrichment/*": "./components/enrichment/*.js",
87
+ "./components/group/*": "./components/group/*.js",
87
88
  "./components/fetchers/*": "./components/fetchers/*.js",
89
+ "./components/display/*": "./components/display/*.js",
88
90
  "./components/stats/*": "./components/stats/*.js",
89
- "./components/group/*": "./components/group/*.js",
90
- "./components/enrichment/*": "./components/enrichment/*.js",
91
- "./components/display/markdown/*.md": "./components/display/markdown/*.md.js",
92
- "./components/display/markdown": "./components/display/markdown/index.js",
91
+ "./components/actions/formats/*": "./components/actions/formats/*.js",
92
+ "./components/actions/formats": "./components/actions/formats/index.js",
93
+ "./components/actions/form/*": "./components/actions/form/*.js",
93
94
  "./components/display/graph/*": "./components/display/graph/*.js",
94
95
  "./components/display/graph": "./components/display/graph/index.js",
96
+ "./components/display/markdown/*.md": "./components/display/markdown/*.md.js",
97
+ "./components/display/markdown": "./components/display/markdown/index.js",
98
+ "./components/display/icons/*": "./components/display/icons/*.js",
95
99
  "./components/display/json/*": "./components/display/json/*.js",
96
100
  "./components/display/json": "./components/display/json/index.js",
97
- "./components/display/icons/*": "./components/display/icons/*.js",
98
101
  "./components/display/graph/visualizations/*": "./components/display/graph/visualizations/*.js",
99
102
  "./components/display/graph/elements/*": "./components/display/graph/elements/*.js",
100
103
  "./components/display/graph/visualizations/panels/*": "./components/display/graph/visualizations/panels/*.js",
@@ -103,9 +106,6 @@
103
106
  "./components/display/graph/visualizations/tree/*": "./components/display/graph/visualizations/tree/*.js",
104
107
  "./components/display/graph/visualizations/tree": "./components/display/graph/visualizations/tree/index.js",
105
108
  "./components/display/graph/visualizations/icons/*": "./components/display/graph/visualizations/icons/*.js",
106
- "./components/display/graph/visualizations/icons": "./components/display/graph/visualizations/icons/index.js",
107
- "./components/actions/formats/*": "./components/actions/formats/*.js",
108
- "./components/actions/formats": "./components/actions/formats/index.js",
109
- "./components/actions/form/*": "./components/actions/form/*.js"
109
+ "./components/display/graph/visualizations/icons": "./components/display/graph/visualizations/icons/index.js"
110
110
  }
111
111
  }