@epam/ai-dial-chat-hooks 1.2.0-dev.21 → 1.2.0-dev.217

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 (89) hide show
  1. package/api-error/api-error.js +7 -4
  2. package/attachment/useAttachmentValidation/useAttachmentValidation.js +26 -19
  3. package/attachments.d.ts +10 -4
  4. package/catalog/catalog-derivations.js +1 -1
  5. package/catalog/deployment-id.js +8 -2
  6. package/catalog/map-deployment-limits-to-input.js +81 -9
  7. package/catalog/map-deployment-to-catalog-item.js +34 -34
  8. package/catalog/map-entity-details-to-catalog.js +7 -0
  9. package/catalog/map-skill-to-catalog-item.js +30 -27
  10. package/catalog/publish.js +6 -5
  11. package/catalog/useApplicationCredentials/useApplicationCredentials.js +39 -0
  12. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.js +39 -39
  13. package/catalog/useSkillItemDetails.js +17 -13
  14. package/catalog.d.ts +116 -20
  15. package/catalog.js +23 -22
  16. package/conversation/conversation-transfer/export-conversation.js +24 -16
  17. package/conversation/conversation-transfer/import-conversation.js +80 -31
  18. package/conversation/conversation-transfer/queue.js +8 -5
  19. package/conversation/create-chat-stream-api.js +85 -49
  20. package/conversation/message-utils.js +44 -2
  21. package/conversation/stage.js +23 -0
  22. package/conversation/useConversationExport/useConversationExport.js +9 -9
  23. package/conversation/useConversationHandlers/useConversationHandlers.js +16 -5
  24. package/conversation/useConversationImport/useConversationImport.js +123 -121
  25. package/conversation/useConversationPanelItems/useConversationPanelItems.js +2 -3
  26. package/conversation/useConversationScroll/useConversationScroll.js +68 -64
  27. package/conversation/useConversationStream/apply-chunk.js +1 -1
  28. package/conversation/useConversationStream/generation-resume.js +104 -63
  29. package/conversation/useConversationStream/useConversationStream.js +181 -110
  30. package/conversation/useMessageSelectionReply/useMessageSelectionReply.js +189 -0
  31. package/conversation-overlay.d.ts +7 -0
  32. package/conversation-overlay.js +2 -0
  33. package/conversation-sources/useConversationSources/useConversationSources.js +31 -24
  34. package/conversation-sources.d.ts +1 -1
  35. package/conversation-transfer.d.ts +2 -1
  36. package/conversation.d.ts +241 -13
  37. package/conversation.js +32 -30
  38. package/file-manager-canvas.d.ts +409 -0
  39. package/file-manager-canvas.js +2 -0
  40. package/file-manager.d.ts +153 -350
  41. package/file-manager.js +25 -24
  42. package/files/attachment-canvas.js +73 -22
  43. package/files/attachment-types.js +14 -13
  44. package/files/dial-file-manager-mapping.util.js +2 -1
  45. package/files/dial-file-manager-path.util.js +23 -1
  46. package/files/dial-file-manager.model.js +23 -19
  47. package/files/dial-file-manager.types.js +3 -3
  48. package/files/useDialFileListing/useDialFileListing.js +139 -127
  49. package/files/useDialFileManager/useDialFileManager.js +132 -128
  50. package/files/useDialFileManagerSections/useDialFileManagerSections.js +155 -0
  51. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.js +20 -19
  52. package/files/useDialFileMutations/useDialFileMutations.js +33 -32
  53. package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +117 -110
  54. package/files/useFileAttachmentPicker/useFileAttachmentPicker.js +43 -0
  55. package/index.d.ts +1094 -86
  56. package/index.js +136 -122
  57. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.js +7 -5
  58. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.js +1 -1
  59. package/mcp-apps/useMcpAppTools/useMcpAppTools.js +1 -1
  60. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.js +25 -23
  61. package/mcp-apps.d.ts +8 -6
  62. package/oauth/toolset-id.js +5 -3
  63. package/oauth/useToolsetLogin/useToolsetLogin.js +8 -8
  64. package/oauth.d.ts +32 -0
  65. package/oauth.js +9 -9
  66. package/package.json +36 -21
  67. package/scheduled-task/scheduled-task-description.js +77 -0
  68. package/scheduled-task/scheduled-task-preparation.js +24 -0
  69. package/scheduled-task/scheduled-task-trigger.js +7 -2
  70. package/scheduled-task/scheduled-tasks-api-client.js +19 -0
  71. package/scheduled-task/use-scheduled-task-runs.js +194 -0
  72. package/scheduled-task/use-scheduled-tasks.js +93 -0
  73. package/scheduled-tasks.d.ts +195 -3
  74. package/scheduled-tasks.js +7 -2
  75. package/skill/skill-archive.js +19 -0
  76. package/skill/skill-types.js +8 -7
  77. package/skill/skill.js +42 -27
  78. package/skill/useSkillArchiveImport/useSkillArchiveImport.js +79 -0
  79. package/skill/useSkillEditorLoad.js +29 -28
  80. package/skill/useSkillEditorSubmit.js +108 -84
  81. package/skill/useSkillFileActions.js +70 -58
  82. package/skill-editor.d.ts +133 -3
  83. package/skill-editor.js +9 -8
  84. package/usage/map-usage-data-to-dashboard.js +66 -0
  85. package/usage/map-user-usage-to-model-limits.js +202 -0
  86. package/usage.d.ts +125 -0
  87. package/usage.js +3 -0
  88. package/usePageFileDrag/usePageFileDrag.js +3 -3
  89. package/utils.d.ts +18 -6
