@epam/ai-dial-scheduled-tasks 1.1.0-dev.373 → 1.1.0-dev.375
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/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.js +40 -27
- package/models/scheduled-task-detail-view-props.d.ts +6 -2
- package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
- package/models/scheduled-task-run-history-list-props.d.ts +6 -2
- package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
- package/models/scheduled-task-run-item.d.ts +4 -0
- package/models/scheduled-task-run-item.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAIlG;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,
|
|
1
|
+
{"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AAIlG;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAyVpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskRunHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,EAAE,EAAsB,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AA6C3G;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,
|
|
1
|
+
{"version":3,"file":"ScheduledTaskRunHistoryList.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,EAAE,EAAsB,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AA6C3G;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,EAAE,EAAE,CAC1C,gCAAgC,CAmMjC,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
._title_1hxc3_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_1hxc3_5{color:var(--stc-desc-text,var(--text-control-disable-primary,#848e9c))}._schedulePill_1hxc3_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_1hxc3_14{color:var(--stc-schedule-label-text,var(--text-control-disable-primary,#848e9c))}._locationLabel_1hxc3_18{color:var(--stc-location-label-text,var(--text-secondary,#57647a))}._locationLeaf_1hxc3_22{color:var(--stc-location-leaf-text,var(--text-secondary,#57647a))}._newBadge_1hxc3_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#1d4ed8));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._pausedPill_1hxc3_31{background:var(--stc-paused-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-paused-border,var(--stroke-tertiary,#e0e6f0))}._pausedLabel_1hxc3_36{color:var(--stc-paused-text,var(--text-control-disable-primary,#848e9c))}._locationDivider_1hxc3_40{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._card_11bez_1{--stcs-skeleton-bg:var(--bg-control-disable-primary,#dce0e8)}._container_r5sk9_1{background:var(--st-bg,var(--bg-layer-base,#f5f7fa))}._subtitle_r5sk9_5{color:var(--st-subtitle-text,var(--text-secondary,#57647a))}._sortButton_r5sk9_9{color:var(--st-sort-text,var(--text-accent,#1d4ed8))}._detailsColumn_1mg3v_1{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_1mg3v_5{color:var(--stcf-subtitle-text,var(--text-secondary,#57647a))}._instructionsError_1mg3v_9{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}.
|
|
1
|
+
._title_1hxc3_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_1hxc3_5{color:var(--stc-desc-text,var(--text-control-disable-primary,#848e9c))}._schedulePill_1hxc3_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_1hxc3_14{color:var(--stc-schedule-label-text,var(--text-control-disable-primary,#848e9c))}._locationLabel_1hxc3_18{color:var(--stc-location-label-text,var(--text-secondary,#57647a))}._locationLeaf_1hxc3_22{color:var(--stc-location-leaf-text,var(--text-secondary,#57647a))}._newBadge_1hxc3_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#1d4ed8));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._pausedPill_1hxc3_31{background:var(--stc-paused-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-paused-border,var(--stroke-tertiary,#e0e6f0))}._pausedLabel_1hxc3_36{color:var(--stc-paused-text,var(--text-control-disable-primary,#848e9c))}._locationDivider_1hxc3_40{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._card_11bez_1{--stcs-skeleton-bg:var(--bg-control-disable-primary,#dce0e8)}._container_r5sk9_1{background:var(--st-bg,var(--bg-layer-base,#f5f7fa))}._subtitle_r5sk9_5{color:var(--st-subtitle-text,var(--text-secondary,#57647a))}._sortButton_r5sk9_9{color:var(--st-sort-text,var(--text-accent,#1d4ed8))}._detailsColumn_1mg3v_1{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_1mg3v_5{color:var(--stcf-subtitle-text,var(--text-secondary,#57647a))}._instructionsError_1mg3v_9{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}._subtitleText_1bug5_1{color:var(--strhl-subtitle-text,var(--text-secondary,#57647a))}._successIcon_1bug5_5{color:var(--strhl-success-icon,var(--text-success,#007274))}._errorIcon_1bug5_9{color:var(--strhl-error-icon,var(--text-error,#ae2f2f))}._missedIcon_1bug5_13{color:var(--strhl-missed-icon,var(--text-secondary,#57647a))}._currentRun_1bug5_17{background:var(--strhl-current-run-bg,var(--bg-control-accent-alpha-active,#2764d933))}._unreadDot_1bug5_21{background:var(--strhl-unread-dot,var(--text-accent,#1d4ed8))}._container_1ci42_1{background:var(--stdv-bg,var(--bg-layer-base,#f5f7fa))}._header_1ci42_5{border-bottom-color:var(--stdv-header-border,var(--stroke-tertiary,#e0e6f0))}._detailsColumn_1ci42_9{border-inline-end-color:var(--stdv-details-border,var(--stroke-tertiary,#e0e6f0))}._subtitleText_1ci42_13{color:var(--stdv-subtitle-text,var(--text-secondary,#57647a))}._successIcon_1ci42_17{color:var(--stdv-success-icon,var(--text-success,#007274))}._errorIcon_1ci42_21{color:var(--stdv-error-icon,var(--text-error,#ae2f2f))}._missedIcon_1ci42_25{color:var(--stdv-missed-icon,var(--text-secondary,#57647a))}._historyCard_1ci42_29{background:var(--stdv-history-bg,var(--bg-layer-raised,#fcfcfc))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.js
CHANGED
|
@@ -551,11 +551,12 @@ var G = {
|
|
|
551
551
|
}, Z = /* @__PURE__ */ function(e) {
|
|
552
552
|
return e.Success = "success", e.Error = "error", e.InProgress = "inProgress", e.Missed = "missed", e;
|
|
553
553
|
}({}), Q = {
|
|
554
|
-
subtitleText: "
|
|
555
|
-
successIcon: "
|
|
556
|
-
errorIcon: "
|
|
557
|
-
missedIcon: "
|
|
558
|
-
currentRun: "
|
|
554
|
+
subtitleText: "_subtitleText_1bug5_1",
|
|
555
|
+
successIcon: "_successIcon_1bug5_5",
|
|
556
|
+
errorIcon: "_errorIcon_1bug5_9",
|
|
557
|
+
missedIcon: "_missedIcon_1bug5_13",
|
|
558
|
+
currentRun: "_currentRun_1bug5_17",
|
|
559
|
+
unreadDot: "_unreadDot_1bug5_21"
|
|
559
560
|
}, De = ({ status: e }) => {
|
|
560
561
|
switch (e) {
|
|
561
562
|
case Z.Success: return /* @__PURE__ */ H(ae, {
|
|
@@ -583,35 +584,45 @@ var G = {
|
|
|
583
584
|
default: return null;
|
|
584
585
|
}
|
|
585
586
|
}, Oe = ({ items: e, isLoading: t = !1, isLoadingMore: i = !1, skeletonCount: a = 6, error: o, onRetry: s, currentRunId: c, onRunClick: l, labels: u, footer: f, styles: p }) => {
|
|
586
|
-
let { colors: m, typography: h } = p ?? {}, _ = h?.runTimestampClassName ?? "dial-small-text", v = h?.subtitleClassName ?? "dial-body-text", y = n({
|
|
587
|
+
let { colors: m, typography: h } = p ?? {}, _ = h?.runTimestampClassName ?? "dial-small-text", v = h?.subtitleClassName ?? "dial-body-text", y = u.unreadIndicatorLabel ?? "Unread", b = n({
|
|
587
588
|
"--strhl-success-icon": m?.successIconColor,
|
|
588
589
|
"--strhl-error-icon": m?.errorIconColor,
|
|
589
590
|
"--strhl-missed-icon": m?.missedIconColor,
|
|
590
591
|
"--strhl-subtitle-text": m?.subtitleTextColor,
|
|
591
|
-
"--strhl-current-run-bg": m?.currentRunBackground
|
|
592
|
-
|
|
593
|
-
|
|
592
|
+
"--strhl-current-run-bg": m?.currentRunBackground,
|
|
593
|
+
"--strhl-unread-dot": m?.unreadDotColor
|
|
594
|
+
}), x = (e) => {
|
|
595
|
+
let t = u.runStatusLabels[e.status], n = e.id === c, i = [e.isUnread ? y : void 0, n ? u.currentRunLabel : void 0].filter((e) => !!e), a = [`${t} ${e.timestampLabel}`, ...i].join(" — "), o = !!e.conversationId && !!l;
|
|
594
596
|
return /* @__PURE__ */ U("li", {
|
|
595
|
-
...
|
|
597
|
+
...o ? {
|
|
596
598
|
role: "button",
|
|
597
599
|
tabIndex: 0,
|
|
598
|
-
onClick: () => l?.(e
|
|
600
|
+
onClick: () => l?.(e),
|
|
599
601
|
onKeyDown: (t) => {
|
|
600
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), l?.(e
|
|
602
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), l?.(e));
|
|
601
603
|
}
|
|
602
604
|
} : {},
|
|
603
|
-
"aria-label":
|
|
605
|
+
"aria-label": a,
|
|
604
606
|
"aria-current": n ? "true" : void 0,
|
|
605
|
-
className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", n && Q.currentRun,
|
|
606
|
-
children: [/* @__PURE__ */
|
|
607
|
-
className:
|
|
608
|
-
children:
|
|
607
|
+
className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", n && Q.currentRun, o && "cursor-pointer"),
|
|
608
|
+
children: [/* @__PURE__ */ U("span", {
|
|
609
|
+
className: "flex items-center gap-2 truncate",
|
|
610
|
+
children: [/* @__PURE__ */ H("span", {
|
|
611
|
+
className: "relative flex size-3 shrink-0 items-center justify-center",
|
|
612
|
+
children: e.isUnread && /* @__PURE__ */ H("span", {
|
|
613
|
+
className: r("size-[5.33px] rounded-full", Q.unreadDot),
|
|
614
|
+
"aria-hidden": !0
|
|
615
|
+
})
|
|
616
|
+
}), /* @__PURE__ */ H("span", {
|
|
617
|
+
className: r(_, "truncate"),
|
|
618
|
+
children: e.timestampLabel
|
|
619
|
+
})]
|
|
609
620
|
}), /* @__PURE__ */ H("span", {
|
|
610
621
|
className: "flex h-8 w-14 shrink-0 items-center justify-end",
|
|
611
622
|
children: /* @__PURE__ */ H(De, { status: e.status })
|
|
612
623
|
})]
|
|
613
624
|
}, e.id);
|
|
614
|
-
},
|
|
625
|
+
}, S = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ U("li", {
|
|
615
626
|
"aria-hidden": "true",
|
|
616
627
|
className: "flex h-8 items-center justify-between gap-2 pe-2 ps-5",
|
|
617
628
|
children: [/* @__PURE__ */ H(D, {
|
|
@@ -626,12 +637,12 @@ var G = {
|
|
|
626
637
|
})]
|
|
627
638
|
}, `history-skeleton-${t}`));
|
|
628
639
|
return t && e.length === 0 ? /* @__PURE__ */ H("ul", {
|
|
629
|
-
style:
|
|
640
|
+
style: b,
|
|
630
641
|
"aria-label": u.historyTitle,
|
|
631
642
|
className: "flex flex-col gap-0.5",
|
|
632
|
-
children:
|
|
643
|
+
children: S(a)
|
|
633
644
|
}) : o && e.length === 0 ? /* @__PURE__ */ U("div", {
|
|
634
|
-
style:
|
|
645
|
+
style: b,
|
|
635
646
|
className: "flex flex-col items-start gap-3",
|
|
636
647
|
children: [/* @__PURE__ */ H("p", {
|
|
637
648
|
role: "alert",
|
|
@@ -642,7 +653,7 @@ var G = {
|
|
|
642
653
|
onClick: s
|
|
643
654
|
})]
|
|
644
655
|
}) : e.length === 0 ? /* @__PURE__ */ U("div", {
|
|
645
|
-
style:
|
|
656
|
+
style: b,
|
|
646
657
|
className: "flex w-full flex-col items-center justify-center gap-2 py-4",
|
|
647
658
|
children: [/* @__PURE__ */ H(P, {
|
|
648
659
|
size: 44,
|
|
@@ -655,12 +666,12 @@ var G = {
|
|
|
655
666
|
children: u.emptyLabel
|
|
656
667
|
})]
|
|
657
668
|
}) : /* @__PURE__ */ U("ul", {
|
|
658
|
-
style:
|
|
669
|
+
style: b,
|
|
659
670
|
"aria-label": u.historyTitle,
|
|
660
671
|
className: "flex flex-col gap-0.5",
|
|
661
672
|
children: [
|
|
662
|
-
e.map(
|
|
663
|
-
i &&
|
|
673
|
+
e.map(x),
|
|
674
|
+
i && S(a),
|
|
664
675
|
o ? /* @__PURE__ */ U("li", {
|
|
665
676
|
className: "flex flex-col items-start gap-3 px-5 py-2",
|
|
666
677
|
children: [/* @__PURE__ */ H("p", {
|
|
@@ -891,7 +902,8 @@ var G = {
|
|
|
891
902
|
emptyLabel: t.historyEmptyLabel,
|
|
892
903
|
errorLabel: t.historyErrorLabel,
|
|
893
904
|
retryLabel: t.historyRetryLabel,
|
|
894
|
-
runStatusLabels: t.runStatusLabels
|
|
905
|
+
runStatusLabels: t.runStatusLabels,
|
|
906
|
+
unreadIndicatorLabel: t.unreadIndicatorLabel
|
|
895
907
|
},
|
|
896
908
|
footer: K,
|
|
897
909
|
styles: {
|
|
@@ -899,7 +911,8 @@ var G = {
|
|
|
899
911
|
colors: {
|
|
900
912
|
successIconColor: L?.successIconColor,
|
|
901
913
|
errorIconColor: L?.errorIconColor,
|
|
902
|
-
missedIconColor: L?.missedIconColor
|
|
914
|
+
missedIconColor: L?.missedIconColor,
|
|
915
|
+
unreadDotColor: L?.unreadDotColor
|
|
903
916
|
}
|
|
904
917
|
}
|
|
905
918
|
})
|
|
@@ -47,6 +47,8 @@ export interface ScheduledTaskDetailViewLabels {
|
|
|
47
47
|
historyShowMoreLabel?: string;
|
|
48
48
|
/** Per-status label used to build each run row's accessible name, e.g. `{ success: 'Succeeded', ... }`. */
|
|
49
49
|
runStatusLabels: Record<ScheduledTaskRunStatus, string>;
|
|
50
|
+
/** `sr-only` label announced alongside the unread-dot indicator on a run row whose `isUnread` is `true`. Defaults to `'Unread'`. */
|
|
51
|
+
unreadIndicatorLabel?: string;
|
|
50
52
|
}
|
|
51
53
|
/**
|
|
52
54
|
* Color overrides for the {@link ScheduledTaskDetailView} component, applied
|
|
@@ -69,6 +71,8 @@ export interface ScheduledTaskDetailViewColors {
|
|
|
69
71
|
missedIconColor?: string;
|
|
70
72
|
/** History card background. Fallback: `--bg-layer-raised`. */
|
|
71
73
|
historyCardBackground?: string;
|
|
74
|
+
/** Unread-dot indicator fill color. Fallback: `--text-accent`. */
|
|
75
|
+
unreadDotColor?: string;
|
|
72
76
|
}
|
|
73
77
|
/** Typography overrides for the {@link ScheduledTaskDetailView} component. */
|
|
74
78
|
export interface ScheduledTaskDetailViewTypography {
|
|
@@ -150,8 +154,8 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
150
154
|
runsHasMore?: boolean;
|
|
151
155
|
/** Called when the user activates the "Show more" button, rendered below the loaded runs while `runsHasMore` is `true`. Omit to hide the button entirely. */
|
|
152
156
|
onRunsLoadMore?: () => void;
|
|
153
|
-
/** Called with
|
|
154
|
-
onRunClick?: (
|
|
157
|
+
/** 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. */
|
|
158
|
+
onRunClick?: (run: ScheduledTaskRunItem) => void;
|
|
155
159
|
/** Style overrides. */
|
|
156
160
|
styles?: ScheduledTaskDetailViewStyles;
|
|
157
161
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-detail-view-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-detail-view-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,gFAAgF;IAChF,eAAe,EAAE,MAAM,CAAC;IACxB,gGAAgG;IAChG,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2FAA2F;IAC3F,iBAAiB,EAAE,MAAM,CAAC;IAC1B,+EAA+E;IAC/E,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,mHAAmH;IACnH,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gMAAgM;IAChM,iBAAiB,EAAE,MAAM,CAAC;IAC1B,yJAAyJ;IACzJ,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wCAAwC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gJAAgJ;IAChJ,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2GAA2G;IAC3G,eAAe,EAAE,MAAM,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;
|
|
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;I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;IAC7J,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,6KAA6K;IAC7K,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACjD,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
|
|
@@ -15,6 +15,8 @@ export interface ScheduledTaskRunHistoryListLabels {
|
|
|
15
15
|
runStatusLabels: Record<ScheduledTaskRunStatus, string>;
|
|
16
16
|
/** Appended to the current run row's accessible name, e.g. "Current run". Omit to skip the accessible current-run suffix. */
|
|
17
17
|
currentRunLabel?: string;
|
|
18
|
+
/** `sr-only` label announced alongside the unread-dot indicator on a row whose `isUnread` is `true`. Defaults to `'Unread'`. */
|
|
19
|
+
unreadIndicatorLabel?: string;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Color overrides for the {@link ScheduledTaskRunHistoryList} component, applied
|
|
@@ -31,6 +33,8 @@ export interface ScheduledTaskRunHistoryListColors {
|
|
|
31
33
|
subtitleTextColor?: string;
|
|
32
34
|
/** Current-run row background. Fallback: `--bg-control-accent-alpha-active`. */
|
|
33
35
|
currentRunBackground?: string;
|
|
36
|
+
/** Unread-dot indicator fill color. Fallback: `--text-accent`. */
|
|
37
|
+
unreadDotColor?: string;
|
|
34
38
|
}
|
|
35
39
|
/** Typography overrides for the {@link ScheduledTaskRunHistoryList} component. */
|
|
36
40
|
export interface ScheduledTaskRunHistoryListTypography {
|
|
@@ -62,8 +66,8 @@ export interface ScheduledTaskRunHistoryListProps {
|
|
|
62
66
|
onRetry?: () => void;
|
|
63
67
|
/** The `id` of the run to render with the current-run visual and accessible treatment. Omit to mark no row as current. */
|
|
64
68
|
currentRunId?: string;
|
|
65
|
-
/** Called with
|
|
66
|
-
onRunClick?: (
|
|
69
|
+
/** 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. */
|
|
70
|
+
onRunClick?: (run: ScheduledTaskRunItem) => void;
|
|
67
71
|
/** Localized labels. */
|
|
68
72
|
labels: ScheduledTaskRunHistoryListLabels;
|
|
69
73
|
/**
|
|
@@ -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;
|
|
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,MA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I,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"}
|
|
@@ -11,5 +11,9 @@ export interface ScheduledTaskRunItem {
|
|
|
11
11
|
status: ScheduledTaskRunStatus;
|
|
12
12
|
/** Pre-formatted timestamp, optionally including a duration suffix, e.g. `"today at 9:01 AM (99s)"`. */
|
|
13
13
|
timestampLabel: string;
|
|
14
|
+
/** Id of the conversation this run produced, when one exists. When set together with `onRunClick`, the row renders as interactive. */
|
|
15
|
+
conversationId?: string;
|
|
16
|
+
/** Whether this run's conversation is unread. When `true`, the row renders the unread-dot indicator. Defaults to `false`. */
|
|
17
|
+
isUnread?: boolean;
|
|
14
18
|
}
|
|
15
19
|
//# sourceMappingURL=scheduled-task-run-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-run-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-run-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,0DAA0D;IAC1D,MAAM,EAAE,sBAAsB,CAAC;IAC/B,wGAAwG;IACxG,cAAc,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"scheduled-task-run-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-run-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,sCAAsC;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,0DAA0D;IAC1D,MAAM,EAAE,sBAAsB,CAAC;IAC/B,wGAAwG;IACxG,cAAc,EAAE,MAAM,CAAC;IACvB,sIAAsI;IACtI,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6HAA6H;IAC7H,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
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.375",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@epam/ai-dial-builder-form": "1.1.0-dev.
|
|
21
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
20
|
+
"@epam/ai-dial-builder-form": "1.1.0-dev.375",
|
|
21
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.375",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "*",
|
|
23
23
|
"@tabler/icons-react": "^3.44.0",
|
|
24
24
|
"react": "^19.0.0"
|