@epam/ai-dial-chat-shared 1.4.0-rc.2 → 1.5.0-dev.12
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":"FileManagerDestinationPanel.d.ts","sourceRoot":"","sources":["../../../src/file-manager/FileManagerDestinationPanel/FileManagerDestinationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EAEd,MAAM,kCAAkC,CAAC;AAQ1C,OAAO,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAUnE,oDAAoD;AACpD,MAAM,WAAW,gCAAgC;IAC/C,yCAAyC;IACzC,OAAO,EAAE,sBAAsB,CAAC;IAChC,uFAAuF;IACvF,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,uDAAuD;IACvD,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,qDAAqD;IACrD,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,mEAAmE;IACnE,uBAAuB,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC;IAC1E,oEAAoE;IACpE,cAAc,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IACxD,yBAAyB;IACzB,MAAM,EAAE,iCAAiC,CAAC;IAC1C,gGAAgG;IAChG,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,6GAA6G;AAC7G,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,
|
|
1
|
+
{"version":3,"file":"FileManagerDestinationPanel.d.ts","sourceRoot":"","sources":["../../../src/file-manager/FileManagerDestinationPanel/FileManagerDestinationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,sBAAsB,EAC3B,KAAK,QAAQ,EAEd,MAAM,kCAAkC,CAAC;AAQ1C,OAAO,EAAE,EAAE,EAA6C,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,WAAW,CAAC;AAUnE,oDAAoD;AACpD,MAAM,WAAW,gCAAgC;IAC/C,yCAAyC;IACzC,OAAO,EAAE,sBAAsB,CAAC;IAChC,uFAAuF;IACvF,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,uDAAuD;IACvD,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,qDAAqD;IACrD,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,mEAAmE;IACnE,uBAAuB,EAAE,qBAAqB,CAAC,yBAAyB,CAAC,CAAC;IAC1E,oEAAoE;IACpE,cAAc,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IACxD,yBAAyB;IACzB,MAAM,EAAE,iCAAiC,CAAC;IAC1C,gGAAgG;IAChG,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,6GAA6G;AAC7G,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAqQjC,CAAC"}
|
|
@@ -7,12 +7,10 @@ import { DestinationFolderMode as te, DialFileNodeType as h, FolderDestinationLa
|
|
|
7
7
|
//#region src/file-manager/FileManagerDestinationPanel/FileManagerDestinationPanel.tsx
|
|
8
8
|
var y = "files", b = ".dial_folder", x = "Failed to create the folder. Please try again.", S = ({ request: S, roots: re, loadedPaths: C, loadingPaths: w, onFolderPopupPathChange: T, onCreateFolder: E, labels: D, onFinish: O }) => {
|
|
9
9
|
let k = t(re, S.sourceFolder), A = k?.path ?? "", j = a(A).length, M = S.mode === te.Move, N = d(() => S.items.filter((e) => e.nodeType === h.FOLDER).map((e) => e.path), [S.items]), P = l(({ path: e }) => {
|
|
10
|
-
if (!M) return;
|
|
11
10
|
let t = i(A, e);
|
|
12
11
|
if (N.some((e) => n(t, e))) return D.movedIntoItselfTooltip;
|
|
13
12
|
if (a(t).join("/") === a(S.sourceFolder).join("/")) return D.sourceFolderTooltip;
|
|
14
13
|
}, [
|
|
15
|
-
M,
|
|
16
14
|
A,
|
|
17
15
|
N,
|
|
18
16
|
S.sourceFolder,
|
|
@@ -122,7 +120,8 @@ var y = "files", b = ".dial_folder", x = "Failed to create the folder. Please tr
|
|
|
122
120
|
}),
|
|
123
121
|
isDisabled: X || P(F) != null,
|
|
124
122
|
onClick: () => {
|
|
125
|
-
|
|
123
|
+
let t = e(k, Y);
|
|
124
|
+
S.confirm(t?.path ?? Y, t?.items), O();
|
|
126
125
|
}
|
|
127
126
|
}
|
|
128
127
|
});
|
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.
|
|
4
|
+
"version": "1.5.0-dev.12",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"react": "^19.2.8",
|
|
35
35
|
"react-dom": "^19.2.8",
|
|
36
36
|
"@epam/ai-dial-ui-kit": "^0.17.0",
|
|
37
|
-
"@epam/ai-dial-react-file-manager": "^0.5.
|
|
37
|
+
"@epam/ai-dial-react-file-manager": "^0.5.2"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ag-grid-community": "^35.3.0",
|