@epam/ai-dial-chat-hooks 1.2.0-dev.28 → 1.2.0-dev.284

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 (94) 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-catalog.js +16 -24
  7. package/catalog/map-deployment-limits-to-input.js +81 -9
  8. package/catalog/map-deployment-to-catalog-item.js +34 -34
  9. package/catalog/map-entity-details-to-catalog.js +7 -0
  10. package/catalog/map-skill-to-catalog-item.js +55 -48
  11. package/catalog/publish.js +6 -5
  12. package/catalog/useApplicationCredentials/useApplicationCredentials.js +39 -0
  13. package/catalog/useCatalogEditNavigation/useCatalogEditNavigation.js +122 -101
  14. package/catalog/usePublishFolders/usePublishFolders.js +1 -1
  15. package/catalog/useSkillDetailsPanelData/useSkillDetailsPanelData.js +39 -39
  16. package/catalog/useSkillItemDetails.js +17 -13
  17. package/catalog.d.ts +139 -34
  18. package/catalog.js +23 -22
  19. package/conversation/conversation-transfer/export-conversation.js +24 -16
  20. package/conversation/conversation-transfer/import-conversation.js +80 -31
  21. package/conversation/conversation-transfer/queue.js +8 -5
  22. package/conversation/create-chat-stream-api.js +85 -49
  23. package/conversation/message-utils.js +44 -2
  24. package/conversation/stage.js +27 -0
  25. package/conversation/useActiveConversationSync/useActiveConversationSync.js +7 -8
  26. package/conversation/useConversationExport/useConversationExport.js +9 -9
  27. package/conversation/useConversationHandlers/useConversationHandlers.js +73 -57
  28. package/conversation/useConversationImport/useConversationImport.js +123 -121
  29. package/conversation/useConversationPanelItems/useConversationPanelItems.js +50 -32
  30. package/conversation/useConversationScroll/useConversationScroll.js +68 -64
  31. package/conversation/useConversationStream/apply-chunk.js +1 -1
  32. package/conversation/useConversationStream/frame-scheduler.js +39 -0
  33. package/conversation/useConversationStream/generation-resume.js +122 -64
  34. package/conversation/useConversationStream/useConversationStream.js +265 -116
  35. package/conversation/useMessageSelectionReply/useMessageSelectionReply.js +189 -0
  36. package/conversation-sources/useConversationSources/useConversationSources.js +31 -24
  37. package/conversation-sources.d.ts +1 -1
  38. package/conversation-transfer.d.ts +2 -1
  39. package/conversation.d.ts +295 -17
  40. package/conversation.js +32 -29
  41. package/file-manager-canvas.d.ts +53 -5
  42. package/file-manager.d.ts +156 -26
  43. package/file-manager.js +25 -23
  44. package/files/attachment-canvas.js +74 -40
  45. package/files/attachment-types.js +14 -13
  46. package/files/dial-file-manager-mapping.util.js +2 -1
  47. package/files/dial-file-manager-path.util.js +23 -1
  48. package/files/dial-file-manager.model.js +23 -19
  49. package/files/dial-file-manager.types.js +3 -3
  50. package/files/useDialFileListing/useDialFileListing.js +139 -127
  51. package/files/useDialFileManager/useDialFileManager.js +132 -128
  52. package/files/useDialFileManagerSections/useDialFileManagerSections.js +155 -0
  53. package/files/useDialFileManagerTabConfig/useDialFileManagerTabConfig.js +20 -19
  54. package/files/useDialFileMutations/useDialFileMutations.js +33 -32
  55. package/files/useDialFileUploadBatch/useDialFileUploadBatch.js +117 -110
  56. package/files/useFileAttachmentPicker/useFileAttachmentPicker.js +49 -0
  57. package/index.d.ts +1178 -112
  58. package/index.js +136 -122
  59. package/mcp-apps/useMcpAppHostAdapter/useMcpAppHostAdapter.js +7 -5
  60. package/mcp-apps/useMcpAppHostContext/useMcpAppHostContext.js +1 -1
  61. package/mcp-apps/useMcpAppTools/useMcpAppTools.js +1 -1
  62. package/mcp-apps/useOpenMcpAppCanvas/useOpenMcpAppCanvas.js +25 -23
  63. package/mcp-apps.d.ts +8 -6
  64. package/oauth/toolset-id.js +5 -3
  65. package/oauth/useToolsetLogin/useToolsetLogin.js +8 -8
  66. package/oauth.d.ts +32 -0
  67. package/oauth.js +9 -9
  68. package/package.json +26 -21
  69. package/scheduled-task/scheduled-task-description.js +81 -0
  70. package/scheduled-task/scheduled-task-preparation.js +24 -0
  71. package/scheduled-task/scheduled-task-trigger.js +74 -71
  72. package/scheduled-task/scheduled-tasks-api-client.js +19 -0
  73. package/scheduled-task/use-scheduled-task-runs.js +194 -0
  74. package/scheduled-task/use-scheduled-tasks.js +93 -0
  75. package/scheduled-tasks.d.ts +197 -3
  76. package/scheduled-tasks.js +7 -2
  77. package/shared/application-schema.js +5 -2
  78. package/shared/cron-day-of-month.js +13 -0
  79. package/skill/skill-archive.js +19 -0
  80. package/skill/skill-types.js +8 -7
  81. package/skill/skill.js +53 -27
  82. package/skill/useSkillArchiveImport/useSkillArchiveImport.js +79 -0
  83. package/skill/useSkillEditorLoad.js +65 -59
  84. package/skill/useSkillEditorSubmit.js +108 -84
  85. package/skill/useSkillFileActions.js +70 -58
  86. package/skill-editor.d.ts +160 -8
  87. package/skill-editor.js +9 -8
  88. package/usage/map-usage-data-to-dashboard.js +66 -0
  89. package/usage/map-user-usage-to-model-limits.js +202 -0
  90. package/usage.d.ts +125 -0
  91. package/usage.js +3 -0
  92. package/usePageFileDrag/usePageFileDrag.js +3 -3
  93. package/utils.d.ts +26 -6
  94. package/utils.js +10 -10
