@ynput/ayon-frontend-shared 0.5.0 → 0.6.0

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 (74) hide show
  1. package/dist/DetailsPanel.es.js +88 -86
  2. package/dist/Feed.es.js +22 -22
  3. package/dist/ListTable.es.js +77 -67
  4. package/dist/ProjectTreeTable.es.js +1164 -1150
  5. package/dist/Slicer.es.js +2 -2
  6. package/dist/Views.es.js +1 -1
  7. package/dist/api.es.js +331 -329
  8. package/dist/chunks/Actions.es.js +23 -23
  9. package/dist/chunks/DeleteEntitiesContext.es.js +115 -115
  10. package/dist/chunks/DetailsDialog.es.js +3 -3
  11. package/dist/chunks/DetailsPanelContext.es.js +155 -0
  12. package/dist/chunks/EntityPath.es.js +20 -20
  13. package/dist/chunks/EntityPickerDialog.es.js +1 -1
  14. package/dist/chunks/EntityTooltip.es.js +12 -12
  15. package/dist/chunks/EntityUpdatesContext.es.js +1 -1
  16. package/dist/chunks/Feed.es.js +2208 -2611
  17. package/dist/chunks/FilterErrorActions.es.js +1 -1
  18. package/dist/chunks/GlobalContext.es.js +14 -14
  19. package/dist/chunks/Menu.es.js +1 -1
  20. package/dist/chunks/MenuContext.es.js +51 -242
  21. package/dist/chunks/MenuItem.es.js +1 -1
  22. package/dist/chunks/MetaWidget.es.js +3341 -3899
  23. package/dist/chunks/NewEntityContext.es.js +40 -40
  24. package/dist/chunks/PlayableIcon.es.js +4261 -1163
  25. package/dist/chunks/ProjectContext.es.js +13 -13
  26. package/dist/chunks/ProjectFoldersContext.es.js +5 -5
  27. package/dist/chunks/RepresentationsList.es.js +3 -3
  28. package/dist/chunks/ReviewablesSelector.es.js +85 -76
  29. package/dist/chunks/SimpleForm.es.js +9 -9
  30. package/dist/chunks/SimpleTable.es.js +1 -1
  31. package/dist/chunks/Slicer.es.js +173 -171
  32. package/dist/chunks/TableSettingsFallback.es.js +6 -6
  33. package/dist/chunks/ThumbnailSimple.es.js +410 -61
  34. package/dist/chunks/VersionUploadContext.es.js +29 -29
  35. package/dist/chunks/ViewsContext.es.js +90 -90
  36. package/dist/chunks/Watchers.es.js +628 -598
  37. package/dist/chunks/entityDefinitions.es.js +31 -31
  38. package/dist/chunks/expandRelativeDates.es.js +27 -0
  39. package/dist/chunks/getBundleMode.es.js +16 -61
  40. package/dist/chunks/getUris.es.js +271 -269
  41. package/dist/chunks/queryFilterToClientFilter.es.js +11 -10
  42. package/dist/chunks/searchTerms.es.js +177 -173
  43. package/dist/chunks/uriUtils.es.js +48 -0
  44. package/dist/chunks/useAttributeEnums.es.js +11 -11
  45. package/dist/chunks/useColumnDragRestriction.es.js +37 -27
  46. package/dist/chunks/useDateRangeFilter.es.js +3 -3
  47. package/dist/chunks/useLocalStorage.es.js +9 -9
  48. package/dist/chunks/useSessionStorage.es.js +61 -0
  49. package/dist/chunks/viewUpdateHelper.es.js +19 -19
  50. package/dist/components.es.js +165 -160
  51. package/dist/context.es.js +60 -58
  52. package/dist/hooks.es.js +104 -98
  53. package/dist/index.es.js +18 -13
  54. package/dist/types/Actions.d.ts +16 -16
  55. package/dist/types/ContextMenu.d.ts +16 -16
  56. package/dist/types/DetailsPanel.d.ts +16 -16
  57. package/dist/types/EntityPickerDialog.d.ts +16 -16
  58. package/dist/types/Feed.d.ts +16 -16
  59. package/dist/types/ListTable.d.ts +16 -16
  60. package/dist/types/NewEntity.d.ts +16 -16
  61. package/dist/types/ProjectTreeTable.d.ts +20 -16
  62. package/dist/types/RepresentationsList.d.ts +16 -16
  63. package/dist/types/SimpleTable.d.ts +16 -16
  64. package/dist/types/Slicer.d.ts +16 -16
  65. package/dist/types/Views.d.ts +17 -17
  66. package/dist/types/api.d.ts +391 -95
  67. package/dist/types/components.d.ts +79 -20
  68. package/dist/types/context.d.ts +60 -17
  69. package/dist/types/hooks.d.ts +16 -16
  70. package/dist/types/index.d.ts +16 -16
  71. package/dist/types/util.d.ts +16 -16
  72. package/dist/util.es.js +108 -97
  73. package/package.json +16 -4
  74. package/dist/chunks/mentionTypeOptions.es.js +0 -15
