@epam/ai-dial-chat-shared 1.3.0-dev.149 → 1.3.0-dev.152

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TextRefinementField.d.ts","sourceRoot":"","sources":["../../../src/components/TextRefinementField/TextRefinementField.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAU,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGzE,uCAAuC;AACvC,MAAM,WAAW,wBAAwB;IACvC,iFAAiF;IACjF,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,8CAA8C;IAC9C,UAAU,EAAE,oBAAoB,CAAC;IACjC,6BAA6B;IAC7B,QAAQ,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sHAAsH;IACtH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,uFAAuF;AACvF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA4H5D,CAAC"}
1
+ {"version":3,"file":"TextRefinementField.d.ts","sourceRoot":"","sources":["../../../src/components/TextRefinementField/TextRefinementField.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAU,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGzE,uCAAuC;AACvC,MAAM,WAAW,wBAAwB;IACvC,iFAAiF;IACjF,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,8CAA8C;IAC9C,UAAU,EAAE,oBAAoB,CAAC;IACjC,6BAA6B;IAC7B,QAAQ,EAAE,OAAO,CAAC;IAClB,iEAAiE;IACjE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sHAAsH;IACtH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,uFAAuF;AACvF,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CA2H5D,CAAC"}
@@ -84,7 +84,6 @@ var h = ({ isEnabled: h, fieldId: g, label: _, labelClassName: v, required: y, l
84
84
  }), O]
85
85
  }),