@@ -124,32 +124,79 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
124
124
  text: i,
125
125
  language: r
126
126
  } : i;
127
- }, I = async (e, n) => {
128
- let r = await k(e, n);
129
- if (r == null) return null;
130
- if (typeof r != "string") return r;
131
- if (r.length > P) return null;
132
- let i = n.resolveDialUrl(e) ?? void 0;
133
- return {
127
+ }, I = (e) => {
128
+ try {
129
+ return new URL(e, window.location.href).origin;
130
+ } catch {
131
+ return;
132
+ }
133
+ }, L = async (e, n) => {
134
+ let r = n.resolveDialUrl(e) ?? void 0;
135
+ if (r != null) return {
134
136
  type: t.Html,
135
- srcdoc: r,
136
- url: i
137
+ url: r,
138
+ isSameOriginUrl: I(r) === I(window.location.href),
139
+ resolveSourceText: async () => {
140
+ let t = await k(e, n);
141
+ if (t == null || typeof t != "string") throw Error("Failed to resolve HTML source text");
142
+ return t;
143
+ }
137
144
  };
138
- }, L = (n, r, i) => {
145
+ let i = await k(e, n);
146
+ return i == null ? null : typeof i == "string" ? i.length > P ? null : {
147
+ type: t.Html,
148
+ srcdoc: i,
149
+ srcdocHostUrl: n.htmlSrcdocHostUrl
150
+ } : i;
151
+ }, R = (e, t) => ({
152
+ id: e,
153
+ bboxes: [{
154
+ page: t,
155
+ x1: 0,
156
+ y1: 0,
157
+ x2: 0,
158
+ y2: 0
159
+ }],
160
+ style: {
161
+ backgroundColor: "transparent",
162
+ opacity: 0
163
+ }
164
+ }), z = (n, r, i) => {
139
165
  let a = n.body?.source?.attachment;
140
166
  if (a?.type !== o.PDF) return null;
141
167
  let s = e(a.url) ? i.resolveDialFileDownloadUrl(a.url) : a.url;
142
168
  if (s == null) return null;
143
- let c = (r.find((e) => e.annotations.includes(n))?.annotations ?? [n]).filter((e) => e.body?.source?.attachment?.url === a.url), u = c.indexOf(n), f = d(c), m = l(n, u);
169
+ let c = (r.find((e) => e.annotations.includes(n))?.annotations ?? [n]).filter((e) => e.body?.source?.attachment?.url === a.url), u = c.indexOf(n), f = d(c), m = l(n, u), h = p(n), g = f.some((e) => e.id === m);
170
+ if (!g && h != null) {
171
+ let e = `page-anchor-${m}`;
172
+ return {
173
+ type: t.Pdf,
174
+ url: s,
175
+ highlights: [...f, R(e, h)],
176
+ selectedHighlightId: e,
177
+ page: h
178
+ };
179
+ }
144
180
  return {
145
181
  type: t.Pdf,
146
182
  url: s,
147
183
  highlights: f,
148
- selectedHighlightId: f.some((e) => e.id === m) ? m : void 0,
149
- page: p(n)
184
+ selectedHighlightId: g ? m : void 0,
185
+ page: h
150
186
  };
151
- }, R = (e) => {
187
+ }, B = (e) => {
152
188
  switch (e.type) {
189
+ case "docx_text_anchor": return {
190
+ kind: i.DocxTableRow,
191
+ cells: e.cells,
192
+ occurrence: e.occurrence
193
+ };
194
+ case "pptx_text_anchor": return {
195
+ kind: i.PptxTableRow,
196
+ cells: e.cells,
197
+ occurrence: e.occurrence,
198
+ slide: e.slide
199
+ };
153
200
  case "docx_text_range": return {
154
201
  kind: i.DocxTextRange,
155
202
  story: e.story,
@@ -173,7 +220,7 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
173
220
  end: e.end
174
221
  };
175
222
  }
176
- }, z = (n, i, o) => {
223
+ }, V = (n, i, o) => {
177
224
  let s = n.body?.source?.attachment;
178
225
  if (s?.url == null) return null;
179
226
  let c = a(s.title ?? s.url, s.type);
@@ -187,7 +234,7 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
187
234
  let i = l(e, t);
188
235
  m.push({
189
236
  id: i,
190
- locations: r.map(R)
237
+ locations: r.map(B)
191
238
  }), e === n && (h = i);
192
239
  }), {
193
240
  type: t.Ooxml,
@@ -198,7 +245,7 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
198
245
  selectedHighlightId: h
199
246
  } : {}