package/dist/hooks.es.js CHANGED
@@ -1,37 +1,43 @@
1
- import { u as V, a as G } from "./chunks/useLocalStorage.es.js";
2
- import { r as _t, e as Zt, w as te } from "./chunks/useLocalStorage.es.js";
3
- import { r as re, f as oe, w as ne } from "./chunks/MenuContext.es.js";
1
+ import { a as V, u as G } from "./chunks/useLocalStorage.es.js";
2
+ import { r as ne, e as se, w as ie } from "./chunks/useLocalStorage.es.js";
3
+ import { r as de, u as ue, w as ce } from "./chunks/useSessionStorage.es.js";
4
4
  import { loadRemote as C } from "@module-federation/enhanced/runtime";
5
- import { useRef as M, useState as k, useEffect as v, useCallback as N } from "react";
5
+ import { useRef as M, useState as k, useEffect as P, useCallback as N } from "react";
6
6
  import b from "semver";
7
- import { f as ie, u as ae, a as de, b as ue, c as ce, d as le } from "./chunks/Watchers.es.js";
8
- import { u as fe } from "./chunks/useActionTriggers.es.js";
9
- import { b1 as R } from "./chunks/searchTerms.es.js";
10
- import { bu as T, cN as K } from "./chunks/getUris.es.js";
7
+ import { f as le, u as pe, a as fe, b as ge, c as ye, d as he } from "./chunks/Watchers.es.js";
8
+ import { u as Le } from "./chunks/useActionTriggers.es.js";
9
+ import { b2 as R } from "./chunks/searchTerms.es.js";
10
+ import { bv as T, cO as K } from "./chunks/getUris.es.js";
11
11
  import "primereact/confirmdialog";
12
- import { u as U } from "./chunks/GlobalContext.es.js";
13
- import { toast as j } from "react-toastify";
14
- import { u as ge } from "./chunks/EntityPickerDialog.es.js";
15
- import { a as he } from "./chunks/ProjectFoldersContext.es.js";
16
- import { u as Le } from "./chunks/useGroupedPagination.es.js";
17
- import { jsx as P, jsxs as F } from "react/jsx-runtime";
12
+ import { u as O } from "./chunks/GlobalContext.es.js";
13
+ import { toast as U } from "react-toastify";
14
+ import { u as xe } from "./chunks/EntityPickerDialog.es.js";
15
+ import { a as be } from "./chunks/ProjectFoldersContext.es.js";
16
+ import { u as Pe } from "./chunks/useGroupedPagination.es.js";
17
+ import { jsx as v, jsxs as j } from "react/jsx-runtime";
18
18
  import "./chunks/ReviewablesSelector.es.js";
19
19
  import "match-sorter";
20
- import { Button as O, Icon as $ } from "@ynput/ayon-react-components";
20
+ import { Button as F, Icon as $ } from "@ynput/ayon-react-components";
21
21
  import "clsx";
22
22
  import "./chunks/SimpleForm.es.js";
23
23
  import "./chunks/MetaWidget.es.js";
24
24
  import "react-dom";
25
25
  import "date-fns";
26
+ import "./chunks/PlayableIcon.es.js";
26
27
  import "./chunks/DeleteEntitiesContext.es.js";
27
28
  import "./chunks/JsonViewer.es.js";
