@epam/ai-dial-scheduled-tasks 1.3.0-dev.14 → 1.3.0-dev.142

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/{calendar-value-B41Uk26Z.js → calendar-value-CjtsOQpy.js} +7 -6
  2. package/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.d.ts +27 -0
  3. package/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.d.ts.map +1 -0
  4. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts +4 -2
  5. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -1
  6. package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts +71 -0
  7. package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts.map +1 -0
  8. package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts +71 -0
  9. package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts.map +1 -0
  10. package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
  11. package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts +5 -1
  12. package/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.d.ts.map +1 -1
  13. package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
  14. package/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.d.ts.map +1 -1
  15. package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts.map +1 -1
  16. package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts +5 -1
  17. package/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.d.ts.map +1 -1
  18. package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
  19. package/components/SectionAccordionTitle/SectionAccordionTitle.d.ts +15 -0
  20. package/components/SectionAccordionTitle/SectionAccordionTitle.d.ts.map +1 -0
  21. package/hooks/usePickerErrorAssociation/usePickerErrorAssociation.d.ts +3 -0
  22. package/hooks/usePickerErrorAssociation/usePickerErrorAssociation.d.ts.map +1 -0
  23. package/index.css +3 -2
  24. package/index.d.ts +5 -0
  25. package/index.d.ts.map +1 -1
  26. package/index.js +940 -756
  27. package/models/scheduled-task-create-form-props.d.ts +8 -4
  28. package/models/scheduled-task-create-form-props.d.ts.map +1 -1
  29. package/models/scheduled-task-detail-view-props.d.ts +1 -1
  30. package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
  31. package/models/scheduled-task-details-summary-props.d.ts +5 -2
  32. package/models/scheduled-task-details-summary-props.d.ts.map +1 -1
  33. package/models/scheduled-task-history-section-props.d.ts +4 -2
  34. package/models/scheduled-task-history-section-props.d.ts.map +1 -1
  35. package/models/scheduled-task-run-history-list-props.d.ts +5 -3
  36. package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
  37. package/models/scheduled-task-run-item.d.ts +5 -1
  38. package/models/scheduled-task-run-item.d.ts.map +1 -1
  39. package/package.json +4 -4
  40. package/utils/calendar-value.d.ts +7 -1
  41. package/utils/calendar-value.d.ts.map +1 -1
  42. package/utils/window-boundary.d.ts +4 -0
  43. package/utils/window-boundary.d.ts.map +1 -0
  44. package/validation/scheduled-task-validation.d.ts +4 -4
  45. package/validation/scheduled-task-validation.d.ts.map +1 -1
  46. package/validation.js +24 -22
@@ -1,24 +1,25 @@
1
1
  //#region src/constants/scheduled-task-create-form.ts
2
2
  var e = 500, t = /* @__PURE__ */ function(e) {
3
3
  return e.OneTime = "oneTime", e.Hourly = "hourly", e.Daily = "daily", e.Weekly = "weekly", e.Monthly = "monthly", e;
4
- }({}), n = (e) => String(e).padStart(2, "0"), r = /^([01]\d|2[0-3]):([0-5]\d)$/, i = (e) => e ? new Date(e) : null, a = (e) => {
4
+ }({}), n = (e) => String(e).padStart(2, "0"), r = /^([01]\d|2[0-3]):([0-5]\d)$/, i = (e) => e.length > 10, a = (e) => e ? new Date(e) : null, o = (e) => {
5
5
  if (e == null) return "";
6
6
  let t = e instanceof Date ? e : new Date(e);
7
7
  return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${n(t.getMonth() + 1)}-${n(t.getDate())}T${n(t.getHours())}:${n(t.getMinutes())}`;
8
- }, o = (e) => {
8
+ }, s = (e) => {
9
9
  if (!e) return null;
10
+ if (i(e)) return new Date(e);
10
11
  let [t, n, r] = e.split("-").map(Number);
11
12
  return new Date(t, n - 1, r);
12
- }, s = (e) => {
13
+ }, c = (e) => {
13
14
  if (e == null) return "";
14
15
  let t = e instanceof Date ? e : new Date(e);
15
16
  return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${n(t.getMonth() + 1)}-${n(t.getDate())}`;
16
- }, c = (e) => {
17
+ }, l = (e) => {
17
18
  let t = Number(e);
18
19
  return e && Number.isFinite(t) ? String(t + 1) : null;
19
- }, l = (e) => {
20
+ }, u = (e) => {
20
21
  let t = typeof e == "string" ? Number(e) : NaN;
21
22
  return Number.isFinite(t) ? String(t - 1) : "";
22
23
  };
