@epam/ai-dial-conversation-panel 1.3.0-dev.32 → 1.3.0-dev.321
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/ConversationGroupHeader/ConversationGroupHeader.d.ts +3 -0
- package/components/ConversationGroupHeader/ConversationGroupHeader.d.ts.map +1 -1
- package/components/ConversationList/ConversationList.d.ts +5 -0
- package/components/ConversationList/ConversationList.d.ts.map +1 -0
- package/components/ConversationListHeader/ConversationListHeader.d.ts +5 -0
- package/components/ConversationListHeader/ConversationListHeader.d.ts.map +1 -0
- package/components/ConversationListSection/ConversationListSection.d.ts +5 -0
- package/components/ConversationListSection/ConversationListSection.d.ts.map +1 -0
- package/components/ConversationPanel/ConversationPanel.d.ts.map +1 -1
- package/components/ConversationRow/ConversationRow.d.ts +8 -0
- package/components/ConversationRow/ConversationRow.d.ts.map +1 -1
- package/components/ProjectRow/ProjectRow.d.ts +24 -0
- package/components/ProjectRow/ProjectRow.d.ts.map +1 -0
- package/components/ProjectRow/ProjectSeeAllRow.d.ts +19 -0
- package/components/ProjectRow/ProjectSeeAllRow.d.ts.map +1 -0
- package/components/RenameConversationPopup/RenameConversationPopup.d.ts.map +1 -1
- package/components/RowActionsMenu/RowActionsMenu.d.ts +20 -0
- package/components/RowActionsMenu/RowActionsMenu.d.ts.map +1 -0
- package/components/RowLink/RowLink.d.ts +12 -0
- package/components/RowLink/RowLink.d.ts.map +1 -0
- package/components/RowRenderer/RowRenderer.d.ts +2 -2
- package/components/RowRenderer/RowRenderer.d.ts.map +1 -1
- package/constants/public-class-names.d.ts +6 -0
- package/constants/public-class-names.d.ts.map +1 -1
- package/constants/virtual-list.d.ts +6 -0
- package/constants/virtual-list.d.ts.map +1 -1
- package/hooks/useRowActions.d.ts +17 -0
- package/hooks/useRowActions.d.ts.map +1 -0
- package/index.css +3 -2
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +1804 -705
- package/models/conversation-list-header.d.ts +82 -0
- package/models/conversation-list-header.d.ts.map +1 -0
- package/models/conversation-list-section.d.ts +66 -0
- package/models/conversation-list-section.d.ts.map +1 -0
- package/models/conversation-list.d.ts +148 -0
- package/models/conversation-list.d.ts.map +1 -0
- package/models/panel-props.d.ts +28 -53
- package/models/panel-props.d.ts.map +1 -1
- package/models/pinned-projects.d.ts +58 -0
- package/models/pinned-projects.d.ts.map +1 -0
- package/models/virtual-row.d.ts +48 -1
- package/models/virtual-row.d.ts.map +1 -1
- package/package.json +6 -6
- package/types/conversation-kind.d.ts +7 -0
- package/types/conversation-kind.d.ts.map +1 -0
- package/types/conversation-row-variant.d.ts +8 -0
- package/types/conversation-row-variant.d.ts.map +1 -0
- package/types/virtual-row.d.ts +8 -2
- package/types/virtual-row.d.ts.map +1 -1
- package/utils/conversation-filter.d.ts +29 -0
- package/utils/conversation-filter.d.ts.map +1 -0
- package/utils/conversation-row.d.ts +17 -4
- package/utils/conversation-row.d.ts.map +1 -1
- package/components/ConversationPanel/utils.d.ts +0 -7
- package/components/ConversationPanel/utils.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-row.d.ts","sourceRoot":"","sources":["../../src/models/virtual-row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"virtual-row.d.ts","sourceRoot":"","sources":["../../src/models/virtual-row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,sBAAsB,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panel for browsing conversation history with grouping, tabs, and search",
|
|
4
|
-
"version": "1.3.0-dev.
|
|
4
|
+
"version": "1.3.0-dev.321",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"react-window": "^2.
|
|
21
|
-
"@tabler/icons-react": "^3.
|
|
22
|
-
"@epam/ai-dial-sidebar": "1.3.0-dev.
|
|
20
|
+
"react-window": "^2.5.3",
|
|
21
|
+
"@tabler/icons-react": "^3.50.0",
|
|
22
|
+
"@epam/ai-dial-sidebar": "1.3.0-dev.321"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.2.8",
|
|
26
|
-
"@epam/ai-dial-chat-shared": "1.3.0-dev.
|
|
27
|
-
"@epam/ai-dial-ui-kit": "^0.
|
|
26
|
+
"@epam/ai-dial-chat-shared": "1.3.0-dev.321",
|
|
27
|
+
"@epam/ai-dial-ui-kit": "^0.16.0-dev.72"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-kind.d.ts","sourceRoot":"","sources":["../../src/types/conversation-kind.ts"],"names":[],"mappings":"AAAA,uFAAuF;AACvF,oBAAY,sBAAsB;IAChC,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,IAAI,SAAS;CACd"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** How a conversation row presents its leading slot and metrics. */
|
|
2
|
+
export declare enum ConversationRowVariant {
|
|
3
|
+
/** Deployment avatar (or `leadingIcon`) with a trailing unread dot — the panel's rows. */
|
|
4
|
+
Avatar = "avatar",
|
|
5
|
+
/** Leading status dot with no avatar — the navigation sidebar's rows. */
|
|
6
|
+
Indicator = "indicator"
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=conversation-row-variant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-row-variant.d.ts","sourceRoot":"","sources":["../../src/types/conversation-row-variant.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,oBAAY,sBAAsB;IAChC,0FAA0F;IAC1F,MAAM,WAAW;IACjB,yEAAyE;IACzE,SAAS,cAAc;CACxB"}
|
package/types/virtual-row.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
/** Discriminates between the
|
|
1
|
+
/** Discriminates between the virtual row types in the conversation list. */
|
|
2
2
|
export declare enum VirtualRowKind {
|
|
3
3
|
Header = "header",
|
|
4
|
-
Item = "item"
|
|
4
|
+
Item = "item",
|
|
5
|
+
/** A pinned project row in the Pinned section. */
|
|
6
|
+
Project = "project",
|
|
7
|
+
/** A conversation nested under a pinned project row. */
|
|
8
|
+
ProjectConversation = "project-conversation",
|
|
9
|
+
/** The See all row that closes a pinned project's nested rows. */
|
|
10
|
+
ProjectSeeAll = "project-see-all"
|
|
5
11
|
}
|
|
6
12
|
//# sourceMappingURL=virtual-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-row.d.ts","sourceRoot":"","sources":["../../src/types/virtual-row.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"virtual-row.d.ts","sourceRoot":"","sources":["../../src/types/virtual-row.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,oBAAY,cAAc;IACxB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,kDAAkD;IAClD,OAAO,YAAY;IACnB,wDAAwD;IACxD,mBAAmB,yBAAyB;IAC5C,kEAAkE;IAClE,aAAa,oBAAoB;CAClC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FilterTab } from '@epam/ai-dial-chat-shared';
|
|
2
|
+
import { ConversationItem } from '../models/panel-props';
|
|
3
|
+
import { PinnedProjectGroup } from '../models/pinned-projects';
|
|
4
|
+
import { ConversationTypeFilter } from '../types/conversation-kind';
|
|
5
|
+
/** Returns whether a conversation item matches the currently selected filter tab. */
|
|
6
|
+
export declare const matchesTab: (item: ConversationItem, tab: FilterTab) => boolean;
|
|
7
|
+
/** Returns whether a conversation item is of the kind the type filter shows; an item without a kind is a chat. */
|
|
8
|
+
export declare const matchesKind: (item: ConversationItem, type: ConversationTypeFilter) => boolean;
|
|
9
|
+
/** Returns whether a conversation item title matches the current search query. */
|
|
10
|
+
export declare const matchesSearch: (item: ConversationItem, query: string) => boolean;
|
|
11
|
+
/** Search text and filters that narrow the pinned project trees. */
|
|
12
|
+
interface PinnedProjectFilters {
|
|
13
|
+
/** Current search text; empty keeps every project. */
|
|
14
|
+
searchQuery: string;
|
|
15
|
+
/** Origin tab applied to the list. */
|
|
16
|
+
activeFilter: FilterTab;
|
|
17
|
+
/** Kinds of conversation the list shows. */
|
|
18
|
+
activeTypeFilter: ConversationTypeFilter;
|
|
19
|
+
/** Sources excluded entirely. */
|
|
20
|
+
hiddenSources?: FilterTab[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Returns the pinned projects that the search and the filters keep, in order. A
|
|
24
|
+
* project matched by name keeps all its rows; one matched only through its chats
|
|
25
|
+
* keeps the matching chats and loses its See all row.
|
|
26
|
+
*/
|
|
27
|
+
export declare const filterPinnedProjects: (projects: PinnedProjectGroup[], { searchQuery, activeFilter, activeTypeFilter, hiddenSources, }: PinnedProjectFilters) => PinnedProjectGroup[];
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=conversation-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-filter.d.ts","sourceRoot":"","sources":["../../src/utils/conversation-filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,qFAAqF;AACrF,eAAO,MAAM,UAAU,GAAI,MAAM,gBAAgB,EAAE,KAAK,SAAS,KAAG,OAGnE,CAAC;AAEF,kHAAkH;AAClH,eAAO,MAAM,WAAW,GACtB,MAAM,gBAAgB,EACtB,MAAM,sBAAsB,KAC3B,OAMF,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,aAAa,GACxB,MAAM,gBAAgB,EACtB,OAAO,MAAM,KACZ,OAGF,CAAC;AAEF,oEAAoE;AACpE,UAAU,oBAAoB;IAC5B,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,sCAAsC;IACtC,YAAY,EAAE,SAAS,CAAC;IACxB,4CAA4C;IAC5C,gBAAgB,EAAE,sBAAsB,CAAC;IACzC,iCAAiC;IACjC,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;CAC7B;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,kBAAkB,EAAE,EAC9B,iEAKG,oBAAoB,KACtB,kBAAkB,EAoBpB,CAAC"}
|
|
@@ -1,19 +1,32 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NestedRowPosition, NestedRowProps, PinnedProjectGroup } from '../models/pinned-projects';
|
|
2
|
+
import { RowRendererData, VirtualRow } from '../models/virtual-row';
|
|
3
|
+
import { ConversationRowVariant } from '../types/conversation-row-variant';
|
|
2
4
|
/** Number of skeleton placeholder rows shown while conversations are loading. */
|
|
3
5
|
export declare const SKELETON_ROW_COUNT = 15;
|
|
4
6
|
/** Returns a pseudo-randomised width percentage for the skeleton title bar at index `i`. */
|
|
5
7
|
export declare const getSkeletonWidth: (i: number) => string;
|
|
6
8
|
/**
|
|
7
9
|
* Returns the inline-end padding Tailwind class for the row's ghost button based
|
|
8
|
-
* on action state. The reserved gutter has to cover every state in which the
|
|
10
|
+
* on action state and row variant. The reserved gutter has to cover every state in which the
|
|
9
11
|
* actions trigger is actually visible — hover *and* focus-within (see the
|
|
10
12
|
* trigger's own visibility classes in `ConversationRow`). A row keeps focus
|
|
11
13
|
* after it is clicked or dragged, so reserving on hover alone left the trigger
|
|
12
14
|
* painted on top of the title's ellipsis once the pointer moved away.
|
|
13
15
|
*/
|
|
14
|
-
export declare const getButtonPaddingEnd: (hasActions: boolean, isMenuOpen: boolean) => string;
|
|
15
|
-
/** Returns the
|
|
16
|
+
export declare const getButtonPaddingEnd: (hasActions: boolean, isMenuOpen: boolean, variant?: ConversationRowVariant) => string;
|
|
17
|
+
/** Returns the level-2 ARIA position and the indent and guide-line classes of a row nested under a project row. */
|
|
18
|
+
export declare const getNestedRowProps: (position: NestedRowPosition) => NestedRowProps;
|
|
19
|
+
/** Returns the pixel height for a virtual list row (item, first group header, or subsequent group header) in the active row variant; pinned project rows always take the `Indicator` item height. */
|
|
16
20
|
export declare const getRowHeight: (index: number, rowProps: RowRendererData) => number;
|
|
17
21
|
/** Returns how many rows to render beyond each edge of a viewport `height` pixels tall: half a viewport, at least 5. */
|
|
18
22
|
export declare const getOverscanCount: (height: number) => number;
|
|
23
|
+
/** Returns the distinct conversation IDs of item rows in the inclusive `startIndex`–`stopIndex` range, in row order. */
|
|
24
|
+
export declare const getConversationIdsInRange: (rows: VirtualRow[], { startIndex, stopIndex }: {
|
|
25
|
+
startIndex: number;
|
|
26
|
+
stopIndex: number;
|
|
27
|
+
}) => string[];
|
|
28
|
+
/** Returns true when both ID sequences hold the same IDs in the same order. */
|
|
29
|
+
export declare const isSameIdSequence: (left: string[], right: string[]) => boolean;
|
|
30
|
+
/** Returns a pinned project's rows: the project row, one row per conversation and the See all row when `hasMore` is set. */
|
|
31
|
+
export declare const buildProjectRows: (project: PinnedProjectGroup) => VirtualRow[];
|
|
19
32
|
//# sourceMappingURL=conversation-row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-row.d.ts","sourceRoot":"","sources":["../../src/utils/conversation-row.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"conversation-row.d.ts","sourceRoot":"","sources":["../../src/utils/conversation-row.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EACV,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EACnB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAErC,4FAA4F;AAC5F,eAAO,MAAM,gBAAgB,GAAI,GAAG,MAAM,WAA+B,CAAC;AAE1E;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,GAC9B,YAAY,OAAO,EACnB,YAAY,OAAO,EACnB,UAAS,sBAAsD,KAC9D,MAMF,CAAC;AAEF,mHAAmH;AACnH,eAAO,MAAM,iBAAiB,GAC5B,UAAU,iBAAiB,KAC1B,cAUD,CAAC;AAEH,qMAAqM;AACrM,eAAO,MAAM,YAAY,GACvB,OAAO,MAAM,EACb,UAAU,eAAe,KACxB,MAiBF,CAAC;AAKF,wHAAwH;AACxH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,MAAM,KAAG,MAI/C,CAAC;AAEJ,wHAAwH;AACxH,eAAO,MAAM,yBAAyB,GACpC,MAAM,UAAU,EAAE,EAClB,2BAA2B;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,KACnE,MAAM,EAWR,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,GAAI,MAAM,MAAM,EAAE,EAAE,OAAO,MAAM,EAAE,KAAG,OAEnB,CAAC;AAEjD,4HAA4H;AAC5H,eAAO,MAAM,gBAAgB,GAAI,SAAS,kBAAkB,KAAG,UAAU,EA0BxE,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FilterTab } from '@epam/ai-dial-chat-shared';
|
|
2
|
-
import { ConversationItem } from '../../models/panel-props';
|
|
3
|
-
/** Returns whether a conversation item matches the currently selected filter tab. */
|
|
4
|
-
export declare const matchesTab: (item: ConversationItem, tab: FilterTab) => boolean;
|
|
5
|
-
/** Returns whether a conversation item title matches the current search query. */
|
|
6
|
-
export declare const matchesSearch: (item: ConversationItem, query: string) => boolean;
|
|
7
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationPanel/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,qFAAqF;AACrF,eAAO,MAAM,UAAU,GAAI,MAAM,gBAAgB,EAAE,KAAK,SAAS,KAAG,OAGnE,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,aAAa,GACxB,MAAM,gBAAgB,EACtB,OAAO,MAAM,KACZ,OAGF,CAAC"}
|