@epam/ai-dial-scheduled-tasks 1.1.0-dev.113 → 1.1.0-dev.116

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.
Files changed (32) hide show
  1. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -1
  2. package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts.map +1 -1
  3. package/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.d.ts.map +1 -1
  4. package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
  5. package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts +11 -0
  6. package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -0
  7. package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
  8. package/index.css +1 -1
  9. package/index.d.ts +5 -1
  10. package/index.d.ts.map +1 -1
  11. package/index.js +622 -310
  12. package/models/scheduled-task-card-grid-props.d.ts +2 -0
  13. package/models/scheduled-task-card-grid-props.d.ts.map +1 -1
  14. package/models/scheduled-task-card-props.d.ts +3 -1
  15. package/models/scheduled-task-card-props.d.ts.map +1 -1
  16. package/models/scheduled-task-create-form-props.d.ts +16 -0
  17. package/models/scheduled-task-create-form-props.d.ts.map +1 -1
  18. package/models/scheduled-task-detail-view-props.d.ts +130 -0
  19. package/models/scheduled-task-detail-view-props.d.ts.map +1 -0
  20. package/models/scheduled-task-item.d.ts +0 -9
  21. package/models/scheduled-task-item.d.ts.map +1 -1
  22. package/models/scheduled-task-run-item.d.ts +15 -0
  23. package/models/scheduled-task-run-item.d.ts.map +1 -0
  24. package/models/scheduled-tasks-props.d.ts +2 -0
  25. package/models/scheduled-tasks-props.d.ts.map +1 -1
  26. package/package.json +3 -3
  27. package/types/scheduled-task-run-status.d.ts +12 -0
  28. package/types/scheduled-task-run-status.d.ts.map +1 -0
  29. package/types/scheduled-tasks-sort-key.d.ts +9 -5
  30. package/types/scheduled-tasks-sort-key.d.ts.map +1 -1
  31. package/utils/calendar-value.d.ts +4 -0
  32. package/utils/calendar-value.d.ts.map +1 -1
