@epam/ai-dial-scheduled-tasks 1.2.7 → 1.2.9

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 (2) hide show
  1. package/index.js +101 -97
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./calendar-value-B41Uk26Z.js";
2
2
  import { ConfirmationDialog as l, ConfirmationIdentityRow as u, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as d, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as f, MDMessageViewer as p, PanelEmptyState as m, ResourceSummary as h, TextRefinementField as g, buildCssVars as _, mergeClasses as v, useAvailableHeightCap as y, useIsMobile as b, useTextRefinement as x, useUnsavedChangesGuard as ee } from "@epam/ai-dial-chat-shared";
3
3
  import { ButtonAppearance as te, ButtonDropdown as S, ButtonVariant as ne, Calendar as C, CalendarMode as w, CardShell as T, ConfirmationPopupVariant as E, DIAL_ICON_SIZE as D, DIAL_KIT_ICON_STROKE as O, ElementSize as re, FolderPath as k, GhostButton as A, GhostIconButton as ie, Highlight as j, Input as ae, Label as oe, MenuItemMark as se, NeutralButton as ce, NumberInput as le, PrimaryButton as ue, Search as M, Select as de, Skeleton as N, SkeletonVariant as P, Spinner as fe, Switch as pe, Tabs as me, Textarea as he, Tooltip as ge } from "@epam/ai-dial-ui-kit";
4
- import { IconAlertTriangle as F, IconArrowNarrowLeft as _e, IconArrowsSort as ve, IconCheck as ye, IconCircleCheck as I, IconCircleX as be, IconClipboardX as L, IconClockHour3 as R, IconPencilMinus as xe, IconPlayerPause as z, IconPlayerPlay as B, IconPlus as Se, IconTrashX as Ce } from "@tabler/icons-react";
4
+ import { IconAlertTriangle as _e, IconArrowNarrowLeft as ve, IconArrowsSort as F, IconCheck as ye, IconCircleCheck as I, IconCircleX as be, IconClipboardX as L, IconClockHour3 as R, IconPencilMinus as xe, IconPlayerPause as Se, IconPlayerPlay as z, IconPlus as B, IconTrashX as Ce } from "@tabler/icons-react";
5
5
  import { Suspense as we, lazy as V, useCallback as Te, useEffect as Ee, useId as De, useLayoutEffect as Oe, useMemo as H, useRef as ke, useState as Ae } from "react";
6
6
  import { Fragment as je, jsx as U, jsxs as W } from "react/jsx-runtime";
7
7
  import { BuilderFormContainer as Me } from "@epam/ai-dial-builder-form";