86
86
  k && /* @__PURE__ */ f(o, {
87
- role: "alert",
88
87
  id: g + "-refinement-error",
89
88
  className: e(C, w),
90
89
  text: b?.refineErrorLabel ?? "Could not refine this text. Please try again."
@@ -49,6 +49,8 @@ export interface DialFileManagerShellProps {
49
49
  treeContainerClassName?: string;
50
50
  /** Called with the virtual path of the file the user chose to preview. */
51
51
  onPreview?: (path?: string) => void;
52
+ /** Called with the grid row when the user clicks a file (folders open instead). */
53
+ onTableFileClick?: (row: FileManagerGridRow) => void;
52
54
  /** Dotted extensions (e.g. `.md`) the Preview row action is offered for. The file manager matches them exactly as written, so list every spelling that should qualify. */
53
55
  previewExtensions?: string[];
54
56
  /** Color overrides, e.g. a different surface background. */
@@ -1 +1 @@
1
- {"version":3,"file":"DialFileManagerShell.d.ts","sourceRoot":"","sources":["../../../src/file-manager/DialFileManagerShell/DialFileManagerShell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAEnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAQ1C,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEV,0BAA0B,EAE3B,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAgDlE,yDAAyD;AACzD,MAAM,WAAW,yBAAyB;IACxC,8EAA8E;IAC9E,UAAU,EAAE,qBAAqB,CAAC;IAClC,qDAAqD;IACrD,MAAM,EAAE,0BAA0B,CAAC;IACnC,4BAA4B;IAC5B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,0CAA0C;IAC1C,WAAW,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAChD,2DAA2D;IAC3D,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,yCAAyC;IACzC,qBAAqB,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,mGAAmG;IACnG,OAAO,EAAE,sBAAsB,CAAC;IAChC,wEAAwE;IACxE,aAAa,EAAE,4BAA4B,CAAC;IAC5C,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACxC,6JAA6J;IAC7J,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sMAAsM;IACtM,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iFAAiF;IACjF,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE;QACvB,IAAI,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;KACzC,KAAK,OAAO,CAAC;IACd,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,MAAM,GAAG,SAAS,CAAC;IACrE,uDAAuD;IACvD,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,0KAA0K;IAC1K,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACrC;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA6lB9D,CAAC;;AAEF,wBAA0C"}
1
+ {"version":3,"file":"DialFileManagerShell.d.ts","sourceRoot":"","sources":["../../../src/file-manager/DialFileManagerShell/DialFileManagerShell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,mBAAmB,EAEnB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAC;AAQ1C,OAAO,EAML,KAAK,EAAE,EACR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAG/E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAEV,0BAA0B,EAE3B,MAAM,WAAW,CAAC;AAGnB,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAgDlE,yDAAyD;AACzD,MAAM,WAAW,yBAAyB;IACxC,8EAA8E;IAC9E,UAAU,EAAE,qBAAqB,CAAC;IAClC,qDAAqD;IACrD,MAAM,EAAE,0BAA0B,CAAC;IACnC,4BAA4B;IAC5B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,kFAAkF;IAClF,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC;IAC9B,0CAA0C;IAC1C,WAAW,EAAE,CAAC,GAAG,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAChD,2DAA2D;IAC3D,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,yCAAyC;IACzC,qBAAqB,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IACpD,mGAAmG;IACnG,OAAO,EAAE,sBAAsB,CAAC;IAChC,wEAAwE;IACxE,aAAa,EAAE,4BAA4B,CAAC;IAC5C,gFAAgF;IAChF,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,8CAA8C;IAC9C,gBAAgB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACxC,6JAA6J;IAC7J,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sMAAsM;IACtM,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iFAAiF;IACjF,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE;QACvB,IAAI,CAAC,EAAE,yBAAyB,GAAG,IAAI,CAAC;KACzC,KAAK,OAAO,CAAC;IACd,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,MAAM,GAAG,SAAS,CAAC;IACrE,uDAAuD;IACvD,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,0EAA0E;IAC1E,SAAS,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,mFAAmF;IACnF,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACrD,0KAA0K;IAC1K,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,4DAA4D;IAC5D,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACrC;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CA+lB9D,CAAC;;AAEF,wBAA0C"}
@@ -16,8 +16,8 @@ var ve = (e, t) => {
16
16
  if (e.isRenaming && !e.isMoving) return t.renamingLabel;
17
17
  if (e.isUnsharing) return t.unsharingLabel;
18
18
  if (e.isRemovingAccess) return t.removingAccessLabel;
19
- }, d = ({ controller: a, labels: d, activeTab: f, tabs: p, onTabChange: m, selectedPaths: h, onSelectedPathsChange: ye, variant: g, actionProfile: be, autoSelectUploadedItems: xe = !1, allowedFileTypes: Se, maxSelectableFileSize: _, oversizedUploadMessage: Ce, isRowSelectable: v, getDisabledTooltip: we, unsupportedFileTypeTooltip: Te, treeContainerClassName: y, onPreview: Ee, previewExtensions: De, styles: Oe }) => {
20
- let { items: ke, isLoading: Ae, error: je, path: b, onPathChange: Me, retry: Ne, onSearchFiles: Pe, isSearching: Fe, searchResults: Ie, clearSearchResults: Le, expandedPaths: x, loadedPaths: S, onExpandedPathsChange: C, onFolderPopupPathChange: Re, folderPopupLoadingPaths: w, onUploadFiles: ze, onUploadArchive: Be, onValidateUpload: Ve, uploadBatchState: T, cancelUpload: E, cancelUploadFile: D, clearUploadBatch: O, downloadBatchState: k, cancelDownloadFile: A, cancelAllDownloads: j, clearDownloadBatch: M, onCreateFolder: He, onCreateFolderValidate: Ue, onDownloadFiles: We, onDeleteFiles: Ge, isDeleting: Ke, onMoveToFiles: qe, onRenameValidate: Je, isRenaming: Ye, onCopyFiles: Xe, isCopying: Ze, isMoving: N, cancelCopyMove: Qe, uploadEnabled: P, isNewButtonDisabled: F, disabledNewButtonTooltip: I, visibleColumns: L, dateLocale: R, dateOptions: z, actionLabels: B, sharedWithMeIds: $e, sharedByMePaths: V, onUnshareFiles: et, isUnsharing: tt, onRemoveFilesAccess: nt, isRemovingAccess: rt, fileMetadata: H, isFileMetadataLoading: U, onGetInfo: it, clearMetadata: W, sectionTab: at } = a, G = at ?? f, [K, ot] = pe(void 0), { handleGridApiChange: st, reset: q } = te();
19
+ }, d = ({ controller: a, labels: d, activeTab: f, tabs: p, onTabChange: m, selectedPaths: h, onSelectedPathsChange: ye, variant: g, actionProfile: be, autoSelectUploadedItems: xe = !1, allowedFileTypes: Se, maxSelectableFileSize: _, oversizedUploadMessage: Ce, isRowSelectable: v, getDisabledTooltip: we, unsupportedFileTypeTooltip: Te, treeContainerClassName: y, onPreview: Ee, onTableFileClick: De, previewExtensions: Oe, styles: ke }) => {
20
+ let { items: Ae, isLoading: je, error: Me, path: b, onPathChange: Ne, retry: Pe, onSearchFiles: Fe, isSearching: Ie, searchResults: Le, clearSearchResults: Re, expandedPaths: x, loadedPaths: S, onExpandedPathsChange: C, onFolderPopupPathChange: ze, folderPopupLoadingPaths: w, onUploadFiles: Be, onUploadArchive: Ve, onValidateUpload: He, uploadBatchState: T, cancelUpload: E, cancelUploadFile: D, clearUploadBatch: O, downloadBatchState: k, cancelDownloadFile: A, cancelAllDownloads: j, clearDownloadBatch: M, onCreateFolder: Ue, onCreateFolderValidate: We, onDownloadFiles: Ge, onDeleteFiles: Ke, isDeleting: qe, onMoveToFiles: Je, onRenameValidate: Ye, isRenaming: Xe, onCopyFiles: Ze, isCopying: Qe, isMoving: N, cancelCopyMove: $e, uploadEnabled: P, isNewButtonDisabled: F, disabledNewButtonTooltip: I, visibleColumns: L, dateLocale: R, dateOptions: z, actionLabels: B, sharedWithMeIds: et, sharedByMePaths: V, onUnshareFiles: tt, isUnsharing: nt, onRemoveFilesAccess: rt, isRemovingAccess: it, fileMetadata: H, isFileMetadataLoading: U, onGetInfo: at, clearMetadata: W, sectionTab: ot } = a, G = ot ?? f, [K, st] = pe(void 0), { handleGridApiChange: ct, reset: q } = te();
21
21
  fe(() => {
22
22
  q();
23
23
  }, [G, q]);
@@ -56,7 +56,7 @@ var ve = (e, t) => {
56
56
  if (X) return J;
57
57
  let { [u.RemoveAccess]: e, ...t } = J;
58
58
  return t;
59
- }, [J, X]), Q = g === r.Attach, ct = s(() => ({
59
+ }, [J, X]), Q = g === r.Attach, lt = s(() => ({
60
60
  selectionMode: _e.MULTIPLE,
61
61
  filterable: !1,
62
62
  withoutHeaderBorders: !0,
@@ -78,7 +78,7 @@ var ve = (e, t) => {
78
78
  z,
79
79
  Y,
80
80
  v
81
- ]), lt = s(() => ({
81
+ ]), ut = s(() => ({
82
82
  header: d.treeHeader ?? null,
83
83
  containerClassName: y ?? (g === r.Attach ? "min-h-0 h-full w-[360px] shrink-0 border-e border-tertiary bg-layer-raised" : void 0),
84
84
  tabsAriaLabel: d.treeHeaderByTab[f],
@@ -103,7 +103,7 @@ var ve = (e, t) => {
103
103
  w,
104
104
  C,
105
105
  J
106
- ]), ut = g === r.Standalone && be === n.Full && G === ge.MyFiles && P, dt = s(() => ({
106
+ ]), dt = g === r.Standalone && be === n.Full && G === ge.MyFiles && P, ft = s(() => ({
107
107
  showHiddenFilesToggle: !0,
108
108
  ...Q ? { newButtonVariant: se.Neutral } : {},
109
109
  hiddenFilesSwitcherLabel: d.hiddenFilesLabel,
@@ -120,7 +120,7 @@ var ve = (e, t) => {
120
120
  label: d.newFolderLabel,
121
121
  icon: null
122
122
  },
123
- ...ut ? { uploadArchive: {
123
+ ...dt ? { uploadArchive: {
124
124
  label: d.uploadArchiveAction,
125
125
  icon: null
126
126
  } } : {}
@@ -134,16 +134,16 @@ var ve = (e, t) => {
134
134
  I,
135
135
  d.uploadFilesLabel,
136
136
  d.newFolderLabel,
137
- ut,
137
+ dt,
138
138
  d.uploadArchiveAction
139
- ]), ft = s(() => Q ? void 0 : {
139
+ ]), pt = s(() => Q ? void 0 : {
140
140
  getSelectionLabel: d.getSelectionLabel,
141
141
  actionLabels: Z
142
142
  }, [
143
143
  Q,
144
144
  d.getSelectionLabel,
145
145
  Z
146
- ]), pt = s(() => ({
146
+ ]), mt = s(() => ({
147
147
  cancelLabel: d.deleteCancelLabel,
148
148
  confirmLabel: d.deleteConfirmLabel,
149
149
  closeLabel: d.deleteCloseLabel,
@@ -155,7 +155,7 @@ var ve = (e, t) => {
155
155
  d.deleteCloseLabel,
156
156
  d.deleteConfirmTitle,
157
157
  d.deleteConfirmBody
158
- ]), mt = s(() => {
158
+ ]), ht = s(() => {
159
159
  let e;
160
160
  for (let t of h) {
161
161
  let n = ee(t);
@@ -163,7 +163,7 @@ var ve = (e, t) => {
163
163
  else if (e !== n) return;
164
164
  }
165
165
  return e;
166
- }, [h]), $ = K != null && w.has(K), ht = $ ? K : mt, gt = s(() => ({
166
+ }, [h]), $ = K != null && w.has(K), gt = $ ? K : ht, _t = s(() => ({
167
167
  copyLabel: d.copyLabel,
168
168
  moveLabel: d.moveLabel,
169
169
  addFolderLabel: d.addFolderLabel,
@@ -174,9 +174,9 @@ var ve = (e, t) => {
174
174
  movedIntoItselfTooltip: d.movedIntoItselfTooltip,
175
175
  emptyStateTitle: d.folderPickerEmptyStateTitle,
176
176
  emptyStateDescription: d.folderPickerEmptyStateDescription,
177
- sourceFolder: ht,
177
+ sourceFolder: gt,
178
178
  destinationFolderPath: K,
179
- setDestinationFolderPath: ot,
179
+ setDestinationFolderPath: st,
180
180
  filesLoading: $
181
181
  }), [
182
182
  d.copyLabel,
@@ -191,26 +191,26 @@ var ve = (e, t) => {
191
191
  d.folderPickerEmptyStateTitle,
192
192
  d.folderPickerEmptyStateDescription,
193
193
  $,
194
- ht,
194
+ gt,
195
195
  K
196
- ]), _t = o(() => {
196
+ ]), vt = o(() => {
197
197
  E(), j(), O(), M();
198
198
  }, [
199
199
  E,
200
200
  j,
201
201
  O,
202
202
  M
203
- ]), vt = o((e) => {
203
+ ]), yt = o((e) => {
204
204
  let t = ie(e);
205
205
  t?.kind === i.Upload ? D(t.entryId) : t?.kind === i.Download && A(t.entryId);
206
- }, [D, A]), yt = s(() => ae(T, k, d.uploadFailureMessages), [
206
+ }, [D, A]), bt = s(() => ae(T, k, d.uploadFailureMessages), [
207
207
  T,
208
208
  k,
209
209
  d.uploadFailureMessages
210
- ]), bt = T?.files.length ?? 0, xt = k?.files.length ?? 0, St = d.getTransferQueueTitle?.({
211
- uploads: bt,
212
- downloads: xt
213
- }) ?? d.getUploadQueueTitle(bt + xt), Ct = s(() => re({
210
+ ]), xt = T?.files.length ?? 0, St = k?.files.length ?? 0, Ct = d.getTransferQueueTitle?.({
211
+ uploads: xt,
212
+ downloads: St
213
+ }) ?? d.getUploadQueueTitle(xt + St), wt = s(() => re({
214
214
  uploadLabels: d.uploadQueueLabels,
215
215
  downloadLabels: d.downloadQueueLabels,
216
216
  mixedProgressLabel: d.transferQueueProgressAriaLabel,
@@ -222,7 +222,7 @@ var ve = (e, t) => {
222
222
  d.transferQueueProgressAriaLabel,
223
223
  T,
224
224
  k
225
- ]), wt = s(() => ({
225
+ ]), Tt = s(() => ({
226
226
  fileMetadata: H,
227
227
  loading: U,
228
228
  clearMetadata: W,
@@ -242,13 +242,13 @@ var ve = (e, t) => {
242
242
  d.metadataModifiedDateLabel,
243
243
  d.metadataSizeLabel,
244
244
  d.metadataAuthorLabel
245
- ]), Tt = ve({
246
- isDeleting: Ke,
247
- isRenaming: Ye,
245
+ ]), Et = ve({
246
+ isDeleting: qe,
247
+ isRenaming: Xe,
248
248
  isMoving: N,
249
- isUnsharing: tt,
250
- isRemovingAccess: rt
251
- }, d), Et = s(() => b.split("/").filter(Boolean).length > 1 ? {
249
+ isUnsharing: nt,
250
+ isRemovingAccess: it
251
+ }, d), Dt = s(() => b.split("/").filter(Boolean).length > 1 ? {
252
252
  title: d.folderEmptyStateTitle,
253
253
  description: ""
254
254
  } : d.emptyStateByTab[G], [
@@ -256,20 +256,20 @@ var ve = (e, t) => {
256
256
  d.folderEmptyStateTitle,
257
257
  d.emptyStateByTab,
258
258
  G
259
- ]), Dt = t({ "--dfms-surface": Oe?.colors?.surface });
259
+ ]), Ot = t({ "--dfms-surface": ke?.colors?.surface });
260
260
  return /* @__PURE__ */ l(me, { children: [
261
- je == null ? /* @__PURE__ */ l("div", {
262
- style: Dt,
261
+ Me == null ? /* @__PURE__ */ l("div", {
262
+ style: Ot,
263
263
  className: e("relative flex min-h-0 w-full grow overflow-auto", oe.surface),
264
264
  children: [/* @__PURE__ */ c(he, {
265
265
  className: e("min-h-0 w-full grow", oe.surface, Q && "p-0"),
266
266
  contentClassName: g === r.Attach ? "px-0 pb-0" : void 0,
267
267
  gridClassName: g === r.Attach ? "size-full gap-6 px-6 py-4" : "size-full",
268
- items: ke,
268
+ items: Ae,
269
269
  path: b,
270
- onPathChange: Me,
271
- onGridApiChange: st,
272
- filesLoading: Ae,
270
+ onPathChange: Ne,
271
+ onGridApiChange: ct,
272
+ filesLoading: je,
273
273
  allowedFileTypes: Se,
274
274
  maxSelectableFileSize: _,
275
275
  maxFileSize: _,
@@ -281,54 +281,55 @@ var ve = (e, t) => {
281
281
  placeholder: d.searchPlaceholderByTab?.[G]
282
282
  },
283
283
  hideSearchPathItemName: !0,
284
- onSearchFiles: Pe,
285
- searchInProgress: Fe,
286
- searchResults: Ie ?? [],
287
- clearSearchResults: Le,
288
- gridOptions: ct,
289
- treeOptions: lt,
290
- onFolderPopupPathChange: Re,
291
- toolbarOptions: dt,
292
- bulkActionsToolbarOptions: ft,
284
+ onSearchFiles: Fe,
285
+ searchInProgress: Ie,
286
+ searchResults: Le ?? [],
287
+ clearSearchResults: Re,
288
+ gridOptions: lt,
289
+ treeOptions: ut,
290
+ onFolderPopupPathChange: ze,
291
+ toolbarOptions: ft,
292
+ bulkActionsToolbarOptions: pt,
293
293
  autoSelectUploadedItems: xe,
294
- emptyStateTitle: Et.title,
295
- emptyStateDescription: Et.description,
294
+ emptyStateTitle: Dt.title,
295
+ emptyStateDescription: Dt.description,
296
296
  searchEmptyStateTitle: d.searchEmptyStateTitle,
297
297
  uploadEnabled: P,
298
- sharedWithMeIds: $e,
298
+ sharedWithMeIds: et,
299
299
  sharedByMePaths: V,
300
- onUnshareFiles: et,
301
- onRemoveFilesAccess: nt,
302
- fileMetadataPopupOptions: wt,
303
- onGetInfo: it,
300
+ onUnshareFiles: tt,
301
+ onRemoveFilesAccess: rt,
302
+ fileMetadataPopupOptions: Tt,
303
+ onGetInfo: at,
304
304
  onPreview: Ee,
305
- previewExtensions: De,
306
- onUploadFiles: ze,
307
- onUploadArchive: Be,
308
- onValidateUpload: Ve,
309
- onCreateFolder: He,
310
- onCreateFolderValidate: Ue,
311
- onDownloadFiles: We,
312
- onDeleteFiles: Ge,
313
- onMoveToFiles: qe,
314
- onCopyFiles: Xe,
315
- onRenameValidate: Je,
305
+ onTableFileClick: De,
306
+ previewExtensions: Oe,
307
+ onUploadFiles: Be,
308
+ onUploadArchive: Ve,
309
+ onValidateUpload: He,
310
+ onCreateFolder: Ue,
311
+ onCreateFolderValidate: We,
312
+ onDownloadFiles: Ge,
313
+ onDeleteFiles: Ke,
314
+ onMoveToFiles: Je,
315
+ onCopyFiles: Ze,
316
+ onRenameValidate: Ye,
316
317
  renameValidationMessages: d.renameValidationMessages,
317
318
  isRenameFileAvailable: P,
318
- deleteConfirmationOptions: pt,
319
+ deleteConfirmationOptions: mt,
319
320
  conflictResolutionPopupOptions: d.conflictResolutionPopupOptions,
320
- destinationFolderPopupOptions: gt,
321
+ destinationFolderPopupOptions: _t,
321
322
  forbiddenSymbolsRegExp: ce,
322
323
  forbiddenSymbolsTooltip: d.forbiddenSymbolsTooltip,
323
324
  getDisabledTooltip: we,
324
325
  unsupportedFileTypeTooltip: Te
325
- }), Tt != null && /* @__PURE__ */ c("div", {
326
+ }), Et != null && /* @__PURE__ */ c("div", {
326
327
  "aria-live": "polite",
327
328
  className: "absolute inset-0 z-52 flex items-center justify-center bg-backdrop desktop:p-4",
328
329
  children: /* @__PURE__ */ c(ue, {
329
330
  size: 32,
330
331
  fullWidth: !1,
331
- ariaLabel: Tt
332
+ ariaLabel: Et
332
333
  })
333
334
  })]
334
335
  }) : /* @__PURE__ */ l("div", {
@@ -336,24 +337,24 @@ var ve = (e, t) => {
336
337
  className: "flex flex-col items-center gap-4 p-6",
337
338
  children: [/* @__PURE__ */ c("p", { children: d.errorMessage }), /* @__PURE__ */ c(le, {
338
339
  label: d.retryLabel,
339
- onClick: Ne
340
+ onClick: Pe
340
341
  })]
341
342
  }),
342
343
  /* @__PURE__ */ c("div", {
343
344
  className: "fixed inset-e-4 bottom-4 z-51",
344
345
  children: /* @__PURE__ */ c(de, {
345
- title: St,
346
- items: yt,
347
- onClose: _t,
348
- onCancelItem: vt,
349
- labels: Ct
346
+ title: Ct,
347
+ items: bt,
348
+ onClose: vt,
349
+ onCancelItem: yt,
350
+ labels: wt
350
351
  })
351
352
  }),
352
- (Ze || N) && /* @__PURE__ */ c(ne, {
353
+ (Qe || N) && /* @__PURE__ */ c(ne, {
353
354
  title: N ? d.operationLoaderMoveTitle : d.operationLoaderCopyTitle,
354
355
  text: N ? d.movingLabel : d.copyingLabel,
355
356
  cancelLabel: d.operationLoaderCancelLabel,
356
- onCancel: Qe
357
+ onCancel: $e
357
358
  })
358
359
  ] });
359
360
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-shared",
3
3
  "description": "Shared domain models, utilities, and UI components for AI DIAL Chat libraries",
4
- "version": "1.3.0-dev.149",
4
+ "version": "1.3.0-dev.152",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "sideEffects": [