23
24
  //#endregion
24
- export { o as a, t as c, a as i, e as l, s as n, c as o, l as r, i as s, r as t };
25
+ export { s as a, a as c, o as i, t as l, c as n, l as o, u as r, i as s, r as t, e as u };
@@ -0,0 +1,27 @@
1
+ import { CalendarMode } from '@epam/ai-dial-ui-kit';
2
+ import { FC } from 'react';
3
+ export interface ScheduledTaskBoundaryFieldProps {
4
+ /** Id of the picker control. */
5
+ id: string;
6
+ /** Selection mode: an exact moment for hourly repeats, a whole day for day-based ones. */
7
+ mode: CalendarMode;
8
+ /** Label rendered above the picker by the kit Calendar. */
9
+ label: string;
10
+ /** Placeholder shown in the picker when unset. */
11
+ placeholder: string;
12
+ /** Boundary value: `YYYY-MM-DD` for `CalendarMode.Date`, `YYYY-MM-DDTHH:mm` for `CalendarMode.DateTime`. */
13
+ value: string | undefined;
14
+ /** Called with the next boundary value in the mode's own shape. */
15
+ onChange: (value: string) => void;
16
+ /** Earliest selectable day, pinned by the owning form. */
17
+ minDate: Date;
18
+ /** Submit-time validation error rendered under the picker, associated with it via `aria-describedby` and announced via `role="alert"` when it appears. */
19
+ error?: string;
20
+ /** CSS class applied to the error text. */
21
+ errorClassName?: string;
22
+ /** Disables the picker, e.g. while the form is submitting. */
23
+ disabled?: boolean;
24
+ }
25
+ /** One activity-window boundary picker of the create/edit form: the kit `Calendar` in the passed mode, and the submit-time error below it. */
26
+ export declare const ScheduledTaskBoundaryField: FC<ScheduledTaskBoundaryFieldProps>;
27
+ //# sourceMappingURL=ScheduledTaskBoundaryField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskBoundaryField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskBoundaryField/ScheduledTaskBoundaryField.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EAEb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAShC,MAAM,WAAW,+BAA+B;IAC9C,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,0FAA0F;IAC1F,IAAI,EAAE,YAAY,CAAC;IACnB,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,4GAA4G;IAC5G,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,mEAAmE;IACnE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,0DAA0D;IAC1D,OAAO,EAAE,IAAI,CAAC;IACd,0JAA0J;IAC1J,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,8IAA8I;AAC9I,eAAO,MAAM,0BAA0B,EAAE,EAAE,CACzC,+BAA+B,CAgDhC,CAAC"}
@@ -6,8 +6,10 @@ import { ScheduledTaskCardProps } from '../../models/scheduled-task-card-props';
6
6
  * resolved status is paused/completed — via `getScheduledTaskStatus`), and
7
7
  * location breadcrumb. Renders on the shared `CardShell` from
8
8
  * `@epam/ai-dial-ui-kit` (radius, padding, shadow, hover lift), the same
