@epam/ai-dial-conversation-panel 1.2.0-dev.3 → 1.2.0-dev.300
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.map +1 -1
- package/components/ConversationPanel/ConversationPanel.d.ts.map +1 -1
- package/components/ConversationRow/ConversationRow.d.ts +1 -4
- package/components/ConversationRow/ConversationRow.d.ts.map +1 -1
- package/components/FilterTabs/FilterTabs.d.ts +5 -0
- package/components/FilterTabs/FilterTabs.d.ts.map +1 -1
- package/components/NewChatButton/NewChatButton.d.ts +7 -0
- package/components/NewChatButton/NewChatButton.d.ts.map +1 -1
- package/components/RenameConversationPopup/RenameConversationPopup.d.ts.map +1 -1
- package/components/RowRenderer/RowRenderer.d.ts.map +1 -1
- package/constants/public-class-names.d.ts +7 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/index.css +2 -2
- package/index.d.ts +1 -3
- package/index.d.ts.map +1 -1
- package/index.js +432 -650
- package/models/panel-props.d.ts +28 -14
- package/models/panel-props.d.ts.map +1 -1
- package/models/virtual-row.d.ts +0 -2
- package/models/virtual-row.d.ts.map +1 -1
- package/package.json +4 -4
- package/utils/conversation-row.d.ts +2 -0
- package/utils/conversation-row.d.ts.map +1 -1
- package/components/ImportExportQueue/ImportExportQueue.d.ts +0 -6
- package/components/ImportExportQueue/ImportExportQueue.d.ts.map +0 -1
- package/components/ImportExportQueueHeader/ImportExportQueueHeader.d.ts +0 -24
- package/components/ImportExportQueueHeader/ImportExportQueueHeader.d.ts.map +0 -1
- package/components/ImportExportQueueRow/ImportExportQueueRow.d.ts +0 -17
- package/components/ImportExportQueueRow/ImportExportQueueRow.d.ts.map +0 -1
- package/constants/import-export-queue.d.ts +0 -4
- package/constants/import-export-queue.d.ts.map +0 -1
- package/models/import-export-queue.d.ts +0 -113
- package/models/import-export-queue.d.ts.map +0 -1
- package/utils/transfer-file.d.ts +0 -10
- package/utils/transfer-file.d.ts.map +0 -1
package/models/panel-props.d.ts
CHANGED
|
@@ -32,11 +32,17 @@ export interface ConversationItem {
|
|
|
32
32
|
isIconLoading?: boolean;
|
|
33
33
|
/** Conversation URL. When provided, middle-click opens it in a new tab. */
|
|
34
34
|
href?: string;
|
|
35
|
-
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Decorative node rendered in the leading slot instead of the deployment
|
|
37
|
+
* avatar (`iconUrl`, `iconTooltip` and `isIconLoading` are then ignored).
|
|
38
|
+
* Its meaning belongs to the host; it should fit the 24px avatar footprint
|
|
39
|
+
* and be `aria-hidden`, since the row is named by its title.
|
|
40
|
+
*/
|
|
41
|
+
leadingIcon?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* When `true`, the title renders in a heavier weight and an unread dot with a
|
|
44
|
+
* visually hidden label is rendered at the row's trailing edge.
|
|
45
|
+
*/
|
|
40
46
|
isUnread?: boolean;
|
|
41
47
|
}
|
|
42
48
|
/** Font overrides for the header title in `ConversationPanel`. */
|
|
@@ -58,7 +64,7 @@ export interface NewChatButtonColors {
|
|
|
58
64
|
background?: string;
|
|
59
65
|
/** Label and icon color. */
|
|
60
66
|
text?: string;
|
|
61
|
-
/** Keyboard focus ring color. Defaults to `--stroke-focus
|
|
67
|
+
/** Keyboard focus ring color. Defaults to `--stroke-focus`. */
|
|
62
68
|
focusOutline?: string;
|
|
63
69
|
}
|
|
64
70
|
/** CSS custom-property overrides for `ConversationPanel`. */
|
|
@@ -85,12 +91,6 @@ export interface ConversationColors {
|
|
|
85
91
|
triggerIconIdle?: string;
|
|
86
92
|
/** Shimmer color of the loading skeleton avatar. */
|
|
87
93
|
skeletonColor?: string;
|
|
88
|
-
/** Border color of the task pill badge. Defaults to `--stroke-tertiary`. */
|
|
89
|
-
taskBadgeBorder?: string;
|
|
90
|
-
/** Background color of the task pill badge. Defaults to `--bg-layer-base`. */
|
|
91
|
-
taskBadgeBackground?: string;
|
|
92
|
-
/** Text color of the task pill badge. Defaults to `--text-secondary`. */
|
|
93
|
-
taskBadgeText?: string;
|
|
94
94
|
/** Fill color of the unread indicator dot. Defaults to `--text-accent`. */
|
|
95
95
|
unreadDot?: string;
|
|
96
96
|
}
|
|
@@ -104,8 +104,22 @@ export interface ConversationPanelStyles {
|
|
|
104
104
|
typography?: ConversationPanelTypography;
|
|
105
105
|
/** CSS class applied to the icon badge in each conversation row. Defaults to `'rounded-full'`. */
|
|
106
106
|
itemIconBadgeClassName?: string;
|
|
107
|
-
/**
|
|
108
|
-
|
|
107
|
+
/**
|
|
108
|
+
* Extra class name(s) merged onto the panel's header bar. The header is
|
|
109
|
+
* `h-[64px]` by default; a `h-*` utility passed here replaces that height
|
|
110
|
+
* rather than losing to it, so a host does not need `!important` on
|
|
111
|
+
* `.dial-sb-header`.
|
|
112
|
+
*/
|
|
113
|
+
headerClassName?: string;
|
|
114
|
+
/** Extra class name(s) merged onto the header's trailing action cluster — `headerActions` and the panel toggle. */
|
|
115
|
+
headerActionsClassName?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Extra class name(s) merged onto the New chat button. Its `h-[36px]` height
|
|
118
|
+
* and `shadow-chat-button` elevation are merged, not fixed, so a `h-*` or
|
|
119
|
+
* `shadow-*` utility passed here replaces them. The corner radius is themed
|
|
120
|
+
* separately, through the kit's `--radius-control`.
|
|
121
|
+
*/
|
|
122
|
+
newChatButtonClassName?: string;
|
|
109
123
|
/**
|
|
110
124
|
* Extra CSS class merged onto the search field's wrapper. The wrapper's
|
|
111
125
|
* corner radius is themed with the `--cp-search-radius` custom property, so
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel-props.d.ts","sourceRoot":"","sources":["../../src/models/panel-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KA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gBAAgB,KAAK,YAAY,EAAE,CAAC;IACxD,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,CACjB,IAAI,EAAE,gBAAgB,EACtB,OAAO,EAAE,iBAAiB,KACvB,IAAI,CAAC;IACV,6GAA6G;IAC7G,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,8DAA8D;IAC9D,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,gGAAgG;IAChG,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,iDAAiD;IACjD,oBAAoB,CAAC,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;IAChD;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,SAAS,EAAE,CAAC;CAC7B;AAED,0EAA0E;AAC1E,MAAM,WAAW,gBAAgB;IAC/B,+CAA+C;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,cAAc,EAAE,SAAS,CAAC;IAC1B,kEAAkE;IAClE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB"}
|
package/models/virtual-row.d.ts
CHANGED
|
@@ -30,8 +30,6 @@ interface RowStyles {
|
|
|
30
30
|
itemTitleClassName?: string;
|
|
31
31
|
/** CSS class applied to the icon badge in each conversation row. */
|
|
32
32
|
itemIconBadgeClassName?: string;
|
|
33
|
-
/** CSS class applied to the task pill badge in each conversation row. */
|
|
34
|
-
taskBadgeClassName?: string;
|
|
35
33
|
}
|
|
36
34
|
/** Data passed to every virtual row renderer via `react-window`'s `rowProps`. */
|
|
37
35
|
export interface RowRendererData {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"virtual-row.d.ts","sourceRoot":"","sources":["../../src/models/virtual-row.ts"],"names":[],"mappings":"AAAA,OA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AI,CAAC;IACV,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iFAAiF;IACjF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kEAAkE;IAClE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,0FAA0F;IAC1F,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,qFAAqF;IACrF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,mGAAmG;IACnG,iBAAiB,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC;IACzC,+DAA+D;IAC/D,WAAW,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,kDAAkD;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,gDAAgD;IAChD,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,4EAA4E;IAC5E,MAAM,EAAE,CACN,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,SAAS,EACzB,OAAO,EAAE,MAAM,GAAG,IAAI,KACnB,IAAI,CAAC;CACX"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-conversation-panel",
|
|
3
3
|
"description": "Virtualized sidebar panel for browsing conversation history with grouping, tabs, and search",
|
|
4
|
-
"version": "1.2.0-dev.
|
|
4
|
+
"version": "1.2.0-dev.300",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"react-window": "^2.2.7",
|
|
21
21
|
"@tabler/icons-react": "^3.44.0",
|
|
22
|
-
"@epam/ai-dial-sidebar": "1.2.0-dev.
|
|
22
|
+
"@epam/ai-dial-sidebar": "1.2.0-dev.300"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"react": "^19.2.8",
|
|
26
|
-
"@epam/ai-dial-chat-shared": "1.2.0-dev.
|
|
27
|
-
"@epam/ai-dial-ui-kit": "^0.
|
|
26
|
+
"@epam/ai-dial-chat-shared": "1.2.0-dev.300",
|
|
27
|
+
"@epam/ai-dial-ui-kit": "^0.15.0-dev.39"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
30
30
|
"type": "git",
|
|
@@ -14,4 +14,6 @@ export declare const getSkeletonWidth: (i: number) => string;
|
|
|
14
14
|
export declare const getButtonPaddingEnd: (hasActions: boolean, isMenuOpen: boolean) => string;
|
|
15
15
|
/** Returns the pixel height for a virtual list row (item, first group header, or subsequent group header). */
|
|
16
16
|
export declare const getRowHeight: (index: number, rowProps: RowRendererData) => number;
|
|
17
|
+
/** Returns how many rows to render beyond each edge of a viewport `height` pixels tall: half a viewport, at least 5. */
|
|
18
|
+
export declare const getOverscanCount: (height: number) => number;
|
|
17
19
|
//# 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":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,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,KAClB,MAIF,CAAC;AAEF,8GAA8G;AAC9G,eAAO,MAAM,YAAY,GACvB,OAAO,MAAM,EACb,UAAU,eAAe,KACxB,MAIF,CAAC"}
|
|
1
|
+
{"version":3,"file":"conversation-row.d.ts","sourceRoot":"","sources":["../../src/utils/conversation-row.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,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,KAClB,MAIF,CAAC;AAEF,8GAA8G;AAC9G,eAAO,MAAM,YAAY,GACvB,OAAO,MAAM,EACb,UAAU,eAAe,KACxB,MAIF,CAAC;AAKF,wHAAwH;AACxH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,MAAM,KAAG,MAI/C,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ImportExportQueueProps } from '../../models/import-export-queue';
|
|
3
|
-
export type { ImportExportQueueLabels, ImportExportQueueProps, ImportExportQueueStyles, } from '../../models/import-export-queue';
|
|
4
|
-
/** Floating queue panel showing the status of in-flight or recently completed export/import jobs. */
|
|
5
|
-
export declare const ImportExportQueue: FC<ImportExportQueueProps>;
|
|
6
|
-
//# sourceMappingURL=ImportExportQueue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportExportQueue.d.ts","sourceRoot":"","sources":["../../../src/components/ImportExportQueue/ImportExportQueue.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAiD,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAE/E,OAAO,KAAK,EAEV,sBAAsB,EACvB,MAAM,kCAAkC,CAAC;AAK1C,YAAY,EACV,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAiC1C,qGAAqG;AACrG,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAuIxD,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ImportExportQueueLabels, ImportExportQueueStyles } from '../../models/import-export-queue';
|
|
3
|
-
/** Props for `ImportExportQueueHeader`. */
|
|
4
|
-
export interface ImportExportQueueHeaderProps {
|
|
5
|
-
/** Heading text, rendered verbatim — the host composes any count into it. */
|
|
6
|
-
title: string;
|
|
7
|
-
/** How many jobs have failed; the badge renders only when this is positive. */
|
|
8
|
-
failedCount: number;
|
|
9
|
-
/** Whether the job rows are currently hidden. */
|
|
10
|
-
isCollapsed: boolean;
|
|
11
|
-
/** Id of the rows container the collapse toggle controls. */
|
|
12
|
-
jobsId: string;
|
|
13
|
-
/** User-visible string labels, supplied by the host. */
|
|
14
|
-
labels: ImportExportQueueLabels;
|
|
15
|
-
/** Color, typography, class, and CSS-variable overrides. */
|
|
16
|
-
styles?: ImportExportQueueStyles;
|
|
17
|
-
/** Called when the collapse/expand toggle is activated. */
|
|
18
|
-
onToggleCollapse: () => void;
|
|
19
|
-
/** Called when the close control is activated. */
|
|
20
|
-
onClose: () => void;
|
|
21
|
-
}
|
|
22
|
-
/** Queue heading with its failed-job badge and the collapse and close controls. */
|
|
23
|
-
export declare const ImportExportQueueHeader: FC<ImportExportQueueHeaderProps>;
|
|
24
|
-
//# sourceMappingURL=ImportExportQueueHeader.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportExportQueueHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ImportExportQueueHeader/ImportExportQueueHeader.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAG1C,2CAA2C;AAC3C,MAAM,WAAW,4BAA4B;IAC3C,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,WAAW,EAAE,OAAO,CAAC;IACrB,6DAA6D;IAC7D,MAAM,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,MAAM,EAAE,uBAAuB,CAAC;IAChC,4DAA4D;IAC5D,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,2DAA2D;IAC3D,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,kDAAkD;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAyFpE,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ConversationTransferJob } from '@epam/ai-dial-chat-shared';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { ImportExportQueueLabels, ImportExportQueueStyles } from '../../models/import-export-queue';
|
|
4
|
-
/** Props for `ImportExportQueueRow`. */
|
|
5
|
-
export interface ImportExportQueueRowProps {
|
|
6
|
-
/** The transfer job this row represents. */
|
|
7
|
-
job: ConversationTransferJob;
|
|
8
|
-
/** User-visible string labels, supplied by the host. */
|
|
9
|
-
labels: ImportExportQueueLabels;
|
|
10
|
-
/** Called with the job id when the user cancels an in-progress job. */
|
|
11
|
-
onCancel: (jobId: string) => void;
|
|
12
|
-
/** Color, typography, class, and CSS-variable overrides. */
|
|
13
|
-
styles?: ImportExportQueueStyles;
|
|
14
|
-
}
|
|
15
|
-
/** One queue row: the transferred file's icon and name, plus a trailing status slot. */
|
|
16
|
-
export declare const ImportExportQueueRow: FC<ImportExportQueueRowProps>;
|
|
17
|
-
//# sourceMappingURL=ImportExportQueueRow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ImportExportQueueRow.d.ts","sourceRoot":"","sources":["../../../src/components/ImportExportQueueRow/ImportExportQueueRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AAgBnC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,kCAAkC,CAAC;AAI1C,wCAAwC;AACxC,MAAM,WAAW,yBAAyB;IACxC,4CAA4C;IAC5C,GAAG,EAAE,uBAAuB,CAAC;IAC7B,wDAAwD;IACxD,MAAM,EAAE,uBAAuB,CAAC;IAChC,uEAAuE;IACvE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,4DAA4D;IAC5D,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC;AAED,wFAAwF;AACxF,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAsH9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import-export-queue.d.ts","sourceRoot":"","sources":["../../src/constants/import-export-queue.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,eAAO,MAAM,mBAAmB,OAAO,CAAC;AAExC,eAAO,MAAM,iBAAiB,qDACsB,CAAC"}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { ConversationTransferErrorCode, ConversationTransferJob, ConversationTransferWarningCode } from '@epam/ai-dial-chat-shared';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
/** Labels for every user-visible string in `ImportExportQueue`. */
|
|
4
|
-
export interface ImportExportQueueLabels {
|
|
5
|
-
/** Returns the accessible name for the cancel control of an in-progress job. */
|
|
6
|
-
cancelJobAriaLabel: (fileName: string) => string;
|
|
7
|
-
/** Trailing text shown on a canceled row. */
|
|
8
|
-
canceledLabel: string;
|
|
9
|
-
/** Returns the tooltip text explaining why a job failed. */
|
|
10
|
-
jobErrorMessage: (code: ConversationTransferErrorCode | undefined) => string;
|
|
11
|
-
/** Returns the accessible name for a row's in-progress spinner. */
|
|
12
|
-
jobProgressAriaLabel: (fileName: string) => string;
|
|
13
|
-
/** Returns the tooltip text explaining what a warned job left out. */
|
|
14
|
-
jobWarningMessage: (code: ConversationTransferWarningCode | undefined) => string;
|
|
15
|
-
/** Accessible name for the collapsed queue's aggregate progress bar. */
|
|
16
|
-
queueProgressAriaLabel: string;
|
|
17
|
-
/**
|
|
18
|
-
* Returns the aggregate bar's `aria-valuetext`. Given settled and total job
|
|
19
|
-
* counts rather than a percentage, because "3 of 10 files" reads better than
|
|
20
|
-
* "36%" when the work is a list of files.
|
|
21
|
-
*/
|
|
22
|
-
queueProgressValueText: (completed: number, total: number) => string;
|
|
23
|
-
/** Accessible name for the queue collapse toggle when the panel is expanded. */
|
|
24
|
-
collapseQueueAriaLabel: string;
|
|
25
|
-
/** Accessible name for the queue expand toggle when the panel is collapsed. */
|
|
26
|
-
expandQueueAriaLabel: string;
|
|
27
|
-
/** Accessible name for the queue close button. */
|
|
28
|
-
closeQueueAriaLabel: string;
|
|
29
|
-
/** Heading text of the close-confirmation dialog. */
|
|
30
|
-
closeQueueConfirmHeader: string;
|
|
31
|
-
/** Confirmation dialog description when at least one job is InProgress and none are Failed. */
|
|
32
|
-
closeQueueConfirmDescriptionInProgress: string;
|
|
33
|
-
/** Confirmation dialog description when at least one job is Failed and none are InProgress. */
|
|
34
|
-
closeQueueConfirmDescriptionFailed: string;
|
|
35
|
-
/** Confirmation dialog description when there are both InProgress and Failed jobs. */
|
|
36
|
-
closeQueueConfirmDescriptionMixed: string;
|
|
37
|
-
/** Label for the confirmation dialog's confirm button. */
|
|
38
|
-
closeLabel: string;
|
|
39
|
-
/** Label for the confirmation dialog's cancel button. */
|
|
40
|
-
cancelLabel: string;
|
|
41
|
-
}
|
|
42
|
-
/** Color overrides for `ImportExportQueue`. */
|
|
43
|
-
export interface ImportExportQueueColors {
|
|
44
|
-
/** Queue panel background. */
|
|
45
|
-
background?: string;
|
|
46
|
-
/** Heading and job-label text. */
|
|
47
|
-
text?: string;
|
|
48
|
-
/** Neutral icon color and the canceled row's dimmed file name. */
|
|
49
|
-
textSecondary?: string;
|
|
50
|
-
/** Successful-job status icon color. */
|
|
51
|
-
successIcon?: string;
|
|
52
|
-
/** Failed-job status icon color. */
|
|
53
|
-
errorIcon?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Warned-job status icon color. The aggregate progress bar has no
|
|
56
|
-
* counterpart here: it is the UI kit's `ProgressBar`, which themes its own
|
|
57
|
-
* track and fill from the same 2.0 tokens.
|
|
58
|
-
*/
|
|
59
|
-
warningIcon?: string;
|
|
60
|
-
/** Divider between the header and the job rows. */
|
|
61
|
-
divider?: string;
|
|
62
|
-
/** Failed-job count badge background. */
|
|
63
|
-
failureCountBackground?: string;
|
|
64
|
-
/** Failed-job count badge text. */
|
|
65
|
-
failureCountText?: string;
|
|
66
|
-
}
|
|
67
|
-
/** Typography class overrides for `ImportExportQueue`. */
|
|
68
|
-
export interface ImportExportQueueTypography {
|
|
69
|
-
/** Class applied to the queue heading. Defaults to `'dial-small-semi-text'`. */
|
|
70
|
-
titleClassName?: string;
|
|
71
|
-
/** Class applied to a job's file name. Defaults to `'dial-small-text'`. */
|
|
72
|
-
jobLabelClassName?: string;
|
|
73
|
-
/** Class applied to the canceled row's trailing label. Defaults to `'dial-small-text'`. */
|
|
74
|
-
canceledLabelClassName?: string;
|
|
75
|
-
/** Class applied to the failed-job count badge. Defaults to `'dial-small-semi-text'`. */
|
|
76
|
-
failureCountClassName?: string;
|
|
77
|
-
}
|
|
78
|
-
/** Combined style overrides for `ImportExportQueue`. */
|
|
79
|
-
export interface ImportExportQueueStyles {
|
|
80
|
-
/** Color overrides applied as CSS custom properties. */
|
|
81
|
-
colors?: ImportExportQueueColors;
|
|
82
|
-
/** Typography class overrides. */
|
|
83
|
-
typography?: ImportExportQueueTypography;
|
|
84
|
-
/** Extra class name(s) merged onto the queue root. */
|
|
85
|
-
rootClassName?: string;
|
|
86
|
-
/** Extra class name(s) merged onto the scrollable jobs container. */
|
|
87
|
-
bodyClassName?: string;
|
|
88
|
-
/** Arbitrary CSS custom properties applied after typed color overrides. */
|
|
89
|
-
cssVars?: CSSProperties;
|
|
90
|
-
}
|
|
91
|
-
/** Props accepted by `ImportExportQueue`. */
|
|
92
|
-
export interface ImportExportQueueProps {
|
|
93
|
-
/**
|
|
94
|
-
* Queue panel heading, rendered verbatim. The host composes any count into
|
|
95
|
-
* it (e.g. `t(key, { count: jobs.length })`); the component never pluralizes.
|
|
96
|
-
*/
|
|
97
|
-
title: string;
|
|
98
|
-
/** Current list of transfer jobs. */
|
|
99
|
-
jobs: ConversationTransferJob[];
|
|
100
|
-
/** Called when the queue should close (after confirmation if needed). */
|
|
101
|
-
onClose: () => void;
|
|
102
|
-
/**
|
|
103
|
-
* Called with the job id when the user cancels an in-progress job. The host
|
|
104
|
-
* is expected to abort the work and leave the job in `jobs` with status
|
|
105
|
-
* `Canceled`.
|
|
106
|
-
*/
|
|
107
|
-
onCancel: (jobId: string) => void;
|
|
108
|
-
/** User-visible string labels. */
|
|
109
|
-
labels: ImportExportQueueLabels;
|
|
110
|
-
/** Color, typography, class, and CSS-variable overrides. */
|
|
111
|
-
styles?: ImportExportQueueStyles;
|
|
112
|
-
}
|
|
113
|
-
//# sourceMappingURL=import-export-queue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"import-export-queue.d.ts","sourceRoot":"","sources":["../../src/models/import-export-queue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,uBAAuB,EACvB,+BAA+B,EAChC,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,gFAAgF;IAChF,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,6CAA6C;IAC7C,aAAa,EAAE,MAAM,CAAC;IACtB,4DAA4D;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,6BAA6B,GAAG,SAAS,KA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C;IACnC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,0DAA0D;AAC1D,MAAM,WAAW,2BAA2B;IAC1C,gFAAgF;IAChF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,2EAA2E;IAC3E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,yFAAyF;IACzF,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,kCAAkC;IAClC,UAAU,CAAC,EAAE,2BAA2B,CAAC;IACzC,sDAAsD;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED,6CAA6C;AAC7C,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,IAAI,EAAE,uBAAuB,EAAE,CAAC;IAChC,yEAAyE;IACzE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,kCAAkC;IAClC,MAAM,EAAE,uBAAuB,CAAC;IAChC,4DAA4D;IAC5D,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC"}
|
package/utils/transfer-file.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IconFile } from '@tabler/icons-react';
|
|
2
|
-
type TransferFileIcon = typeof IconFile;
|
|
3
|
-
/**
|
|
4
|
-
* Returns the icon for a transfer row, chosen from the file name's extension:
|
|
5
|
-
* the archive icon for `.dial`/`.zip`, the JSON icon for `.json`, and a
|
|
6
|
-
* generic file icon for anything else.
|
|
7
|
-
*/
|
|
8
|
-
export declare const getTransferFileIcon: (fileName: string) => TransferFileIcon;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=transfer-file.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-file.d.ts","sourceRoot":"","sources":["../../src/utils/transfer-file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAyB,MAAM,qBAAqB,CAAC;AAGtE,KAAK,gBAAgB,GAAG,OAAO,QAAQ,CAAC;AAIxC;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,UAAU,MAAM,KAAG,gBAStD,CAAC"}
|