@epam/ai-dial-scheduled-tasks 1.1.0-dev.411 → 1.1.0-dev.418

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/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { MDMessageViewer as e, PanelEmptyState as t, buildCssVars as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
2
- import { Button as i, ButtonAppearance as a, ButtonVariant as o, Calendar as s, CalendarMode as c, CardShell as l, DIAL_ICON_SIZE as u, DIAL_KIT_ICON_STROKE as d, Dropdown as f, ElementSize as p, EllipsisTooltip as m, FolderPath as h, GhostButton as g, GhostIconButton as _, Highlight as v, Input as y, Label as b, NeutralButton as x, NumberInput as S, PrimaryButton as C, Search as w, Select as T, Skeleton as E, SkeletonVariant as D, Spinner as O, Switch as ee, Textarea as k } from "@epam/ai-dial-ui-kit";
3
- import { IconAlertTriangle as A, IconArrowLeft as j, IconCalendarTime as te, IconCheck as ne, IconChevronDown as M, IconChevronUp as re, IconCircleCheck as ie, IconCircleX as ae, IconClipboardX as N, IconPencilMinus as oe, IconPlayerPause as P, IconPlus as se, IconTrashX as ce } from "@tabler/icons-react";
4
- import { Suspense as F, lazy as I, useEffect as L, useId as R, useRef as z, useState as B } from "react";
5
- import { Fragment as V, jsx as H, jsxs as U } from "react/jsx-runtime";
6
- import { BuilderFormContainer as W } from "@epam/ai-dial-builder-form";
7
- import { LazyMarkdownEditor as G } from "@epam/ai-dial-ui-kit/editors";
1
+ import { MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as e, MDMessageViewer as t, PanelEmptyState as n, buildCssVars as r, mergeClasses as i } from "@epam/ai-dial-chat-shared";
2
+ import { Button as a, ButtonAppearance as o, ButtonVariant as s, Calendar as c, CalendarMode as l, CardShell as u, DIAL_ICON_SIZE as d, DIAL_KIT_ICON_STROKE as f, Dropdown as p, ElementSize as m, EllipsisTooltip as h, FolderPath as g, GhostButton as _, GhostIconButton as v, Highlight as y, Input as b, Label as x, NeutralButton as S, NumberInput as C, PrimaryButton as w, Search as T, Select as E, Skeleton as D, SkeletonVariant as O, Spinner as k, Switch as ee, Textarea as A } from "@epam/ai-dial-ui-kit";
3
+ import { IconAlertTriangle as j, IconArrowLeft as te, IconCalendarTime as ne, IconCheck as M, IconChevronDown as re, IconChevronUp as ie, IconCircleCheck as ae, IconCircleX as N, IconClipboardX as P, IconPencilMinus as oe, IconPlayerPause as F, IconPlus as se, IconTrashX as I } from "@tabler/icons-react";
4
+ import { Suspense as L, lazy as R, useEffect as ce, useId as z, useRef as B, useState as V } from "react";
5
+ import { Fragment as H, jsx as U, jsxs as W } from "react/jsx-runtime";
6
+ import { BuilderFormContainer as G } from "@epam/ai-dial-builder-form";
7
+ import { LazyMarkdownEditor as le } from "@epam/ai-dial-ui-kit/editors";
8
8
  var K = {
9
9
  title: "_title_1hxc3_1",
10
10
  description: "_description_1hxc3_5",
@@ -16,8 +16,8 @@ var K = {
16
16
  pausedPill: "_pausedPill_1hxc3_31",
17
17
  pausedLabel: "_pausedLabel_1hxc3_36",
18
18
  locationDivider: "_locationDivider_1hxc3_40"
19
- }, le = ({ item: e, searchQuery: t = "", onCardClick: i, labels: a, styles: o, className: s }) => {
20
- let c = a?.newBadgeLabel ?? "NEW", f = a?.pausedBadgeLabel ?? "Paused", { colors: p, typography: m } = o ?? {}, g = m?.titleClassName ?? "dial-body-semi-text", _ = m?.descriptionClassName ?? "dial-small-text", y = m?.descriptionSizeClassName ?? "dial-tiny-text", b = m?.scheduleLabelClassName ?? "dial-tiny-text", x = m?.locationLabelClassName ?? "dial-tiny-text", S = m?.locationLeafClassName ?? "dial-tiny-semi-text", C = m?.newBadgeClassName ?? "dial-tiny-semi-text", w = m?.pausedBadgeClassName ?? "dial-tiny-text", T = n({
19
+ }, ue = ({ item: e, searchQuery: t = "", onCardClick: n, labels: a, styles: o, className: s }) => {
20
+ let c = a?.newBadgeLabel ?? "NEW", l = a?.pausedBadgeLabel ?? "Paused", { colors: p, typography: m } = o ?? {}, h = m?.titleClassName ?? "dial-body-semi-text", _ = m?.descriptionClassName ?? "dial-small-text", v = m?.descriptionSizeClassName ?? "dial-tiny-text", b = m?.scheduleLabelClassName ?? "dial-tiny-text", x = m?.locationLabelClassName ?? "dial-tiny-text", S = m?.locationLeafClassName ?? "dial-tiny-semi-text", C = m?.newBadgeClassName ?? "dial-tiny-semi-text", w = m?.pausedBadgeClassName ?? "dial-tiny-text", T = r({
21
21
  "--stc-title-text": p?.titleText,
22
22
  "--stc-desc-text": p?.descriptionText,
23
23
  "--stc-pill-bg": p?.schedulePillBackground,
@@ -31,477 +31,477 @@ var K = {
31
31
  "--stc-paused-bg": p?.pausedBadgeBackground,
32
32
  "--stc-paused-border": p?.pausedBadgeBorder,
33
33
  "--stc-paused-text": p?.pausedBadgeText
34
- }), E = i ? {
34
+ }), E = n ? {
35
35
  tabIndex: 0,
36
- onClick: () => i(e.id),
36
+ onClick: () => n(e.id),
37
37
  onKeyDown: (t) => {
38
- (t.key === "Enter" || t.key === " ") && (t.preventDefault(), i(e.id));
38
+ (t.key === "Enter" || t.key === " ") && (t.preventDefault(), n(e.id));
39
39
  }
40
40
  } : {};
41
- return /* @__PURE__ */ U(l, {
42
- role: i ? "button" : "group",
41
+ return /* @__PURE__ */ W(u, {
42
+ role: n ? "button" : "group",
43
43
  "aria-label": e.displayName,
44
44
  style: T,
45
- className: r("h-[232px]", i && "cursor-pointer", s),
45
+ className: i("h-[232px]", n && "cursor-pointer", s),
46
46
  ...E,
47
47
  children: [
48
- /* @__PURE__ */ U("div", {
48
+ /* @__PURE__ */ W("div", {
49
49
  className: "flex min-w-0 shrink-0 items-center gap-2",
50
- children: [/* @__PURE__ */ H(v, {
50
+ children: [/* @__PURE__ */ U(y, {
51
51
  text: e.displayName,
52
52
  query: t,
53
53
  maxLines: 1,
54
- className: r(g, K.title)
55
- }), e.isNew && /* @__PURE__ */ H("span", {
56
- className: r("shrink-0 rounded-full px-2 py-0.5", C, K.newBadge),
54
+ className: i(h, K.title)
55
+ }), e.isNew && /* @__PURE__ */ U("span", {
56
+ className: i("shrink-0 rounded-full px-2 py-0.5", C, K.newBadge),
57
57
  children: c
58
58
  })]
59
59
  }),
60
- e.descriptionPreview && /* @__PURE__ */ H("p", {
61
- className: r("line-clamp-4 min-h-0 flex-1 overflow-hidden", y, _, K.description),
60
+ e.descriptionPreview && /* @__PURE__ */ U("p", {
61
+ className: i("line-clamp-4 min-h-0 flex-1 overflow-hidden", v, _, K.description),
62
62
  children: e.descriptionPreview
63
63
  }),
64
- /* @__PURE__ */ U("div", {
64
+ /* @__PURE__ */ W("div", {
65
65
  className: "mt-auto flex shrink-0 flex-col gap-3",
66
- children: [/* @__PURE__ */ H("div", {
66
+ children: [/* @__PURE__ */ U("div", {
67
67
  className: "flex min-h-[28px] items-center",
68
- children: e.isActive === !1 ? /* @__PURE__ */ U("span", {
69
- className: r("inline-flex items-center gap-1.5 rounded-full border px-2 py-1", K.pausedPill, w, K.pausedLabel),
70
- children: [/* @__PURE__ */ H(P, {
71
- size: u.SM,
68
+ children: e.isActive === !1 ? /* @__PURE__ */ W("span", {
69
+ className: i("inline-flex items-center gap-1.5 rounded-full border px-2 py-1", K.pausedPill, w, K.pausedLabel),
70
+ children: [/* @__PURE__ */ U(F, {
71
+ size: d.SM,
72
72
  "aria-hidden": !0,
73
- stroke: d
74
- }), f]
75
- }) : /* @__PURE__ */ H("span", {
76
- className: r("inline-block rounded-lg border px-2 py-1", K.schedulePill, b, K.scheduleLabel),
73
+ stroke: f
74
+ }), l]
75
+ }) : /* @__PURE__ */ U("span", {
76
+ className: i("inline-block rounded-lg border px-2 py-1", K.schedulePill, b, K.scheduleLabel),
77
77
  children: e.scheduleLabel
78
78
  })
79
- }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ H(h, {
79
+ }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ U(g, {
80
80
  segments: e.locationSegments,
81
- labelClassName: r(x, K.locationLabel),
82
- leafClassName: r(S, K.locationLeaf),
83
- className: r("pt-3", K.locationDivider)
81
+ labelClassName: i(x, K.locationLabel),
82
+ leafClassName: i(S, K.locationLeaf),
83
+ className: i("pt-3", K.locationDivider)
84
84
  })]
85
85
  })
86
86
  ]
87
87
  });
88
- }, ue = { card: "_card_11bez_1" }, de = [
88
+ }, de = { card: "_card_11bez_1" }, fe = [
89
89
  "100%",
90
90
  "100%",
91
91
  "61%"
92
- ], fe = "var(--stcs-skeleton-bg)", pe = ({ styles: e }) => /* @__PURE__ */ U(l, {
92
+ ], pe = "var(--stcs-skeleton-bg)", me = ({ styles: e }) => /* @__PURE__ */ W(u, {
93
93
  "aria-hidden": !0,
94
- style: n({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
95
- className: r("h-[232px]", ue.card),
94
+ style: r({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
95
+ className: i("h-[232px]", de.card),
96
96
  children: [
97
- /* @__PURE__ */ H(E, {
98
- variant: D.Rectangular,
97
+ /* @__PURE__ */ U(D, {
98
+ variant: O.Rectangular,
99
99
  width: "60%",
100
100
  height: "20px",
101
- color: fe,
101
+ color: pe,
102
102
  className: "shrink-0"
103
103
  }),
104
- /* @__PURE__ */ H("div", {
104
+ /* @__PURE__ */ U("div", {
105
105
  className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
106
- children: de.map((e, t) => /* @__PURE__ */ H(E, {
107
- variant: D.Rectangular,
106
+ children: fe.map((e, t) => /* @__PURE__ */ U(D, {
107
+ variant: O.Rectangular,
108
108
  width: e,
109
109
  height: "16px",
110
- color: fe
110
+ color: pe
111
111
  }, t))
112
112
  }),
113
- /* @__PURE__ */ H(E, {
114
- variant: D.Rectangular,
113
+ /* @__PURE__ */ U(D, {
114
+ variant: O.Rectangular,
115
115
  width: "110px",
116
116
  height: "28px",
117
- color: fe,
117
+ color: pe,
118
118
  className: "shrink-0 rounded-lg"
119
119
  })
120
120
  ]
121
- }), me = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o }) => /* @__PURE__ */ U("div", {
121
+ }), he = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o }) => /* @__PURE__ */ W("div", {
122
122
  className: "grid grid-cols-1 gap-5 desktop:grid-cols-3",
123
- children: [e.map((e) => /* @__PURE__ */ H(le, {
123
+ children: [e.map((e) => /* @__PURE__ */ U(ue, {
124
124
  item: e,
125
125
  searchQuery: t,
126
126
  onCardClick: n,
127
127
  labels: r,
128
128
  styles: i
129
- }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ H(pe, { styles: o }, `skeleton-${t}`))]
129
+ }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ U(me, { styles: o }, `skeleton-${t}`))]
130
130
  }), q = {
131
131
  container: "_container_r5sk9_1",
132
132
  subtitle: "_subtitle_r5sk9_5",
133
133
  sortButton: "_sortButton_r5sk9_9"
134
- }, he = (e, t, n, r, i, a) => {
134
+ }, ge = (e, t, n, r, i, a) => {
135
135
  if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
136
- }, ge = (e) => {
136
+ }, _e = (e) => {
137
137
  if (!e || e === document.body) return null;
138
138
  let { overflow: t, overflowY: n } = getComputedStyle(e);
139
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : ge(e.parentElement);
140
- }, _e = ({ labels: e, onCreateClick: s, searchQuery: c, onSearchQueryChange: l, sortKey: h, onSortChange: _, items: v, isLoading: y = !1, error: b, onRetry: x, hasMore: S = !1, isLoadingMore: T = !1, skeletonCount: E = 6, onLoadMore: D, onCardClick: ee, styles: k }) => {
141
- let { colors: A, typography: j, emptyStateIconSize: ie = 48 } = k ?? {}, ae = j?.titleClassName ?? "dial-h1-text", N = j?.subtitleClassName ?? "dial-body-text", oe = n({
139
+ return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : _e(e.parentElement);
140
+ }, ve = ({ labels: e, onCreateClick: t, searchQuery: c, onSearchQueryChange: l, sortKey: u, onSortChange: g, items: v, isLoading: y = !1, error: b, onRetry: x, hasMore: S = !1, isLoadingMore: C = !1, skeletonCount: E = 6, onLoadMore: D, onCardClick: O, styles: ee }) => {
141
+ let { colors: A, typography: j, emptyStateIconSize: te = 48 } = ee ?? {}, ae = j?.titleClassName ?? "dial-h1-text", N = j?.subtitleClassName ?? "dial-body-text", P = r({
142
142
  "--st-bg": A?.background,
143
143
  "--st-subtitle-text": A?.subtitleText,
144
144
  "--st-sort-text": A?.sortButtonText
145
- }), P = (e) => {
145
+ }), oe = (e) => {
146
146
  l(e ?? "");
147
- }, [ce, F] = B(!1), I = e.sortOptions.find((e) => e.key === h)?.label ?? e.sortLabel, R = e.sortOptions.map((e) => {
148
- let t = e.key === h;
147
+ }, [F, I] = V(!1), L = e.sortOptions.find((e) => e.key === u)?.label ?? e.sortLabel, R = e.sortOptions.map((e) => {
148
+ let t = e.key === u;
149
149
  return {
150
150
  ...e,
151
151
  selectable: !0,
152
152
  checked: t,
153
- renderItem: () => /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H(m, { text: e.label }), t && /* @__PURE__ */ H(ne, {
154
- size: u.SM,
155
- stroke: d,
153
+ renderItem: () => /* @__PURE__ */ W(H, { children: [/* @__PURE__ */ U(h, { text: e.label }), t && /* @__PURE__ */ U(M, {
154
+ size: d.SM,
155
+ stroke: f,
156
156
  "aria-hidden": !0
157
157
  })] }),
158
158
  onClick: () => {
159
- F(!1), _(e.key);
159
+ I(!1), g(e.key);
160
160
  }
161
161
  };
162
- }), W = he(y, T, !!b, v.length, c.trim().length > 0, e), G = z(null);
163
- L(() => {
162
+ }), z = ge(y, C, !!b, v.length, c.trim().length > 0, e), G = B(null);
163
+ ce(() => {
164
164
  let e = G.current;
165
165
  if (!e || !D) return;
166
- let t = ge(e.parentElement);
166
+ let t = _e(e.parentElement);
167
167
  if (!t) return;
168
168
  let n = () => {
169
- if (T || y || !S) return;
169
+ if (C || y || !S) return;
170
170
  let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
171
171
  r.top < n.bottom && r.bottom > n.top && D();
172
172
  };
173
173
  return t.addEventListener("scroll", n, { passive: !0 }), n(), () => t.removeEventListener("scroll", n);
174
174
  }, [
175
175
  S,
176
- T,
176
+ C,
177
177
  y,
178
178
  D
179
179
  ]);
180
- let K = () => y ? /* @__PURE__ */ H(O, {}) : b ? /* @__PURE__ */ U("div", {
180
+ let le = () => y ? /* @__PURE__ */ U(k, {}) : b ? /* @__PURE__ */ W("div", {
181
181
  className: "flex flex-col items-center gap-3",
182
- children: [/* @__PURE__ */ H("p", {
183
- className: r(N, q.subtitle),
182
+ children: [/* @__PURE__ */ U("p", {
183
+ className: i(N, q.subtitle),
184
184
  children: e.errorLabel
185
- }), /* @__PURE__ */ H(g, {
185
+ }), /* @__PURE__ */ U(_, {
186
186
  label: e.retryLabel,
187
187
  onClick: x
188
188
  })]
189
- }) : v.length === 0 ? c.trim() ? /* @__PURE__ */ H("p", {
190
- className: r(N, q.subtitle),
189
+ }) : v.length === 0 ? c.trim() ? /* @__PURE__ */ U("p", {
190
+ className: i(N, q.subtitle),
191
191
  children: e.noResultsLabel
192
- }) : /* @__PURE__ */ H(t, {
193
- icon: /* @__PURE__ */ H(te, {
192
+ }) : /* @__PURE__ */ U(n, {
193
+ icon: /* @__PURE__ */ U(ne, {
194
194
  "aria-hidden": !0,
195
- size: ie,
195
+ size: te,
196
196
  stroke: 1
197
197
  }),
198
198
  label: e.emptyStateLabel
199
- }) : /* @__PURE__ */ U("div", {
199
+ }) : /* @__PURE__ */ W("div", {
200
200
  className: "flex w-full flex-col gap-6",
201
- children: [/* @__PURE__ */ H(me, {
201
+ children: [/* @__PURE__ */ U(he, {
202
202
  items: v,
203
203
  searchQuery: c,
204
- onCardClick: ee,
204
+ onCardClick: O,
205
205
  labels: e.cardLabels,
206
- trailingSkeletonCount: T ? E : 0,
206
+ trailingSkeletonCount: C ? E : 0,
207
207
  skeletonStyles: { colors: { skeletonColor: A?.skeletonColor } }
208
- }), /* @__PURE__ */ H("div", {
208
+ }), /* @__PURE__ */ U("div", {
209
209
  ref: G,
210
210
  "aria-hidden": !0,
211
211
  className: "h-px w-full"
212
212
  })]
213
- }), le = y || !!b || v.length === 0;
214
- return /* @__PURE__ */ U("div", {
215
- style: oe,
216
- className: r("flex h-full w-full flex-col gap-6 overflow-y-auto px-8 py-4", q.container),
213
+ }), K = y || !!b || v.length === 0;
214
+ return /* @__PURE__ */ W("div", {
215
+ style: P,
216
+ className: i("flex h-full w-full flex-col gap-6 overflow-y-auto px-8 py-4", q.container),
217
217
  children: [
218
- /* @__PURE__ */ U("div", {
218
+ /* @__PURE__ */ W("div", {
219
219
  className: "flex items-start justify-between gap-4",
220
- children: [/* @__PURE__ */ U("div", {
220
+ children: [/* @__PURE__ */ W("div", {
221
221
  className: "min-w-0 gap-2",
222
- children: [/* @__PURE__ */ H("h1", {
223
- className: r("truncate", ae),
222
+ children: [/* @__PURE__ */ U("h1", {
223
+ className: i("truncate", ae),
224
224
  children: e.title
225
- }), /* @__PURE__ */ H("p", {
226
- className: r("mt-1", N, q.subtitle),
225
+ }), /* @__PURE__ */ U("p", {
226
+ className: i("mt-1", N, q.subtitle),
227
227
  children: e.subtitle
228
228
  })]
229
- }), /* @__PURE__ */ H(C, {
229
+ }), /* @__PURE__ */ U(w, {
230
230
  label: e.createButtonLabel,
231
- iconBefore: /* @__PURE__ */ H(se, {
232
- size: u.SM,
231
+ iconBefore: /* @__PURE__ */ U(se, {
232
+ size: d.SM,
233
233
  "aria-hidden": !0,
234
- stroke: d
234
+ stroke: f
235
235
  }),
236
- onClick: s,
236
+ onClick: t,
237
237
  className: "shrink-0"
238
238
  })]
239
239
  }),
240
- /* @__PURE__ */ U("div", {
240
+ /* @__PURE__ */ W("div", {
241
241
  className: "flex flex-wrap items-center gap-3",
242
- children: [/* @__PURE__ */ H("div", {
242
+ children: [/* @__PURE__ */ U("div", {
243
243
  role: "search",
244
244
  className: "flex-1",
245
- children: /* @__PURE__ */ H(w, {
245
+ children: /* @__PURE__ */ U(T, {
246
246
  value: c,
247
- onChange: P,
247
+ onChange: oe,
248
248
  placeholder: e.searchPlaceholder,
249
249
  clearLabel: e.clearSearchLabel,
250
250
  "aria-label": e.searchAriaLabel,
251
- size: p.Large
251
+ size: m.Large
252
252
  })
253
- }), e.sortOptions.length > 0 && /* @__PURE__ */ H(f, {
253
+ }), e.sortOptions.length > 0 && /* @__PURE__ */ U(p, {
254
254
  items: R,
255
- open: ce,
256
- onOpenChange: F,
257
- children: /* @__PURE__ */ H(i, {
258
- label: I,
259
- variant: o.Primary,
260
- appearance: a.Ghost,
255
+ open: F,
256
+ onOpenChange: I,
257
+ children: /* @__PURE__ */ U(a, {
258
+ label: L,
259
+ variant: s.Primary,
260
+ appearance: o.Ghost,
261
261
  className: q.sortButton,
262
- iconAfter: H(ce ? re : M, {
263
- size: u.SM,
264
- stroke: d,
262
+ iconAfter: U(F ? ie : re, {
263
+ size: d.SM,
264
+ stroke: f,
265
265
  "aria-hidden": !0
266
266
  })
267
267
  })
268
268
  })]
269
269
  }),
270
- /* @__PURE__ */ H("span", {
270
+ /* @__PURE__ */ U("span", {
271
271
  role: "status",
272
272
  "aria-live": "polite",
273
273
  className: "sr-only",
274
- children: W
274
+ children: z
275
275
  }),
276
- /* @__PURE__ */ H("div", {
277
- className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col", le && "items-center justify-center"),
278
- children: K()
276
+ /* @__PURE__ */ U("div", {
277
+ className: i("mx-auto flex size-full w-full max-w-[1180px] flex-col", K && "items-center justify-center"),
278
+ children: le()
279
279
  })
280
280
  ]
281
281
  });
282
- }, ve = /* @__PURE__ */ function(e) {
282
+ }, ye = /* @__PURE__ */ function(e) {
283
283
  return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
284
- }({}), ye = 500, J = /* @__PURE__ */ function(e) {
284
+ }({}), be = 500, J = /* @__PURE__ */ function(e) {
285
285
  return e.OneTime = "oneTime", e.Hourly = "hourly", e.Daily = "daily", e.Weekly = "weekly", e.Monthly = "monthly", e;
286
- }({}), Y = (e) => String(e).padStart(2, "0"), be = (e) => e ? new Date(e) : null, xe = (e) => {
286
+ }({}), Y = (e) => String(e).padStart(2, "0"), xe = (e) => e ? new Date(e) : null, Se = (e) => {
287
287
  if (e == null) return "";
288
288
  let t = e instanceof Date ? e : new Date(e);
289
289
  return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${Y(t.getMonth() + 1)}-${Y(t.getDate())}T${Y(t.getHours())}:${Y(t.getMinutes())}`;
290
- }, Se = (e) => {
290
+ }, Ce = (e) => {
291
291
  if (!e) return null;
292
292
  let [t, n, r] = e.split("-").map(Number);
293
293
  return new Date(t, n - 1, r);
294
- }, Ce = (e) => {
294
+ }, we = (e) => {
295
295
  if (e == null) return "";
296
296
  let t = e instanceof Date ? e : new Date(e);
297
297
  return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${Y(t.getMonth() + 1)}-${Y(t.getDate())}`;
298
- }, we = (e) => {
298
+ }, Te = (e) => {
299
299
  let t = Number(e);
300
300
  return e && Number.isFinite(t) ? String(t + 1) : null;
301
- }, Te = (e) => {
301
+ }, Ee = (e) => {
302
302
  let t = typeof e == "string" ? Number(e) : NaN;
303
303
  return Number.isFinite(t) ? String(t - 1) : "";
304
304
  }, X = {
305
305
  detailsColumn: "_detailsColumn_1mg3v_1",
306
306
  sectionSubtitle: "_sectionSubtitle_1mg3v_5",
307
307
  instructionsError: "_instructionsError_1mg3v_9"
308
- }, Ee = I(async () => ({ default: (await G()).MarkdownEditor })), De = ({ labels: e, values: t, errors: i, modelSelector: a, modelLabelId: o, onFieldChange: l, onBack: u, onCancel: d, onSubmit: f, isSubmitting: p = !1, markdownEditorTheme: m, styles: h }) => {
309
- let g = R(), { colors: _, typography: v } = h ?? {}, x = v?.titleClassName ?? "dial-h1-text", C = v?.sectionTitleClassName ?? "dial-body-semi-text", w = v?.sectionSubtitleClassName ?? "dial-tiny-text", E = v?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", D = v?.instructionsErrorClassName ?? "dial-small-text", ee = n({
310
- "--stcf-details-border": _?.detailsColumnBorder,
311
- "--stcf-subtitle-text": _?.sectionSubtitleText,
312
- "--stcf-error-text": _?.instructionsErrorText
313
- }), A = p || !t.displayName.trim() || !t.modelId || !t.prompt.trim();
314
- return /* @__PURE__ */ H(W, {
308
+ }, De = R(async () => ({ default: (await le()).MarkdownEditor })), Oe = ({ labels: t, values: n, errors: a, modelSelector: o, modelLabelId: s, onFieldChange: u, onBack: d, onCancel: f, onSubmit: p, isSubmitting: m = !1, markdownEditorTheme: h, styles: g }) => {
309
+ let _ = z(), { colors: v, typography: y } = g ?? {}, S = y?.titleClassName ?? "dial-h1-text", w = y?.sectionTitleClassName ?? "dial-body-semi-text", T = y?.sectionSubtitleClassName ?? "dial-tiny-text", D = y?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", O = y?.instructionsErrorClassName ?? "dial-small-text", ee = r({
310
+ "--stcf-details-border": v?.detailsColumnBorder,
311
+ "--stcf-subtitle-text": v?.sectionSubtitleText,
312
+ "--stcf-error-text": v?.instructionsErrorText
313
+ }), j = m || !n.displayName.trim() || !n.modelId || !n.prompt.trim();
314
+ return /* @__PURE__ */ U(G, {
315
315
  labels: {
316
- title: e.pageTitle,
317
- backButtonLabel: e.backButtonLabel,
318
- cancelButtonLabel: e.cancelButtonLabel,
319
- submitButtonLabel: e.createButtonLabel,
320
- submittingLabel: e.submittingLabel ?? "Saving"
316
+ title: t.pageTitle,
317
+ backButtonLabel: t.backButtonLabel,
318
+ cancelButtonLabel: t.cancelButtonLabel,
319
+ submitButtonLabel: t.createButtonLabel,
320
+ submittingLabel: t.submittingLabel ?? "Saving"
321
321
  },
322
- onBack: u,
323
- onCancel: d,
324
- onSubmit: f,
325
- isCancelDisabled: p,
326
- isSubmitDisabled: A,
327
- isSubmitting: p,
322
+ onBack: d,
323
+ onCancel: f,
324
+ onSubmit: p,
325
+ isCancelDisabled: m,
326
+ isSubmitDisabled: j,
327
+ isSubmitting: m,
328
328
  styles: {
329
- colors: { background: _?.background },
329
+ colors: { background: v?.background },
330
330
  header: {
331
- colors: { borderColor: _?.headerBorder },
332
- typography: { fontClassName: x }
331
+ colors: { borderColor: v?.headerBorder },
332
+ typography: { fontClassName: S }
333
333
  },
334
334
  cssVars: ee
335
335
  },
336
- left: /* @__PURE__ */ U("div", {
336
+ left: /* @__PURE__ */ W("div", {
337
337
  role: "group",
338
- "aria-label": e.detailsSectionTitle,
339
- className: r("flex flex-1 flex-col gap-5 border-e px-8 py-6", X.detailsColumn),
338
+ "aria-label": t.detailsSectionTitle,
339
+ className: i("flex flex-1 flex-col gap-5 border-e px-8 py-6", X.detailsColumn),
340
340
  children: [
341
- /* @__PURE__ */ U("div", {
341
+ /* @__PURE__ */ W("div", {
342
342
  className: "flex flex-col gap-1",
343
- children: [/* @__PURE__ */ H("h2", {
344
- className: C,
345
- children: e.detailsSectionTitle
346
- }), /* @__PURE__ */ H("p", {
347
- className: r(w, X.sectionSubtitle),
348
- children: e.detailsSectionSubtitle
343
+ children: [/* @__PURE__ */ U("h2", {
344
+ className: w,
345
+ children: t.detailsSectionTitle
346
+ }), /* @__PURE__ */ U("p", {
347
+ className: i(T, X.sectionSubtitle),
348
+ children: t.detailsSectionSubtitle
349
349
  })]
350
350
  }),
351
- /* @__PURE__ */ H(y, {
351
+ /* @__PURE__ */ U(b, {
352
352
  id: "scheduled-task-display-name",
353
- value: t.displayName,
354
- onChange: (e) => l("displayName", e ?? ""),
353
+ value: n.displayName,
354
+ onChange: (e) => u("displayName", e ?? ""),
355
355
  labelProps: {
356
- label: e.displayNameLabel,
356
+ label: t.displayNameLabel,
357
357
  required: !0
358
358
  },
359
- invalid: !!i.displayName,
360
- error: i.displayName
359
+ invalid: !!a.displayName,
360
+ error: a.displayName
361
361
  }),
362
- /* @__PURE__ */ H(k, {
362
+ /* @__PURE__ */ U(A, {
363
363
  id: "scheduled-task-description",
364
- value: t.description ?? "",
365
- onChange: (e) => l("description", e),
366
- labelProps: { label: e.descriptionLabel },
364
+ value: n.description ?? "",
365
+ onChange: (e) => u("description", e),
366
+ labelProps: { label: t.descriptionLabel },
367
367
  maxLength: 500,
368
- invalid: !!i.description,
369
- error: i.description,
370
- caption: t.description ? `${t.description.length}/500` : void 0
368
+ invalid: !!a.description,
369
+ error: a.description,
370
+ caption: n.description ? `${n.description.length}/500` : void 0
371
371
  }),
372
- /* @__PURE__ */ U("div", {
372
+ /* @__PURE__ */ W("div", {
373
373
  className: "flex flex-col gap-1",
374
374
  children: [
375
- /* @__PURE__ */ H(b, {
376
- id: o,
377
- label: e.modelOrAgentLabel,
375
+ /* @__PURE__ */ U(x, {
376
+ id: s,
377
+ label: t.modelOrAgentLabel,
378
378
  required: !0
379
379
  }),
380
- a,
381
- i.modelId && /* @__PURE__ */ H("p", {
382
- className: r(D, X.instructionsError),
383
- children: i.modelId
380
+ o,
381
+ a.modelId && /* @__PURE__ */ U("p", {
382
+ className: i(O, X.instructionsError),
383
+ children: a.modelId
384
384
  })
385
385
  ]
386
386
  }),
387
- /* @__PURE__ */ U("div", {
387
+ /* @__PURE__ */ W("div", {
388
388
  className: "flex flex-col gap-3",
389
389
  children: [
390
- /* @__PURE__ */ H(T, {
391
- labelProps: { label: e.repeatLabel },
392
- value: t.repeat,
393
- onChange: (e) => l("repeat", e),
394
- options: e.repeatOptions.map((e) => ({
390
+ /* @__PURE__ */ U(E, {
391
+ labelProps: { label: t.repeatLabel },
392
+ value: n.repeat,
393
+ onChange: (e) => u("repeat", e),
394
+ options: t.repeatOptions.map((e) => ({
395
395
  value: e.key,
396
396
  label: e.label
397
397
  }))
398
398
  }),
399
- t.repeat === J.OneTime && /* @__PURE__ */ U("div", {
399
+ n.repeat === J.OneTime && /* @__PURE__ */ W("div", {
400
400
  className: "flex flex-col gap-1",
401
- children: [/* @__PURE__ */ H(s, {
401
+ children: [/* @__PURE__ */ U(c, {
402
402
  id: "scheduled-task-run-at",
403
- mode: c.DateTime,
404
- value: be(t.runAt),
405
- onChange: (e) => l("runAt", xe(e)),
403
+ mode: l.DateTime,
404
+ value: xe(n.runAt),
405
+ onChange: (e) => u("runAt", Se(e)),
406
406
  labelProps: {
407
- label: e.runAtLabel,
407
+ label: t.runAtLabel,
408
408
  required: !0
409
409
  },
410
- invalid: !!i.runAt
411
- }), i.runAt && /* @__PURE__ */ H("p", {
412
- className: r(D, X.instructionsError),
413
- children: i.runAt
410
+ invalid: !!a.runAt
411
+ }), a.runAt && /* @__PURE__ */ U("p", {
412
+ className: i(O, X.instructionsError),
413
+ children: a.runAt
414
414
  })]
415
415
  }),
416
- t.repeat !== J.OneTime && /* @__PURE__ */ U(V, { children: [
417
- t.repeat !== J.Hourly && /* @__PURE__ */ U("div", {
416
+ n.repeat !== J.OneTime && /* @__PURE__ */ W(H, { children: [
417
+ n.repeat !== J.Hourly && /* @__PURE__ */ W("div", {
418
418
  className: "flex flex-col gap-1",
419
- children: [/* @__PURE__ */ H(s, {
419
+ children: [/* @__PURE__ */ U(c, {
420
420
  id: "scheduled-task-time",
421
- mode: c.Time,
422
- value: t.time,
423
- onChange: (e) => l("time", typeof e == "string" ? e : ""),
421
+ mode: l.Time,
422
+ value: n.time,
423
+ onChange: (e) => u("time", typeof e == "string" ? e : ""),
424
424
  labelProps: {
425
- label: e.timeLabel,
425
+ label: t.timeLabel,
426
426
  required: !0
427
427
  },
428
- invalid: !!i.time
429
- }), i.time && /* @__PURE__ */ H("p", {
430
- className: r(D, X.instructionsError),
431
- children: i.time
428
+ invalid: !!a.time
429
+ }), a.time && /* @__PURE__ */ U("p", {
430
+ className: i(O, X.instructionsError),
431
+ children: a.time
432
432
  })]
433
433
  }),
434
- t.repeat === J.Weekly && /* @__PURE__ */ U("div", {
434
+ n.repeat === J.Weekly && /* @__PURE__ */ W("div", {
435
435
  className: "flex flex-col gap-1",
436
- children: [/* @__PURE__ */ H(s, {
436
+ children: [/* @__PURE__ */ U(c, {
437
437
  id: "scheduled-task-day-of-week",
438
- mode: c.Weekday,
439
- value: we(t.dayOfWeek),
440
- onChange: (e) => l("dayOfWeek", Te(e)),
438
+ mode: l.Weekday,
439
+ value: Te(n.dayOfWeek),
440
+ onChange: (e) => u("dayOfWeek", Ee(e)),
441
441
  labelProps: {
442
- label: e.dayOfWeekLabel,
442
+ label: t.dayOfWeekLabel,
443
443
  required: !0
444
444
  },
445
- invalid: !!i.dayOfWeek
446
- }), i.dayOfWeek && /* @__PURE__ */ H("p", {
447
- className: r(D, X.instructionsError),
448
- children: i.dayOfWeek
445
+ invalid: !!a.dayOfWeek
446
+ }), a.dayOfWeek && /* @__PURE__ */ U("p", {
447
+ className: i(O, X.instructionsError),
448
+ children: a.dayOfWeek
449
449
  })]
450
450
  }),
451
- t.repeat === J.Monthly && /* @__PURE__ */ H(y, {
451
+ n.repeat === J.Monthly && /* @__PURE__ */ U(b, {
452
452
  id: "scheduled-task-day-of-month",
453
- value: t.dayOfMonth ?? "",
454
- onChange: (e) => l("dayOfMonth", e ?? ""),
453
+ value: n.dayOfMonth ?? "",
454
+ onChange: (e) => u("dayOfMonth", e ?? ""),
455
455
  labelProps: {
456
- label: e.dayOfMonthLabel,
456
+ label: t.dayOfMonthLabel,
457
457
  required: !0
458
458
  },
459
- invalid: !!i.dayOfMonth,
460
- error: i.dayOfMonth
459
+ invalid: !!a.dayOfMonth,
460
+ error: a.dayOfMonth
461
461
  }),
462
- t.repeat === J.Hourly && /* @__PURE__ */ H(S, {
462
+ n.repeat === J.Hourly && /* @__PURE__ */ U(C, {
463
463
  id: "scheduled-task-minute",
464
464
  integer: !0,
465
465
  min: 0,
466
466
  max: 59,
467
- value: t.minute ?? "",
468
- onChange: (e) => l("minute", e == null ? "" : String(e)),
467
+ value: n.minute ?? "",
468
+ onChange: (e) => u("minute", e == null ? "" : String(e)),
469
469
  labelProps: {
470
- label: e.minuteLabel,
470
+ label: t.minuteLabel,
471
471
  required: !0
472
472
  },
473
- invalid: !!i.minute,
474
- error: i.minute
473
+ invalid: !!a.minute,
474
+ error: a.minute
475
475
  }),
476
- /* @__PURE__ */ U("div", {
476
+ /* @__PURE__ */ W("div", {
477
477
  className: "flex flex-col gap-3 desktop:flex-row",
478
- children: [/* @__PURE__ */ U("div", {
478
+ children: [/* @__PURE__ */ W("div", {
479
479
  className: "flex flex-1 flex-col gap-1",
480
- children: [/* @__PURE__ */ H(s, {
480
+ children: [/* @__PURE__ */ U(c, {
481
481
  id: "scheduled-task-start-date",
482
- mode: c.Date,
483
- value: Se(t.startDate),
484
- onChange: (e) => l("startDate", Ce(e)),
485
- labelProps: { label: e.startDateLabel },
486
- placeholder: e.startDatePlaceholder,
487
- invalid: !!i.startDate
488
- }), i.startDate && /* @__PURE__ */ H("p", {
489
- className: r(D, X.instructionsError),
490
- children: i.startDate
482
+ mode: l.Date,
483
+ value: Ce(n.startDate),
484
+ onChange: (e) => u("startDate", we(e)),
485
+ labelProps: { label: t.startDateLabel },
486
+ placeholder: t.startDatePlaceholder,
487
+ invalid: !!a.startDate
488
+ }), a.startDate && /* @__PURE__ */ U("p", {
489
+ className: i(O, X.instructionsError),
490
+ children: a.startDate
491
491
  })]
492
- }), /* @__PURE__ */ U("div", {
492
+ }), /* @__PURE__ */ W("div", {
493
493
  className: "flex flex-1 flex-col gap-1",
494
- children: [/* @__PURE__ */ H(s, {
494
+ children: [/* @__PURE__ */ U(c, {
495
495
  id: "scheduled-task-end-date",
496
- mode: c.Date,
497
- value: Se(t.endDate),
498
- onChange: (e) => l("endDate", Ce(e)),
499
- labelProps: { label: e.endDateLabel },
500
- placeholder: e.endDatePlaceholder,
501
- invalid: !!i.endDate
502
- }), i.endDate && /* @__PURE__ */ H("p", {
503
- className: r(D, X.instructionsError),
504
- children: i.endDate
496
+ mode: l.Date,
497
+ value: Ce(n.endDate),
498
+ onChange: (e) => u("endDate", we(e)),
499
+ labelProps: { label: t.endDateLabel },
500
+ placeholder: t.endDatePlaceholder,
501
+ invalid: !!a.endDate
502
+ }), a.endDate && /* @__PURE__ */ U("p", {
503
+ className: i(O, X.instructionsError),
504
+ children: a.endDate
505
505
  })]
506
506
  })]
507
507
  })
@@ -510,40 +510,41 @@ var K = {
510
510
  })
511
511
  ]
512
512
  }),
513
- children: /* @__PURE__ */ U("div", {
513
+ children: /* @__PURE__ */ W("div", {
514
514
  role: "group",
515
- "aria-label": e.configurationSectionTitle,
515
+ "aria-label": t.configurationSectionTitle,
516
516
  className: "flex flex-1 flex-col gap-5 px-8 py-6",
517
- children: [/* @__PURE__ */ U("div", {
517
+ children: [/* @__PURE__ */ W("div", {
518
518
  className: "flex flex-col gap-1",
519
- children: [/* @__PURE__ */ H("h2", {
520
- className: C,
521
- children: e.configurationSectionTitle
522
- }), /* @__PURE__ */ H("p", {
523
- className: r(w, X.sectionSubtitle),
524
- children: e.configurationSectionSubtitle
519
+ children: [/* @__PURE__ */ U("h2", {
520
+ className: w,
521
+ children: t.configurationSectionTitle
522
+ }), /* @__PURE__ */ U("p", {
523
+ className: i(T, X.sectionSubtitle),
524
+ children: t.configurationSectionSubtitle
525
525
  })]
526
- }), /* @__PURE__ */ U("div", {
526
+ }), /* @__PURE__ */ W("div", {
527
527
  className: "flex flex-1 flex-col gap-1",
528
528
  children: [
529
- /* @__PURE__ */ H("label", {
530
- htmlFor: g,
531
- className: E,
532
- children: e.instructionsLabel
529
+ /* @__PURE__ */ U("label", {
530
+ htmlFor: _,
531
+ className: D,
532
+ children: t.instructionsLabel
533
533
  }),
534
- /* @__PURE__ */ H(F, {
535
- fallback: /* @__PURE__ */ H(O, {}),
536
- children: /* @__PURE__ */ H(Ee, {
537
- id: g,
538
- value: t.prompt,
539
- onChange: (e) => l("prompt", e),
534
+ /* @__PURE__ */ U(L, {
535
+ fallback: /* @__PURE__ */ U(k, {}),
536
+ children: /* @__PURE__ */ U(De, {
537
+ id: _,
538
+ value: n.prompt,
539
+ onChange: (e) => u("prompt", e),
540
540
  height: 480,
541
- theme: m
541
+ className: e,
542
+ theme: h
542
543
  })
543
544
  }),
544
- i.prompt && /* @__PURE__ */ H("p", {
545
- className: r(D, X.instructionsError),
546
- children: i.prompt
545
+ a.prompt && /* @__PURE__ */ U("p", {
546
+ className: i(O, X.instructionsError),
547
+ children: a.prompt
547
548
  })
548
549
  ]
549
550
  })]
@@ -558,34 +559,34 @@ var K = {
558
559
  missedIcon: "_missedIcon_1bug5_13",
559
560
  currentRun: "_currentRun_1bug5_17",
560
561
  unreadDot: "_unreadDot_1bug5_21"
561
- }, Oe = ({ status: e }) => {
562
+ }, ke = ({ status: e }) => {
562
563
  switch (e) {
563
- case Z.Success: return /* @__PURE__ */ H(ie, {
564
- size: u.SM,
564
+ case Z.Success: return /* @__PURE__ */ U(ae, {
565
+ size: d.SM,
565
566
  className: Q.successIcon,
566
567
  "aria-hidden": !0,
567
- stroke: d
568
+ stroke: f
568
569
  });
569
- case Z.Error: return /* @__PURE__ */ H(ae, {
570
- size: u.SM,
570
+ case Z.Error: return /* @__PURE__ */ U(N, {
571
+ size: d.SM,
571
572
  className: Q.errorIcon,
572
573
  "aria-hidden": !0,
573
- stroke: d
574
+ stroke: f
574
575
  });
575
- case Z.InProgress: return /* @__PURE__ */ H("span", {
576
+ case Z.InProgress: return /* @__PURE__ */ U("span", {
576
577
  "aria-hidden": !0,
577
- children: /* @__PURE__ */ H(O, { size: u.SM })
578
+ children: /* @__PURE__ */ U(k, { size: d.SM })
578
579
  });
579
- case Z.Missed: return /* @__PURE__ */ H(A, {
580
- size: u.SM,
580
+ case Z.Missed: return /* @__PURE__ */ U(j, {
581
+ size: d.SM,
581
582
  className: Q.missedIcon,
582
583
  "aria-hidden": !0,
583
- stroke: d
584
+ stroke: f
584
585
  });
585
586
  default: return null;
586
587
  }
587
- }, ke = ({ 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 }) => {
588
- let { colors: m, typography: h } = p ?? {}, _ = h?.runTimestampClassName ?? "dial-small-text", v = h?.subtitleClassName ?? "dial-body-text", y = u.unreadIndicatorLabel ?? "Unread", b = n({
588
+ }, Ae = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: a = 6, error: o, onRetry: s, currentRunId: c, onRunClick: l, labels: u, footer: d, styles: p }) => {
589
+ let { colors: m, typography: h } = p ?? {}, g = h?.runTimestampClassName ?? "dial-small-text", v = h?.subtitleClassName ?? "dial-body-text", y = u.unreadIndicatorLabel ?? "Unread", b = r({
589
590
  "--strhl-success-icon": m?.successIconColor,
590
591
  "--strhl-error-icon": m?.errorIconColor,
591
592
  "--strhl-missed-icon": m?.missedIconColor,
@@ -593,8 +594,8 @@ var K = {
593
594
  "--strhl-current-run-bg": m?.currentRunBackground,
594
595
  "--strhl-unread-dot": m?.unreadDotColor
595
596
  }), x = (e) => {
596
- 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;
597
- return /* @__PURE__ */ U("li", {
597
+ let t = u.runStatusLabels[e.status], n = e.id === c, r = [e.isUnread ? y : void 0, n ? u.currentRunLabel : void 0].filter((e) => !!e), a = [`${t} ${e.timestampLabel}`, ...r].join(" — "), o = !!e.conversationId && !!l;
598
+ return /* @__PURE__ */ W("li", {
598
599
  ...o ? {
599
600
  role: "button",
600
601
  tabIndex: 0,
@@ -605,85 +606,85 @@ var K = {
605
606
  } : {},
606
607
  "aria-label": a,
607
608
  "aria-current": n ? "true" : void 0,
608
- className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", n && Q.currentRun, o && "cursor-pointer"),
609
- children: [/* @__PURE__ */ U("span", {
609
+ className: i("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", n && Q.currentRun, o && "cursor-pointer"),
610
+ children: [/* @__PURE__ */ W("span", {
610
611
  className: "flex items-center gap-2 truncate",
611
- children: [/* @__PURE__ */ H("span", {
612
+ children: [/* @__PURE__ */ U("span", {
612
613
  className: "relative flex size-3 shrink-0 items-center justify-center",
613
- children: e.isUnread && /* @__PURE__ */ H("span", {
614
- className: r("size-[5.33px] rounded-full", Q.unreadDot),
614
+ children: e.isUnread && /* @__PURE__ */ U("span", {
615
+ className: i("size-[5.33px] rounded-full", Q.unreadDot),
615
616
  "aria-hidden": !0
616
617
  })
617
- }), /* @__PURE__ */ H("span", {
618
- className: r(_, "truncate"),
618
+ }), /* @__PURE__ */ U("span", {
619
+ className: i(g, "truncate"),
619
620
  children: e.timestampLabel
620
621
  })]
621
- }), /* @__PURE__ */ H("span", {
622
+ }), /* @__PURE__ */ U("span", {
622
623
  className: "flex h-8 w-14 shrink-0 items-center justify-end",
623
- children: /* @__PURE__ */ H(Oe, { status: e.status })
624
+ children: /* @__PURE__ */ U(ke, { status: e.status })
624
625
  })]
625
626
  }, e.id);
626
- }, S = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ U("li", {
627
+ }, S = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ W("li", {
627
628
  "aria-hidden": "true",
628
629
  className: "flex h-8 items-center justify-between gap-2 pe-2 ps-5",
629
- children: [/* @__PURE__ */ H(E, {
630
- variant: D.Rectangular,
630
+ children: [/* @__PURE__ */ U(D, {
631
+ variant: O.Rectangular,
631
632
  width: "160px",
632
633
  height: "16px"
633
- }), /* @__PURE__ */ H(E, {
634
- variant: D.Rectangular,
634
+ }), /* @__PURE__ */ U(D, {
635
+ variant: O.Rectangular,
635
636
  width: "16px",
636
637
  height: "16px",
637
638
  className: "shrink-0 rounded-full"
638
639
  })]
639
640
  }, `history-skeleton-${t}`));
640
- return t && e.length === 0 ? /* @__PURE__ */ H("ul", {
641
+ return t && e.length === 0 ? /* @__PURE__ */ U("ul", {
641
642
  style: b,
642
643
  "aria-label": u.historyTitle,
643
644
  className: "flex flex-col gap-0.5",
644
645
  children: S(a)
645
- }) : o && e.length === 0 ? /* @__PURE__ */ U("div", {
646
+ }) : o && e.length === 0 ? /* @__PURE__ */ W("div", {
646
647
  style: b,
647
648
  className: "flex flex-col items-start gap-3",
648
- children: [/* @__PURE__ */ H("p", {
649
+ children: [/* @__PURE__ */ U("p", {
649
650
  role: "alert",
650
- className: r(v, Q.subtitleText),
651
+ className: i(v, Q.subtitleText),
651
652
  children: u.errorLabel
652
- }), /* @__PURE__ */ H(g, {
653
+ }), /* @__PURE__ */ U(_, {
653
654
  label: u.retryLabel,
654
655
  onClick: s
655
656
  })]
656
- }) : e.length === 0 ? /* @__PURE__ */ U("div", {
657
+ }) : e.length === 0 ? /* @__PURE__ */ W("div", {
657
658
  style: b,
658
659
  className: "flex w-full flex-col items-center justify-center gap-2 py-4",
659
- children: [/* @__PURE__ */ H(N, {
660
+ children: [/* @__PURE__ */ U(P, {
660
661
  size: 44,
661
- stroke: d,
662
+ stroke: f,
662
663
  className: Q.subtitleText,
663
664
  "aria-hidden": !0
664
- }), /* @__PURE__ */ H("p", {
665
+ }), /* @__PURE__ */ U("p", {
665
666
  role: "status",
666
- className: _,
667
+ className: g,
667
668
  children: u.emptyLabel
668
669
  })]
669
- }) : /* @__PURE__ */ U("ul", {
670
+ }) : /* @__PURE__ */ W("ul", {
670
671
  style: b,
671
672
  "aria-label": u.historyTitle,
672
673
  className: "flex flex-col gap-0.5",
673
674
  children: [
674
675
  e.map(x),
675
- i && S(a),
676
- o ? /* @__PURE__ */ U("li", {
676
+ n && S(a),
677
+ o ? /* @__PURE__ */ W("li", {
677
678
  className: "flex flex-col items-start gap-3 px-5 py-2",
678
- children: [/* @__PURE__ */ H("p", {
679
+ children: [/* @__PURE__ */ U("p", {
679
680
  role: "alert",
680
- className: r(v, Q.subtitleText),
681
+ className: i(v, Q.subtitleText),
681
682
  children: u.errorLabel
682
- }), /* @__PURE__ */ H(g, {
683
+ }), /* @__PURE__ */ U(_, {
683
684
  label: u.retryLabel,
684
685
  onClick: s
685
686
  })]
686
- }) : f
687
+ }) : d
687
688
  ]
688
689
  });
689
690
  }, $ = {
@@ -695,80 +696,80 @@ var K = {
695
696
  errorIcon: "_errorIcon_1ci42_21",
696
697
  missedIcon: "_missedIcon_1ci42_25",
697
698
  historyCard: "_historyCard_1ci42_29"
698
- }, Ae = ({ labels: t, onBack: i, onEdit: a, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isActive: f, isActiveUpdating: p = !1, isActiveDisabled: m = !1, onActiveChange: h, displayName: v, isLoading: y = !1, error: b, onRetry: S, description: C, modelLabel: w, repeatsLabel: T, activeWindowLabel: E, nextRunLabel: D, instructionsMarkdown: k, renderInstructions: A, runs: te, runsIsLoading: ne = !1, runsIsLoadingMore: M = !1, runsSkeletonCount: re = 6, runsError: ie, onRunsRetry: ae, runsHasMore: N = !1, onRunsLoadMore: P, onRunClick: se, styles: F }) => {
699
- let { colors: I, typography: L } = F ?? {}, R = L?.titleClassName ?? "dial-h2-text", z = L?.sectionTitleClassName ?? "dial-body-semi-text", B = L?.fieldLabelClassName ?? "dial-tiny-text", V = L?.fieldValueClassName ?? "dial-small-text", W = L?.runTimestampClassName ?? "dial-small-text", G = n({
700
- "--stdv-bg": I?.background,
701
- "--stdv-header-border": I?.headerBorder,
702
- "--stdv-details-border": I?.detailsColumnBorder,
703
- "--stdv-subtitle-text": I?.subtitleText,
704
- "--stdv-success-icon": I?.successIconColor,
705
- "--stdv-error-icon": I?.errorIconColor,
706
- "--stdv-missed-icon": I?.missedIconColor,
707
- "--stdv-history-bg": I?.historyCardBackground
708
- }), K = P && N && t.historyShowMoreLabel ? /* @__PURE__ */ H("li", {
709
- className: r("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", $.historyCard),
710
- children: /* @__PURE__ */ H(g, {
711
- label: t.historyShowMoreLabel,
699
+ }, je = ({ labels: e, onBack: n, onEdit: a, onDelete: o, isDeleting: c = !1, isDeleted: l = !1, isActive: u, isActiveUpdating: p = !1, isActiveDisabled: m = !1, onActiveChange: h, displayName: g, isLoading: y = !1, error: b, onRetry: x, description: C, modelLabel: w, repeatsLabel: T, activeWindowLabel: E, nextRunLabel: D, instructionsMarkdown: O, renderInstructions: A, runs: j, runsIsLoading: ne = !1, runsIsLoadingMore: M = !1, runsSkeletonCount: re = 6, runsError: ie, onRunsRetry: ae, runsHasMore: N = !1, onRunsLoadMore: P, onRunClick: F, styles: se }) => {
700
+ let { colors: L, typography: R } = se ?? {}, ce = R?.titleClassName ?? "dial-h2-text", z = R?.sectionTitleClassName ?? "dial-body-semi-text", B = R?.fieldLabelClassName ?? "dial-tiny-text", V = R?.fieldValueClassName ?? "dial-small-text", H = R?.runTimestampClassName ?? "dial-small-text", G = r({
701
+ "--stdv-bg": L?.background,
702
+ "--stdv-header-border": L?.headerBorder,
703
+ "--stdv-details-border": L?.detailsColumnBorder,
704
+ "--stdv-subtitle-text": L?.subtitleText,
705
+ "--stdv-success-icon": L?.successIconColor,
706
+ "--stdv-error-icon": L?.errorIconColor,
707
+ "--stdv-missed-icon": L?.missedIconColor,
708
+ "--stdv-history-bg": L?.historyCardBackground
709
+ }), le = P && N && e.historyShowMoreLabel ? /* @__PURE__ */ U("li", {
710
+ className: i("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", $.historyCard),
711
+ children: /* @__PURE__ */ U(_, {
712
+ label: e.historyShowMoreLabel,
712
713
  onClick: P,
713
714
  disabled: M
714
715
  })
715
716
  }) : void 0;
716
- return /* @__PURE__ */ U("div", {
717
+ return /* @__PURE__ */ W("div", {
717
718
  style: G,
718
- className: r("flex h-full w-full flex-col overflow-y-auto", $.container),
719
+ className: i("flex h-full w-full flex-col overflow-y-auto", $.container),
719
720
  children: [
720
- /* @__PURE__ */ U("div", {
721
- className: r("flex h-16 shrink-0 items-center justify-between gap-2 border-b px-8", $.header),
722
- children: [/* @__PURE__ */ U("div", {
721
+ /* @__PURE__ */ W("div", {
722
+ className: i("flex h-16 shrink-0 items-center justify-between gap-2 border-b px-8", $.header),
723
+ children: [/* @__PURE__ */ W("div", {
723
724
  className: "flex min-w-0 items-center gap-2",
724
725
  children: [
725
- /* @__PURE__ */ H(_, {
726
- icon: /* @__PURE__ */ H(j, {
727
- size: u.LG,
726
+ /* @__PURE__ */ U(v, {
727
+ icon: /* @__PURE__ */ U(te, {
728
+ size: d.LG,
728
729
  className: "rtl:scale-x-[-1]",
729
730
  "aria-hidden": !0,
730
- stroke: d
731
+ stroke: f
731
732
  }),
732
- "aria-label": t.backAriaLabel,
733
- onClick: i
733
+ "aria-label": e.backAriaLabel,
734
+ onClick: n
734
735
  }),
735
- /* @__PURE__ */ H("h1", {
736
- className: r("truncate", R),
737
- children: v
736
+ /* @__PURE__ */ U("h1", {
737
+ className: i("truncate", ce),
738
+ children: g
738
739
  }),
739
- l && /* @__PURE__ */ H("span", {
740
- className: r("shrink-0", V, $.subtitleText),
741
- children: t.deletedStateLabel
740
+ l && /* @__PURE__ */ U("span", {
741
+ className: i("shrink-0", V, $.subtitleText),
742
+ children: e.deletedStateLabel
742
743
  })
743
744
  ]
744
- }), /* @__PURE__ */ U("div", {
745
+ }), /* @__PURE__ */ W("div", {
745
746
  className: "flex shrink-0 items-center gap-2",
746
747
  children: [
747
- !l && f !== void 0 && /* @__PURE__ */ H(ee, {
748
+ !l && u !== void 0 && /* @__PURE__ */ U(ee, {
748
749
  id: "scheduled-task-active-switch",
749
- labelProps: { label: t.activeStatusLabel },
750
- isOn: f,
750
+ labelProps: { label: e.activeStatusLabel },
751
+ isOn: u,
751
752
  disabled: p || m || c,
752
753
  onChange: (e) => h?.(e)
753
754
  }),
754
- !l && s && /* @__PURE__ */ H(g, {
755
- variant: o.Danger,
756
- label: t.deleteButtonLabel,
757
- iconBefore: /* @__PURE__ */ H(ce, {
758
- size: u.SM,
755
+ !l && o && /* @__PURE__ */ U(_, {
756
+ variant: s.Danger,
757
+ label: e.deleteButtonLabel,
758
+ iconBefore: /* @__PURE__ */ U(I, {
759
+ size: d.SM,
759
760
  "aria-hidden": !0,
760
- stroke: d
761
+ stroke: f
761
762
  }),
762
- onClick: s,
763
+ onClick: o,
763
764
  disabled: c,
764
765
  className: "shrink-0"
765
766
  }),
766
- !l && a && /* @__PURE__ */ H(x, {
767
- label: t.editButtonLabel,
768
- iconBefore: /* @__PURE__ */ H(oe, {
769
- size: u.SM,
767
+ !l && a && /* @__PURE__ */ U(S, {
768
+ label: e.editButtonLabel,
769
+ iconBefore: /* @__PURE__ */ U(oe, {
770
+ size: d.SM,
770
771
  "aria-hidden": !0,
771
- stroke: d
772
+ stroke: f
772
773
  }),
773
774
  onClick: a,
774
775
  disabled: c,
@@ -777,143 +778,143 @@ var K = {
777
778
  ]
778
779
  })]
779
780
  }),
780
- t.activeStatusAnnouncement != null && /* @__PURE__ */ H("span", {
781
+ e.activeStatusAnnouncement != null && /* @__PURE__ */ U("span", {
781
782
  role: "status",
782
783
  "aria-live": "polite",
783
784
  className: "sr-only",
784
- children: t.activeStatusAnnouncement
785
+ children: e.activeStatusAnnouncement
785
786
  }),
786
- y && /* @__PURE__ */ H("div", {
787
+ y && /* @__PURE__ */ U("div", {
787
788
  className: "flex flex-1 items-center justify-center",
788
- children: /* @__PURE__ */ H(O, {})
789
+ children: /* @__PURE__ */ U(k, {})
789
790
  }),
790
- !y && b && /* @__PURE__ */ U("div", {
791
+ !y && b && /* @__PURE__ */ W("div", {
791
792
  className: "flex flex-1 flex-col items-center justify-center gap-3",
792
- children: [/* @__PURE__ */ H("p", {
793
- className: r(V, $.subtitleText),
794
- children: t.errorLabel
795
- }), /* @__PURE__ */ H(g, {
796
- label: t.retryLabel,
797
- onClick: S
793
+ children: [/* @__PURE__ */ U("p", {
794
+ className: i(V, $.subtitleText),
795
+ children: e.errorLabel
796
+ }), /* @__PURE__ */ U(_, {
797
+ label: e.retryLabel,
798
+ onClick: x
798
799
  })]
799
800
  }),
800
- !y && !b && /* @__PURE__ */ U("div", {
801
+ !y && !b && /* @__PURE__ */ W("div", {
801
802
  className: "flex flex-1 flex-col desktop:flex-row",
802
803
  children: [
803
- /* @__PURE__ */ U("div", {
804
+ /* @__PURE__ */ W("div", {
804
805
  role: "group",
805
- "aria-label": t.detailsTitle,
806
- className: r("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0", $.detailsColumn),
806
+ "aria-label": e.detailsTitle,
807
+ className: i("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0", $.detailsColumn),
807
808
  children: [
808
- /* @__PURE__ */ H("h2", {
809
+ /* @__PURE__ */ U("h2", {
809
810
  className: z,
810
- children: t.detailsTitle
811
+ children: e.detailsTitle
811
812
  }),
812
- C && /* @__PURE__ */ U("div", {
813
+ C && /* @__PURE__ */ W("div", {
813
814
  className: "flex flex-col gap-1",
814
- children: [/* @__PURE__ */ H("span", {
815
- className: r(B, $.subtitleText),
816
- children: t.descriptionLabel
817
- }), /* @__PURE__ */ H("p", {
815
+ children: [/* @__PURE__ */ U("span", {
816
+ className: i(B, $.subtitleText),
817
+ children: e.descriptionLabel
818
+ }), /* @__PURE__ */ U("p", {
818
819
  className: V,
819
820
  children: C
820
821
  })]
821
822
  }),
822
- w && /* @__PURE__ */ U("div", {
823
+ w && /* @__PURE__ */ W("div", {
823
824
  className: "flex flex-col gap-1",
824
- children: [/* @__PURE__ */ H("span", {
825
- className: r(B, $.subtitleText),
826
- children: t.modelLabel
827
- }), /* @__PURE__ */ H("p", {
825
+ children: [/* @__PURE__ */ U("span", {
826
+ className: i(B, $.subtitleText),
827
+ children: e.modelLabel
828
+ }), /* @__PURE__ */ U("p", {
828
829
  className: V,
829
830
  children: w
830
831
  })]
831
832
  }),
832
- T && /* @__PURE__ */ U("div", {
833
+ T && /* @__PURE__ */ W("div", {
833
834
  className: "flex flex-col gap-1",
834
- children: [/* @__PURE__ */ H("span", {
835
- className: r(B, $.subtitleText),
836
- children: t.repeatsLabel
837
- }), /* @__PURE__ */ H("p", {
835
+ children: [/* @__PURE__ */ U("span", {
836
+ className: i(B, $.subtitleText),
837
+ children: e.repeatsLabel
838
+ }), /* @__PURE__ */ U("p", {
838
839
  className: V,
839
840
  children: T
840
841
  })]
841
842
  }),
842
- E && /* @__PURE__ */ U("div", {
843
+ E && /* @__PURE__ */ W("div", {
843
844
  className: "flex flex-col gap-1",
844
- children: [/* @__PURE__ */ H("span", {
845
- className: r(B, $.subtitleText),
846
- children: t.activeWindowLabel
847
- }), /* @__PURE__ */ H("p", {
845
+ children: [/* @__PURE__ */ U("span", {
846
+ className: i(B, $.subtitleText),
847
+ children: e.activeWindowLabel
848
+ }), /* @__PURE__ */ U("p", {
848
849
  className: V,
849
850
  children: E
850
851
  })]
851
852
  })
852
853
  ]
853
854
  }),
854
- /* @__PURE__ */ U("div", {
855
+ /* @__PURE__ */ W("div", {
855
856
  className: "flex w-full min-w-0 flex-1 flex-col gap-5 px-8 py-6",
856
- children: [/* @__PURE__ */ H("h2", {
857
+ children: [/* @__PURE__ */ U("h2", {
857
858
  className: z,
858
- children: t.configurationTitle
859
- }), /* @__PURE__ */ U("div", {
859
+ children: e.configurationTitle
860
+ }), /* @__PURE__ */ W("div", {
860
861
  role: "group",
861
- "aria-label": t.instructionsLabel,
862
+ "aria-label": e.instructionsLabel,
862
863
  className: "flex flex-col gap-1",
863
- children: [/* @__PURE__ */ H("span", {
864
- className: r(B, $.subtitleText),
865
- children: t.instructionsLabel
866
- }), k && ((t) => A ? A(t) : /* @__PURE__ */ H(e, { content: t }))(k)]
864
+ children: [/* @__PURE__ */ U("span", {
865
+ className: i(B, $.subtitleText),
866
+ children: e.instructionsLabel
867
+ }), O && ((e) => A ? A(e) : /* @__PURE__ */ U(t, { content: e }))(O)]
867
868
  })]
868
869
  }),
869
- /* @__PURE__ */ H("div", {
870
+ /* @__PURE__ */ U("div", {
870
871
  className: "flex w-full justify-center p-6 desktop:w-auto desktop:items-start",
871
- children: /* @__PURE__ */ U("div", {
872
- className: r("flex max-h-[70vh] w-full flex-col overflow-y-auto rounded-xl shadow-md desktop:w-[360px]", $.historyCard),
873
- children: [/* @__PURE__ */ U("div", {
874
- className: r("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pb-2 pt-5", $.historyCard),
872
+ children: /* @__PURE__ */ W("div", {
873
+ className: i("flex max-h-[70vh] w-full flex-col overflow-y-auto rounded-xl shadow-md desktop:w-[360px]", $.historyCard),
874
+ children: [/* @__PURE__ */ W("div", {
875
+ className: i("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pb-2 pt-5", $.historyCard),
875
876
  children: [
876
- /* @__PURE__ */ H("h2", {
877
+ /* @__PURE__ */ U("h2", {
877
878
  className: z,
878
- children: t.historyTitle
879
+ children: e.historyTitle
879
880
  }),
880
- D && /* @__PURE__ */ H("p", {
881
- className: r(W, $.subtitleText),
881
+ D && /* @__PURE__ */ U("p", {
882
+ className: i(H, $.subtitleText),
882
883
  children: D
883
884
  }),
884
- t.historyLoadingMoreLabel && /* @__PURE__ */ H("span", {
885
+ e.historyLoadingMoreLabel && /* @__PURE__ */ U("span", {
885
886
  role: "status",
886
887
  "aria-live": "polite",
887
888
  className: "sr-only",
888
- children: M ? t.historyLoadingMoreLabel : ""
889
+ children: M ? e.historyLoadingMoreLabel : ""
889
890
  })
890
891
  ]
891
- }), /* @__PURE__ */ H("div", {
892
+ }), /* @__PURE__ */ U("div", {
892
893
  className: "flex flex-1 flex-col gap-4 px-6 pb-2",
893
- children: /* @__PURE__ */ H(ke, {
894
- items: te,
894
+ children: /* @__PURE__ */ U(Ae, {
895
+ items: j,
895
896
  isLoading: ne,
896
897
  isLoadingMore: M,
897
898
  skeletonCount: re,
898
899
  error: ie,
899
900
  onRetry: ae,
900
- onRunClick: se,
901
+ onRunClick: F,
901
902
  labels: {
902
- historyTitle: t.historyTitle,
903
- emptyLabel: t.historyEmptyLabel,
904
- errorLabel: t.historyErrorLabel,
905
- retryLabel: t.historyRetryLabel,
906
- runStatusLabels: t.runStatusLabels,
907
- unreadIndicatorLabel: t.unreadIndicatorLabel
903
+ historyTitle: e.historyTitle,
904
+ emptyLabel: e.historyEmptyLabel,
905
+ errorLabel: e.historyErrorLabel,
906
+ retryLabel: e.historyRetryLabel,
907
+ runStatusLabels: e.runStatusLabels,
908
+ unreadIndicatorLabel: e.unreadIndicatorLabel
908
909
  },
909
- footer: K,
910
+ footer: le,
910
911
  styles: {
911
- typography: { runTimestampClassName: W },
912
+ typography: { runTimestampClassName: H },
912
913
  colors: {
913
- successIconColor: I?.successIconColor,
914
- errorIconColor: I?.errorIconColor,
915
- missedIconColor: I?.missedIconColor,
916
- unreadDotColor: I?.unreadDotColor
914
+ successIconColor: L?.successIconColor,
915
+ errorIconColor: L?.errorIconColor,
916
+ missedIconColor: L?.missedIconColor,
917
+ unreadDotColor: L?.unreadDotColor
917
918
  }
918
919
  }
919
920
  })
@@ -924,27 +925,27 @@ var K = {
924
925
  })
925
926
  ]
926
927
  });
927
- }, je = ({ modelLabel: t, instructionsLabel: n, modelDisplayName: r, instructionsMarkdown: i, renderInstructions: a, styles: o }) => {
928
+ }, Me = ({ modelLabel: e, instructionsLabel: n, modelDisplayName: r, instructionsMarkdown: i, renderInstructions: a, styles: o }) => {
928
929
  let s = o?.typography?.fieldLabelClassName ?? "dial-tiny-text", c = o?.typography?.fieldValueClassName ?? "dial-body-text";
929
- return /* @__PURE__ */ U("div", {
930
+ return /* @__PURE__ */ W("div", {
930
931
  className: "flex flex-col gap-3",
931
- children: [r && /* @__PURE__ */ U("div", {
932
+ children: [r && /* @__PURE__ */ W("div", {
932
933
  className: "flex flex-col gap-2",
933
- children: [/* @__PURE__ */ H("span", {
934
+ children: [/* @__PURE__ */ U("span", {
934
935
  className: s,
935
- children: t
936
- }), /* @__PURE__ */ H("p", {
936
+ children: e
937
+ }), /* @__PURE__ */ U("p", {
937
938
  className: c,
938
939
  children: r
939
940
  })]
940
- }), i && /* @__PURE__ */ U("div", {
941
+ }), i && /* @__PURE__ */ W("div", {
941
942
  className: "flex flex-col gap-2",
942
- children: [/* @__PURE__ */ H("span", {
943
+ children: [/* @__PURE__ */ U("span", {
943
944
  className: s,
944
945
  children: n
945
- }), ((t) => a ? a(t) : /* @__PURE__ */ H(e, { content: t }))(i)]
946
+ }), ((e) => a ? a(e) : /* @__PURE__ */ U(t, { content: e }))(i)]
946
947
  })]
947
948
  });
948
949
  };
949
950
  //#endregion
950
- export { ye as DESCRIPTION_MAX_LENGTH, le as ScheduledTaskCard, me as ScheduledTaskCardGrid, pe as ScheduledTaskCardSkeleton, De as ScheduledTaskCreateForm, Ae as ScheduledTaskDetailView, je as ScheduledTaskDetailsSummary, J as ScheduledTaskRepeat, ke as ScheduledTaskRunHistoryList, Z as ScheduledTaskRunStatus, _e as ScheduledTasks, ve as ScheduledTasksSortKey };
951
+ export { be as DESCRIPTION_MAX_LENGTH, ue as ScheduledTaskCard, he as ScheduledTaskCardGrid, me as ScheduledTaskCardSkeleton, Oe as ScheduledTaskCreateForm, je as ScheduledTaskDetailView, Me as ScheduledTaskDetailsSummary, J as ScheduledTaskRepeat, Ae as ScheduledTaskRunHistoryList, Z as ScheduledTaskRunStatus, ve as ScheduledTasks, ye as ScheduledTasksSortKey };