9
- * shell the Catalog browse card uses. The card has a fixed height; a long
10
- * description is clamped with an ellipsis, and the status pill (plus the
9
+ * shell the Catalog browse card uses. From the desktop breakpoint up the card
10
+ * has a fixed height and a one-line title; below it the card sizes to its
11
+ * content with a two-line title. A long description is clamped with an
12
+ * ellipsis (four lines on desktop, two below), and the status pill (plus the
11
13
  * location breadcrumb, when present) is pinned to the bottom regardless of
12
14
  * description length.
13
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,EAAiB,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAMrF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAqKxD,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAiB,MAAM,OAAO,CAAC;AAE/C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAMrF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAyKxD,CAAC"}
@@ -0,0 +1,71 @@
1
+ import { MarkdownRendererClassNames } from '@epam/ai-dial-chat-shared';
2
+ import { ReactNode, FC } from 'react';
3
+ import { ScheduledTaskDetailsSummaryStyles } from '../../models/scheduled-task-details-summary-props';
4
+ import { ScheduledTaskInstructionsMarkdownLabels } from '../../models/scheduled-task-instructions';
5
+ /**
6
+ * Display state of a task conversation's own details, mapped from the host's
7
+ * fetch status by the host adapter.
8
+ */
9
+ export declare enum ScheduledTaskConversationDetailsState {
10
+ /** Details resolved (or still loading); the summary fields render. */
11
+ Ready = "ready",
12
+ /** Details fetch failed; the section shows the unavailable message with a retry action. */
13
+ Error = "error",
14
+ /** Details exist but cannot be shown; the section shows the unavailable message without a retry action. */
15
+ Unavailable = "unavailable"
16
+ }
17
+ /**
18
+ * Localized labels used by the
19
+ * {@link ScheduledTaskConversationDetailsSection} component.
20
+ */
21
+ export interface ScheduledTaskConversationDetailsSectionLabels {
22
+ /** Accordion title, e.g. "Details". */
23
+ title: string;
24
+ /** Label for the model field, e.g. "Model". */
25
+ modelLabel: string;
26
+ /** Label for the instructions field, e.g. "Instructions". */
27
+ instructionsLabel: string;
28
+ /** Label of the optional skill field. */
29
+ skillLabel?: string;
30
+ /** Message shown when the details cannot load (`state` is `Error` or `Unavailable`). */
31
+ unavailableLabel: string;
32
+ /** Label for the retry action shown when `state` is `Error`. */
33
+ retryLabel: string;
34
+ }
35
+ /** Props for the {@link ScheduledTaskConversationDetailsSection} component. */
36
+ export interface ScheduledTaskConversationDetailsSectionProps {
37
+ /** Active schedule id — the expanded state resets whenever it changes. Omit when no schedule is active. */
38
+ scheduleId?: string;
39
+ /** Display state of the details; `Error`/`Unavailable` replace the summary with the scoped unavailable message. */
40
+ state: ScheduledTaskConversationDetailsState;
41
+ /** Called when the user activates the retry action shown while `state` is `Error`. */
42
+ onRetry?: () => void;
43
+ /** Resolved "Model" display value (already resolved to a display name, or the raw id as a fallback). Omit to hide the field. */
44
+ modelDisplayName?: string;
45
+ /** Resolved skill names or full saved references, in selection order; omit or pass [] to hide the field. */
46
+ skillDisplayNames?: string[];
47
+ /** Raw instructions markdown, passed to `renderInstructions` when supplied, or rendered via the default `MDMessageViewer` otherwise. Omit to hide the field entirely. */
48
+ instructionsMarkdown?: string;
49
+ /** Renders `instructionsMarkdown` as a ReactNode. When omitted, `instructionsMarkdown` is rendered via `MDMessageViewer` (the same markdown stack chat assistant messages use). */
50
+ renderInstructions?: (markdown: string) => ReactNode;
51
+ /** Class names forwarded to the summary's built-in instructions `MDMessageViewer`. Defaults to the summary's small 14/20 scale; a supplied map replaces it wholesale. Ignored when `renderInstructions` is supplied. */
52
+ instructionsClassNames?: MarkdownRendererClassNames;
53
+ /** Code-block, table and formula labels for the summary's built-in `MDMessageViewer` renderer. Ignored when `renderInstructions` is supplied. */
54
+ markdownLabels?: ScheduledTaskInstructionsMarkdownLabels;
55
+ /** Style overrides forwarded to the inner `ScheduledTaskDetailsSummary`. */
56
+ summaryStyles?: ScheduledTaskDetailsSummaryStyles;
57
+ /** Localized labels. */
58
+ labels: ScheduledTaskConversationDetailsSectionLabels;
59
+ /** CSS class applied to the accordion title. Defaults to `'dial-tiny-semi-text'`. */
60
+ titleClassName?: string;
61
+ /** CSS class applied to the unavailable/error message. Defaults to `'dial-body-text text-secondary'`. */
62
+ unavailableTextClassName?: string;
63
+ }
64
+ /**
65
+ * Details accordion of a task conversation's sources panel: the run's own
66
+ * Model/Skill/Instructions summary, or the scoped unavailable/retry state
67
+ * while the task's details cannot load. Collapsed by default; resets to
68
+ * collapsed whenever `scheduleId` changes.
69
+ */
70
+ export declare const ScheduledTaskConversationDetailsSection: FC<ScheduledTaskConversationDetailsSectionProps>;
71
+ //# sourceMappingURL=ScheduledTaskConversationDetailsSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskConversationDetailsSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OA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,aAAa,CAAC,EAAE,iCAAiC,CAAC;IAClD,wBAAwB;IACxB,MAAM,EAAE,6CAA6C,CAAC;IACtD,qFAAqF;IACrF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yGAAyG;IACzG,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,EAAE,EAAE,CACtD,4CAA4C,CA+D7C,CAAC"}
@@ -0,0 +1,71 @@
1
+ import { FC } from 'react';
2
+ import { ScheduledTaskRunItem } from '../../models/scheduled-task-run-item';
3
+ import { ScheduledTaskRunStatus } from '../../types/scheduled-task-run-status';
4
+ /**
5
+ * Localized labels used by the
6
+ * {@link ScheduledTaskConversationHistorySection} component.
7
+ */
8
+ export interface ScheduledTaskConversationHistorySectionLabels {
9
+ /** Accordion title, e.g. "History". Also applied as the run list's accessible name. */
10
+ title: string;
11
+ /** Message shown when the schedule has no runs yet. */
12
+ emptyLabel: string;
13
+ /** Message shown alongside the retry action when `error` is set. */
14
+ errorLabel: string;
15
+ /** Label for the retry action shown alongside `error`. */
16
+ retryLabel: string;
17
+ /** Message shown instead of the run list while `isUnavailable` is `true`, e.g. "History is unavailable". */
18
+ unavailableLabel?: string;
19
+ /** Label for the "Show more" footer button, rendered while `hasMore` is `true` and `isLoading` is `false`. Required when `onLoadMore` is supplied. */
20
+ showMoreLabel?: string;
21
+ /** Per-status label used to build each run row's accessible name, e.g. `{ success: 'Succeeded', ... }`. */
22
+ runStatusLabels: Record<ScheduledTaskRunStatus, string>;
23
+ /** Appended to the current run row's accessible name, e.g. "Current run". Omit to skip the accessible current-run suffix. */
24
+ currentRunLabel?: string;
25
+ /** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
26
+ unreadIndicatorLabel?: string;
27
+ }
28
+ /** Props for the {@link ScheduledTaskConversationHistorySection} component. */
29
+ export interface ScheduledTaskConversationHistorySectionProps {
30
+ /** Active schedule id — the expanded state resets whenever it changes. Omit when no schedule is active. */
31
+ scheduleId?: string;
32
+ /** Runs to render, in the order they should display (server order, newest first). */
33
+ items: ScheduledTaskRunItem[];
34
+ /** When `true` and `items` is empty, shows `skeletonCount` placeholder rows instead of `labels.emptyLabel`. Defaults to `false`. */
35
+ isLoading?: boolean;
36
+ /** When `true`, `skeletonCount` placeholder rows render below the loaded rows while the next page is fetched. Defaults to `false`. */
37
+ isLoadingMore?: boolean;
38
+ /** Number of placeholder rows shown during `isLoading`/`isLoadingMore`. Defaults to `6`. */
39
+ skeletonCount?: number;
40
+ /** When set, shows an error message and retry action instead of `items`. */
41
+ error?: Error | null;
42
+ /** Called when the user activates the retry action shown alongside `error`. */
43
+ onRetry?: () => void;
44
+ /** 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`. */
45
+ isUnavailable?: boolean;
46
+ /** Whether another page of `items` is available beyond what has been loaded. Defaults to `false`. */
47
+ hasMore?: boolean;
48
+ /** Called when the user activates the "Show more" footer button. The button renders while `hasMore` is `true` and `isLoading` is `false`. */
49
+ onLoadMore?: () => void;
50
+ /** The `id` of the run to render with the current-run visual and accessible treatment. Omit to mark no row as current. */
51
+ currentRunId?: string;
52
+ /** Called with the run when the user clicks a row whose `conversationId` is set. Rows without a `conversationId` never invoke this, regardless of whether it is supplied. */
53
+ onRunClick?: (run: ScheduledTaskRunItem) => void;
54
+ /** Localized labels. */
55
+ labels: ScheduledTaskConversationHistorySectionLabels;
56
+ /** CSS class applied to the accordion title. Defaults to `'dial-tiny-semi-text'`. */
57
+ titleClassName?: string;
58
+ /** CSS class applied to the accordion's content region. Defaults to `'ps-3'`. */
59
+ contentClassName?: string;
60
+ /** CSS class applied to the unavailable message. Defaults to `'dial-body-text text-secondary'`. */
61
+ unavailableTextClassName?: string;
62
+ }
63
+ /**
64
+ * History accordion of a task conversation's sources panel: the schedule's
65
+ * paginated runs with the current run highlighted and a Show-more footer, or
66
+ * the scoped unavailable message (without a retry action) while
67
+ * `isUnavailable` is set.
68
+ * Expanded by default; resets to expanded whenever `scheduleId` changes.
69
+ */
70
+ export declare const ScheduledTaskConversationHistorySection: FC<ScheduledTaskConversationHistorySectionProps>;
71
+ //# sourceMappingURL=ScheduledTaskConversationHistorySection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskConversationHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.tsx"],"names":[],"mappings":"AACA,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;AAIpF;;;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;CAC/B;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,mGAAmG;IACnG,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,uCAAuC,EAAE,EAAE,CACtD,4CAA4C,CA6E7C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"AAmCA,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,CAylBpE,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"AAmCA,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,CAgnBpE,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,6CAA6C;IAC7C,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,CAiCrC,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskDeleteConfirmation.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDeleteConfirmation/ScheduledTaskDeleteConfirmation.tsx"],"names":[],"mappings":"A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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":"AAuBA,OAAO,EAEL,KAAK,EAAE,EAIR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAQlG;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAkepE,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAEL,KAAK,EAAE,EAIR,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAQlG;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAmfpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskDetailsSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAE1G;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAqDjC,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskDetailsSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AA0B1G;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CA+DjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.tsx"],"names":[],"mappings":"AAEA,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,CAsIjC,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskHistorySection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.tsx"],"names":[],"mappings":"AAEA,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,CAiJjC,CAAC"}
@@ -2,11 +2,15 @@ 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
- /** Submit-time validation error rendered under the picker. */
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 via `role="alert"` when it appears. */
10
14
  error?: string;
11
15
  /** CSS class applied to the error text. Defaults to `'dial-small-text'`. */
12
16
  errorClassName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskRunAtField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAOxC,MAAM,WAAW,4BAA4B;IAC3C,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAC;IACd,mFAAmF;IACnF,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wLAAwL;AACxL,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA+BpE,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskRunAtField.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunAtField/ScheduledTaskRunAtField.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAQxC,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,0JAA0J;IAC1J,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wLAAwL;AACxL,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA2CpE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTaskRunHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAsB,KAAK,EAAE,EAAsB,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AA6C3G;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAqNjC,CAAC"}
1
+ {"version":3,"file":"ScheduledTaskRunHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAsB,KAAK,EAAE,EAAsB,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AA6C3G;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAgQjC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /** Props for the {@link SectionAccordionTitle} component. */
3
+ export interface SectionAccordionTitleProps {
4
+ /** CSS class applied to the title text, e.g. `'dial-tiny-semi-text'`. */
5
+ className: string;
6
+ /** Title text. */
7
+ children: ReactNode;
8
+ }
9
+ /**
10
+ * Accordion title span that escapes the kit title strut, rendering at its
11
+ * own line height inside a 24px-tall element. Internal to the conversation
12
+ * panel sections; not exported from the package.
13
+ */
14
+ export declare const SectionAccordionTitle: FC<SectionAccordionTitleProps>;
15
+ //# sourceMappingURL=SectionAccordionTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionAccordionTitle.d.ts","sourceRoot":"","sources":["../../../src/components/SectionAccordionTitle/SectionAccordionTitle.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhD,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CAchE,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Associates a picker's submit-time error text with its control through `aria-describedby`, and returns the id the error paragraph must carry. Render the paragraph with `role="alert"` so the message is announced when it appears. */
2
+ export declare const usePickerErrorAssociation: (pickerId: string, error: string | undefined) => string;
3
+ //# sourceMappingURL=usePickerErrorAssociation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePickerErrorAssociation.d.ts","sourceRoot":"","sources":["../../../src/hooks/usePickerErrorAssociation/usePickerErrorAssociation.ts"],"names":[],"mappings":"AAQA,yOAAyO;AACzO,eAAO,MAAM,yBAAyB,GACpC,UAAU,MAAM,EAChB,OAAO,MAAM,GAAG,SAAS,KACxB,MAgBF,CAAC"}