@epam/ai-dial-scheduled-tasks 1.1.0-dev.447 → 1.1.0-dev.459

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 (25) hide show
  1. package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts +5 -0
  2. package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts.map +1 -0
  3. package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
  4. package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts +6 -3
  5. package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
  6. package/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.d.ts +5 -0
  7. package/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.d.ts.map +1 -0
  8. package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts +5 -0
  9. package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts.map +1 -0
  10. package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
  11. package/index.css +1 -1
  12. package/index.js +536 -433
  13. package/models/scheduled-task-configuration-section-props.d.ts +13 -0
  14. package/models/scheduled-task-configuration-section-props.d.ts.map +1 -0
  15. package/models/scheduled-task-detail-view-props.d.ts +3 -1
  16. package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
  17. package/models/scheduled-task-details-section-props.d.ts +29 -0
  18. package/models/scheduled-task-details-section-props.d.ts.map +1 -0
  19. package/models/scheduled-task-history-section-props.d.ts +67 -0
  20. package/models/scheduled-task-history-section-props.d.ts.map +1 -0
  21. package/package.json +3 -3
  22. package/types/scheduled-task-detail-tab.d.ts +10 -0
  23. package/types/scheduled-task-detail-tab.d.ts.map +1 -0
  24. package/types/scheduled-task-history-section-variant.d.ts +8 -0
  25. package/types/scheduled-task-history-section-variant.d.ts.map +1 -0
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ /** Props for the {@link ScheduledTaskConfigurationSection} component. */
3
+ export interface ScheduledTaskConfigurationSectionProps {
4
+ /** Label for the instructions field. */
5
+ instructionsLabel: string;
6
+ /** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via `MDMessageViewer` otherwise. Omit to hide the field entirely. */
7
+ instructionsMarkdown?: string;
8
+ /** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
9
+ renderInstructions?: (markdown: string) => ReactNode;
10
+ /** CSS class applied to the instructions field label. Defaults to `'dial-tiny-text'`. */
11
+ fieldLabelClassName?: string;
12
+ }
13
+ //# sourceMappingURL=scheduled-task-configuration-section-props.d.ts.map
@@ -0,0 +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;AAEvC,yEAAyE;AACzE,MAAM,WAAW,sCAAsC;IACrD,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,yFAAyF;IACzF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
@@ -49,6 +49,8 @@ export interface ScheduledTaskDetailViewLabels {
49
49
  runStatusLabels: Record<ScheduledTaskRunStatus, string>;
50
50
  /** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
51
51
  unreadIndicatorLabel?: string;
52
+ /** Accessible name for the mobile/tablet body's tab row. Defaults to `'Scheduled task sections'`. */
53
+ tabsAriaLabel?: string;
52
54
  }
53
55
  /**
54
56
  * Color overrides for the {@link ScheduledTaskDetailView} component, applied
@@ -57,7 +59,7 @@ export interface ScheduledTaskDetailViewLabels {
57
59
  export interface ScheduledTaskDetailViewColors {
58
60
  /** Root container background. Fallback: `--bg-layer-base`. */
59
61
  background?: string;
60
- /** Header bottom border. Fallback: `--stroke-tertiary`. */
62
+ /** Header divider: below the header at desktop, above it at mobile/tablet. Fallback: `--stroke-tertiary`. */
61
63
  headerBorder?: string;
62
64
  /** Details/Configuration column end border. Fallback: `--stroke-tertiary`. */
63
65
  detailsColumnBorder?: string;
