@epam/ai-dial-scheduled-tasks 1.3.0-dev.214 → 1.3.0-dev.223

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.
@@ -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;AAI9F,yFAAyF;AACzF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA6ChE,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAoBA,OAAO,EACL,EAAE,EAOH,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAwCzE;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAmTlD,CAAC"}
1
+ {"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAoBA,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,CAmUlD,CAAC"}
package/index.d.ts CHANGED
@@ -4,6 +4,7 @@ export { ScheduledTaskCard } from './components/ScheduledTaskCard/ScheduledTaskC
4
4
  export type { ScheduledTaskCardProps, ScheduledTaskCardLabels, ScheduledTaskCardStyles, ScheduledTaskCardColors, ScheduledTaskCardTypography, } from './models/scheduled-task-card-props';
5
5
  export { ScheduledTaskCardGrid } from './components/ScheduledTaskCardGrid/ScheduledTaskCardGrid';
6
6
  export type { ScheduledTaskCardGridProps, ScheduledTaskCardGridLabels, ScheduledTaskCardGridLayout, } from './models/scheduled-task-card-grid-props';
7
+ export { SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH } from './models/scheduled-task-card-grid-props';
7
8
  export { ScheduledTaskCardSkeleton } from './components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton';
8
9
  export type { ScheduledTaskCardSkeletonProps, ScheduledTaskCardSkeletonStyles, ScheduledTaskCardSkeletonColors, } from './models/scheduled-task-card-skeleton-props';
