@epam/ai-dial-scheduled-tasks 1.3.0-dev.102 → 1.3.0-dev.105
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.
|
@@ -14,6 +14,8 @@ export interface ScheduledTaskConversationHistorySectionLabels {
|
|
|
14
14
|
errorLabel: string;
|
|
15
15
|
/** Label for the retry action shown alongside `error`. */
|
|
16
16
|
retryLabel: string;
|
|
17
|
+
/** Message shown instead of the run list while `isUnavailable` is `true`, e.g. "History is unavailable". */
|
|
18
|
+
unavailableLabel?: string;
|
|
17
19
|
/** Label for the "Show more" footer button, rendered while `hasMore` is `true` and `isLoading` is `false`. Required when `onLoadMore` is supplied. */
|
|
18
20
|
showMoreLabel?: string;
|
|
19
21
|
/** Per-status label used to build each run row's accessible name, e.g. `{ success: 'Succeeded', ... }`. */
|
|
@@ -39,6 +41,8 @@ export interface ScheduledTaskConversationHistorySectionProps {
|
|
|
39
41
|
error?: Error | null;
|
|
40
42
|
/** Called when the user activates the retry action shown alongside `error`. */
|
|
41
43
|
onRetry?: () => void;
|
|
44
|
+
/** When `true`, the history exists but cannot be shown (e.g. a task shared by its owner): `labels.unavailableLabel` replaces the run list, `error`, and the retry action. Defaults to `false`. */
|
|
45
|
+
isUnavailable?: boolean;
|
|
42
46
|
/** Whether another page of `items` is available beyond what has been loaded. Defaults to `false`. */
|
|
43
47
|
hasMore?: boolean;
|
|
44
48
|
/** Called when the user activates the "Show more" footer button. The button renders while `hasMore` is `true` and `isLoading` is `false`. */
|
|
@@ -53,10 +57,14 @@ export interface ScheduledTaskConversationHistorySectionProps {
|
|
|
53
57
|
titleClassName?: string;
|
|
54
58
|
/** CSS class applied to the accordion's content region. Defaults to `'ps-3'`. */
|
|
55
59
|
contentClassName?: string;
|
|
60
|
+
/** CSS class applied to the unavailable message. Defaults to `'dial-body-text text-secondary'`. */
|
|
61
|
+
unavailableTextClassName?: string;
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
58
64
|
* History accordion of a task conversation's sources panel: the schedule's
|
|
59
|
-
* paginated runs with the current run highlighted and a Show-more footer
|
|
65
|
+
* paginated runs with the current run highlighted and a Show-more footer, or
|
|
66
|
+
* the scoped unavailable message (without a retry action) while
|
|
67
|
+
* `isUnavailable` is set.
|
|
60
68
|
* Expanded by default; resets to expanded whenever `scheduleId` changes.
|
|
61
69
|
*/
|
|
62
70
|
export declare const ScheduledTaskConversationHistorySection: FC<ScheduledTaskConversationHistorySectionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskConversationHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAIpF;;;GAGG;AACH,MAAM,WAAW,6CAA6C;IAC5D,uFAAuF;IACvF,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,sJAAsJ;IACtJ,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2GAA2G;IAC3G,eAAe,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACxD,6HAA6H;IAC7H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oIAAoI;IACpI,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,+EAA+E;AAC/E,MAAM,WAAW,4CAA4C;IAC3D,2GAA2G;IAC3G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,oIAAoI;IACpI,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sIAAsI;IACtI,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qGAAqG;IACrG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6IAA6I;IAC7I,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,0HAA0H;IAC1H,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6KAA6K;IAC7K,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,wBAAwB;IACxB,MAAM,EAAE,6CAA6C,CAAC;IACtD,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledTaskConversationHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAIpF;;;GAGG;AACH,MAAM,WAAW,6CAA6C;IAC5D,uFAAuF;IACvF,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,4GAA4G;IAC5G,gB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