@epam/ai-dial-scheduled-tasks 1.2.0-dev.6 → 1.2.0-dev.69

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