@epam/ai-dial-scheduled-tasks 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/calendar-value-Ds0AiQSR.js +34 -0
- package/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.d.ts +24 -0
- package/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.d.ts.map +1 -0
- package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts +3 -1
- package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -1
- package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts.map +1 -1
- package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts.map +1 -1
- package/components/ScheduledTaskConversationBanner/ScheduledTaskConversationBanner.d.ts +5 -0
- package/components/ScheduledTaskConversationBanner/ScheduledTaskConversationBanner.d.ts.map +1 -0
- package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts +82 -0
- package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts.map +1 -0
- package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts +80 -0
- package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts.map +1 -0
- package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
- package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts +5 -1
- package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts.map +1 -1
- package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
- package/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.d.ts.map +1 -1
- package/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.d.ts.map +1 -1
- package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts.map +1 -1
- package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts +6 -2
- package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts.map +1 -1
- package/components/ScheduledTaskRunAtTimeField/ScheduledTaskRunAtTimeField.d.ts +5 -0
- package/components/ScheduledTaskRunAtTimeField/ScheduledTaskRunAtTimeField.d.ts.map +1 -0
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts +4 -3
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
- package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
- package/components/ScheduledTasksLimitedAccessBanner/ScheduledTasksLimitedAccessBanner.d.ts +20 -0
- package/components/ScheduledTasksLimitedAccessBanner/ScheduledTasksLimitedAccessBanner.d.ts.map +1 -0
- package/components/ScheduledTasksLoginBanner/ScheduledTasksLoginBanner.d.ts +32 -0
- package/components/ScheduledTasksLoginBanner/ScheduledTasksLoginBanner.d.ts.map +1 -0
- package/components/SectionAccordionTitle/SectionAccordionTitle.d.ts +15 -0
- package/components/SectionAccordionTitle/SectionAccordionTitle.d.ts.map +1 -0
- package/constants/scheduled-task-create-form.d.ts +3 -0
- package/constants/scheduled-task-create-form.d.ts.map +1 -1
- package/index.css +3 -2
- package/index.d.ts +16 -4
- package/index.d.ts.map +1 -1
- package/index.js +1265 -847
- package/models/scheduled-task-card-grid-props.d.ts +3 -1
- package/models/scheduled-task-card-grid-props.d.ts.map +1 -1
- package/models/scheduled-task-card-props.d.ts +3 -3
- package/models/scheduled-task-card-props.d.ts.map +1 -1
- package/models/scheduled-task-configuration-section-props.d.ts +2 -0
- package/models/scheduled-task-configuration-section-props.d.ts.map +1 -1
- package/models/scheduled-task-conversation-banner-props.d.ts +72 -0
- package/models/scheduled-task-conversation-banner-props.d.ts.map +1 -0
- package/models/scheduled-task-create-form-props.d.ts +31 -5
- package/models/scheduled-task-create-form-props.d.ts.map +1 -1
- package/models/scheduled-task-detail-view-props.d.ts +10 -0
- package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
- package/models/scheduled-task-details-section-props.d.ts +4 -1
- package/models/scheduled-task-details-section-props.d.ts.map +1 -1
- package/models/scheduled-task-details-summary-props.d.ts +19 -1
- package/models/scheduled-task-details-summary-props.d.ts.map +1 -1
- package/models/scheduled-task-history-section-props.d.ts +17 -3
- package/models/scheduled-task-history-section-props.d.ts.map +1 -1
- package/models/scheduled-task-item.d.ts +2 -0
- package/models/scheduled-task-item.d.ts.map +1 -1
- package/models/scheduled-task-run-history-list-props.d.ts +20 -4
- package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
- package/models/scheduled-task-run-item.d.ts +5 -1
- package/models/scheduled-task-run-item.d.ts.map +1 -1
- package/models/scheduled-tasks-props.d.ts +6 -2
- package/models/scheduled-tasks-props.d.ts.map +1 -1
- package/package.json +6 -6
- package/types/scheduled-task-schedule.d.ts +3 -1
- package/types/scheduled-task-schedule.d.ts.map +1 -1
- package/utils/aria.d.ts +3 -0
- package/utils/aria.d.ts.map +1 -0
- package/utils/calendar-value.d.ts +3 -1
- package/utils/calendar-value.d.ts.map +1 -1
- package/utils/window-boundary.d.ts +4 -0
- package/utils/window-boundary.d.ts.map +1 -0
- package/validation/index.d.ts +1 -1
- package/validation/index.d.ts.map +1 -1
- package/validation/scheduled-task-validation.d.ts +7 -4
- package/validation/scheduled-task-validation.d.ts.map +1 -1
- package/validation.js +8 -8
- package/calendar-value-B41Uk26Z.js +0 -24
|
@@ -24,10 +24,12 @@ export interface ScheduledTaskCardGridProps {
|
|
|
24
24
|
export interface ScheduledTaskCardGridLayout {
|
|
25
25
|
/** Maximum column count. Defaults to 3; fewer columns fit narrower containers. */
|
|
26
26
|
maxColumns?: 1 | 2 | 3;
|
|
27
|
-
/** Maximum grid width. Defaults to
|
|
27
|
+
/** Maximum grid width. Defaults to `SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH`. */
|
|
28
28
|
maxWidth?: string;
|
|
29
29
|
minCardWidth?: string;
|
|
30
30
|
gap?: string;
|
|
31
31
|
cardHeight?: string;
|
|
32
32
|
}
|
|
33
|
+
/** Default `layout.maxWidth` of the card grid; the banner slot falls back to the same width so the banner stays aligned with the cards. */
|
|
34
|
+
export declare const SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH = "1180px";
|
|
33
35
|
//# sourceMappingURL=scheduled-task-card-grid-props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-card-grid-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-grid-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,2GAA2G;AAC3G,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AAElE,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,kDAAkD;IAClD,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,wJAAwJ;IACxJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gEAAgE;IAChE,cAAc,CAAC,EAAE,+BAA+B,CAAC;IACjD,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC;AAED,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"scheduled-task-card-grid-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-grid-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,2GAA2G;AAC3G,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AAElE,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,kDAAkD;IAClD,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,wJAAwJ;IACxJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gEAAgE;IAChE,cAAc,CAAC,EAAE,+BAA+B,CAAC;IACjD,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC;AAED,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,2IAA2I;AAC3I,eAAO,MAAM,sCAAsC,WAAW,CAAC"}
|
|
@@ -45,15 +45,15 @@ export interface ScheduledTaskCardColors {
|
|
|
45
45
|
completedBadgeBorder?: string;
|
|
46
46
|
/** "Completed" badge icon and text color. Fallback: `--text-secondary`. */
|
|
47
47
|
completedBadgeText?: string;
|
|
48
|
+
/** Keyboard focus outline of a clickable card. Fallback: `--stroke-focus`. */
|
|
49
|
+
focusOutline?: string;
|
|
48
50
|
}
|
|
49
51
|
/** Typography overrides for the {@link ScheduledTaskCard} component. */
|
|
50
52
|
export interface ScheduledTaskCardTypography {
|
|
51
53
|
/** CSS class applied to the card's title. Defaults to `'dial-body-semi-text'`. */
|
|
52
54
|
titleClassName?: string;
|
|
53
|
-
/** CSS class applied to the description/prompt-preview line. Defaults to `'dial-small-text'`. */
|
|
55
|
+
/** CSS class applied to the description/prompt-preview line. Defaults to `'dial-small-paragraph-text'`. */
|
|
54
56
|
descriptionClassName?: string;
|
|
55
|
-
/** CSS class applied to the description's size. Defaults to `'dial-tiny-text'`. */
|
|
56
|
-
descriptionSizeClassName?: string;
|
|
57
57
|
/** CSS class applied to the schedule pill's label text. Defaults to `'dial-tiny-text'`. */
|
|
58
58
|
scheduleLabelClassName?: string;
|
|
59
59
|
/** CSS class applied to non-leaf location breadcrumb segments. Defaults to `'dial-tiny-text'`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-card-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,mGAAmG;AACnG,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yGAAyG;IACzG,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yFAAyF;IACzF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+DAA+D;IAC/D,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qFAAqF;IACrF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,0DAA0D;IAC1D,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,6DAA6D;IAC7D,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,qEAAqE;IACrE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduled-task-card-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,mGAAmG;AACnG,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iGAAiG;IACjG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yGAAyG;IACzG,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,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C3B,4FAA4F;IAC5F,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,+FAA+F;IAC/F,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC;AAED,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,kCAAkC;IAClC,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,IAAI,EAAE,iBAAiB,CAAC;IACxB,0FAA0F;IAC1F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qKAAqK;IACrK,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,wBAAwB;IACxB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -6,6 +6,8 @@ export interface ScheduledTaskConfigurationSectionProps {
|
|
|
6
6
|
skillLabel?: string;
|
|
7
7
|
/** Resolved skill names or full saved references, in selection order; omit or pass [] to hide the field. */
|
|
8
8
|
skillDisplayNames?: string[];
|
|
9
|
+
/** Optional host renderer for a skill name and its availability, in selection order. */
|
|
10
|
+
renderSkillName?: (name: string, index: number) => ReactNode;
|
|
9
11
|
/** Label for the instructions field. */
|
|
10
12
|
instructionsLabel: string;
|
|
11
13
|
/** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via `MDMessageViewer` otherwise. Omit to hide the field entirely. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-configuration-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-configuration-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAE7F,yEAAyE;AACzE,MAAM,WAAW,sCAAsC;IACrD,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,wCAAwC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,6JAA6J;IAC7J,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,8HAA8H;IAC9H,cAAc,CAAC,EAAE,uCAAuC,CAAC;IACzD,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
|
1
|
+
{"version":3,"file":"scheduled-task-configuration-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-configuration-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAE7F,yEAAyE;AACzE,MAAM,WAAW,sCAAsC;IACrD,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,wFAAwF;IACxF,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC7D,wCAAwC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,6JAA6J;IAC7J,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,8HAA8H;IAC9H,cAAc,CAAC,EAAE,uCAAuC,CAAC;IACzD,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
/** User-visible strings of `ScheduledTaskConversationBanner`. */
|
|
3
|
+
export interface ScheduledTaskConversationBannerLabels {
|
|
4
|
+
/** Announced while the task loads. Defaults to `'Loading task details…'`. */
|
|
5
|
+
loadingLabel?: string;
|
|
6
|
+
/** Shown and announced when the task cannot be shown. Defaults to `'Task details are unavailable'`. */
|
|
7
|
+
unavailableLabel?: string;
|
|
8
|
+
/** Visible label and accessible name of the retry button. Defaults to `'Retry'`. */
|
|
9
|
+
retryLabel?: string;
|
|
10
|
+
/** Visible label of the task details link. Defaults to `'Task details'`. */
|
|
11
|
+
taskDetailsLabel?: string;
|
|
12
|
+
/** Accessible name of the task details link for `taskName`. Defaults to `` (taskName) => `View task details for ${taskName}` ``. */
|
|
13
|
+
taskDetailsAriaLabel?: (taskName: string) => string;
|
|
14
|
+
/** Shown in place of the details link when the task was deleted. Defaults to `'Task was deleted'`. */
|
|
15
|
+
taskDeletedLabel?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Color overrides of `ScheduledTaskConversationBanner`, applied as CSS custom properties. */
|
|
18
|
+
export interface ScheduledTaskConversationBannerColors {
|
|
19
|
+
/** Card background. Defaults to `--bg-layer-sunken`. */
|
|
20
|
+
surface?: string;
|
|
21
|
+
/** Card border. Defaults to `--stroke-secondary`. */
|
|
22
|
+
border?: string;
|
|
23
|
+
/** Task name, run time and unavailable message. Defaults to `--text-primary`. */
|
|
24
|
+
text?: string;
|
|
25
|
+
/** Task details link text and chevron. Defaults to `--text-accent`. */
|
|
26
|
+
detailsLink?: string;
|
|
27
|
+
/** Task details link background on hover and keyboard focus. Defaults to `--bg-control-accent-alpha-hover`. */
|
|
28
|
+
detailsLinkHoverSurface?: string;
|
|
29
|
+
/** Task details link focus outline. Defaults to `--stroke-focus`. */
|
|
30
|
+
focusOutline?: string;
|
|
31
|
+
/** Task-deleted note. Defaults to `--text-secondary`. */
|
|
32
|
+
deletedText?: string;
|
|
33
|
+
}
|
|
34
|
+
/** Props the host's details link element receives from `ScheduledTaskConversationBanner`. */
|
|
35
|
+
export interface ScheduledTaskConversationBannerDetailsLinkProps {
|
|
36
|
+
/** Classes to put on the link element. */
|
|
37
|
+
className: string;
|
|
38
|
+
/** Accessible name of the link. */
|
|
39
|
+
'aria-label': string;
|
|
40
|
+
/** Link content: the label and the directional chevron. */
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
/** Props for `ScheduledTaskConversationBanner`. */
|
|
44
|
+
export interface ScheduledTaskConversationBannerProps {
|
|
45
|
+
/** Whether the task is loading; shows a skeleton and announces `labels.loadingLabel`. Defaults to `false`. */
|
|
46
|
+
isLoading?: boolean;
|
|
47
|
+
/** Whether the task cannot be shown; shows `labels.unavailableLabel`. Defaults to `false`. */
|
|
48
|
+
isUnavailable?: boolean;
|
|
49
|
+
/** Whether the task was deleted; replaces the details link with `labels.taskDeletedLabel`. Defaults to `false`. */
|
|
50
|
+
isTaskDeleted?: boolean;
|
|
51
|
+
/** Task name shown on the card. */
|
|
52
|
+
displayName: string;
|
|
53
|
+
/** Pre-formatted run time shown after the name, when known. */
|
|
54
|
+
timestampLabel?: string;
|
|
55
|
+
/** Renders the task details link; the host owns the route and the router element. */
|
|
56
|
+
renderDetailsLink: (props: ScheduledTaskConversationBannerDetailsLinkProps) => ReactNode;
|
|
57
|
+
/** Retries loading the task; when set, the unavailable state shows a retry button. */
|
|
58
|
+
onRetry?: () => void;
|
|
59
|
+
/** User-visible strings, each with an English default. */
|
|
60
|
+
labels?: ScheduledTaskConversationBannerLabels;
|
|
61
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
62
|
+
colors?: ScheduledTaskConversationBannerColors;
|
|
63
|
+
/** CSS class of the task name. Defaults to `'dial-small-semi-text'`. */
|
|
64
|
+
nameClassName?: string;
|
|
65
|
+
/** CSS class of the run time and the unavailable message. Defaults to `'dial-small-text'`. */
|
|
66
|
+
textClassName?: string;
|
|
67
|
+
/** CSS class of the details link and the task-deleted note. Defaults to `'dial-tiny-semi-text'`. */
|
|
68
|
+
actionClassName?: string;
|
|
69
|
+
/** Additional classes merged over the card root. */
|
|
70
|
+
className?: string;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=scheduled-task-conversation-banner-props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduled-task-conversation-banner-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-conversation-banner-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,iEAAiE;AACjE,MAAM,WAAW,qCAAqC;IACpD,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uGAAuG;IACvG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oIAAoI;IACpI,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;IACpD,sGAAsG;IACtG,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,8FAA8F;AAC9F,MAAM,WAAW,qCAAqC;IACpD,wDAAwD;IACxD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+GAA+G;IAC/G,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,qEAAqE;IACrE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,6FAA6F;AAC7F,MAAM,WAAW,+CAA+C;IAC9D,0CAA0C;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,mCAAmC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,2DAA2D;IAC3D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,mDAAmD;AACnD,MAAM,WAAW,oCAAoC;IACnD,8GAA8G;IAC9G,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8FAA8F;IAC9F,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mHAAmH;IACnH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mCAAmC;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qFAAqF;IACrF,iBAAiB,EAAE,CACjB,KAAK,EAAE,+CAA+C,KACnD,SAAS,CAAC;IACf,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,0DAA0D;IAC1D,MAAM,CAAC,EAAE,qCAAqC,CAAC;IAC/C,yDAAyD;IACzD,MAAM,CAAC,EAAE,qCAAqC,CAAC;IAC/C,wEAAwE;IACxE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8FAA8F;IAC9F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -9,6 +9,22 @@ export interface ScheduledTaskRepeatOption {
|
|
|
9
9
|
/** Localized display label for this repeat option. */
|
|
10
10
|
label: string;
|
|
11
11
|
}
|
|
12
|
+
/** One option in the Custom repeat's "Every" week-count dropdown. */
|
|
13
|
+
export interface ScheduledTaskEveryWeekOption {
|
|
14
|
+
/** Option value: the week-count string `'1'`–`'10'`. */
|
|
15
|
+
value: string;
|
|
16
|
+
/** Localized display label, e.g. "1 week" / "2 weeks". */
|
|
17
|
+
label: string;
|
|
18
|
+
}
|
|
19
|
+
/** One weekday segment in the Custom repeat's day-of-week control. */
|
|
20
|
+
export interface ScheduledTaskCustomDayOption {
|
|
21
|
+
/** Segment value: the APScheduler-convention day string `'0'` (Monday) – `'6'` (Sunday). */
|
|
22
|
+
value: string;
|
|
23
|
+
/** Single-character visible label, e.g. "M". */
|
|
24
|
+
shortLabel: string;
|
|
25
|
+
/** Full day name used as the segment's accessible name, e.g. "Monday". */
|
|
26
|
+
fullName: string;
|
|
27
|
+
}
|
|
12
28
|
/** Current form field values for the {@link ScheduledTaskCreateForm} component. */
|
|
13
29
|
export interface ScheduledTaskCreateFormValues {
|
|
14
30
|
/** The scheduled task's display name (required). */
|
|
@@ -25,9 +41,11 @@ export interface ScheduledTaskCreateFormValues {
|
|
|
25
41
|
dayOfMonth?: string;
|
|
26
42
|
/** Minute of the hour (`'0'`-`'59'`) used when `repeat` is `'hourly'`. */
|
|
27
43
|
minute?: string;
|
|
28
|
-
/**
|
|
44
|
+
/** Week-count (`'1'`-`'10'`) used when `repeat` is `'custom'`. */
|
|
45
|
+
everyWeeks?: string;
|
|
46
|
+
/** Window-start boundary: a whole local day as `YYYY-MM-DD`. Ignored when `repeat` is `'oneTime'`. */
|
|
29
47
|
startDate?: string;
|
|
30
|
-
/**
|
|
48
|
+
/** Window-end boundary: a whole local day as `YYYY-MM-DD`. Ignored when `repeat` is `'oneTime'`. */
|
|
31
49
|
endDate?: string;
|
|
32
50
|
/** Selected deployment id sent to the BFF as `model` (required). */
|
|
33
51
|
modelId: string;
|
|
@@ -77,14 +95,14 @@ export interface ScheduledTaskCreateFormLabels extends TextRefinementLabels {
|
|
|
77
95
|
detailsSectionSubtitle: string;
|
|
78
96
|
/** Section heading for the Configuration column. */
|
|
79
97
|
configurationSectionTitle: string;
|
|
80
|
-
/** Section subtitle for the Configuration column. */
|
|
81
|
-
configurationSectionSubtitle: string;
|
|
82
98
|
/** Display name field label. */
|
|
83
99
|
displayNameLabel: string;
|
|
84
100
|
/** Display name required-field validation message. */
|
|
85
101
|
displayNameRequired: string;
|
|
86
102
|
/** Run-at field label (shown when `repeat` is "oneTime"). */
|
|
87
103
|
runAtLabel: string;
|
|
104
|
+
/** Placeholder shown in the run-at picker when unset. */
|
|
105
|
+
runAtPlaceholder: string;
|
|
88
106
|
/** Time-of-day field label (shown when `repeat` is "daily", "weekly", or "monthly"). */
|
|
89
107
|
timeLabel: string;
|
|
90
108
|
/** Validation message shown under the time field when its visible draft is not a complete `HH:mm` value. */
|
|
@@ -99,6 +117,12 @@ export interface ScheduledTaskCreateFormLabels extends TextRefinementLabels {
|
|
|
99
117
|
dayOfMonthLabel: string;
|
|
100
118
|
/** Minute field label (shown when `repeat` is "hourly"). */
|
|
101
119
|
minuteLabel: string;
|
|
120
|
+
/** "Every" field label for the Custom repeat's week-count dropdown. */
|
|
121
|
+
everyLabel: string;
|
|
122
|
+
/** Options rendered in the Custom repeat's "Every" dropdown ("1 week"…"10 weeks"). */
|
|
123
|
+
everyWeekOptions: ScheduledTaskEveryWeekOption[];
|
|
124
|
+
/** Weekday segments for the Custom repeat's day-of-week control, Monday-first. */
|
|
125
|
+
customDayOptions: ScheduledTaskCustomDayOption[];
|
|
102
126
|
/** Start-date field label (shown when `repeat` is not "oneTime"; the field itself is optional, so this label carries no required marker). */
|
|
103
127
|
startDateLabel: string;
|
|
104
128
|
/** Placeholder shown in the start-date picker when unset. */
|
|
@@ -164,7 +188,7 @@ export interface ScheduledTaskCreateFormTypography {
|
|
|
164
188
|
sectionSubtitleClassName?: string;
|
|
165
189
|
/** CSS class applied to the Instructions label. Defaults to `'dial-body-semi-text mb-1'`. */
|
|
166
190
|
instructionsLabelClassName?: string;
|
|
167
|
-
/** CSS class applied to the
|
|
191
|
+
/** CSS class applied to the form's field validation errors. Defaults to `'dial-tiny-text'`. */
|
|
168
192
|
instructionsErrorClassName?: string;
|
|
169
193
|
}
|
|
170
194
|
/** Style overrides for the {@link ScheduledTaskCreateForm} component. */
|
|
@@ -223,6 +247,8 @@ export interface ScheduledTaskCreateFormProps {
|
|
|
223
247
|
onSubmit: () => void;
|
|
224
248
|
/** When `true`, the Save action is disabled and shows a busy affordance. Defaults to `false`. */
|
|
225
249
|
isSubmitting?: boolean;
|
|
250
|
+
/** Disables Save while the host validates external selections. */
|
|
251
|
+
isSubmitDisabled?: boolean;
|
|
226
252
|
/** Color theme applied to the Instructions markdown editor. Defaults to the editor's own default (`EditorThemes.light`). */
|
|
227
253
|
markdownEditorTheme?: EditorThemes;
|
|
228
254
|
/** Optional replacement for the default back icon. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-create-form-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-create-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,uDAAuD;AACvD,MAAM,WAAW,yBAAyB;IACxC,yFAAyF;IACzF,GAAG,EAAE,mBAAmB,CAAC;IACzB,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,mFAAmF;AACnF,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"scheduled-task-create-form-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-create-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,uDAAuD;AACvD,MAAM,WAAW,yBAAyB;IACxC,yFAAyF;IACzF,GAAG,EAAE,mBAAmB,CAAC;IACzB,sDAAsD;IACtD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qEAAqE;AACrE,MAAM,WAAW,4BAA4B;IAC3C,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;CACf;AAED,sEAAsE;AACtE,MAAM,WAAW,4BAA4B;IAC3C,4FAA4F;IAC5F,KAAK,EAAE,MAAM,CAAC;IACd,gDAAgD;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,mFAAmF;AACnF,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,kCAAkC;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAA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C,EAAE,SAAS,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
|
|
@@ -50,6 +50,8 @@ export interface ScheduledTaskDetailViewLabels extends ScheduledTaskInstructions
|
|
|
50
50
|
historyTitle: string;
|
|
51
51
|
/** Message shown when the task has no runs yet. */
|
|
52
52
|
historyEmptyLabel: string;
|
|
53
|
+
/** Secondary line under `historyEmptyLabel`. Omitted when not set. */
|
|
54
|
+
historyEmptyDescription?: string;
|
|
53
55
|
/** Message shown alongside the retry action when `runsError` is set. */
|
|
54
56
|
historyErrorLabel: string;
|
|
55
57
|
/** Next-page failure message; falls back to historyErrorLabel. */
|
|
@@ -64,6 +66,8 @@ export interface ScheduledTaskDetailViewLabels extends ScheduledTaskInstructions
|
|
|
64
66
|
runStatusLabels: Record<ScheduledTaskRunStatus, string>;
|
|
65
67
|
/** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
|
|
66
68
|
unreadIndicatorLabel?: string;
|
|
69
|
+
/** Label of the link inside an expanded failed run's details that opens its conversation. Defaults to `'Open conversation'`. */
|
|
70
|
+
openConversationLabel?: string;
|
|
67
71
|
/** Accessible name for the mobile/tablet body's tab row. Defaults to `'Scheduled task sections'`. */
|
|
68
72
|
tabsAriaLabel?: string;
|
|
69
73
|
}
|
|
@@ -80,6 +84,8 @@ export interface ScheduledTaskDetailViewColors {
|
|
|
80
84
|
detailsColumnBorder?: string;
|
|
81
85
|
/** Section subtitle and status-message text color. Fallback: `--text-secondary`. */
|
|
82
86
|
subtitleText?: string;
|
|
87
|
+
/** Description text color in the Details section. Fallback: `--text-primary` (`#161b2d` when no theme token is defined). */
|
|
88
|
+
descriptionText?: string;
|
|
83
89
|
/** Success status icon color. Fallback: `--text-success`. */
|
|
84
90
|
successIconColor?: string;
|
|
85
91
|
/** Error status icon color. Fallback: `--text-error`. */
|
|
@@ -163,6 +169,8 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
163
169
|
description?: string;
|
|
164
170
|
/** Resolved "Model or Agent" display value (already resolved to a display name, or the raw id as a fallback). */
|
|
165
171
|
modelLabel?: string;
|
|
172
|
+
/** Optional host renderer for model availability and its explanation. */
|
|
173
|
+
renderModelName?: (name: string) => ReactNode;
|
|
166
174
|
/** Pre-formatted recurrence label, e.g. "Every Monday 12:00". */
|
|
167
175
|
repeatsLabel?: string;
|
|
168
176
|
/** Pre-formatted activity-window label, e.g. "Aug 1, 2026 – Dec 31, 2026". Omit to hide (unbounded or one-shot schedule). */
|
|
@@ -173,6 +181,8 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
173
181
|
instructionsMarkdown?: string;
|
|
174
182
|
/** Resolved skill names or full saved references, in selection order; omit or pass [] to hide the field. */
|
|
175
183
|
skillDisplayNames?: string[];
|
|
184
|
+
/** Optional host renderer for a skill name and its availability, in selection order. */
|
|
185
|
+
renderSkillName?: (name: string, index: number) => ReactNode;
|
|
176
186
|
/** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
|
|
177
187
|
renderInstructions?: (markdown: string) => ReactNode;
|
|
178
188
|
/** Pre-formatted "Next run" label shown under the History title, e.g. "Next run: Jul 31 at 9:00 AM". Omit to hide (e.g. when the schedule is paused or inactive). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-detail-view-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-detail-view-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2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IAC3G,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6JAA6J;IAC7J,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,6KAA6K;IAC7K,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,yCAAyC;IACzC,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,wCAAwC,EAAE,iCAAiC,CAAC;CACpG"}
|
|
1
|
+
{"version":3,"file":"scheduled-task-detail-view-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-detail-view-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAC7F,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,6BAA8B,SAAQ,uCAAuC;IAC5F,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,gFAAgF;IAChF,eAAe,EAAE,MAAM,CAAC;IACxB,gGAAgG;IAChG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2KAA2K;IAC3K,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gGAAgG;IAChG,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,iBAAiB,EAAE,MAAM,CAAC;IA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,EAAE,MAAM,IAAI,CAAC;IAC5B,6KAA6K;IAC7K,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,yCAAyC;IACzC,MAAM,CAAC,EAAE,6BAA6B,CAAC;IACvC,+CAA+C;IAC/C,aAAa,CAAC,EAAE,OAAO,wCAAwC,EAAE,iCAAiC,CAAC;CACpG"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
/** Localized field labels used by the {@link ScheduledTaskDetailsSection} component. */
|
|
2
3
|
interface ScheduledTaskDetailsSectionLabels {
|
|
3
4
|
/** Label for the description field. */
|
|
@@ -19,6 +20,8 @@ export interface ScheduledTaskDetailsSectionProps {
|
|
|
19
20
|
description?: string;
|
|
20
21
|
/** Resolved "Model or Agent" display value (display name, or the raw id as a fallback). Omit to hide the field. */
|
|
21
22
|
modelLabel?: string;
|
|
23
|
+
/** Optional host renderer for model availability and its explanation. */
|
|
24
|
+
renderModelName?: (name: string) => ReactNode;
|
|
22
25
|
/** Pre-formatted recurrence label, e.g. "Every Monday 12:00". Omit to hide the field. */
|
|
23
26
|
repeatsLabel?: string;
|
|
24
27
|
/** Pre-formatted activity-window label, e.g. "Aug 1, 2026 – Dec 31, 2026". Omit to hide the field (unbounded or one-shot schedule). */
|
|
@@ -27,7 +30,7 @@ export interface ScheduledTaskDetailsSectionProps {
|
|
|
27
30
|
completedLabel?: string;
|
|
28
31
|
/** CSS class applied to each field label. Defaults to `'dial-tiny-text'`. */
|
|
29
32
|
fieldLabelClassName?: string;
|
|
30
|
-
/** CSS class applied to each field value. Defaults to `'dial-small-text'
|
|
33
|
+
/** CSS class applied to each field value, including the free-form description. Defaults to `'dial-small-text'` (14px/20px). */
|
|
31
34
|
fieldValueClassName?: string;
|
|
32
35
|
}
|
|
33
36
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-details-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-details-section-props.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,UAAU,iCAAiC;IACzC,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,mEAAmE;AACnE,MAAM,WAAW,gCAAgC;IAC/C,8BAA8B;IAC9B,MAAM,EAAE,iCAAiC,CAAC;IAC1C,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mHAAmH;IACnH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uIAAuI;IACvI,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0IAA0I;IAC1I,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B
|
|
1
|
+
{"version":3,"file":"scheduled-task-details-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-details-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,wFAAwF;AACxF,UAAU,iCAAiC;IACzC,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,mEAAmE;AACnE,MAAM,WAAW,gCAAgC;IAC/C,8BAA8B;IAC9B,MAAM,EAAE,iCAAiC,CAAC;IAC1C,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mHAAmH;IACnH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,CAAC;IAC9C,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uIAAuI;IACvI,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0IAA0I;IAC1I,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,+HAA+H;IAC/H,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
+
import { MarkdownRendererClassNames } from '@epam/ai-dial-chat-shared';
|
|
1
2
|
import { ReactNode } from 'react';
|
|
2
3
|
import { ScheduledTaskInstructionsMarkdownLabels } from './scheduled-task-instructions';
|
|
3
4
|
/** Typography overrides for the {@link ScheduledTaskDetailsSummary} component. */
|
|
4
5
|
export interface ScheduledTaskDetailsSummaryTypography {
|
|
5
6
|
/** CSS class applied to the "Model"/"Instructions" field labels. Defaults to `'dial-tiny-text'`. */
|
|
6
7
|
fieldLabelClassName?: string;
|
|
7
|
-
/** CSS class applied to the resolved
|
|
8
|
+
/** CSS class applied to the resolved field values. Defaults to `'dial-small-text'`. */
|
|
8
9
|
fieldValueClassName?: string;
|
|
10
|
+
/** Typography class of the built-in Instructions viewer's headings (`h1`–`h6`). Defaults to `'dial-small-semi-text'`. */
|
|
11
|
+
instructionsHeadingClassName?: string;
|
|
12
|
+
/** Typography class of the built-in Instructions viewer's paragraphs and lists. Defaults to `'dial-small-text'`. */
|
|
13
|
+
instructionsTextClassName?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Color overrides for the {@link ScheduledTaskDetailsSummary} component. */
|
|
16
|
+
export interface ScheduledTaskDetailsSummaryColors {
|
|
17
|
+
/** Text color of the "Model"/"Skill"/"Instructions" field labels. Defaults to `--text-secondary`. */
|
|
18
|
+
fieldLabel?: string;
|
|
9
19
|
}
|
|
10
20
|
/** Style overrides for the {@link ScheduledTaskDetailsSummary} component. */
|
|
11
21
|
export interface ScheduledTaskDetailsSummaryStyles {
|
|
22
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
23
|
+
colors?: ScheduledTaskDetailsSummaryColors;
|
|
12
24
|
/** Typography class overrides. */
|
|
13
25
|
typography?: ScheduledTaskDetailsSummaryTypography;
|
|
14
26
|
}
|
|
@@ -18,16 +30,22 @@ export interface ScheduledTaskDetailsSummaryProps {
|
|
|
18
30
|
skillLabel?: string;
|
|
19
31
|
/** Resolved skill names or full saved references, in selection order; omit or pass [] to hide the field. */
|
|
20
32
|
skillDisplayNames?: string[];
|
|
33
|
+
/** Optional host renderer for a skill name and its availability, in selection order. */
|
|
34
|
+
renderSkillName?: (name: string, index: number) => ReactNode;
|
|
21
35
|
/** Label for the model field, e.g. "Model". */
|
|
22
36
|
modelLabel: string;
|
|
23
37
|
/** Label for the instructions field, e.g. "Instructions". */
|
|
24
38
|
instructionsLabel: string;
|
|
25
39
|
/** Resolved "Model" display value (already resolved to a display name, or the raw id as a fallback). Omit to hide the field. */
|
|
26
40
|
modelDisplayName?: string;
|
|
41
|
+
/** Optional host renderer for model availability and its explanation. */
|
|
42
|
+
renderModelName?: (name: string) => ReactNode;
|
|
27
43
|
/** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via the default `MDMessageViewer` otherwise. Omit to hide the field entirely. */
|
|
28
44
|
instructionsMarkdown?: string;
|
|
29
45
|
/** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
|
|
30
46
|
renderInstructions?: (markdown: string) => ReactNode;
|
|
47
|
+
/** Class names merged key by key over the built-in instructions `MDMessageViewer` defaults; a supplied key replaces that element's classes, type step included. Set the type step alone through `styles.typography.instructionsHeadingClassName` / `instructionsTextClassName`. Ignored when `renderInstructions` is supplied. */
|
|
48
|
+
instructionsClassNames?: MarkdownRendererClassNames;
|
|
31
49
|
/** Code-block, table and formula labels for the built-in `MDMessageViewer`. Ignored when `renderInstructions` is supplied. */
|
|
32
50
|
markdownLabels?: ScheduledTaskInstructionsMarkdownLabels;
|
|
33
51
|
/** Style overrides. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-details-summary-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-details-summary-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAE7F,kFAAkF;AAClF,MAAM,WAAW,qCAAqC;IACpD,oGAAoG;IACpG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,
|
|
1
|
+
{"version":3,"file":"scheduled-task-details-summary-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-details-summary-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,+BAA+B,CAAC;AAE7F,kFAAkF;AAClF,MAAM,WAAW,qCAAqC;IACpD,oGAAoG;IACpG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uFAAuF;IACvF,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,yHAAyH;IACzH,4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Message shown when the task has no runs yet. */
|
|
9
9
|
historyEmptyLabel: string;
|
|
10
|
+
/** Secondary line under `historyEmptyLabel`. Omitted when not set. */
|
|
11
|
+
historyEmptyDescription?: string;
|
|
10
12
|
/** Message shown alongside the retry action when `error` is set. */
|
|
11
13
|
historyErrorLabel: string;
|
|
12
14
|
/** Next-page failure message; falls back to historyErrorLabel. */
|
|
@@ -21,10 +23,12 @@ export interface ScheduledTaskHistorySectionLabels {
|
|
|
21
23
|
runStatusLabels: Record<ScheduledTaskRunStatus, string>;
|
|
22
24
|
/** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
|
|
23
25
|
unreadIndicatorLabel?: string;
|
|
26
|
+
/** Label of the link inside an expanded failed run's details that opens its conversation. Defaults to `'Open conversation'`. */
|
|
27
|
+
openConversationLabel?: string;
|
|
24
28
|
}
|
|
25
29
|
/** Status-icon and unread-dot color overrides forwarded to the run list. */
|
|
26
30
|
export interface ScheduledTaskHistorySectionColors {
|
|
27
|
-
/** Success status icon color. Fallback: `--text-
|
|
31
|
+
/** Success status icon color. Fallback: `--text-secondary`. */
|
|
28
32
|
successIconColor?: string;
|
|
29
33
|
/** Error status icon color. Fallback: `--text-error`. */
|
|
30
34
|
errorIconColor?: string;
|
|
@@ -32,6 +36,10 @@ export interface ScheduledTaskHistorySectionColors {
|
|
|
32
36
|
missedIconColor?: string;
|
|
33
37
|
/** Unread-dot indicator fill color. Fallback: `--text-accent`. */
|
|
34
38
|
unreadDotColor?: string;
|
|
39
|
+
/** Error text color inside an expanded failed run's details. Fallback: `--text-secondary`. */
|
|
40
|
+
errorDetailsTextColor?: string;
|
|
41
|
+
/** Expand/collapse chevron color on a failed run's row. Fallback: `--text-secondary`. */
|
|
42
|
+
chevronIconColor?: string;
|
|
35
43
|
}
|
|
36
44
|
export interface ScheduledTaskHistorySectionStyles {
|
|
37
45
|
colors?: ScheduledTaskHistorySectionColors;
|
|
@@ -39,12 +47,14 @@ export interface ScheduledTaskHistorySectionStyles {
|
|
|
39
47
|
maxHeight?: string;
|
|
40
48
|
/** Minimum row height. Fallback: `32px`. */
|
|
41
49
|
rowMinHeight?: string;
|
|
42
|
-
/** Background of an interactive run row on hover. Defaults to `--bg-control-accent-alpha`. */
|
|
50
|
+
/** Background of an interactive run row on hover. Defaults to `--bg-control-accent-alpha-hover-subtle`. */
|
|
43
51
|
rowHoverBackground?: string;
|
|
44
52
|
/** Background of an interactive run row on keyboard focus. Defaults to `rowHoverBackground`. */
|
|
45
53
|
rowFocusBackground?: string;
|
|
46
54
|
/** Outline color of an interactive run row on keyboard focus. Defaults to `--text-accent`. */
|
|
47
55
|
rowFocusOutline?: string;
|
|
56
|
+
/** Header background of an expanded failed run row. Defaults to `--bg-control-accent-alpha-active`. */
|
|
57
|
+
rowExpandedBackground?: string;
|
|
48
58
|
}
|
|
49
59
|
/** Props for the {@link ScheduledTaskHistorySection} component. */
|
|
50
60
|
export interface ScheduledTaskHistorySectionProps {
|
|
@@ -74,10 +84,14 @@ export interface ScheduledTaskHistorySectionProps {
|
|
|
74
84
|
hasMore?: boolean;
|
|
75
85
|
/** Called when the user activates the "Show more" button, rendered while `hasMore` is `true`. Omit to hide the button entirely. */
|
|
76
86
|
onLoadMore?: () => void;
|
|
77
|
-
/** Called with the run when the user clicks a row whose `conversationId` is set. Rows without a `conversationId` never invoke this, regardless of whether it is supplied. */
|
|
87
|
+
/** Called with the run when the user clicks a row whose `conversationId` is set, or the "Open conversation" link in an expanded failed run that has one. Rows without a `conversationId` never invoke this, regardless of whether it is supplied. */
|
|
78
88
|
onRunClick?: (run: ScheduledTaskRunItem) => void;
|
|
79
89
|
/** CSS class applied to the "Next run" label. Defaults to `'dial-small-text'`. */
|
|
80
90
|
runTimestampClassName?: string;
|
|
91
|
+
/** CSS class applied to each not-yet-viewed run row's timestamp, one step up from `runTimestampClassName`'s weight on the same 14/20 scale. Defaults to `'dial-small-semi-text'`. */
|
|
92
|
+
runTimestampUnreadClassName?: string;
|
|
93
|
+
/** CSS class applied to the error text inside an expanded failed run's details. Defaults to `'dial-tiny-text'`. */
|
|
94
|
+
errorDetailsClassName?: string;
|
|
81
95
|
/** CSS class applied to the section title in the card variant. Defaults to `'dial-body-semi-text'`. */
|
|
82
96
|
sectionTitleClassName?: string;
|
|
83
97
|
/** Status-icon and unread-dot color overrides forwarded to the run list. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-history-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-history-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AAC1G,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,kFAAkF;AAClF,MAAM,WAAW,iCAAiC;IAChD,gFAAgF;IAChF,YAAY,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oEAAoE;IACpE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,0DAA0D;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,wIAAwI;IACxI,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2GAA2G;IAC3G,eAAe,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACxD,oIAAoI;IACpI,oBAAoB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduled-task-history-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-history-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AAC1G,OAAO,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AAC,EAAE,MAAM,CAAC;IAC/B,uGAAuG;IACvG,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,4EAA4E;IAC5E,MAAM,CAAC,EAAE,iCAAiC,CAAC;IAC3C,MAAM,CAAC,EAAE,iCAAiC,CAAC;CAC5C"}
|
|
@@ -12,6 +12,8 @@ export interface ScheduledTaskItem {
|
|
|
12
12
|
locationSegments?: string[];
|
|
13
13
|
/** When set, the card shows a "new" badge for this task. */
|
|
14
14
|
isNew?: boolean;
|
|
15
|
+
/** Text of this card's "new" badge, e.g. an unread count `'3 NEW'`, overriding `labels.newBadgeLabel`. */
|
|
16
|
+
newBadgeLabel?: string;
|
|
15
17
|
/** When explicitly `false`, the card shows a "Paused" badge in place of the schedule pill. `true` or `undefined` renders the schedule pill as usual. */
|
|
16
18
|
isActive?: boolean;
|
|
17
19
|
/** Optional explicit display status; takes precedence over the derived `isCompleted`/`isActive` statuses. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-item.ts"],"names":[],"mappings":"AAAA,0KAA0K;AAC1K,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+JAA+J;IAC/J,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wJAAwJ;IACxJ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6GAA6G;IAC7G,kBAAkB,CAAC,EAAE,+BAA+B,CAAC;IAErD,oVAAoV;IACpV,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AACD;;;;;;;GAOG;AACH,oBAAY,+BAA+B;IACzC,uEAAuE;IACvE,MAAM,WAAW;IACjB,qEAAqE;IACrE,MAAM,WAAW;IACjB,2EAA2E;IAC3E,SAAS,cAAc;CACxB"}
|
|
1
|
+
{"version":3,"file":"scheduled-task-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-item.ts"],"names":[],"mappings":"AAAA,0KAA0K;AAC1K,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+JAA+J;IAC/J,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,0GAA0G;IAC1G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wJAAwJ;IACxJ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6GAA6G;IAC7G,kBAAkB,CAAC,EAAE,+BAA+B,CAAC;IAErD,oVAAoV;IACpV,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AACD;;;;;;;GAOG;AACH,oBAAY,+BAA+B;IACzC,uEAAuE;IACvE,MAAM,WAAW;IACjB,qEAAqE;IACrE,MAAM,WAAW;IACjB,2EAA2E;IAC3E,SAAS,cAAc;CACxB"}
|
|
@@ -7,6 +7,8 @@ export interface ScheduledTaskRunHistoryListLabels {
|
|
|
7
7
|
historyTitle: string;
|
|
8
8
|
/** Message shown when `items` is empty and `isLoading` is `false`. */
|
|
9
9
|
emptyLabel: string;
|
|
10
|
+
/** Secondary line under `emptyLabel`. Omitted when not set. */
|
|
11
|
+
emptyDescription?: string;
|
|
10
12
|
/** Message shown alongside the retry action when `error` is set. */
|
|
11
13
|
errorLabel: string;
|
|
12
14
|
/** Label for the retry action shown alongside `error`. */
|
|
@@ -17,13 +19,15 @@ export interface ScheduledTaskRunHistoryListLabels {
|
|
|
17
19
|
currentRunLabel?: string;
|
|
18
20
|
/** `sr-only` label announced alongside the unread-dot indicator on a row whose `isUnread` is `true`. Defaults to `'Unread'`. */
|
|
19
21
|
unreadIndicatorLabel?: string;
|
|
22
|
+
/** Label of the link inside an expanded failed run's details that opens its conversation. Defaults to `'Open conversation'`. */
|
|
23
|
+
openConversationLabel?: string;
|
|
20
24
|
}
|
|
21
25
|
/**
|
|
22
26
|
* Color overrides for the {@link ScheduledTaskRunHistoryList} component, applied
|
|
23
27
|
* as CSS custom properties with app theme fallbacks.
|
|
24
28
|
*/
|
|
25
29
|
export interface ScheduledTaskRunHistoryListColors {
|
|
26
|
-
/** Success status icon color. Fallback: `--text-
|
|
30
|
+
/** Success status icon color. Fallback: `--text-secondary`. */
|
|
27
31
|
successIconColor?: string;
|
|
28
32
|
/** Error status icon color. Fallback: `--text-error`. */
|
|
29
33
|
errorIconColor?: string;
|
|
@@ -33,15 +37,25 @@ export interface ScheduledTaskRunHistoryListColors {
|
|
|
33
37
|
subtitleTextColor?: string;
|
|
34
38
|
/** Current-run row background. Fallback: `--bg-control-accent-alpha-active`. */
|
|
35
39
|
currentRunBackground?: string;
|
|
40
|
+
/** Duration text color on the current-run row. Fallback: `--text-primary`. */
|
|
41
|
+
currentRunSubtitleTextColor?: string;
|
|
36
42
|
/** Unread-dot indicator fill color. Fallback: `--text-accent`. */
|
|
37
43
|
unreadDotColor?: string;
|
|
44
|
+
/** Error text color inside an expanded failed run's details. Fallback: `--text-secondary`. */
|
|
45
|
+
errorDetailsTextColor?: string;
|
|
46
|
+
/** Expand/collapse chevron color on a failed run's row. Fallback: `--text-secondary`. */
|
|
47
|
+
chevronIconColor?: string;
|
|
38
48
|
}
|
|
39
49
|
/** Typography overrides for the {@link ScheduledTaskRunHistoryList} component. */
|
|
40
50
|
export interface ScheduledTaskRunHistoryListTypography {
|
|
41
|
-
/** CSS class applied to each run row's timestamp text. Defaults to `'dial-small-text'`. */
|
|
51
|
+
/** CSS class applied to each viewed run row's timestamp text. Defaults to `'dial-small-paragraph-text'`. */
|
|
42
52
|
runTimestampClassName?: string;
|
|
53
|
+
/** CSS class applied to each not-yet-viewed run row's (`isUnread`) timestamp text, rendered semibold by default. Defaults to `'dial-small-paragraph-semi-text'`. */
|
|
54
|
+
runTimestampUnreadClassName?: string;
|
|
43
55
|
/** CSS class applied to the error and empty-state messages. Defaults to `'dial-body-text'`. */
|
|
44
56
|
subtitleClassName?: string;
|
|
57
|
+
/** CSS class applied to the error text inside an expanded failed run's details. Defaults to `'dial-tiny-text'`. */
|
|
58
|
+
errorDetailsClassName?: string;
|
|
45
59
|
}
|
|
46
60
|
/** Style overrides for the {@link ScheduledTaskRunHistoryList} component. */
|
|
47
61
|
export interface ScheduledTaskRunHistoryListStyles {
|
|
@@ -51,12 +65,14 @@ export interface ScheduledTaskRunHistoryListStyles {
|
|
|
51
65
|
typography?: ScheduledTaskRunHistoryListTypography;
|
|
52
66
|
/** Minimum row height. Fallback: `32px`. */
|
|
53
67
|
rowMinHeight?: string;
|
|
54
|
-
/** Background of an interactive run row on hover. Defaults to `--bg-control-accent-alpha`. */
|
|
68
|
+
/** Background of an interactive run row on hover. Defaults to `--bg-control-accent-alpha-hover-subtle`. */
|
|
55
69
|
rowHoverBackground?: string;
|
|
56
70
|
/** Background of an interactive run row on keyboard focus. Defaults to `rowHoverBackground`. */
|
|
57
71
|
rowFocusBackground?: string;
|
|
58
72
|
/** Outline color of an interactive run row on keyboard focus. Defaults to `--text-accent`. */
|
|
59
73
|
rowFocusOutline?: string;
|
|
74
|
+
/** Header background of an expanded failed run row. Defaults to `--bg-control-accent-alpha-active`. */
|
|
75
|
+
rowExpandedBackground?: string;
|
|
60
76
|
}
|
|
61
77
|
/** Props for the {@link ScheduledTaskRunHistoryList} component. */
|
|
62
78
|
export interface ScheduledTaskRunHistoryListProps {
|
|
@@ -74,7 +90,7 @@ export interface ScheduledTaskRunHistoryListProps {
|
|
|
74
90
|
onRetry?: () => void;
|
|
75
91
|
/** The `id` of the run to render with the current-run visual and accessible treatment. Omit to mark no row as current. */
|
|
76
92
|
currentRunId?: string;
|
|
77
|
-
/** Called with the run when the user clicks a row whose `conversationId` is set. Rows without a `conversationId` never invoke this, regardless of whether it is supplied. */
|
|
93
|
+
/** Called with the run when the user clicks a row whose `conversationId` is set, or the "Open conversation" link in an expanded failed run that has one. Rows without a `conversationId` never invoke this, regardless of whether it is supplied. */
|
|
78
94
|
onRunClick?: (run: ScheduledTaskRunItem) => void;
|
|
79
95
|
/** Localized labels. */
|
|
80
96
|
labels: ScheduledTaskRunHistoryListLabels;
|