@epam/ai-dial-scheduled-tasks 1.2.0-dev.2 → 1.2.0-dev.201
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-B41Uk26Z.js +24 -0
- package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts +6 -5
- package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -1
- package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts +1 -1
- package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts.map +1 -1
- package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts +1 -1
- package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts.map +1 -1
- package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts +7 -6
- package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
- package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts +27 -0
- package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts.map +1 -0
- 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 +16 -0
- package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts.map +1 -0
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
- package/components/ScheduledTaskStatusPill/ScheduledTaskStatusPill.d.ts +16 -0
- package/components/ScheduledTaskStatusPill/ScheduledTaskStatusPill.d.ts.map +1 -0
- package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
- package/constants/public-class-names.d.ts +12 -0
- package/constants/public-class-names.d.ts.map +1 -0
- package/index.css +2 -2
- package/index.d.ts +11 -2
- package/index.d.ts.map +1 -1
- package/index.js +953 -613
- package/models/scheduled-task-card-grid-props.d.ts +12 -5
- package/models/scheduled-task-card-grid-props.d.ts.map +1 -1
- package/models/scheduled-task-card-props.d.ts +11 -1
- package/models/scheduled-task-card-props.d.ts.map +1 -1
- package/models/scheduled-task-configuration-section-props.d.ts +4 -0
- package/models/scheduled-task-configuration-section-props.d.ts.map +1 -1
- package/models/scheduled-task-create-form-props.d.ts +40 -4
- package/models/scheduled-task-create-form-props.d.ts.map +1 -1
- package/models/scheduled-task-detail-view-props.d.ts +34 -2
- package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
- package/models/scheduled-task-details-section-props.d.ts +4 -0
- package/models/scheduled-task-details-section-props.d.ts.map +1 -1
- package/models/scheduled-task-details-summary-props.d.ts +4 -0
- package/models/scheduled-task-details-summary-props.d.ts.map +1 -1
- package/models/scheduled-task-history-section-props.d.ts +15 -2
- package/models/scheduled-task-history-section-props.d.ts.map +1 -1
- package/models/scheduled-task-item.d.ts +20 -0
- package/models/scheduled-task-item.d.ts.map +1 -1
- package/models/scheduled-task-run-history-list-props.d.ts +3 -0
- package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
- package/models/scheduled-tasks-props.d.ts +9 -1
- package/models/scheduled-tasks-props.d.ts.map +1 -1
- package/package.json +9 -4
- package/types/scheduled-task-status.d.ts +15 -0
- package/types/scheduled-task-status.d.ts.map +1 -0
- package/utils/calendar-value.d.ts +2 -0
- package/utils/calendar-value.d.ts.map +1 -1
- package/utils/scheduled-task-status.d.ts +5 -0
- package/utils/scheduled-task-status.d.ts.map +1 -0
- package/validation/index.d.ts +3 -0
- package/validation/index.d.ts.map +1 -0
- package/validation/scheduled-task-validation.d.ts +49 -0
- package/validation/scheduled-task-validation.d.ts.map +1 -0
- package/validation.d.ts +3 -0
- package/validation.d.ts.map +1 -0
- package/validation.js +32 -0
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { ScheduledTaskCardStyles } from './scheduled-task-card-props';
|
|
1
|
+
import { ScheduledTaskCardLabels, ScheduledTaskCardStyles } from './scheduled-task-card-props';
|
|
2
2
|
import { ScheduledTaskCardSkeletonStyles } from './scheduled-task-card-skeleton-props';
|
|
3
3
|
import { ScheduledTaskItem } from './scheduled-task-item';
|
|
4
4
|
/** Localized labels for the {@link ScheduledTaskCardGrid} component's cards. All have English defaults. */
|
|
5
|
-
export
|
|
6
|
-
/** Label shown in a card's "new" badge. Defaults to `'NEW'`. */
|
|
7
|
-
newBadgeLabel?: string;
|
|
8
|
-
}
|
|
5
|
+
export type ScheduledTaskCardGridLabels = ScheduledTaskCardLabels;
|
|
9
6
|
/** Props for the {@link ScheduledTaskCardGrid} component. */
|
|
10
7
|
export interface ScheduledTaskCardGridProps {
|
|
11
8
|
/** Items to render as cards, in display order. */
|
|
@@ -22,5 +19,15 @@ export interface ScheduledTaskCardGridProps {
|
|
|
22
19
|
trailingSkeletonCount?: number;
|
|
23
20
|
/** Style overrides forwarded to each trailing skeleton card. */
|
|
24
21
|
skeletonStyles?: ScheduledTaskCardSkeletonStyles;
|
|
22
|
+
layout?: ScheduledTaskCardGridLayout;
|
|
23
|
+
}
|
|
24
|
+
export interface ScheduledTaskCardGridLayout {
|
|
25
|
+
/** Maximum column count. Defaults to 3; fewer columns fit narrower containers. */
|
|
26
|
+
maxColumns?: 1 | 2 | 3;
|
|
27
|
+
/** Maximum grid width. Defaults to '1180px'. */
|
|
28
|
+
maxWidth?: string;
|
|
29
|
+
minCardWidth?: string;
|
|
30
|
+
gap?: string;
|
|
31
|
+
cardHeight?: string;
|
|
25
32
|
}
|
|
26
33
|
//# 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,
|
|
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,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -5,6 +5,8 @@ export interface ScheduledTaskCardLabels {
|
|
|
5
5
|
newBadgeLabel?: string;
|
|
6
6
|
/** Label shown in the "Paused" badge when `item.isActive` is `false`. Defaults to `'Paused'`. */
|
|
7
7
|
pausedBadgeLabel?: string;
|
|
8
|
+
/** Label shown in the "Completed" badge when `item.isCompleted` is `true`. Defaults to `'Completed'`. */
|
|
9
|
+
completedBadgeLabel?: string;
|
|
8
10
|
}
|
|
9
11
|
/**
|
|
10
12
|
* Color overrides for the {@link ScheduledTaskCard} component, applied as CSS
|
|
@@ -31,12 +33,18 @@ export interface ScheduledTaskCardColors {
|
|
|
31
33
|
newBadgeText?: string;
|
|
32
34
|
/** Divider border color above the location breadcrumb. Fallback: `--stroke-tertiary`. */
|
|
33
35
|
locationDividerBorder?: string;
|
|
34
|
-
/** "Paused" badge background.
|
|
36
|
+
/** "Paused" badge background. Defaults to transparent. */
|
|
35
37
|
pausedBadgeBackground?: string;
|
|
36
38
|
/** "Paused" badge border color. Fallback: `--stroke-tertiary`. */
|
|
37
39
|
pausedBadgeBorder?: string;
|
|
38
40
|
/** "Paused" badge icon and text color. Fallback: `--text-control-disable-primary`. */
|
|
39
41
|
pausedBadgeText?: string;
|
|
42
|
+
/** "Completed" badge background. Defaults to transparent. */
|
|
43
|
+
completedBadgeBackground?: string;
|
|
44
|
+
/** "Completed" badge border color. Fallback: `--stroke-tertiary`. */
|
|
45
|
+
completedBadgeBorder?: string;
|
|
46
|
+
/** "Completed" badge icon and text color. Fallback: `--text-secondary`. */
|
|
47
|
+
completedBadgeText?: string;
|
|
40
48
|
}
|
|
41
49
|
/** Typography overrides for the {@link ScheduledTaskCard} component. */
|
|
42
50
|
export interface ScheduledTaskCardTypography {
|
|
@@ -56,6 +64,8 @@ export interface ScheduledTaskCardTypography {
|
|
|
56
64
|
newBadgeClassName?: string;
|
|
57
65
|
/** CSS class applied to the "Paused" badge's label text. Defaults to `'dial-tiny-text'`. */
|
|
58
66
|
pausedBadgeClassName?: string;
|
|
67
|
+
/** CSS class applied to the "Completed" badge's label text. Defaults to `'dial-tiny-text'`. */
|
|
68
|
+
completedBadgeClassName?: string;
|
|
59
69
|
}
|
|
60
70
|
/** Style overrides for the {@link ScheduledTaskCard} component. */
|
|
61
71
|
export interface ScheduledTaskCardStyles {
|
|
@@ -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;
|
|
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,wEAA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,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"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
/** Props for the {@link ScheduledTaskConfigurationSection} component. */
|
|
3
3
|
export interface ScheduledTaskConfigurationSectionProps {
|
|
4
|
+
/** Localized label of the optional skill field. */
|
|
5
|
+
skillLabel?: string;
|
|
6
|
+
/** Resolved skill name or full saved reference; omit to hide the field. */
|
|
7
|
+
skillDisplayName?: string;
|
|
4
8
|
/** Label for the instructions field. */
|
|
5
9
|
instructionsLabel: string;
|
|
6
10
|
/** 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;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"}
|
|
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,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TextRefinementLabels } from '@epam/ai-dial-chat-shared';
|
|
1
2
|
import { EditorThemes } from '@epam/ai-dial-ui-kit';
|
|
2
3
|
import { ReactNode } from 'react';
|
|
3
4
|
import { ScheduledTaskRepeat } from '../types/scheduled-task-schedule';
|
|
@@ -32,8 +33,10 @@ export interface ScheduledTaskCreateFormValues {
|
|
|
32
33
|
modelId: string;
|
|
33
34
|
/** Optional human-readable summary sent to the BFF as `description` (max 500 characters). */
|
|
34
35
|
description?: string;
|
|
35
|
-
/** Prompt text
|
|
36
|
+
/** Prompt text; may be empty when a skill is selected. */
|
|
36
37
|
prompt: string;
|
|
38
|
+
/** Optional selected skill reference, independent of its display metadata. */
|
|
39
|
+
skillUrl?: string;
|
|
37
40
|
}
|
|
38
41
|
/** Validation error messages keyed by {@link ScheduledTaskCreateFormValues} field. */
|
|
39
42
|
export interface ScheduledTaskCreateFormErrors {
|
|
@@ -59,9 +62,11 @@ export interface ScheduledTaskCreateFormErrors {
|
|
|
59
62
|
description?: string;
|
|
60
63
|
/** Error shown under the prompt field. */
|
|
61
64
|
prompt?: string;
|
|
65
|
+
/** Error shown under the skill field, or at form level when the slot is hidden. */
|
|
66
|
+
skillUrl?: string;
|
|
62
67
|
}
|
|
63
68
|
/** Localized labels used by the {@link ScheduledTaskCreateForm} component. */
|
|
64
|
-
export interface ScheduledTaskCreateFormLabels {
|
|
69
|
+
export interface ScheduledTaskCreateFormLabels extends TextRefinementLabels {
|
|
65
70
|
/** Page/header title, e.g. "New task". */
|
|
66
71
|
pageTitle: string;
|
|
67
72
|
/** Accessible label for the header's back control. */
|
|
@@ -80,12 +85,14 @@ export interface ScheduledTaskCreateFormLabels {
|
|
|
80
85
|
displayNameRequired: string;
|
|
81
86
|
/** Run-at field label (shown when `repeat` is "oneTime"). */
|
|
82
87
|
runAtLabel: string;
|
|
88
|
+
/** Time-of-day field label (shown when `repeat` is "daily", "weekly", or "monthly"). */
|
|
89
|
+
timeLabel: string;
|
|
90
|
+
/** Validation message shown under the time field when its visible draft is not a complete `HH:mm` value. */
|
|
91
|
+
timeInvalidLabel: string;
|
|
83
92
|
/** Accessible label for the Repeat dropdown. */
|
|
84
93
|
repeatLabel: string;
|
|
85
94
|
/** Options rendered in the Repeat dropdown. */
|
|
86
95
|
repeatOptions: ScheduledTaskRepeatOption[];
|
|
87
|
-
/** Time field label (shown when `repeat` is "daily", "weekly", or "monthly"). */
|
|
88
|
-
timeLabel: string;
|
|
89
96
|
/** Day-of-week field label (shown when `repeat` is "weekly"). */
|
|
90
97
|
dayOfWeekLabel: string;
|
|
91
98
|
/** Day-of-month field label (shown when `repeat` is "monthly"). */
|
|
@@ -106,6 +113,10 @@ export interface ScheduledTaskCreateFormLabels {
|
|
|
106
113
|
descriptionLabel: string;
|
|
107
114
|
/** Accessible label for the Instructions markdown editor. */
|
|
108
115
|
instructionsLabel: string;
|
|
116
|
+
/** Optional label above the host-composed skill selector. */
|
|
117
|
+
skillLabel?: string;
|
|
118
|
+
/** Optional placeholder forwarded to the Instructions editor. */
|
|
119
|
+
instructionsPlaceholder?: string;
|
|
109
120
|
/** Label for the Cancel action. */
|
|
110
121
|
cancelButtonLabel: string;
|
|
111
122
|
/** Label for the Save action (submits the create form). */
|
|
@@ -118,6 +129,10 @@ export interface ScheduledTaskCreateFormLabels {
|
|
|
118
129
|
* as CSS custom properties with app theme fallbacks.
|
|
119
130
|
*/
|
|
120
131
|
export interface ScheduledTaskCreateFormColors {
|
|
132
|
+
/** Refinement status text color. Defaults to --text-primary. */
|
|
133
|
+
refineActionText?: string;
|
|
134
|
+
/** Refinement error color. Defaults to --text-error. */
|
|
135
|
+
refineErrorText?: string;
|
|
121
136
|
/** Root container background. Fallback: `--bg-layer-base`. */
|
|
122
137
|
background?: string;
|
|
123
138
|
/** Header row's bottom border color. Fallback: `--stroke-tertiary`. */
|
|
@@ -131,6 +146,8 @@ export interface ScheduledTaskCreateFormColors {
|
|
|
131
146
|
}
|
|
132
147
|
/** Typography overrides for the {@link ScheduledTaskCreateForm} component. */
|
|
133
148
|
export interface ScheduledTaskCreateFormTypography {
|
|
149
|
+
/** Refinement feedback typography. Defaults to 'dial-small-text'. */
|
|
150
|
+
refineFeedbackClassName?: string;
|
|
134
151
|
/** CSS class applied to the title. Defaults to `'dial-h1-text'`. */
|
|
135
152
|
titleClassName?: string;
|
|
136
153
|
/** CSS class applied to a section heading. Defaults to `'dial-body-semi-text'`. */
|
|
@@ -148,9 +165,18 @@ export interface ScheduledTaskCreateFormStyles {
|
|
|
148
165
|
colors?: ScheduledTaskCreateFormColors;
|
|
149
166
|
/** Typography class overrides. */
|
|
150
167
|
typography?: ScheduledTaskCreateFormTypography;
|
|
168
|
+
/** Layout values scoped to this form instance. */
|
|
169
|
+
layout?: {
|
|
170
|
+
detailsWidth?: string;
|
|
171
|
+
columnGap?: string;
|
|
172
|
+
};
|
|
151
173
|
}
|
|
152
174
|
/** Props for the {@link ScheduledTaskCreateForm} component. */
|
|
153
175
|
export interface ScheduledTaskCreateFormProps {
|
|
176
|
+
/** Optional Description rewrite callback; omission hides its action. */
|
|
177
|
+
onRefineDescription?: (value: string, signal: AbortSignal) => Promise<string>;
|
|
178
|
+
/** Optional Instructions rewrite callback; omission hides its action. */
|
|
179
|
+
onRefineInstructions?: (value: string, signal: AbortSignal) => Promise<string>;
|
|
154
180
|
/** Localized labels. */
|
|
155
181
|
labels: ScheduledTaskCreateFormLabels;
|
|
156
182
|
/** Current field values. */
|
|
@@ -170,6 +196,12 @@ export interface ScheduledTaskCreateFormProps {
|
|
|
170
196
|
* linked without a literal id that could collide across form instances.
|
|
171
197
|
*/
|
|
172
198
|
modelLabelId: string;
|
|
199
|
+
/** Optional host-composed skill control, rendered above Instructions. */
|
|
200
|
+
skillSelector?: ReactNode;
|
|
201
|
+
/** ID of the skill label; also pass to the control's aria-labelledby. */
|
|
202
|
+
skillLabelId?: string;
|
|
203
|
+
/** ID of the skill error; also pass to the control's aria-describedby. */
|
|
204
|
+
skillErrorId?: string;
|
|
173
205
|
/** Called with the changed field key and its new value whenever any field is edited. */
|
|
174
206
|
onFieldChange: <K extends keyof ScheduledTaskCreateFormValues>(field: K, value: ScheduledTaskCreateFormValues[K]) => void;
|
|
175
207
|
/** Called when the user activates the header's back control. */
|
|
@@ -182,6 +214,10 @@ export interface ScheduledTaskCreateFormProps {
|
|
|
182
214
|
isSubmitting?: boolean;
|
|
183
215
|
/** Color theme applied to the Instructions markdown editor. Defaults to the editor's own default (`EditorThemes.light`). */
|
|
184
216
|
markdownEditorTheme?: EditorThemes;
|
|
217
|
+
/** Optional replacement for the default back icon. */
|
|
218
|
+
backIcon?: ReactNode;
|
|
219
|
+
/** Additional class name on the form root. */
|
|
220
|
+
className?: string;
|
|
185
221
|
/** Style overrides. */
|
|
186
222
|
styles?: ScheduledTaskCreateFormStyles;
|
|
187
223
|
}
|
|
@@ -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,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,0HAA0H;IAC1H,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wHAAwH;IACxH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,MAAM,EAAE,MAAM,CAAC;
|
|
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;AAE5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,iGAAiG;IACjG,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4HAA4H;IAC5H,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
|
|
@@ -23,14 +23,18 @@ export interface ScheduledTaskDetailViewLabels {
|
|
|
23
23
|
repeatsLabel: string;
|
|
24
24
|
/** Label for the activity-window field, e.g. "Active". Shown only for a recurring task whose window is bounded. */
|
|
25
25
|
activeWindowLabel: string;
|
|
26
|
-
/** Accessible name and visible label of the header's Active switch. Distinct from `activeWindowLabel`, which describes the cron activity date window. Shown only when `isActive` is defined
|
|
26
|
+
/** Accessible name and visible label of the header's Active switch. Distinct from `activeWindowLabel`, which describes the cron activity date window. Shown only when `isActive` is defined and `isCompleted`/`isDeleted` are not `true`. */
|
|
27
27
|
activeStatusLabel: string;
|
|
28
|
+
/** Label for the completed-state field in the Details section, e.g. "Status". */
|
|
29
|
+
completedFieldLabel: string;
|
|
28
30
|
/** Announced via `aria-live` after a pause/resume mutation completes, separate from the switch's own accessible name. Empty string announces nothing. */
|
|
29
31
|
activeStatusAnnouncement?: string;
|
|
30
32
|
/** Title of the Configuration section. */
|
|
31
33
|
configurationTitle: string;
|
|
32
34
|
/** Label for the instructions field. */
|
|
33
35
|
instructionsLabel: string;
|
|
36
|
+
/** Label of the optional skill field in Configuration. */
|
|
37
|
+
skillLabel?: string;
|
|
34
38
|
/** Label for the page-level retry action shown alongside `error`. */
|
|
35
39
|
retryLabel: string;
|
|
36
40
|
/** Title of the History panel. */
|
|
@@ -39,6 +43,8 @@ export interface ScheduledTaskDetailViewLabels {
|
|
|
39
43
|
historyEmptyLabel: string;
|
|
40
44
|
/** Message shown alongside the retry action when `runsError` is set. */
|
|
41
45
|
historyErrorLabel: string;
|
|
46
|
+
/** Next-page failure message; falls back to historyErrorLabel. */
|
|
47
|
+
historyLoadMoreErrorLabel?: string;
|
|
42
48
|
/** Label for the History retry action. */
|
|
43
49
|
historyRetryLabel: string;
|
|
44
50
|
/** Announced via `aria-live` while a load-more runs fetch is in flight. */
|
|
@@ -96,6 +102,12 @@ export interface ScheduledTaskDetailViewStyles {
|
|
|
96
102
|
/** Typography class overrides. */
|
|
97
103
|
typography?: ScheduledTaskDetailViewTypography;
|
|
98
104
|
}
|
|
105
|
+
export interface ScheduledTaskDetailViewLayout {
|
|
106
|
+
detailsWidth?: string;
|
|
107
|
+
historyWidth?: string;
|
|
108
|
+
historyMaxHeight?: string;
|
|
109
|
+
configurationMinWidth?: string;
|
|
110
|
+
}
|
|
99
111
|
/** Props for the {@link ScheduledTaskDetailView} component. */
|
|
100
112
|
export interface ScheduledTaskDetailViewProps {
|
|
101
113
|
/** Localized labels. */
|
|
@@ -110,12 +122,16 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
110
122
|
isDeleting?: boolean;
|
|
111
123
|
/** When `true`, the header renders a read-only deleted-state indicator instead of the Delete, Edit, and Active controls, regardless of whether `onDelete`/`onEdit`/`isActive` are supplied. Defaults to `false`. */
|
|
112
124
|
isDeleted?: boolean;
|
|
113
|
-
/**
|
|
125
|
+
/** When `true`, the Active switch does not render at all — the task can no longer produce a future run, and the completed line in the Details summary carries the state. Defaults to `false`. */
|
|
126
|
+
isCompleted?: boolean;
|
|
127
|
+
/** Whether the schedule is currently active (resumed) or paused. When `undefined`, the Active switch does not render. Suppressed while `isDeleted` or `isCompleted` is `true`. */
|
|
114
128
|
isActive?: boolean;
|
|
115
129
|
/** When `true`, the Active switch renders disabled while a pause/resume request is in flight. Defaults to `false`. */
|
|
116
130
|
isActiveUpdating?: boolean;
|
|
117
131
|
/** When `true`, the Active switch renders disabled (e.g. a completed one-time schedule that cannot be resumed), independent of `isActiveUpdating`. Defaults to `false`. */
|
|
118
132
|
isActiveDisabled?: boolean;
|
|
133
|
+
/** Pre-formatted reason text shown next to the Active switch when `isActiveDisabled` is `true`, explaining why resuming is unavailable (e.g. a one-time schedule that already ran). Per-task value, not a stable label. Omit to hide. */
|
|
134
|
+
activeDisabledReason?: string;
|
|
119
135
|
/** Called with the newly requested value when the user toggles the Active switch. The component performs no network call or optimistic update itself. */
|
|
120
136
|
onActiveChange?: (nextActive: boolean) => void;
|
|
121
137
|
/** Task title shown in the header and used as the page's accessible name. */
|
|
@@ -134,8 +150,12 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
134
150
|
repeatsLabel?: string;
|
|
135
151
|
/** Pre-formatted activity-window label, e.g. "Aug 1, 2026 – Dec 31, 2026". Omit to hide (unbounded or one-shot schedule). */
|
|
136
152
|
activeWindowLabel?: string;
|
|
153
|
+
/** Pre-formatted completed-state value shown as a field in the Details section, e.g. "Completed" — for a task that can no longer produce a future run. Omit to hide. */
|
|
154
|
+
completedLabel?: string;
|
|
137
155
|
/** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via the default `MDMessageViewer` otherwise. Omit to hide the field entirely. */
|
|
138
156
|
instructionsMarkdown?: string;
|
|
157
|
+
/** Resolved skill name or full saved reference; omit to hide the field. */
|
|
158
|
+
skillDisplayName?: string;
|
|
139
159
|
/** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
|
|
140
160
|
renderInstructions?: (markdown: string) => ReactNode;
|
|
141
161
|
/** 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). */
|
|
@@ -152,6 +172,10 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
152
172
|
runsError?: Error | null;
|
|
153
173
|
/** Called when the user activates the History retry action shown alongside `runsError`. */
|
|
154
174
|
onRunsRetry?: () => void;
|
|
175
|
+
/** Next-page failure, displayed beneath existing runs. */
|
|
176
|
+
runsLoadMoreError?: Error | null;
|
|
177
|
+
/** Retries the failed history page. */
|
|
178
|
+
onRunsRetryLoadMore?: () => void;
|
|
155
179
|
/** Whether another page of `runs` is available beyond what has been loaded so far. Defaults to `false`. */
|
|
156
180
|
runsHasMore?: boolean;
|
|
157
181
|
/** Called when the user activates the "Show more" button, rendered below the loaded runs while `runsHasMore` is `true`. Omit to hide the button entirely. */
|
|
@@ -160,5 +184,13 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
160
184
|
onRunClick?: (run: ScheduledTaskRunItem) => void;
|
|
161
185
|
/** Style overrides. */
|
|
162
186
|
styles?: ScheduledTaskDetailViewStyles;
|
|
187
|
+
/** Additional class names on the view root. */
|
|
188
|
+
className?: string;
|
|
189
|
+
/** Replacement for the directional default back icon. `null` hides it. */
|
|
190
|
+
backIcon?: ReactNode | null;
|
|
191
|
+
/** Desktop column and history sizing. */
|
|
192
|
+
layout?: ScheduledTaskDetailViewLayout;
|
|
193
|
+
/** Forwarded history presentation settings. */
|
|
194
|
+
historyStyles?: import('./scheduled-task-history-section-props').ScheduledTaskHistorySectionStyles;
|
|
163
195
|
}
|
|
164
196
|
//# sourceMappingURL=scheduled-task-detail-view-props.d.ts.map
|
|
@@ -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,
|
|
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,6OAA6O;IAC7O,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iFAAiF;IACjF,mBAAmB,EAAE,MAAM,CAAC;IAC5B,yJAAyJ;IACzJ,wBAAwB,CAAC,EAAE,MAAM,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IAC1D,iBAAiB,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACjC,uCAAuC;IACvC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,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;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"}
|
|
@@ -8,6 +8,8 @@ interface ScheduledTaskDetailsSectionLabels {
|
|
|
8
8
|
repeatsLabel: string;
|
|
9
9
|
/** Label for the activity-window field, e.g. "Active". */
|
|
10
10
|
activeWindowLabel: string;
|
|
11
|
+
/** Label for the completed-state field, e.g. "Status". */
|
|
12
|
+
completedFieldLabel: string;
|
|
11
13
|
}
|
|
12
14
|
/** Props for the {@link ScheduledTaskDetailsSection} component. */
|
|
13
15
|
export interface ScheduledTaskDetailsSectionProps {
|
|
@@ -21,6 +23,8 @@ export interface ScheduledTaskDetailsSectionProps {
|
|
|
21
23
|
repeatsLabel?: string;
|
|
22
24
|
/** Pre-formatted activity-window label, e.g. "Aug 1, 2026 – Dec 31, 2026". Omit to hide the field (unbounded or one-shot schedule). */
|
|
23
25
|
activeWindowLabel?: string;
|
|
26
|
+
/** Pre-formatted completed-state value, e.g. "Completed" — for a task that can no longer produce a future run. Omit to hide the field. */
|
|
27
|
+
completedLabel?: string;
|
|
24
28
|
/** CSS class applied to each field label. Defaults to `'dial-tiny-text'`. */
|
|
25
29
|
fieldLabelClassName?: string;
|
|
26
30
|
/** CSS class applied to each field value. Defaults to `'dial-small-text'`. */
|
|
@@ -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;
|
|
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,8EAA8E;IAC9E,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B"}
|
|
@@ -13,6 +13,10 @@ export interface ScheduledTaskDetailsSummaryStyles {
|
|
|
13
13
|
}
|
|
14
14
|
/** Props for the {@link ScheduledTaskDetailsSummary} component. */
|
|
15
15
|
export interface ScheduledTaskDetailsSummaryProps {
|
|
16
|
+
/** Localized label of the optional skill field. */
|
|
17
|
+
skillLabel?: string;
|
|
18
|
+
/** Resolved skill name or full saved reference; omit to hide the field. */
|
|
19
|
+
skillDisplayName?: string;
|
|
16
20
|
/** Label for the model field, e.g. "Model". */
|
|
17
21
|
modelLabel: string;
|
|
18
22
|
/** Label for the instructions field, e.g. "Instructions". */
|
|
@@ -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;AAEvC,kFAAkF;AAClF,MAAM,WAAW,qCAAqC;IACpD,oGAAoG;IACpG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qFAAqF;IACrF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,6EAA6E;AAC7E,MAAM,WAAW,iCAAiC;IAChD,kCAAkC;IAClC,UAAU,CAAC,EAAE,qCAAqC,CAAC;CACpD;AAED,mEAAmE;AACnE,MAAM,WAAW,gCAAgC;IAC/C,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gIAAgI;IAChI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yKAAyK;IACzK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,uBAAuB;IACvB,MAAM,CAAC,EAAE,iCAAiC,CAAC;CAC5C"}
|
|
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;AAEvC,kFAAkF;AAClF,MAAM,WAAW,qCAAqC;IACpD,oGAAoG;IACpG,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qFAAqF;IACrF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,6EAA6E;AAC7E,MAAM,WAAW,iCAAiC;IAChD,kCAAkC;IAClC,UAAU,CAAC,EAAE,qCAAqC,CAAC;CACpD;AAED,mEAAmE;AACnE,MAAM,WAAW,gCAAgC;IAC/C,mDAAmD;IACnD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gIAAgI;IAChI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yKAAyK;IACzK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,uBAAuB;IACvB,MAAM,CAAC,EAAE,iCAAiC,CAAC;CAC5C"}
|
|
@@ -9,6 +9,8 @@ export interface ScheduledTaskHistorySectionLabels {
|
|
|
9
9
|
historyEmptyLabel: string;
|
|
10
10
|
/** Message shown alongside the retry action when `error` is set. */
|
|
11
11
|
historyErrorLabel: string;
|
|
12
|
+
/** Next-page failure message; falls back to historyErrorLabel. */
|
|
13
|
+
historyLoadMoreErrorLabel?: string;
|
|
12
14
|
/** Label for the retry action shown alongside `error`. */
|
|
13
15
|
historyRetryLabel: string;
|
|
14
16
|
/** Announced via `aria-live` while a load-more runs fetch is in flight. */
|
|
@@ -21,7 +23,7 @@ export interface ScheduledTaskHistorySectionLabels {
|
|
|
21
23
|
unreadIndicatorLabel?: string;
|
|
22
24
|
}
|
|
23
25
|
/** Status-icon and unread-dot color overrides forwarded to the run list. */
|
|
24
|
-
interface ScheduledTaskHistorySectionColors {
|
|
26
|
+
export interface ScheduledTaskHistorySectionColors {
|
|
25
27
|
/** Success status icon color. Fallback: `--text-success`. */
|
|
26
28
|
successIconColor?: string;
|
|
27
29
|
/** Error status icon color. Fallback: `--text-error`. */
|
|
@@ -31,6 +33,13 @@ interface ScheduledTaskHistorySectionColors {
|
|
|
31
33
|
/** Unread-dot indicator fill color. Fallback: `--text-accent`. */
|
|
32
34
|
unreadDotColor?: string;
|
|
33
35
|
}
|
|
36
|
+
export interface ScheduledTaskHistorySectionStyles {
|
|
37
|
+
colors?: ScheduledTaskHistorySectionColors;
|
|
38
|
+
maxHeight?: string;
|
|
39
|
+
rowMinHeight?: string;
|
|
40
|
+
rowHoverBackground?: string;
|
|
41
|
+
rowFocusBackground?: string;
|
|
42
|
+
}
|
|
34
43
|
/** Props for the {@link ScheduledTaskHistorySection} component. */
|
|
35
44
|
export interface ScheduledTaskHistorySectionProps {
|
|
36
45
|
/** Chrome the section renders: the desktop card or the mobile/tablet page flow. */
|
|
@@ -51,6 +60,10 @@ export interface ScheduledTaskHistorySectionProps {
|
|
|
51
60
|
error?: Error | null;
|
|
52
61
|
/** Called when the user activates the retry action shown alongside `error`. */
|
|
53
62
|
onRetry?: () => void;
|
|
63
|
+
/** Next-page failure, displayed beneath existing runs. */
|
|
64
|
+
loadMoreError?: Error | null;
|
|
65
|
+
/** Retries the failed page without clearing existing runs. */
|
|
66
|
+
onRetryLoadMore?: () => void;
|
|
54
67
|
/** Whether another page of `items` is available beyond what has been loaded. Defaults to `false`. */
|
|
55
68
|
hasMore?: boolean;
|
|
56
69
|
/** Called when the user activates the "Show more" button, rendered while `hasMore` is `true`. Omit to hide the button entirely. */
|
|
@@ -63,6 +76,6 @@ export interface ScheduledTaskHistorySectionProps {
|
|
|
63
76
|
sectionTitleClassName?: string;
|
|
64
77
|
/** Status-icon and unread-dot color overrides forwarded to the run list. */
|
|
65
78
|
colors?: ScheduledTaskHistorySectionColors;
|
|
79
|
+
styles?: ScheduledTaskHistorySectionStyles;
|
|
66
80
|
}
|
|
67
|
-
export {};
|
|
68
81
|
//# sourceMappingURL=scheduled-task-history-section-props.d.ts.map
|
|
@@ -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,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;CAC/B;AAED,4EAA4E;AAC5E,
|
|
1
|
+
{"version":3,"file":"scheduled-task-history-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-history-section-props.ts"],"names":[],"mappings":"AAAA,OAA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;IACnF,OAAO,EAAE,kCAAkC,CAAC;IAC5C,wBAAwB;IACxB,MAAM,EAAE,iCAAiC,CAAC;IAC1C,iIAAiI;IACjI,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qFAAqF;IACrF,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,2IAA2I;IAC3I,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sIAAsI;IACtI,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,0DAA0D;IAC1D,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC7B,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,qGAAqG;IACrG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mIAAmI;IACnI,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,6KAA6K;IAC7K,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,kFAAkF;IAClF,qBAAqB,CAAC,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"}
|
|
@@ -14,5 +14,25 @@ export interface ScheduledTaskItem {
|
|
|
14
14
|
isNew?: boolean;
|
|
15
15
|
/** 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
16
|
isActive?: boolean;
|
|
17
|
+
/** Optional explicit display status; takes precedence over the derived `isCompleted`/`isActive` statuses. */
|
|
18
|
+
presentationStatus?: ScheduledTaskPresentationStatus;
|
|
19
|
+
/** When `true`, the card shows a "Completed" badge in place of the schedule pill — a task that can no longer produce a future run (a finished one-time task, or a recurring task whose activity window has closed). Pre-resolved by the host app; the lib performs no completion derivation. Takes precedence over `isActive` when both are set. */
|
|
20
|
+
isCompleted?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Host-supplied explicit status override for a card. Not the same enum as
|
|
24
|
+
* `ScheduledTaskStatus`: this is the optional input on `ScheduledTaskItem`,
|
|
25
|
+
* mapped onto the resolved output by `getScheduledTaskStatus` (`Active` →
|
|
26
|
+
* `Scheduled`). Not deprecated — it is the deliberate escape hatch for a host
|
|
27
|
+
* whose own status source disagrees with the derived `isCompleted`/`isActive`
|
|
28
|
+
* fields, and it wins over both.
|
|
29
|
+
*/
|
|
30
|
+
export declare enum ScheduledTaskPresentationStatus {
|
|
31
|
+
/** Resolves to `ScheduledTaskStatus.Scheduled` (the schedule pill). */
|
|
32
|
+
Active = "active",
|
|
33
|
+
/** Resolves to `ScheduledTaskStatus.Paused` (the "Paused" badge). */
|
|
34
|
+
Paused = "paused",
|
|
35
|
+
/** Resolves to `ScheduledTaskStatus.Completed` (the "Completed" badge). */
|
|
36
|
+
Completed = "completed"
|
|
17
37
|
}
|
|
18
38
|
//# 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,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;
|
|
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"}
|
|
@@ -49,6 +49,9 @@ export interface ScheduledTaskRunHistoryListStyles {
|
|
|
49
49
|
colors?: ScheduledTaskRunHistoryListColors;
|
|
50
50
|
/** Typography class overrides. */
|
|
51
51
|
typography?: ScheduledTaskRunHistoryListTypography;
|
|
52
|
+
rowMinHeight?: string;
|
|
53
|
+
rowHoverBackground?: string;
|
|
54
|
+
rowFocusBackground?: string;
|
|
52
55
|
}
|
|
53
56
|
/** Props for the {@link ScheduledTaskRunHistoryList} component. */
|
|
54
57
|
export interface ScheduledTaskRunHistoryListProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-run-history-list-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-run-history-list-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,kFAAkF;AAClF,MAAM,WAAW,iCAAiC;IAChD,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,2GAA2G;IAC3G,eAAe,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACxD,6HAA6H;IAC7H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gIAAgI;IAChI,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,iCAAiC;IAChD,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kFAAkF;AAClF,MAAM,WAAW,qCAAqC;IACpD,2FAA2F;IAC3F,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+FAA+F;IAC/F,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,6EAA6E;AAC7E,MAAM,WAAW,iCAAiC;IAChD,wDAAwD;IACxD,MAAM,CAAC,EAAE,iCAAiC,CAAC;IAC3C,kCAAkC;IAClC,UAAU,CAAC,EAAE,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduled-task-run-history-list-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-run-history-list-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,kFAAkF;AAClF,MAAM,WAAW,iCAAiC;IAChD,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,2GAA2G;IAC3G,eAAe,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACxD,6HAA6H;IAC7H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gIAAgI;IAChI,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;GAGG;AACH,MAAM,WAAW,iCAAiC;IAChD,6DAA6D;IAC7D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oEAAoE;IACpE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,kFAAkF;AAClF,MAAM,WAAW,qCAAqC;IACpD,2FAA2F;IAC3F,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+FAA+F;IAC/F,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,6EAA6E;AAC7E,MAAM,WAAW,iCAAiC;IAChD,wDAAwD;IACxD,MAAM,CAAC,EAAE,iCAAiC,CAAC;IAC3C,kCAAkC;IAClC,UAAU,CAAC,EAAE,qCAAqC,CAAC;IACnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,mEAAmE;AACnE,MAAM,WAAW,gCAAgC;IAC/C,qFAAqF;IACrF,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,oIAAoI;IACpI,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uGAAuG;IACvG,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,4FAA4F;IAC5F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,0HAA0H;IAC1H,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6KAA6K;IAC7K,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,wBAAwB;IACxB,MAAM,EAAE,iCAAiC,CAAC;IAC1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,iCAAiC,CAAC;CAC5C"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { SelectOption } from '@epam/ai-dial-ui-kit';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
3
|
import { ScheduledTasksSortKey } from '../types/scheduled-tasks-sort-key';
|
|
4
|
-
import { ScheduledTaskCardGridLabels } from './scheduled-task-card-grid-props';
|
|
4
|
+
import { ScheduledTaskCardGridLabels, ScheduledTaskCardGridLayout } from './scheduled-task-card-grid-props';
|
|
5
|
+
import { ScheduledTaskCardStyles } from './scheduled-task-card-props';
|
|
5
6
|
import { ScheduledTaskItem } from './scheduled-task-item';
|
|
6
7
|
/** Localized labels used by the {@link ScheduledTasks} component. */
|
|
7
8
|
export interface ScheduledTasksLabels {
|
|
@@ -35,6 +36,7 @@ export interface ScheduledTasksLabels {
|
|
|
35
36
|
retryLabel: string;
|
|
36
37
|
/** Announced via `aria-live` while a load-more fetch is in flight (`isLoadingMore`). Optional — no announcement is made when omitted. */
|
|
37
38
|
loadingMoreLabel?: string;
|
|
39
|
+
loadMoreErrorLabel?: string;
|
|
38
40
|
/** Localized labels forwarded as-is to every card in the grid. */
|
|
39
41
|
cardLabels?: ScheduledTaskCardGridLabels;
|
|
40
42
|
}
|
|
@@ -100,6 +102,12 @@ export interface ScheduledTasksProps {
|
|
|
100
102
|
onCardClick?: (id: string) => void;
|
|
101
103
|
/** Content rendered between the search/sort toolbar and the content region (e.g. a status banner). Renders nothing when omitted. */
|
|
102
104
|
banner?: ReactNode;
|
|
105
|
+
sortIcon?: ReactNode | null;
|
|
106
|
+
className?: string;
|
|
107
|
+
gridLayout?: ScheduledTaskCardGridLayout;
|
|
108
|
+
cardStyles?: ScheduledTaskCardStyles;
|
|
109
|
+
loadMoreError?: Error | null;
|
|
110
|
+
onRetryLoadMore?: () => void;
|
|
103
111
|
/** Style overrides. */
|
|
104
112
|
styles?: ScheduledTasksStyles;
|
|
105
113
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-tasks-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-tasks-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,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C,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,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,oIAAoI;IACpI,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,2BAA2B,CAAC;IACzC,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,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.2.0-dev.
|
|
4
|
+
"version": "1.2.0-dev.201",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
"./package.json": "./package.json",
|
|
12
12
|
"./styles.css": "./index.css",
|
|
13
|
+
"./validation": {
|
|
14
|
+
"types": "./validation.d.ts",
|
|
15
|
+
"import": "./validation.js",
|
|
16
|
+
"default": "./validation.js"
|
|
17
|
+
},
|
|
13
18
|
".": {
|
|
14
19
|
"types": "./index.d.ts",
|
|
15
20
|
"import": "./index.js",
|
|
@@ -20,11 +25,11 @@
|
|
|
20
25
|
"@tabler/icons-react": "^3.44.0",
|
|
21
26
|
"@uiw/react-markdown-preview": "^5.2.1",
|
|
22
27
|
"@uiw/react-md-editor": "^4.1.1",
|
|
23
|
-
"@epam/ai-dial-builder-form": "1.2.0-dev.
|
|
28
|
+
"@epam/ai-dial-builder-form": "1.2.0-dev.201"
|
|
24
29
|
},
|
|
25
30
|
"peerDependencies": {
|
|
26
|
-
"@epam/ai-dial-chat-shared": "1.2.0-dev.
|
|
27
|
-
"@epam/ai-dial-ui-kit": "^0.
|
|
31
|
+
"@epam/ai-dial-chat-shared": "1.2.0-dev.201",
|
|
32
|
+
"@epam/ai-dial-ui-kit": "^0.15.0-dev.23",
|
|
28
33
|
"react": "^19.2.8"
|
|
29
34
|
},
|
|
30
35
|
"repository": {
|