@epam/ai-dial-scheduled-tasks 1.3.0-dev.98 → 1.3.0-rc.0
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-WOdrwh6p.js +33 -0
- package/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.d.ts +24 -0
- package/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.d.ts.map +1 -0
- package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts +3 -1
- package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -1
- package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts.map +1 -1
- package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts.map +1 -1
- package/components/ScheduledTaskConversationBanner/ScheduledTaskConversationBanner.d.ts +5 -0
- package/components/ScheduledTaskConversationBanner/ScheduledTaskConversationBanner.d.ts.map +1 -0
- package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts +13 -2
- package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts.map +1 -1
- package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts +18 -1
- package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts.map +1 -1
- package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
- package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts +5 -1
- package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts.map +1 -1
- package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
- package/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.d.ts.map +1 -1
- package/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.d.ts.map +1 -1
- package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts.map +1 -1
- package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts +6 -2
- package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts.map +1 -1
- package/components/ScheduledTaskRunAtTimeField/ScheduledTaskRunAtTimeField.d.ts +5 -0
- package/components/ScheduledTaskRunAtTimeField/ScheduledTaskRunAtTimeField.d.ts.map +1 -0
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts +4 -3
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
- package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
- package/components/ScheduledTasksLimitedAccessBanner/ScheduledTasksLimitedAccessBanner.d.ts +20 -0
- package/components/ScheduledTasksLimitedAccessBanner/ScheduledTasksLimitedAccessBanner.d.ts.map +1 -0
- package/components/ScheduledTasksLoginBanner/ScheduledTasksLoginBanner.d.ts +32 -0
- package/components/ScheduledTasksLoginBanner/ScheduledTasksLoginBanner.d.ts.map +1 -0
- package/constants/scheduled-task-create-form.d.ts +3 -0
- package/constants/scheduled-task-create-form.d.ts.map +1 -1
- package/index.css +2 -2
- package/index.d.ts +13 -6
- package/index.d.ts.map +1 -1
- package/index.js +1213 -919
- package/models/scheduled-task-card-grid-props.d.ts +3 -1
- package/models/scheduled-task-card-grid-props.d.ts.map +1 -1
- package/models/scheduled-task-card-props.d.ts +3 -3
- package/models/scheduled-task-card-props.d.ts.map +1 -1
- package/models/scheduled-task-configuration-section-props.d.ts +2 -0
- package/models/scheduled-task-configuration-section-props.d.ts.map +1 -1
- package/models/scheduled-task-conversation-banner-props.d.ts +72 -0
- package/models/scheduled-task-conversation-banner-props.d.ts.map +1 -0
- package/models/scheduled-task-create-form-props.d.ts +30 -7
- package/models/scheduled-task-create-form-props.d.ts.map +1 -1
- package/models/scheduled-task-detail-view-props.d.ts +12 -0
- package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
- package/models/scheduled-task-details-section-props.d.ts +4 -1
- package/models/scheduled-task-details-section-props.d.ts.map +1 -1
- package/models/scheduled-task-details-summary-props.d.ts +17 -2
- package/models/scheduled-task-details-summary-props.d.ts.map +1 -1
- package/models/scheduled-task-history-section-props.d.ts +15 -3
- package/models/scheduled-task-history-section-props.d.ts.map +1 -1
- package/models/scheduled-task-item.d.ts +2 -0
- package/models/scheduled-task-item.d.ts.map +1 -1
- package/models/scheduled-task-run-history-list-props.d.ts +17 -3
- package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
- package/models/scheduled-task-run-item.d.ts +4 -2
- package/models/scheduled-task-run-item.d.ts.map +1 -1
- package/models/scheduled-tasks-props.d.ts +8 -2
- package/models/scheduled-tasks-props.d.ts.map +1 -1
- package/package.json +6 -6
- package/types/scheduled-task-schedule.d.ts +3 -1
- package/types/scheduled-task-schedule.d.ts.map +1 -1
- package/utils/aria.d.ts +3 -0
- package/utils/aria.d.ts.map +1 -0
- package/utils/calendar-value.d.ts +3 -1
- package/utils/calendar-value.d.ts.map +1 -1
- package/validation/index.d.ts +2 -2
- package/validation/index.d.ts.map +1 -1
- package/validation/scheduled-task-validation.d.ts +14 -5
- package/validation/scheduled-task-validation.d.ts.map +1 -1
- package/validation.js +18 -16
- package/calendar-value-B41Uk26Z.js +0 -24
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
//#region src/types/scheduled-task-schedule.ts
|
|
2
|
+
var e = /* @__PURE__ */ function(e) {
|
|
3
|
+
return e.OneTime = "oneTime", e.Hourly = "hourly", e.Daily = "daily", e.Weekly = "weekly", e.Monthly = "monthly", e.Custom = "custom", e;
|
|
4
|
+
}({}), t = 500, n = {
|
|
5
|
+
displayName: "",
|
|
6
|
+
repeat: e.Daily,
|
|
7
|
+
time: "09:00",
|
|
8
|
+
minute: "0",
|
|
9
|
+
startDate: void 0,
|
|
10
|
+
endDate: void 0,
|
|
11
|
+
modelId: "",
|
|
12
|
+
prompt: ""
|
|
13
|
+
}, r = (e) => String(e).padStart(2, "0"), i = /^([01]\d|2[0-3]):([0-5]\d)$/, a = (e) => e ? new Date(e) : null, o = (e) => {
|
|
14
|
+
if (e == null) return "";
|
|
15
|
+
let t = e instanceof Date ? e : new Date(e);
|
|
16
|
+
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${r(t.getMonth() + 1)}-${r(t.getDate())}T${r(t.getHours())}:${r(t.getMinutes())}`;
|
|
17
|
+
}, s = (e) => {
|
|
18
|
+
if (!e) return null;
|
|
19
|
+
let [t, n, r] = e.split("-").map(Number);
|
|
20
|
+
return new Date(t, n - 1, r);
|
|
21
|
+
}, c = (e) => {
|
|
22
|
+
if (e == null) return "";
|
|
23
|
+
let t = e instanceof Date ? e : new Date(e);
|
|
24
|
+
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${r(t.getMonth() + 1)}-${r(t.getDate())}`;
|
|
25
|
+
}, l = (e) => {
|
|
26
|
+
let t = Number(e);
|
|
27
|
+
return e && Number.isFinite(t) ? String(t + 1) : null;
|
|
28
|
+
}, u = (e) => {
|
|
29
|
+
let t = typeof e == "string" ? Number(e) : NaN;
|
|
30
|
+
return Number.isFinite(t) ? String(t - 1) : "";
|
|
31
|
+
};
|
|
32
|
+
//#endregion
|
|
33
|
+
export { s as a, t as c, o as i, n as l, c as n, l as o, u as r, a as s, i as t, e as u };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface ScheduledTaskBoundaryFieldProps {
|
|
3
|
+
/** Id of the picker control. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Label rendered above the picker by the kit Calendar. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Placeholder shown in the picker when unset. */
|
|
8
|
+
placeholder: string;
|
|
9
|
+
/** Boundary value: a whole local day as `YYYY-MM-DD`. */
|
|
10
|
+
value: string | undefined;
|
|
11
|
+
/** Called with the next `YYYY-MM-DD` boundary value. */
|
|
12
|
+
onChange: (value: string) => void;
|
|
13
|
+
/** Earliest selectable day, pinned by the owning form. */
|
|
14
|
+
minDate: Date;
|
|
15
|
+
/** Submit-time validation error rendered under the picker, associated with it via `aria-describedby` and announced through the kit `ErrorText` `announce` live region, mounted before the error arrives. */
|
|
16
|
+
error?: string;
|
|
17
|
+
/** CSS class applied to the error text. */
|
|
18
|
+
errorClassName?: string;
|
|
19
|
+
/** Disables the picker, e.g. while the form is submitting. */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** One activity-window boundary picker of the create/edit form: the kit date-only `Calendar`, and the submit-time error below it. */
|
|
23
|
+
export declare const ScheduledTaskBoundaryField: FC<ScheduledTaskBoundaryFieldProps>;
|
|
24
|
+
//# sourceMappingURL=ScheduledTaskBoundaryField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskBoundaryField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAS,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAOvC,MAAM,WAAW,+BAA+B;IAC9C,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,wDAAwD;IACxD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,0DAA0D;IAC1D,OAAO,EAAE,IAAI,CAAC;IACd,4MAA4M;IAC5M,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qIAAqI;AACrI,eAAO,MAAM,0BAA0B,EAAE,EAAE,CACzC,+BAA+B,CA4ChC,CAAC"}
|
|
@@ -9,7 +9,9 @@ import { ScheduledTaskCardProps } from '../../models/scheduled-task-card-props';
|
|
|
9
9
|
* shell the Catalog browse card uses. From the desktop breakpoint up the card
|
|
10
10
|
* has a fixed height and a one-line title; below it the card sizes to its
|
|
11
11
|
* content with a two-line title. A long description is clamped with an
|
|
12
|
-
* ellipsis (
|
|
12
|
+
* ellipsis (three lines on desktop, two below) — values too long to break at
|
|
13
|
+
* a space (a long URL and the like) wrap inside the card instead of
|
|
14
|
+
* stretching it past its grid track — and the status pill (plus the
|
|
13
15
|
* location breadcrumb, when present) is pinned to the bottom regardless of
|
|
14
16
|
* description length.
|
|
15
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAMrF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA2LxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskCardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledTaskCardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAK9F,yFAAyF;AACzF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA6ChE,CAAC"}
|
package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskConfigurationSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskConfigurationSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,yDAAyD,CAAC;AAqBtH,4FAA4F;AAC5F,eAAO,MAAM,iCAAiC,EAAE,EAAE,CAChD,sCAAsC,CA0DvC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ScheduledTaskConversationBannerProps } from '../../models/scheduled-task-conversation-banner-props';
|
|
3
|
+
/** Compact card above a scheduled-task conversation naming its task, the run time, and a link to the task. */
|
|
4
|
+
export declare const ScheduledTaskConversationBanner: FC<ScheduledTaskConversationBannerProps>;
|
|
5
|
+
//# sourceMappingURL=ScheduledTaskConversationBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskConversationBanner.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationBanner/ScheduledTaskConversationBanner.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAQ,KAAK,EAAE,EAAkB,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,uDAAuD,CAAC;AAYlH,8GAA8G;AAC9G,eAAO,MAAM,+BAA+B,EAAE,EAAE,CAAC,oCAAoC,CA8IlF,CAAC"}
|
|
@@ -32,6 +32,11 @@ export interface ScheduledTaskConversationDetailsSectionLabels {
|
|
|
32
32
|
/** Label for the retry action shown when `state` is `Error`. */
|
|
33
33
|
retryLabel: string;
|
|
34
34
|
}
|
|
35
|
+
/** Color overrides for {@link ScheduledTaskConversationDetailsSection}. */
|
|
36
|
+
export interface ScheduledTaskConversationDetailsSectionColors {
|
|
37
|
+
/** Text color of the unavailable/error message. Defaults to `--text-secondary`. */
|
|
38
|
+
unavailableText?: string;
|
|
39
|
+
}
|
|
35
40
|
/** Props for the {@link ScheduledTaskConversationDetailsSection} component. */
|
|
36
41
|
export interface ScheduledTaskConversationDetailsSectionProps {
|
|
37
42
|
/** Active schedule id — the expanded state resets whenever it changes. Omit when no schedule is active. */
|
|
@@ -42,13 +47,17 @@ export interface ScheduledTaskConversationDetailsSectionProps {
|
|
|
42
47
|
onRetry?: () => void;
|
|
43
48
|
/** Resolved "Model" display value (already resolved to a display name, or the raw id as a fallback). Omit to hide the field. */
|
|
44
49
|
modelDisplayName?: string;
|
|
50
|
+
/** Optional host renderer for model availability and its explanation. */
|
|
51
|
+
renderModelName?: (name: string) => ReactNode;
|
|
45
52
|
/** Resolved skill names or full saved references, in selection order; omit or pass [] to hide the field. */
|
|
46
53
|
skillDisplayNames?: string[];
|
|
54
|
+
/** Optional host renderer for a skill name and its availability, in selection order. */
|
|
55
|
+
renderSkillName?: (name: string, index: number) => ReactNode;
|
|
47
56
|
/** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via the default `MDMessageViewer` otherwise. Omit to hide the field entirely. */
|
|
48
57
|
instructionsMarkdown?: string;
|
|
49
58
|
/** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
|
|
50
59
|
renderInstructions?: (markdown: string) => ReactNode;
|
|
51
|
-
/** Class names forwarded to the summary's built-in instructions `MDMessageViewer`.
|
|
60
|
+
/** Class names forwarded to the summary's built-in instructions `MDMessageViewer`. Merged key by key over the summary's small 14/20 defaults. Ignored when `renderInstructions` is supplied. */
|
|
52
61
|
instructionsClassNames?: MarkdownRendererClassNames;
|
|
53
62
|
/** Code-block, table and formula labels for the summary's built-in `MDMessageViewer` renderer. Ignored when `renderInstructions` is supplied. */
|
|
54
63
|
markdownLabels?: ScheduledTaskInstructionsMarkdownLabels;
|
|
@@ -58,8 +67,10 @@ export interface ScheduledTaskConversationDetailsSectionProps {
|
|
|
58
67
|
labels: ScheduledTaskConversationDetailsSectionLabels;
|
|
59
68
|
/** CSS class applied to the accordion title. Defaults to `'dial-tiny-semi-text'`. */
|
|
60
69
|
titleClassName?: string;
|
|
61
|
-
/**
|
|
70
|
+
/** Typography class applied to the unavailable/error message. Defaults to `'dial-body-text'`. */
|
|
62
71
|
unavailableTextClassName?: string;
|
|
72
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
73
|
+
colors?: ScheduledTaskConversationDetailsSectionColors;
|
|
63
74
|
}
|
|
64
75
|
/**
|
|
65
76
|
* Details accordion of a task conversation's sources panel: the run's own
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskConversationDetailsSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"ScheduledTaskConversationDetailsSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,0BAA0B,EAChC,MAAM,2BAA2B,CAAC;AAOnC,OAAO,EAAE,SAAS,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,mDAAmD,CAAC;AAC3G,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,0CAA0C,CAAC;AAKxG;;;GAGG;AACH,oBAAY,qCAAqC;IAC/C,sEAAsE;IACtE,KAAK,UAAU;IACf,2FAA2F;IAC3F,KAAK,UAAU;IACf,2GAA2G;IAC3G,WAAW,gBAAgB;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,6CAA6C;IAC5D,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,UAAU,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,yCAAyC;IACzC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wFAAwF;IACxF,gBAAgB,EAAE,MAAM,CAAC;IACzB,gEAAgE;IAChE,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,2EAA2E;AAC3E,MAAM,WAAW,6CAA6C;IAC5D,mFAAmF;IACnF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,+EAA+E;AAC/E,MAAM,WAAW,4CAA4C;IAC3D,2GAA2G;IAC3G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mHAAmH;IACnH,KAAK,EAAE,qCAAqC,CAAC;IAC7C,sFAAsF;IACtF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gIAAgI;IAChI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yEAAyE;IACzE,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,CAAC;IAC9C,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,wFAAwF;IACxF,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAC7D,yKAAyK;IACzK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,gMAAgM;IAChM,sBAAsB,CAAC,EAAE,0BAA0B,CAAC;IACpD,iJAAiJ;IACjJ,cAAc,CAAC,EAAE,uCAAuC,CAAC;IACzD,4EAA4E;IAC5E,aAAa,CAAC,EAAE,iCAAiC,CAAC;IAClD,wBAAwB;IACxB,MAAM,EAAE,6CAA6C,CAAC;IACtD,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yDAAyD;IACzD,MAAM,CAAC,EAAE,6CAA6C,CAAC;CACxD;AAED;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,EAAE,EAAE,CACtD,4CAA4C,CAqF7C,CAAC"}
|
|
@@ -14,6 +14,8 @@ export interface ScheduledTaskConversationHistorySectionLabels {
|
|
|
14
14
|
errorLabel: string;
|
|
15
15
|
/** Label for the retry action shown alongside `error`. */
|
|
16
16
|
retryLabel: string;
|
|
17
|
+
/** Message shown instead of the run list while `isUnavailable` is `true`, e.g. "History is unavailable". */
|
|
18
|
+
unavailableLabel?: string;
|
|
17
19
|
/** Label for the "Show more" footer button, rendered while `hasMore` is `true` and `isLoading` is `false`. Required when `onLoadMore` is supplied. */
|
|
18
20
|
showMoreLabel?: string;
|
|
19
21
|
/** Per-status label used to build each run row's accessible name, e.g. `{ success: 'Succeeded', ... }`. */
|
|
@@ -22,6 +24,13 @@ export interface ScheduledTaskConversationHistorySectionLabels {
|
|
|
22
24
|
currentRunLabel?: string;
|
|
23
25
|
/** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
|
|
24
26
|
unreadIndicatorLabel?: string;
|
|
27
|
+
/** Label of the link inside an expanded failed run's details that opens its conversation. Defaults to `'Open conversation'`. */
|
|
28
|
+
openConversationLabel?: string;
|
|
29
|
+
}
|
|
30
|
+
/** Color overrides for {@link ScheduledTaskConversationHistorySection}. */
|
|
31
|
+
export interface ScheduledTaskConversationHistorySectionColors {
|
|
32
|
+
/** Text color of the unavailable message. Defaults to `--text-secondary`. */
|
|
33
|
+
unavailableText?: string;
|
|
25
34
|
}
|
|
26
35
|
/** Props for the {@link ScheduledTaskConversationHistorySection} component. */
|
|
27
36
|
export interface ScheduledTaskConversationHistorySectionProps {
|
|
@@ -39,6 +48,8 @@ export interface ScheduledTaskConversationHistorySectionProps {
|
|
|
39
48
|
error?: Error | null;
|
|
40
49
|
/** Called when the user activates the retry action shown alongside `error`. */
|
|
41
50
|
onRetry?: () => void;
|
|
51
|
+
/** When `true`, the history exists but cannot be shown (e.g. a task shared by its owner): `labels.unavailableLabel` replaces the run list, `error`, and the retry action. Defaults to `false`. */
|
|
52
|
+
isUnavailable?: boolean;
|
|
42
53
|
/** Whether another page of `items` is available beyond what has been loaded. Defaults to `false`. */
|
|
43
54
|
hasMore?: boolean;
|
|
44
55
|
/** Called when the user activates the "Show more" footer button. The button renders while `hasMore` is `true` and `isLoading` is `false`. */
|
|
@@ -53,10 +64,16 @@ export interface ScheduledTaskConversationHistorySectionProps {
|
|
|
53
64
|
titleClassName?: string;
|
|
54
65
|
/** CSS class applied to the accordion's content region. Defaults to `'ps-3'`. */
|
|
55
66
|
contentClassName?: string;
|
|
67
|
+
/** Typography class applied to the unavailable message. Defaults to `'dial-body-text'`. */
|
|
68
|
+
unavailableTextClassName?: string;
|
|
69
|
+
/** Color overrides, applied as CSS custom properties. */
|
|
70
|
+
colors?: ScheduledTaskConversationHistorySectionColors;
|
|
56
71
|
}
|
|
57
72
|
/**
|
|
58
73
|
* History accordion of a task conversation's sources panel: the schedule's
|
|
59
|
-
* paginated runs with the current run highlighted and a Show-more footer
|
|
74
|
+
* paginated runs with the current run highlighted and a Show-more footer, or
|
|
75
|
+
* the scoped unavailable message (without a retry action) while
|
|
76
|
+
* `isUnavailable` is set.
|
|
60
77
|
* Expanded by default; resets to expanded whenever `scheduleId` changes.
|
|
61
78
|
*/
|
|
62
79
|
export declare const ScheduledTaskConversationHistorySection: FC<ScheduledTaskConversationHistorySectionProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskConversationHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskConversationHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAuB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAKpF;;;GAGG;AACH,MAAM,WAAW,6CAA6C;IAC5D,uFAAuF;IACvF,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,0DAA0D;IAC1D,UAAU,EAAE,MAAM,CAAC;IACnB,4GAA4G;IAC5G,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sJAAsJ;IACtJ,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2GAA2G;IAC3G,eAAe,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;IACxD,6HAA6H;IAC7H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,oIAAoI;IACpI,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,gIAAgI;IAChI,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,2EAA2E;AAC3E,MAAM,WAAW,6CAA6C;IAC5D,6EAA6E;IAC7E,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,+EAA+E;AAC/E,MAAM,WAAW,4CAA4C;IAC3D,2GAA2G;IAC3G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAC9B,oIAAoI;IACpI,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,kMAAkM;IAClM,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qGAAqG;IACrG,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6IAA6I;IAC7I,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,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,6CAA6C,CAAC;IACtD,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yDAAyD;IACzD,MAAM,CAAC,EAAE,6CAA6C,CAAC;CACxD;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,EAAE,EAAE,CACtD,4CAA4C,CAyF7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"AA0CA,OAAO,0CAA0C,CAAC;AAClD,OAAO,0CAA0C,CAAC;AAClD,OAAO,EAOL,KAAK,EAAE,EAER,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAkB7F;;;;;;;;;;GAUG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA4rBpE,CAAC"}
|
|
@@ -3,12 +3,16 @@ import { FC, ReactNode } from 'react';
|
|
|
3
3
|
export interface ScheduledTaskDeleteConfirmationColors {
|
|
4
4
|
/** Type label above the task name. Defaults to `--text-secondary`. */
|
|
5
5
|
typeLabelText?: string;
|
|
6
|
+
/** Identity summary row background. Defaults to `--bg-error` (`#F3D6D8`). */
|
|
7
|
+
summaryBackground?: string;
|
|
8
|
+
/** Identity summary row border color. Defaults to `--stroke-error-alpha` (`#AE2F2F73`). */
|
|
9
|
+
summaryBorder?: string;
|
|
6
10
|
}
|
|
7
11
|
/** Style overrides for `ScheduledTaskDeleteConfirmation`. */
|
|
8
12
|
export interface ScheduledTaskDeleteConfirmationStyles {
|
|
9
13
|
/** CSS class applied to the popup container, for example to constrain its width. */
|
|
10
14
|
popupClassName?: string;
|
|
11
|
-
/** CSS class applied to the dialog title. */
|
|
15
|
+
/** CSS class applied to the dialog title. Defaults to `'dial-body-semi-text'` (16px/24px, replacing the kit `Popup`'s `dial-h1-text`). */
|
|
12
16
|
titleClassName?: string;
|
|
13
17
|
/** Typography class applied to the warning sentence and the consequence bullets. Defaults to `'dial-body-paragraph-text'`. */
|
|
14
18
|
messageClassName?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskDeleteConfirmation.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,6DAA6D;AAC7D,MAAM,WAAW,qCAAqC;IACpD,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,6DAA6D;AAC7D,MAAM,WAAW,qCAAqC;IACpD,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,
|
|
1
|
+
{"version":3,"file":"ScheduledTaskDeleteConfirmation.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3C,6DAA6D;AAC7D,MAAM,WAAW,qCAAqC;IACpD,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6EAA6E;IAC7E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2FAA2F;IAC3F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,6DAA6D;AAC7D,MAAM,WAAW,qCAAqC;IACpD,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0IAA0I;IAC1I,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8HAA8H;IAC9H,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,MAAM,CAAC,EAAE,qCAAqC,CAAC;CAChD;AAED,mDAAmD;AACnD,MAAM,WAAW,oCAAoC;IACnD,kCAAkC;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kGAAkG;IAClG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,IAAI,EAAE,SAAS,CAAC;IAChB,8GAA8G;IAC9G,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,kCAAkC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gHAAgH;IAChH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,oGAAoG;IACpG,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,uBAAuB;IACvB,MAAM,CAAC,EAAE,qCAAqC,CAAC;CAChD;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B,EAAE,EAAE,CAC9C,oCAAoC,CAiDrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAEL,KAAK,EAAE,EAIR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAkBlG;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAugBpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskDetailsSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAQ1G,0IAA0I;AAC1I,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,
|
|
1
|
+
{"version":3,"file":"ScheduledTaskDetailsSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAQ1G,0IAA0I;AAC1I,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAoGjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskDetailsSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskDetailsSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,EAAE,EAAW,MAAM,OAAO,CAAC;AACzC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AA2B1G;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAoGjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAsB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAS1G,wIAAwI;AACxI,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CA4KjC,CAAC"}
|
|
@@ -2,13 +2,17 @@ import { FC } from 'react';
|
|
|
2
2
|
export interface ScheduledTaskRunAtFieldProps {
|
|
3
3
|
/** Label rendered above the picker by the kit Calendar. */
|
|
4
4
|
label: string;
|
|
5
|
+
/** Placeholder shown in the picker when unset. */
|
|
6
|
+
placeholder: string;
|
|
5
7
|
/** Current `datetime-local`-style value (`YYYY-MM-DDTHH:mm`), empty when unset. */
|
|
6
8
|
value: string;
|
|
7
9
|
/** Called with the next `datetime-local`-style value. */
|
|
8
10
|
onChange: (value: string) => void;
|
|
9
|
-
/**
|
|
11
|
+
/** Disables the picker, e.g. while the form is submitting. */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Submit-time validation error rendered under the picker, associated with it via `aria-describedby` and announced through the kit `ErrorText` `announce` live region, mounted before the error arrives. */
|
|
10
14
|
error?: string;
|
|
11
|
-
/** CSS class applied to the error text. Defaults to `'dial-
|
|
15
|
+
/** CSS class applied to the error text. Defaults to `'dial-tiny-text'`. */
|
|
12
16
|
errorClassName?: string;
|
|
13
17
|
}
|
|
14
18
|
/** One-shot "run at" date-time picker for the create/edit form: the kit's masked `Calendar` whose earliest selectable moment is pinned at mount, and the submit-time error below it. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskRunAtField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskRunAtField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAiB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAQ/C,MAAM,WAAW,4BAA4B;IAC3C,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4MAA4M;IAC5M,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAOD,wLAAwL;AACxL,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA+CpE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CalendarTimeFieldRenderProps } from '@epam/ai-dial-ui-kit';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
/** Time control for the footer of the one-shot date-time popover: a time-mode kit `Calendar` whose clock button opens an hour/minute list. */
|
|
4
|
+
export declare const ScheduledTaskRunAtTimeField: FC<CalendarTimeFieldRenderProps>;
|
|
5
|
+
//# sourceMappingURL=ScheduledTaskRunAtTimeField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskRunAtTimeField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunAtTimeField/ScheduledTaskRunAtTimeField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,4BAA4B,EAClC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,8IAA8I;AAC9I,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAAC,4BAA4B,CA4BxE,CAAC"}
|
|
@@ -2,9 +2,10 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ScheduledTaskRunHistoryListProps } from '../../models/scheduled-task-run-history-list-props';
|
|
3
3
|
/**
|
|
4
4
|
* Presentational, paginated-agnostic list of scheduled-task run rows: status
|
|
5
|
-
* icon, timestamp, optional current-run highlight,
|
|
6
|
-
* states. Holds no fetching or
|
|
7
|
-
* `footer` slot for whichever
|
|
5
|
+
* icon, timestamp, optional current-run highlight, expandable failed-run
|
|
6
|
+
* details, skeleton/empty/error states. Holds no fetching or
|
|
7
|
+
* pagination-trigger logic — callers supply a `footer` slot for whichever
|
|
8
|
+
* "load more" affordance they need.
|
|
8
9
|
*/
|
|
9
10
|
export declare const ScheduledTaskRunHistoryList: FC<ScheduledTaskRunHistoryListProps>;
|
|
10
11
|
//# sourceMappingURL=ScheduledTaskRunHistoryList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskRunHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskRunHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAEL,KAAK,EAAE,EAIR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AA6C3G;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAwWjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAuBA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAwCzE;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA6UlD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/** User-visible strings of `ScheduledTasksLimitedAccessBanner`. */
|
|
3
|
+
export interface ScheduledTasksLimitedAccessBannerLabels {
|
|
4
|
+
/** Bold leading title. Defaults to `'Limited access.'`. */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Description following the title on the same line. Defaults to `"You can't create or edit tasks. Contact your administrator for more details."`. */
|
|
7
|
+
body?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Props for `ScheduledTasksLimitedAccessBanner`. */
|
|
10
|
+
export interface ScheduledTasksLimitedAccessBannerProps {
|
|
11
|
+
/** User-visible strings, each with an English default. */
|
|
12
|
+
labels?: ScheduledTasksLimitedAccessBannerLabels;
|
|
13
|
+
/** CSS class applied to the title. Defaults to `'dial-small-paragraph-semi-text'`. */
|
|
14
|
+
titleClassName?: string;
|
|
15
|
+
/** CSS class applied to the body. Defaults to `'dial-small-paragraph-text'`. */
|
|
16
|
+
bodyClassName?: string;
|
|
17
|
+
}
|
|
18
|
+
/** Non-dismissible error banner shown while scheduler access is missing. */
|
|
19
|
+
export declare const ScheduledTasksLimitedAccessBanner: FC<ScheduledTasksLimitedAccessBannerProps>;
|
|
20
|
+
//# sourceMappingURL=ScheduledTasksLimitedAccessBanner.d.ts.map
|
package/components/ScheduledTasksLimitedAccessBanner/ScheduledTasksLimitedAccessBanner.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTasksLimitedAccessBanner.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasksLimitedAccessBanner/ScheduledTasksLimitedAccessBanner.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAQ,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtC,mEAAmE;AACnE,MAAM,WAAW,uCAAuC;IACtD,2DAA2D;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sJAAsJ;IACtJ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qDAAqD;AACrD,MAAM,WAAW,sCAAsC;IACrD,0DAA0D;IAC1D,MAAM,CAAC,EAAE,uCAAuC,CAAC;IACjD,sFAAsF;IACtF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gFAAgF;IAChF,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAOD,4EAA4E;AAC5E,eAAO,MAAM,iCAAiC,EAAE,EAAE,CAAC,sCAAsC,CA8BtF,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
/** User-visible strings of `ScheduledTasksLoginBanner`. */
|
|
3
|
+
export interface ScheduledTasksLoginBannerLabels {
|
|
4
|
+
/** Banner title. Defaults to `'Log in required.'`. */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Banner body. Defaults to `'Scheduled tasks need authorization to run offline.'`. */
|
|
7
|
+
body?: string;
|
|
8
|
+
/** Button label before the first attempt. Defaults to `'Log in'`. */
|
|
9
|
+
logIn?: string;
|
|
10
|
+
/** Button label after a failed attempt. Defaults to `'Retry'`. */
|
|
11
|
+
retry?: string;
|
|
12
|
+
/** Button label, and so its accessible name, while a login runs. Defaults to `'Logging in…'`. */
|
|
13
|
+
loggingIn?: string;
|
|
14
|
+
}
|
|
15
|
+
/** Props for `ScheduledTasksLoginBanner`. */
|
|
16
|
+
export interface ScheduledTasksLoginBannerProps {
|
|
17
|
+
/** Whether the banner is drawn; its live region stays mounted either way. */
|
|
18
|
+
isVisible: boolean;
|
|
19
|
+
/** Whether a login is running; disables the button and shows `labels.loggingIn`. */
|
|
20
|
+
isLoggingIn?: boolean;
|
|
21
|
+
/** Why the last login failed; when set the button reads `labels.retry` and this text is announced. */
|
|
22
|
+
retryMessage?: string;
|
|
23
|
+
/** Status announced when no retry message is set, e.g. a login success after the banner hides. */
|
|
24
|
+
liveAnnouncement?: string;
|
|
25
|
+
/** User-visible strings, each with an English default. */
|
|
26
|
+
labels?: ScheduledTasksLoginBannerLabels;
|
|
27
|
+
/** Starts the login; omitted when no login is possible, which hides the button. */
|
|
28
|
+
onLogIn?: () => void;
|
|
29
|
+
}
|
|
30
|
+
/** Non-dismissible warning banner asking the user to log in so scheduled tasks keep running offline. */
|
|
31
|
+
export declare const ScheduledTasksLoginBanner: FC<ScheduledTasksLoginBannerProps>;
|
|
32
|
+
//# sourceMappingURL=ScheduledTasksLoginBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTasksLoginBanner.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasksLoginBanner/ScheduledTasksLoginBanner.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAQ,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEtC,2DAA2D;AAC3D,MAAM,WAAW,+BAA+B;IAC9C,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uFAAuF;IACvF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iGAAiG;IACjG,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,6CAA6C;AAC7C,MAAM,WAAW,8BAA8B;IAC7C,6EAA6E;IAC7E,SAAS,EAAE,OAAO,CAAC;IACnB,oFAAoF;IACpF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sGAAsG;IACtG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kGAAkG;IAClG,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,MAAM,CAAC,EAAE,+BAA+B,CAAC;IACzC,mFAAmF;IACnF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAYD,wGAAwG;AACxG,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAmDtE,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { ScheduledTaskCreateFormValues } from '../models/scheduled-task-create-form-props';
|
|
1
2
|
/** Maximum allowed length, in characters, of {@link ScheduledTaskCreateFormValues.description}. */
|
|
2
3
|
export declare const DESCRIPTION_MAX_LENGTH = 500;
|
|
4
|
+
/** Values a new-task form starts with: a daily run at 09:00, every other field empty. */
|
|
5
|
+
export declare const SCHEDULED_TASK_CREATE_DEFAULT_VALUES: Readonly<ScheduledTaskCreateFormValues>;
|
|
3
6
|
//# sourceMappingURL=scheduled-task-create-form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-create-form.d.ts","sourceRoot":"","sources":["../../src/constants/scheduled-task-create-form.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,eAAO,MAAM,sBAAsB,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"scheduled-task-create-form.d.ts","sourceRoot":"","sources":["../../src/constants/scheduled-task-create-form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAGhG,mGAAmG;AACnG,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAE1C,yFAAyF;AACzF,eAAO,MAAM,oCAAoC,EAAE,QAAQ,CAAC,6BAA6B,CAUtF,CAAC"}
|