@@ -26,6 +26,8 @@ export interface ScheduledTaskCardGridProps {
26
26
  onRunNow?: (id: string) => void;
27
27
  /** Called with a task id when the user activates "Delete" on a card. Omit to hide the action on every card. */
28
28
  onDelete?: (id: string) => void;
29
+ /** Called with a task id when the user activates a card's body. Omit to render cards with no added interactive root semantics. */
30
+ onCardClick?: (id: string) => void;
29
31
  /** Localized labels forwarded to each card. */
30
32
  labels?: ScheduledTaskCardGridLabels;
31
33
  /** Style overrides forwarded to each card. */
@@ -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,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,2GAA2G;AAC3G,MAAM,WAAW,2BAA2B;IAC1C,gEAAgE;IAChE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uEAAuE;IACvE,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,kDAAkD;IAClD,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6GAA6G;IAC7G,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,gH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,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,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;CAClD"}
@@ -33,7 +33,7 @@ export interface ScheduledTaskCardColors {
33
33
  locationLeafText?: string;
34
34
  /** "New" badge background. Fallback: `--controls-bg-accent-primary`. */
35
35
  newBadgeBackground?: string;
36
- /** "New" badge text color. Fallback: `--controls-text-permanent`. */
36
+ /** "New" badge text color. Fallback: `--text-control-permanent`. */
37
37
  newBadgeText?: string;
38
38
  /** Divider border color above the location breadcrumb. Fallback: `--stroke-tertiary`. */
39
39
  locationDividerBorder?: string;
@@ -72,6 +72,8 @@ export interface ScheduledTaskCardProps {
72
72
  onRunNow?: (id: string) => void;
73
73
  /** Called with the task id when the user activates "Delete". Omit to hide the action. */
74
74
  onDelete?: (id: string) => void;
75
+ /** Called with the task id when the user activates the card body (click or Enter/Space). When omitted, the card renders with no added interactive root semantics. */
76
+ onCardClick?: (id: string) => void;
75
77
  /** Localized labels. */
76
78
  labels?: ScheduledTaskCardLabels;
77
79
  /** Style overrides. */
@@ -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;I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AuB;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,uFAAuF;IACvF,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,wBAAwB;IACxB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
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,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0GAA0G;IAC1G,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;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F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,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"}
@@ -29,6 +29,10 @@ export interface ScheduledTaskCreateFormValues {
29
29
  dayOfWeek?: string;
30
30
  /** Day of month (`'1'`-`'31'`) used when `frequency` is `'monthly'`. */
31
31
  dayOfMonth?: string;
32
+ /** Date-only value bounding the start of a recurring schedule's activity window. Ignored when `scheduleType` is `'once'`. */
33
+ startDate?: string;
34
+ /** Date-only value bounding the end of a recurring schedule's activity window. Ignored when `scheduleType` is `'once'`. */
35
+ endDate?: string;
32
36
  /** Selected deployment id sent to the BFF as `model` (required). */
33
37
  modelId: string;
34
38
  /** Optional human-readable summary sent to the BFF as `description` (max 500 characters). */
@@ -48,6 +52,10 @@ export interface ScheduledTaskCreateFormErrors {
48
52
  dayOfWeek?: string;
49
53
  /** Error shown under the day-of-month field. */
50
54
  dayOfMonth?: string;
55
+ /** Error shown under the start-date field. */
56
+ startDate?: string;
57
+ /** Error shown under the end-date field. */
58
+ endDate?: string;
51
59
  /** Error shown under the model field. */
52
60
  modelId?: string;
53
61
  /** Error shown under the description field. */
@@ -93,6 +101,14 @@ export interface ScheduledTaskCreateFormLabels {
93
101
  dayOfWeekLabel: string;
94
102
  /** Day-of-month field label (shown when frequency is "monthly"). */
95
103
  dayOfMonthLabel: string;
104
+ /** Start-date field label (shown when schedule type is "recurring"; the field itself is optional, so this label carries no required marker). */
105
+ startDateLabel: string;
106
+ /** Placeholder shown in the start-date picker when unset. */
107
+ startDatePlaceholder: string;
108
+ /** End-date field label (shown when schedule type is "recurring"; the field itself is optional, so this label carries no required marker). */
109
+ endDateLabel: string;
110
+ /** Placeholder shown in the end-date picker when unset. */
111
+ endDatePlaceholder: string;
96
112
  /** Accessible label for the model dropdown. */
97
113
  modelOrAgentLabel: string;
98
114
  /** Placeholder shown in the model dropdown trigger when no model is selected. */
@@ -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,EACV,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,kCAAkC,CAAC;AAE1C,0DAA0D;AAC1D,MAAM,WAAW,4BAA4B;IAC3C,4FAA4F;IAC5F,GAAG,EAAE,sBAAsB,CAAC;IAC5B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,4DAA4D;AAC5D,MAAM,WAAW,kCAAkC;IACjD,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,mFAAmF;AACnF,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,YAAY,EAAE,yBAAyB,CAAC;IACxC,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,SAAS,CAAC,EAAE,sBAAsB,CAAC;IACnC,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,MAAM,EAAE,MAAM,CAAC;C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AC3C,wBAAwB;IACxB,MAAM,EAAE,6BAA6B,CAAC;IACtC,4BAA4B;IAC5B,MAAM,EAAE,6BAA6B,CAAC;IACtC,2CAA2C;IAC3C,MAAM,EAAE,6BAA6B,CAAC;IACtC,yDAAyD;IACzD,YAAY,EAAE,kCAAkC,EAAE,CAAC;IACnD,wFAAwF;IACxF,aAAa,EAAE,CAAC,CAAC,SAAS,MAAM,6BAA6B,EAC3D,KAAK,EAAE,CAAC,EACR,KAAK,EAAE,6BAA6B,CAAC,CAAC,CAAC,KACpC,IAAI,CAAC;IACV,gEAAgE;IAChE,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iGAAiG;IACjG,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gHAAgH;IAChH,mBAAmB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACvC,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
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,EACV,sBAAsB,EACtB,yBAAyB,EAC1B,MAAM,kCAAkC,CAAC;AAE1C,0DAA0D;AAC1D,MAAM,WAAW,4BAA4B;IAC3C,4FAA4F;IAC5F,GAAG,EAAE,sBAAsB,CAAC;IAC5B,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,4DAA4D;AAC5D,MAAM,WAAW,kCAAkC;IACjD,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,mFAAmF;AACnF,MAAM,WAAW,6BAA6B;IAC5C,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,YA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AAQ,EAAE,MAAM,IAAI,CAAC;IACrB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,iGAAiG;IACjG,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gHAAgH;IAChH,mBAAmB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IACvC,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
@@ -0,0 +1,130 @@
1
+ import { ReactNode } from 'react';
2
+ import { ScheduledTaskRunStatus } from '../types/scheduled-task-run-status';
3
+ import { ScheduledTaskRunItem } from './scheduled-task-run-item';
4
+ /** Localized labels used by the {@link ScheduledTaskDetailView} component. */
5
+ export interface ScheduledTaskDetailViewLabels {
6
+ /** Accessible label for the back-navigation control. */
7
+ backAriaLabel: string;
8
+ /** Message shown alongside the page-level retry action when `error` is set. */
9
+ errorLabel: string;
10
+ /** Title of the Details section. */
11
+ detailsTitle: string;
12
+ /** Label for the description field. */
13
+ descriptionLabel: string;
14
+ /** Label for the model/agent field. */
15
+ modelLabel: string;
16
+ /** Label for the recurrence field, e.g. "Repeats". */
17
+ repeatsLabel: string;
18
+ /** Label for the activity-window field, e.g. "Active". Shown only for a recurring task whose window is bounded. */
19
+ activeWindowLabel: string;
20
+ /** Title of the Configuration section. */
21
+ configurationTitle: string;
22
+ /** Label for the instructions field. */
23
+ instructionsLabel: string;
24
+ /** Label for the page-level retry action shown alongside `error`. */
25
+ retryLabel: string;
26
+ /** Title of the History panel. */
27
+ historyTitle: string;
28
+ /** Message shown when the task has no runs yet. */
29
+ historyEmptyLabel: string;
30
+ /** Message shown alongside the retry action when `runsError` is set. */
31
+ historyErrorLabel: string;
32
+ /** Label for the History retry action. */
33
+ historyRetryLabel: string;
34
+ /** Announced via `aria-live` while a load-more runs fetch is in flight. */
35
+ historyLoadingMoreLabel?: string;
36
+ /** Per-status label used to build each run row's accessible name, e.g. `{ success: 'Succeeded', ... }`. */
37
+ runStatusLabels: Record<ScheduledTaskRunStatus, string>;
38
+ }
39
+ /**
40
+ * Color overrides for the {@link ScheduledTaskDetailView} component, applied
41
+ * as CSS custom properties with app theme fallbacks.
42
+ */
43
+ export interface ScheduledTaskDetailViewColors {
44
+ /** Root container background. Fallback: `--bg-layer-base`. */
45
+ background?: string;
46
+ /** Header bottom border. Fallback: `--stroke-tertiary`. */
47
+ headerBorder?: string;
48
+ /** Details/Configuration column end border. Fallback: `--stroke-tertiary`. */
49
+ detailsColumnBorder?: string;
50
+ /** Section subtitle and status-message text color. Fallback: `--text-secondary`. */
51
+ subtitleText?: string;
52
+ /** Success status icon color. Fallback: `--text-success`. */
53
+ successIconColor?: string;
54
+ /** Error status icon color. Fallback: `--text-error`. */
55
+ errorIconColor?: string;
56
+ /** Missed status icon color. Fallback: `--text-secondary`. */
57
+ missedIconColor?: string;
58
+ /** History card background. Fallback: `--bg-layer-raised`. */
59
+ historyCardBackground?: string;
60
+ }
61
+ /** Typography overrides for the {@link ScheduledTaskDetailView} component. */
62
+ export interface ScheduledTaskDetailViewTypography {
63
+ /** CSS class applied to the header title. Defaults to `'dial-h1-text'`. */
64
+ titleClassName?: string;
65
+ /** CSS class applied to section titles. Defaults to `'dial-body-semi-text'`. */
66
+ sectionTitleClassName?: string;
67
+ /** CSS class applied to field labels. Defaults to `'dial-tiny-text'`. */
68
+ fieldLabelClassName?: string;
69
+ /** CSS class applied to field values. Defaults to `'dial-body-text'`. */
70
+ fieldValueClassName?: string;
71
+ /** CSS class applied to each run row's timestamp text. Defaults to `'dial-small-text'`. */
72
+ runTimestampClassName?: string;
73
+ }
74
+ /** Style overrides for the {@link ScheduledTaskDetailView} component. */
75
+ export interface ScheduledTaskDetailViewStyles {
76
+ /** Color overrides applied as CSS custom properties. */
77
+ colors?: ScheduledTaskDetailViewColors;
78
+ /** Typography class overrides. */
79
+ typography?: ScheduledTaskDetailViewTypography;
80
+ }
81
+ /** Props for the {@link ScheduledTaskDetailView} component. */
82
+ export interface ScheduledTaskDetailViewProps {
83
+ /** Localized labels. */
84
+ labels: ScheduledTaskDetailViewLabels;
85
+ /** Called when the user activates the back-navigation control. */
86
+ onBack: () => void;
87
+ /** Task title shown in the header and used as the page's accessible name. */
88
+ displayName: string;
89
+ /** When `true`, the entire body (Details, Configuration, and History) shows a page-level spinner instead of the fields below. Defaults to `false`. */
90
+ isLoading?: boolean;
91
+ /** When set, the entire body (Details, Configuration, and History) shows an error message and retry action instead of the fields below. */
92
+ error?: Error | null;
93
+ /** Called when the user activates the retry action shown alongside `error`. */
94
+ onRetry?: () => void;
95
+ /** Task description. Omit to hide the field. */
96
+ description?: string;
97
+ /** Resolved "Model or Agent" display value (already resolved to a display name, or the raw id as a fallback). */
98
+ modelLabel?: string;
99
+ /** Pre-formatted recurrence label, e.g. "Every Monday 12:00". */
100
+ repeatsLabel?: string;
101
+ /** Pre-formatted activity-window label, e.g. "Aug 1, 2026 – Dec 31, 2026". Omit to hide (unbounded or one-shot schedule). */
102
+ activeWindowLabel?: string;
103
+ /** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via the default `MDMessageViewer` otherwise. Omit to hide the field entirely. */
104
+ instructionsMarkdown?: string;
105
+ /** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
106
+ renderInstructions?: (markdown: string) => ReactNode;
107
+ /** 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). */
108
+ nextRunLabel?: string;
109
+ /** Runs to render in the History panel, in the order they should display (server order, newest first). */
110
+ runs: ScheduledTaskRunItem[];
111
+ /** When `true` and `runs` is empty, the History panel shows a loading state (skeleton rows) instead of `historyEmptyLabel`. Defaults to `false`. */
112
+ runsIsLoading?: boolean;
113
+ /** When `true`, `runsSkeletonCount` placeholder rows render below the loaded runs while the next page is fetched. Defaults to `false`. */
114
+ runsIsLoadingMore?: boolean;
115
+ /** Number of placeholder rows shown during initial load and load-more. Defaults to `6`. */
116
+ runsSkeletonCount?: number;
117
+ /** When set, the History panel shows an error message and retry action instead of `runs`. */
118
+ runsError?: Error | null;
119
+ /** Called when the user activates the History retry action shown alongside `runsError`. */
120
+ onRunsRetry?: () => void;
121
+ /** Whether another page of `runs` is available beyond what has been loaded so far. Defaults to `false`. */
122
+ runsHasMore?: boolean;
123
+ /** Called when the History panel's trailing scroll sentinel becomes visible and `runsHasMore && !runsIsLoadingMore && !runsIsLoading`. */
124
+ onRunsLoadMore?: () => void;
125
+ /** Called with a run's id when the user clicks its row. Omit to render rows with no added interactive semantics. */
126
+ onRunClick?: (id: string) => void;
127
+ /** Style overrides. */
128
+ styles?: ScheduledTaskDetailViewStyles;
129
+ }
130
+ //# sourceMappingURL=scheduled-task-detail-view-props.d.ts.map
@@ -0,0 +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,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,+EAA+E;IAC/E,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,mHAAmH;IACnH,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wCAAwC;IACxC,iBAAiB,EAAE,MAAM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IACtB,0IAA0I;IAC1I,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,oHAAoH;IACpH,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
@@ -5,13 +5,6 @@ export declare enum ScheduledTaskSectionKey {
5
5
  /** Tasks owned by the current user. */
6
6
  MyTasks = "myTasks"
7
7
  }
8
- /** Pre-computed values used to sort a {@link ScheduledTaskItem}; any field may be absent if the source data doesn't provide it, in which case that item sorts last for the corresponding sort key. */
9
- export interface ScheduledTaskSortValues {
10
- /** ISO timestamp of the next scheduled run, used by the `firstToRun`/`lastToRun` sort keys. */
11
- nextRunAt?: string;
12
- /** ISO timestamp the task was created, used by the `newest` sort key. */
13
- createdAt?: string;
14
- }
15
8
  /** A single scheduled task rendered as a card in the Scheduled Tasks grid. All strings are pre-formatted by the host app — the lib performs no date/locale formatting. */
16
9
  export interface ScheduledTaskItem {
17
10
  /** Stable identifier for this task. */
@@ -28,7 +21,5 @@ export interface ScheduledTaskItem {
28
21
  isNew?: boolean;
29
22
  /** Section this item is grouped under in the card grid. */
30
23
  sectionKey: ScheduledTaskSectionKey;
31
- /** Values used to sort this item; see {@link ScheduledTaskSortValues}. */
32
- sortValues: ScheduledTaskSortValues;
33
24
  }
34
25
  //# sourceMappingURL=scheduled-task-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-task-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-item.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,oBAAY,uBAAuB;IACjC,8EAA8E;IAC9E,MAAM,WAAW;IACjB,uCAAuC;IACvC,OAAO,YAAY;CACpB;AAED,sMAAsM;AACtM,MAAM,WAAW,uBAAuB;IACtC,+FAA+F;IAC/F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,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,2DAA2D;IAC3D,UAAU,EAAE,uBAAuB,CAAC;IACpC,0EAA0E;IAC1E,UAAU,EAAE,uBAAuB,CAAC;CACrC"}
1
+ {"version":3,"file":"scheduled-task-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-item.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,oBAAY,uBAAuB;IACjC,8EAA8E;IAC9E,MAAM,WAAW;IACjB,uCAAuC;IACvC,OAAO,YAAY;CACpB;AAED,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,2DAA2D;IAC3D,UAAU,EAAE,uBAAuB,CAAC;CACrC"}
@@ -0,0 +1,15 @@
1
+ import { ScheduledTaskRunStatus } from '../types/scheduled-task-run-status';
2
+ /**
3
+ * A single scheduled task run rendered as a row in the History panel. All
4
+ * strings are pre-formatted by the host app — the lib performs no date,
5
+ * duration, or locale formatting.
6
+ */
7
+ export interface ScheduledTaskRunItem {
8
+ /** Stable identifier for this run. */
9
+ id: string;
10
+ /** Outcome of this run, driving the row's status icon. */
11
+ status: ScheduledTaskRunStatus;
12
+ /** Pre-formatted timestamp, optionally including a duration suffix, e.g. `"today at 9:01 AM (99s)"`. */
13
+ timestampLabel: string;
14
+ }
15
+ //# sourceMappingURL=scheduled-task-run-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-run-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-run-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,0DAA0D;IAC1D,MAAM,EAAE,sBAAsB,CAAC;IAC/B,wGAAwG;IACxG,cAAc,EAAE,MAAM,CAAC;CACxB"}
@@ -107,6 +107,8 @@ export interface ScheduledTasksProps {
107
107
  onRunNow?: (id: string) => void;
108
108
  /** Called with a task id when the user activates "Delete" on a card. Omit to hide the action on every card. */
109
109
  onDelete?: (id: string) => void;
110
+ /** Called with a task id when the user activates a card's body. Omit to render cards with no added interactive root semantics. */
111
+ onCardClick?: (id: string) => void;
110
112
  /** Style overrides. */
111
113
  styles?: ScheduledTasksStyles;
112
114
  }
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-tasks-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-tasks-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,8EAA8E;AAC9E,MAAM,WAAW,wBAAwB;IACvC,8EAA8E;IAC9E,GAAG,EAAE,qBAAqB,CAAC;IAC3B,oDAAo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K,IAAI,CAAC;IAChC,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B"}
1
+ {"version":3,"file":"scheduled-tasks-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-tasks-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,8EAA8E;AAC9E,MAAM,WAAW,wBAAwB;IACvC,8EAA8E;IAC9E,GAAG,EAAE,qBAAqB,CAAC;IAC3B,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qEAAqE;AACrE,MAAM,WAAW,oBAAoB;IACnC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,gBAAgB,EAAE,MAAM,CAAC;IACzB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,WAAW,EAAE,wBAAwB,EAAE,CAAC;IACxC,yDAAyD;IACzD,eAAe,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,yIAAyI;IACzI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,UAAU,CAAC,EAAE,2BAA2B,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AAC;IACrB,4GAA4G;IAC5G,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wIAAwI;IACxI,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8GAA8G;IAC9G,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,6GAA6G;IAC7G,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,gHAAgH;IAChH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-scheduled-tasks",
3
3
  "description": "Presentational Scheduled Tasks page shell — header, toolbar, and empty state",
4
- "version": "1.1.0-dev.113",
4
+ "version": "1.1.0-dev.116",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -17,8 +17,8 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@epam/ai-dial-chat-shared": "1.1.0-dev.113",
21
- "@epam/ai-dial-kit": "1.1.0-dev.113",
20
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.116",
21
+ "@epam/ai-dial-kit": "1.1.0-dev.116",
22
22
  "@epam/ai-dial-ui-kit": "^0.13.0-dev.26",
23
23
  "@tabler/icons-react": "^3.44.0",
24
24
  "react": "^19.0.0"
@@ -0,0 +1,12 @@
1
+ /** Status of a single scheduled task run, shown as an icon in the History panel. */
2
+ export declare enum ScheduledTaskRunStatus {
3
+ /** The run completed successfully. */
4
+ Success = "success",
5
+ /** The run failed. */
6
+ Error = "error",
7
+ /** The run is currently executing. */
8
+ InProgress = "inProgress",
9
+ /** The scheduled run never started (e.g. the schedule was paused or the runner was unavailable). */
10
+ Missed = "missed"
11
+ }
12
+ //# sourceMappingURL=scheduled-task-run-status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-run-status.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-task-run-status.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oBAAY,sBAAsB;IAChC,sCAAsC;IACtC,OAAO,YAAY;IACnB,sBAAsB;IACtB,KAAK,UAAU;IACf,sCAAsC;IACtC,UAAU,eAAe;IACzB,oGAAoG;IACpG,MAAM,WAAW;CAClB"}
@@ -1,12 +1,16 @@
1
- /** Sort keys supported by the Scheduled Tasks toolbar. */
1
+ /**
2
+ * Sort keys supported by the Scheduled Tasks toolbar. The lib does not sort —
3
+ * it reports the active key through `onSortChange` and renders `items` in the
4
+ * order the host supplies them.
5
+ */
2
6
  export declare enum ScheduledTasksSortKey {
3
- /** Sort by `sortValues.nextRunAt` ascending — earliest next run first. Items with no `nextRunAt` sort last. */
7
+ /** Earliest next run first. */
4
8
  FirstToRun = "firstToRun",
5
- /** Sort by `sortValues.nextRunAt` descending — latest next run first. Items with no `nextRunAt` sort last. */
9
+ /** Latest next run first. */
6
10
  LastToRun = "lastToRun",
7
- /** Sort by `sortValues.createdAt` descending — most recently created first. Items with no `createdAt` sort last. */
11
+ /** Most recently created first. */
8
12
  Newest = "newest",
9
- /** Sort by `item.displayName` ascending, case-insensitive. */
13
+ /** Task name ascending, case-insensitive. */
10
14
  NameAZ = "nameAZ"
11
15
  }
12
16
  //# sourceMappingURL=scheduled-tasks-sort-key.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-tasks-sort-key.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-tasks-sort-key.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,oBAAY,qBAAqB;IAC/B,+GAA+G;IAC/G,UAAU,eAAe;IACzB,8GAA8G;IAC9G,SAAS,cAAc;IACvB,oHAAoH;IACpH,MAAM,WAAW;IACjB,8DAA8D;IAC9D,MAAM,WAAW;CAClB"}
1
+ {"version":3,"file":"scheduled-tasks-sort-key.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-tasks-sort-key.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,qBAAqB;IAC/B,+BAA+B;IAC/B,UAAU,eAAe;IACzB,6BAA6B;IAC7B,SAAS,cAAc;IACvB,mCAAmC;IACnC,MAAM,WAAW;IACjB,6CAA6C;IAC7C,MAAM,WAAW;CAClB"}
@@ -3,6 +3,10 @@ import { CalendarValue } from '@epam/ai-dial-ui-kit';
3
3
  export declare const runAtToCalendarValue: (runAt: string | undefined) => Date | null;
4
4
  /** Converts `Calendar`'s `CalendarValue` back to the `datetime-local`-style string `values.runAt` expects. */
5
5
  export declare const calendarValueToRunAt: (value: CalendarValue) => string;
6
+ /** Converts a `YYYY-MM-DD` date-only string (`values.startDate`/`endDate`) to a `Date` for `Calendar`'s controlled value, or `null` when empty. */
7
+ export declare const dateValueToCalendarValue: (dateValue: string | undefined) => Date | null;
8
+ /** Converts `Calendar`'s `CalendarValue` back to a `YYYY-MM-DD` date-only string, distinct from `calendarValueToRunAt`'s `datetime-local` output. */
9
+ export declare const calendarValueToDateValue: (value: CalendarValue) => string;
6
10
  /** Converts `values.dayOfWeek` (`'0'`=Monday..`'6'`=Sunday) to `Calendar`'s `weekday` mode value (ISO `'1'`=Monday..`'7'`=Sunday), or `null` when unset. */
7
11
  export declare const dayOfWeekToCalendarValue: (dayOfWeek: string | undefined) => string | null;
8
12
  /** Converts `Calendar`'s `weekday` mode `CalendarValue` (ISO `'1'`=Monday..`'7'`=Sunday) back to `values.dayOfWeek` (`'0'`=Monday..`'6'`=Sunday). */
@@ -1 +1 @@
1
- {"version":3,"file":"calendar-value.d.ts","sourceRoot":"","sources":["../../src/utils/calendar-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI1D,qIAAqI;AACrI,eAAO,MAAM,oBAAoB,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,IAAI,GAAG,IACxC,CAAC;AAEjC,8GAA8G;AAC9G,eAAO,MAAM,oBAAoB,GAAI,OAAO,aAAa,KAAG,MAS3D,CAAC;AAEF,4JAA4J;AAC5J,eAAO,MAAM,wBAAwB,GACnC,WAAW,MAAM,GAAG,SAAS,KAC5B,MAAM,GAAG,IAGX,CAAC;AAEF,qJAAqJ;AACrJ,eAAO,MAAM,wBAAwB,GAAI,OAAO,aAAa,KAAG,MAG/D,CAAC"}
1
+ {"version":3,"file":"calendar-value.d.ts","sourceRoot":"","sources":["../../src/utils/calendar-value.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAI1D,qIAAqI;AACrI,eAAO,MAAM,oBAAoB,GAAI,OAAO,MAAM,GAAG,SAAS,KAAG,IAAI,GAAG,IACxC,CAAC;AAEjC,8GAA8G;AAC9G,eAAO,MAAM,oBAAoB,GAAI,OAAO,aAAa,KAAG,MAS3D,CAAC;AAQF,mJAAmJ;AACnJ,eAAO,MAAM,wBAAwB,GACnC,WAAW,MAAM,GAAG,SAAS,KAC5B,IAAI,GAAG,IAMT,CAAC;AAEF,qJAAqJ;AACrJ,eAAO,MAAM,wBAAwB,GAAI,OAAO,aAAa,KAAG,MAS/D,CAAC;AAEF,4JAA4J;AAC5J,eAAO,MAAM,wBAAwB,GACnC,WAAW,MAAM,GAAG,SAAS,KAC5B,MAAM,GAAG,IAGX,CAAC;AAEF,qJAAqJ;AACrJ,eAAO,MAAM,wBAAwB,GAAI,OAAO,aAAa,KAAG,MAG/D,CAAC"}