200
247
  };
201
- }, B = (n, r) => {
248
+ }, H = (n, r) => {
202
249
  let i = m(n.url);
203
250
  if (i == null) return null;
204
251
  let a = e(i.baseUrl) ? r.resolveDialFileDownloadUrl(i.baseUrl) : i.baseUrl;
@@ -211,55 +258,42 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
211
258
  return {
212
259
  type: t.Pdf,
213
260
  url: a,
214
- highlights: [{
215
- id: o,
216
- bboxes: [{
217
- page: i.page,
218
- x1: 0,
219
- y1: 0,
220
- x2: 0,
221
- y2: 0
222
- }],
223
- style: {
224
- backgroundColor: "transparent",
225
- opacity: 0
226
- }
227
- }],
261
+ highlights: [R(o, i.page)],
228
262
  selectedHighlightId: o,
229
263
  page: i.page
230
264
  };
231
- }, V = (e) => {
265
+ }, U = (e) => {
232
266
  try {
233
267
  let t = new URL(e).protocol;
234
268
  return t === "http:" || t === "https:" || t === "blob:";
235
269
  } catch {
236
270
  return !1;
237
271
  }
238
- }, H = (t) => t.url != null && !e(t.url) && V(t.url) ? t.url : void 0, U = async (e, n) => {
272
+ }, W = (t) => t.url != null && !e(t.url) && U(t.url) ? t.url : void 0, G = async (e, n) => {
239
273
  let r = await O(e, n);
240
274
  if (r != null) return typeof r == "string" ? {
241
275
  type: t.Pdf,
242
276
  url: r
243
277
  } : r;
244
- let i = H(e);
278
+ let i = W(e);
245
279
  return i == null ? null : {
246
280
  type: t.Pdf,
247
281
  url: i
248
282
  };
249
- }, W = async (e, n, r) => {
283
+ }, K = async (e, n, r) => {
250
284
  let i = await O(e, n);
251
285
  if (i != null) return typeof i == "string" ? {
252
286
  type: t.Ooxml,
253
287
  url: i,
254
288
  format: r
255
289
  } : i;
256
- let a = H(e);
290
+ let a = W(e);
257
291
  return a == null ? null : {
258
292
  type: t.Ooxml,
259
293
  url: a,
260
294
  format: r
261
295
  };
262
- }, G = async (e, n) => {
296
+ }, q = async (e, n) => {
263
297
  let r = await k(e, n);
264
298
  if (r == null) return null;
265
299
  if (typeof r != "string") return r;
@@ -275,7 +309,7 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
275
309
  text: r
276
310
  };