9
10
  export type { ScheduledTaskItem } from './models/scheduled-task-item';
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,uCAAuC,CAAC;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,E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.js CHANGED
@@ -6,8 +6,8 @@ import { Suspense as Te, lazy as V, useCallback as Ee, useEffect as De, useId as
6
6
  import { Fragment as je, jsx as W, jsxs as G } from "react/jsx-runtime";
7
7
  import { BuilderFormContainer as Me } from "@epam/ai-dial-builder-form";
8
8
  import { LazyMarkdownEditor as Ne } from "@epam/ai-dial-ui-kit/editors";
9
- //#region src/constants/public-class-names.ts
10
- var Pe = {
9
+ //#region src/models/scheduled-task-card-grid-props.ts
10
+ var Pe = "1180px", Fe = {
11
11
  card: "dial-scheduled-tasks-card",
12
12
  cardGrid: "dial-scheduled-tasks-card-grid",
13
13
  refineFeedback: "dial-scheduled-tasks-refine-feedback"
@@ -15,7 +15,7 @@ var Pe = {
15
15
  return e.Scheduled = "scheduled", e.Paused = "paused", e.Completed = "completed", e;
16
16
  }({}), q = /* @__PURE__ */ function(e) {
17
17
  return e.Active = "active", e.Paused = "paused", e.Completed = "completed", e;
18
- }({}), Fe = (e) => {
18
+ }({}), Ie = (e) => {
19
19
  switch (e.presentationStatus) {
20
20
  case q.Active: return K.Scheduled;
21
21
  case q.Paused: return K.Paused;
@@ -29,7 +29,7 @@ var Pe = {
29
29
  pausedLabel: "_pausedLabel_1cwco_15",
30
30
  completedPill: "_completedPill_1cwco_19",
31
31
  completedLabel: "_completedLabel_1cwco_24"
32
- }, Ie = {
32
+ }, Le = {
33
33
  [K.Scheduled]: {
34
34
  pillClassName: "inline-block rounded-lg border px-2 py-1",
35
35
  wrapperClassName: J.schedulePill,
@@ -55,8 +55,8 @@ var Pe = {
55
55
  stroke: O
56
56
  })
57
57
  }
58
- }, Le = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
59
- let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = Ie[e];
58
+ }, Re = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
59
+ let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = Le[e];
60
60
  return /* @__PURE__ */ G("span", {
61
61
  className: v(i, n, a, o, r),
62
62
  children: [s && s(), t]
@@ -69,8 +69,8 @@ var Pe = {
69
69
  newBadge: "_newBadge_hmbo0_18",
70
70
  locationDivider: "_locationDivider_hmbo0_23",
71
71
  card: "_card_hmbo0_34"
72
- }, Re = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
73
- let o = b(), s = r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-text", m = d?.descriptionSizeClassName ?? "dial-tiny-text", h = d?.scheduleLabelClassName ?? "dial-tiny-text", g = d?.pausedBadgeClassName ?? "dial-tiny-text", y = d?.completedBadgeClassName ?? "dial-tiny-text", x = d?.locationLabelClassName ?? "dial-tiny-text", ee = d?.locationLeafClassName ?? "dial-tiny-semi-text", S = d?.newBadgeClassName ?? "dial-tiny-semi-text", C = Fe(e), { text: te, textClassName: w } = {
72
+ }, ze = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
73
+ let o = b(), s = r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-text", m = d?.descriptionSizeClassName ?? "dial-tiny-text", h = d?.scheduleLabelClassName ?? "dial-tiny-text", g = d?.pausedBadgeClassName ?? "dial-tiny-text", y = d?.completedBadgeClassName ?? "dial-tiny-text", x = d?.locationLabelClassName ?? "dial-tiny-text", ee = d?.locationLeafClassName ?? "dial-tiny-semi-text", S = d?.newBadgeClassName ?? "dial-tiny-semi-text", C = Ie(e), { text: te, textClassName: w } = {
74
74
  [K.Scheduled]: {
75
75
  text: e.scheduleLabel,
76
76
  textClassName: h
@@ -111,7 +111,7 @@ var Pe = {
111
111
  role: n ? "button" : "group",
112
112
  "aria-label": e.displayName,
113
113
  style: ne,
114
- className: v("h-[var(--st-card-height,232px)]", Y.card, n && "cursor-pointer", a, Pe.card),
114
+ className: v("h-[var(--st-card-height,232px)]", Y.card, n && "cursor-pointer", a, Fe.card),
115
115
  ...re,
116
116
  children: [
117
117
  /* @__PURE__ */ G("div", {
@@ -134,7 +134,7 @@ var Pe = {
134
134
  className: "mt-auto flex shrink-0 flex-col gap-3",
135
135
  children: [/* @__PURE__ */ W("div", {
136
136
  className: "flex min-h-[28px] items-center",
137
- children: /* @__PURE__ */ W(Le, {
137
+ children: /* @__PURE__ */ W(Re, {
138
138
  status: C,
139
139
  text: te,
140
140
  textClassName: w
@@ -148,43 +148,43 @@ var Pe = {
148
148
  })
149
149
  ]
150
150
  });
151
- }, ze = { card: "_card_18ivt_1" }, Be = [
151
+ }, Be = { card: "_card_18ivt_1" }, Ve = [
152
152
  "100%",
153
153
  "100%",
154
154
  "61%"
155
- ], Ve = "var(--stcs-skeleton-bg)", He = ({ styles: e }) => {
155
+ ], He = "var(--stcs-skeleton-bg)", Ue = ({ styles: e }) => {
156
156
  let t = _({ "--stcs-skeleton-bg": e?.colors?.skeletonColor });
157
157
  return /* @__PURE__ */ G(E, {
158
158
  "aria-hidden": !0,
159
159
  style: t,
160
- className: v("h-[var(--st-card-height,232px)]", ze.card),
160
+ className: v("h-[var(--st-card-height,232px)]", Be.card),
161
161
  children: [
162
162
  /* @__PURE__ */ W(P, {
163
163
  variant: F.Rectangular,
164
164
  width: "60%",
165
165
  height: "20px",
166
- color: Ve,
166
+ color: He,
167
167
  className: "shrink-0"
168
168
  }),
169
169
  /* @__PURE__ */ W("div", {
170
170
  className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
171
- children: Be.map((e, t) => /* @__PURE__ */ W(P, {
171
+ children: Ve.map((e, t) => /* @__PURE__ */ W(P, {
172
172
  variant: F.Rectangular,
173
173
  width: e,
174
174
  height: "16px",
175
- color: Ve
175
+ color: He
176
176
  }, t))
177
177
  }),
178
178
  /* @__PURE__ */ W(P, {
179
179
  variant: F.Rectangular,
180
180
  width: "110px",
181
181
  height: "28px",
182
- color: Ve,
182
+ color: He,
183
183
  className: "shrink-0 rounded-lg"
184
184
  })
185
185
  ]
186
186
  });
187
- }, Ue = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ G("div", {
187
+ }, We = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ G("div", {
188
188
  style: {
189
189
  "--st-grid-min-card-width": s?.minCardWidth,
190
190
  "--st-grid-gap": s?.gap,
@@ -194,14 +194,14 @@ var Pe = {
194
194
  gap: "var(--st-grid-gap, 20px)",
195
195
  gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, max(var(--st-grid-min-card-width, 320px), calc((100% - (var(--st-grid-columns) - 1) * var(--st-grid-gap, 20px)) / var(--st-grid-columns)))), 1fr))"
196
196
  },
197
- className: v("mx-auto grid w-full min-w-0", Pe.cardGrid),
198
- children: [e.map((e) => /* @__PURE__ */ W(Re, {
197
+ className: v("mx-auto grid w-full min-w-0", Fe.cardGrid),
198
+ children: [e.map((e) => /* @__PURE__ */ W(ze, {
199
199
  item: e,
200
200
  searchQuery: t,
201
201
  onCardClick: n,
202
202
  labels: r,
203
203
  styles: i
204
- }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ W(He, { styles: o }, `skeleton-${t}`))]
204
+ }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ W(Ue, { styles: o }, `skeleton-${t}`))]
205
205
  }), X = {
206
206
  container: "_container_3vz4t_2",
207
207
  subtitle: "_subtitle_3vz4t_6",
@@ -209,13 +209,13 @@ var Pe = {
209
209
  sortButton: "_sortButton_3vz4t_19",
210
210
  createButton: "_createButton_3vz4t_10",
211
211
  sortControlHidden: "_sortControlHidden_3vz4t_49"
212
- }, We = (e, t, n, r, i, a) => {
212
+ }, Ge = (e, t, n, r, i, a) => {
213
213
  if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
214
- }, Ge = (e) => {
214
+ }, Ke = (e) => {
215
215
  if (!e || e === document.body) return null;
216
216
  let { overflow: t, overflowY: n } = getComputedStyle(e);
217
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : Ge(e.parentElement);
218
- }, Ke = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: h, banner: g, styles: y, sortIcon: b, className: x, gridLayout: ee, cardStyles: S, loadMoreError: C, onRetryLoadMore: re }) => {
217
+ return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : Ke(e.parentElement);
218
+ }, qe = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: h, banner: g, styles: y, sortIcon: b, className: x, gridLayout: ee, cardStyles: S, loadMoreError: C, onRetryLoadMore: re }) => {
219
219
  let { colors: T, typography: E } = y ?? {}, ie = E?.titleClassName ?? "dial-h1-text", k = E?.subtitleClassName ?? "dial-body-text", oe = _({
220
220
  "--st-bg": T?.background,
221
221
  "--st-subtitle-text": T?.subtitleText,
@@ -241,11 +241,11 @@ var Pe = {
241
241
  e.sortOptions,
242
242
  i,
243
243
  a
244
- ]), ge = We(s, d, !!c, o.length, n.trim().length > 0, e), _e = U(null);
244
+ ]), ge = Ge(s, d, !!c, o.length, n.trim().length > 0, e), _e = U(null);
245
245
  De(() => {
246
246
  let e = _e.current;
247
247
  if (!e || !p) return;
248
- let t = Ge(e.parentElement);
248
+ let t = Ke(e.parentElement);
249
249
  if (!t) return;
250
250
  let n = () => {
251
251
  if (d || s || C || !u) return;
@@ -278,7 +278,7 @@ var Pe = {
278
278
  }) : /* @__PURE__ */ G("div", {
279
279
  className: "flex w-full flex-col gap-6",
280
280
  children: [
281
- /* @__PURE__ */ W(Ue, {
281
+ /* @__PURE__ */ W(We, {
282
282
  items: o,
283
283
  searchQuery: n,
284
284
  onCardClick: h,
@@ -321,7 +321,7 @@ var Pe = {
321
321
  className: v("mt-1", k, X.subtitle),
322
322
  children: e.subtitle
323
323
  })]
324
- }), /* @__PURE__ */ W(N, {
324
+ }), t != null && /* @__PURE__ */ W(N, {
325
325
  label: e.createButtonLabel,
326
326
  textClassName: X.createButtonLabel,
327
327
  "aria-label": e.createButtonLabel,
@@ -366,7 +366,11 @@ var Pe = {
366
366
  })
367
367
  })]
368
368
  }),
369
- g,
369
+ g != null && typeof g != "boolean" && /* @__PURE__ */ W("div", {
370
+ className: "mx-auto w-full min-w-0",
371
+ style: { maxWidth: ee?.maxWidth ?? "1180px" },
372
+ children: g
373
+ }),
370
374
  /* @__PURE__ */ W("span", {
371
375
  role: "status",
372
376
  "aria-live": "polite",
@@ -379,16 +383,16 @@ var Pe = {
379
383
  })
380
384
  ]
381
385
  });
382
- }, qe = /* @__PURE__ */ function(e) {
386
+ }, Je = /* @__PURE__ */ function(e) {
383
387
  return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
384
- }({}), Je = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), Ye = (e, t) => {
388
+ }({}), Ye = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), Xe = (e, t) => {
385
389
  let n = /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)]);
386
- for (let r of n) if (Je(e[r]) !== Je(t[r])) return !0;
390
+ for (let r of n) if (Ye(e[r]) !== Ye(t[r])) return !0;
387
391
  return !1;
388
- }, Xe = (e, t, n) => {
392
+ }, Ze = (e, t, n) => {
389
393
  let i = (e) => e === r.Custom;
390
394
  return !i(t) && !i(n) && t === r.Hourly == (n === r.Hourly) ? e : void 0;
391
- }, Ze = (e, t) => {
395
+ }, Qe = (e, t) => {
392
396
  let n = Oe();
393
397
  return H(() => {
394
398
  let r = document.getElementById(e);
@@ -398,8 +402,8 @@ var Pe = {
398
402
  n,
399
403
  e
400
404
  ]), n;
401
- }, Qe = { error: "_error_v2pfn_4" }, $e = ({ id: t, mode: r, label: a, placeholder: o, value: s, onChange: c, minDate: l, error: u, errorClassName: d, disabled: f }) => {
402
- let p = (e) => c(r === T.DateTime ? n(e) : i(e)), m = Ze(t, u);
405
+ }, $e = { error: "_error_v2pfn_4" }, et = ({ id: t, mode: r, label: a, placeholder: o, value: s, onChange: c, minDate: l, error: u, errorClassName: d, disabled: f }) => {
406
+ let p = (e) => c(r === T.DateTime ? n(e) : i(e)), m = Qe(t, u);
403
407
  return /* @__PURE__ */ G("div", {
404
408
  className: "flex flex-1 flex-col gap-1",
405
409
  children: [/* @__PURE__ */ W(re, {
@@ -415,12 +419,12 @@ var Pe = {
415
419
  }), u && /* @__PURE__ */ W(k, {
416
420
  id: m,
417
421
  role: "alert",
418
- className: v(d, Qe.error),
422
+ className: v(d, $e.error),
419
423
  text: u
420
424
  })]
421
425
  });
422
- }, et = { error: "_error_v2pfn_4" }, tt = ({ label: e, placeholder: r, value: i, onChange: a, disabled: o, error: s, errorClassName: c = "dial-tiny-text" }) => {
423
- let l = U(/* @__PURE__ */ new Date()).current, u = (e) => a(n(e)), d = Ze("scheduled-task-run-at", s);
426
+ }, tt = { error: "_error_v2pfn_4" }, nt = ({ label: e, placeholder: r, value: i, onChange: a, disabled: o, error: s, errorClassName: c = "dial-tiny-text" }) => {
427
+ let l = U(/* @__PURE__ */ new Date()).current, u = (e) => a(n(e)), d = Qe("scheduled-task-run-at", s);
424
428
  return /* @__PURE__ */ G("div", {
425
429
  className: "flex flex-col gap-1",
426
430
  children: [/* @__PURE__ */ W(re, {
@@ -439,7 +443,7 @@ var Pe = {
439
443
  }), s && /* @__PURE__ */ W(k, {
440
444
  id: d,
441
445
  role: "alert",
442
- className: v(c, et.error),
446
+ className: v(c, tt.error),
443
447
  text: s
444
448
  })]
445
449
  });
@@ -450,7 +454,7 @@ var Pe = {
450
454
  instructionsError: "_instructionsError_1253x_18",
451
455
  refineFeedback: "_refineFeedback_1253x_22",
452
456
  refineError: "_refineError_1253x_26"
453
- }, nt = V(async () => ({ default: (await Ne()).MarkdownEditor })), rt = ({ labels: e, values: t, initialValues: n, errors: i, modelSelector: c, modelLabelId: u, skillSelector: p, onFieldChange: m, onBack: h, onCancel: b, onSubmit: S, isSubmitting: w = !1, onRefineDescription: E, onRefineInstructions: ae, markdownEditorTheme: oe, backIcon: A, className: se, styles: ce }) => {
457
+ }, rt = V(async () => ({ default: (await Ne()).MarkdownEditor })), it = ({ labels: e, values: t, initialValues: n, errors: i, modelSelector: c, modelLabelId: u, skillSelector: p, onFieldChange: m, onBack: h, onCancel: b, onSubmit: S, isSubmitting: w = !1, onRefineDescription: E, onRefineInstructions: ae, markdownEditorTheme: oe, backIcon: A, className: se, styles: ce }) => {
454
458
  let ue = Oe(), M = Oe(), de = Oe(), N = U(void 0), pe = (e) => e ? async (t, n) => {
455
459
  if (N.current && !N.current.aborted) throw new DOMException("Busy", "AbortError");
456
460
  N.current = n;
@@ -471,40 +475,40 @@ var Pe = {
471
475
  disabled: w
472
476
  }), ge = P.isPending || F.isPending, _e = () => {
473
477
  P.reset(), F.reset();
474
- }, I = !!(n && Ye(t, n)), L = ee(I), R = () => L.guard(() => {
478
+ }, I = !!(n && Xe(t, n)), L = ee(I), R = () => L.guard(() => {
475
479
  _e(), h();
476
480
  }), z = () => L.guard(() => {
477
481
  _e(), b();
478
- }), be = y(), xe = !t.skillUrls?.length, [Se, Ce] = Ae(), we = U(/* @__PURE__ */ new Date()).current, { colors: B, typography: V, layout: Ee } = ce ?? {}, H = V?.titleClassName ?? "dial-h1-text", ke = V?.sectionTitleClassName ?? "dial-body-semi-text", Ne = V?.sectionSubtitleClassName ?? "dial-tiny-text", K = V?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", q = V?.instructionsErrorClassName ?? "dial-tiny-text", Fe = _({
482
+ }), be = y(), xe = !t.skillUrls?.length, [Se, Ce] = Ae(), we = U(/* @__PURE__ */ new Date()).current, { colors: B, typography: V, layout: Ee } = ce ?? {}, H = V?.titleClassName ?? "dial-h1-text", ke = V?.sectionTitleClassName ?? "dial-body-semi-text", Ne = V?.sectionSubtitleClassName ?? "dial-tiny-text", Pe = V?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", K = V?.instructionsErrorClassName ?? "dial-tiny-text", q = _({
479
483
  "--stcf-details-border": B?.detailsColumnBorder,
480
484
  "--stcf-subtitle-text": B?.sectionSubtitleText,
481
485
  "--stcf-error-text": B?.instructionsErrorText,
482
486
  "--stcf-refine-action-text": B?.refineActionText,
483
487
  "--stcf-refine-error-text": B?.refineErrorText
484
- }), J = {
485
- feedbackClassName: v(B?.refineActionText && Z.refineFeedback, V?.refineFeedbackClassName, Pe.refineFeedback),
488
+ }), Ie = {
489
+ feedbackClassName: v(B?.refineActionText && Z.refineFeedback, V?.refineFeedbackClassName, Fe.refineFeedback),
486
490
  errorClassName: Z.refineError
487
- }, Ie = (t) => {
491
+ }, J = (t) => {
488
492
  let n = s.test(t.target.value) ? void 0 : e.timeInvalidLabel;
489
493
  Ce(n), m("time", t.target.value);
490
494
  }, Le = (e) => {
491
495
  Ce(void 0), m("time", typeof e == "string" ? e : "");
492
- }, Y = (e) => {
496
+ }, Re = (e) => {
493
497
  let n = e;
494
498
  m("repeat", n);
495
- let r = Xe(t.startDate, t.repeat, n);
499
+ let r = Ze(t.startDate, t.repeat, n);
496
500
  r !== t.startDate && m("startDate", r ?? "");
497
- let i = Xe(t.endDate, t.repeat, n);
501
+ let i = Ze(t.endDate, t.repeat, n);
498
502
  i !== t.endDate && m("endDate", i ?? "");
499
- }, Re = t.repeat !== r.OneTime && t.repeat !== r.Hourly, ze = t.repeat === r.Hourly, Be = t.repeat === r.Custom, Ve = Be && !t.dayOfWeek, He = ze ? T.DateTime : T.Date, Ue = ze ? e.startDateAndTimeLabel : e.startDateLabel, X = ze ? e.endDateAndTimeLabel : e.endDateLabel;
503
+ }, Y = t.repeat !== r.OneTime && t.repeat !== r.Hourly, ze = t.repeat === r.Hourly, Be = t.repeat === r.Custom, Ve = Be && !t.dayOfWeek, He = ze ? T.DateTime : T.Date, Ue = ze ? e.startDateAndTimeLabel : e.startDateLabel, We = ze ? e.endDateAndTimeLabel : e.endDateLabel;
500
504
  De(() => {
501
- Re || Ce(void 0);
502
- }, [Re]);
503
- let We = Re ? Se ?? i.time : void 0, Ge = (e) => m("runAt", e), Ke = (e) => {
505
+ Y || Ce(void 0);
506
+ }, [Y]);
507
+ let X = Y ? Se ?? i.time : void 0, Ge = (e) => m("runAt", e), Ke = (e) => {
504
508
  m("everyWeeks", e);
505
509
  }, qe = (e) => {
506
510
  e !== t.dayOfWeek && m("dayOfWeek", e);
507
- }, Je = w || ge || !t.displayName.trim() || !t.modelId || !t.prompt.trim() && !t.skillUrls?.length || !!i.skillUrls || t.repeat === r.OneTime && (!t.runAt || !!i.runAt) || Re && !t.time || Ve || !!We;
511
+ }, Je = w || ge || !t.displayName.trim() || !t.modelId || !t.prompt.trim() && !t.skillUrls?.length || !!i.skillUrls || t.repeat === r.OneTime && (!t.runAt || !!i.runAt) || Y && !t.time || Ve || !!X;
508
512
  return /* @__PURE__ */ G(je, { children: [/* @__PURE__ */ W(Me, {
509
513
  labels: {
510
514
  title: e.pageTitle,
@@ -539,7 +543,7 @@ var Pe = {
539
543
  colors: { borderColor: B?.headerBorder },
540
544
  typography: { fontClassName: H }
541
545
  },
542
- cssVars: Fe
546
+ cssVars: q
543
547
  },
544
548
  left: /* @__PURE__ */ G("div", {
545
549
  role: "group",
@@ -575,7 +579,7 @@ var Pe = {
575
579
  refinement: P,
576
580
  disabled: w || ge,
577
581
  caption: `${(t.description ?? "").length}/500`,
578
- ...J,
582
+ ...Ie,
579
583
  children: /* @__PURE__ */ W(ve, {
580
584
  id: ue,
581
585
  value: t.description ?? "",
@@ -598,7 +602,7 @@ var Pe = {
598
602
  }),
599
603
  c,
600
604
  i.modelId && /* @__PURE__ */ W(k, {
601
- className: v(q, Z.instructionsError),
605
+ className: v(K, Z.instructionsError),
602
606
  text: i.modelId
603
607
  })
604
608
  ]
@@ -609,19 +613,19 @@ var Pe = {
609
613
  /* @__PURE__ */ W(me, {
610
614
  labelProps: { label: e.repeatLabel },
611
615
  value: t.repeat,
612
- onChange: Y,
616
+ onChange: Re,
613
617
  options: e.repeatOptions.map((e) => ({
614
618
  value: e.key,
615
619
  label: e.label
616
620
  }))
617
621
  }),
618
- t.repeat === r.OneTime && /* @__PURE__ */ W(tt, {
622
+ t.repeat === r.OneTime && /* @__PURE__ */ W(nt, {
619
623
  label: e.runAtLabel,
620
624
  placeholder: e.runAtPlaceholder,
621
625
  value: t.runAt ?? "",
622
626
  onChange: Ge,
623
627
  error: i.runAt,
624
- errorClassName: q,
628
+ errorClassName: K,
625
629
  disabled: w
626
630
  }),
627
631
  t.repeat !== r.OneTime && /* @__PURE__ */ G(je, { children: [
@@ -646,28 +650,28 @@ var Pe = {
646
650
  },
647
651
  invalid: !!i.dayOfWeek
648
652
  }), i.dayOfWeek && /* @__PURE__ */ W(k, {
649
- className: v(q, Z.instructionsError),
653
+ className: v(K, Z.instructionsError),
650
654
  text: i.dayOfWeek
651
655
  })]
652
656
  }),
653
- Re && /* @__PURE__ */ G("div", {
657
+ Y && /* @__PURE__ */ G("div", {
654
658
  className: "flex flex-col gap-1",
655
659
  children: [/* @__PURE__ */ W(re, {
656
660
  id: "scheduled-task-time",
657
661
  mode: T.Time,
658
662
  value: t.time,
659
663
  onChange: Le,
660
- onBlur: Ie,
664
+ onBlur: J,
661
665
  labelProps: {
662
666
  label: e.timeLabel,
663
667
  required: !0
664
668
  },
665
- invalid: !!We,
669
+ invalid: !!X,
666
670
  disabled: w,
667
671
  showTimezone: !0
668
- }), We && /* @__PURE__ */ W(k, {
669
- className: v(q, Z.instructionsError),
670
- text: We
672
+ }), X && /* @__PURE__ */ W(k, {
673
+ className: v(K, Z.instructionsError),
674
+ text: X
671
675
  })]
672
676
  }),
673
677
  Be && /* @__PURE__ */ G("div", {
@@ -697,7 +701,7 @@ var Pe = {
697
701
  })
698
702
  }),
699
703
  i.dayOfWeek && /* @__PURE__ */ W(k, {
700
- className: v(q, Z.instructionsError),
704
+ className: v(K, Z.instructionsError),
701
705
  text: i.dayOfWeek
702
706
  })
703
707
  ]
@@ -733,7 +737,7 @@ var Pe = {
733
737
  }),
734
738
  !Be && /* @__PURE__ */ G("div", {
735
739
  className: v("gap-3", ze ? "flex flex-col" : "flex flex-row"),
736
- children: [/* @__PURE__ */ W($e, {
740
+ children: [/* @__PURE__ */ W(et, {
737
741
  id: "scheduled-task-start-date",
738
742
  mode: He,
739
743
  label: Ue,
@@ -742,18 +746,18 @@ var Pe = {
742
746
  onChange: (e) => m("startDate", e),
743
747
  minDate: we,
744
748
  error: i.startDate,
745
- errorClassName: q,
749
+ errorClassName: K,
746
750
  disabled: w
747
- }), /* @__PURE__ */ W($e, {
751
+ }), /* @__PURE__ */ W(et, {
748
752
  id: "scheduled-task-end-date",
749
753
  mode: He,
750
- label: X,
754
+ label: We,
751
755
  placeholder: e.endDatePlaceholder,
752
756
  value: t.endDate,
753
757
  onChange: (e) => m("endDate", e),
754
758
  minDate: we,
755
759
  error: i.endDate,
756
- errorClassName: q,
760
+ errorClassName: K,
757
761
  disabled: w
758
762
  })]
759
763
  })
@@ -777,7 +781,7 @@ var Pe = {
777
781
  p == null ? i.skillUrls && /* @__PURE__ */ W("div", {
778
782
  "aria-live": "polite",
779
783
  children: /* @__PURE__ */ W(k, {
780
- className: v(q, Z.instructionsError),
784
+ className: v(K, Z.instructionsError),
781
785
  text: i.skillUrls
782
786
  })
783
787
  }) : /* @__PURE__ */ W("div", {
@@ -789,19 +793,19 @@ var Pe = {
789
793
  children: /* @__PURE__ */ W(g, {
790
794
  isEnabled: !!ae,
791
795
  fieldId: M,
792
- labelClassName: K,
796
+ labelClassName: Pe,
793
797
  label: e.instructionsLabel,
794
798
  required: xe,
795
799
  labels: e,
796
800
  refinement: F,
797
801
  disabled: w || ge,
798
- ...J,
802
+ ...Ie,
799
803
  children: /* @__PURE__ */ G("div", {
800
804
  className: "flex flex-1 flex-col gap-1",
801
805
  children: [
802
806
  !ae && /* @__PURE__ */ W(j, {
803
807
  htmlFor: M,
804
- className: K,
808
+ className: Pe,
805
809
  label: e.instructionsLabel,
806
810
  required: xe
807
811
  }),
@@ -810,7 +814,7 @@ var Pe = {
810
814
  className: v("w-full", d, f),
811
815
  children: /* @__PURE__ */ W(Te, {
812
816
  fallback: /* @__PURE__ */ W(he, {}),
813
- children: /* @__PURE__ */ W(nt, {
817
+ children: /* @__PURE__ */ W(rt, {
814
818
  id: M,
815
819
  value: t.prompt,
816
820
  onChange: (e) => {
@@ -823,7 +827,7 @@ var Pe = {
823
827
  })
824
828
  }),
825
829
  i.prompt && /* @__PURE__ */ W(k, {
826
- className: v(q, Z.instructionsError),
830
+ className: v(K, Z.instructionsError),
827
831
  text: i.prompt
828
832
  })
829
833
  ]
@@ -842,18 +846,18 @@ var Pe = {
842
846
  onConfirm: L.confirm,
843
847
  onClose: L.dismiss
844
848
  })] });
845
- }, it = /* @__PURE__ */ function(e) {
849
+ }, at = /* @__PURE__ */ function(e) {
846
850
  return e.Details = "details", e.Configuration = "configuration", e.History = "history", e;
847
- }({}), at = /* @__PURE__ */ function(e) {
851
+ }({}), ot = /* @__PURE__ */ function(e) {
848
852
  return e.Card = "card", e.Flow = "flow", e;
849
- }({}), ot = { subtitleText: "_subtitleText_1i4x2_3" }, st = ({ skillLabel: e, skillDisplayNames: t, instructionsLabel: n, instructionsMarkdown: r, renderInstructions: i, markdownLabels: a, fieldLabelClassName: o = "dial-tiny-text" }) => /* @__PURE__ */ G("div", {
853
+ }({}), st = { subtitleText: "_subtitleText_1i4x2_3" }, ct = ({ skillLabel: e, skillDisplayNames: t, instructionsLabel: n, instructionsMarkdown: r, renderInstructions: i, markdownLabels: a, fieldLabelClassName: o = "dial-tiny-text" }) => /* @__PURE__ */ G("div", {
850
854
  className: "flex min-w-0 flex-col gap-5",
851
855
  children: [!!t?.length && /* @__PURE__ */ G("div", {
852
856
  role: "group",
853
857
  "aria-label": e,
854
858
  className: "flex min-w-0 flex-col gap-1",
855
859
  children: [/* @__PURE__ */ W("span", {
856
- className: v(o, ot.subtitleText),
860
+ className: v(o, st.subtitleText),
857
861
  children: e
858
862
  }), /* @__PURE__ */ W("p", {
859
863
  className: "break-all whitespace-normal",
@@ -867,18 +871,18 @@ var Pe = {
867
871
  "aria-label": n,
868
872
  className: "flex min-w-0 flex-col gap-1",
869
873
  children: [/* @__PURE__ */ W("span", {
870
- className: v(o, ot.subtitleText),
874
+ className: v(o, st.subtitleText),
871
875
  children: n
872
876
  }), i ? i(r) : /* @__PURE__ */ W(p, {
873
877
  content: r,
874
878
  ...a
875
879
  })]
876
880
  })]
877
- }), ct = { subtitleText: "_subtitleText_1i4x2_3" }, lt = ({ labels: e, description: t, modelLabel: n, repeatsLabel: r, activeWindowLabel: i, completedLabel: a, fieldLabelClassName: o = "dial-tiny-text", fieldValueClassName: s = "dial-small-text" }) => /* @__PURE__ */ G(je, { children: [
881
+ }), lt = { subtitleText: "_subtitleText_1i4x2_3" }, ut = ({ labels: e, description: t, modelLabel: n, repeatsLabel: r, activeWindowLabel: i, completedLabel: a, fieldLabelClassName: o = "dial-tiny-text", fieldValueClassName: s = "dial-small-text" }) => /* @__PURE__ */ G(je, { children: [
878
882
  t && /* @__PURE__ */ G("div", {
879
883
  className: "flex flex-col gap-1",
880
884
  children: [/* @__PURE__ */ W("span", {
881
- className: v(o, ct.subtitleText),
885
+ className: v(o, lt.subtitleText),
882
886
  children: e.descriptionLabel
883
887
  }), /* @__PURE__ */ W("p", {
884
888
  className: s,
@@ -888,7 +892,7 @@ var Pe = {
888
892
  a && /* @__PURE__ */ G("div", {
889
893
  className: "flex flex-col gap-1",
890
894
  children: [/* @__PURE__ */ W("span", {
891
- className: v(o, ct.subtitleText),
895
+ className: v(o, lt.subtitleText),
892
896
  children: e.completedFieldLabel
893
897
  }), /* @__PURE__ */ W("p", {
894
898
  className: s,
@@ -898,7 +902,7 @@ var Pe = {
898
902
  n && /* @__PURE__ */ G("div", {
899
903
  className: "flex flex-col gap-1",
900
904
  children: [/* @__PURE__ */ W("span", {
901
- className: v(o, ct.subtitleText),
905
+ className: v(o, lt.subtitleText),
902
906
  children: e.modelLabel
903
907
  }), /* @__PURE__ */ W("p", {
904
908
  className: s,
@@ -908,7 +912,7 @@ var Pe = {
908
912
  r && /* @__PURE__ */ G("div", {
909
913
  className: "flex flex-col gap-1",
910
914
  children: [/* @__PURE__ */ W("span", {
911
- className: v(o, ct.subtitleText),
915
+ className: v(o, lt.subtitleText),
912
916
  children: e.repeatsLabel
913
917
  }), /* @__PURE__ */ W("p", {
914
918
  className: s,
@@ -918,14 +922,14 @@ var Pe = {
918
922
  i && /* @__PURE__ */ G("div", {
919
923
  className: "flex flex-col gap-1",
920
924
  children: [/* @__PURE__ */ W("span", {
921
- className: v(o, ct.subtitleText),
925
+ className: v(o, lt.subtitleText),
922
926
  children: e.activeWindowLabel
923
927
  }), /* @__PURE__ */ W("p", {
924
928
  className: s,
925
929
  children: i
926
930
  })]
927
931
  })
928
- ] }), ut = /* @__PURE__ */ function(e) {
932
+ ] }), dt = /* @__PURE__ */ function(e) {
929
933
  return e.Success = "success", e.Error = "error", e.InProgress = "inProgress", e.Missed = "missed", e;
930
934
  }({}), Q = {
931
935
  subtitleText: "_subtitleText_6i141_1",
@@ -935,25 +939,25 @@ var Pe = {
935
939
  currentRun: "_currentRun_6i141_17",
936
940
  interactiveRow: "_interactiveRow_6i141_22",
937
941
  unreadDot: "_unreadDot_6i141_33"
938
- }, dt = ({ status: e }) => {
942
+ }, ft = ({ status: e }) => {
939
943
  switch (e) {
940
- case ut.Success: return /* @__PURE__ */ W(z, {
944
+ case dt.Success: return /* @__PURE__ */ W(z, {
941
945
  size: D.SM,
942
946
  className: Q.successIcon,
943
947
  "aria-hidden": !0,
944
948
  stroke: O
945
949
  });
946
- case ut.Error: return /* @__PURE__ */ W(be, {
950
+ case dt.Error: return /* @__PURE__ */ W(be, {
947
951
  size: D.SM,
948
952
  className: Q.errorIcon,
949
953
  "aria-hidden": !0,
950
954
  stroke: O
951
955
  });
952
- case ut.InProgress: return /* @__PURE__ */ W("span", {
956
+ case dt.InProgress: return /* @__PURE__ */ W("span", {
953
957
  "aria-hidden": !0,
954
958
  children: /* @__PURE__ */ W(he, { size: D.SM })
955
959
  });
956
- case ut.Missed: return /* @__PURE__ */ W(L, {
960
+ case dt.Missed: return /* @__PURE__ */ W(L, {
957
961
  size: D.SM,
958
962
  className: Q.missedIcon,
959
963
  "aria-hidden": !0,
@@ -961,7 +965,7 @@ var Pe = {
961
965
  });
962
966
  default: return null;
963
967
  }
964
- }, ft = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
968
+ }, pt = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
965
969
  let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-paragraph-text", m = f?.runTimestampUnreadClassName ?? "dial-small-paragraph-semi-text", h = f?.subtitleClassName ?? "dial-body-text", g = c.unreadIndicatorLabel ?? "Unread", y = _({
966
970
  "--strhl-success-icon": d?.successIconColor,
967
971
  "--strhl-error-icon": d?.errorIconColor,
@@ -973,7 +977,7 @@ var Pe = {
973
977
  "--strhl-row-focus-bg": u?.rowFocusBackground,
974
978
  "--strhl-row-focus-outline": u?.rowFocusOutline
975
979
  }), b = (e) => {
976
- let t = c.runStatusLabels[e.status], n = e.id === o, r = e.status === ut.Error && e.errorText ? e.errorText : void 0, i = [
980
+ let t = c.runStatusLabels[e.status], n = e.id === o, r = e.status === dt.Error && e.errorText ? e.errorText : void 0, i = [
977
981
  r,
978
982
  e.isUnread ? g : void 0,
979
983
  n ? c.currentRunLabel : void 0
@@ -1003,9 +1007,9 @@ var Pe = {
1003
1007
  children: /* @__PURE__ */ W("span", {
1004
1008
  className: "flex shrink-0",
1005
1009
  tabIndex: l ? void 0 : 0,
1006
- children: /* @__PURE__ */ W(dt, { status: e.status })
1010
+ children: /* @__PURE__ */ W(ft, { status: e.status })
1007
1011
  })
1008
- }) : /* @__PURE__ */ W(dt, { status: e.status }), /* @__PURE__ */ G("span", {
1012
+ }) : /* @__PURE__ */ W(ft, { status: e.status }), /* @__PURE__ */ G("span", {
1009
1013
  className: "flex min-w-0 items-center gap-1",
1010
1014
  children: [/* @__PURE__ */ W("span", {
1011
1015
  className: v(e.isUnread ? m : p, "truncate"),
@@ -1087,12 +1091,12 @@ var Pe = {
1087
1091
  }) : l
1088
1092
  ]
1089
1093
  });
1090
- }, pt = {
1094
+ }, mt = {
1091
1095
  historyCard: "_historyCard_153p9_4",
1092
1096
  subtitleText: "_subtitleText_153p9_8",
1093
1097
  cardLayout: "_cardLayout_153p9_13"
1094
- }, mt = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", runTimestampUnreadClassName: h = "dial-small-semi-text", sectionTitleClassName: g = "dial-body-semi-text", colors: _, styles: y }) => {
1095
- let b = e === at.Card, x = b ? v("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", pt.historyCard) : "pt-2", ee = l ? /* @__PURE__ */ G("li", {
1098
+ }, ht = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", runTimestampUnreadClassName: h = "dial-small-semi-text", sectionTitleClassName: g = "dial-body-semi-text", colors: _, styles: y }) => {
1099
+ let b = e === ot.Card, x = b ? v("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", mt.historyCard) : "pt-2", ee = l ? /* @__PURE__ */ G("li", {
1096
1100
  className: x,
1097
1101
  children: [/* @__PURE__ */ W("p", {
1098
1102
  role: "alert",
@@ -1110,14 +1114,14 @@ var Pe = {
1110
1114
  disabled: a
1111
1115
  })
1112
1116
  }) : void 0, S = n ? /* @__PURE__ */ W("p", {
1113
- className: v(m, pt.subtitleText),
1117
+ className: v(m, mt.subtitleText),
1114
1118
  children: n
1115
1119
  }) : void 0, C = t.historyLoadingMoreLabel ? /* @__PURE__ */ W("span", {
1116
1120
  role: "status",
1117
1121
  "aria-live": "polite",
1118
1122
  className: "sr-only",
1119
1123
  children: a ? t.historyLoadingMoreLabel : ""
1120
- }) : void 0, te = /* @__PURE__ */ W(ft, {
1124
+ }) : void 0, te = /* @__PURE__ */ W(pt, {
1121
1125
  items: r,
1122
1126
  isLoading: i,
1123
1127
  isLoadingMore: a,
@@ -1148,10 +1152,10 @@ var Pe = {
1148
1152
  }
1149
1153
  });
1150
1154
  return b ? /* @__PURE__ */ G("div", {
1151
- className: v("flex max-h-[var(--st-history-max-height,70vh)] w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", pt.historyCard, pt.cardLayout),
1155
+ className: v("flex max-h-[var(--st-history-max-height,70vh)] w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", mt.historyCard, mt.cardLayout),
1152
1156
  style: { "--st-history-max-height": y?.maxHeight },
1153
1157
  children: [/* @__PURE__ */ G("div", {
1154
- className: v("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", pt.historyCard),
1158
+ className: v("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", mt.historyCard),
1155
1159
  children: [
1156
1160
  /* @__PURE__ */ W("h2", {
1157
1161
  className: g,
@@ -1186,27 +1190,27 @@ var Pe = {
1186
1190
  actionButton: "_actionButton_hdn5b_75",
1187
1191
  roundActionButton: "_roundActionButton_hdn5b_82",
1188
1192
  stickyTabs: "_stickyTabs_hdn5b_88"
1189
- }, ht = ({ 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: S, modelLabel: C, repeatsLabel: te, activeWindowLabel: w, completedLabel: re, nextRunLabel: T, instructionsMarkdown: E, skillDisplayNames: ie, renderInstructions: ae, runs: k, runsIsLoading: oe = !1, runsIsLoadingMore: ce = !1, runsSkeletonCount: le = 6, runsError: j, onRunsRetry: ue, runsLoadMoreError: de, onRunsRetryLoadMore: fe, runsHasMore: N = !1, onRunsLoadMore: pe, onRunClick: me, styles: P, className: F, backIcon: ve, layout: I, historyStyles: L }) => {
1193
+ }, gt = ({ 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: S, modelLabel: C, repeatsLabel: te, activeWindowLabel: w, completedLabel: re, nextRunLabel: T, instructionsMarkdown: E, skillDisplayNames: ie, renderInstructions: ae, runs: k, runsIsLoading: oe = !1, runsIsLoadingMore: ce = !1, runsSkeletonCount: le = 6, runsError: j, onRunsRetry: ue, runsLoadMoreError: de, onRunsRetryLoadMore: fe, runsHasMore: N = !1, onRunsLoadMore: pe, onRunClick: me, styles: P, className: F, backIcon: ve, layout: I, historyStyles: L }) => {
1190
1194
  let { colors: R, typography: z } = P ?? {}, be = z?.titleClassName ?? "dial-h2-text", Se = z?.sectionTitleClassName ?? "dial-body-semi-text", we = z?.fieldLabelClassName ?? "dial-tiny-text", Te = z?.fieldValueClassName ?? "dial-small-text", V = z?.runTimestampClassName ?? "dial-small-text", Ee = _({
1191
1195
  "--stdv-bg": R?.background,
1192
1196
  "--stdv-header-border": R?.headerBorder,
1193
1197
  "--stdv-details-border": R?.detailsColumnBorder,
1194
1198
  "--stdv-subtitle-text": R?.subtitleText,
1195
1199
  "--stdv-history-bg": R?.historyCardBackground
1196
- }), De = b(), [H, ke] = Ae(it.Details), U = Oe(), Me = o && !i ? e.startNowBusyLabel : void 0, Ne = [
1200
+ }), De = b(), [H, ke] = Ae(at.Details), U = Oe(), Me = o && !i ? e.startNowBusyLabel : void 0, Ne = [
1197
1201
  {
1198
- id: it.Details,
1202
+ id: at.Details,
1199
1203
  label: e.detailsTitle
1200
1204
  },
1201
1205
  {
1202
- id: it.Configuration,
1206
+ id: at.Configuration,
1203
1207
  label: e.configurationTitle
1204
1208
  },
1205
1209
  {
1206
- id: it.History,
1210
+ id: at.History,
1207
1211
  label: e.historyTitle
1208
1212
  }
1209
- ], Pe = Ne.find((e) => e.id === H)?.label ?? e.detailsTitle, K = /* @__PURE__ */ W(lt, {
1213
+ ], Pe = Ne.find((e) => e.id === H)?.label ?? e.detailsTitle, Fe = /* @__PURE__ */ W(ut, {
1210
1214
  labels: {
1211
1215
  descriptionLabel: e.descriptionLabel,
1212
1216
  modelLabel: e.modelLabel,
@@ -1221,7 +1225,7 @@ var Pe = {
1221
1225
  completedLabel: re,
1222
1226
  fieldLabelClassName: we,
1223
1227
  fieldValueClassName: Te
1224
- }), q = /* @__PURE__ */ W(st, {
1228
+ }), K = /* @__PURE__ */ W(ct, {
1225
1229
  instructionsLabel: e.instructionsLabel,
1226
1230
  skillLabel: e.skillLabel,
1227
1231
  skillDisplayNames: ie,
@@ -1235,7 +1239,7 @@ var Pe = {
1235
1239
  mathScrollRegionAriaLabel: e.mathScrollRegionAriaLabel
1236
1240
  },
1237
1241
  fieldLabelClassName: we
1238
- }), Fe = (t) => /* @__PURE__ */ W(mt, {
1242
+ }), q = (t) => /* @__PURE__ */ W(ht, {
1239
1243
  variant: t,
1240
1244
  labels: {
1241
1245
  historyTitle: e.historyTitle,
@@ -1407,7 +1411,7 @@ var Pe = {
1407
1411
  role: "tabpanel",
1408
1412
  "aria-label": Pe,
1409
1413
  className: "flex flex-1 flex-col gap-5 px-4 py-6",
1410
- children: H === it.Configuration ? q : H === it.History ? Fe(at.Flow) : K
1414
+ children: H === at.Configuration ? K : H === at.History ? q(ot.Flow) : Fe
1411
1415
  })]
1412
1416
  }) : /* @__PURE__ */ G("div", {
1413
1417
  style: {
@@ -1430,7 +1434,7 @@ var Pe = {
1430
1434
  children: [/* @__PURE__ */ W("h2", {
1431
1435
  className: Se,
1432
1436
  children: e.detailsTitle
1433
- }), K]
1437
+ }), Fe]
1434
1438
  }),
1435
1439
  /* @__PURE__ */ G("div", {
1436
1440
  style: {
@@ -1441,7 +1445,7 @@ var Pe = {
1441
1445
  children: [/* @__PURE__ */ W("h2", {
1442
1446
  className: Se,
1443
1447
  children: e.configurationTitle
1444
- }), q]
1448
+ }), K]
1445
1449
  }),
1446
1450
  /* @__PURE__ */ W("div", {
1447
1451
  style: {
@@ -1449,13 +1453,13 @@ var Pe = {
1449
1453
  minWidth: 0
1450
1454
  },
1451
1455
  className: "flex min-h-0 w-full items-start justify-center overflow-y-auto p-6",
1452
- children: Fe(at.Card)
1456
+ children: q(ot.Card)
1453
1457
  })
1454
1458
  ]
1455
1459
  }))
1456
1460
  ]
1457
1461
  });
1458
- }, gt = {
1462
+ }, _t = {
1459
1463
  h1: "dial-small-semi-text mb-3 mt-6 first:mt-0 [text-wrap:balance]",
1460
1464
  h2: "dial-small-semi-text mb-2 mt-5 first:mt-0 [text-wrap:balance]",
1461
1465
  h3: "dial-small-semi-text mb-2 mt-4 first:mt-0 [text-wrap:balance]",
@@ -1470,7 +1474,7 @@ var Pe = {
1470
1474
  link: "break-words [overflow-wrap:anywhere]",
1471
1475
  tableWrapper: "my-4",
1472
1476
  mathBlock: "my-4"
1473
- }, _t = ({ modelLabel: e, skillLabel: t, skillDisplayNames: n, instructionsLabel: r, modelDisplayName: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s = gt, markdownLabels: c, styles: l }) => {
1477
+ }, vt = ({ modelLabel: e, skillLabel: t, skillDisplayNames: n, instructionsLabel: r, modelDisplayName: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s = _t, markdownLabels: c, styles: l }) => {
1474
1478
  let u = l?.typography?.fieldLabelClassName ?? "dial-tiny-text text-secondary", d = l?.typography?.fieldValueClassName ?? "dial-small-text";
1475
1479
  return /* @__PURE__ */ G("div", {
1476
1480
  className: "flex flex-col gap-3",
@@ -1511,10 +1515,10 @@ var Pe = {
1511
1515
  })
1512
1516
  ]
1513
1517
  });
1514
- }, vt = ({ className: e, children: t }) => /* @__PURE__ */ W("span", {
1518
+ }, yt = ({ className: e, children: t }) => /* @__PURE__ */ W("span", {
1515
1519
  className: v(e, "block truncate py-1"),
1516
1520
  children: t
1517
- }), yt = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, isUnavailable: s = !1, hasMore: c = !1, onLoadMore: l, currentRunId: u, onRunClick: d, labels: f, titleClassName: p = "dial-tiny-semi-text", contentClassName: m = "ps-3", unavailableTextClassName: h = "dial-body-text text-secondary" }) => {
1521
+ }), bt = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, isUnavailable: s = !1, hasMore: c = !1, onLoadMore: l, currentRunId: u, onRunClick: d, labels: f, titleClassName: p = "dial-tiny-semi-text", contentClassName: m = "ps-3", unavailableTextClassName: h = "dial-body-text text-secondary" }) => {
1518
1522
  let [g, _] = Ae(!0);
1519
1523
  De(() => {
1520
1524
  _(!0);
@@ -1529,7 +1533,7 @@ var Pe = {
1529
1533
  })
1530
1534
  }) : void 0;
1531
1535
  return /* @__PURE__ */ W(S, {
1532
- title: /* @__PURE__ */ W(vt, {
1536
+ title: /* @__PURE__ */ W(yt, {
1533
1537
  className: p,
1534
1538
  children: f.title
1535
1539
  }),
@@ -1540,7 +1544,7 @@ var Pe = {
1540
1544
  role: "alert",
1541
1545
  className: h,
1542
1546
  children: f.unavailableLabel
1543
- }) : /* @__PURE__ */ W(ft, {
1547
+ }) : /* @__PURE__ */ W(pt, {
1544
1548
  items: t,
1545
1549
  isLoading: n,
1546
1550
  isLoadingMore: r,
@@ -1561,9 +1565,9 @@ var Pe = {
1561
1565
  }
1562
1566
  })
1563
1567
  });
1564
- }, bt = /* @__PURE__ */ function(e) {
1568
+ }, xt = /* @__PURE__ */ function(e) {
1565
1569
  return e.Ready = "ready", e.Error = "error", e.Unavailable = "unavailable", e;
1566
- }({}), xt = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, skillDisplayNames: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, summaryStyles: l, labels: u, titleClassName: d = "dial-tiny-semi-text", unavailableTextClassName: f = "dial-body-text text-secondary" }) => {
1570
+ }({}), St = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, skillDisplayNames: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, summaryStyles: l, labels: u, titleClassName: d = "dial-tiny-semi-text", unavailableTextClassName: f = "dial-body-text text-secondary" }) => {
1567
1571
  let [p, m] = Ae(!1);
1568
1572
  De(() => {
1569
1573
  m(!1);
@@ -1578,7 +1582,7 @@ var Pe = {
1578
1582
  label: u.retryLabel,
1579
1583
  onClick: n
1580
1584
  })]
1581
- }) : /* @__PURE__ */ W(_t, {
1585
+ }) : /* @__PURE__ */ W(vt, {
1582
1586
  modelLabel: u.modelLabel,
1583
1587
  instructionsLabel: u.instructionsLabel,
1584
1588
  skillLabel: u.skillLabel,
@@ -1591,7 +1595,7 @@ var Pe = {
1591
1595
  styles: l
1592
1596
  });
1593
1597
  return /* @__PURE__ */ W(S, {
1594
- title: /* @__PURE__ */ W(vt, {
1598
+ title: /* @__PURE__ */ W(yt, {
1595
1599
  className: d,
1596
1600
  children: u.title
1597
1601
  }),
@@ -1599,7 +1603,7 @@ var Pe = {
1599
1603
  onToggle: m,
1600
1604
  children: h
1601
1605
  });
1602
- }, St = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ W(l, {
1606
+ }, Ct = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ W(l, {
1603
1607
  ...s,
1604
1608
  variant: ie.Danger,
1605
1609
  popupClassName: o?.popupClassName,
@@ -1624,4 +1628,4 @@ var Pe = {
1624
1628
  })
1625
1629
  });
1626
1630
  //#endregion
1627
- export { c as DESCRIPTION_MAX_LENGTH, Pe as SCHEDULED_TASKS_CLASS, Re as ScheduledTaskCard, Ue as ScheduledTaskCardGrid, He as ScheduledTaskCardSkeleton, xt as ScheduledTaskConversationDetailsSection, bt as ScheduledTaskConversationDetailsState, yt as ScheduledTaskConversationHistorySection, rt as ScheduledTaskCreateForm, St as ScheduledTaskDeleteConfirmation, ht as ScheduledTaskDetailView, _t as ScheduledTaskDetailsSummary, mt as ScheduledTaskHistorySection, q as ScheduledTaskPresentationStatus, r as ScheduledTaskRepeat, ft as ScheduledTaskRunHistoryList, ut as ScheduledTaskRunStatus, K as ScheduledTaskStatus, Ke as ScheduledTasks, qe as ScheduledTasksSortKey, s as TIME_OF_DAY_PATTERN, Fe as getScheduledTaskStatus, Ye as hasScheduledTaskFormChanges };
1631
+ export { c as DESCRIPTION_MAX_LENGTH, Fe as SCHEDULED_TASKS_CLASS, Pe as SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH, ze as ScheduledTaskCard, We as ScheduledTaskCardGrid, Ue as ScheduledTaskCardSkeleton, St as ScheduledTaskConversationDetailsSection, xt as ScheduledTaskConversationDetailsState, bt as ScheduledTaskConversationHistorySection, it as ScheduledTaskCreateForm, Ct as ScheduledTaskDeleteConfirmation, gt as ScheduledTaskDetailView, vt as ScheduledTaskDetailsSummary, ht as ScheduledTaskHistorySection, q as ScheduledTaskPresentationStatus, r as ScheduledTaskRepeat, pt as ScheduledTaskRunHistoryList, dt as ScheduledTaskRunStatus, K as ScheduledTaskStatus, qe as ScheduledTasks, Je as ScheduledTasksSortKey, s as TIME_OF_DAY_PATTERN, Ie as getScheduledTaskStatus, Xe as hasScheduledTaskFormChanges };
@@ -24,10 +24,12 @@ export interface ScheduledTaskCardGridProps {
24
24
  export interface ScheduledTaskCardGridLayout {
25
25
  /** Maximum column count. Defaults to 3; fewer columns fit narrower containers. */
26
26
  maxColumns?: 1 | 2 | 3;
27
- /** Maximum grid width. Defaults to '1180px'. */
27
+ /** Maximum grid width. Defaults to `SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH`. */
28
28
  maxWidth?: string;
29
29
  minCardWidth?: string;
30
30
  gap?: string;
31
31
  cardHeight?: string;
32
32
  }
33
+ /** Default `layout.maxWidth` of the card grid; the banner slot falls back to the same width so the banner stays aligned with the cards. */
34
+ export declare const SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH = "1180px";
33
35
  //# sourceMappingURL=scheduled-task-card-grid-props.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-task-card-grid-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-grid-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,2GAA2G;AAC3G,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AAElE,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,kDAAkD;IAClD,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,wJAAwJ;IACxJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gEAAgE;IAChE,cAAc,CAAC,EAAE,+BAA+B,CAAC;IACjD,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC;AAED,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"scheduled-task-card-grid-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-grid-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACxB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,2GAA2G;AAC3G,MAAM,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;AAElE,6DAA6D;AAC7D,MAAM,WAAW,0BAA0B;IACzC,kDAAkD;IAClD,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+CAA+C;IAC/C,MAAM,CAAC,EAAE,2BAA2B,CAAC;IACrC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,wJAAwJ;IACxJ,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,gEAAgE;IAChE,cAAc,CAAC,EAAE,+BAA+B,CAAC;IACjD,MAAM,CAAC,EAAE,2BAA2B,CAAC;CACtC;AAED,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,UAAU,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACvB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,2IAA2I;AAC3I,eAAO,MAAM,sCAAsC,WAAW,CAAC"}
@@ -76,8 +76,8 @@ export interface ScheduledTasksStyles {
76
76
  export interface ScheduledTasksProps {
77
77
  /** Localized labels. */
78
78
  labels: ScheduledTasksLabels;
79
- /** Called when the user activates the primary "create task" action. */
80
- onCreateClick: () => void;
79
+ /** Called when the user activates the primary "create task" action. Omit it to render no create button (the host withdraws the affordance without the lib knowing why). */
80
+ onCreateClick?: () => void;
81
81
  /** Current value of the toolbar search input. */
82
82
  searchQuery: string;
83
83
  /** Called when the toolbar search input value changes. */
@@ -1 +1 @@
1
- {"version":3,"file":"scheduled-tasks-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-tasks-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EACV,2BAA2B,EAC3B,2BAA2B,EAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,qEAAqE;AACrE,MAAM,WAAW,oBAAoB;IACnC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,gBAAgB,EAAE,MAAM,CAAC;IACzB,qEAAqE;IACrE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,yDAAyD;IACzD,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,mEAAmE;IACnE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,oEAAoE;IACpE,UAAU,EAAE,M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AAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,2BAA2B,CAAC;IACzC,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B"}
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.3.0-dev.214",
4
+ "version": "1.3.0-dev.223",
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.3.0-dev.214"
28
+ "@epam/ai-dial-builder-form": "1.3.0-dev.223"
29
29
  },
30
30
  "peerDependencies": {
31
- "@epam/ai-dial-chat-shared": "1.3.0-dev.214",
31
+ "@epam/ai-dial-chat-shared": "1.3.0-dev.223",
32
32
  "@epam/ai-dial-ui-kit": "^0.16.0-dev.45",
33
33
  "react": "^19.2.8"
34
34
  },