@epam/ai-dial-projects 1.3.0-dev.289 → 1.3.0-dev.294
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.
- package/components/ProjectConversationsPanel/ProjectConversationsPanel.d.ts.map +1 -1
- package/components/ProjectOutputs/ProjectOutputs.d.ts +4 -0
- package/components/ProjectOutputs/ProjectOutputs.d.ts.map +1 -0
- package/index.css +2 -2
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +377 -310
- package/models/project-conversations-panel-props.d.ts +2 -0
- package/models/project-conversations-panel-props.d.ts.map +1 -1
- package/models/project-outputs-props.d.ts +66 -0
- package/models/project-outputs-props.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -26,6 +26,8 @@ export interface ProjectConversationsPanelLabels {
|
|
|
26
26
|
export interface ProjectConversationsPanelProps {
|
|
27
27
|
/** Content above the Chats list, typically the host's chat input; omitted when unset. */
|
|
28
28
|
composer?: ReactNode;
|
|
29
|
+
/** Content between `composer` and the Chats list, typically the host's Outputs section; omitted when unset. */
|
|
30
|
+
outputs?: ReactNode;
|
|
29
31
|
/** Conversations, in display order. */
|
|
30
32
|
items: ProjectConversationListItem[];
|
|
31
33
|
/** Shows the list's loading state. Defaults to `false`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-conversations-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/project-conversations-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EAClC,MAAM,mCAAmC,CAAC;AAE3C,yEAAyE;AACzE,MAAM,WAAW,+BAA+B;IAC9C,iCAAiC;IACjC,IAAI,EAAE,6BAA6B,CAAC;IACpC,kCA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,8CAA8C;IAC9C,cAAc,CAAC,EAAE,iCAAiC,CAAC;IACnD,yCAAyC;IACzC,UAAU,CAAC,EAAE,6BAA6B,CAAC;CAC5C"}
|
|
1
|
+
{"version":3,"file":"project-conversations-panel-props.d.ts","sourceRoot":"","sources":["../../src/models/project-conversations-panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EACV,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EAClC,MAAM,mCAAmC,CAAC;AAE3C,yEAAyE;AACzE,MAAM,WAAW,+BAA+B;IAC9C,iCAAiC;IACjC,IAAI,EAAE,6BAA6B,CAAC;IACpC,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,gBAAgB,EAAE,MAAM,CAAC;IACzB,+CAA+C;IAC/C,gBAAgB,EAAE,MAAM,CAAC;IACzB,gDAAgD;IAChD,eAAe,EAAE,MAAM,CAAC;IACxB,0EAA0E;IAC1E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mEAAmE;IACnE,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACvC,uCAAuC;IACvC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,6DAA6D;IAC7D,YAAY,CAAC,EAAE,8BAA8B,CAAC;CAC/C;AAED,iEAAiE;AACjE,MAAM,WAAW,8BAA8B;IAC7C,yFAAyF;IACzF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,+GAA+G;IAC/G,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,uCAAuC;IACvC,KAAK,EAAE,2BAA2B,EAAE,CAAC;IACrC,2DAA2D;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,+HAA+H;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2FAA2F;IAC3F,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,qEAAqE;IACrE,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,qGAAqG;IACrG,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3D,qGAAqG;IACrG,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,wBAAwB;IACxB,MAAM,EAAE,+BAA+B,CAAC;IACxC,8CAA8C;IAC9C,cAAc,CAAC,EAAE,iCAAiC,CAAC;IACnD,yCAAyC;IACzC,UAAU,CAAC,EAAE,6BAA6B,CAAC;CAC5C"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/** One output of a project, as the {@link ProjectOutputs} section renders it. */
|
|
2
|
+
export interface ProjectOutputItem {
|
|
3
|
+
/** File name; also the card's id. */
|
|
4
|
+
name: string;
|
|
5
|
+
/** MIME type, used for the card's type icon; empty when unknown. */
|
|
6
|
+
contentType: string;
|
|
7
|
+
}
|
|
8
|
+
/** Localized labels used by the {@link ProjectOutputs} component. */
|
|
9
|
+
export interface ProjectOutputsLabels {
|
|
10
|
+
/** Section heading. Defaults to `'Outputs'`. */
|
|
11
|
+
title?: string;
|
|
12
|
+
/** Label of the action that shows every output, e.g. "See all (9)". Defaults to `` (count) => `See all (${count})` ``. */
|
|
13
|
+
seeAllLabel?: (count: number) => string;
|
|
14
|
+
/** Label of the action that returns to the preview row. Defaults to `'Show less'`. */
|
|
15
|
+
showLessLabel?: string;
|
|
16
|
+
/** Accessible name of an output card, e.g. "Preview report.pdf". Defaults to `` (name) => `Preview ${name}` ``. */
|
|
17
|
+
openOutputLabel?: (name: string) => string;
|
|
18
|
+
/** Shown when the outputs could not be loaded. Defaults to `'Could not load outputs'`. */
|
|
19
|
+
errorLabel?: string;
|
|
20
|
+
/** Retry action label. Defaults to `'Retry'`. */
|
|
21
|
+
retryLabel?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Color overrides for the {@link ProjectOutputs} component, applied as CSS
|
|
25
|
+
* custom properties with app theme fallbacks.
|
|
26
|
+
*/
|
|
27
|
+
export interface ProjectOutputsColors {
|
|
28
|
+
/** The section heading. Fallback: `--text-primary`. */
|
|
29
|
+
headingText?: string;
|
|
30
|
+
/** The error text. Fallback: `--text-secondary`. */
|
|
31
|
+
secondaryText?: string;
|
|
32
|
+
}
|
|
33
|
+
/** Typography overrides for the {@link ProjectOutputs} component. */
|
|
34
|
+
export interface ProjectOutputsTypography {
|
|
35
|
+
/** CSS class applied to the section heading. Defaults to `'dial-body-semi-text'`. */
|
|
36
|
+
titleClassName?: string;
|
|
37
|
+
/** CSS class applied to the error text. Defaults to `'dial-tiny-text'`. */
|
|
38
|
+
helperClassName?: string;
|
|
39
|
+
}
|
|
40
|
+
/** Style overrides for the {@link ProjectOutputs} component. */
|
|
41
|
+
export interface ProjectOutputsStyles {
|
|
42
|
+
/** Color overrides applied as CSS custom properties. */
|
|
43
|
+
colors?: ProjectOutputsColors;
|
|
44
|
+
/** Typography class overrides. */
|
|
45
|
+
typography?: ProjectOutputsTypography;
|
|
46
|
+
}
|
|
47
|
+
/** Props for the {@link ProjectOutputs} component. */
|
|
48
|
+
export interface ProjectOutputsProps {
|
|
49
|
+
/** Outputs, in display order. */
|
|
50
|
+
items: ProjectOutputItem[];
|
|
51
|
+
/** Called with a file name when the user activates its card; the host decides what that opens. */
|
|
52
|
+
onOpenOutput: (name: string) => void;
|
|
53
|
+
/** Name of the output whose card renders selected; no card is selected when unset. */
|
|
54
|
+
selectedOutputName?: string;
|
|
55
|
+
/** Shows the error text, and the retry action when `onRetry` is set, instead of the cards; focus moves to the heading when it clears after a retry. Defaults to `false`. */
|
|
56
|
+
hasError?: boolean;
|
|
57
|
+
/** Called from the retry action of the error state; the action is hidden when omitted. */
|
|
58
|
+
onRetry?: () => void;
|
|
59
|
+
/** Number of cards shown before "See all". Defaults to `6`. */
|
|
60
|
+
previewLimit?: number;
|
|
61
|
+
/** Localized labels. */
|
|
62
|
+
labels?: ProjectOutputsLabels;
|
|
63
|
+
/** Color and typography overrides. */
|
|
64
|
+
styles?: ProjectOutputsStyles;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=project-outputs-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-outputs-props.d.ts","sourceRoot":"","sources":["../../src/models/project-outputs-props.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,MAAM,WAAW,iBAAiB;IAChC,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,qEAAqE;AACrE,MAAM,WAAW,oBAAoB;IACnC,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0HAA0H;IAC1H,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC,sFAAsF;IACtF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mHAAmH;IACnH,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,0FAA0F;IAC1F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qEAAqE;AACrE,MAAM,WAAW,wBAAwB;IACvC,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,gEAAgE;AAChE,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,kCAAkC;IAClC,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACvC;AAED,sDAAsD;AACtD,MAAM,WAAW,mBAAmB;IAClC,iCAAiC;IACjC,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,kGAAkG;IAClG,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,sFAAsF;IACtF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,4KAA4K;IAC5K,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0FAA0F;IAC1F,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB;IACxB,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,sCAAsC;IACtC,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-projects",
|
|
3
3
|
"description": "Presentational Projects page shell, New and Edit project form, and project view — searchable, sortable grid of the projects available to a user",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.294",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@epam/ai-dial-attachment-input": "1.3.0-dev.
|
|
21
|
-
"@epam/ai-dial-builder-form": "1.3.0-dev.
|
|
20
|
+
"@epam/ai-dial-attachment-input": "1.3.0-dev.294",
|
|
21
|
+
"@epam/ai-dial-builder-form": "1.3.0-dev.294",
|
|
22
22
|
"@tabler/icons-react": "^3.50.0",
|
|
23
23
|
"@uiw/react-markdown-preview": "^5.2.1",
|
|
24
24
|
"@uiw/react-md-editor": "^4.2.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
28
|
-
"@epam/ai-dial-ui-kit": "^0.16.0-dev.
|
|
27
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.294",
|
|
28
|
+
"@epam/ai-dial-ui-kit": "^0.16.0-dev.67",
|
|
29
29
|
"react": "^19.2.8"
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|