28
- import "react-quill-ayon";
29
- import "./chunks/PlayableIcon.es.js";
30
- import "react-markdown";
31
- import "remark-gfm";
32
- import "rehype-raw";
29
+ import "lexical";
30
+ import "@lexical/markdown";
31
+ import "@lexical/react/LexicalBlockWithAlignableContents";
32
+ import "@lexical/react/LexicalDecoratorBlockNode";
33
33
  import "lodash";
34
34
  import "uuid";
35
+ import "@lexical/code";
36
+ import "@lexical/list";
37
+ import "@lexical/rich-text";
38
+ import "@lexical/selection";
39
+ import "@lexical/utils";
40
+ import "./chunks/MenuContext.es.js";
35
41
  import "./chunks/EmptyPlaceholder.es.js";
36
42
  import "./chunks/Menu.es.js";
37
43
  import "./chunks/InfoMessage.es.js";
@@ -55,32 +61,32 @@ import "./chunks/ProjectFoldersContextInstance.es.js";
55
61
  import "./chunks/MenuItem.es.js";
56
62
  import A from "styled-components";
57
63
  import { i as q } from "./chunks/isHTMLElement.es.js";
58
- import { u as xe } from "./chunks/useAttributeEnums.es.js";
59
- const zt = (t, c, e) => {
60
- const a = M(/* @__PURE__ */ new Set()), [m, r] = k(
64
+ import { u as Ae } from "./chunks/useAttributeEnums.es.js";
65
+ const Xt = (t, c, e) => {
66
+ const a = M(/* @__PURE__ */ new Set()), [l, r] = k(
61
67
  () => h(t)
62
- ), [n, f] = k(c.length > 0 && !e);
63
- v(() => {
68
+ ), [n, p] = k(c.length > 0 && !e);
69
+ P(() => {
64
70
  e || (console.log("resetting processedModules"), a.current = /* @__PURE__ */ new Set(), r(h(t)));
65
71
  }, [JSON.stringify(t), e]);
66
- const l = async (s, d, i, p, u) => {
72
+ const m = async (s, d, i, f, u) => {
67
73
  try {
68
74
  const o = await C(`${s}/${d}`, {
69
75
  from: "runtime"
70
76
  });
71
- w(i, s, d, o?.default || p, u);
77
+ w(i, s, d, o?.default || f, u);
72
78
  } catch (o) {
73
79
  throw console.error("Error loading remote module", s, d, o), o;
74
80
  }
75
81
  };
76
- v(() => {
82
+ P(() => {
77
83
  if (e) {
78
- f(!1);
84
+ p(!1);
79
85
  return;
80
86
  }
81
- m.every((i) => !i[1].isLoaded) && a.current.size > 0 && (console.log("resetting processedModules - results were reset"), a.current = /* @__PURE__ */ new Set()), console.log("loading modules");
87
+ l.every((i) => !i[1].isLoaded) && a.current.size > 0 && (console.log("resetting processedModules - results were reset"), a.current = /* @__PURE__ */ new Set()), console.log("loading modules");
82
88
  const d = [];
83
- if (t.forEach((i, p) => {
89
+ if (t.forEach((i, f) => {
84
90
  const { addon: u, remote: o, module: g, fallback: L, minVersion: y } = i;
85
91
  if (!u || !o || !g) {
86
92
  console.log("Invalid module spec", i);
@@ -91,7 +97,7 @@ const zt = (t, c, e) => {
91
97
  console.log("skipping already processed module", x);
92
98
  return;
93
99
  }
94
- if (m[p]?.[1]?.isLoaded) {
100
+ if (l[f]?.[1]?.isLoaded) {
95
101
  a.current.add(x);
96
102
  return;
97
103
  }
@@ -103,7 +109,7 @@ const zt = (t, c, e) => {
103
109
  }
104
110
  if (y && !b.gte(E.addonVersion, y)) {
105
111
  S(
106
- p,
112
+ f,
107
113
  u,
108
114
  o,
109
115
  g,
@@ -117,33 +123,33 @@ const zt = (t, c, e) => {
117
123
  console.log("Module not found", { addon: u, remote: o, module: g });
118
124
  return;
119
125
  }
120
- d.push(l(o, g, u, L, y));
126
+ d.push(m(o, g, u, L, y));
121
127
  }), !d.length) {
122
- f(!1);
128
+ p(!1);
123
129
  return;
124
130
  }
125
- f(!0), Promise.all(d).then(() => {
126
- f(!1);
131
+ p(!0), Promise.all(d).then(() => {
132
+ p(!1);
127
133
  }).catch((i) => {
128
- console.error("Error loading modules", i), f(!1);
134
+ console.error("Error loading modules", i), p(!1);
129
135
  });
130
- }, [e, c, JSON.stringify(t), m]);
136
+ }, [e, c, JSON.stringify(t), l]);
131
137
  function h(s) {
132
138
  return s.map(
133
- ({ addon: d = "", remote: i = "", module: p = "", fallback: u, minVersion: o }) => [
139
+ ({ addon: d = "", remote: i = "", module: f = "", fallback: u, minVersion: o }) => [
134
140
  u,
135
141
  {
136
142
  isLoaded: !1,
137
143
  addon: d,
138
144
  remote: i,
139
- module: p,
145
+ module: f,
140
146
  minVersion: o,
141
147
  outdated: void 0
142
148
  }
143
149
  ]
144
150
  );
145
151
  }
146
- function S(s, d, i, p, u, o, g) {
152
+ function S(s, d, i, f, u, o, g) {
147
153
  r((L) => {
148
154
  const y = [...L];
149
155
  return s >= 0 && s < y.length && (y[s] = [
@@ -152,7 +158,7 @@ const zt = (t, c, e) => {
152
158
  isLoaded: !1,
153
159
  addon: d,
154
160
  remote: i,
155
- module: p,
161
+ module: f,
156
162
  minVersion: o,
157
163
  outdated: {
158
164
  current: g,
@@ -162,13 +168,13 @@ const zt = (t, c, e) => {
162
168
  ]), y;
163
169
  });
164
170
  }
165
- function w(s, d, i, p, u) {
171
+ function w(s, d, i, f, u) {
166
172
  r((o) => {
167
173
  const g = [...o], L = t.findIndex(
168
174
  (y) => y.addon === s && y.remote === d && y.module === i
169
175
  );
170
176
  return L >= 0 && L < g.length && (g[L] = [
171
- p,
177
+ f,
172
178
  {
173
179
  isLoaded: !0,
174
180
  addon: s,
@@ -180,44 +186,44 @@ const zt = (t, c, e) => {
180
186
  ]), g;
181
187
  });
182
188
  }
183
- return { modules: m, isLoading: n };
184
- }, Dt = ({ selectors: t = [], init: c }) => {
185
- const { user: e } = U(), { data: { frontendPreferences: a = {} } = {} } = e || {}, m = t.filter((l) => l != null).map((l) => l.replace(/\s/g, ""));
189
+ return { modules: l, isLoading: n };
190
+ }, Yt = ({ selectors: t = [], init: c }) => {
191
+ const { user: e } = O(), { data: { frontendPreferences: a = {} } = {} } = e || {}, l = t.filter((m) => m != null).map((m) => m.replace(/\s/g, ""));
186
192
  let r = a;
187
- for (const l of m)
188
- r = r?.[l];
193
+ for (const m of l)
194
+ r = r?.[m];
189
195
  r = r || c || {};
190
196
  const [n] = R();
191
- return [r, async (l) => {
197
+ return [r, async (m) => {
192
198
  try {
193
199
  if (!e?.name) throw { data: { detail: "User not found" } };
194
200
  let h = { ...a };
195
201
  const S = (w, s, d) => {
196
202
  if (s.length === 0) return { ...w, ...d };
197
- const [i, ...p] = s, u = w?.[i] || {};
203
+ const [i, ...f] = s, u = w?.[i] || {};
198
204
  return {
199
205
  ...w,
200
- [i]: S(u, p, d)
206
+ [i]: S(u, f, d)
201
207
  };
202
208
  };
203
- h = S(h, m, l), await n({
209
+ h = S(h, l, m), await n({
204
210
  userName: e.name,
205
211
  patchData: h,
206
212
  // @ts-expect-error - disableInvalidations is not in the api
207
213
  disableInvalidations: !0
208
214
  }).unwrap();
209
215
  } catch (h) {
210
- console.error(h), j.error(h.data?.detail);
216
+ console.error(h), U.error(h.data?.detail);
211
217
  }
212
218
  }, { isSuccess: !0 }];
213
- }, Ht = ({ groupBy: t, projectName: c, entityType: e }) => {
219
+ }, _t = ({ groupBy: t, projectName: c, entityType: e }) => {
214
220
  t?.id === "taskType" && (e = "task");
215
- const a = t?.id || "", { data: { groups: m = [] } = {}, error: r } = T(
221
+ const a = t?.id || "", { data: { groups: l = [] } = {}, error: r } = T(
216
222
  { projectName: c, entityType: e, groupingKey: a, empty: !0 },
217
223
  { skip: !t?.id }
218
224
  );
219
225
  return {
220
- groups: m,
226
+ groups: l,
221
227
  error: r
222
228
  };
223
229
  }, z = A.li`
@@ -225,16 +231,16 @@ const zt = (t, c, e) => {
225
231
  align-items: center;
226
232
  padding: 0;
227
233
  margin: 0;
228
- `, D = A(O)`
234
+ `, D = A(F)`
229
235
  width: 100%;
230
236
  justify-content: start;
231
237
  `, H = ({
232
238
  requiredVersion: t,
233
239
  fields: c
234
- }) => /* @__PURE__ */ P(Q, { feature: "groupAttributes", requiredVersion: t, children: c.map((e) => /* @__PURE__ */ P(z, { children: /* @__PURE__ */ F(D, { variant: "text", icon: e.icon, children: [
240
+ }) => /* @__PURE__ */ v(Q, { feature: "groupAttributes", requiredVersion: t, children: c.map((e) => /* @__PURE__ */ v(z, { children: /* @__PURE__ */ j(D, { variant: "text", icon: e.icon, children: [
235
241
  e.label,
236
- /* @__PURE__ */ P($, { icon: "bolt", style: { marginLeft: "auto" } })
237
- ] }) }, e.value)) }), Jt = () => {
242
+ /* @__PURE__ */ v($, { icon: "bolt", style: { marginLeft: "auto" } })
243
+ ] }) }, e.value)) }), Zt = () => {
238
244
  const { powerLicense: t } = V(), [c, { outdated: e, isLoading: a }] = G({
239
245
  addon: "powerpack",
240
246
  remote: "slicer",
@@ -250,36 +256,36 @@ const zt = (t, c, e) => {
250
256
  isLoading: a
251
257
  };
252
258
  }, J = ["w", "s"];
253
- function Wt({
259
+ function te({
254
260
  reviewables: t,
255
261
  selected: c,
256
262
  onChange: e,
257
263
  onNavigate: a,
258
- enabled: m = !0
264
+ enabled: l = !0
259
265
  }) {
260
- v(() => {
261
- if (!m || t.length <= 1) return;
266
+ P(() => {
267
+ if (!l || t.length <= 1) return;
262
268
  const r = (n) => {
263
- const f = n.key.length === 1 ? n.key.toLowerCase() : n.key;
264
- if (!J.includes(f) || n.metaKey || n.ctrlKey || n.altKey || q(n.target) && (n.target.tagName === "INPUT" || n.target.tagName === "TEXTAREA" || n.target.isContentEditable))
269
+ const p = n.key.length === 1 ? n.key.toLowerCase() : n.key;
270
+ if (!J.includes(p) || n.metaKey || n.ctrlKey || n.altKey || q(n.target) && (n.target.tagName === "INPUT" || n.target.tagName === "TEXTAREA" || n.target.isContentEditable))
265
271
  return;
266
- const S = t.findIndex(({ fileId: s }) => c.includes(s)) + (f === "w" ? -1 : 1), w = t[S < 0 ? t.length - 1 : S % t.length];
272
+ const S = t.findIndex(({ fileId: s }) => c.includes(s)) + (p === "w" ? -1 : 1), w = t[S < 0 ? t.length - 1 : S % t.length];
267
273
  w && (e?.(w.fileId), a?.(w));
268
274
  };
269
275
  return window.addEventListener("keydown", r), () => window.removeEventListener("keydown", r);
270
- }, [m, t, c, e, a]);
276
+ }, [l, t, c, e, a]);
271
277
  }
272
- const Bt = () => {
278
+ const ee = () => {
273
279
  const { data: t, isLoading: c, isError: e } = K({});
274
280
  return {
275
281
  getProductionAddon: N(
276
- (m, r) => {
282
+ (l, r) => {
277
283
  if (!t?.addons) return;
278
- const n = t.addons.find((l) => l.name === m), f = n?.productionVersion;
279
- if (!(!n || !f) && !(r?.version && f !== r.version)) {
284
+ const n = t.addons.find((m) => m.name === l), p = n?.productionVersion;
285
+ if (!(!n || !p) && !(r?.version && p !== r.version)) {
280
286
  if (r?.minVersion)
281
287
  try {
282
- if (!(b.gte(f, r.minVersion) || b.gte(b.coerce(f) || "0.0.0", r.minVersion))) return;
288
+ if (!(b.gte(p, r.minVersion) || b.gte(b.coerce(p) || "0.0.0", r.minVersion))) return;
283
289
  } catch {
284
290
  return;
285
291
  }
@@ -293,28 +299,28 @@ const Bt = () => {
293
299
  };
294
300
  };
295
301
  export {
296
- ie as filterProjectStatuses,
297
- _t as readLocalStorage,
298
- re as readSessionStorage,
299
- fe as useActionTriggers,
300
- ae as useAttributeEnumOptions,
301
- xe as useAttributeEnums,
302
- de as useEntityUpdate,
303
- ue as useFetchAttributeEnumOptions,
304
- Ht as useGetEntityGroups,
305
- Bt as useGetProductionAddon,
306
- Jt as useGroupByRemoteModules,
307
- Le as useGroupedPagination,
308
- ge as useHierarchyTable,
302
+ le as filterProjectStatuses,
303
+ ne as readLocalStorage,
304
+ de as readSessionStorage,
305
+ Le as useActionTriggers,
306
+ pe as useAttributeEnumOptions,
307
+ Ae as useAttributeEnums,
308
+ fe as useEntityUpdate,
309
+ ge as useFetchAttributeEnumOptions,
310
+ _t as useGetEntityGroups,
311
+ ee as useGetProductionAddon,
312
+ Zt as useGroupByRemoteModules,
313
+ Pe as useGroupedPagination,
314
+ xe as useHierarchyTable,
309
315
  G as useLoadModule,
310
- zt as useLoadModules,
311
- Zt as useLocalStorage,
312
- he as useQueryArgumentChangeLoading,
313
- Wt as useReviewablesKeyboardNavigation,
314
- ce as useScopedStatuses,
315
- le as useScopedTypes,
316
- oe as useSessionStorage,
317
- Dt as useUserProjectConfig,
318
- te as writeLocalStorage,
319
- ne as writeSessionStorage
316
+ Xt as useLoadModules,
317
+ se as useLocalStorage,
318
+ be as useQueryArgumentChangeLoading,
319
+ te as useReviewablesKeyboardNavigation,
320
+ ye as useScopedStatuses,
321
+ he as useScopedTypes,
322
+ ue as useSessionStorage,
323
+ Yt as useUserProjectConfig,
324
+ ie as writeLocalStorage,
325
+ ce as writeSessionStorage
320
326
  };
package/dist/index.es.js CHANGED
@@ -8,6 +8,7 @@ import "./chunks/SimpleForm.es.js";
8
8
  import "./chunks/MetaWidget.es.js";
9
9
  import "react-dom";
10
10
  import "date-fns";
11
+ import { U as $ } from "./chunks/PlayableIcon.es.js";
11
12
  import "./chunks/DeleteEntitiesContext.es.js";
12
13
  import "react-toastify";
13
14
  import "./chunks/searchTerms.es.js";
@@ -15,18 +16,22 @@ import "./chunks/getUris.es.js";
15
16
  import "primereact/confirmdialog";
16
17
  import "./chunks/JsonViewer.es.js";
17
18
  import "./chunks/Watchers.es.js";
18
- import "react-quill-ayon";
19
- import { U as W } from "./chunks/PlayableIcon.es.js";
20
- import "react-markdown";
21
- import "remark-gfm";
22
- import "rehype-raw";
19
+ import "lexical";
20
+ import "@lexical/markdown";
21
+ import "@lexical/react/LexicalBlockWithAlignableContents";
22
+ import "@lexical/react/LexicalDecoratorBlockNode";
23
23
  import "lodash";
24
24
  import "uuid";
25
+ import "@lexical/code";
26
+ import "@lexical/list";
27
+ import "@lexical/rich-text";
28
+ import "@lexical/selection";
29
+ import "@lexical/utils";
25
30
  import "./chunks/useLocalStorage.es.js";
26
31
  import "@module-federation/enhanced/runtime";
27
32
  import "semver";
28
- import { M as Y, u as Z } from "./chunks/MenuContext.es.js";
29
- import { E as $ } from "./chunks/EmptyPlaceholder.es.js";
33
+ import { M as or, u as mr } from "./chunks/MenuContext.es.js";
34
+ import { E as pr } from "./chunks/EmptyPlaceholder.es.js";
30
35
  import "./chunks/Menu.es.js";
31
36
  import "./chunks/InfoMessage.es.js";
32
37
  import "@dnd-kit/core";
@@ -45,13 +50,13 @@ import "react-redux";
45
50
  import "react-router-dom";
46
51
  import "./chunks/Slicer.es.js";
47
52
  import "primereact/splitter";
48
- import { T as or } from "./chunks/ThumbnailSimple.es.js";
53
+ import { T as er } from "./chunks/ThumbnailSimple.es.js";
49
54
  import "./chunks/ProjectFoldersContextInstance.es.js";
50
55
  import "./chunks/MenuItem.es.js";
51
56
  export {
52
- $ as EmptyPlaceholder,
53
- Y as MenuProvider,
54
- or as ThumbnailSimple,
55
- W as UserImage,
56
- Z as useMenuContext
57
+ pr as EmptyPlaceholder,
58
+ or as MenuProvider,
59
+ er as ThumbnailSimple,
60
+ $ as UserImage,
61
+ mr as useMenuContext
57
62
  };
@@ -76,6 +76,22 @@ declare type IconModel = {
76
76
  export { }
77
77
 
78
78
 
79
+ declare module '@tanstack/react-table' {
80
+ interface FilterFns {
81
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
82
+ }
83
+ interface FilterMeta {
84
+ itemRank: RankingInfo;
85
+ }
86
+ interface TableMeta<TData extends RowData> {
87
+ isExpandable?: boolean;
88
+ isLoading?: boolean;
89
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
90
+ [key: string]: any;
91
+ }
92
+ }
93
+
94
+
79
95
  declare global {
80
96
  interface Window {
81
97
  senderId: string;
@@ -97,22 +113,6 @@ declare module '@tanstack/react-table' {
97
113
  }
98
114
 
99
115
 
100
- declare module '@tanstack/react-table' {
101
- interface FilterFns {
102
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
103
- }
104
- interface FilterMeta {
105
- itemRank: RankingInfo;
106
- }
107
- interface TableMeta<TData extends RowData> {
108
- isExpandable?: boolean;
109
- isLoading?: boolean;
110
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
111
- [key: string]: any;
112
- }
113
- }
114
-
115
-
116
116
  declare module '@tanstack/react-table' {
117
117
  interface ColumnMeta<TData extends RowData, TValue> {
118
118
  listTableCustomCell?: boolean;
@@ -125,6 +125,22 @@ RefObject<{
125
125
  export { }
126
126
 
127
127
 
128
+ declare module '@tanstack/react-table' {
129
+ interface FilterFns {
130
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
131
+ }
132
+ interface FilterMeta {
133
+ itemRank: RankingInfo;
134
+ }
135
+ interface TableMeta<TData extends RowData> {
136
+ isExpandable?: boolean;
137
+ isLoading?: boolean;
138
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
139
+ [key: string]: any;
140
+ }
141
+ }
142
+
143
+
128
144
  declare global {
129
145
  interface Window {
130
146
  senderId: string;
@@ -146,22 +162,6 @@ declare module '@tanstack/react-table' {
146
162
  }
147
163
 
148
164
 
149
- declare module '@tanstack/react-table' {
150
- interface FilterFns {
151
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
152
- }
153
- interface FilterMeta {
154
- itemRank: RankingInfo;
155
- }
156
- interface TableMeta<TData extends RowData> {
157
- isExpandable?: boolean;
158
- isLoading?: boolean;
159
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
160
- [key: string]: any;
161
- }
162
- }
163
-
164
-
165
165
  declare module '@tanstack/react-table' {
166
166
  interface ColumnMeta<TData extends RowData, TValue> {
167
167
  listTableCustomCell?: boolean;
@@ -418,6 +418,22 @@ declare type User = {
418
418
  export { }
419
419
 
420
420
 
421
+ declare module '@tanstack/react-table' {
422
+ interface FilterFns {
423
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
424
+ }
425
+ interface FilterMeta {
426
+ itemRank: RankingInfo;
427
+ }
428
+ interface TableMeta<TData extends RowData> {
429
+ isExpandable?: boolean;
430
+ isLoading?: boolean;
431
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
432
+ [key: string]: any;
433
+ }
434
+ }
435
+
436
+
421
437
  declare global {
422
438
  interface Window {
423
439
  senderId: string;
@@ -439,22 +455,6 @@ declare module '@tanstack/react-table' {
439
455
  }
440
456
 
441
457
 
442
- declare module '@tanstack/react-table' {
443
- interface FilterFns {
444
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
445
- }
446
- interface FilterMeta {
447
- itemRank: RankingInfo;
448
- }
449
- interface TableMeta<TData extends RowData> {
450
- isExpandable?: boolean;
451
- isLoading?: boolean;
452
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
453
- [key: string]: any;
454
- }
455
- }
456
-
457
-
458
458
  declare module '@tanstack/react-table' {
459
459
  interface ColumnMeta<TData extends RowData, TValue> {
460
460
  listTableCustomCell?: boolean;
@@ -31,6 +31,22 @@ export declare type PickerSelection = Record<PickerEntityType, RowSelectionState
31
31
  export { }
32
32
 
33
33
 
34
+ declare module '@tanstack/react-table' {
35
+ interface FilterFns {
36
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
37
+ }
38
+ interface FilterMeta {
39
+ itemRank: RankingInfo;
40
+ }
41
+ interface TableMeta<TData extends RowData> {
42
+ isExpandable?: boolean;
43
+ isLoading?: boolean;
44
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
45
+ [key: string]: any;
46
+ }
47
+ }
48
+
49
+
34
50
  declare global {
35
51
  interface Window {
36
52
  senderId: string;
@@ -52,22 +68,6 @@ declare module '@tanstack/react-table' {
52
68
  }
53
69
 
54
70
 
55
- declare module '@tanstack/react-table' {
56
- interface FilterFns {
57
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
58
- }
59
- interface FilterMeta {
60
- itemRank: RankingInfo;
61
- }
62
- interface TableMeta<TData extends RowData> {
63
- isExpandable?: boolean;
64
- isLoading?: boolean;
65
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
66
- [key: string]: any;
67
- }
68
- }
69
-
70
-
71
71
  declare module '@tanstack/react-table' {
72
72
  interface ColumnMeta<TData extends RowData, TValue> {
73
73
  listTableCustomCell?: boolean;
@@ -316,6 +316,22 @@ declare type VersionSuggestionItem = {
316
316
  export { }
317
317
 
318
318
 
319
+ declare module '@tanstack/react-table' {
320
+ interface FilterFns {
321
+ fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
322
+ }
323
+ interface FilterMeta {
324
+ itemRank: RankingInfo;
325
+ }
326
+ interface TableMeta<TData extends RowData> {
327
+ isExpandable?: boolean;
328
+ isLoading?: boolean;
329
+ children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
330
+ [key: string]: any;
331
+ }
332
+ }
333
+
334
+
319
335
  declare global {
320
336
  interface Window {
321
337
  senderId: string;
@@ -337,22 +353,6 @@ declare module '@tanstack/react-table' {
337
353
  }
338
354
 
339
355
 
340
- declare module '@tanstack/react-table' {
341
- interface FilterFns {
342
- fuzzy: (row: Row<any>, columnId: string, searchValue: string[][], addMeta: (meta: any) => void) => boolean;
343
- }
344
- interface FilterMeta {
345
- itemRank: RankingInfo;
346
- }
347
- interface TableMeta<TData extends RowData> {
348
- isExpandable?: boolean;
349
- isLoading?: boolean;
350
- children?: (props: SimpleTableCellTemplateProps, row: Row<TData>, table: Table<SimpleTableRow>) => JSX.Element;
351
- [key: string]: any;
352
- }
353
- }
354
-
355
-
356
356
  declare module '@tanstack/react-table' {
357
357
  interface ColumnMeta<TData extends RowData, TValue> {
358
358
  listTableCustomCell?: boolean;