@@ -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,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,gFAAgF;IAChF,eAAe,EAAE,MAAM,CAAC;IACxB,gGAAgG;IAChG,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,iBAAiB,EAAE,MAAM,CAAC;IAC1B,+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,gMAAgM;IAChM,iBAAiB,EAAE,MAAM,CAAC;IAC1B,yJAAyJ;IACzJ,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,0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C,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6HAA6H;IAC7H,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yKAAyK;IACzK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,qKAAqK;IACrK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0GAA0G;IAC1G,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAC7B,oJAAoJ;IACpJ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0IAA0I;IAC1I,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,2FAA2F;IAC3F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,2GAA2G;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;CACxC"}
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,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3F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,2GAA2G;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;CACxC"}
@@ -0,0 +1,29 @@
1
+ /** Localized field labels used by the {@link ScheduledTaskDetailsSection} component. */
2
+ export interface ScheduledTaskDetailsSectionLabels {
3
+ /** Label for the description field. */
4
+ descriptionLabel: string;
5
+ /** Label for the model/agent field. */
6
+ modelLabel: string;
7
+ /** Label for the recurrence field, e.g. "Repeats". */
8
+ repeatsLabel: string;
9
+ /** Label for the activity-window field, e.g. "Active". */
10
+ activeWindowLabel: string;
11
+ }
12
+ /** Props for the {@link ScheduledTaskDetailsSection} component. */
13
+ export interface ScheduledTaskDetailsSectionProps {
14
+ /** Localized field labels. */
15
+ labels: ScheduledTaskDetailsSectionLabels;
16
+ /** Task description. Omit to hide the field. */
17
+ description?: string;
18
+ /** Resolved "Model or Agent" display value (display name, or the raw id as a fallback). Omit to hide the field. */
19
+ modelLabel?: string;
20
+ /** Pre-formatted recurrence label, e.g. "Every Monday 12:00". Omit to hide the field. */
21
+ repeatsLabel?: string;
22
+ /** Pre-formatted activity-window label, e.g. "Aug 1, 2026 – Dec 31, 2026". Omit to hide the field (unbounded or one-shot schedule). */
23
+ activeWindowLabel?: string;
24
+ /** CSS class applied to each field label. Defaults to `'dial-tiny-text'`. */
25
+ fieldLabelClassName?: string;
26
+ /** CSS class applied to each field value. Defaults to `'dial-small-text'`. */
27
+ fieldValueClassName?: string;
28
+ }
29
+ //# sourceMappingURL=scheduled-task-details-section-props.d.ts.map
@@ -0,0 +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,MAAM,WAAW,iCAAiC;IAChD,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;CAC3B;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,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
@@ -0,0 +1,67 @@
1
+ import { ScheduledTaskRunStatus } from '../types/scheduled-task-run-status';
2
+ import { ScheduledTaskHistorySectionVariant } from '../types/scheduled-task-history-section-variant';
3
+ import { ScheduledTaskRunItem } from './scheduled-task-run-item';
4
+ /** Localized labels used by the {@link ScheduledTaskHistorySection} component. */
5
+ export interface ScheduledTaskHistorySectionLabels {
6
+ /** Title of the History panel, rendered in the card variant's sticky header. */
7
+ historyTitle: string;
8
+ /** Message shown when the task has no runs yet. */
9
+ historyEmptyLabel: string;
10
+ /** Message shown alongside the retry action when `error` is set. */
11
+ historyErrorLabel: string;
12
+ /** Label for the retry action shown alongside `error`. */
13
+ historyRetryLabel: string;
14
+ /** Announced via `aria-live` while a load-more runs fetch is in flight. */
15
+ historyLoadingMoreLabel?: string;
16
+ /** Label for the "Show more" button rendered below the loaded runs when `hasMore` is `true`. Required when `onLoadMore` is supplied. */
17
+ historyShowMoreLabel?: string;
18
+ /** Per-status label used to build each run row's accessible name, e.g. `{ success: 'Succeeded', ... }`. */
19
+ runStatusLabels: Record<ScheduledTaskRunStatus, string>;
20
+ /** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
21
+ unreadIndicatorLabel?: string;
22
+ }
23
+ /** Status-icon and unread-dot color overrides forwarded to the run list. */
24
+ export interface ScheduledTaskHistorySectionColors {
25
+ /** Success status icon color. Fallback: `--text-success`. */
26
+ successIconColor?: string;
27
+ /** Error status icon color. Fallback: `--text-error`. */
28
+ errorIconColor?: string;
29
+ /** Missed status icon color. Fallback: `--text-secondary`. */
30
+ missedIconColor?: string;
31
+ /** Unread-dot indicator fill color. Fallback: `--text-accent`. */
32
+ unreadDotColor?: string;
33
+ }
34
+ /** Props for the {@link ScheduledTaskHistorySection} component. */
35
+ export interface ScheduledTaskHistorySectionProps {
36
+ /** Chrome the section renders: the desktop card or the mobile/tablet page flow. */
37
+ variant: ScheduledTaskHistorySectionVariant;
38
+ /** Localized labels. */
39
+ labels: ScheduledTaskHistorySectionLabels;
40
+ /** Pre-formatted "Next run" label shown under the History title. Omit to hide (e.g. when the schedule is paused or inactive). */
41
+ nextRunLabel?: string;
42
+ /** Runs to render, in the order they should display (server order, newest first). */
43
+ items: ScheduledTaskRunItem[];
44
+ /** When `true` and `items` is empty, shows `skeletonCount` placeholder rows instead of `labels.historyEmptyLabel`. Defaults to `false`. */
45
+ isLoading?: boolean;
46
+ /** When `true`, `skeletonCount` placeholder rows render below the loaded rows while the next page is fetched. Defaults to `false`. */
47
+ isLoadingMore?: boolean;
48
+ /** Number of placeholder rows shown during `isLoading`/`isLoadingMore`. Defaults to `6`. */
49
+ skeletonCount?: number;
50
+ /** When set, shows an error message and retry action instead of `items`. */
51
+ error?: Error | null;
52
+ /** Called when the user activates the retry action shown alongside `error`. */
53
+ onRetry?: () => void;
54
+ /** Whether another page of `items` is available beyond what has been loaded. Defaults to `false`. */
55
+ hasMore?: boolean;
56
+ /** Called when the user activates the "Show more" button, rendered while `hasMore` is `true`. Omit to hide the button entirely. */
57
+ onLoadMore?: () => void;
58
+ /** 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. */
59
+ onRunClick?: (run: ScheduledTaskRunItem) => void;
60
+ /** CSS class applied to the "Next run" label. Defaults to `'dial-small-text'`. */
61
+ runTimestampClassName?: string;
62
+ /** CSS class applied to the section title in the card variant. Defaults to `'dial-body-semi-text'`. */
63
+ sectionTitleClassName?: string;
64
+ /** Status-icon and unread-dot color overrides forwarded to the run list. */
65
+ colors?: ScheduledTaskHistorySectionColors;
66
+ }
67
+ //# sourceMappingURL=scheduled-task-history-section-props.d.ts.map
@@ -0,0 +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,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iDAAiD,CAAC;AAC1G,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,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,CAA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-tasks",
3
3
  "description": "Presentational Scheduled Tasks page shell — header, toolbar, and empty state",
4
- "version": "1.1.0-dev.447",
4
+ "version": "1.1.0-dev.459",
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-builder-form": "1.1.0-dev.447",
21
- "@epam/ai-dial-chat-shared": "1.1.0-dev.447",
20
+ "@epam/ai-dial-builder-form": "1.1.0-dev.459",
21
+ "@epam/ai-dial-chat-shared": "1.1.0-dev.459",
22
22
  "@epam/ai-dial-ui-kit": "^0.14.0-dev.30",
23
23
  "@tabler/icons-react": "^3.44.0",
24
24
  "@uiw/react-markdown-preview": "*",
@@ -0,0 +1,10 @@
1
+ /** Tabs of the detail view's mobile/tablet body, in canonical display order. */
2
+ export declare enum ScheduledTaskDetailTab {
3
+ /** The Details section tab. */
4
+ Details = "details",
5
+ /** The Configuration section tab. */
6
+ Configuration = "configuration",
7
+ /** The History section tab. */
8
+ History = "history"
9
+ }
10
+ //# sourceMappingURL=scheduled-task-detail-tab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-detail-tab.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-task-detail-tab.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,oBAAY,sBAAsB;IAChC,+BAA+B;IAC/B,OAAO,YAAY;IACnB,qCAAqC;IACrC,aAAa,kBAAkB;IAC/B,+BAA+B;IAC/B,OAAO,YAAY;CACpB"}
@@ -0,0 +1,8 @@
1
+ /** Which chrome the History section renders. */
2
+ export declare enum ScheduledTaskHistorySectionVariant {
3
+ /** The desktop self-scrolling raised card with a sticky title/next-run header and a sticky "Show more" footer. */
4
+ Card = "card",
5
+ /** Standard top-to-bottom page flow with an inline "Show more" footer, used in the mobile/tablet tab panel. */
6
+ Flow = "flow"
7
+ }
8
+ //# sourceMappingURL=scheduled-task-history-section-variant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-history-section-variant.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-task-history-section-variant.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,oBAAY,kCAAkC;IAC5C,kHAAkH;IAClH,IAAI,SAAS;IACb,+GAA+G;IAC/G,IAAI,SAAS;CACd"}