@epam/ai-dial-scheduled-tasks 1.1.0-dev.128 → 1.1.0-dev.129
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/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
- package/index.d.ts +2 -2
- package/index.d.ts.map +1 -1
- package/index.js +275 -279
- package/models/scheduled-task-create-form-props.d.ts +32 -36
- package/models/scheduled-task-create-form-props.d.ts.map +1 -1
- package/package.json +3 -3
- package/types/scheduled-task-schedule.d.ts +5 -8
- package/types/scheduled-task-schedule.d.ts.map +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/** A single option rendered in the
|
|
3
|
-
export interface
|
|
4
|
-
/** Stable identifier for this option, passed back via `onFieldChange('
|
|
5
|
-
key:
|
|
6
|
-
/** Localized display label for this
|
|
1
|
+
import { ScheduledTaskRepeat } from '../types/scheduled-task-schedule';
|
|
2
|
+
/** A single option rendered in the Repeat dropdown. */
|
|
3
|
+
export interface ScheduledTaskRepeatOption {
|
|
4
|
+
/** Stable identifier for this option, passed back via `onFieldChange('repeat', key)`. */
|
|
5
|
+
key: ScheduledTaskRepeat;
|
|
6
|
+
/** Localized display label for this repeat option. */
|
|
7
7
|
label: string;
|
|
8
8
|
}
|
|
9
9
|
/** A single model option rendered in the model dropdown. */
|
|
@@ -17,21 +17,21 @@ export interface ScheduledTaskCreateFormModelOption {
|
|
|
17
17
|
export interface ScheduledTaskCreateFormValues {
|
|
18
18
|
/** The scheduled task's display name (required). */
|
|
19
19
|
displayName: string;
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/** Local datetime-local input value used when `
|
|
20
|
+
/** How often the task repeats. */
|
|
21
|
+
repeat: ScheduledTaskRepeat;
|
|
22
|
+
/** Local datetime-local input value used when `repeat` is `'oneTime'`. */
|
|
23
23
|
runAt?: string;
|
|
24
|
-
/**
|
|
25
|
-
frequency?: ScheduledTaskFrequency;
|
|
26
|
-
/** `HH:mm` time-of-day used when `scheduleType` is `'recurring'`. */
|
|
24
|
+
/** `HH:mm` time-of-day used when `repeat` is `'daily'`, `'weekly'`, or `'monthly'`. */
|
|
27
25
|
time: string;
|
|
28
|
-
/** Day of week (`'0'`-`'6'`) used when `
|
|
26
|
+
/** Day of week (`'0'`-`'6'`) used when `repeat` is `'weekly'`. */
|
|
29
27
|
dayOfWeek?: string;
|
|
30
|
-
/** Day of month (`'1'`-`'31'`) used when `
|
|
28
|
+
/** Day of month (`'1'`-`'31'`) used when `repeat` is `'monthly'`. */
|
|
31
29
|
dayOfMonth?: string;
|
|
32
|
-
/**
|
|
30
|
+
/** Minute of the hour (`'0'`-`'59'`) used when `repeat` is `'hourly'`. */
|
|
31
|
+
minute?: string;
|
|
32
|
+
/** Date-only value bounding the start of a recurring schedule's activity window. Ignored when `repeat` is `'oneTime'`. */
|
|
33
33
|
startDate?: string;
|
|
34
|
-
/** Date-only value bounding the end of a recurring schedule's activity window. Ignored when `
|
|
34
|
+
/** Date-only value bounding the end of a recurring schedule's activity window. Ignored when `repeat` is `'oneTime'`. */
|
|
35
35
|
endDate?: string;
|
|
36
36
|
/** Selected deployment id sent to the BFF as `model` (required). */
|
|
37
37
|
modelId: string;
|
|
@@ -52,6 +52,8 @@ export interface ScheduledTaskCreateFormErrors {
|
|
|
52
52
|
dayOfWeek?: string;
|
|
53
53
|
/** Error shown under the day-of-month field. */
|
|
54
54
|
dayOfMonth?: string;
|
|
55
|
+
/** Error shown under the minute field. */
|
|
56
|
+
minute?: string;
|
|
55
57
|
/** Error shown under the start-date field. */
|
|
56
58
|
startDate?: string;
|
|
57
59
|
/** Error shown under the end-date field. */
|
|
@@ -81,31 +83,25 @@ export interface ScheduledTaskCreateFormLabels {
|
|
|
81
83
|
displayNameLabel: string;
|
|
82
84
|
/** Display name required-field validation message. */
|
|
83
85
|
displayNameRequired: string;
|
|
84
|
-
/**
|
|
85
|
-
scheduleSectionLabel: string;
|
|
86
|
-
/** Label for the "once" schedule type option. */
|
|
87
|
-
scheduleTypeOnceLabel: string;
|
|
88
|
-
/** Label for the "recurring" schedule type option. */
|
|
89
|
-
scheduleTypeRecurringLabel: string;
|
|
90
|
-
/** Accessible label for the schedule type control. */
|
|
91
|
-
scheduleTypeAriaLabel: string;
|
|
92
|
-
/** Run-at field label (shown when schedule type is "once"). */
|
|
86
|
+
/** Run-at field label (shown when `repeat` is "oneTime"). */
|
|
93
87
|
runAtLabel: string;
|
|
94
|
-
/** Accessible label for the
|
|
95
|
-
|
|
96
|
-
/** Options rendered in the
|
|
97
|
-
|
|
98
|
-
/** Time field label (shown when
|
|
88
|
+
/** Accessible label for the Repeat dropdown. */
|
|
89
|
+
repeatLabel: string;
|
|
90
|
+
/** Options rendered in the Repeat dropdown. */
|
|
91
|
+
repeatOptions: ScheduledTaskRepeatOption[];
|
|
92
|
+
/** Time field label (shown when `repeat` is "daily", "weekly", or "monthly"). */
|
|
99
93
|
timeLabel: string;
|
|
100
|
-
/** Day-of-week field label (shown when
|
|
94
|
+
/** Day-of-week field label (shown when `repeat` is "weekly"). */
|
|
101
95
|
dayOfWeekLabel: string;
|
|
102
|
-
/** Day-of-month field label (shown when
|
|
96
|
+
/** Day-of-month field label (shown when `repeat` is "monthly"). */
|
|
103
97
|
dayOfMonthLabel: string;
|
|
104
|
-
/**
|
|
98
|
+
/** Minute field label (shown when `repeat` is "hourly"). */
|
|
99
|
+
minuteLabel: string;
|
|
100
|
+
/** Start-date field label (shown when `repeat` is not "oneTime"; the field itself is optional, so this label carries no required marker). */
|
|
105
101
|
startDateLabel: string;
|
|
106
102
|
/** Placeholder shown in the start-date picker when unset. */
|
|
107
103
|
startDatePlaceholder: string;
|
|
108
|
-
/** End-date field label (shown when
|
|
104
|
+
/** End-date field label (shown when `repeat` is not "oneTime"; the field itself is optional, so this label carries no required marker). */
|
|
109
105
|
endDateLabel: string;
|
|
110
106
|
/** Placeholder shown in the end-date picker when unset. */
|
|
111
107
|
endDatePlaceholder: string;
|
|
@@ -146,8 +142,8 @@ export interface ScheduledTaskCreateFormTypography {
|
|
|
146
142
|
sectionTitleClassName?: string;
|
|
147
143
|
/** CSS class applied to a section subtitle. Defaults to `'dial-tiny-text'`. */
|
|
148
144
|
sectionSubtitleClassName?: string;
|
|
149
|
-
/** CSS class applied to the
|
|
150
|
-
|
|
145
|
+
/** CSS class applied to the Instructions label. Defaults to `'dial-body-semi-text mb-1'`. */
|
|
146
|
+
instructionsLabelClassName?: string;
|
|
151
147
|
/** CSS class applied to the Instructions editor's validation error text. Defaults to `'dial-small-text'`. */
|
|
152
148
|
instructionsErrorClassName?: string;
|
|
153
149
|
}
|
|
@@ -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,
|
|
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,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,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,kCAAkC;IAClC,MAAM,EAAE,mBAAmB,CAAC;IAC5B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;I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AAE,6BAA6B,CAAC;CACxC"}
|
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.
|
|
4
|
+
"version": "1.1.0-dev.129",
|
|
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.
|
|
21
|
-
"@epam/ai-dial-kit": "1.1.0-dev.
|
|
20
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.129",
|
|
21
|
+
"@epam/ai-dial-kit": "1.1.0-dev.129",
|
|
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"
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
export declare enum
|
|
1
|
+
/** How often a scheduled task repeats. */
|
|
2
|
+
export declare enum ScheduledTaskRepeat {
|
|
3
3
|
/** Task runs once at the date/time specified by `runAt`. */
|
|
4
|
-
|
|
5
|
-
/** Task runs
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
/** Recurrence cadence for a {@link ScheduledTaskScheduleType.Recurring} schedule type. */
|
|
9
|
-
export declare enum ScheduledTaskFrequency {
|
|
4
|
+
OneTime = "oneTime",
|
|
5
|
+
/** Task runs every hour, at the start of the hour. */
|
|
6
|
+
Hourly = "hourly",
|
|
10
7
|
/** Task runs every day at the specified `time`. */
|
|
11
8
|
Daily = "daily",
|
|
12
9
|
/** Task runs every week on `dayOfWeek` at the specified `time`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-schedule.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-task-schedule.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"scheduled-task-schedule.d.ts","sourceRoot":"","sources":["../../src/types/scheduled-task-schedule.ts"],"names":[],"mappings":"AAAA,0CAA0C;AAC1C,oBAAY,mBAAmB;IAC7B,4DAA4D;IAC5D,OAAO,YAAY;IACnB,sDAAsD;IACtD,MAAM,WAAW;IACjB,mDAAmD;IACnD,KAAK,UAAU;IACf,mEAAmE;IACnE,MAAM,WAAW;IACjB,qEAAqE;IACrE,OAAO,YAAY;CACpB"}
|