@epam/ai-dial-scheduled-tasks 1.3.0-dev.10 → 1.3.0-dev.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts +4 -2
  2. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -1
  3. package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts +71 -0
  4. package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts.map +1 -0
  5. package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts +63 -0
  6. package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts.map +1 -0
  7. package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
  8. package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
  9. package/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.d.ts.map +1 -1
  10. package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts.map +1 -1
  11. package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
  12. package/components/SectionAccordionTitle/SectionAccordionTitle.d.ts +15 -0
  13. package/components/SectionAccordionTitle/SectionAccordionTitle.d.ts.map +1 -0
  14. package/index.css +3 -2
  15. package/index.d.ts +5 -0
  16. package/index.d.ts.map +1 -1
  17. package/index.js +757 -624
  18. package/models/scheduled-task-detail-view-props.d.ts +1 -1
  19. package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
  20. package/models/scheduled-task-details-summary-props.d.ts +5 -2
  21. package/models/scheduled-task-details-summary-props.d.ts.map +1 -1
  22. package/models/scheduled-task-history-section-props.d.ts +4 -2
  23. package/models/scheduled-task-history-section-props.d.ts.map +1 -1
  24. package/models/scheduled-task-run-history-list-props.d.ts +5 -3
  25. package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
  26. package/models/scheduled-task-run-item.d.ts +5 -1
  27. package/models/scheduled-task-run-item.d.ts.map +1 -1
  28. package/package.json +4 -4
package/index.js CHANGED
@@ -1,186 +1,187 @@
1
1
  import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./calendar-value-B41Uk26Z.js";
2
- import { ConfirmationDialog as l, ConfirmationIdentityRow as u, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as d, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as f, MDMessageViewer as p, PanelEmptyState as m, ResourceSummary as h, TextRefinementField as g, buildCssVars as _, mergeClasses as v, useAvailableHeightCap as y, useIsMobile as b, useTextRefinement as x, useUnsavedChangesGuard as S } from "@epam/ai-dial-chat-shared";
3
- import { ButtonAppearance as ee, ButtonDropdown as te, ButtonVariant as ne, Calendar as C, CalendarMode as w, CardShell as T, ConfirmationPopupVariant as E, DIAL_ICON_SIZE as D, DIAL_KIT_ICON_STROKE as O, ElementSize as re, FolderPath as ie, GhostButton as k, GhostIconButton as ae, Highlight as oe, Input as se, Label as ce, MenuItemMark as le, NeutralButton as ue, NumberInput as de, PrimaryButton as fe, Search as A, Select as pe, Skeleton as j, SkeletonVariant as M, Spinner as me, Switch as he, Tabs as ge, Textarea as _e } from "@epam/ai-dial-ui-kit";
4
- import { IconAlertTriangle as ve, IconArrowNarrowLeft as ye, IconArrowsSort as N, IconCheck as be, IconCircleCheck as xe, IconCircleX as P, IconClipboardX as Se, IconClockHour3 as F, IconPencilMinus as Ce, IconPlayerPause as I, IconPlayerPlay as L, IconPlus as R, IconTrashX as we } from "@tabler/icons-react";
5
- import { Suspense as Te, lazy as Ee, useCallback as z, useEffect as De, useId as Oe, useLayoutEffect as ke, useMemo as Ae, useRef as B, useState as je } from "react";
6
- import { Fragment as Me, jsx as V, jsxs as H } from "react/jsx-runtime";
7
- import { BuilderFormContainer as Ne } from "@epam/ai-dial-builder-form";
8
- import { LazyMarkdownEditor as U } from "@epam/ai-dial-ui-kit/editors";
2
+ import { ConfirmationDialog as l, ConfirmationIdentityRow as u, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as d, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as f, MDMessageViewer as p, PanelEmptyState as m, ResourceSummary as h, TextRefinementField as g, buildCssVars as _, mergeClasses as v, useAvailableHeightCap as y, useIsMobile as b, useTextRefinement as x, useUnsavedChangesGuard as ee } from "@epam/ai-dial-chat-shared";
3
+ import { Accordion as S, ButtonAppearance as C, ButtonDropdown as te, ButtonVariant as w, Calendar as T, CalendarMode as E, CardShell as D, ConfirmationPopupVariant as ne, DIAL_ICON_SIZE as O, DIAL_KIT_ICON_STROKE as k, ElementSize as re, FolderPath as ie, GhostButton as A, GhostIconButton as ae, Highlight as oe, Input as se, Label as ce, MenuItemMark as le, NeutralButton as ue, NumberInput as de, PrimaryButton as j, Search as fe, Select as pe, Skeleton as M, SkeletonVariant as N, Spinner as me, Switch as he, Tabs as ge, Textarea as _e, Tooltip as P } from "@epam/ai-dial-ui-kit";
4
+ import { IconAlertTriangle as ve, IconArrowNarrowLeft as ye, IconArrowsSort as be, IconCheck as F, IconCircleX as xe, IconClipboardX as I, IconClockHour3 as L, IconPencilMinus as Se, IconPlayerPause as R, IconPlayerPlay as z, IconPlus as Ce, IconTrashX as we } from "@tabler/icons-react";
5
+ import { Suspense as Te, lazy as B, useCallback as Ee, useEffect as De, useId as Oe, useLayoutEffect as ke, useMemo as V, useRef as H, useState as Ae } from "react";
6
+ import { Fragment as je, jsx as U, jsxs as W } from "react/jsx-runtime";
7
+ import { BuilderFormContainer as Me } from "@epam/ai-dial-builder-form";
8
+ import { LazyMarkdownEditor as G } from "@epam/ai-dial-ui-kit/editors";
9
9
  //#region src/constants/public-class-names.ts