@@ -2,29 +2,35 @@ import { getApiErrorStatus as e } from "../../api-error/api-error.js";
2
2
  import { FileManagerNotificationReason as t } from "../dial-file-manager.types.js";
3
3
  import { buildSharedItemVirtualPath as n, dialCorePathToRelative as r, findFolderByVirtualPath as i, normalizeVirtualPath as a } from "../dial-file-manager-path.util.js";
4
4
  import { getParentFolderPath as ee, virtualPathToApiPath as o } from "../resolve-dial-file-api-path.js";
5
- import { buildFromCache as te, fetchByTab as s, fetchForSearch as c, mapCorePermissions as ne, mapSearchItem as l, mergeCreatedFolderIntoCache as re } from "../dial-file-manager-mapping.util.js";
6
- import { useCallback as u, useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
7
- import { ListFilesItemDtoNodeTypeEnum as h } from "@epam/ai-dial-chat-api-client";
8
- import { NotificationVariant as g } from "@epam/ai-dial-ui-kit";
9
- import { DialFileManagerTabs as _, DialFileNodeType as ie } from "@epam/ai-dial-react-file-manager";
5
+ import { buildFromCache as te, fetchByTab as s, fetchForSearch as ne, mapCorePermissions as re, mapSearchItem as c, mergeCreatedFolderIntoCache as ie } from "../dial-file-manager-mapping.util.js";
6
+ import { useCallback as l, useEffect as u, useMemo as d, useRef as f, useState as p } from "react";
7
+ import { ListFilesItemDtoNodeTypeEnum as m } from "@epam/ai-dial-chat-api-client";
8
+ import { NotificationVariant as h } from "@epam/ai-dial-ui-kit";
9
+ import { DialFileManagerTabs as g, DialFileNodeType as ae } from "@epam/ai-dial-react-file-manager";
10
10
  //#region src/files/useDialFileListing/useDialFileListing.ts
11
- var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S }) => {
12
- let [C, w] = m(""), [T, E] = m(() => /* @__PURE__ */ new Map()), D = p(T);
13
- d(() => {
11
+ var _ = ({ filesApi: _, bucket: v, rootLabel: y, activeTab: b, onNotification: x, isActive: S = !0, sessionKey: oe }) => {
12
+ let [C, w] = p(""), [T, E] = p(() => /* @__PURE__ */ new Map()), D = f(T);
13
+ u(() => {
14
14
  D.current = T;
15
15
  }, [T]);
16
- let [O, k] = m(() => /* @__PURE__ */ new Map()), [ae, A] = m(!0), [oe, j] = m(null), [M, N] = m(0), [P, F] = m(void 0), [se, I] = m(() => /* @__PURE__ */ new Set()), L = p(/* @__PURE__ */ new Map()), [ce, R] = m(!1), [le, z] = m(null), B = p(null), V = p(null), H = p(/* @__PURE__ */ new Set()), U = p(/* @__PURE__ */ new Set()), [W, G] = m(() => /* @__PURE__ */ new Set()), [ue, K] = m(() => /* @__PURE__ */ new Set()), [q, J] = m(() => /* @__PURE__ */ new Set()), Y = p(x);
17
- d(() => {
18
- Y.current !== x && (Y.current = x, E(/* @__PURE__ */ new Map()), k(/* @__PURE__ */ new Map()), w(""), F(void 0), L.current = /* @__PURE__ */ new Map(), H.current = /* @__PURE__ */ new Set(), U.current = /* @__PURE__ */ new Set(), K(/* @__PURE__ */ new Set()), J(/* @__PURE__ */ new Set()), B.current != null && (clearTimeout(B.current), B.current = null), V.current?.(), V.current = null, z(null), R(!1), G(/* @__PURE__ */ new Set()));
19
- }, [x]), d(() => () => {
16
+ let [O, k] = p(() => /* @__PURE__ */ new Map()), [se, A] = p(S), [ce, le] = p(S);
17
+ ce !== S && (le(S), A(S));
18
+ let [ue, j] = p(null), [M, N] = p(0), [P, F] = p(void 0), [de, I] = p(() => /* @__PURE__ */ new Set()), L = f(/* @__PURE__ */ new Map()), [fe, R] = p(!1), [pe, z] = p(null), B = f(null), V = f(null), H = f(/* @__PURE__ */ new Set()), U = f(/* @__PURE__ */ new Set()), [W, G] = p(() => /* @__PURE__ */ new Set()), [me, K] = p(() => /* @__PURE__ */ new Set()), [q, J] = p(() => /* @__PURE__ */ new Set()), Y = `${b}|${oe ?? ""}`, X = f(Y);
19
+ u(() => {
20
+ X.current !== Y && (X.current = Y, E(/* @__PURE__ */ new Map()), k(/* @__PURE__ */ new Map()), w(""), F(void 0), L.current = /* @__PURE__ */ new Map(), H.current = /* @__PURE__ */ new Set(), U.current = /* @__PURE__ */ new Set(), K(/* @__PURE__ */ new Set()), J(/* @__PURE__ */ new Set()), B.current != null && (clearTimeout(B.current), B.current = null), V.current?.(), V.current = null, z(null), R(!1), G(/* @__PURE__ */ new Set()), N((e) => e + 1));
21
+ }, [Y]), u(() => () => {
20
22
  B.current != null && clearTimeout(B.current), V.current?.();
21
- }, []), d(() => {
23
+ }, []), u(() => {
24
+ if (!S) {
25
+ A(!1);
26
+ return;
27
+ }
22
28
  let t = !1;
23
- return A(!0), j(null), s(v, x, y, C, L.current).then(({ items: e, permissions: i }) => {
29
+ return A(!0), j(null), s(_, b, v, C, L.current).then(({ items: e, permissions: i }) => {
24
30
  t || (E((t) => {
25
31
  let n = new Map(t);
26
32
  return n.set(C, e), n;
27
- }), k((e) => new Map(e).set(C, i)), x === _.Shared && C === "" && (F(e.map((e) => n(r(e.path, e.bucket ?? ""), b, e.nodeType === h.Folder))), L.current = new Map(e.map((e) => [e.name, {
33
+ }), k((e) => new Map(e).set(C, i)), b === g.Shared && C === "" && (F(e.map((e) => n(r(e.path, e.bucket ?? ""), y, e.nodeType === m.Folder))), L.current = new Map(e.map((e) => [e.name, {
28
34
  bucket: e.bucket ?? "",
29
35
  dialCorePath: e.path
30
36
  }]))));
@@ -42,53 +48,55 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
42
48
  t = !0;
43
49
  };
44
50
  }, [
45
- x,
46
- y,
51
+ b,
47
52
  v,
53
+ _,
48
54
  C,
55
+ S,
49
56
  M,
50
- b
51
- ]), d(() => {
52
- if (x !== _.MyFiles) {
57
+ y
58
+ ]), u(() => {
59
+ if (!S || b !== g.MyFiles) {
53
60
  I(/* @__PURE__ */ new Set());
54
61
  return;
55
62
  }
56
63
  let e = !1;
57
- return v.listSharedByMe(y).then((t) => {
58
- e || I(new Set(t.items.map((e) => n(r(e.path, y), b, e.nodeType === h.Folder))));
64
+ return _.listSharedByMe(v).then((t) => {
65
+ e || I(new Set(t.items.map((e) => n(r(e.path, v), y, e.nodeType === m.Folder))));
59
66
  }).catch(() => {
60
67
  e || I(/* @__PURE__ */ new Set());
61
68
  }), () => {
62
69
  e = !0;
63
70
  };
64
71
  }, [
65
- x,
66
- y,
72
+ b,
67
73
  v,
74
+ _,
75
+ S,
68
76
  M,
69
- b
77
+ y
70
78
  ]);
71
- let X = f(() => [{
72
- id: y,
73
- name: b,
74
- path: `/${b}`,
79
+ let Z = d(() => [{
80
+ id: v,
81
+ name: y,
82
+ path: `/${y}`,
75
83
  parentPath: "",
76
- nodeType: ie.FOLDER,
77
- folderId: y,
78
- permissions: ne(O.get("")),
79
- items: te(T, O, "", `/${b}`, y)
84
+ nodeType: ae.FOLDER,
85
+ folderId: v,
86
+ permissions: re(O.get("")),
87
+ items: te(T, O, "", `/${y}`, v)
80
88
  }], [
81
89
  T,
82
90
  O,
83
- b,
84
- y
85
- ]), de = u((e) => {
91
+ y,
92
+ v
93
+ ]), he = l((e) => {
86
94
  if (e == null) {
87
95
  w("");
88
96
  return;
89
97
  }
90
- let t = `/${b}/`, n = `${b}/`;
91
- if (e === `/${b}` || e === t || e === b || e === n) {
98
+ let t = `/${y}/`, n = `${y}/`;
99
+ if (e === `/${y}` || e === t || e === y || e === n) {
92
100
  w("");
93
101
  return;
94
102
  }
@@ -100,11 +108,11 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
100
108
  r = t.startsWith(n) ? t.slice(n.length) : t;
101
109
  }
102
110
  w(r && !r.endsWith("/") ? `${r}/` : r);
103
- }, [b]), Z = u(() => {
111
+ }, [y]), Q = l(() => {
104
112
  N((e) => e + 1);
105
- }, []), fe = Z, pe = u((e) => {
113
+ }, []), ge = Q, _e = l((e) => {
106
114
  if (e.length === 0) return;
107
- let n = new Set([...W].map((e) => o(e, b))), r = (e) => e === C || C.startsWith(e) || n.has(e), i = e.filter((e) => !r(e)), a = e.filter((e) => r(e) && e !== C);
115
+ let n = new Set([...W].map((e) => o(e, y))), r = (e) => e === C || C.startsWith(e) || n.has(e), i = e.filter((e) => !r(e)), a = e.filter((e) => r(e) && e !== C);
108
116
  i.length > 0 && (E((e) => {
109
117
  let t = new Map(e);
110
118
  return i.forEach((e) => t.delete(e)), t;
@@ -114,28 +122,29 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
114
122
  })), a.forEach((e) => {
115
123
  (async () => {
116
124
  try {
117
- let { items: t, permissions: n } = await s(v, x, y, e, L.current);
125
+ let { items: t, permissions: n } = await s(_, b, v, e, L.current);
118
126
  E((n) => new Map(n).set(e, t)), n != null && k((t) => new Map(t).set(e, n));
119
127
  } catch {
120
- S?.({
121
- variant: g.Error,
128
+ x?.({
129
+ variant: h.Error,
122
130
  reason: t.FolderLoadFailed
123
131
  });
124
132
  }
125
133
  })();
126
134
  });
127
135
  }, [
128
- x,
129
- y,
136
+ b,
130
137
  v,
138
+ _,
131
139
  C,
132
140
  W,
133
- b,
134
- S
135
- ]), me = u((e, t, n) => {
136
- E((r) => re(r, e, t, n));
137
- }, []), he = u((e) => {
138
- let n = e == null ? "" : o(e, b), r = e ?? `/${b}`;
141
+ y,
142
+ x
143
+ ]), ve = l((e, t, n) => {
144
+ E((r) => ie(r, e, t, n));
145
+ }, []), ye = l((e) => {
146
+ if (!S) return;
147
+ let n = e == null ? "" : o(e, y), r = e ?? `/${y}`;
139
148
  if (J((e) => {
140
149
  if (e.has(r)) return e;
141
150
  let t = new Set(e);
@@ -153,11 +162,11 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
153
162
  return t.add(r), t;
154
163
  }), (async () => {
155
164
  try {
156
- let { items: e, permissions: t } = await s(v, x, y, n, L.current);
165
+ let { items: e, permissions: t } = await s(_, b, v, n, L.current);
157
166
  E((t) => new Map(t).set(n, e)), t != null && k((e) => new Map(e).set(n, t)), U.current.delete(n);
158
167
  } catch {
159
- S?.({
160
- variant: g.Error,
168
+ x?.({
169
+ variant: h.Error,
161
170
  reason: t.FolderLoadFailed
162
171
  });
163
172
  } finally {
@@ -169,15 +178,16 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
169
178
  })();
170
179
  }
171
180
  }, [
172
- x,
173
- y,
181
+ b,
174
182
  v,
183
+ _,
175
184
  S,
176
- b
177
- ]), ge = f(() => {
185
+ x,
186
+ y
187
+ ]), be = d(() => {
178
188
  let e = /* @__PURE__ */ new Set(), t = new Set([...W, ...q]);
179
189
  for (let n of t) {
180
- let t = o(n, b);
190
+ let t = o(n, y);
181
191
  T.has(t) && e.add(n);
182
192
  }
183
193
  return e;
@@ -185,22 +195,22 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
185
195
  W,
186
196
  q,
187
197
  T,
188
- b
189
- ]), _e = u((e) => {
190
- W.forEach((t) => {
191
- e.has(t) || U.current.delete(o(t, b));
198
+ y
199
+ ]), xe = l((e) => {
200
+ S && (W.forEach((t) => {
201
+ e.has(t) || U.current.delete(o(t, y));
192
202
  }), G(e), [...e].filter((e) => {
193
- let t = o(e, b);
203
+ let t = o(e, y);
194
204
  return !D.current.has(t) && !H.current.has(t) && !U.current.has(t);
195
205
  }).forEach((e) => {
196
- let n = o(e, b);
206
+ let n = o(e, y);
197
207
  H.current.add(n), (async () => {
198
208
  try {
199
- let { items: e, permissions: t } = await s(v, x, y, n, L.current);
209
+ let { items: e, permissions: t } = await s(_, b, v, n, L.current);
200
210
  E((t) => new Map(t).set(n, e)), t != null && k((e) => new Map(e).set(n, t));
201
211
  } catch {
202
- U.current.add(n), S?.({
203
- variant: g.Error,
212
+ U.current.add(n), x?.({
213
+ variant: h.Error,
204
214
  reason: t.FolderLoadFailed
205
215
  });
206
216
  } finally {
@@ -210,86 +220,88 @@ var v = ({ filesApi: v, bucket: y, rootLabel: b, activeTab: x, onNotification: S
210
220
  });
211
221
  }
212
222
  })();
213
- });
223
+ }));
214
224
  }, [
215
- x,
216
- y,
225
+ b,
217
226
  v,
227
+ _,
218
228
  W,
219
229
  S,
220
- b
221
- ]), Q = u(() => {
230
+ x,
231
+ y
232
+ ]), Se = l(() => {
222
233
  B.current != null && (clearTimeout(B.current), B.current = null), V.current?.(), V.current = null, z(null), R(!1);
223
- }, []), ve = u((e, t) => {
224
- if (B.current != null && (clearTimeout(B.current), B.current = null), V.current?.(), V.current = null, !t.trim()) {
225
- z(null), R(!1);
226
- return;
227
- }
228
- B.current = setTimeout(() => {
229
- B.current = null;
230
- let e = t.toLowerCase();
231
- if (x === _.Shared && C === "") {
232
- V.current?.(), V.current = null, R(!0), z((T.get("") ?? []).filter((t) => t.name.toLowerCase().includes(e)).map((e) => l(e, e.bucket ?? y, b))), R(!1);
234
+ }, []), Ce = l((e, t) => {
235
+ if (S) {
236
+ if (B.current != null && (clearTimeout(B.current), B.current = null), V.current?.(), V.current = null, !t.trim()) {
237
+ z(null), R(!1);
233
238
  return;
234
239
  }
235
- let n = !1;
236
- V.current = () => {
237
- n = !0;
238
- }, R(!0), (async () => {
239
- try {
240
- let { items: t } = await c(v, x, y, C, L.current);
241
- if (n) return;
242
- z(t.filter((t) => t.name.toLowerCase().includes(e)).map((e) => l(e, e.bucket ?? y, b)));
243
- } catch {
244
- n || z([]);
245
- } finally {
246
- n || R(!1);
240
+ B.current = setTimeout(() => {
241
+ if (B.current = null, b === g.Shared && C === "") {
242
+ V.current?.(), V.current = null, R(!0), z((T.get("") ?? []).map((e) => c(e, e.bucket ?? v, y))), R(!1);
243
+ return;
247
244
  }
248
- })();
249
- }, 300);
245
+ let e = !1;
246
+ V.current = () => {
247
+ e = !0;
248
+ }, R(!0), (async () => {
249
+ try {
250
+ let { items: t } = await ne(_, b, v, C, L.current);
251
+ if (e) return;
252
+ z(t.map((e) => c(e, e.bucket ?? v, y)));
253
+ } catch {
254
+ e || z([]);
255
+ } finally {
256
+ e || R(!1);
257
+ }
258
+ })();
259
+ }, 300);
260
+ }
250
261
  }, [
251
- x,
252
- y,
253
- T,
262
+ b,
254
263
  v,
264
+ T,
265
+ _,
255
266
  C,
256
- b
257
- ]), $ = C ? `/${b}/${C}` : `/${b}`, ye = f(() => {
258
- let e = X[0];
259
- if (e) return a($) === a(`/${b}`) ? e : i(e.items ?? [], $);
267
+ S,
268
+ y
269
+ ]), $ = C ? `/${y}/${C}` : `/${y}`, we = d(() => {
270
+ let e = Z[0];
271
+ if (e) return a($) === a(`/${y}`) ? e : i(e.items ?? [], $);
260
272
  }, [
261
- X,
273
+ Z,
262
274
  $,
263
- b
275
+ y
264
276
  ]);
265
277
  return {
266
- items: X,
267
- isLoading: ae,
268
- error: oe,
278
+ items: Z,
279
+ isLoading: se,
280
+ error: ue,
269
281
  path: $,
270
282
  folderPath: C,
271
- onPathChange: de,
272
- retry: Z,
273
- onSearchFiles: ve,
274
- isSearching: ce,
275
- searchResults: le,
276
- clearSearchResults: Q,
283
+ onPathChange: he,
284
+ retry: Q,
285
+ onSearchFiles: Ce,
286
+ isSearching: fe,
287
+ searchResults: pe,
288
+ clearSearchResults: Se,
277
289
  expandedPaths: W,
278
- loadedPaths: ge,
279
- onExpandedPathsChange: _e,
280
- onFolderPopupPathChange: he,
281
- folderPopupLoadingPaths: ue,
282
- sharedWithMeIds: f(() => x === _.Shared ? P : void 0, [x, P]),
283
- sharedByMePaths: se,
284
- currentFolder: ye,
290
+ loadedPaths: be,
291
+ onExpandedPathsChange: xe,
292
+ onFolderPopupPathChange: ye,
293
+ folderPopupLoadingPaths: me,
294
+ sharedWithMeIds: d(() => b === g.Shared ? P : void 0, [b, P]),
295
+ sharedByMePaths: de,
296
+ currentFolder: we,
285
297
  cache: T,
286
298
  listingPermissionsCache: O,
287
299
  sharedRootMetaRef: L,
288
300
  setFolderPath: w,
289
- invalidateFolders: pe,
290
- mergeCreatedFolder: me,
291
- bumpRetry: fe
301
+ invalidateFolders: _e,
302
+ mergeCreatedFolder: ve,
303
+ bumpRetry: ge
292
304
  };
293
305
  };
294
306
  //#endregion
295
- export { v as useDialFileListing };
307
+ export { _ as useDialFileListing };