@@ -39,7 +39,7 @@ var Ne = {
39
39
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
40
40
  wrapperClassName: J.pausedPill,
41
41
  labelClassName: J.pausedLabel,
42
- renderIcon: () => /* @__PURE__ */ U(z, {
42
+ renderIcon: () => /* @__PURE__ */ U(Se, {
43
43
  size: D.SM,
44
44
  "aria-hidden": !0,
45
45
  stroke: O
@@ -152,36 +152,39 @@ var Ne = {
152
152
  "100%",
153
153
  "100%",
154
154
  "61%"
155
- ], Be = "var(--stcs-skeleton-bg)", Ve = ({ styles: e }) => /* @__PURE__ */ W(T, {
156
- "aria-hidden": !0,
157
- style: _({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
158
- className: v("h-[var(--st-card-height,232px)]", Re.card),
159
- children: [
160
- /* @__PURE__ */ U(N, {
161
- variant: P.Rectangular,
162
- width: "60%",
163
- height: "20px",
164
- color: Be,
165
- className: "shrink-0"
166
- }),
167
- /* @__PURE__ */ U("div", {
168
- className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
169
- children: ze.map((e, t) => /* @__PURE__ */ U(N, {
155
+ ], Be = "var(--stcs-skeleton-bg)", Ve = ({ styles: e }) => {
156
+ let t = _({ "--stcs-skeleton-bg": e?.colors?.skeletonColor });
157
+ return /* @__PURE__ */ W(T, {
158
+ "aria-hidden": !0,
159
+ style: t,
160
+ className: v("h-[var(--st-card-height,232px)]", Re.card),
161
+ children: [
162
+ /* @__PURE__ */ U(N, {
170
163
  variant: P.Rectangular,
171
- width: e,
172
- height: "16px",
173
- color: Be
174
- }, t))
175
- }),
176
- /* @__PURE__ */ U(N, {
177
- variant: P.Rectangular,
178
- width: "110px",
179
- height: "28px",
180
- color: Be,
181
- className: "shrink-0 rounded-lg"
182
- })
183
- ]
184
- }), He = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ W("div", {
164
+ width: "60%",
165
+ height: "20px",
166
+ color: Be,
167
+ className: "shrink-0"
168
+ }),
169
+ /* @__PURE__ */ U("div", {
170
+ className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
171
+ children: ze.map((e, t) => /* @__PURE__ */ U(N, {
172
+ variant: P.Rectangular,
173
+ width: e,
174
+ height: "16px",
175
+ color: Be
176
+ }, t))
177
+ }),
178
+ /* @__PURE__ */ U(N, {
179
+ variant: P.Rectangular,
180
+ width: "110px",
181
+ height: "28px",
182
+ color: Be,
183
+ className: "shrink-0 rounded-lg"
184
+ })
185
+ ]
186
+ });
187
+ }, He = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ W("div", {
185
188
  style: {
186
189
  "--st-grid-min-card-width": s?.minCardWidth,
187
190
  "--st-grid-gap": s?.gap,
@@ -242,9 +245,9 @@ var Ne = {
242
245
  e.sortOptions,
243
246
  i,
244
247
  a
245
- ]), F = We(s, d, !!c, o.length, n.trim().length > 0, e), _e = ke(null);
248
+ ]), _e = We(s, d, !!c, o.length, n.trim().length > 0, e), ve = ke(null);
246
249
  Ee(() => {
247
- let e = _e.current;
250
+ let e = ve.current;
248
251
  if (!e || !p) return;
249
252
  let t = Ge(e.parentElement);
250
253
  if (!t) return;
@@ -301,7 +304,7 @@ var Ne = {
301
304
  })]
302
305
  }),
303
306
  /* @__PURE__ */ U("div", {
304
- ref: _e,
307
+ ref: ve,
305
308
  "aria-hidden": !0,
306
309
  className: "h-px w-full"
307
310
  })
@@ -326,7 +329,7 @@ var Ne = {
326
329
  label: e.createButtonLabel,
327
330
  textClassName: X.createButtonLabel,
328
331
  "aria-label": e.createButtonLabel,
329
- iconBefore: /* @__PURE__ */ U(Se, {
332
+ iconBefore: /* @__PURE__ */ U(B, {
330
333
  size: D.SM,
331
334
  "aria-hidden": !0,
332
335
  stroke: O
@@ -358,7 +361,7 @@ var Ne = {
358
361
  label: he,
359
362
  variant: ne.Primary,
360
363
  appearance: te.Ghost,
361
- iconBefore: b === void 0 ? /* @__PURE__ */ U(ve, {
364
+ iconBefore: b === void 0 ? /* @__PURE__ */ U(F, {
362
365
  size: D.SM,
363
366
  "aria-hidden": !0,
364
367
  stroke: O
@@ -372,7 +375,7 @@ var Ne = {
372
375
  role: "status",
373
376
  "aria-live": "polite",
374
377
  className: "sr-only",
375
- children: F
378
+ children: _e
376
379
  }),
377
380
  /* @__PURE__ */ U("div", {
378
381
  className: v("mx-auto flex size-full w-full min-w-0 flex-col", I && "items-center justify-center"),
@@ -383,7 +386,7 @@ var Ne = {
383
386
  }, qe = /* @__PURE__ */ function(e) {
384
387
  return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
385
388
  }({}), Je = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), Ye = (e, t) => {
386
- let n = new Set([...Object.keys(e), ...Object.keys(t)]);
389
+ let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
387
390
  for (let r of n) if (Je(e[r]) !== Je(t[r])) return !0;
388
391
  return !1;
389
392
  }, Xe = { error: "_error_v2pfn_4" }, Ze = ({ label: e, value: t, onChange: r, error: i, errorClassName: a = "dial-small-text" }) => {
@@ -434,28 +437,29 @@ var Ne = {
434
437
  disabled: T
435
438
  }), me = P.isPending || pe.isPending, ge = () => {
436
439
  P.reset(), pe.reset();
437
- }, F = ee(!!(s && Ye(r, s))), ve = () => F.guard(() => {
440
+ }, _e = !!(s && Ye(r, s)), F = ee(_e), ye = () => F.guard(() => {
438
441
  ge(), te();
439
- }), ye = () => F.guard(() => {
442
+ }), I = () => F.guard(() => {
440
443
  ge(), S();
441
- }), I = y(), be = !r.skillUrls?.length, [L, R] = Ae(), xe = ke(/* @__PURE__ */ new Date()).current, { colors: z, typography: B, layout: Se } = se ?? {}, Ce = B?.titleClassName ?? "dial-h1-text", V = B?.sectionTitleClassName ?? "dial-body-semi-text", Te = B?.sectionSubtitleClassName ?? "dial-tiny-text", Oe = B?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", H = B?.instructionsErrorClassName ?? "dial-small-text", G = _({
444
+ }), be = y(), L = !r.skillUrls?.length, [R, xe] = Ae(), Se = ke(/* @__PURE__ */ new Date()).current, { colors: z, typography: B, layout: Ce } = se ?? {}, V = B?.titleClassName ?? "dial-h1-text", Te = B?.sectionTitleClassName ?? "dial-body-semi-text", Oe = B?.sectionSubtitleClassName ?? "dial-tiny-text", H = B?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", G = B?.instructionsErrorClassName ?? "dial-small-text", K = _({
442
445
  "--stcf-details-border": z?.detailsColumnBorder,
443
446
  "--stcf-subtitle-text": z?.sectionSubtitleText,
444
447
  "--stcf-error-text": z?.instructionsErrorText,
445
448
  "--stcf-refine-action-text": z?.refineActionText,
446
449
  "--stcf-refine-error-text": z?.refineErrorText
447
- }), K = {
450
+ }), q = {
448
451
  feedbackClassName: v(z?.refineActionText && Z.refineFeedback, B?.refineFeedbackClassName, Ne.refineFeedback),
449
452
  errorClassName: Z.refineError
450
- }, q = (e) => {
451
- R(c.test(e.target.value) ? void 0 : n.timeInvalidLabel), b("time", e.target.value);
452
453
  }, Pe = (e) => {
453
- R(void 0), b("time", typeof e == "string" ? e : "");
454
- }, J = r.repeat !== t.OneTime && r.repeat !== t.Hourly;
454
+ let t = c.test(e.target.value) ? void 0 : n.timeInvalidLabel;
455
+ xe(t), b("time", e.target.value);
456
+ }, J = (e) => {
457
+ xe(void 0), b("time", typeof e == "string" ? e : "");
458
+ }, Fe = r.repeat !== t.OneTime && r.repeat !== t.Hourly;
455
459
  Ee(() => {
456
- J || R(void 0);
457
- }, [J]);
458
- let Fe = J ? L ?? u.time : void 0, Ie = (e) => b("runAt", e), Y = T || me || !r.displayName.trim() || !r.modelId || !r.prompt.trim() && !r.skillUrls?.length || !!u.skillUrls || J && !r.time || !!Fe;
460
+ Fe || xe(void 0);
461
+ }, [Fe]);
462
+ let Ie = Fe ? R ?? u.time : void 0, Y = (e) => b("runAt", e), Le = T || me || !r.displayName.trim() || !r.modelId || !r.prompt.trim() && !r.skillUrls?.length || !!u.skillUrls || Fe && !r.time || !!Ie;
459
463
  return /* @__PURE__ */ W(je, { children: [/* @__PURE__ */ U(Me, {
460
464
  labels: {
461
465
  title: n.pageTitle,
@@ -464,23 +468,23 @@ var Ne = {
464
468
  submitButtonLabel: n.createButtonLabel,
465
469
  submittingLabel: n.submittingLabel ?? "Saving"
466
470
  },
467
- onBack: ve,
468
- onCancel: ye,
471
+ onBack: ye,
472
+ onCancel: I,
469
473
  onSubmit: () => {
470
- !Y && (!M.current || M.current.aborted) && ne();
474
+ !Le && (!M.current || M.current.aborted) && ne();
471
475
  },
472
476
  isCancelDisabled: T,
473
- isSubmitDisabled: Y,
477
+ isSubmitDisabled: Le,
474
478
  isSubmitting: T,
475
- backIcon: ie === void 0 ? /* @__PURE__ */ U(_e, {
479
+ backIcon: ie === void 0 ? /* @__PURE__ */ U(ve, {
476
480
  size: D.LG,
477
481
  stroke: O,
478
482
  "aria-hidden": !0,
479
483
  className: "rtl:scale-x-[-1]"
480
484
  }) : ie,
481
485
  layout: {
482
- sideColumnWidth: Se?.detailsWidth,
483
- columnGap: Se?.columnGap,
486
+ sideColumnWidth: Ce?.detailsWidth,
487
+ columnGap: Ce?.columnGap,
484
488
  reserveEndColumn: !1
485
489
  },
486
490
  className: j,
@@ -488,9 +492,9 @@ var Ne = {
488
492
  colors: { background: z?.background },
489
493
  header: {
490
494
  colors: { borderColor: z?.headerBorder },
491
- typography: { fontClassName: Ce }
495
+ typography: { fontClassName: V }
492
496
  },
493
- cssVars: G
497
+ cssVars: K
494
498
  },
495
499
  left: /* @__PURE__ */ W("div", {
496
500
  role: "group",
@@ -500,10 +504,10 @@ var Ne = {
500
504
  /* @__PURE__ */ W("div", {
501
505
  className: "flex flex-col gap-1",
502
506
  children: [/* @__PURE__ */ U("h2", {
503
- className: V,
507
+ className: Te,
504
508
  children: n.detailsSectionTitle
505
509
  }), /* @__PURE__ */ U("p", {
506
- className: v(Te, Z.sectionSubtitle),
510
+ className: v(Oe, Z.sectionSubtitle),
507
511
  children: n.detailsSectionSubtitle
508
512
  })]
509
513
  }),
@@ -525,7 +529,7 @@ var Ne = {
525
529
  labels: n,
526
530
  refinement: P,
527
531
  disabled: T || me,
528
- ...K,
532
+ ...q,
529
533
  children: /* @__PURE__ */ U(he, {
530
534
  id: ce,
531
535
  value: r.description ?? "",
@@ -549,7 +553,7 @@ var Ne = {
549
553
  }),
550
554
  p,
551
555
  u.modelId && /* @__PURE__ */ U("p", {
552
- className: v(H, Z.instructionsError),
556
+ className: v(G, Z.instructionsError),
553
557
  children: u.modelId
554
558
  })
555
559
  ]
@@ -569,29 +573,29 @@ var Ne = {
569
573
  r.repeat === t.OneTime && /* @__PURE__ */ U(Ze, {
570
574
  label: n.runAtLabel,
571
575
  value: r.runAt ?? "",
572
- onChange: Ie,
576
+ onChange: Y,
573
577
  error: u.runAt,
574
- errorClassName: H
578
+ errorClassName: G
575
579
  }),
576
580
  r.repeat !== t.OneTime && /* @__PURE__ */ W(je, { children: [
577
- J && /* @__PURE__ */ W("div", {
581
+ Fe && /* @__PURE__ */ W("div", {
578
582
  className: "flex flex-col gap-1",
579
583
  children: [/* @__PURE__ */ U(C, {
580
584
  id: "scheduled-task-time",
581
585
  mode: w.Time,
582
586
  value: r.time,
583
- onChange: Pe,
584
- onBlur: q,
587
+ onChange: J,
588
+ onBlur: Pe,
585
589
  labelProps: {
586
590
  label: n.timeLabel,
587
591
  required: !0
588
592
  },
589
- invalid: !!Fe,
593
+ invalid: !!Ie,
590
594
  disabled: T,
591
595
  showTimezone: !0
592
- }), Fe && /* @__PURE__ */ U("p", {
593
- className: v(H, Z.instructionsError),
594
- children: Fe
596
+ }), Ie && /* @__PURE__ */ U("p", {
597
+ className: v(G, Z.instructionsError),
598
+ children: Ie
595
599
  })]
596
600
  }),
597
601
  r.repeat === t.Weekly && /* @__PURE__ */ W("div", {
@@ -607,7 +611,7 @@ var Ne = {
607
611
  },
608
612
  invalid: !!u.dayOfWeek
609
613
  }), u.dayOfWeek && /* @__PURE__ */ U("p", {
610
- className: v(H, Z.instructionsError),
614
+ className: v(G, Z.instructionsError),
611
615
  children: u.dayOfWeek
612
616
  })]
613
617
  }),
@@ -648,12 +652,12 @@ var Ne = {
648
652
  mode: w.Date,
649
653
  value: e(r.startDate),
650
654
  onChange: (e) => b("startDate", i(e)),
651
- minDate: xe,
655
+ minDate: Se,
652
656
  labelProps: { label: n.startDateLabel },
653
657
  placeholder: n.startDatePlaceholder,
654
658
  invalid: !!u.startDate
655
659
  }), u.startDate && /* @__PURE__ */ U("p", {
656
- className: v(H, Z.instructionsError),
660
+ className: v(G, Z.instructionsError),
657
661
  children: u.startDate
658
662
  })]
659
663
  }), /* @__PURE__ */ W("div", {
@@ -663,12 +667,12 @@ var Ne = {
663
667
  mode: w.Date,
664
668
  value: e(r.endDate),
665
669
  onChange: (e) => b("endDate", i(e)),
666
- minDate: xe,
670
+ minDate: Se,
667
671
  labelProps: { label: n.endDateLabel },
668
672
  placeholder: n.endDatePlaceholder,
669
673
  invalid: !!u.endDate
670
674
  }), u.endDate && /* @__PURE__ */ U("p", {
671
- className: v(H, Z.instructionsError),
675
+ className: v(G, Z.instructionsError),
672
676
  children: u.endDate
673
677
  })]
674
678
  })]
@@ -686,17 +690,17 @@ var Ne = {
686
690
  /* @__PURE__ */ W("div", {
687
691
  className: "flex flex-col gap-1",
688
692
  children: [/* @__PURE__ */ U("h2", {
689
- className: V,
693
+ className: Te,
690
694
  children: n.configurationSectionTitle
691
695
  }), /* @__PURE__ */ U("p", {
692
- className: v(Te, Z.sectionSubtitle),
696
+ className: v(Oe, Z.sectionSubtitle),
693
697
  children: n.configurationSectionSubtitle
694
698
  })]
695
699
  }),
696
700
  h == null ? u.skillUrls && /* @__PURE__ */ U("div", {
697
701
  "aria-live": "polite",
698
702
  children: /* @__PURE__ */ U("p", {
699
- className: v(H, Z.instructionsError),
703
+ className: v(G, Z.instructionsError),
700
704
  children: u.skillUrls
701
705
  })
702
706
  }) : /* @__PURE__ */ U("div", {
@@ -708,24 +712,24 @@ var Ne = {
708
712
  children: /* @__PURE__ */ U(g, {
709
713
  isEnabled: !!k,
710
714
  fieldId: ue,
711
- labelClassName: Oe,
715
+ labelClassName: H,
712
716
  label: n.instructionsLabel,
713
- required: be,
717
+ required: L,
714
718
  labels: n,
715
719
  refinement: pe,
716
720
  disabled: T || me,
717
- ...K,
721
+ ...q,
718
722
  children: /* @__PURE__ */ W("div", {
719
723
  className: "flex flex-1 flex-col gap-1",
720
724
  children: [
721
725
  !k && /* @__PURE__ */ U(oe, {
722
726
  htmlFor: ue,
723
- className: Oe,
727
+ className: H,
724
728
  label: n.instructionsLabel,
725
- required: be
729
+ required: L
726
730
  }),
727
731
  /* @__PURE__ */ U("div", {
728
- ref: I,
732
+ ref: be,
729
733
  className: v("w-full", d, f),
730
734
  children: /* @__PURE__ */ U(we, {
731
735
  fallback: /* @__PURE__ */ U(fe, {}),
@@ -742,7 +746,7 @@ var Ne = {
742
746
  })
743
747
  }),
744
748
  u.prompt && /* @__PURE__ */ U("p", {
745
- className: v(H, Z.instructionsError),
749
+ className: v(G, Z.instructionsError),
746
750
  children: u.prompt
747
751
  })
748
752
  ]
@@ -873,7 +877,7 @@ var Ne = {
873
877
  "aria-hidden": !0,
874
878
  children: /* @__PURE__ */ U(fe, { size: D.SM })
875
879
  });
876
- case ot.Missed: return /* @__PURE__ */ U(F, {
880
+ case ot.Missed: return /* @__PURE__ */ U(_e, {
877
881
  size: D.SM,
878
882
  className: Q.missedIcon,
879
883
  "aria-hidden": !0,
@@ -1099,8 +1103,8 @@ var Ne = {
1099
1103
  actionButton: "_actionButton_hdn5b_75",
1100
1104
  roundActionButton: "_roundActionButton_hdn5b_82",
1101
1105
  stickyTabs: "_stickyTabs_hdn5b_88"
1102
- }, dt = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: y = !1, error: x, onRetry: ee, description: te, modelLabel: S, repeatsLabel: C, activeWindowLabel: w, completedLabel: T, nextRunLabel: E, instructionsMarkdown: re, skillDisplayNames: k, renderInstructions: j, runs: ae, runsIsLoading: oe = !1, runsIsLoadingMore: se = !1, runsSkeletonCount: le = 6, runsError: ue, onRunsRetry: M, runsLoadMoreError: de, onRunsRetryLoadMore: N, runsHasMore: P = !1, onRunsLoadMore: he, onRunClick: ge, styles: F, className: ve, backIcon: ye, layout: I, historyStyles: be }) => {
1103
- let { colors: L, typography: R } = F ?? {}, z = R?.titleClassName ?? "dial-h2-text", Se = R?.sectionTitleClassName ?? "dial-body-semi-text", we = R?.fieldLabelClassName ?? "dial-tiny-text", V = R?.fieldValueClassName ?? "dial-small-text", Te = R?.runTimestampClassName ?? "dial-small-text", Ee = _({
1106
+ }, dt = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: y = !1, error: x, onRetry: ee, description: te, modelLabel: S, repeatsLabel: C, activeWindowLabel: w, completedLabel: T, nextRunLabel: E, instructionsMarkdown: re, skillDisplayNames: k, renderInstructions: j, runs: ae, runsIsLoading: oe = !1, runsIsLoadingMore: se = !1, runsSkeletonCount: le = 6, runsError: ue, onRunsRetry: M, runsLoadMoreError: de, onRunsRetryLoadMore: N, runsHasMore: P = !1, onRunsLoadMore: he, onRunClick: ge, styles: _e, className: F, backIcon: ye, layout: I, historyStyles: be }) => {
1107
+ let { colors: L, typography: R } = _e ?? {}, Se = R?.titleClassName ?? "dial-h2-text", B = R?.sectionTitleClassName ?? "dial-body-semi-text", we = R?.fieldLabelClassName ?? "dial-tiny-text", V = R?.fieldValueClassName ?? "dial-small-text", Te = R?.runTimestampClassName ?? "dial-small-text", Ee = _({
1104
1108
  "--stdv-bg": L?.background,
1105
1109
  "--stdv-header-border": L?.headerBorder,
1106
1110
  "--stdv-details-border": L?.detailsColumnBorder,
@@ -1174,13 +1178,13 @@ var Ne = {
1174
1178
  onLoadMore: he,
1175
1179
  onRunClick: ge,
1176
1180
  runTimestampClassName: Te,
1177
- sectionTitleClassName: Se,
1181
+ sectionTitleClassName: B,
1178
1182
  colors: L,
1179
1183
  styles: be
1180
1184
  });
1181
1185
  return /* @__PURE__ */ W("div", {
1182
1186
  style: Ee,
1183
- className: v("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, ve),
1187
+ className: v("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, F),
1184
1188
  children: [
1185
1189
  /* @__PURE__ */ W("div", {
1186
1190
  className: v("flex min-h-16 shrink-0 items-start justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:items-center desktop:px-8 desktop:py-0", $.header),
@@ -1188,7 +1192,7 @@ var Ne = {
1188
1192
  className: "flex min-w-0 items-center gap-2",
1189
1193
  children: [
1190
1194
  /* @__PURE__ */ U(ie, {
1191
- icon: ye === void 0 ? /* @__PURE__ */ U(_e, {
1195
+ icon: ye === void 0 ? /* @__PURE__ */ U(ve, {
1192
1196
  size: D.LG,
1193
1197
  className: "rtl:scale-x-[-1]",
1194
1198
  "aria-hidden": !0,
@@ -1198,7 +1202,7 @@ var Ne = {
1198
1202
  onClick: t
1199
1203
  }),
1200
1204
  /* @__PURE__ */ U("h1", {
1201
- className: v("truncate", $.desktopTitle, z),
1205
+ className: v("truncate", $.desktopTitle, Se),
1202
1206
  children: g
1203
1207
  }),
1204
1208
  l && /* @__PURE__ */ U("span", {
@@ -1252,7 +1256,7 @@ var Ne = {
1252
1256
  children: G
1253
1257
  }), /* @__PURE__ */ U(ce, {
1254
1258
  label: i ? e.startingLabel ?? e.startNowButtonLabel : e.startNowButtonLabel,
1255
- iconBefore: /* @__PURE__ */ U(B, {
1259
+ iconBefore: /* @__PURE__ */ U(z, {
1256
1260
  size: D.SM,
1257
1261
  "aria-hidden": !0,
1258
1262
  stroke: O
@@ -1271,7 +1275,7 @@ var Ne = {
1271
1275
  /* @__PURE__ */ W("div", {
1272
1276
  className: v("min-w-0 items-center gap-2 px-4 py-3", $.mobileTitleRow),
1273
1277
  children: [/* @__PURE__ */ U("h1", {
1274
- className: v("truncate", z),
1278
+ className: v("truncate", Se),
1275
1279
  children: g
1276
1280
  }), l && /* @__PURE__ */ U("span", {
1277
1281
  className: v("shrink-0", V, $.subtitleText),
@@ -1340,7 +1344,7 @@ var Ne = {
1340
1344
  },
1341
1345
  className: v("flex min-h-0 w-full flex-col gap-5 overflow-y-auto border-e px-8 py-6", $.detailsColumn),
1342
1346
  children: [/* @__PURE__ */ U("h2", {
1343
- className: Se,
1347
+ className: B,
1344
1348
  children: e.detailsTitle
1345
1349
  }), q]
1346
1350
  }),
@@ -1351,7 +1355,7 @@ var Ne = {
1351
1355
  },
1352
1356
  className: "flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto px-8 py-6",
1353
1357
  children: [/* @__PURE__ */ U("h2", {
1354
- className: Se,
1358
+ className: B,
1355
1359
  children: e.configurationTitle
1356
1360
  }), Pe]
1357
1361
  }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-scheduled-tasks",
3
3
  "description": "Presentational Scheduled Tasks page shell — header, toolbar, and empty state",
4
- "version": "1.2.7",
4
+ "version": "1.2.9",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -25,10 +25,10 @@
25
25
  "@tabler/icons-react": "^3.44.0",
26
26
  "@uiw/react-markdown-preview": "^5.2.1",
27
27
  "@uiw/react-md-editor": "^4.1.1",
28
- "@epam/ai-dial-builder-form": "1.2.7"
28
+ "@epam/ai-dial-builder-form": "1.2.9"
29
29
  },
30
30
  "peerDependencies": {
31
- "@epam/ai-dial-chat-shared": "1.2.7",
31
+ "@epam/ai-dial-chat-shared": "1.2.9",
32
32
  "@epam/ai-dial-ui-kit": "^0.15.4",
33
33
  "react": "^19.2.8"
34
34
  },