10
- var W = {
10
+ var Ne = {
11
11
  card: "dial-scheduled-tasks-card",
12
12
  cardGrid: "dial-scheduled-tasks-card-grid",
13
13
  refineFeedback: "dial-scheduled-tasks-refine-feedback"
14
- }, G = /* @__PURE__ */ function(e) {
14
+ }, K = /* @__PURE__ */ function(e) {
15
15
  return e.Scheduled = "scheduled", e.Paused = "paused", e.Completed = "completed", e;
16
- }({}), K = /* @__PURE__ */ function(e) {
16
+ }({}), q = /* @__PURE__ */ function(e) {
17
17
  return e.Active = "active", e.Paused = "paused", e.Completed = "completed", e;
18
18
  }({}), Pe = (e) => {
19
19
  switch (e.presentationStatus) {
20
- case K.Active: return G.Scheduled;
21
- case K.Paused: return G.Paused;
22
- case K.Completed: return G.Completed;
20
+ case q.Active: return K.Scheduled;
21
+ case q.Paused: return K.Paused;
22
+ case q.Completed: return K.Completed;
23
23
  }
24
- return e.isCompleted ? G.Completed : e.isActive === !1 ? G.Paused : G.Scheduled;
25
- }, q = {
26
- schedulePill: "_schedulePill_146jw_1",
27
- scheduleLabel: "_scheduleLabel_146jw_6",
28
- pausedPill: "_pausedPill_146jw_10",
29
- pausedLabel: "_pausedLabel_146jw_15",
30
- completedPill: "_completedPill_146jw_19",
31
- completedLabel: "_completedLabel_146jw_24"
24
+ return e.isCompleted ? K.Completed : e.isActive === !1 ? K.Paused : K.Scheduled;
32
25
  }, J = {
33
- [G.Scheduled]: {
26
+ schedulePill: "_schedulePill_1cwco_1",
27
+ scheduleLabel: "_scheduleLabel_1cwco_6",
28
+ pausedPill: "_pausedPill_1cwco_10",
29
+ pausedLabel: "_pausedLabel_1cwco_15",
30
+ completedPill: "_completedPill_1cwco_19",
31
+ completedLabel: "_completedLabel_1cwco_24"
32
+ }, Fe = {
33
+ [K.Scheduled]: {
34
34
  pillClassName: "inline-block rounded-lg border px-2 py-1",
35
- wrapperClassName: q.schedulePill,
36
- labelClassName: q.scheduleLabel
35
+ wrapperClassName: J.schedulePill,
36
+ labelClassName: J.scheduleLabel
37
37
  },
38
- [G.Paused]: {
38
+ [K.Paused]: {
39
39
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
40
- wrapperClassName: q.pausedPill,
41
- labelClassName: q.pausedLabel,
42
- renderIcon: () => /* @__PURE__ */ V(I, {
43
- size: D.SM,
40
+ wrapperClassName: J.pausedPill,
41
+ labelClassName: J.pausedLabel,
42
+ renderIcon: () => /* @__PURE__ */ U(R, {
43
+ size: O.SM,
44
44
  "aria-hidden": !0,
45
- stroke: O
45
+ stroke: k
46
46
  })
47
47
  },
48
- [G.Completed]: {
48
+ [K.Completed]: {
49
49
  pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
50
- wrapperClassName: q.completedPill,
51
- labelClassName: q.completedLabel,
52
- renderIcon: () => /* @__PURE__ */ V(be, {
53
- size: D.SM,
50
+ wrapperClassName: J.completedPill,
51
+ labelClassName: J.completedLabel,
52
+ renderIcon: () => /* @__PURE__ */ U(F, {
53
+ size: O.SM,
54
54
  "aria-hidden": !0,
55
- stroke: O
55
+ stroke: k
56
56
  })
57
57
  }
58
- }, Fe = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
59
- let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = J[e];
60
- return /* @__PURE__ */ H("span", {
58
+ }, Ie = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
59
+ let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = Fe[e];
60
+ return /* @__PURE__ */ W("span", {
61
61
  className: v(i, n, a, o, r),
62
62
  children: [s && s(), t]
63
63
  });
64
64
  }, Y = {
65
- title: "_title_ogabr_1",
66
- description: "_description_ogabr_5",
67
- locationLabel: "_locationLabel_ogabr_9",
68
- locationLeaf: "_locationLeaf_ogabr_13",
69
- newBadge: "_newBadge_ogabr_17",
70
- locationDivider: "_locationDivider_ogabr_22"
71
- }, Ie = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
72
- let o = r?.newBadgeLabel ?? "NEW", s = r?.pausedBadgeLabel ?? "Paused", c = r?.completedBadgeLabel ?? "Completed", { colors: l, typography: u } = i ?? {}, d = u?.titleClassName ?? "dial-body-semi-text", f = u?.descriptionClassName ?? "dial-small-text", p = u?.descriptionSizeClassName ?? "dial-tiny-text", m = u?.scheduleLabelClassName ?? "dial-tiny-text", h = u?.pausedBadgeClassName ?? "dial-tiny-text", g = u?.completedBadgeClassName ?? "dial-tiny-text", y = u?.locationLabelClassName ?? "dial-tiny-text", b = u?.locationLeafClassName ?? "dial-tiny-semi-text", x = u?.newBadgeClassName ?? "dial-tiny-semi-text", S = Pe(e), { text: ee, textClassName: te } = {
73
- [G.Scheduled]: {
65
+ title: "_title_hmbo0_2",
66
+ description: "_description_hmbo0_6",
67
+ locationLabel: "_locationLabel_hmbo0_10",
68
+ locationLeaf: "_locationLeaf_hmbo0_14",
69
+ newBadge: "_newBadge_hmbo0_18",
70
+ locationDivider: "_locationDivider_hmbo0_23",
71
+ card: "_card_hmbo0_34"
72
+ }, Le = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
73
+ let o = b(), s = r?.newBadgeLabel ?? "NEW", c = r?.pausedBadgeLabel ?? "Paused", l = r?.completedBadgeLabel ?? "Completed", { colors: u, typography: d } = i ?? {}, f = d?.titleClassName ?? "dial-body-semi-text", p = d?.descriptionClassName ?? "dial-small-text", m = d?.descriptionSizeClassName ?? "dial-tiny-text", h = d?.scheduleLabelClassName ?? "dial-tiny-text", g = d?.pausedBadgeClassName ?? "dial-tiny-text", y = d?.completedBadgeClassName ?? "dial-tiny-text", x = d?.locationLabelClassName ?? "dial-tiny-text", ee = d?.locationLeafClassName ?? "dial-tiny-semi-text", S = d?.newBadgeClassName ?? "dial-tiny-semi-text", C = Pe(e), { text: te, textClassName: w } = {
74
+ [K.Scheduled]: {
74
75
  text: e.scheduleLabel,
75
- textClassName: m
76
- },
77
- [G.Paused]: {
78
- text: s,
79
76
  textClassName: h
80
77
  },
81
- [G.Completed]: {
78
+ [K.Paused]: {
82
79
  text: c,
83
80
  textClassName: g
81
+ },
82
+ [K.Completed]: {
83
+ text: l,
84
+ textClassName: y
84
85
  }
85
- }[S], ne = _({
86
- "--stc-title-text": l?.titleText,
87
- "--stc-desc-text": l?.descriptionText,
88
- "--stc-pill-bg": l?.schedulePillBackground,
89
- "--stc-pill-border": l?.schedulePillBorder,
90
- "--stc-schedule-label-text": l?.scheduleLabelText,
91
- "--stc-location-label-text": l?.locationLabelText,
92
- "--stc-location-leaf-text": l?.locationLeafText,
93
- "--stc-new-badge-bg": l?.newBadgeBackground,
94
- "--stc-new-badge-text": l?.newBadgeText,
95
- "--stc-location-divider-border": l?.locationDividerBorder,
96
- "--stc-paused-bg": l?.pausedBadgeBackground,
97
- "--stc-paused-border": l?.pausedBadgeBorder,
98
- "--stc-paused-text": l?.pausedBadgeText,
99
- "--stc-completed-bg": l?.completedBadgeBackground,
100
- "--stc-completed-border": l?.completedBadgeBorder,
101
- "--stc-completed-text": l?.completedBadgeText
102
- }), C = n ? {
86
+ }[C], T = _({
87
+ "--stc-title-text": u?.titleText,
88
+ "--stc-desc-text": u?.descriptionText,
89
+ "--stc-pill-bg": u?.schedulePillBackground,
90
+ "--stc-pill-border": u?.schedulePillBorder,
91
+ "--stc-schedule-label-text": u?.scheduleLabelText,
92
+ "--stc-location-label-text": u?.locationLabelText,
93
+ "--stc-location-leaf-text": u?.locationLeafText,
94
+ "--stc-new-badge-bg": u?.newBadgeBackground,
95
+ "--stc-new-badge-text": u?.newBadgeText,
96
+ "--stc-location-divider-border": u?.locationDividerBorder,
97
+ "--stc-paused-bg": u?.pausedBadgeBackground,
98
+ "--stc-paused-border": u?.pausedBadgeBorder,
99
+ "--stc-paused-text": u?.pausedBadgeText,
100
+ "--stc-completed-bg": u?.completedBadgeBackground,
101
+ "--stc-completed-border": u?.completedBadgeBorder,
102
+ "--stc-completed-text": u?.completedBadgeText
103
+ }), E = n ? {
103
104
  tabIndex: 0,
104
105
  onClick: () => n(e.id),
105
106
  onKeyDown: (t) => {
106
107
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), n(e.id));
107
108
  }
108
109
  } : {};
109
- return /* @__PURE__ */ H(T, {
110
+ return /* @__PURE__ */ W(D, {
110
111
  role: n ? "button" : "group",
111
112
  "aria-label": e.displayName,
112
- style: ne,
113
- className: v("h-[var(--st-card-height,232px)]", n && "cursor-pointer", a, W.card),
114
- ...C,
113
+ style: T,
114
+ className: v("h-[var(--st-card-height,232px)]", Y.card, n && "cursor-pointer", a, Ne.card),
115
+ ...E,
115
116
  children: [
116
- /* @__PURE__ */ H("div", {
117
- className: "flex min-w-0 shrink-0 items-center gap-2",
118
- children: [/* @__PURE__ */ V(oe, {
117
+ /* @__PURE__ */ W("div", {
118
+ className: "flex min-w-0 shrink-0 items-start gap-2 desktop:items-center",
119
+ children: [/* @__PURE__ */ U(oe, {
119
120
  text: e.displayName,
120
121
  query: t,
121
- maxLines: 1,
122
- className: v(d, Y.title)
123
- }), e.isNew && /* @__PURE__ */ V("span", {
124
- className: v("shrink-0 rounded-full px-2 py-0.5", x, Y.newBadge),
125
- children: o
122
+ maxLines: o ? 2 : 1,
123
+ className: v(f, Y.title)
124
+ }), e.isNew && /* @__PURE__ */ U("span", {
125
+ className: v("shrink-0 rounded-full px-2 py-0.5", S, Y.newBadge),
126
+ children: s
126
127
  })]
127
128
  }),
128
- e.descriptionPreview && /* @__PURE__ */ V("p", {
129
- className: v("line-clamp-4 min-h-0 flex-1 overflow-hidden", p, f, Y.description),
129
+ e.descriptionPreview && /* @__PURE__ */ U("p", {
130
+ className: v("line-clamp-4 min-h-0 flex-1 overflow-hidden", m, p, Y.description),
130
131
  children: e.descriptionPreview
131
132
  }),
132
- /* @__PURE__ */ H("div", {
133
+ /* @__PURE__ */ W("div", {
133
134
  className: "mt-auto flex shrink-0 flex-col gap-3",
134
- children: [/* @__PURE__ */ V("div", {
135
+ children: [/* @__PURE__ */ U("div", {
135
136
  className: "flex min-h-[28px] items-center",
136
- children: /* @__PURE__ */ V(Fe, {
137
- status: S,
138
- text: ee,
139
- textClassName: te
137
+ children: /* @__PURE__ */ U(Ie, {
138
+ status: C,
139
+ text: te,
140
+ textClassName: w
140
141
  })
141
- }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ V(ie, {
142
+ }), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ U(ie, {
142
143
  segments: e.locationSegments,
143
- labelClassName: v(y, Y.locationLabel),
144
- leafClassName: v(b, Y.locationLeaf),
144
+ labelClassName: v(x, Y.locationLabel),
145
+ leafClassName: v(ee, Y.locationLeaf),
145
146
  className: v("pt-3", Y.locationDivider)
146
147
  })]
147
148
  })
148
149
  ]
149
150
  });
150
- }, Le = { card: "_card_11bez_1" }, Re = [
151
+ }, Re = { card: "_card_18ivt_1" }, ze = [
151
152
  "100%",
152
153
  "100%",
153
154
  "61%"
154
- ], ze = "var(--stcs-skeleton-bg)", Be = ({ styles: e }) => /* @__PURE__ */ H(T, {
155
+ ], Be = "var(--stcs-skeleton-bg)", Ve = ({ styles: e }) => /* @__PURE__ */ W(D, {
155
156
  "aria-hidden": !0,
156
157
  style: _({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
157
- className: v("h-[var(--st-card-height,232px)]", Le.card),
158
+ className: v("h-[var(--st-card-height,232px)]", Re.card),
158
159
  children: [
159
- /* @__PURE__ */ V(j, {
160
- variant: M.Rectangular,
160
+ /* @__PURE__ */ U(M, {
161
+ variant: N.Rectangular,
161
162
  width: "60%",
162
163
  height: "20px",
163
- color: ze,
164
+ color: Be,
164
165
  className: "shrink-0"
165
166
  }),
166
- /* @__PURE__ */ V("div", {
167
+ /* @__PURE__ */ U("div", {
167
168
  className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
168
- children: Re.map((e, t) => /* @__PURE__ */ V(j, {
169
- variant: M.Rectangular,
169
+ children: ze.map((e, t) => /* @__PURE__ */ U(M, {
170
+ variant: N.Rectangular,
170
171
  width: e,
171
172
  height: "16px",
172
- color: ze
173
+ color: Be
173
174
  }, t))
174
175
  }),
175
- /* @__PURE__ */ V(j, {
176
- variant: M.Rectangular,
176
+ /* @__PURE__ */ U(M, {
177
+ variant: N.Rectangular,
177
178
  width: "110px",
178
179
  height: "28px",
179
- color: ze,
180
+ color: Be,
180
181
  className: "shrink-0 rounded-lg"
181
182
  })
182
183
  ]
183
- }), Ve = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ H("div", {
184
+ }), He = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ W("div", {
184
185
  style: {
185
186
  "--st-grid-min-card-width": s?.minCardWidth,
186
187
  "--st-grid-gap": s?.gap,
@@ -190,14 +191,14 @@ var W = {
190
191
  gap: "var(--st-grid-gap, 20px)",
191
192
  gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, max(var(--st-grid-min-card-width, 320px), calc((100% - (var(--st-grid-columns) - 1) * var(--st-grid-gap, 20px)) / var(--st-grid-columns)))), 1fr))"
192
193
  },
193
- className: v("mx-auto grid w-full min-w-0", W.cardGrid),
194
- children: [e.map((e) => /* @__PURE__ */ V(Ie, {
194
+ className: v("mx-auto grid w-full min-w-0", Ne.cardGrid),
195
+ children: [e.map((e) => /* @__PURE__ */ U(Le, {
195
196
  item: e,
196
197
  searchQuery: t,
197
198
  onCardClick: n,
198
199
  labels: r,
199
200
  styles: i
200
- }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ V(Be, { styles: o }, `skeleton-${t}`))]
201
+ }, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ U(Ve, { styles: o }, `skeleton-${t}`))]
201
202
  }), X = {
202
203
  container: "_container_3vz4t_2",
203
204
  subtitle: "_subtitle_3vz4t_6",
@@ -205,33 +206,33 @@ var W = {
205
206
  sortButton: "_sortButton_3vz4t_19",
206
207
  createButton: "_createButton_3vz4t_10",
207
208
  sortControlHidden: "_sortControlHidden_3vz4t_49"
208
- }, He = /* @__PURE__ */ V(F, {
209
+ }, Ue = /* @__PURE__ */ U(L, {
209
210
  size: 48,
210
211
  stroke: 1,
211
212
  "aria-hidden": !0
212
- }), Ue = (e, t, n, r, i, a) => {
213
+ }), We = (e, t, n, r, i, a) => {
213
214
  if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
214
- }, We = (e) => {
215
+ }, Ge = (e) => {
215
216
  if (!e || e === document.body) return null;
216
217
  let { overflow: t, overflowY: n } = getComputedStyle(e);
217
- return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : We(e.parentElement);
218
- }, Ge = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: h, banner: g, styles: y, sortIcon: b, className: x, gridLayout: S, cardStyles: C, loadMoreError: w, onRetryLoadMore: T }) => {
219
- let { colors: E, typography: ie } = y ?? {}, ae = ie?.titleClassName ?? "dial-h1-text", oe = ie?.subtitleClassName ?? "dial-body-text", se = _({
220
- "--st-bg": E?.background,
221
- "--st-subtitle-text": E?.subtitleText,
222
- "--st-sort-text": E?.sortButtonText
223
- }), ce = (e) => {
218
+ return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : Ge(e.parentElement);
219
+ }, Ke = ({ labels: e, onCreateClick: t, searchQuery: n, onSearchQueryChange: r, sortKey: i, onSortChange: a, items: o, isLoading: s = !1, error: c, onRetry: l, hasMore: u = !1, isLoadingMore: d = !1, skeletonCount: f = 6, onLoadMore: p, onCardClick: h, banner: g, styles: y, sortIcon: b, className: x, gridLayout: ee, cardStyles: S, loadMoreError: T, onRetryLoadMore: E }) => {
220
+ let { colors: D, typography: ne } = y ?? {}, ie = ne?.titleClassName ?? "dial-h1-text", ae = ne?.subtitleClassName ?? "dial-body-text", oe = _({
221
+ "--st-bg": D?.background,
222
+ "--st-subtitle-text": D?.subtitleText,
223
+ "--st-sort-text": D?.sortButtonText
224
+ }), se = (e) => {
224
225
  r(e ?? "");
225
- }, [ue, de] = je(!1), [pe, j] = je(!1), M = B(null), he = z(() => {
226
- j(!0);
227
- }, []), ge = z(() => {
228
- j(!1);
226
+ }, [ce, ue] = Ae(!1), [de, pe] = Ae(!1), M = H(null), N = Ee(() => {
227
+ pe(!0);
228
+ }, []), he = Ee(() => {
229
+ pe(!1);
229
230
  }, []);
230
231
  ke(() => {
231
232
  let e = M.current;
232
- pe && ue && e != null && e.offsetParent == null && de(!1);
233
- }, [pe, ue]);
234
- let _e = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, ve = Ae(() => e.sortOptions.map((e) => ({
233
+ de && ce && e != null && e.offsetParent == null && ue(!1);
234
+ }, [de, ce]);
235
+ let ge = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, _e = V(() => e.sortOptions.map((e) => ({
235
236
  key: e.value,
236
237
  label: e.label,
237
238
  mark: le.Check,
@@ -241,14 +242,14 @@ var W = {
241
242
  e.sortOptions,
242
243
  i,
243
244
  a
244
- ]), ye = Ue(s, d, !!c, o.length, n.trim().length > 0, e), be = B(null);
245
+ ]), P = We(s, d, !!c, o.length, n.trim().length > 0, e), ve = H(null);
245
246
  De(() => {
246
- let e = be.current;
247
+ let e = ve.current;
247
248
  if (!e || !p) return;
248
- let t = We(e.parentElement);
249
+ let t = Ge(e.parentElement);
249
250
  if (!t) return;
250
251
  let n = () => {
251
- if (d || s || w || !u) return;
252
+ if (d || s || T || !u) return;
252
253
  let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
253
254
  r.top < n.bottom && r.bottom > n.top && p();
254
255
  };
@@ -257,141 +258,141 @@ var W = {
257
258
  u,
258
259
  d,
259
260
  s,
260
- w,
261
+ T,
261
262
  p
262
263
  ]);
263
- let xe = () => s ? /* @__PURE__ */ V(me, {}) : c ? /* @__PURE__ */ H("div", {
264
+ let ye = () => s ? /* @__PURE__ */ U(me, {}) : c ? /* @__PURE__ */ W("div", {
264
265
  className: "flex flex-col items-center gap-3",
265
- children: [/* @__PURE__ */ V("p", {
266
- className: v(oe, X.subtitle),
266
+ children: [/* @__PURE__ */ U("p", {
267
+ className: v(ae, X.subtitle),
267
268
  children: e.errorLabel
268
- }), /* @__PURE__ */ V(k, {
269
+ }), /* @__PURE__ */ U(A, {
269
270
  label: e.retryLabel,
270
271
  onClick: l
271
272
  })]
272
- }) : o.length === 0 ? n.trim() ? /* @__PURE__ */ V("p", {
273
- className: v(oe, X.subtitle),
273
+ }) : o.length === 0 ? n.trim() ? /* @__PURE__ */ U("p", {
274
+ className: v(ae, X.subtitle),
274
275
  children: e.noResultsLabel
275
- }) : /* @__PURE__ */ V(m, {
276
+ }) : /* @__PURE__ */ U(m, {
276
277
  label: e.emptyStateLabel,
277
- icon: He
278
- }) : /* @__PURE__ */ H("div", {
278
+ icon: Ue
279
+ }) : /* @__PURE__ */ W("div", {
279
280
  className: "flex w-full flex-col gap-6",
280
281
  children: [
281
- /* @__PURE__ */ V(Ve, {
282
+ /* @__PURE__ */ U(He, {
282
283
  items: o,
283
284
  searchQuery: n,
284
285
  onCardClick: h,
285
286
  labels: e.cardLabels,
286
287
  trailingSkeletonCount: d ? f : 0,
287
- skeletonStyles: { colors: { skeletonColor: E?.skeletonColor } },
288
- cardStyles: C,
289
- layout: S
288
+ skeletonStyles: { colors: { skeletonColor: D?.skeletonColor } },
289
+ cardStyles: S,
290
+ layout: ee
290
291
  }),
291
- w && /* @__PURE__ */ H("div", {
292
+ T && /* @__PURE__ */ W("div", {
292
293
  role: "alert",
293
294
  className: "flex items-center gap-3",
294
- children: [/* @__PURE__ */ V("span", {
295
- className: v(oe, X.subtitle),
295
+ children: [/* @__PURE__ */ U("span", {
296
+ className: v(ae, X.subtitle),
296
297
  children: e.loadMoreErrorLabel ?? e.errorLabel
297
- }), /* @__PURE__ */ V(k, {
298
+ }), /* @__PURE__ */ U(A, {
298
299
  label: e.retryLabel,
299
- onClick: T
300
+ onClick: E
300
301
  })]
301
302
  }),
302
- /* @__PURE__ */ V("div", {
303
- ref: be,
303
+ /* @__PURE__ */ U("div", {
304
+ ref: ve,
304
305
  "aria-hidden": !0,
305
306
  className: "h-px w-full"
306
307
  })
307
308
  ]
308
- }), P = s || !!c || o.length === 0;
309
- return /* @__PURE__ */ H("div", {
310
- style: se,
311
- className: v("flex h-full w-full flex-col gap-6 overflow-y-auto px-8 py-4", X.container, x),
309
+ }), F = s || !!c || o.length === 0;
310
+ return /* @__PURE__ */ W("div", {
311
+ style: oe,
312
+ className: v("flex h-full w-full flex-col gap-4 overflow-y-auto px-4 py-4 desktop:gap-6 desktop:px-8", X.container, x),
312
313
  children: [
313
- /* @__PURE__ */ H("div", {
314
+ /* @__PURE__ */ W("div", {
314
315
  className: "flex items-start justify-between gap-4",
315
- children: [/* @__PURE__ */ H("div", {
316
+ children: [/* @__PURE__ */ W("div", {
316
317
  className: "min-w-0 gap-2",
317
- children: [/* @__PURE__ */ V("h1", {
318
- className: v("truncate", ae),
318
+ children: [/* @__PURE__ */ U("h1", {
319
+ className: v("truncate", ie),
319
320
  children: e.title
320
- }), /* @__PURE__ */ V("p", {
321
- className: v("mt-1", oe, X.subtitle),
321
+ }), /* @__PURE__ */ U("p", {
322
+ className: v("mt-1", ae, X.subtitle),
322
323
  children: e.subtitle
323
324
  })]
324
- }), /* @__PURE__ */ V(fe, {
325
+ }), /* @__PURE__ */ U(j, {
325
326
  label: e.createButtonLabel,
326
327
  textClassName: X.createButtonLabel,
327
328
  "aria-label": e.createButtonLabel,
328
- iconBefore: /* @__PURE__ */ V(R, {
329
- size: D.SM,
329
+ iconBefore: /* @__PURE__ */ U(Ce, {
330
+ size: O.SM,
330
331
  "aria-hidden": !0,
331
- stroke: O
332
+ stroke: k
332
333
  }),
333
334
  onClick: t,
334
335
  className: v("shrink-0", X.createButton)
335
336
  })]
336
337
  }),
337
- /* @__PURE__ */ H("div", {
338
+ /* @__PURE__ */ W("div", {
338
339
  className: "flex flex-wrap items-center gap-3",
339
- children: [/* @__PURE__ */ V("div", {
340
+ children: [/* @__PURE__ */ U("div", {
340
341
  role: "search",
341
342
  className: "flex-1",
342
- children: /* @__PURE__ */ V(A, {
343
+ children: /* @__PURE__ */ U(fe, {
343
344
  value: n,
344
- onChange: ce,
345
+ onChange: se,
345
346
  placeholder: e.searchPlaceholder,
346
347
  clearLabel: e.clearSearchLabel,
347
348
  "aria-label": e.searchAriaLabel,
348
349
  size: re.Large,
349
- onFocus: he,
350
- onBlur: ge
350
+ onFocus: N,
351
+ onBlur: he
351
352
  })
352
- }), e.sortOptions.length > 0 && /* @__PURE__ */ V("div", {
353
+ }), e.sortOptions.length > 0 && /* @__PURE__ */ U("div", {
353
354
  ref: M,
354
- className: v(pe && X.sortControlHidden),
355
- children: /* @__PURE__ */ V(te, {
356
- items: ve,
357
- label: _e,
358
- variant: ne.Primary,
359
- appearance: ee.Ghost,
360
- iconBefore: b === void 0 ? /* @__PURE__ */ V(N, {
361
- size: D.SM,
355
+ className: v(de && X.sortControlHidden),
356
+ children: /* @__PURE__ */ U(te, {
357
+ items: _e,
358
+ label: ge,
359
+ variant: w.Primary,
360
+ appearance: C.Ghost,
361
+ iconBefore: b === void 0 ? /* @__PURE__ */ U(be, {
362
+ size: O.SM,
362
363
  "aria-hidden": !0,
363
- stroke: O
364
+ stroke: k
364
365
  }) : b,
365
366
  className: X.sortButton
366
367
  })
367
368
  })]
368
369
  }),
369
370
  g,
370
- /* @__PURE__ */ V("span", {
371
+ /* @__PURE__ */ U("span", {
371
372
  role: "status",
372
373
  "aria-live": "polite",
373
374
  className: "sr-only",
374
- children: ye
375
+ children: P
375
376
  }),
376
- /* @__PURE__ */ V("div", {
377
- className: v("mx-auto flex size-full w-full min-w-0 flex-col", P && "items-center justify-center"),
378
- children: xe()
377
+ /* @__PURE__ */ U("div", {
378
+ className: v("mx-auto flex size-full w-full min-w-0 flex-col", F && "items-center justify-center"),
379
+ children: ye()
379
380
  })
380
381
  ]
381
382
  });
382
- }, Ke = /* @__PURE__ */ function(e) {
383
+ }, qe = /* @__PURE__ */ function(e) {
383
384
  return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
384
- }({}), qe = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), Je = (e, t) => {
385
+ }({}), Je = (e) => e == null ? "" : typeof e == "string" ? e.trim() : Array.isArray(e) ? e.length ? JSON.stringify(e) : "" : JSON.stringify(e), Ye = (e, t) => {
385
386
  let n = new Set([...Object.keys(e), ...Object.keys(t)]);
386
- for (let r of n) if (qe(e[r]) !== qe(t[r])) return !0;
387
+ for (let r of n) if (Je(e[r]) !== Je(t[r])) return !0;
387
388
  return !1;
388
- }, Ye = { error: "_error_v2pfn_4" }, Xe = ({ label: e, value: t, onChange: r, error: i, errorClassName: a = "dial-small-text" }) => {
389
- let o = B(/* @__PURE__ */ new Date()).current;
390
- return /* @__PURE__ */ H("div", {
389
+ }, Xe = { error: "_error_v2pfn_4" }, Ze = ({ label: e, value: t, onChange: r, error: i, errorClassName: a = "dial-small-text" }) => {
390
+ let o = H(/* @__PURE__ */ new Date()).current;
391
+ return /* @__PURE__ */ W("div", {
391
392
  className: "flex flex-col gap-1",
392
- children: [/* @__PURE__ */ V(C, {
393
+ children: [/* @__PURE__ */ U(T, {
393
394
  id: "scheduled-task-run-at",
394
- mode: w.DateTime,
395
+ mode: E.DateTime,
395
396
  value: s(t),
396
397
  onChange: (e) => r(n(e)),
397
398
  minDate: o,
@@ -400,8 +401,8 @@ var W = {
400
401
  required: !0
401
402
  },
402
403
  invalid: !!i
403
- }), i && /* @__PURE__ */ V("p", {
404
- className: v(a, Ye.error),
404
+ }), i && /* @__PURE__ */ U("p", {
405
+ className: v(a, Xe.error),
405
406
  children: i
406
407
  })]
407
408
  });
@@ -412,50 +413,50 @@ var W = {
412
413
  instructionsError: "_instructionsError_1253x_18",
413
414
  refineFeedback: "_refineFeedback_1253x_22",
414
415
  refineError: "_refineError_1253x_26"
415
- }, Ze = Ee(async () => ({ default: (await U()).MarkdownEditor })), Qe = ({ labels: n, values: r, initialValues: s, errors: u, modelSelector: p, modelLabelId: m, skillSelector: h, onFieldChange: b, onBack: ee, onCancel: te, onSubmit: ne, isSubmitting: T = !1, onRefineDescription: re, onRefineInstructions: ie, markdownEditorTheme: k, backIcon: ae, className: oe, styles: le }) => {
416
- let ue = Oe(), fe = Oe(), A = B(void 0), j = (e) => e ? async (t, n) => {
417
- if (A.current && !A.current.aborted) throw new DOMException("Busy", "AbortError");
418
- A.current = n;
416
+ }, Qe = B(async () => ({ default: (await G()).MarkdownEditor })), $e = ({ labels: n, values: r, initialValues: s, errors: u, modelSelector: p, modelLabelId: m, skillSelector: h, onFieldChange: b, onBack: S, onCancel: C, onSubmit: te, isSubmitting: w = !1, onRefineDescription: D, onRefineInstructions: re, markdownEditorTheme: ie, backIcon: A, className: ae, styles: oe }) => {
417
+ let le = Oe(), ue = Oe(), j = H(void 0), fe = (e) => e ? async (t, n) => {
418
+ if (j.current && !j.current.aborted) throw new DOMException("Busy", "AbortError");
419
+ j.current = n;
419
420
  try {
420
421
  return await e(t, n);
421
422
  } finally {
422
- A.current === n && (A.current = void 0);
423
+ j.current === n && (j.current = void 0);
423
424
  }
424
425
  } : void 0, M = x({
425
426
  value: r.description ?? "",
426
427
  onChange: (e) => b("description", e),
427
- onRefine: j(re),
428
- disabled: T
429
- }), he = x({
428
+ onRefine: fe(D),
429
+ disabled: w
430
+ }), N = x({
430
431
  value: r.prompt,
431
432
  onChange: (e) => b("prompt", e),
432
- onRefine: j(ie),
433
- disabled: T
434
- }), ge = M.isPending || he.isPending, ve = () => {
435
- M.reset(), he.reset();
436
- }, N = S(!!(s && Je(r, s))), be = () => N.guard(() => {
437
- ve(), ee();
438
- }), xe = () => N.guard(() => {
439
- ve(), te();
440
- }), P = y(), Se = !r.skillUrls?.length, [F, Ce] = je(), I = B(/* @__PURE__ */ new Date()).current, { colors: L, typography: R, layout: we } = le ?? {}, Ee = R?.titleClassName ?? "dial-h1-text", z = R?.sectionTitleClassName ?? "dial-body-semi-text", ke = R?.sectionSubtitleClassName ?? "dial-tiny-text", Ae = R?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", U = R?.instructionsErrorClassName ?? "dial-small-text", G = _({
441
- "--stcf-details-border": L?.detailsColumnBorder,
442
- "--stcf-subtitle-text": L?.sectionSubtitleText,
443
- "--stcf-error-text": L?.instructionsErrorText,
444
- "--stcf-refine-action-text": L?.refineActionText,
445
- "--stcf-refine-error-text": L?.refineErrorText
433
+ onRefine: fe(re),
434
+ disabled: w
435
+ }), he = M.isPending || N.isPending, ge = () => {
436
+ M.reset(), N.reset();
437
+ }, P = ee(!!(s && Ye(r, s))), ve = () => P.guard(() => {
438
+ ge(), S();
439
+ }), be = () => P.guard(() => {
440
+ ge(), C();
441
+ }), F = y(), xe = !r.skillUrls?.length, [I, L] = Ae(), Se = H(/* @__PURE__ */ new Date()).current, { colors: R, typography: z, layout: Ce } = oe ?? {}, we = z?.titleClassName ?? "dial-h1-text", B = z?.sectionTitleClassName ?? "dial-body-semi-text", Ee = z?.sectionSubtitleClassName ?? "dial-tiny-text", ke = z?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", V = z?.instructionsErrorClassName ?? "dial-small-text", G = _({
442
+ "--stcf-details-border": R?.detailsColumnBorder,
443
+ "--stcf-subtitle-text": R?.sectionSubtitleText,
444
+ "--stcf-error-text": R?.instructionsErrorText,
445
+ "--stcf-refine-action-text": R?.refineActionText,
446
+ "--stcf-refine-error-text": R?.refineErrorText
446
447
  }), K = {
447
- feedbackClassName: v(L?.refineActionText && Z.refineFeedback, R?.refineFeedbackClassName, W.refineFeedback),
448
+ feedbackClassName: v(R?.refineActionText && Z.refineFeedback, z?.refineFeedbackClassName, Ne.refineFeedback),
448
449
  errorClassName: Z.refineError
449
- }, Pe = (e) => {
450
- Ce(c.test(e.target.value) ? void 0 : n.timeInvalidLabel), b("time", e.target.value);
451
450
  }, q = (e) => {
452
- Ce(void 0), b("time", typeof e == "string" ? e : "");
451
+ L(c.test(e.target.value) ? void 0 : n.timeInvalidLabel), b("time", e.target.value);
452
+ }, Pe = (e) => {
453
+ L(void 0), b("time", typeof e == "string" ? e : "");
453
454
  }, J = r.repeat !== t.OneTime && r.repeat !== t.Hourly;
454
455
  De(() => {
455
- J || Ce(void 0);
456
+ J || L(void 0);
456
457
  }, [J]);
457
- let Fe = J ? F ?? u.time : void 0, Y = (e) => b("runAt", e), Ie = T || ge || !r.displayName.trim() || !r.modelId || !r.prompt.trim() && !r.skillUrls?.length || !!u.skillUrls || J && !r.time || !!Fe;
458
- return /* @__PURE__ */ H(Me, { children: [/* @__PURE__ */ V(Ne, {
458
+ let Fe = J ? I ?? u.time : void 0, Ie = (e) => b("runAt", e), Y = w || he || !r.displayName.trim() || !r.modelId || !r.prompt.trim() && !r.skillUrls?.length || !!u.skillUrls || J && !r.time || !!Fe;
459
+ return /* @__PURE__ */ W(je, { children: [/* @__PURE__ */ U(Me, {
459
460
  labels: {
460
461
  title: n.pageTitle,
461
462
  backButtonLabel: n.backButtonLabel,
@@ -463,50 +464,50 @@ var W = {
463
464
  submitButtonLabel: n.createButtonLabel,
464
465
  submittingLabel: n.submittingLabel ?? "Saving"
465
466
  },
466
- onBack: be,
467
- onCancel: xe,
467
+ onBack: ve,
468
+ onCancel: be,
468
469
  onSubmit: () => {
469
- !Ie && (!A.current || A.current.aborted) && ne();
470
+ !Y && (!j.current || j.current.aborted) && te();
470
471
  },
471
- isCancelDisabled: T,
472
- isSubmitDisabled: Ie,
473
- isSubmitting: T,
474
- backIcon: ae === void 0 ? /* @__PURE__ */ V(ye, {
475
- size: D.LG,
476
- stroke: O,
472
+ isCancelDisabled: w,
473
+ isSubmitDisabled: Y,
474
+ isSubmitting: w,
475
+ backIcon: A === void 0 ? /* @__PURE__ */ U(ye, {
476
+ size: O.LG,
477
+ stroke: k,
477
478
  "aria-hidden": !0,
478
479
  className: "rtl:scale-x-[-1]"
479
- }) : ae,
480
+ }) : A,
480
481
  layout: {
481
- sideColumnWidth: we?.detailsWidth,
482
- columnGap: we?.columnGap,
482
+ sideColumnWidth: Ce?.detailsWidth,
483
+ columnGap: Ce?.columnGap,
483
484
  reserveEndColumn: !1
484
485
  },
485
- className: oe,
486
+ className: ae,
486
487
  styles: {
487
- colors: { background: L?.background },
488
+ colors: { background: R?.background },
488
489
  header: {
489
- colors: { borderColor: L?.headerBorder },
490
- typography: { fontClassName: Ee }
490
+ colors: { borderColor: R?.headerBorder },
491
+ typography: { fontClassName: we }
491
492
  },
492
493
  cssVars: G
493
494
  },
494
- left: /* @__PURE__ */ H("div", {
495
+ left: /* @__PURE__ */ W("div", {
495
496
  role: "group",
496
497
  "aria-label": n.detailsSectionTitle,
497
- className: v("flex flex-1 flex-col gap-5 border-e py-6", Z.detailsColumn, Z.formColumn),
498
+ className: v("flex flex-1 flex-col gap-5 py-6 desktop:border-e", Z.detailsColumn, Z.formColumn),
498
499
  children: [
499
- /* @__PURE__ */ H("div", {
500
+ /* @__PURE__ */ W("div", {
500
501
  className: "flex flex-col gap-1",
501
- children: [/* @__PURE__ */ V("h2", {
502
- className: z,
502
+ children: [/* @__PURE__ */ U("h2", {
503
+ className: B,
503
504
  children: n.detailsSectionTitle
504
- }), /* @__PURE__ */ V("p", {
505
- className: v(ke, Z.sectionSubtitle),
505
+ }), /* @__PURE__ */ U("p", {
506
+ className: v(Ee, Z.sectionSubtitle),
506
507
  children: n.detailsSectionSubtitle
507
508
  })]
508
509
  }),
509
- /* @__PURE__ */ V(se, {
510
+ /* @__PURE__ */ U(se, {
510
511
  id: "scheduled-task-display-name",
511
512
  value: r.displayName,
512
513
  onChange: (e) => b("displayName", e ?? ""),
@@ -517,46 +518,46 @@ var W = {
517
518
  invalid: !!u.displayName,
518
519
  error: u.displayName
519
520
  }),
520
- /* @__PURE__ */ V(g, {
521
- isEnabled: !!re,
522
- fieldId: ue,
521
+ /* @__PURE__ */ U(g, {
522
+ isEnabled: !!D,
523
+ fieldId: le,
523
524
  label: n.descriptionLabel,
524
525
  labels: n,
525
526
  refinement: M,
526
- disabled: T || ge,
527
+ disabled: w || he,
528
+ caption: `${(r.description ?? "").length}/500`,
527
529
  ...K,
528
- children: /* @__PURE__ */ V(_e, {
529
- id: ue,
530
+ children: /* @__PURE__ */ U(_e, {
531
+ id: le,
530
532
  value: r.description ?? "",
531
533
  onChange: (e) => {
532
534
  M.reset(), b("description", e);
533
535
  },
534
- labelProps: re ? void 0 : { label: n.descriptionLabel },
536
+ labelProps: D ? void 0 : { label: n.descriptionLabel },
535
537
  maxLength: 500,
536
538
  invalid: !!u.description,
537
- error: u.description,
538
- caption: r.description ? `${r.description.length}/500` : void 0
539
+ error: u.description
539
540
  })
540
541
  }),
541
- /* @__PURE__ */ H("div", {
542
+ /* @__PURE__ */ W("div", {
542
543
  className: "flex flex-col gap-1",
543
544
  children: [
544
- /* @__PURE__ */ V(ce, {
545
+ /* @__PURE__ */ U(ce, {
545
546
  id: m,
546
547
  label: n.modelOrAgentLabel,
547
548
  required: !0
548
549
  }),
549
550
  p,
550
- u.modelId && /* @__PURE__ */ V("p", {
551
- className: v(U, Z.instructionsError),
551
+ u.modelId && /* @__PURE__ */ U("p", {
552
+ className: v(V, Z.instructionsError),
552
553
  children: u.modelId
553
554
  })
554
555
  ]
555
556
  }),
556
- /* @__PURE__ */ H("div", {
557
+ /* @__PURE__ */ W("div", {
557
558
  className: "flex flex-col gap-3",
558
559
  children: [
559
- /* @__PURE__ */ V(pe, {
560
+ /* @__PURE__ */ U(pe, {
560
561
  labelProps: { label: n.repeatLabel },
561
562
  value: r.repeat,
562
563
  onChange: (e) => b("repeat", e),
@@ -565,39 +566,39 @@ var W = {
565
566
  label: e.label
566
567
  }))
567
568
  }),
568
- r.repeat === t.OneTime && /* @__PURE__ */ V(Xe, {
569
+ r.repeat === t.OneTime && /* @__PURE__ */ U(Ze, {
569
570
  label: n.runAtLabel,
570
571
  value: r.runAt ?? "",
571
- onChange: Y,
572
+ onChange: Ie,
572
573
  error: u.runAt,
573
- errorClassName: U
574
+ errorClassName: V
574
575
  }),
575
- r.repeat !== t.OneTime && /* @__PURE__ */ H(Me, { children: [
576
- J && /* @__PURE__ */ H("div", {
576
+ r.repeat !== t.OneTime && /* @__PURE__ */ W(je, { children: [
577
+ J && /* @__PURE__ */ W("div", {
577
578
  className: "flex flex-col gap-1",
578
- children: [/* @__PURE__ */ V(C, {
579
+ children: [/* @__PURE__ */ U(T, {
579
580
  id: "scheduled-task-time",
580
- mode: w.Time,
581
+ mode: E.Time,
581
582
  value: r.time,
582
- onChange: q,
583
- onBlur: Pe,
583
+ onChange: Pe,
584
+ onBlur: q,
584
585
  labelProps: {
585
586
  label: n.timeLabel,
586
587
  required: !0
587
588
  },
588
589
  invalid: !!Fe,
589
- disabled: T,
590
+ disabled: w,
590
591
  showTimezone: !0
591
- }), Fe && /* @__PURE__ */ V("p", {
592
- className: v(U, Z.instructionsError),
592
+ }), Fe && /* @__PURE__ */ U("p", {
593
+ className: v(V, Z.instructionsError),
593
594
  children: Fe
594
595
  })]
595
596
  }),
596
- r.repeat === t.Weekly && /* @__PURE__ */ H("div", {
597
+ r.repeat === t.Weekly && /* @__PURE__ */ W("div", {
597
598
  className: "flex flex-col gap-1",
598
- children: [/* @__PURE__ */ V(C, {
599
+ children: [/* @__PURE__ */ U(T, {
599
600
  id: "scheduled-task-day-of-week",
600
- mode: w.Weekday,
601
+ mode: E.Weekday,
601
602
  value: a(r.dayOfWeek),
602
603
  onChange: (e) => b("dayOfWeek", o(e)),
603
604
  labelProps: {
@@ -605,12 +606,12 @@ var W = {
605
606
  required: !0
606
607
  },
607
608
  invalid: !!u.dayOfWeek
608
- }), u.dayOfWeek && /* @__PURE__ */ V("p", {
609
- className: v(U, Z.instructionsError),
609
+ }), u.dayOfWeek && /* @__PURE__ */ U("p", {
610
+ className: v(V, Z.instructionsError),
610
611
  children: u.dayOfWeek
611
612
  })]
612
613
  }),
613
- r.repeat === t.Monthly && /* @__PURE__ */ V(de, {
614
+ r.repeat === t.Monthly && /* @__PURE__ */ U(de, {
614
615
  id: "scheduled-task-day-of-month",
615
616
  integer: !0,
616
617
  min: 1,
@@ -624,7 +625,7 @@ var W = {
624
625
  invalid: !!u.dayOfMonth,
625
626
  error: u.dayOfMonth
626
627
  }),
627
- r.repeat === t.Hourly && /* @__PURE__ */ V(de, {
628
+ r.repeat === t.Hourly && /* @__PURE__ */ U(de, {
628
629
  id: "scheduled-task-minute",
629
630
  integer: !0,
630
631
  min: 0,
@@ -638,36 +639,36 @@ var W = {
638
639
  invalid: !!u.minute,
639
640
  error: u.minute
640
641
  }),
641
- /* @__PURE__ */ H("div", {
642
+ /* @__PURE__ */ W("div", {
642
643
  className: "flex flex-row gap-3",
643
- children: [/* @__PURE__ */ H("div", {
644
+ children: [/* @__PURE__ */ W("div", {
644
645
  className: "flex flex-1 flex-col gap-1",
645
- children: [/* @__PURE__ */ V(C, {
646
+ children: [/* @__PURE__ */ U(T, {
646
647
  id: "scheduled-task-start-date",
647
- mode: w.Date,
648
+ mode: E.Date,
648
649
  value: e(r.startDate),
649
650
  onChange: (e) => b("startDate", i(e)),
650
- minDate: I,
651
+ minDate: Se,
651
652
  labelProps: { label: n.startDateLabel },
652
653
  placeholder: n.startDatePlaceholder,
653
654
  invalid: !!u.startDate
654
- }), u.startDate && /* @__PURE__ */ V("p", {
655
- className: v(U, Z.instructionsError),
655
+ }), u.startDate && /* @__PURE__ */ U("p", {
656
+ className: v(V, Z.instructionsError),
656
657
  children: u.startDate
657
658
  })]
658
- }), /* @__PURE__ */ H("div", {
659
+ }), /* @__PURE__ */ W("div", {
659
660
  className: "flex flex-1 flex-col gap-1",
660
- children: [/* @__PURE__ */ V(C, {
661
+ children: [/* @__PURE__ */ U(T, {
661
662
  id: "scheduled-task-end-date",
662
- mode: w.Date,
663
+ mode: E.Date,
663
664
  value: e(r.endDate),
664
665
  onChange: (e) => b("endDate", i(e)),
665
- minDate: I,
666
+ minDate: Se,
666
667
  labelProps: { label: n.endDateLabel },
667
668
  placeholder: n.endDatePlaceholder,
668
669
  invalid: !!u.endDate
669
- }), u.endDate && /* @__PURE__ */ V("p", {
670
- className: v(U, Z.instructionsError),
670
+ }), u.endDate && /* @__PURE__ */ U("p", {
671
+ className: v(V, Z.instructionsError),
671
672
  children: u.endDate
672
673
  })]
673
674
  })]
@@ -677,71 +678,71 @@ var W = {
677
678
  })
678
679
  ]
679
680
  }),
680
- children: /* @__PURE__ */ H("div", {
681
+ children: /* @__PURE__ */ W("div", {
681
682
  role: "group",
682
683
  "aria-label": n.configurationSectionTitle,
683
684
  className: v("flex flex-1 flex-col gap-5 py-6", Z.formColumn),
684
685
  children: [
685
- /* @__PURE__ */ H("div", {
686
+ /* @__PURE__ */ W("div", {
686
687
  className: "flex flex-col gap-1",
687
- children: [/* @__PURE__ */ V("h2", {
688
- className: z,
688
+ children: [/* @__PURE__ */ U("h2", {
689
+ className: B,
689
690
  children: n.configurationSectionTitle
690
- }), /* @__PURE__ */ V("p", {
691
- className: v(ke, Z.sectionSubtitle),
691
+ }), /* @__PURE__ */ U("p", {
692
+ className: v(Ee, Z.sectionSubtitle),
692
693
  children: n.configurationSectionSubtitle
693
694
  })]
694
695
  }),
695
- h == null ? u.skillUrls && /* @__PURE__ */ V("div", {
696
+ h == null ? u.skillUrls && /* @__PURE__ */ U("div", {
696
697
  "aria-live": "polite",
697
- children: /* @__PURE__ */ V("p", {
698
- className: v(U, Z.instructionsError),
698
+ children: /* @__PURE__ */ U("p", {
699
+ className: v(V, Z.instructionsError),
699
700
  children: u.skillUrls
700
701
  })
701
- }) : /* @__PURE__ */ V("div", {
702
- className: "w-full min-w-0 max-w-[996px]",
702
+ }) : /* @__PURE__ */ U("div", {
703
+ className: "w-full max-w-[996px] min-w-0",
703
704
  children: h
704
705
  }),
705
- /* @__PURE__ */ V("div", {
706
- className: "flex w-full min-w-0 max-w-[996px] flex-col",
707
- children: /* @__PURE__ */ V(g, {
708
- isEnabled: !!ie,
709
- fieldId: fe,
710
- labelClassName: Ae,
706
+ /* @__PURE__ */ U("div", {
707
+ className: "flex w-full max-w-[996px] min-w-0 flex-col",
708
+ children: /* @__PURE__ */ U(g, {
709
+ isEnabled: !!re,
710
+ fieldId: ue,
711
+ labelClassName: ke,
711
712
  label: n.instructionsLabel,
712
- required: Se,
713
+ required: xe,
713
714
  labels: n,
714
- refinement: he,
715
- disabled: T || ge,
715
+ refinement: N,
716
+ disabled: w || he,
716
717
  ...K,
717
- children: /* @__PURE__ */ H("div", {
718
+ children: /* @__PURE__ */ W("div", {
718
719
  className: "flex flex-1 flex-col gap-1",
719
720
  children: [
720
- !ie && /* @__PURE__ */ V(ce, {
721
- htmlFor: fe,
722
- className: Ae,
721
+ !re && /* @__PURE__ */ U(ce, {
722
+ htmlFor: ue,
723
+ className: ke,
723
724
  label: n.instructionsLabel,
724
- required: Se
725
+ required: xe
725
726
  }),
726
- /* @__PURE__ */ V("div", {
727
- ref: P,
727
+ /* @__PURE__ */ U("div", {
728
+ ref: F,
728
729
  className: v("w-full", d, f),
729
- children: /* @__PURE__ */ V(Te, {
730
- fallback: /* @__PURE__ */ V(me, {}),
731
- children: /* @__PURE__ */ V(Ze, {
732
- id: fe,
730
+ children: /* @__PURE__ */ U(Te, {
731
+ fallback: /* @__PURE__ */ U(me, {}),
732
+ children: /* @__PURE__ */ U(Qe, {
733
+ id: ue,
733
734
  value: r.prompt,
734
735
  onChange: (e) => {
735
- he.reset(), b("prompt", e);
736
+ N.reset(), b("prompt", e);
736
737
  },
737
738
  height: 480,
738
- theme: k,
739
+ theme: ie,
739
740
  placeholder: n.instructionsPlaceholder
740
741
  })
741
742
  })
742
743
  }),
743
- u.prompt && /* @__PURE__ */ V("p", {
744
- className: v(U, Z.instructionsError),
744
+ u.prompt && /* @__PURE__ */ U("p", {
745
+ className: v(V, Z.instructionsError),
745
746
  children: u.prompt
746
747
  })
747
748
  ]
@@ -750,138 +751,137 @@ var W = {
750
751
  })
751
752
  ]
752
753
  })
753
- }), N.isConfirmOpen && /* @__PURE__ */ V(l, {
754
+ }), P.isConfirmOpen && /* @__PURE__ */ U(l, {
754
755
  open: !0,
755
756
  title: n.discardTitle ?? "Discard unsaved changes?",
756
757
  message: n.discardMessage ?? "You have unsaved changes. Leaving now will discard them.",
757
758
  confirmLabel: n.discardConfirmLabel ?? "Discard changes",
758
759
  cancelLabel: n.discardCancelLabel ?? "Keep editing",
759
- variant: E.Danger,
760
- onConfirm: N.confirm,
761
- onClose: N.dismiss
760
+ variant: ne.Danger,
761
+ onConfirm: P.confirm,
762
+ onClose: P.dismiss
762
763
  })] });
763
- }, $e = /* @__PURE__ */ function(e) {
764
+ }, et = /* @__PURE__ */ function(e) {
764
765
  return e.Details = "details", e.Configuration = "configuration", e.History = "history", e;
765
- }({}), et = /* @__PURE__ */ function(e) {
766
+ }({}), tt = /* @__PURE__ */ function(e) {
766
767
  return e.Card = "card", e.Flow = "flow", e;
767
- }({}), tt = { subtitleText: "_subtitleText_1i4x2_3" }, nt = ({ skillLabel: e, skillDisplayNames: t, instructionsLabel: n, instructionsMarkdown: r, renderInstructions: i, markdownLabels: a, fieldLabelClassName: o = "dial-tiny-text" }) => /* @__PURE__ */ H("div", {
768
+ }({}), nt = { subtitleText: "_subtitleText_1i4x2_3" }, rt = ({ skillLabel: e, skillDisplayNames: t, instructionsLabel: n, instructionsMarkdown: r, renderInstructions: i, markdownLabels: a, fieldLabelClassName: o = "dial-tiny-text" }) => /* @__PURE__ */ W("div", {
768
769
  className: "flex min-w-0 flex-col gap-5",
769
- children: [!!t?.length && /* @__PURE__ */ H("div", {
770
+ children: [!!t?.length && /* @__PURE__ */ W("div", {
770
771
  role: "group",
771
772
  "aria-label": e,
772
773
  className: "flex min-w-0 flex-col gap-1",
773
- children: [/* @__PURE__ */ V("span", {
774
- className: v(o, tt.subtitleText),
774
+ children: [/* @__PURE__ */ U("span", {
775
+ className: v(o, nt.subtitleText),
775
776
  children: e
776
- }), /* @__PURE__ */ V("p", {
777
- className: "whitespace-normal break-all",
778
- children: t?.map((e, t) => /* @__PURE__ */ V("span", {
777
+ }), /* @__PURE__ */ U("p", {
778
+ className: "break-all whitespace-normal",
779
+ children: t?.map((e, t) => /* @__PURE__ */ U("span", {
779
780
  className: "block",
780
781
  children: e
781
782
  }, `${t}:${e}`))
782
783
  })]
783
- }), r && /* @__PURE__ */ H("div", {
784
+ }), r && /* @__PURE__ */ W("div", {
784
785
  role: "group",
785
786
  "aria-label": n,
786
787
  className: "flex min-w-0 flex-col gap-1",
787
- children: [/* @__PURE__ */ V("span", {
788
- className: v(o, tt.subtitleText),
788
+ children: [/* @__PURE__ */ U("span", {
789
+ className: v(o, nt.subtitleText),
789
790
  children: n
790
- }), i ? i(r) : /* @__PURE__ */ V(p, {
791
+ }), i ? i(r) : /* @__PURE__ */ U(p, {
791
792
  content: r,
792
793
  ...a
793
794
  })]
794
795
  })]
795
- }), rt = { subtitleText: "_subtitleText_1i4x2_3" }, it = ({ labels: e, description: t, modelLabel: n, repeatsLabel: r, activeWindowLabel: i, completedLabel: a, fieldLabelClassName: o = "dial-tiny-text", fieldValueClassName: s = "dial-small-text" }) => /* @__PURE__ */ H(Me, { children: [
796
- t && /* @__PURE__ */ H("div", {
796
+ }), it = { subtitleText: "_subtitleText_1i4x2_3" }, at = ({ labels: e, description: t, modelLabel: n, repeatsLabel: r, activeWindowLabel: i, completedLabel: a, fieldLabelClassName: o = "dial-tiny-text", fieldValueClassName: s = "dial-small-text" }) => /* @__PURE__ */ W(je, { children: [
797
+ t && /* @__PURE__ */ W("div", {
797
798
  className: "flex flex-col gap-1",
798
- children: [/* @__PURE__ */ V("span", {
799
- className: v(o, rt.subtitleText),
799
+ children: [/* @__PURE__ */ U("span", {
800
+ className: v(o, it.subtitleText),
800
801
  children: e.descriptionLabel
801
- }), /* @__PURE__ */ V("p", {
802
+ }), /* @__PURE__ */ U("p", {
802
803
  className: s,
803
804
  children: t
804
805
  })]
805
806
  }),
806
- a && /* @__PURE__ */ H("div", {
807
+ a && /* @__PURE__ */ W("div", {
807
808
  className: "flex flex-col gap-1",
808
- children: [/* @__PURE__ */ V("span", {
809
- className: v(o, rt.subtitleText),
809
+ children: [/* @__PURE__ */ U("span", {
810
+ className: v(o, it.subtitleText),
810
811
  children: e.completedFieldLabel
811
- }), /* @__PURE__ */ V("p", {
812
+ }), /* @__PURE__ */ U("p", {
812
813
  className: s,
813
814
  children: a
814
815
  })]
815
816
  }),
816
- n && /* @__PURE__ */ H("div", {
817
+ n && /* @__PURE__ */ W("div", {
817
818
  className: "flex flex-col gap-1",
818
- children: [/* @__PURE__ */ V("span", {
819
- className: v(o, rt.subtitleText),
819
+ children: [/* @__PURE__ */ U("span", {
820
+ className: v(o, it.subtitleText),
820
821
  children: e.modelLabel
821
- }), /* @__PURE__ */ V("p", {
822
+ }), /* @__PURE__ */ U("p", {
822
823
  className: s,
823
824
  children: n
824
825
  })]
825
826
  }),
826
- r && /* @__PURE__ */ H("div", {
827
+ r && /* @__PURE__ */ W("div", {
827
828
  className: "flex flex-col gap-1",
828
- children: [/* @__PURE__ */ V("span", {
829
- className: v(o, rt.subtitleText),
829
+ children: [/* @__PURE__ */ U("span", {
830
+ className: v(o, it.subtitleText),
830
831
  children: e.repeatsLabel
831
- }), /* @__PURE__ */ V("p", {
832
+ }), /* @__PURE__ */ U("p", {
832
833
  className: s,
833
834
  children: r
834
835
  })]
835
836
  }),
836
- i && /* @__PURE__ */ H("div", {
837
+ i && /* @__PURE__ */ W("div", {
837
838
  className: "flex flex-col gap-1",
838
- children: [/* @__PURE__ */ V("span", {
839
- className: v(o, rt.subtitleText),
839
+ children: [/* @__PURE__ */ U("span", {
840
+ className: v(o, it.subtitleText),
840
841
  children: e.activeWindowLabel
841
- }), /* @__PURE__ */ V("p", {
842
+ }), /* @__PURE__ */ U("p", {
842
843
  className: s,
843
844
  children: i
844
845
  })]
845
846
  })
846
- ] }), at = /* @__PURE__ */ function(e) {
847
+ ] }), ot = /* @__PURE__ */ function(e) {
847
848
  return e.Success = "success", e.Error = "error", e.InProgress = "inProgress", e.Missed = "missed", e;
848
849
  }({}), Q = {
849
- subtitleText: "_subtitleText_1d5p9_1",
850
- successIcon: "_successIcon_1d5p9_5",
851
- errorIcon: "_errorIcon_1d5p9_9",
852
- missedIcon: "_missedIcon_1d5p9_13",
853
- currentRun: "_currentRun_1d5p9_17",
854
- interactiveRow: "_interactiveRow_1d5p9_22",
855
- unreadDot: "_unreadDot_1d5p9_33",
856
- rowLayout: "_rowLayout_1d5p9_37"
857
- }, ot = ({ status: e }) => {
850
+ subtitleText: "_subtitleText_6i141_1",
851
+ successIcon: "_successIcon_6i141_5",
852
+ errorIcon: "_errorIcon_6i141_9",
853
+ missedIcon: "_missedIcon_6i141_13",
854
+ currentRun: "_currentRun_6i141_17",
855
+ interactiveRow: "_interactiveRow_6i141_22",
856
+ unreadDot: "_unreadDot_6i141_33"
857
+ }, st = ({ status: e }) => {
858
858
  switch (e) {
859
- case at.Success: return /* @__PURE__ */ V(xe, {
860
- size: D.SM,
859
+ case ot.Success: return /* @__PURE__ */ U(F, {
860
+ size: O.MD,
861
861
  className: Q.successIcon,
862
862
  "aria-hidden": !0,
863
- stroke: O
863
+ stroke: k
864
864
  });
865
- case at.Error: return /* @__PURE__ */ V(P, {
866
- size: D.SM,
865
+ case ot.Error: return /* @__PURE__ */ U(xe, {
866
+ size: O.MD,
867
867
  className: Q.errorIcon,
868
868
  "aria-hidden": !0,
869
- stroke: O
869
+ stroke: k
870
870
  });
871
- case at.InProgress: return /* @__PURE__ */ V("span", {
871
+ case ot.InProgress: return /* @__PURE__ */ U("span", {
872
872
  "aria-hidden": !0,
873
- children: /* @__PURE__ */ V(me, { size: D.SM })
873
+ children: /* @__PURE__ */ U(me, { size: O.MD })
874
874
  });
875
- case at.Missed: return /* @__PURE__ */ V(ve, {
876
- size: D.SM,
875
+ case ot.Missed: return /* @__PURE__ */ U(ve, {
876
+ size: O.MD,
877
877
  className: Q.missedIcon,
878
878
  "aria-hidden": !0,
879
- stroke: O
879
+ stroke: k
880
880
  });
881
881
  default: return null;
882
882
  }
883
- }, st = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
884
- let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-text", m = f?.subtitleClassName ?? "dial-body-text", h = c.unreadIndicatorLabel ?? "Unread", g = _({
883
+ }, ct = ({ items: e, isLoading: t = !1, isLoadingMore: n = !1, skeletonCount: r = 6, error: i, onRetry: a, currentRunId: o, onRunClick: s, labels: c, footer: l, styles: u }) => {
884
+ let { colors: d, typography: f } = u ?? {}, p = f?.runTimestampClassName ?? "dial-small-paragraph-text", m = f?.runTimestampUnreadClassName ?? "dial-small-paragraph-semi-text", h = f?.subtitleClassName ?? "dial-body-text", g = c.unreadIndicatorLabel ?? "Unread", y = _({
885
885
  "--strhl-success-icon": d?.successIconColor,
886
886
  "--strhl-error-icon": d?.errorIconColor,
887
887
  "--strhl-missed-icon": d?.missedIconColor,
@@ -891,10 +891,18 @@ var W = {
891
891
  "--strhl-row-hover-bg": u?.rowHoverBackground,
892
892
  "--strhl-row-focus-bg": u?.rowFocusBackground,
893
893
  "--strhl-row-focus-outline": u?.rowFocusOutline
894
- }), y = (e) => {
895
- let t = c.runStatusLabels[e.status], n = e.id === o, r = [e.isUnread ? h : void 0, n ? c.currentRunLabel : void 0].filter((e) => !!e), i = [`${t} ${e.timestampLabel}`, ...r].join(" — "), a = !!e.conversationId && !!s;
896
- return /* @__PURE__ */ H("li", {
897
- ...a ? {
894
+ }), b = (e) => {
895
+ let t = c.runStatusLabels[e.status], n = e.id === o, r = e.status === ot.Error && e.errorText ? e.errorText : void 0, i = [
896
+ r,
897
+ e.isUnread ? g : void 0,
898
+ n ? c.currentRunLabel : void 0
899
+ ].filter((e) => !!e), a = [[
900
+ t,
901
+ e.timestampLabel,
902
+ e.durationLabel
903
+ ].filter(Boolean).join(" "), ...i].join(" — "), l = !!e.conversationId && !!s;
904
+ return /* @__PURE__ */ W("li", {
905
+ ...l ? {
898
906
  role: "button",
899
907
  tabIndex: 0,
900
908
  onClick: () => s?.(e),
@@ -902,126 +910,138 @@ var W = {
902
910
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), s?.(e));
903
911
  }
904
912
  } : {},
905
- "aria-label": i,
913
+ "aria-label": a,
906
914
  "aria-current": n ? "true" : void 0,
907
- className: v("flex min-h-[var(--strhl-row-min-height,32px)] max-w-[328px] items-center justify-between gap-2 rounded-full pe-2", Q.rowLayout, n && Q.currentRun, a && "cursor-pointer", a && Q.interactiveRow),
908
- children: [/* @__PURE__ */ H("span", {
909
- className: "flex items-center gap-2 truncate",
910
- children: [/* @__PURE__ */ V("span", {
911
- className: "relative flex size-3 shrink-0 items-center justify-center",
912
- children: e.isUnread && /* @__PURE__ */ V("span", {
913
- className: v("size-[5.33px] rounded-full", Q.unreadDot),
914
- "aria-hidden": !0
915
+ className: v("flex min-h-[var(--strhl-row-min-height,32px)] max-w-[328px] items-center justify-between gap-2 rounded-full px-3", n && Q.currentRun, l && "cursor-pointer", l && Q.interactiveRow),
916
+ children: [/* @__PURE__ */ W("span", {
917
+ className: "flex min-w-0 items-center gap-2",
918
+ children: [r ? /* @__PURE__ */ U(P, {
919
+ tooltip: r,
920
+ asChild: !0,
921
+ contentClassName: "max-w-[320px] whitespace-pre-wrap break-words",
922
+ children: /* @__PURE__ */ U("span", {
923
+ className: "flex shrink-0",
924
+ tabIndex: l ? void 0 : 0,
925
+ children: /* @__PURE__ */ U(st, { status: e.status })
915
926
  })
916
- }), /* @__PURE__ */ V("span", {
917
- className: v(p, "truncate"),
918
- children: e.timestampLabel
927
+ }) : /* @__PURE__ */ U(st, { status: e.status }), /* @__PURE__ */ W("span", {
928
+ className: "flex min-w-0 items-center gap-1",
929
+ children: [/* @__PURE__ */ U("span", {
930
+ className: v(e.isUnread ? m : p, "truncate"),
931
+ children: e.timestampLabel
932
+ }), e.durationLabel && /* @__PURE__ */ U("span", {
933
+ className: v(p, Q.subtitleText, "shrink-0"),
934
+ children: e.durationLabel
935
+ })]
919
936
  })]
920
- }), /* @__PURE__ */ V("span", {
921
- className: "flex min-h-[var(--strhl-row-min-height,32px)] w-14 shrink-0 items-center justify-end",
922
- children: /* @__PURE__ */ V(ot, { status: e.status })
937
+ }), /* @__PURE__ */ U("span", {
938
+ className: "relative flex size-3 shrink-0 items-center justify-center",
939
+ children: e.isUnread && /* @__PURE__ */ U("span", {
940
+ className: v("size-[5.33px] rounded-full", Q.unreadDot),
941
+ "aria-hidden": !0
942
+ })
923
943
  })]
924
944
  }, e.id);
925
- }, b = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ H("li", {
945
+ }, x = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ W("li", {
926
946
  "aria-hidden": "true",
927
- className: v("flex min-h-[var(--strhl-row-min-height,32px)] max-w-[328px] items-center justify-between gap-2 pe-2", Q.rowLayout),
928
- children: [/* @__PURE__ */ V(j, {
929
- variant: M.Rectangular,
947
+ className: "flex min-h-(--strhl-row-min-height,32px) max-w-[328px] items-center justify-between gap-2 px-3",
948
+ children: [/* @__PURE__ */ U(M, {
949
+ variant: N.Rectangular,
930
950
  width: "160px",
931
951
  height: "16px"
932
- }), /* @__PURE__ */ V(j, {
933
- variant: M.Rectangular,
952
+ }), /* @__PURE__ */ U(M, {
953
+ variant: N.Rectangular,
934
954
  width: "16px",
935
955
  height: "16px",
936
956
  className: "shrink-0 rounded-full"
937
957
  })]
938
958
  }, `history-skeleton-${t}`));
939
- return t && e.length === 0 ? /* @__PURE__ */ V("ul", {
959
+ return t && e.length === 0 ? /* @__PURE__ */ U("ul", {
940
960
  style: {
941
- ...g,
961
+ ...y,
942
962
  "--strhl-row-min-height": u?.rowMinHeight
943
963
  },
944
964
  "aria-label": c.historyTitle,
945
965
  className: "flex flex-col gap-0.5",
946
- children: b(r)
947
- }) : i && e.length === 0 ? /* @__PURE__ */ H("div", {
948
- style: g,
966
+ children: x(r)
967
+ }) : i && e.length === 0 ? /* @__PURE__ */ W("div", {
968
+ style: y,
949
969
  className: "flex flex-col items-start gap-3",
950
- children: [/* @__PURE__ */ V("p", {
970
+ children: [/* @__PURE__ */ U("p", {
951
971
  role: "alert",
952
- className: v(m, Q.subtitleText),
972
+ className: v(h, Q.subtitleText),
953
973
  children: c.errorLabel
954
- }), /* @__PURE__ */ V(k, {
974
+ }), /* @__PURE__ */ U(A, {
955
975
  label: c.retryLabel,
956
976
  onClick: a
957
977
  })]
958
- }) : e.length === 0 ? /* @__PURE__ */ H("div", {
959
- style: g,
978
+ }) : e.length === 0 ? /* @__PURE__ */ W("div", {
979
+ style: y,
960
980
  className: "flex w-full flex-col items-center justify-center gap-2 py-4",
961
- children: [/* @__PURE__ */ V(Se, {
981
+ children: [/* @__PURE__ */ U(I, {
962
982
  size: 44,
963
- stroke: O,
983
+ stroke: k,
964
984
  className: Q.subtitleText,
965
985
  "aria-hidden": !0
966
- }), /* @__PURE__ */ V("p", {
986
+ }), /* @__PURE__ */ U("p", {
967
987
  role: "status",
968
988
  className: p,
969
989
  children: c.emptyLabel
970
990
  })]
971
- }) : /* @__PURE__ */ H("ul", {
991
+ }) : /* @__PURE__ */ W("ul", {
972
992
  style: {
973
- ...g,
993
+ ...y,
974
994
  "--strhl-row-min-height": u?.rowMinHeight
975
995
  },
976
996
  "aria-label": c.historyTitle,
977
997
  className: "flex flex-col gap-0.5",
978
998
  children: [
979
- e.map(y),
980
- n && b(r),
981
- i ? /* @__PURE__ */ H("li", {
999
+ e.map(b),
1000
+ n && x(r),
1001
+ i ? /* @__PURE__ */ W("li", {
982
1002
  className: "flex flex-col items-start gap-3 px-5 py-2",
983
- children: [/* @__PURE__ */ V("p", {
1003
+ children: [/* @__PURE__ */ U("p", {
984
1004
  role: "alert",
985
- className: v(m, Q.subtitleText),
1005
+ className: v(h, Q.subtitleText),
986
1006
  children: c.errorLabel
987
- }), /* @__PURE__ */ V(k, {
1007
+ }), /* @__PURE__ */ U(A, {
988
1008
  label: c.retryLabel,
989
1009
  onClick: a
990
1010
  })]
991
1011
  }) : l
992
1012
  ]
993
1013
  });
994
- }, ct = {
1014
+ }, lt = {
995
1015
  historyCard: "_historyCard_153p9_4",
996
1016
  subtitleText: "_subtitleText_153p9_8",
997
1017
  cardLayout: "_cardLayout_153p9_13"
998
- }, lt = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", sectionTitleClassName: h = "dial-body-semi-text", colors: g, styles: _ }) => {
999
- let y = e === et.Card, b = y ? v("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", ct.historyCard) : "pt-2", x = l ? /* @__PURE__ */ H("li", {
1000
- className: b,
1001
- children: [/* @__PURE__ */ V("p", {
1018
+ }, ut = ({ variant: e, labels: t, nextRunLabel: n, items: r, isLoading: i = !1, isLoadingMore: a = !1, skeletonCount: o = 6, error: s, onRetry: c, loadMoreError: l, onRetryLoadMore: u, hasMore: d = !1, onLoadMore: f, onRunClick: p, runTimestampClassName: m = "dial-small-text", runTimestampUnreadClassName: h = "dial-small-semi-text", sectionTitleClassName: g = "dial-body-semi-text", colors: _, styles: y }) => {
1019
+ let b = e === tt.Card, x = b ? v("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", lt.historyCard) : "pt-2", ee = l ? /* @__PURE__ */ W("li", {
1020
+ className: x,
1021
+ children: [/* @__PURE__ */ U("p", {
1002
1022
  role: "alert",
1003
1023
  children: t.historyLoadMoreErrorLabel ?? t.historyErrorLabel
1004
- }), u && /* @__PURE__ */ V(k, {
1024
+ }), u && /* @__PURE__ */ U(A, {
1005
1025
  label: t.historyRetryLabel,
1006
1026
  onClick: u,
1007
1027
  disabled: a
1008
1028
  })]
1009
- }) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */ V("li", {
1010
- className: b,
1011
- children: /* @__PURE__ */ V(k, {
1029
+ }) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */ U("li", {
1030
+ className: x,
1031
+ children: /* @__PURE__ */ U(A, {
1012
1032
  label: t.historyShowMoreLabel,
1013
1033
  onClick: f,
1014
1034
  disabled: a
1015
1035
  })
1016
- }) : void 0, S = n ? /* @__PURE__ */ V("p", {
1017
- className: v(m, ct.subtitleText),
1036
+ }) : void 0, S = n ? /* @__PURE__ */ U("p", {
1037
+ className: v(m, lt.subtitleText),
1018
1038
  children: n
1019
- }) : void 0, ee = t.historyLoadingMoreLabel ? /* @__PURE__ */ V("span", {
1039
+ }) : void 0, C = t.historyLoadingMoreLabel ? /* @__PURE__ */ U("span", {
1020
1040
  role: "status",
1021
1041
  "aria-live": "polite",
1022
1042
  className: "sr-only",
1023
1043
  children: a ? t.historyLoadingMoreLabel : ""
1024
- }) : void 0, te = /* @__PURE__ */ V(st, {
1044
+ }) : void 0, te = /* @__PURE__ */ U(ct, {
1025
1045
  items: r,
1026
1046
  isLoading: i,
1027
1047
  isLoadingMore: a,
@@ -1037,71 +1057,78 @@ var W = {
1037
1057
  runStatusLabels: t.runStatusLabels,
1038
1058
  unreadIndicatorLabel: t.unreadIndicatorLabel
1039
1059
  },
1040
- footer: x,
1060
+ footer: ee,
1041
1061
  styles: {
1042
- typography: { runTimestampClassName: m },
1043
- colors: _?.colors ?? g,
1044
- rowMinHeight: _?.rowMinHeight,
1045
- rowHoverBackground: _?.rowHoverBackground,
1046
- rowFocusBackground: _?.rowFocusBackground,
1047
- rowFocusOutline: _?.rowFocusOutline
1062
+ typography: {
1063
+ runTimestampClassName: m,
1064
+ runTimestampUnreadClassName: h
1065
+ },
1066
+ colors: y?.colors ?? _,
1067
+ rowMinHeight: y?.rowMinHeight,
1068
+ rowHoverBackground: y?.rowHoverBackground,
1069
+ rowFocusBackground: y?.rowFocusBackground,
1070
+ rowFocusOutline: y?.rowFocusOutline
1048
1071
  }
1049
1072
  });
1050
- return y ? /* @__PURE__ */ H("div", {
1051
- className: v("flex max-h-[var(--st-history-max-height,70vh)] w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", ct.historyCard, ct.cardLayout),
1052
- style: { "--st-history-max-height": _?.maxHeight },
1053
- children: [/* @__PURE__ */ H("div", {
1054
- className: v("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pb-2 pt-5", ct.historyCard),
1073
+ return b ? /* @__PURE__ */ W("div", {
1074
+ className: v("flex max-h-[var(--st-history-max-height,70vh)] w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", lt.historyCard, lt.cardLayout),
1075
+ style: { "--st-history-max-height": y?.maxHeight },
1076
+ children: [/* @__PURE__ */ W("div", {
1077
+ className: v("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", lt.historyCard),
1055
1078
  children: [
1056
- /* @__PURE__ */ V("h2", {
1057
- className: h,
1079
+ /* @__PURE__ */ U("h2", {
1080
+ className: g,
1058
1081
  children: t.historyTitle
1059
1082
  }),
1060
1083
  S,
1061
- ee
1084
+ C
1062
1085
  ]
1063
- }), /* @__PURE__ */ V("div", {
1086
+ }), /* @__PURE__ */ U("div", {
1064
1087
  className: "flex flex-1 flex-col gap-4 px-6 pb-2",
1065
1088
  children: te
1066
1089
  })]
1067
- }) : /* @__PURE__ */ H("div", {
1090
+ }) : /* @__PURE__ */ W("div", {
1068
1091
  className: "flex flex-col gap-4",
1069
1092
  children: [
1070
1093
  S,
1071
- ee,
1094
+ C,
1072
1095
  te
1073
1096
  ]
1074
1097
  });
1075
1098
  }, $ = {
1076
- container: "_container_1w44s_1",
1077
- header: "_header_1w44s_8",
1078
- headerActions: "_headerActions_1w44s_24",
1079
- detailsColumn: "_detailsColumn_1w44s_30",
1080
- subtitleText: "_subtitleText_1w44s_34",
1081
- desktopTitle: "_desktopTitle_1w44s_39",
1082
- desktopBadge: "_desktopBadge_1w44s_40",
1083
- mobileTitleRow: "_mobileTitleRow_1w44s_44"
1084
- }, ut = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: y = !1, error: x, onRetry: S, description: ee, modelLabel: te, repeatsLabel: C, activeWindowLabel: w, completedLabel: T, nextRunLabel: E, instructionsMarkdown: re, skillDisplayNames: ie, renderInstructions: oe, runs: se, runsIsLoading: ce = !1, runsIsLoadingMore: le = !1, runsSkeletonCount: de = 6, runsError: fe, onRunsRetry: A, runsLoadMoreError: pe, onRunsRetryLoadMore: j, runsHasMore: M = !1, onRunsLoadMore: _e, onRunClick: ve, styles: N, className: be, backIcon: xe, layout: P, historyStyles: Se }) => {
1085
- let { colors: F, typography: I } = N ?? {}, R = I?.titleClassName ?? "dial-h2-text", Te = I?.sectionTitleClassName ?? "dial-body-semi-text", Ee = I?.fieldLabelClassName ?? "dial-tiny-text", z = I?.fieldValueClassName ?? "dial-small-text", De = I?.runTimestampClassName ?? "dial-small-text", ke = _({
1086
- "--stdv-bg": F?.background,
1087
- "--stdv-header-border": F?.headerBorder,
1088
- "--stdv-details-border": F?.detailsColumnBorder,
1089
- "--stdv-subtitle-text": F?.subtitleText,
1090
- "--stdv-history-bg": F?.historyCardBackground
1091
- }), Ae = b(), [B, Ne] = je($e.Details), U = Oe(), W = o && !i ? e.startNowBusyLabel : void 0, G = [
1099
+ container: "_container_hdn5b_1",
1100
+ header: "_header_hdn5b_8",
1101
+ headerActions: "_headerActions_hdn5b_24",
1102
+ detailsColumn: "_detailsColumn_hdn5b_30",
1103
+ subtitleText: "_subtitleText_hdn5b_34",
1104
+ desktopTitle: "_desktopTitle_hdn5b_39",
1105
+ desktopBadge: "_desktopBadge_hdn5b_40",
1106
+ mobileTitleRow: "_mobileTitleRow_hdn5b_44",
1107
+ actionLabel: "_actionLabel_hdn5b_65",
1108
+ actionButton: "_actionButton_hdn5b_75",
1109
+ roundActionButton: "_roundActionButton_hdn5b_82",
1110
+ stickyTabs: "_stickyTabs_hdn5b_88"
1111
+ }, dt = ({ labels: e, onBack: t, onEdit: n, onStartNow: r, isStarting: i = !1, isStartNowDisabled: a = !1, isStartNowBusy: o = !1, onDelete: s, isDeleting: c = !1, isDeleted: l = !1, isCompleted: u = !1, isActive: d, isActiveUpdating: f = !1, isActiveDisabled: p = !1, activeDisabledReason: m, onActiveChange: h, displayName: g, isLoading: y = !1, error: x, onRetry: ee, description: S, modelLabel: C, repeatsLabel: te, activeWindowLabel: T, completedLabel: E, nextRunLabel: D, instructionsMarkdown: ne, skillDisplayNames: re, renderInstructions: ie, runs: oe, runsIsLoading: se = !1, runsIsLoadingMore: ce = !1, runsSkeletonCount: le = 6, runsError: de, onRunsRetry: j, runsLoadMoreError: fe, onRunsRetryLoadMore: pe, runsHasMore: M = !1, onRunsLoadMore: N, onRunClick: _e, styles: P, className: ve, backIcon: be, layout: F, historyStyles: xe }) => {
1112
+ let { colors: I, typography: L } = P ?? {}, R = L?.titleClassName ?? "dial-h2-text", Ce = L?.sectionTitleClassName ?? "dial-body-semi-text", Te = L?.fieldLabelClassName ?? "dial-tiny-text", B = L?.fieldValueClassName ?? "dial-small-text", Ee = L?.runTimestampClassName ?? "dial-small-text", De = _({
1113
+ "--stdv-bg": I?.background,
1114
+ "--stdv-header-border": I?.headerBorder,
1115
+ "--stdv-details-border": I?.detailsColumnBorder,
1116
+ "--stdv-subtitle-text": I?.subtitleText,
1117
+ "--stdv-history-bg": I?.historyCardBackground
1118
+ }), ke = b(), [V, H] = Ae(et.Details), Me = Oe(), G = o && !i ? e.startNowBusyLabel : void 0, Ne = [
1092
1119
  {
1093
- id: $e.Details,
1120
+ id: et.Details,
1094
1121
  label: e.detailsTitle
1095
1122
  },
1096
1123
  {
1097
- id: $e.Configuration,
1124
+ id: et.Configuration,
1098
1125
  label: e.configurationTitle
1099
1126
  },
1100
1127
  {
1101
- id: $e.History,
1128
+ id: et.History,
1102
1129
  label: e.historyTitle
1103
1130
  }
1104
- ], K = G.find((e) => e.id === B)?.label ?? e.detailsTitle, Pe = /* @__PURE__ */ V(it, {
1131
+ ], K = Ne.find((e) => e.id === V)?.label ?? e.detailsTitle, q = /* @__PURE__ */ U(at, {
1105
1132
  labels: {
1106
1133
  descriptionLabel: e.descriptionLabel,
1107
1134
  modelLabel: e.modelLabel,
@@ -1109,19 +1136,19 @@ var W = {
1109
1136
  activeWindowLabel: e.activeWindowLabel,
1110
1137
  completedFieldLabel: e.completedFieldLabel
1111
1138
  },
1112
- description: ee,
1113
- modelLabel: te,
1114
- repeatsLabel: C,
1115
- activeWindowLabel: w,
1116
- completedLabel: T,
1117
- fieldLabelClassName: Ee,
1118
- fieldValueClassName: z
1119
- }), q = /* @__PURE__ */ V(nt, {
1139
+ description: S,
1140
+ modelLabel: C,
1141
+ repeatsLabel: te,
1142
+ activeWindowLabel: T,
1143
+ completedLabel: E,
1144
+ fieldLabelClassName: Te,
1145
+ fieldValueClassName: B
1146
+ }), Pe = /* @__PURE__ */ U(rt, {
1120
1147
  instructionsLabel: e.instructionsLabel,
1121
1148
  skillLabel: e.skillLabel,
1122
- skillDisplayNames: ie,
1123
- instructionsMarkdown: re,
1124
- renderInstructions: oe,
1149
+ skillDisplayNames: re,
1150
+ instructionsMarkdown: ne,
1151
+ renderInstructions: ie,
1125
1152
  markdownLabels: {
1126
1153
  codeBlockCopyLabel: e.codeBlockCopyLabel,
1127
1154
  codeBlockCopiedLabel: e.codeBlockCopiedLabel,
@@ -1129,8 +1156,8 @@ var W = {
1129
1156
  tableScrollRegionAriaLabel: e.tableScrollRegionAriaLabel,
1130
1157
  mathScrollRegionAriaLabel: e.mathScrollRegionAriaLabel
1131
1158
  },
1132
- fieldLabelClassName: Ee
1133
- }), J = (t) => /* @__PURE__ */ V(lt, {
1159
+ fieldLabelClassName: Te
1160
+ }), J = (t) => /* @__PURE__ */ U(ut, {
1134
1161
  variant: t,
1135
1162
  labels: {
1136
1163
  historyTitle: e.historyTitle,
@@ -1143,256 +1170,362 @@ var W = {
1143
1170
  runStatusLabels: e.runStatusLabels,
1144
1171
  unreadIndicatorLabel: e.unreadIndicatorLabel
1145
1172
  },
1146
- nextRunLabel: E,
1147
- items: se,
1148
- isLoading: ce,
1149
- isLoadingMore: le,
1150
- skeletonCount: de,
1151
- error: fe,
1152
- onRetry: A,
1153
- loadMoreError: pe,
1154
- onRetryLoadMore: j,
1173
+ nextRunLabel: D,
1174
+ items: oe,
1175
+ isLoading: se,
1176
+ isLoadingMore: ce,
1177
+ skeletonCount: le,
1178
+ error: de,
1179
+ onRetry: j,
1180
+ loadMoreError: fe,
1181
+ onRetryLoadMore: pe,
1155
1182
  hasMore: M,
1156
- onLoadMore: _e,
1157
- onRunClick: ve,
1158
- runTimestampClassName: De,
1159
- sectionTitleClassName: Te,
1160
- colors: F,
1161
- styles: Se
1183
+ onLoadMore: N,
1184
+ onRunClick: _e,
1185
+ runTimestampClassName: Ee,
1186
+ sectionTitleClassName: Ce,
1187
+ colors: I,
1188
+ styles: xe
1162
1189
  });
1163
- return /* @__PURE__ */ H("div", {
1164
- style: ke,
1165
- className: v("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, be),
1190
+ return /* @__PURE__ */ W("div", {
1191
+ style: De,
1192
+ className: v("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, ve),
1166
1193
  children: [
1167
- /* @__PURE__ */ H("div", {
1168
- className: v("flex min-h-16 shrink-0 items-center justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:px-8 desktop:py-0", $.header),
1169
- children: [/* @__PURE__ */ H("div", {
1194
+ /* @__PURE__ */ W("div", {
1195
+ className: v("flex min-h-16 shrink-0 items-start justify-between gap-2 px-4 py-2 desktop:h-16 desktop:flex-nowrap desktop:items-center desktop:px-8 desktop:py-0", $.header),
1196
+ children: [/* @__PURE__ */ W("div", {
1170
1197
  className: "flex min-w-0 items-center gap-2",
1171
1198
  children: [
1172
- /* @__PURE__ */ V(ae, {
1173
- icon: xe === void 0 ? /* @__PURE__ */ V(ye, {
1174
- size: D.LG,
1199
+ /* @__PURE__ */ U(ae, {
1200
+ icon: be === void 0 ? /* @__PURE__ */ U(ye, {
1201
+ size: O.LG,
1175
1202
  className: "rtl:scale-x-[-1]",
1176
1203
  "aria-hidden": !0,
1177
- stroke: O
1178
- }) : xe,
1204
+ stroke: k
1205
+ }) : be,
1179
1206
  "aria-label": e.backAriaLabel,
1180
1207
  onClick: t
1181
1208
  }),
1182
- /* @__PURE__ */ V("h1", {
1209
+ /* @__PURE__ */ U("h1", {
1183
1210
  className: v("truncate", $.desktopTitle, R),
1184
1211
  children: g
1185
1212
  }),
1186
- l && /* @__PURE__ */ V("span", {
1187
- className: v("shrink-0", $.desktopBadge, z, $.subtitleText),
1213
+ l && /* @__PURE__ */ U("span", {
1214
+ className: v("shrink-0", $.desktopBadge, B, $.subtitleText),
1188
1215
  children: e.deletedStateLabel
1189
1216
  })
1190
1217
  ]
1191
- }), /* @__PURE__ */ H("div", {
1218
+ }), /* @__PURE__ */ W("div", {
1192
1219
  className: v("flex min-w-0 flex-1 flex-wrap items-center justify-end gap-2 desktop:flex-none desktop:flex-nowrap", $.headerActions),
1193
1220
  children: [
1194
- !l && !u && d !== void 0 && /* @__PURE__ */ H(Me, { children: [/* @__PURE__ */ V(he, {
1221
+ !l && !u && d !== void 0 && /* @__PURE__ */ W(je, { children: [/* @__PURE__ */ U(he, {
1195
1222
  id: "scheduled-task-active-switch",
1196
1223
  labelProps: { label: e.activeStatusLabel },
1197
1224
  isOn: d,
1198
1225
  disabled: f || p || c,
1199
1226
  onChange: (e) => h?.(e)
1200
- }), p && m && /* @__PURE__ */ V("span", {
1201
- className: v(z, $.subtitleText),
1227
+ }), p && m && /* @__PURE__ */ U("span", {
1228
+ className: v(B, $.subtitleText),
1202
1229
  children: m
1203
1230
  })] }),
1204
- !l && s && /* @__PURE__ */ V(k, {
1205
- variant: ne.Danger,
1231
+ !l && s && /* @__PURE__ */ U(A, {
1232
+ variant: w.Danger,
1206
1233
  label: e.deleteButtonLabel,
1207
- iconBefore: /* @__PURE__ */ V(we, {
1208
- size: D.SM,
1234
+ iconBefore: /* @__PURE__ */ U(we, {
1235
+ size: O.SM,
1209
1236
  "aria-hidden": !0,
1210
- stroke: O
1237
+ stroke: k
1211
1238
  }),
1212
1239
  onClick: s,
1213
1240
  disabled: c,
1214
- className: "min-h-11 shrink-0"
1241
+ textClassName: $.actionLabel,
1242
+ className: v("min-h-11 shrink-0", $.actionButton)
1215
1243
  }),
1216
- !l && n && /* @__PURE__ */ V(ue, {
1244
+ !l && n && /* @__PURE__ */ U(ue, {
1217
1245
  label: e.editButtonLabel,
1218
- iconBefore: /* @__PURE__ */ V(Ce, {
1219
- size: D.SM,
1246
+ iconBefore: /* @__PURE__ */ U(Se, {
1247
+ size: O.SM,
1220
1248
  "aria-hidden": !0,
1221
- stroke: O
1249
+ stroke: k
1222
1250
  }),
1223
1251
  onClick: n,
1224
1252
  disabled: c,
1225
- className: "min-h-11 shrink-0"
1253
+ textClassName: $.actionLabel,
1254
+ className: v("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1226
1255
  }),
1227
- !l && r && e.startNowButtonLabel && /* @__PURE__ */ H("div", {
1256
+ !l && r && e.startNowButtonLabel && /* @__PURE__ */ W("div", {
1228
1257
  "aria-busy": i,
1229
- children: [W && /* @__PURE__ */ V("span", {
1230
- id: U,
1258
+ children: [G && /* @__PURE__ */ U("span", {
1259
+ id: Me,
1231
1260
  className: "sr-only",
1232
- children: W
1233
- }), /* @__PURE__ */ V(ue, {
1261
+ children: G
1262
+ }), /* @__PURE__ */ U(ue, {
1234
1263
  label: i ? e.startingLabel ?? e.startNowButtonLabel : e.startNowButtonLabel,
1235
- iconBefore: /* @__PURE__ */ V(L, {
1236
- size: D.SM,
1264
+ iconBefore: /* @__PURE__ */ U(z, {
1265
+ size: O.SM,
1237
1266
  "aria-hidden": !0,
1238
- stroke: O
1267
+ stroke: k
1239
1268
  }),
1240
1269
  onClick: r,
1241
1270
  disabled: c || i || a || o,
1242
- "aria-describedby": W ? U : void 0,
1243
- tooltipProps: W ? { tooltip: W } : void 0,
1244
- className: "min-h-11 shrink-0"
1271
+ "aria-describedby": G ? Me : void 0,
1272
+ tooltipProps: G ? { tooltip: G } : void 0,
1273
+ textClassName: $.actionLabel,
1274
+ className: v("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
1245
1275
  })]
1246
1276
  })
1247
1277
  ]
1248
1278
  })]
1249
1279
  }),
1250
- /* @__PURE__ */ H("div", {
1251
- className: v("min-w-0 items-center gap-2 px-8 py-3", $.mobileTitleRow),
1252
- children: [/* @__PURE__ */ V("h1", {
1280
+ /* @__PURE__ */ W("div", {
1281
+ className: v("min-w-0 items-center gap-2 px-4 py-3", $.mobileTitleRow),
1282
+ children: [/* @__PURE__ */ U("h1", {
1253
1283
  className: v("truncate", R),
1254
1284
  children: g
1255
- }), l && /* @__PURE__ */ V("span", {
1256
- className: v("shrink-0", z, $.subtitleText),
1285
+ }), l && /* @__PURE__ */ U("span", {
1286
+ className: v("shrink-0", B, $.subtitleText),
1257
1287
  children: e.deletedStateLabel
1258
1288
  })]
1259
1289
  }),
1260
- e.activeStatusAnnouncement != null && /* @__PURE__ */ V("span", {
1290
+ e.activeStatusAnnouncement != null && /* @__PURE__ */ U("span", {
1261
1291
  role: "status",
1262
1292
  "aria-live": "polite",
1263
1293
  className: "sr-only",
1264
1294
  children: e.activeStatusAnnouncement
1265
1295
  }),
1266
- e.startStatusAnnouncement != null && /* @__PURE__ */ V("span", {
1296
+ e.startStatusAnnouncement != null && /* @__PURE__ */ U("span", {
1267
1297
  role: "status",
1268
1298
  "aria-live": "polite",
1269
1299
  className: "sr-only",
1270
1300
  children: e.startStatusAnnouncement
1271
1301
  }),
1272
- y && /* @__PURE__ */ V("div", {
1302
+ y && /* @__PURE__ */ U("div", {
1273
1303
  className: "flex flex-1 items-center justify-center",
1274
- children: /* @__PURE__ */ V(me, {})
1304
+ children: /* @__PURE__ */ U(me, {})
1275
1305
  }),
1276
- !y && x && /* @__PURE__ */ H("div", {
1306
+ !y && x && /* @__PURE__ */ W("div", {
1277
1307
  className: "flex flex-1 flex-col items-center justify-center gap-3",
1278
- children: [/* @__PURE__ */ V("p", {
1279
- className: v(z, $.subtitleText),
1308
+ children: [/* @__PURE__ */ U("p", {
1309
+ className: v(B, $.subtitleText),
1280
1310
  children: e.errorLabel
1281
- }), /* @__PURE__ */ V(k, {
1311
+ }), /* @__PURE__ */ U(A, {
1282
1312
  label: e.retryLabel,
1283
- onClick: S
1313
+ onClick: ee
1284
1314
  })]
1285
1315
  }),
1286
- !y && !x && (Ae ? /* @__PURE__ */ H("div", {
1316
+ !y && !x && (ke ? /* @__PURE__ */ W("div", {
1287
1317
  className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
1288
- children: [/* @__PURE__ */ V(ge, {
1289
- ariaLabel: e.tabsAriaLabel ?? "Scheduled task sections",
1290
- className: "px-8",
1291
- tabs: G,
1292
- activeTabId: B,
1293
- onTabChange: Ne
1294
- }), /* @__PURE__ */ V("div", {
1318
+ children: [/* @__PURE__ */ U("div", {
1319
+ className: v("sticky top-0 z-10", $.stickyTabs),
1320
+ children: /* @__PURE__ */ U(ge, {
1321
+ ariaLabel: e.tabsAriaLabel ?? "Scheduled task sections",
1322
+ className: "px-4",
1323
+ tabs: Ne,
1324
+ activeTabId: V,
1325
+ onTabChange: H
1326
+ })
1327
+ }), /* @__PURE__ */ U("div", {
1295
1328
  role: "tabpanel",
1296
1329
  "aria-label": K,
1297
- className: "flex flex-1 flex-col gap-5 px-8 py-6",
1298
- children: B === $e.Configuration ? q : B === $e.History ? J(et.Flow) : Pe
1330
+ className: "flex flex-1 flex-col gap-5 px-4 py-6",
1331
+ children: V === et.Configuration ? Pe : V === et.History ? J(tt.Flow) : q
1299
1332
  })]
1300
- }) : /* @__PURE__ */ H("div", {
1333
+ }) : /* @__PURE__ */ W("div", {
1301
1334
  style: {
1302
1335
  flexDirection: "row",
1303
- "--st-details-width": P?.detailsWidth,
1304
- "--st-history-width": P?.historyWidth,
1305
- "--st-history-max-height": P?.historyMaxHeight,
1306
- "--st-configuration-min-width": P?.configurationMinWidth
1336
+ "--st-details-width": F?.detailsWidth,
1337
+ "--st-history-width": F?.historyWidth,
1338
+ "--st-history-max-height": F?.historyMaxHeight,
1339
+ "--st-configuration-min-width": F?.configurationMinWidth
1307
1340
  },
1308
1341
  className: "flex min-h-0 flex-1 overflow-y-auto desktop:overflow-hidden",
1309
1342
  children: [
1310
- /* @__PURE__ */ H("div", {
1343
+ /* @__PURE__ */ W("div", {
1311
1344
  role: "group",
1312
1345
  "aria-label": e.detailsTitle,
1313
1346
  style: {
1314
- flex: `0 1 ${P?.detailsWidth ?? "360px"}`,
1347
+ flex: `0 1 ${F?.detailsWidth ?? "360px"}`,
1315
1348
  maxWidth: "100%"
1316
1349
  },
1317
1350
  className: v("flex min-h-0 w-full flex-col gap-5 overflow-y-auto border-e px-8 py-6", $.detailsColumn),
1318
- children: [/* @__PURE__ */ V("h2", {
1319
- className: Te,
1351
+ children: [/* @__PURE__ */ U("h2", {
1352
+ className: Ce,
1320
1353
  children: e.detailsTitle
1321
- }), Pe]
1354
+ }), q]
1322
1355
  }),
1323
- /* @__PURE__ */ H("div", {
1356
+ /* @__PURE__ */ W("div", {
1324
1357
  style: {
1325
- flex: `1 1 ${P?.configurationMinWidth ?? "320px"}`,
1358
+ flex: `1 1 ${F?.configurationMinWidth ?? "320px"}`,
1326
1359
  minWidth: 0
1327
1360
  },
1328
1361
  className: "flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto px-8 py-6",
1329
- children: [/* @__PURE__ */ V("h2", {
1330
- className: Te,
1362
+ children: [/* @__PURE__ */ U("h2", {
1363
+ className: Ce,
1331
1364
  children: e.configurationTitle
1332
- }), q]
1365
+ }), Pe]
1333
1366
  }),
1334
- /* @__PURE__ */ V("div", {
1367
+ /* @__PURE__ */ U("div", {
1335
1368
  style: {
1336
- flex: `0 1 calc(${P?.historyWidth ?? "360px"} + 48px)`,
1369
+ flex: `0 1 calc(${F?.historyWidth ?? "360px"} + 48px)`,
1337
1370
  minWidth: 0
1338
1371
  },
1339
1372
  className: "flex min-h-0 w-full items-start justify-center overflow-y-auto p-6",
1340
- children: J(et.Card)
1373
+ children: J(tt.Card)
1341
1374
  })
1342
1375
  ]
1343
1376
  }))
1344
1377
  ]
1345
1378
  });
1346
- }, dt = ({ modelLabel: e, skillLabel: t, skillDisplayNames: n, instructionsLabel: r, modelDisplayName: i, instructionsMarkdown: a, renderInstructions: o, markdownLabels: s, styles: c }) => {
1347
- let l = c?.typography?.fieldLabelClassName ?? "dial-tiny-text", u = c?.typography?.fieldValueClassName ?? "dial-body-text";
1348
- return /* @__PURE__ */ H("div", {
1379
+ }, ft = {
1380
+ h1: "dial-small-semi-text mb-3 mt-6 first:mt-0 [text-wrap:balance]",
1381
+ h2: "dial-small-semi-text mb-2 mt-5 first:mt-0 [text-wrap:balance]",
1382
+ h3: "dial-small-semi-text mb-2 mt-4 first:mt-0 [text-wrap:balance]",
1383
+ h4: "dial-small-semi-text mb-2 mt-4 first:mt-0 [text-wrap:balance]",
1384
+ h5: "dial-small-semi-text mb-2 mt-4 first:mt-0 [text-wrap:balance]",
1385
+ h6: "dial-small-semi-text mb-2 mt-4 first:mt-0 [text-wrap:balance]",
1386
+ p: "dial-small-text mb-3 break-words [overflow-wrap:anywhere] [text-wrap:pretty] last:mb-0",
1387
+ ul: "dial-small-text mb-3 space-y-1",
1388
+ ol: "dial-small-text mb-3 space-y-1",
1389
+ codeInline: "mx-0.5 px-1.5 break-words [overflow-wrap:anywhere]",
1390
+ blockquote: "my-4",
1391
+ link: "break-words [overflow-wrap:anywhere]",
1392
+ tableWrapper: "my-4",
1393
+ mathBlock: "my-4"
1394
+ }, pt = ({ modelLabel: e, skillLabel: t, skillDisplayNames: n, instructionsLabel: r, modelDisplayName: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s = ft, markdownLabels: c, styles: l }) => {
1395
+ let u = l?.typography?.fieldLabelClassName ?? "dial-tiny-text text-secondary", d = l?.typography?.fieldValueClassName ?? "dial-small-text";
1396
+ return /* @__PURE__ */ W("div", {
1349
1397
  className: "flex flex-col gap-3",
1350
1398
  children: [
1351
- i && /* @__PURE__ */ H("div", {
1399
+ i && /* @__PURE__ */ W("div", {
1352
1400
  className: "flex flex-col gap-2",
1353
- children: [/* @__PURE__ */ V("span", {
1354
- className: l,
1355
- children: e
1356
- }), /* @__PURE__ */ V("p", {
1401
+ children: [/* @__PURE__ */ U("span", {
1357
1402
  className: u,
1403
+ children: e
1404
+ }), /* @__PURE__ */ U("p", {
1405
+ className: d,
1358
1406
  children: i
1359
1407
  })]
1360
1408
  }),
1361
- !!n?.length && /* @__PURE__ */ H("div", {
1409
+ !!n?.length && /* @__PURE__ */ W("div", {
1362
1410
  className: "flex min-w-0 flex-col gap-2",
1363
- children: [/* @__PURE__ */ V("span", {
1364
- className: l,
1411
+ children: [/* @__PURE__ */ U("span", {
1412
+ className: u,
1365
1413
  children: t
1366
- }), /* @__PURE__ */ V("p", {
1367
- className: `${u} whitespace-normal break-all`,
1368
- children: n?.map((e, t) => /* @__PURE__ */ V("span", {
1414
+ }), /* @__PURE__ */ U("p", {
1415
+ className: v(d, "break-all whitespace-normal"),
1416
+ children: n?.map((e, t) => /* @__PURE__ */ U("span", {
1369
1417
  className: "block",
1370
1418
  children: e
1371
1419
  }, `${t}:${e}`))
1372
1420
  })]
1373
1421
  }),
1374
- a && /* @__PURE__ */ H("div", {
1422
+ a && /* @__PURE__ */ W("div", {
1375
1423
  className: "flex flex-col gap-2",
1376
- children: [/* @__PURE__ */ V("span", {
1377
- className: l,
1424
+ children: [/* @__PURE__ */ U("span", {
1425
+ className: u,
1378
1426
  children: r
1379
- }), ((e) => o ? o(e) : /* @__PURE__ */ V(p, {
1427
+ }), ((e) => o ? o(e) : /* @__PURE__ */ U(p, {
1380
1428
  content: e,
1381
- ...s
1429
+ classNames: s,
1430
+ ...c
1382
1431
  }))(a)]
1383
1432
  })
1384
1433
  ]
1385
1434
  });
1386
- }, ft = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ V(l, {
1435
+ }, mt = ({ className: e, children: t }) => /* @__PURE__ */ U("span", {
1436
+ className: v(e, "block truncate py-1"),
1437
+ children: t
1438
+ }), ht = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, hasMore: s = !1, onLoadMore: c, currentRunId: l, onRunClick: u, labels: d, titleClassName: f = "dial-tiny-semi-text", contentClassName: p = "ps-3" }) => {
1439
+ let [m, h] = Ae(!0);
1440
+ De(() => {
1441
+ h(!0);
1442
+ }, [e]);
1443
+ let g = s && !n && c && d.showMoreLabel ? /* @__PURE__ */ U("li", {
1444
+ className: "pt-2",
1445
+ children: /* @__PURE__ */ U(A, {
1446
+ variant: w.Primary,
1447
+ label: d.showMoreLabel,
1448
+ onClick: c,
1449
+ disabled: r
1450
+ })
1451
+ }) : void 0;
1452
+ return /* @__PURE__ */ U(S, {
1453
+ title: /* @__PURE__ */ U(mt, {
1454
+ className: f,
1455
+ children: d.title
1456
+ }),
1457
+ expanded: m,
1458
+ onToggle: h,
1459
+ contentClassName: p,
1460
+ children: /* @__PURE__ */ U(ct, {
1461
+ items: t,
1462
+ isLoading: n,
1463
+ isLoadingMore: r,
1464
+ skeletonCount: i,
1465
+ error: a,
1466
+ onRetry: o,
1467
+ currentRunId: l,
1468
+ onRunClick: u,
1469
+ footer: g,
1470
+ labels: {
1471
+ historyTitle: d.title,
1472
+ emptyLabel: d.emptyLabel,
1473
+ errorLabel: d.errorLabel,
1474
+ retryLabel: d.retryLabel,
1475
+ runStatusLabels: d.runStatusLabels,
1476
+ currentRunLabel: d.currentRunLabel,
1477
+ unreadIndicatorLabel: d.unreadIndicatorLabel
1478
+ }
1479
+ })
1480
+ });
1481
+ }, gt = /* @__PURE__ */ function(e) {
1482
+ return e.Ready = "ready", e.Error = "error", e.Unavailable = "unavailable", e;
1483
+ }({}), _t = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, skillDisplayNames: i, instructionsMarkdown: a, renderInstructions: o, instructionsClassNames: s, markdownLabels: c, summaryStyles: l, labels: u, titleClassName: d = "dial-tiny-semi-text", unavailableTextClassName: f = "dial-body-text text-secondary" }) => {
1484
+ let [p, m] = Ae(!1);
1485
+ De(() => {
1486
+ m(!1);
1487
+ }, [e]);
1488
+ let h = t === "error" || t === "unavailable" ? /* @__PURE__ */ W("div", {
1489
+ className: "flex flex-col items-start gap-2",
1490
+ children: [/* @__PURE__ */ U("p", {
1491
+ role: "alert",
1492
+ className: f,
1493
+ children: u.unavailableLabel
1494
+ }), t === "error" && n && /* @__PURE__ */ U(A, {
1495
+ label: u.retryLabel,
1496
+ onClick: n
1497
+ })]
1498
+ }) : /* @__PURE__ */ U(pt, {
1499
+ modelLabel: u.modelLabel,
1500
+ instructionsLabel: u.instructionsLabel,
1501
+ skillLabel: u.skillLabel,
1502
+ skillDisplayNames: i,
1503
+ modelDisplayName: r,
1504
+ instructionsMarkdown: a,
1505
+ renderInstructions: o,
1506
+ instructionsClassNames: s,
1507
+ markdownLabels: c,
1508
+ styles: l
1509
+ });
1510
+ return /* @__PURE__ */ U(S, {
1511
+ title: /* @__PURE__ */ U(mt, {
1512
+ className: d,
1513
+ children: u.title
1514
+ }),
1515
+ expanded: p,
1516
+ onToggle: m,
1517
+ children: h
1518
+ });
1519
+ }, vt = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ U(l, {
1387
1520
  ...s,
1388
- variant: E.Danger,
1521
+ variant: ne.Danger,
1389
1522
  popupClassName: o?.popupClassName,
1390
1523
  titleClassName: o?.titleClassName,
1391
1524
  messageClassName: o?.messageClassName ?? "dial-body-paragraph-text",
1392
1525
  message: r,
1393
1526
  isLoading: a,
1394
1527
  loadingStatusLabel: i,
1395
- identity: /* @__PURE__ */ V(h, { children: /* @__PURE__ */ V(u, {
1528
+ identity: /* @__PURE__ */ U(h, { children: /* @__PURE__ */ U(u, {
1396
1529
  icon: t,
1397
1530
  typeLabel: n,
1398
1531
  name: e,
@@ -1400,4 +1533,4 @@ var W = {
1400
1533
  }) })
1401
1534
  });
1402
1535
  //#endregion
1403
- export { r as DESCRIPTION_MAX_LENGTH, W as SCHEDULED_TASKS_CLASS, Ie as ScheduledTaskCard, Ve as ScheduledTaskCardGrid, Be as ScheduledTaskCardSkeleton, Qe as ScheduledTaskCreateForm, ft as ScheduledTaskDeleteConfirmation, ut as ScheduledTaskDetailView, dt as ScheduledTaskDetailsSummary, lt as ScheduledTaskHistorySection, K as ScheduledTaskPresentationStatus, t as ScheduledTaskRepeat, st as ScheduledTaskRunHistoryList, at as ScheduledTaskRunStatus, G as ScheduledTaskStatus, Ge as ScheduledTasks, Ke as ScheduledTasksSortKey, c as TIME_OF_DAY_PATTERN, Pe as getScheduledTaskStatus, Je as hasScheduledTaskFormChanges };
1536
+ export { r as DESCRIPTION_MAX_LENGTH, Ne as SCHEDULED_TASKS_CLASS, Le as ScheduledTaskCard, He as ScheduledTaskCardGrid, Ve as ScheduledTaskCardSkeleton, _t as ScheduledTaskConversationDetailsSection, gt as ScheduledTaskConversationDetailsState, ht as ScheduledTaskConversationHistorySection, $e as ScheduledTaskCreateForm, vt as ScheduledTaskDeleteConfirmation, dt as ScheduledTaskDetailView, pt as ScheduledTaskDetailsSummary, ut as ScheduledTaskHistorySection, q as ScheduledTaskPresentationStatus, t as ScheduledTaskRepeat, ct as ScheduledTaskRunHistoryList, ot as ScheduledTaskRunStatus, K as ScheduledTaskStatus, Ke as ScheduledTasks, qe as ScheduledTasksSortKey, c as TIME_OF_DAY_PATTERN, Pe as getScheduledTaskStatus, Ye as hasScheduledTaskFormChanges };