@epam/ai-dial-scheduled-tasks 1.2.0-dev.61 → 1.2.0-dev.72

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