277
311
  }
278
- }, K = async (e, n, r, i) => {
312
+ }, J = async (e, n, r, i) => {
279
313
  let a = await k(e, n);
280
314
  if (a == null || typeof a != "string") return null;
281
315
  let o = {};
@@ -297,7 +331,7 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
297
331
  visualizerName: r.title,
298
332
  requestTimeout: r.requestTimeout
299
333
  };
300
- }, q = (e, n, r, i) => {
334
+ }, Y = (e, n, r, i) => {
301
335
  let a = {
302
336
  width: r.width,
303
337
  height: r.height,
@@ -327,4 +361,4 @@ var g = (e, t) => URL.createObjectURL(s(e, t)), _ = (e) => {
327
361
  };
328
362
  };
329
363
  //#endregion
330
- export { z as annotationToOoxmlCanvasContent, L as annotationToPdfCanvasContent, S as clearAttachmentCache, A as hasAttachmentTextSource, B as referenceAttachmentToPdfCanvasContent, F as resolveCodeCanvasContent, q as resolveGroupedVisualizerCanvasContent, I as resolveHtmlCanvasContent, j as resolveImageCanvasContent, G as resolveJsonCanvasContent, N as resolveMarkdownCanvasContent, W as resolveOoxmlCanvasContent, U as resolvePdfCanvasContent, M as resolveTextCanvasContent, K as resolveVisualizerCanvasContent };
364
+ export { V as annotationToOoxmlCanvasContent, z as annotationToPdfCanvasContent, S as clearAttachmentCache, A as hasAttachmentTextSource, H as referenceAttachmentToPdfCanvasContent, F as resolveCodeCanvasContent, Y as resolveGroupedVisualizerCanvasContent, L as resolveHtmlCanvasContent, j as resolveImageCanvasContent, q as resolveJsonCanvasContent, N as resolveMarkdownCanvasContent, K as resolveOoxmlCanvasContent, G as resolvePdfCanvasContent, M as resolveTextCanvasContent, J as resolveVisualizerCanvasContent };
@@ -1,16 +1,17 @@
1
- import { extension as e } from "mime-types";
1
+ import { normalizeMimeType as e } from "@epam/ai-dial-chat-shared";
2
+ import { extension as t } from "mime-types";
2
3
  //#region src/files/attachment-types.ts
3
- var t = "*/*", n = (e) => e.startsWith(".") || e.includes("/"), r = (e) => {
4
- if (e != null) return e.map((e) => e === "*" ? t : e).filter(n);
5
- }, i = (e) => {
6
- let n = r(e);
7
- if (!(n == null || n.length === 0) && !n.some((e) => e === t)) return n.join(",");
8
- }, a = (t) => t.map((t) => {
9
- if (t.endsWith("/*")) return t;
10
- let n = e(t);
11
- if (n !== !1) return `.${n}`;
12
- let r = t.split("/")[1];
13
- return r == null ? t : `.${r.toLowerCase()}`;
4
+ var n = "*/*", r = (e) => e.startsWith(".") || e.includes("/"), i = (t) => {
5
+ if (t != null) return t.map((t) => t === "*" ? n : t.startsWith(".") ? t : e(t)).filter(r);
6
+ }, a = (e) => {
7
+ let t = i(e);
8
+ if (!(t == null || t.length === 0) && !t.some((e) => e === n)) return t.join(",");
9
+ }, o = (n) => n.map((n) => {
10
+ if (n.endsWith("/*")) return n;
11
+ let r = e(n), i = t(r);
12
+ if (i !== !1) return `.${i}`;
13
+ let a = r.split("/")[1];
14
+ return a == null ? n : `.${a.toLowerCase()}`;
14
15
  }).join(", ");
15
16
  //#endregion
16
- export { n as isDialFileAcceptType, a as mimeTypesToAttachmentExtensionLabels, r as mimeTypesToDialFileAcceptTypes, i as mimeTypesToFileAccept };
17
+ export { r as isDialFileAcceptType, o as mimeTypesToAttachmentExtensionLabels, i as mimeTypesToDialFileAcceptTypes, a as mimeTypesToFileAccept };
@@ -50,7 +50,7 @@ var o = (t) => {
50
50
  return o.some((e) => e.name.toLowerCase() === n.name.toLowerCase()) || o.push(s), a.set(t, o), a;
51
51
  }, u = (e, t, n) => {
52
52
  if (!e) return e;
53
- let r = typeof n == "string" ? { status: n } : n, i = e.files.map((e, n) => n === t ? {
53
+ let r = typeof n == "string" ? { status: n } : n, i = e.files.map((e) => e.id === t ? {
54
54
  ...e,
55
55
  ...r
56
56
  } : e);
@@ -59,6 +59,7 @@ var o = (t) => {
59
59
  files: i
60
60
  };
61
61
  }, d = (e, t, r, a, o) => {
62
+ if (t === i.All) return Promise.reject(/* @__PURE__ */ Error("fetchByTab cannot list the All tab; list each section instead"));
62
63
  if (t === i.Shared) {
63
64
  if (a === "") return e.listSharedFiles({ path: void 0 }).then((e) => ({ items: e.items }));
64
65
  let t = a.indexOf("/"), r = t === -1 ? a : a.slice(0, t), i = o.get(r);
@@ -67,6 +67,28 @@ var o = (e, t) => {
67
67
  bucket: a.bucket,
68
68
  path: o + s
69
69
  };
70
+ }, y = (e, t) => {
71
+ let n = e.startsWith("/") ? e : `/${e}`;
72
+ return t.find((e) => {
73
+ let t = `/${e.rootLabel}`;
74
+ return n === t || n.startsWith(`${t}/`);
75
+ });
76
+ }, b = (e) => {
77
+ let t = /* @__PURE__ */ new Set();
78
+ return e.forEach((e) => e.forEach((e) => t.add(e))), t;
79
+ }, x = (e, t) => {
80
+ if (e.size !== t.size) return !1;
81
+ for (let n of e) if (!t.has(n)) return !1;
82
+ return !0;
83
+ }, S = (e) => {
84
+ let t = /* @__PURE__ */ new Set();
85
+ return e.map((e) => {
86
+ let n = e.rootLabel.trim(), r = n !== "" && !n.includes("/") && !t.has(n) ? n : e.tab;
87
+ return t.add(r), r === e.rootLabel ? e : {
88
+ ...e,
89
+ rootLabel: r
90
+ };
91
+ });
70
92
  };
71
93
  //#endregion
72
- export { _ as buildSharedItemVirtualPath, g as dialCorePathToRelative, f as findDialFileByPath, u as findFolderByVirtualPath, l as formatOperationFolderName, c as getVirtualPathName, d as hasDialFileWritePermission, o as hasForbiddenNameSymbols, p as isCopyMoveDuplicateAllowed, m as isShareActionsAllowed, s as normalizeVirtualPath, h as parseNewFolderVirtualPath, v as resolveOwnerCoords };
94
+ export { _ as buildSharedItemVirtualPath, g as dialCorePathToRelative, f as findDialFileByPath, u as findFolderByVirtualPath, l as formatOperationFolderName, c as getVirtualPathName, d as hasDialFileWritePermission, o as hasForbiddenNameSymbols, x as hasSamePaths, p as isCopyMoveDuplicateAllowed, m as isShareActionsAllowed, s as normalizeVirtualPath, h as parseNewFolderVirtualPath, v as resolveOwnerCoords, y as resolveSectionByPath, b as unionPathSets, S as withRoutableRootLabels };
@@ -1,28 +1,32 @@
1
1
  import { HIDDEN_FILE as e } from "@epam/ai-dial-chat-shared";
2
- import { DialFilePermission as t, FileManagerColumnKey as n } from "@epam/ai-dial-react-file-manager";
2
+ import { DialFileManagerTabs as t, DialFilePermission as n, FileManagerColumnKey as r } from "@epam/ai-dial-react-file-manager";
3
3
  //#region src/files/dial-file-manager.model.ts
4
- var r = 3, i = e, a = /[/\\]/, o = {
4
+ var i = 3, a = e, o = /[/\\]/, s = {
5
5
  year: "numeric",
6
6
  month: "short",
7
7
  day: "2-digit",
8
8
  hour: "2-digit",
9
9
  minute: "2-digit",
10
10
  hour12: !1
11
- }, s = [
12
- n.Name,
13
- n.UpdatedAt,
14
- n.Size,
15
- n.Actions
16
- ], c = [
17
- n.Name,
18
- n.UpdatedAt,
19
- n.Size,
20
- n.Author,
21
- n.Actions
22
- ], l = {
23
- READ: t.READ,
24
- WRITE: t.WRITE,
25
- SHARE: t.SHARE
26
- };
11
+ }, c = [
12
+ r.Name,
13
+ r.UpdatedAt,
14
+ r.Size,
15
+ r.Actions
16
+ ], l = [
17
+ r.Name,
18
+ r.UpdatedAt,
19
+ r.Size,
20
+ r.Author,
21
+ r.Actions
22
+ ], u = {
23
+ READ: n.READ,
24
+ WRITE: n.WRITE,
25
+ SHARE: n.SHARE
26
+ }, d = [
27
+ t.MyFiles,
28
+ t.Shared,
29
+ t.Organization
30
+ ];
27
31
  //#endregion
28
- export { s as COLUMNS_WITHOUT_AUTHOR, c as COLUMNS_WITH_AUTHOR, l as CORE_PERMISSION_MAP, o as DATE_OPTIONS, a as PATH_SEPARATOR_REGEXP, i as RESERVED_MARKER_NAME, r as UPLOAD_CONCURRENCY };
32
+ export { c as COLUMNS_WITHOUT_AUTHOR, l as COLUMNS_WITH_AUTHOR, u as CORE_PERMISSION_MAP, s as DATE_OPTIONS, d as DIAL_FILE_MANAGER_SECTION_TABS, o as PATH_SEPARATOR_REGEXP, a as RESERVED_MARKER_NAME, i as UPLOAD_CONCURRENCY };
@@ -1,10 +1,10 @@
1
1
  //#region src/files/dial-file-manager.types.ts
2
2
  var e = /* @__PURE__ */ function(e) {
3
- return e.FolderLoadFailed = "folderLoadFailed", e.MetadataLoadFailed = "metadataLoadFailed", e.FolderCreateFailed = "folderCreateFailed", e.DownloadFileFailed = "downloadFileFailed", e.DownloadFilesFailed = "downloadFilesFailed", e.FilesDeleted = "filesDeleted", e.FilesDeletePartiallyFailed = "filesDeletePartiallyFailed", e.DeleteFailed = "deleteFailed", e.RenameFailed = "renameFailed", e.RenamePartiallyFailed = "renamePartiallyFailed", e.MoveFailed = "moveFailed", e.MovePartiallyFailed = "movePartiallyFailed", e.CopyFailed = "copyFailed", e.CopyPartiallyFailed = "copyPartiallyFailed", e.UnshareFailed = "unshareFailed", e.RemoveAccessFailed = "removeAccessFailed", e.UploadFailed = "uploadFailed", e.UploadCompleted = "uploadCompleted", e.UploadArchiveFailed = "uploadArchiveFailed", e.UploadArchivePartiallyFailed = "uploadArchivePartiallyFailed", e.UploadArchiveRequestFailed = "uploadArchiveRequestFailed", e;
3
+ return e.FolderLoadFailed = "folderLoadFailed", e.MetadataLoadFailed = "metadataLoadFailed", e.FolderCreateFailed = "folderCreateFailed", e.DownloadFileFailed = "downloadFileFailed", e.DownloadFilesFailed = "downloadFilesFailed", e.FilesDeleted = "filesDeleted", e.FilesDeletePartiallyFailed = "filesDeletePartiallyFailed", e.DeleteFailed = "deleteFailed", e.RenameFailed = "renameFailed", e.RenamePartiallyFailed = "renamePartiallyFailed", e.MoveFailed = "moveFailed", e.MovePartiallyFailed = "movePartiallyFailed", e.CopyFailed = "copyFailed", e.CopyPartiallyFailed = "copyPartiallyFailed", e.UnshareFailed = "unshareFailed", e.RemoveAccessFailed = "removeAccessFailed", e.UploadFailed = "uploadFailed", e.UploadCompleted = "uploadCompleted", e.UploadArchiveFailed = "uploadArchiveFailed", e.UploadArchivePartiallyFailed = "uploadArchivePartiallyFailed", e.UploadArchiveRequestFailed = "uploadArchiveRequestFailed", e.CrossSectionTransferUnsupported = "crossSectionTransferUnsupported", e;
4
4
  }({}), t = /* @__PURE__ */ function(e) {
5
- return e.Empty = "empty", e.ForbiddenSymbols = "forbiddenSymbols", e.ReservedName = "reservedName", e.TooLong = "tooLong", e.DuplicateName = "duplicateName", e.LeadingDot = "leadingDot", e;
5
+ return e.Empty = "empty", e.ForbiddenSymbols = "forbiddenSymbols", e.ReservedName = "reservedName", e.TooLong = "tooLong", e.DuplicateName = "duplicateName", e;
6
6
  }({}), n = /* @__PURE__ */ function(e) {
7
- return e.FolderCreated = "folderCreated", e.FileRenamed = "fileRenamed", e.FileDownloaded = "fileDownloaded", e.FilesDownloaded = "filesDownloaded", e.FileCopied = "fileCopied", e.FilesCopied = "filesCopied", e.FileMoved = "fileMoved", e.FilesMoved = "filesMoved", e;
7
+ return e.FolderCreated = "folderCreated", e.FileRenamed = "fileRenamed", e.FileDownloaded = "fileDownloaded", e.FilesDownloaded = "filesDownloaded", e.FileCopied = "fileCopied", e.FilesCopied = "filesCopied", e.FileMoved = "fileMoved", e.FilesMoved = "filesMoved", e.FileDuplicated = "fileDuplicated", e.FilesDuplicated = "filesDuplicated", e;
8
8
  }({});
9
9
  //#endregion
10
10
  export { e as FileManagerNotificationReason, t as FileNameValidationErrorReason, n as FileOperationKind };