@epam/ai-dial-scheduled-tasks 1.3.0-dev.296 → 1.3.0-dev.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ScheduledTaskConfigurationSection/ScheduledTaskConfigurationSection.d.ts.map +1 -1
- package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts +4 -0
- package/components/ScheduledTaskConversationDetailsSection/ScheduledTaskConversationDetailsSection.d.ts.map +1 -1
- package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts +2 -0
- package/components/ScheduledTaskConversationHistorySection/ScheduledTaskConversationHistorySection.d.ts.map +1 -1
- package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
- package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
- package/components/ScheduledTaskDetailsSection/ScheduledTaskDetailsSection.d.ts.map +1 -1
- package/components/ScheduledTaskDetailsSummary/ScheduledTaskDetailsSummary.d.ts.map +1 -1
- package/components/ScheduledTaskHistorySection/ScheduledTaskHistorySection.d.ts.map +1 -1
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts +4 -3
- package/components/ScheduledTaskRunHistoryList/ScheduledTaskRunHistoryList.d.ts.map +1 -1
- package/index.css +2 -2
- package/index.js +711 -663
- package/models/scheduled-task-configuration-section-props.d.ts +2 -0
- package/models/scheduled-task-configuration-section-props.d.ts.map +1 -1
- package/models/scheduled-task-create-form-props.d.ts +2 -0
- package/models/scheduled-task-create-form-props.d.ts.map +1 -1
- package/models/scheduled-task-detail-view-props.d.ts +6 -0
- package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
- package/models/scheduled-task-details-section-props.d.ts +3 -0
- package/models/scheduled-task-details-section-props.d.ts.map +1 -1
- package/models/scheduled-task-details-summary-props.d.ts +4 -0
- package/models/scheduled-task-details-summary-props.d.ts.map +1 -1
- package/models/scheduled-task-history-section-props.d.ts +11 -1
- package/models/scheduled-task-history-section-props.d.ts.map +1 -1
- package/models/scheduled-task-run-history-list-props.d.ts +11 -1
- package/models/scheduled-task-run-history-list-props.d.ts.map +1 -1
- package/models/scheduled-task-run-item.d.ts +1 -1
- package/models/scheduled-task-run-item.d.ts.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
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, u as l } from "./calendar-value-Ds0AiQSR.js";
|
|
2
|
-
import { COMPACT_MARKDOWN_CLASS_NAMES as u, ConfirmationDialog as d, ConfirmationIdentityRow as f, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as p, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as m, MDMessageViewer as h, PanelEmptyState as g, ResourceSummary as _, TextRefinementField as v, buildCssVars as y, mergeClasses as b, useAvailableHeightCap as x, useControlErrorAssociation as S, useIsMobile as C, useTextRefinement as w, useUnsavedChangesGuard as
|
|
3
|
-
import { Accordion as
|
|
4
|
-
import { IconAlertTriangle as
|
|
5
|
-
import { Suspense as
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import { BuilderFormContainer as
|
|
8
|
-
import { LazyMarkdownEditor as
|
|
2
|
+
import { COMPACT_MARKDOWN_CLASS_NAMES as u, ConfirmationDialog as d, ConfirmationIdentityRow as f, MARKDOWN_EDITOR_MAX_HEIGHT_CLASS_NAME as p, MARKDOWN_EDITOR_PREVIEW_LIST_CLASS_NAME as m, MDMessageViewer as h, PanelEmptyState as g, ResourceSummary as _, TextRefinementField as v, buildCssVars as y, mergeClasses as b, useAvailableHeightCap as x, useControlErrorAssociation as S, useIsMobile as C, useTextRefinement as w, useUnsavedChangesGuard as T } from "@epam/ai-dial-chat-shared";
|
|
3
|
+
import { Accordion as E, Button as D, ButtonAppearance as ee, ButtonDropdown as te, ButtonVariant as ne, Calendar as re, CalendarMode as O, CardShell as ie, ConfirmationPopupVariant as ae, DIAL_ICON_SIZE as k, DIAL_KIT_ICON_STROKE as A, ElementSize as oe, EllipsisTooltip as se, ErrorMessageNotification as ce, ErrorText as j, FolderPath as le, GhostButton as M, GhostIconButton as N, Highlight as ue, Input as de, Label as fe, LinkButton as pe, LiveRegion as P, LiveRegionElement as F, LiveRegionPoliteness as I, MenuItemMark as me, NeutralButton as L, NoDataContent as he, Notification as ge, NotificationSurface as _e, NotificationType as ve, NotificationVariant as R, NumberInput as ye, PrimaryButton as z, Search as B, Select as be, Skeleton as V, SkeletonVariant as H, Spinner as xe, Switch as Se, Tabs as Ce, Textarea as we, WarningMessageNotification as Te } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { IconAlertTriangle as Ee, IconArrowNarrowLeft as De, IconArrowRight as Oe, IconArrowsSort as U, IconCheck as W, IconChevronDown as ke, IconCircleX as Ae, IconPencilMinus as je, IconPlayerPause as Me, IconPlayerPlay as Ne, IconPlus as G, IconTrashX as Pe } from "@tabler/icons-react";
|
|
5
|
+
import { Suspense as Fe, lazy as Ie, memo as Le, useCallback as Re, useEffect as ze, useId as K, useLayoutEffect as Be, useMemo as Ve, useRef as He, useState as Ue } from "react";
|
|
6
|
+
import { Fragment as q, jsx as J, jsxs as Y } from "react/jsx-runtime";
|
|
7
|
+
import { BuilderFormContainer as We } from "@epam/ai-dial-builder-form";
|
|
8
|
+
import { LazyMarkdownEditor as Ge } from "@epam/ai-dial-ui-kit/editors";
|
|
9
9
|
//#region src/models/scheduled-task-card-grid-props.ts
|
|
10
|
-
var
|
|
10
|
+
var Ke = "1180px", qe = {
|
|
11
11
|
card: "dial-scheduled-tasks-card",
|
|
12
12
|
cardGrid: "dial-scheduled-tasks-card-grid",
|
|
13
13
|
refineFeedback: "dial-scheduled-tasks-refine-feedback"
|
|
14
|
-
},
|
|
14
|
+
}, X = /* @__PURE__ */ function(e) {
|
|
15
15
|
return e.Scheduled = "scheduled", e.Paused = "paused", e.Completed = "completed", e;
|
|
16
|
-
}({}),
|
|
16
|
+
}({}), Je = /* @__PURE__ */ function(e) {
|
|
17
17
|
return e.Active = "active", e.Paused = "paused", e.Completed = "completed", e;
|
|
18
|
-
}({}),
|
|
18
|
+
}({}), Ye = (e) => {
|
|
19
19
|
switch (e.presentationStatus) {
|
|
20
|
-
case
|
|
21
|
-
case
|
|
22
|
-
case
|
|
20
|
+
case Je.Active: return X.Scheduled;
|
|
21
|
+
case Je.Paused: return X.Paused;
|
|
22
|
+
case Je.Completed: return X.Completed;
|
|
23
23
|
}
|
|
24
|
-
return e.isCompleted ?
|
|
25
|
-
},
|
|
24
|
+
return e.isCompleted ? X.Completed : e.isActive === !1 ? X.Paused : X.Scheduled;
|
|
25
|
+
}, Xe = {
|
|
26
26
|
schedulePill: "_schedulePill_1cwco_1",
|
|
27
27
|
scheduleLabel: "_scheduleLabel_1cwco_6",
|
|
28
28
|
pausedPill: "_pausedPill_1cwco_10",
|
|
@@ -30,34 +30,34 @@ var qe = "1180px", Je = {
|
|
|
30
30
|
completedPill: "_completedPill_1cwco_19",
|
|
31
31
|
completedLabel: "_completedLabel_1cwco_24"
|
|
32
32
|
}, Ze = {
|
|
33
|
-
[
|
|
33
|
+
[X.Scheduled]: {
|
|
34
34
|
pillClassName: "inline-block rounded-lg border px-2 py-1",
|
|
35
|
-
wrapperClassName:
|
|
36
|
-
labelClassName:
|
|
35
|
+
wrapperClassName: Xe.schedulePill,
|
|
36
|
+
labelClassName: Xe.scheduleLabel
|
|
37
37
|
},
|
|
38
|
-
[
|
|
38
|
+
[X.Paused]: {
|
|
39
39
|
pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
|
|
40
|
-
wrapperClassName:
|
|
41
|
-
labelClassName:
|
|
42
|
-
renderIcon: () => /* @__PURE__ */
|
|
43
|
-
size:
|
|
40
|
+
wrapperClassName: Xe.pausedPill,
|
|
41
|
+
labelClassName: Xe.pausedLabel,
|
|
42
|
+
renderIcon: () => /* @__PURE__ */ J(Me, {
|
|
43
|
+
size: k.SM,
|
|
44
44
|
"aria-hidden": !0,
|
|
45
|
-
stroke:
|
|
45
|
+
stroke: A
|
|
46
46
|
})
|
|
47
47
|
},
|
|
48
|
-
[
|
|
48
|
+
[X.Completed]: {
|
|
49
49
|
pillClassName: "inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
|
|
50
|
-
wrapperClassName:
|
|
51
|
-
labelClassName:
|
|
52
|
-
renderIcon: () => /* @__PURE__ */
|
|
53
|
-
size:
|
|
50
|
+
wrapperClassName: Xe.completedPill,
|
|
51
|
+
labelClassName: Xe.completedLabel,
|
|
52
|
+
renderIcon: () => /* @__PURE__ */ J(W, {
|
|
53
|
+
size: k.SM,
|
|
54
54
|
"aria-hidden": !0,
|
|
55
|
-
stroke:
|
|
55
|
+
stroke: A
|
|
56
56
|
})
|
|
57
57
|
}
|
|
58
58
|
}, Qe = ({ status: e, text: t, textClassName: n = "dial-tiny-text", className: r }) => {
|
|
59
59
|
let { pillClassName: i, wrapperClassName: a, labelClassName: o, renderIcon: s } = Ze[e];
|
|
60
|
-
return /* @__PURE__ */
|
|
60
|
+
return /* @__PURE__ */ Y("span", {
|
|
61
61
|
className: b(i, n, a, o, r),
|
|
62
62
|
children: [s && s(), t]
|
|
63
63
|
});
|
|
@@ -70,20 +70,20 @@ var qe = "1180px", Je = {
|
|
|
70
70
|
locationDivider: "_locationDivider_7p2ui_23",
|
|
71
71
|
card: "_card_7p2ui_34"
|
|
72
72
|
}, et = ({ item: e, searchQuery: t = "", onCardClick: n, labels: r, styles: i, className: a }) => {
|
|
73
|
-
let o = C(), s = e.newBadgeLabel ?? 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-paragraph-text", m = d?.scheduleLabelClassName ?? "dial-tiny-text", h = d?.pausedBadgeClassName ?? "dial-tiny-text", g = d?.completedBadgeClassName ?? "dial-tiny-text", _ = d?.locationLabelClassName ?? "dial-tiny-text", v = d?.locationLeafClassName ?? "dial-tiny-semi-text", x = d?.newBadgeClassName ?? "dial-tiny-semi-text", S =
|
|
74
|
-
[
|
|
73
|
+
let o = C(), s = e.newBadgeLabel ?? 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-paragraph-text", m = d?.scheduleLabelClassName ?? "dial-tiny-text", h = d?.pausedBadgeClassName ?? "dial-tiny-text", g = d?.completedBadgeClassName ?? "dial-tiny-text", _ = d?.locationLabelClassName ?? "dial-tiny-text", v = d?.locationLeafClassName ?? "dial-tiny-semi-text", x = d?.newBadgeClassName ?? "dial-tiny-semi-text", S = Ye(e), { text: w, textClassName: T } = {
|
|
74
|
+
[X.Scheduled]: {
|
|
75
75
|
text: e.scheduleLabel,
|
|
76
76
|
textClassName: m
|
|
77
77
|
},
|
|
78
|
-
[
|
|
78
|
+
[X.Paused]: {
|
|
79
79
|
text: c,
|
|
80
80
|
textClassName: h
|
|
81
81
|
},
|
|
82
|
-
[
|
|
82
|
+
[X.Completed]: {
|
|
83
83
|
text: l,
|
|
84
84
|
textClassName: g
|
|
85
85
|
}
|
|
86
|
-
}[S],
|
|
86
|
+
}[S], E = y({
|
|
87
87
|
"--stc-title-text": u?.titleText,
|
|
88
88
|
"--stc-desc-text": u?.descriptionText,
|
|
89
89
|
"--stc-pill-bg": u?.schedulePillBackground,
|
|
@@ -100,46 +100,46 @@ var qe = "1180px", Je = {
|
|
|
100
100
|
"--stc-completed-bg": u?.completedBadgeBackground,
|
|
101
101
|
"--stc-completed-border": u?.completedBadgeBorder,
|
|
102
102
|
"--stc-completed-text": u?.completedBadgeText
|
|
103
|
-
}),
|
|
103
|
+
}), D = n ? {
|
|
104
104
|
tabIndex: 0,
|
|
105
105
|
onClick: () => n(e.id),
|
|
106
106
|
onKeyDown: (t) => {
|
|
107
107
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), n(e.id));
|
|
108
108
|
}
|
|
109
109
|
} : {};
|
|
110
|
-
return /* @__PURE__ */
|
|
110
|
+
return /* @__PURE__ */ Y(ie, {
|
|
111
111
|
role: n ? "button" : "group",
|
|
112
112
|
"aria-label": e.displayName,
|
|
113
|
-
style:
|
|
114
|
-
className: b("h-(--st-card-height,232px) min-w-0", $e.card, n && "cursor-pointer", a,
|
|
115
|
-
...
|
|
113
|
+
style: E,
|
|
114
|
+
className: b("h-(--st-card-height,232px) min-w-0", $e.card, n && "cursor-pointer", a, qe.card),
|
|
115
|
+
...D,
|
|
116
116
|
children: [
|
|
117
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ Y("div", {
|
|
118
118
|
className: "flex min-w-0 shrink-0 items-start gap-2 desktop:items-center",
|
|
119
|
-
children: [/* @__PURE__ */
|
|
119
|
+
children: [/* @__PURE__ */ J(ue, {
|
|
120
120
|
text: e.displayName,
|
|
121
121
|
query: t,
|
|
122
122
|
maxLines: o ? 2 : 1,
|
|
123
123
|
className: b(f, $e.title)
|
|
124
|
-
}), e.isNew && /* @__PURE__ */
|
|
124
|
+
}), e.isNew && /* @__PURE__ */ J("span", {
|
|
125
125
|
className: b("shrink-0 rounded-full px-2 py-0.5", x, $e.newBadge),
|
|
126
126
|
children: s
|
|
127
127
|
})]
|
|
128
128
|
}),
|
|
129
|
-
e.descriptionPreview && /* @__PURE__ */
|
|
129
|
+
e.descriptionPreview && /* @__PURE__ */ J("p", {
|
|
130
130
|
className: b("line-clamp-3 min-h-0 min-w-0 overflow-hidden wrap-anywhere", p, $e.description),
|
|
131
131
|
children: e.descriptionPreview
|
|
132
132
|
}),
|
|
133
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ Y("div", {
|
|
134
134
|
className: "mt-auto flex shrink-0 flex-col gap-3",
|
|
135
|
-
children: [/* @__PURE__ */
|
|
135
|
+
children: [/* @__PURE__ */ J("div", {
|
|
136
136
|
className: "flex min-h-[28px] items-center",
|
|
137
|
-
children: /* @__PURE__ */
|
|
137
|
+
children: /* @__PURE__ */ J(Qe, {
|
|
138
138
|
status: S,
|
|
139
139
|
text: w,
|
|
140
|
-
textClassName:
|
|
140
|
+
textClassName: T
|
|
141
141
|
})
|
|
142
|
-
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */
|
|
142
|
+
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ J(le, {
|
|
143
143
|
segments: e.locationSegments,
|
|
144
144
|
labelClassName: b(_, $e.locationLabel),
|
|
145
145
|
leafClassName: b(v, $e.locationLeaf),
|
|
@@ -154,29 +154,29 @@ var qe = "1180px", Je = {
|
|
|
154
154
|
"61%"
|
|
155
155
|
], rt = "var(--stcs-skeleton-bg)", it = ({ styles: e }) => {
|
|
156
156
|
let t = y({ "--stcs-skeleton-bg": e?.colors?.skeletonColor });
|
|
157
|
-
return /* @__PURE__ */
|
|
157
|
+
return /* @__PURE__ */ Y(ie, {
|
|
158
158
|
"aria-hidden": !0,
|
|
159
159
|
style: t,
|
|
160
160
|
className: b("h-(--st-card-height,232px)", tt.card),
|
|
161
161
|
children: [
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
variant:
|
|
162
|
+
/* @__PURE__ */ J(V, {
|
|
163
|
+
variant: H.Rectangular,
|
|
164
164
|
width: "60%",
|
|
165
165
|
height: "20px",
|
|
166
166
|
color: rt,
|
|
167
167
|
className: "shrink-0"
|
|
168
168
|
}),
|
|
169
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ J("div", {
|
|
170
170
|
className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
|
|
171
|
-
children: nt.map((e, t) => /* @__PURE__ */
|
|
172
|
-
variant:
|
|
171
|
+
children: nt.map((e, t) => /* @__PURE__ */ J(V, {
|
|
172
|
+
variant: H.Rectangular,
|
|
173
173
|
width: e,
|
|
174
174
|
height: "16px",
|
|
175
175
|
color: rt
|
|
176
176
|
}, t))
|
|
177
177
|
}),
|
|
178
|
-
/* @__PURE__ */
|
|
179
|
-
variant:
|
|
178
|
+
/* @__PURE__ */ J(V, {
|
|
179
|
+
variant: H.Rectangular,
|
|
180
180
|
width: "110px",
|
|
181
181
|
height: "28px",
|
|
182
182
|
color: rt,
|
|
@@ -184,7 +184,7 @@ var qe = "1180px", Je = {
|
|
|
184
184
|
})
|
|
185
185
|
]
|
|
186
186
|
});
|
|
187
|
-
}, at = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */
|
|
187
|
+
}, at = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o, layout: s }) => /* @__PURE__ */ Y("div", {
|
|
188
188
|
style: {
|
|
189
189
|
"--st-grid-min-card-width": s?.minCardWidth,
|
|
190
190
|
"--st-grid-gap": s?.gap,
|
|
@@ -194,14 +194,14 @@ var qe = "1180px", Je = {
|
|
|
194
194
|
gap: "var(--st-grid-gap, 20px)",
|
|
195
195
|
gridTemplateColumns: "repeat(auto-fill, minmax(min(100%, max(var(--st-grid-min-card-width, 320px), calc((100% - (var(--st-grid-columns) - 1) * var(--st-grid-gap, 20px)) / var(--st-grid-columns)))), 1fr))"
|
|
196
196
|
},
|
|
197
|
-
className: b("mx-auto grid w-full min-w-0",
|
|
198
|
-
children: [e.map((e) => /* @__PURE__ */
|
|
197
|
+
className: b("mx-auto grid w-full min-w-0", qe.cardGrid),
|
|
198
|
+
children: [e.map((e) => /* @__PURE__ */ J(et, {
|
|
199
199
|
item: e,
|
|
200
200
|
searchQuery: t,
|
|
201
201
|
onCardClick: n,
|
|
202
202
|
labels: r,
|
|
203
203
|
styles: i
|
|
204
|
-
}, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */
|
|
204
|
+
}, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ J(it, { styles: o }, `skeleton-${t}`))]
|
|
205
205
|
}), ot = {
|
|
206
206
|
container: "_container_3vz4t_2",
|
|
207
207
|
subtitle: "_subtitle_3vz4t_6",
|
|
@@ -215,35 +215,35 @@ var qe = "1180px", Je = {
|
|
|
215
215
|
if (!e || e === document.body) return null;
|
|
216
216
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
217
217
|
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : ct(e.parentElement);
|
|
218
|
-
}, lt = ({ 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: m, banner: h, styles: _, sortIcon: v, className: x, gridLayout: S, cardStyles: C, loadMoreError: w, onRetryLoadMore:
|
|
219
|
-
let { colors:
|
|
220
|
-
"--st-bg":
|
|
221
|
-
"--st-subtitle-text":
|
|
222
|
-
"--st-sort-text":
|
|
223
|
-
}),
|
|
218
|
+
}, lt = ({ 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: m, banner: h, styles: _, sortIcon: v, className: x, gridLayout: S, cardStyles: C, loadMoreError: w, onRetryLoadMore: T }) => {
|
|
219
|
+
let { colors: E, typography: D } = _ ?? {}, re = D?.titleClassName ?? "dial-h1-text", O = D?.subtitleClassName ?? "dial-body-text", ie = y({
|
|
220
|
+
"--st-bg": E?.background,
|
|
221
|
+
"--st-subtitle-text": E?.subtitleText,
|
|
222
|
+
"--st-sort-text": E?.sortButtonText
|
|
223
|
+
}), ae = (e) => {
|
|
224
224
|
r(e ?? "");
|
|
225
|
-
}, [
|
|
226
|
-
|
|
227
|
-
}, []),
|
|
228
|
-
|
|
225
|
+
}, [se, j] = Ue(!1), [le, N] = Ue(!1), ue = He(null), de = Re(() => {
|
|
226
|
+
N(!0);
|
|
227
|
+
}, []), fe = Re(() => {
|
|
228
|
+
N(!1);
|
|
229
229
|
}, []);
|
|
230
|
-
|
|
231
|
-
let e =
|
|
232
|
-
|
|
233
|
-
}, [
|
|
234
|
-
let
|
|
230
|
+
Be(() => {
|
|
231
|
+
let e = ue.current;
|
|
232
|
+
le && se && e != null && e.offsetParent == null && j(!1);
|
|
233
|
+
}, [le, se]);
|
|
234
|
+
let pe = e.sortOptions.find((e) => e.value === i)?.label ?? e.sortLabel, I = Ve(() => e.sortOptions.map((e) => ({
|
|
235
235
|
key: e.value,
|
|
236
236
|
label: e.label,
|
|
237
|
-
mark:
|
|
237
|
+
mark: me.Check,
|
|
238
238
|
checked: e.value === i,
|
|
239
239
|
onClick: () => a(e.value)
|
|
240
240
|
})), [
|
|
241
241
|
e.sortOptions,
|
|
242
242
|
i,
|
|
243
243
|
a
|
|
244
|
-
]),
|
|
245
|
-
|
|
246
|
-
let e =
|
|
244
|
+
]), L = st(s, d, !!c, o.length, n.trim().length > 0, e), he = He(null);
|
|
245
|
+
ze(() => {
|
|
246
|
+
let e = he.current;
|
|
247
247
|
if (!e || !p) return;
|
|
248
248
|
let t = ct(e.parentElement);
|
|
249
249
|
if (!t) return;
|
|
@@ -260,123 +260,123 @@ var qe = "1180px", Je = {
|
|
|
260
260
|
w,
|
|
261
261
|
p
|
|
262
262
|
]);
|
|
263
|
-
let
|
|
263
|
+
let ge = () => s ? /* @__PURE__ */ J(xe, {}) : c ? /* @__PURE__ */ Y("div", {
|
|
264
264
|
className: "flex flex-col items-center gap-3",
|
|
265
|
-
children: [/* @__PURE__ */
|
|
266
|
-
className: b(
|
|
265
|
+
children: [/* @__PURE__ */ J("p", {
|
|
266
|
+
className: b(O, ot.subtitle),
|
|
267
267
|
children: e.errorLabel
|
|
268
|
-
}), /* @__PURE__ */
|
|
268
|
+
}), /* @__PURE__ */ J(M, {
|
|
269
269
|
label: e.retryLabel,
|
|
270
270
|
onClick: l
|
|
271
271
|
})]
|
|
272
|
-
}) : o.length === 0 ? n.trim() ? /* @__PURE__ */
|
|
272
|
+
}) : o.length === 0 ? n.trim() ? /* @__PURE__ */ J(g, {
|
|
273
273
|
label: e.noResultsLabel,
|
|
274
274
|
description: e.noResultsDescription
|
|
275
|
-
}) : /* @__PURE__ */
|
|
275
|
+
}) : /* @__PURE__ */ J(g, {
|
|
276
276
|
label: e.emptyStateLabel,
|
|
277
277
|
description: e.emptyStateDescription
|
|
278
|
-
}) : /* @__PURE__ */
|
|
278
|
+
}) : /* @__PURE__ */ Y("div", {
|
|
279
279
|
className: "flex w-full flex-col gap-6",
|
|
280
280
|
children: [
|
|
281
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__PURE__ */ J(at, {
|
|
282
282
|
items: o,
|
|
283
283
|
searchQuery: n,
|
|
284
284
|
onCardClick: m,
|
|
285
285
|
labels: e.cardLabels,
|
|
286
286
|
trailingSkeletonCount: d ? f : 0,
|
|
287
|
-
skeletonStyles: { colors: { skeletonColor:
|
|
287
|
+
skeletonStyles: { colors: { skeletonColor: E?.skeletonColor } },
|
|
288
288
|
cardStyles: C,
|
|
289
289
|
layout: S
|
|
290
290
|
}),
|
|
291
|
-
w && /* @__PURE__ */
|
|
291
|
+
w && /* @__PURE__ */ J(ce, {
|
|
292
292
|
message: e.loadMoreErrorLabel ?? e.errorLabel,
|
|
293
|
-
textClassName:
|
|
294
|
-
iconStroke:
|
|
295
|
-
action: /* @__PURE__ */
|
|
293
|
+
textClassName: O,
|
|
294
|
+
iconStroke: A,
|
|
295
|
+
action: /* @__PURE__ */ J(M, {
|
|
296
296
|
label: e.retryLabel,
|
|
297
|
-
onClick:
|
|
297
|
+
onClick: T
|
|
298
298
|
})
|
|
299
299
|
}),
|
|
300
|
-
/* @__PURE__ */
|
|
301
|
-
ref:
|
|
300
|
+
/* @__PURE__ */ J("div", {
|
|
301
|
+
ref: he,
|
|
302
302
|
"aria-hidden": !0,
|
|
303
303
|
className: "h-px w-full"
|
|
304
304
|
})
|
|
305
305
|
]
|
|
306
|
-
}),
|
|
307
|
-
return /* @__PURE__ */
|
|
308
|
-
style:
|
|
306
|
+
}), _e = s || !!c || o.length === 0;
|
|
307
|
+
return /* @__PURE__ */ Y("div", {
|
|
308
|
+
style: ie,
|
|
309
309
|
className: b("flex h-full w-full flex-col gap-4 overflow-y-auto px-4 py-4 desktop:gap-6 desktop:px-8", ot.container, x),
|
|
310
310
|
children: [
|
|
311
|
-
/* @__PURE__ */
|
|
311
|
+
/* @__PURE__ */ Y("div", {
|
|
312
312
|
className: "flex items-start justify-between gap-4",
|
|
313
|
-
children: [/* @__PURE__ */
|
|
313
|
+
children: [/* @__PURE__ */ Y("div", {
|
|
314
314
|
className: "min-w-0 gap-2",
|
|
315
|
-
children: [/* @__PURE__ */
|
|
316
|
-
className: b("truncate",
|
|
315
|
+
children: [/* @__PURE__ */ J("h1", {
|
|
316
|
+
className: b("truncate", re),
|
|
317
317
|
children: e.title
|
|
318
|
-
}), /* @__PURE__ */
|
|
319
|
-
className: b("mt-1",
|
|
318
|
+
}), /* @__PURE__ */ J("p", {
|
|
319
|
+
className: b("mt-1", O, ot.subtitle),
|
|
320
320
|
children: e.subtitle
|
|
321
321
|
})]
|
|
322
|
-
}), t != null && /* @__PURE__ */
|
|
322
|
+
}), t != null && /* @__PURE__ */ J(z, {
|
|
323
323
|
label: e.createButtonLabel,
|
|
324
324
|
textClassName: ot.createButtonLabel,
|
|
325
325
|
"aria-label": e.createButtonLabel,
|
|
326
|
-
iconBefore: /* @__PURE__ */
|
|
327
|
-
size:
|
|
326
|
+
iconBefore: /* @__PURE__ */ J(G, {
|
|
327
|
+
size: k.SM,
|
|
328
328
|
"aria-hidden": !0,
|
|
329
|
-
stroke:
|
|
329
|
+
stroke: A
|
|
330
330
|
}),
|
|
331
331
|
onClick: t,
|
|
332
332
|
className: b("shrink-0", ot.createButton)
|
|
333
333
|
})]
|
|
334
334
|
}),
|
|
335
|
-
/* @__PURE__ */
|
|
335
|
+
/* @__PURE__ */ Y("div", {
|
|
336
336
|
className: "flex flex-wrap items-center gap-3",
|
|
337
|
-
children: [/* @__PURE__ */
|
|
337
|
+
children: [/* @__PURE__ */ J("div", {
|
|
338
338
|
role: "search",
|
|
339
339
|
className: "flex-1",
|
|
340
|
-
children: /* @__PURE__ */
|
|
340
|
+
children: /* @__PURE__ */ J(B, {
|
|
341
341
|
value: n,
|
|
342
|
-
onChange:
|
|
342
|
+
onChange: ae,
|
|
343
343
|
placeholder: e.searchPlaceholder,
|
|
344
344
|
clearLabel: e.clearSearchLabel,
|
|
345
345
|
"aria-label": e.searchAriaLabel,
|
|
346
|
-
size:
|
|
347
|
-
onFocus:
|
|
348
|
-
onBlur:
|
|
346
|
+
size: oe.Large,
|
|
347
|
+
onFocus: de,
|
|
348
|
+
onBlur: fe
|
|
349
349
|
})
|
|
350
|
-
}), e.sortOptions.length > 0 && /* @__PURE__ */
|
|
351
|
-
ref:
|
|
352
|
-
className: b(
|
|
353
|
-
children: /* @__PURE__ */
|
|
354
|
-
items:
|
|
355
|
-
label:
|
|
356
|
-
variant:
|
|
357
|
-
appearance:
|
|
358
|
-
iconBefore: v === void 0 ? /* @__PURE__ */
|
|
359
|
-
size:
|
|
350
|
+
}), e.sortOptions.length > 0 && /* @__PURE__ */ J("div", {
|
|
351
|
+
ref: ue,
|
|
352
|
+
className: b(le && ot.sortControlHidden),
|
|
353
|
+
children: /* @__PURE__ */ J(te, {
|
|
354
|
+
items: I,
|
|
355
|
+
label: pe,
|
|
356
|
+
variant: ne.Primary,
|
|
357
|
+
appearance: ee.Ghost,
|
|
358
|
+
iconBefore: v === void 0 ? /* @__PURE__ */ J(U, {
|
|
359
|
+
size: k.SM,
|
|
360
360
|
"aria-hidden": !0,
|
|
361
|
-
stroke:
|
|
361
|
+
stroke: A
|
|
362
362
|
}) : v,
|
|
363
363
|
className: ot.sortButton
|
|
364
364
|
})
|
|
365
365
|
})]
|
|
366
366
|
}),
|
|
367
|
-
h != null && typeof h != "boolean" && /* @__PURE__ */
|
|
367
|
+
h != null && typeof h != "boolean" && /* @__PURE__ */ J("div", {
|
|
368
368
|
className: "mx-auto w-full min-w-0",
|
|
369
369
|
style: { maxWidth: S?.maxWidth ?? "1180px" },
|
|
370
370
|
children: h
|
|
371
371
|
}),
|
|
372
|
-
/* @__PURE__ */
|
|
372
|
+
/* @__PURE__ */ J(P, {
|
|
373
373
|
visuallyHidden: !0,
|
|
374
|
-
as:
|
|
375
|
-
children:
|
|
374
|
+
as: F.Span,
|
|
375
|
+
children: L
|
|
376
376
|
}),
|
|
377
|
-
/* @__PURE__ */
|
|
378
|
-
className: b("mx-auto flex size-full w-full min-w-0 flex-col",
|
|
379
|
-
children:
|
|
377
|
+
/* @__PURE__ */ J("div", {
|
|
378
|
+
className: b("mx-auto flex size-full w-full min-w-0 flex-col", _e && "items-center justify-center"),
|
|
379
|
+
children: ge()
|
|
380
380
|
})
|
|
381
381
|
]
|
|
382
382
|
});
|
|
@@ -387,12 +387,12 @@ var qe = "1180px", Je = {
|
|
|
387
387
|
for (let r of n) if (ft(e[r]) !== ft(t[r])) return !0;
|
|
388
388
|
return !1;
|
|
389
389
|
}, mt = (e, t, n) => t === l.Custom || n === l.Custom ? void 0 : e, ht = { error: "_error_v2pfn_4" }, gt = ({ id: t, label: n, placeholder: r, value: a, onChange: o, minDate: s, error: c, errorClassName: l, disabled: u }) => {
|
|
390
|
-
let d = (e) => o(i(e)), f =
|
|
391
|
-
return S(() => document.getElementById(t), f, !!c), /* @__PURE__ */
|
|
390
|
+
let d = (e) => o(i(e)), f = K();
|
|
391
|
+
return S(() => document.getElementById(t), f, !!c), /* @__PURE__ */ Y("div", {
|
|
392
392
|
className: "flex flex-1 flex-col gap-1",
|
|
393
|
-
children: [/* @__PURE__ */
|
|
393
|
+
children: [/* @__PURE__ */ J(re, {
|
|
394
394
|
id: t,
|
|
395
|
-
mode:
|
|
395
|
+
mode: O.Date,
|
|
396
396
|
value: e(a),
|
|
397
397
|
onChange: d,
|
|
398
398
|
minDate: s,
|
|
@@ -400,15 +400,15 @@ var qe = "1180px", Je = {
|
|
|
400
400
|
placeholder: r,
|
|
401
401
|
invalid: !!c,
|
|
402
402
|
disabled: u
|
|
403
|
-
}), /* @__PURE__ */
|
|
404
|
-
announce:
|
|
403
|
+
}), /* @__PURE__ */ J(j, {
|
|
404
|
+
announce: I.Assertive,
|
|
405
405
|
id: f,
|
|
406
406
|
className: b(l, ht.error),
|
|
407
407
|
text: c ?? ""
|
|
408
408
|
})]
|
|
409
409
|
});
|
|
410
|
-
}, _t = ({ value: e, onChange: t, onBlur: n, disabled: r, invalid: i, ariaLabel: a }) => /* @__PURE__ */
|
|
411
|
-
mode:
|
|
410
|
+
}, _t = ({ value: e, onChange: t, onBlur: n, disabled: r, invalid: i, ariaLabel: a }) => /* @__PURE__ */ J(re, {
|
|
411
|
+
mode: O.Time,
|
|
412
412
|
value: e,
|
|
413
413
|
onChange: (e) => {
|
|
414
414
|
typeof e == "string" && t(e);
|
|
@@ -423,13 +423,13 @@ var qe = "1180px", Je = {
|
|
|
423
423
|
className: "w-[120px] gap-y-0",
|
|
424
424
|
fieldClassName: "px-3 py-1.5 pe-9",
|
|
425
425
|
pickerButtonClassName: "size-6 inset-e-1.5"
|
|
426
|
-
}), vt = { error: "_error_v2pfn_4" }, yt = (e) => /* @__PURE__ */
|
|
427
|
-
let l =
|
|
428
|
-
return S(() => document.getElementById("scheduled-task-run-at"), d, !!o), /* @__PURE__ */
|
|
426
|
+
}), vt = { error: "_error_v2pfn_4" }, yt = (e) => /* @__PURE__ */ J(_t, { ...e }), bt = ({ label: e, placeholder: t, value: r, onChange: i, disabled: a, error: o, errorClassName: c = "dial-tiny-text" }) => {
|
|
427
|
+
let l = He(/* @__PURE__ */ new Date()).current, u = (e) => i(n(e)), d = K();
|
|
428
|
+
return S(() => document.getElementById("scheduled-task-run-at"), d, !!o), /* @__PURE__ */ Y("div", {
|
|
429
429
|
className: "flex flex-col gap-1",
|
|
430
|
-
children: [/* @__PURE__ */
|
|
430
|
+
children: [/* @__PURE__ */ J(re, {
|
|
431
431
|
id: "scheduled-task-run-at",
|
|
432
|
-
mode:
|
|
432
|
+
mode: O.DateTime,
|
|
433
433
|
value: s(r),
|
|
434
434
|
onChange: u,
|
|
435
435
|
minDate: l,
|
|
@@ -441,8 +441,8 @@ var qe = "1180px", Je = {
|
|
|
441
441
|
invalid: !!o,
|
|
442
442
|
disabled: a,
|
|
443
443
|
renderTimeField: yt
|
|
444
|
-
}), /* @__PURE__ */
|
|
445
|
-
announce:
|
|
444
|
+
}), /* @__PURE__ */ J(j, {
|
|
445
|
+
announce: I.Assertive,
|
|
446
446
|
id: d,
|
|
447
447
|
className: b(c, vt.error),
|
|
448
448
|
text: o ?? ""
|
|
@@ -455,64 +455,64 @@ var qe = "1180px", Je = {
|
|
|
455
455
|
instructionsError: "_instructionsError_1253x_18",
|
|
456
456
|
refineFeedback: "_refineFeedback_1253x_22",
|
|
457
457
|
refineError: "_refineError_1253x_26"
|
|
458
|
-
}, xt =
|
|
459
|
-
let
|
|
460
|
-
if (
|
|
461
|
-
|
|
458
|
+
}, xt = Ie(async () => ({ default: (await Ge()).MarkdownEditor })), St = ({ labels: e, values: t, initialValues: n, errors: r, modelSelector: i, modelLabelId: s, skillSelector: u, onFieldChange: f, onBack: h, onCancel: g, onSubmit: _, isSubmitting: C = !1, isSubmitDisabled: E = !1, onRefineDescription: te, onRefineInstructions: ie, markdownEditorTheme: oe, backIcon: se, className: ce, styles: le }) => {
|
|
459
|
+
let M = K(), N = K(), ue = K(), pe = K(), P = K(), F = K(), me = K(), L = He(void 0), he = (e) => e ? async (t, n) => {
|
|
460
|
+
if (L.current && !L.current.aborted) throw new DOMException("Busy", "AbortError");
|
|
461
|
+
L.current = n;
|
|
462
462
|
try {
|
|
463
463
|
return await e(t, n);
|
|
464
464
|
} finally {
|
|
465
|
-
|
|
465
|
+
L.current === n && (L.current = void 0);
|
|
466
466
|
}
|
|
467
|
-
} : void 0,
|
|
467
|
+
} : void 0, ge = w({
|
|
468
468
|
value: t.description ?? "",
|
|
469
469
|
onChange: (e) => f("description", e),
|
|
470
|
-
onRefine:
|
|
470
|
+
onRefine: he(te),
|
|
471
471
|
disabled: C
|
|
472
|
-
}),
|
|
472
|
+
}), _e = w({
|
|
473
473
|
value: t.prompt,
|
|
474
474
|
onChange: (e) => f("prompt", e),
|
|
475
|
-
onRefine:
|
|
475
|
+
onRefine: he(ie),
|
|
476
476
|
disabled: C
|
|
477
|
-
}),
|
|
478
|
-
|
|
479
|
-
},
|
|
480
|
-
|
|
481
|
-
}),
|
|
482
|
-
|
|
483
|
-
}), Se = x(),
|
|
484
|
-
"--stcf-details-border":
|
|
485
|
-
"--stcf-subtitle-text":
|
|
486
|
-
"--stcf-error-text":
|
|
487
|
-
"--stcf-refine-action-text":
|
|
488
|
-
"--stcf-refine-error-text":
|
|
489
|
-
}),
|
|
490
|
-
feedbackClassName: b(
|
|
477
|
+
}), ve = ge.isPending || _e.isPending, R = () => {
|
|
478
|
+
ge.reset(), _e.reset();
|
|
479
|
+
}, z = !!(n && pt(t, n)), B = T(z), V = () => B.guard(() => {
|
|
480
|
+
R(), h();
|
|
481
|
+
}), H = () => B.guard(() => {
|
|
482
|
+
R(), g();
|
|
483
|
+
}), Se = x(), Ce = !t.skillUrls?.length, [Te, Ee] = Ue(), Oe = He(/* @__PURE__ */ new Date()).current, { colors: U, typography: W, layout: ke } = le ?? {}, Ae = W?.titleClassName ?? "dial-h1-text", je = W?.sectionTitleClassName ?? "dial-body-semi-text", Me = W?.sectionSubtitleClassName ?? "dial-tiny-text", Ne = W?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", G = W?.instructionsErrorClassName ?? "dial-tiny-text", Pe = y({
|
|
484
|
+
"--stcf-details-border": U?.detailsColumnBorder,
|
|
485
|
+
"--stcf-subtitle-text": U?.sectionSubtitleText,
|
|
486
|
+
"--stcf-error-text": U?.instructionsErrorText,
|
|
487
|
+
"--stcf-refine-action-text": U?.refineActionText,
|
|
488
|
+
"--stcf-refine-error-text": U?.refineErrorText
|
|
489
|
+
}), Ie = {
|
|
490
|
+
feedbackClassName: b(U?.refineActionText && Z.refineFeedback, W?.refineFeedbackClassName, qe.refineFeedback),
|
|
491
491
|
errorClassName: Z.refineError
|
|
492
492
|
}, Le = (t) => {
|
|
493
493
|
let n = c.test(t.target.value) ? void 0 : e.timeInvalidLabel;
|
|
494
|
-
|
|
494
|
+
Ee(n), f("time", t.target.value);
|
|
495
495
|
}, Re = (e) => {
|
|
496
|
-
|
|
497
|
-
},
|
|
496
|
+
Ee(void 0), f("time", typeof e == "string" ? e : "");
|
|
497
|
+
}, Be = (e) => {
|
|
498
498
|
let n = e;
|
|
499
499
|
f("repeat", n);
|
|
500
500
|
let r = mt(t.startDate, t.repeat, n);
|
|
501
501
|
r !== t.startDate && f("startDate", r ?? "");
|
|
502
502
|
let i = mt(t.endDate, t.repeat, n);
|
|
503
503
|
i !== t.endDate && f("endDate", i ?? "");
|
|
504
|
-
}, Ve = t.repeat !== l.OneTime && t.repeat !== l.Hourly,
|
|
505
|
-
|
|
506
|
-
Ve ||
|
|
504
|
+
}, Ve = t.repeat !== l.OneTime && t.repeat !== l.Hourly, Ge = t.repeat === l.Custom, Ke = Ge && !t.dayOfWeek;
|
|
505
|
+
ze(() => {
|
|
506
|
+
Ve || Ee(void 0);
|
|
507
507
|
}, [Ve]);
|
|
508
|
-
let
|
|
509
|
-
S(() => dt(s),
|
|
510
|
-
let
|
|
508
|
+
let X = Ve ? Te ?? r.time : void 0;
|
|
509
|
+
S(() => dt(s), pe, !!r.modelId), S(() => document.getElementById("scheduled-task-day-of-week"), P, !!r.dayOfWeek), S(() => document.getElementById("scheduled-task-time"), F, !!X), S(() => document.getElementById(N), me, !!r.prompt);
|
|
510
|
+
let Je = (e) => f("runAt", e), Ye = (e) => {
|
|
511
511
|
f("everyWeeks", e);
|
|
512
512
|
}, Xe = (e) => {
|
|
513
513
|
e !== t.dayOfWeek && f("dayOfWeek", e);
|
|
514
|
-
},
|
|
515
|
-
return /* @__PURE__ */
|
|
514
|
+
}, Ze = E || !!r.modelId || C || ve || !t.displayName.trim() || !t.modelId || !t.prompt.trim() && !t.skillUrls?.length || !!r.skillUrls || t.repeat === l.OneTime && (!t.runAt || !!r.runAt) || Ve && !t.time || Ke || !!X;
|
|
515
|
+
return /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ J(We, {
|
|
516
516
|
labels: {
|
|
517
517
|
title: e.pageTitle,
|
|
518
518
|
backButtonLabel: e.backButtonLabel,
|
|
@@ -520,50 +520,50 @@ var qe = "1180px", Je = {
|
|
|
520
520
|
submitButtonLabel: e.createButtonLabel,
|
|
521
521
|
submittingLabel: e.submittingLabel ?? "Saving"
|
|
522
522
|
},
|
|
523
|
-
onBack:
|
|
524
|
-
onCancel:
|
|
523
|
+
onBack: V,
|
|
524
|
+
onCancel: H,
|
|
525
525
|
onSubmit: () => {
|
|
526
|
-
!
|
|
526
|
+
!Ze && (!L.current || L.current.aborted) && _();
|
|
527
527
|
},
|
|
528
528
|
isCancelDisabled: C,
|
|
529
|
-
isSubmitDisabled:
|
|
529
|
+
isSubmitDisabled: Ze,
|
|
530
530
|
isSubmitting: C,
|
|
531
|
-
backIcon: se === void 0 ? /* @__PURE__ */
|
|
532
|
-
size:
|
|
533
|
-
stroke:
|
|
531
|
+
backIcon: se === void 0 ? /* @__PURE__ */ J(De, {
|
|
532
|
+
size: k.LG,
|
|
533
|
+
stroke: A,
|
|
534
534
|
"aria-hidden": !0,
|
|
535
535
|
className: "rtl:scale-x-[-1]"
|
|
536
536
|
}) : se,
|
|
537
537
|
layout: {
|
|
538
|
-
sideColumnWidth:
|
|
539
|
-
columnGap:
|
|
538
|
+
sideColumnWidth: ke?.detailsWidth,
|
|
539
|
+
columnGap: ke?.columnGap,
|
|
540
540
|
reserveEndColumn: !1
|
|
541
541
|
},
|
|
542
542
|
className: ce,
|
|
543
543
|
styles: {
|
|
544
|
-
colors: { background:
|
|
544
|
+
colors: { background: U?.background },
|
|
545
545
|
header: {
|
|
546
|
-
colors: { borderColor:
|
|
546
|
+
colors: { borderColor: U?.headerBorder },
|
|
547
547
|
typography: { fontClassName: Ae }
|
|
548
548
|
},
|
|
549
549
|
cssVars: Pe
|
|
550
550
|
},
|
|
551
|
-
left: /* @__PURE__ */
|
|
551
|
+
left: /* @__PURE__ */ Y("div", {
|
|
552
552
|
role: "group",
|
|
553
553
|
"aria-label": e.detailsSectionTitle,
|
|
554
554
|
className: b("flex flex-1 flex-col gap-5 py-6 desktop:border-e", Z.detailsColumn, Z.formColumn),
|
|
555
555
|
children: [
|
|
556
|
-
/* @__PURE__ */
|
|
556
|
+
/* @__PURE__ */ Y("div", {
|
|
557
557
|
className: "flex flex-col gap-1",
|
|
558
|
-
children: [/* @__PURE__ */
|
|
558
|
+
children: [/* @__PURE__ */ J("h2", {
|
|
559
559
|
className: je,
|
|
560
560
|
children: e.detailsSectionTitle
|
|
561
|
-
}), /* @__PURE__ */
|
|
561
|
+
}), /* @__PURE__ */ J("p", {
|
|
562
562
|
className: b(Me, Z.sectionSubtitle),
|
|
563
563
|
children: e.detailsSectionSubtitle
|
|
564
564
|
})]
|
|
565
565
|
}),
|
|
566
|
-
/* @__PURE__ */
|
|
566
|
+
/* @__PURE__ */ J(de, {
|
|
567
567
|
id: "scheduled-task-display-name",
|
|
568
568
|
value: t.displayName,
|
|
569
569
|
onChange: (e) => f("displayName", e ?? ""),
|
|
@@ -574,66 +574,66 @@ var qe = "1180px", Je = {
|
|
|
574
574
|
invalid: !!r.displayName,
|
|
575
575
|
error: r.displayName
|
|
576
576
|
}),
|
|
577
|
-
/* @__PURE__ */
|
|
578
|
-
isEnabled: !!
|
|
579
|
-
fieldId:
|
|
577
|
+
/* @__PURE__ */ J(v, {
|
|
578
|
+
isEnabled: !!te,
|
|
579
|
+
fieldId: M,
|
|
580
580
|
label: e.descriptionLabel,
|
|
581
581
|
labels: e,
|
|
582
|
-
refinement:
|
|
583
|
-
disabled: C ||
|
|
582
|
+
refinement: ge,
|
|
583
|
+
disabled: C || ve,
|
|
584
584
|
caption: `${(t.description ?? "").length}/500`,
|
|
585
|
-
...
|
|
586
|
-
children: /* @__PURE__ */
|
|
587
|
-
id:
|
|
585
|
+
...Ie,
|
|
586
|
+
children: /* @__PURE__ */ J(we, {
|
|
587
|
+
id: M,
|
|
588
588
|
value: t.description ?? "",
|
|
589
589
|
onChange: (e) => {
|
|
590
|
-
|
|
590
|
+
ge.reset(), f("description", e);
|
|
591
591
|
},
|
|
592
|
-
labelProps:
|
|
592
|
+
labelProps: te ? void 0 : { label: e.descriptionLabel },
|
|
593
593
|
maxLength: 500,
|
|
594
594
|
invalid: !!r.description,
|
|
595
595
|
error: r.description
|
|
596
596
|
})
|
|
597
597
|
}),
|
|
598
|
-
/* @__PURE__ */
|
|
598
|
+
/* @__PURE__ */ Y("div", {
|
|
599
599
|
className: "flex flex-col gap-1",
|
|
600
600
|
children: [
|
|
601
|
-
/* @__PURE__ */
|
|
601
|
+
/* @__PURE__ */ J(fe, {
|
|
602
602
|
id: s,
|
|
603
603
|
label: e.modelOrAgentLabel,
|
|
604
604
|
required: !0
|
|
605
605
|
}),
|
|
606
606
|
i,
|
|
607
|
-
r.modelId && /* @__PURE__ */
|
|
608
|
-
id:
|
|
609
|
-
className: b(
|
|
607
|
+
r.modelId && /* @__PURE__ */ J(j, {
|
|
608
|
+
id: pe,
|
|
609
|
+
className: b(G, Z.instructionsError),
|
|
610
610
|
text: r.modelId
|
|
611
611
|
})
|
|
612
612
|
]
|
|
613
613
|
}),
|
|
614
|
-
/* @__PURE__ */
|
|
614
|
+
/* @__PURE__ */ Y("div", {
|
|
615
615
|
className: "flex flex-col gap-3",
|
|
616
616
|
children: [
|
|
617
|
-
/* @__PURE__ */
|
|
617
|
+
/* @__PURE__ */ J(be, {
|
|
618
618
|
labelProps: { label: e.repeatLabel },
|
|
619
619
|
value: t.repeat,
|
|
620
|
-
onChange:
|
|
620
|
+
onChange: Be,
|
|
621
621
|
options: e.repeatOptions.map((e) => ({
|
|
622
622
|
value: e.key,
|
|
623
623
|
label: e.label
|
|
624
624
|
}))
|
|
625
625
|
}),
|
|
626
|
-
t.repeat === l.OneTime && /* @__PURE__ */
|
|
626
|
+
t.repeat === l.OneTime && /* @__PURE__ */ J(bt, {
|
|
627
627
|
label: e.runAtLabel,
|
|
628
628
|
placeholder: e.runAtPlaceholder,
|
|
629
629
|
value: t.runAt ?? "",
|
|
630
|
-
onChange:
|
|
630
|
+
onChange: Je,
|
|
631
631
|
error: r.runAt,
|
|
632
|
-
errorClassName:
|
|
632
|
+
errorClassName: G,
|
|
633
633
|
disabled: C
|
|
634
634
|
}),
|
|
635
|
-
t.repeat !== l.OneTime && /* @__PURE__ */
|
|
636
|
-
|
|
635
|
+
t.repeat !== l.OneTime && /* @__PURE__ */ Y(q, { children: [
|
|
636
|
+
Ge && /* @__PURE__ */ J(be, {
|
|
637
637
|
id: "scheduled-task-every-weeks",
|
|
638
638
|
labelProps: { label: e.everyLabel },
|
|
639
639
|
value: t.everyWeeks ?? "",
|
|
@@ -641,11 +641,11 @@ var qe = "1180px", Je = {
|
|
|
641
641
|
options: e.everyWeekOptions,
|
|
642
642
|
disabled: C
|
|
643
643
|
}),
|
|
644
|
-
t.repeat === l.Weekly && /* @__PURE__ */
|
|
644
|
+
t.repeat === l.Weekly && /* @__PURE__ */ Y("div", {
|
|
645
645
|
className: "flex flex-col gap-1",
|
|
646
|
-
children: [/* @__PURE__ */
|
|
646
|
+
children: [/* @__PURE__ */ J(re, {
|
|
647
647
|
id: "scheduled-task-day-of-week",
|
|
648
|
-
mode:
|
|
648
|
+
mode: O.Weekday,
|
|
649
649
|
value: a(t.dayOfWeek),
|
|
650
650
|
onChange: (e) => f("dayOfWeek", o(e)),
|
|
651
651
|
labelProps: {
|
|
@@ -653,17 +653,17 @@ var qe = "1180px", Je = {
|
|
|
653
653
|
required: !0
|
|
654
654
|
},
|
|
655
655
|
invalid: !!r.dayOfWeek
|
|
656
|
-
}), r.dayOfWeek && /* @__PURE__ */
|
|
657
|
-
id:
|
|
658
|
-
className: b(
|
|
656
|
+
}), r.dayOfWeek && /* @__PURE__ */ J(j, {
|
|
657
|
+
id: P,
|
|
658
|
+
className: b(G, Z.instructionsError),
|
|
659
659
|
text: r.dayOfWeek
|
|
660
660
|
})]
|
|
661
661
|
}),
|
|
662
|
-
Ve && /* @__PURE__ */
|
|
662
|
+
Ve && /* @__PURE__ */ Y("div", {
|
|
663
663
|
className: "flex flex-col gap-1",
|
|
664
|
-
children: [/* @__PURE__ */
|
|
664
|
+
children: [/* @__PURE__ */ J(re, {
|
|
665
665
|
id: "scheduled-task-time",
|
|
666
|
-
mode:
|
|
666
|
+
mode: O.Time,
|
|
667
667
|
value: t.time,
|
|
668
668
|
onChange: Re,
|
|
669
669
|
onBlur: Le,
|
|
@@ -671,35 +671,35 @@ var qe = "1180px", Je = {
|
|
|
671
671
|
label: e.timeLabel,
|
|
672
672
|
required: !0
|
|
673
673
|
},
|
|
674
|
-
invalid: !!
|
|
674
|
+
invalid: !!X,
|
|
675
675
|
disabled: C,
|
|
676
676
|
showTimezone: !0
|
|
677
|
-
}),
|
|
678
|
-
id:
|
|
679
|
-
className: b(
|
|
680
|
-
text:
|
|
677
|
+
}), X && /* @__PURE__ */ J(j, {
|
|
678
|
+
id: F,
|
|
679
|
+
className: b(G, Z.instructionsError),
|
|
680
|
+
text: X
|
|
681
681
|
})]
|
|
682
682
|
}),
|
|
683
|
-
|
|
683
|
+
Ge && /* @__PURE__ */ Y("div", {
|
|
684
684
|
className: "flex flex-col gap-1",
|
|
685
685
|
children: [
|
|
686
|
-
/* @__PURE__ */
|
|
687
|
-
id:
|
|
686
|
+
/* @__PURE__ */ J(fe, {
|
|
687
|
+
id: ue,
|
|
688
688
|
label: e.dayOfWeekLabel,
|
|
689
689
|
required: !0
|
|
690
690
|
}),
|
|
691
|
-
/* @__PURE__ */
|
|
691
|
+
/* @__PURE__ */ J("div", {
|
|
692
692
|
role: "group",
|
|
693
|
-
"aria-labelledby":
|
|
693
|
+
"aria-labelledby": ue,
|
|
694
694
|
className: "flex gap-0.5",
|
|
695
695
|
children: e.customDayOptions.map((e) => {
|
|
696
696
|
let n = e.value === t.dayOfWeek;
|
|
697
|
-
return /* @__PURE__ */
|
|
697
|
+
return /* @__PURE__ */ J(D, {
|
|
698
698
|
"aria-label": e.fullName,
|
|
699
699
|
"aria-pressed": n,
|
|
700
|
-
"aria-describedby": r.dayOfWeek ?
|
|
701
|
-
variant: n ?
|
|
702
|
-
appearance:
|
|
700
|
+
"aria-describedby": r.dayOfWeek ? P : void 0,
|
|
701
|
+
variant: n ? ne.Primary : ne.Neutral,
|
|
702
|
+
appearance: ee.Solid,
|
|
703
703
|
className: "w-10 rounded-full",
|
|
704
704
|
label: e.shortLabel,
|
|
705
705
|
onClick: () => Xe(e.value),
|
|
@@ -707,14 +707,14 @@ var qe = "1180px", Je = {
|
|
|
707
707
|
}, e.value);
|
|
708
708
|
})
|
|
709
709
|
}),
|
|
710
|
-
r.dayOfWeek && /* @__PURE__ */
|
|
711
|
-
id:
|
|
712
|
-
className: b(
|
|
710
|
+
r.dayOfWeek && /* @__PURE__ */ J(j, {
|
|
711
|
+
id: P,
|
|
712
|
+
className: b(G, Z.instructionsError),
|
|
713
713
|
text: r.dayOfWeek
|
|
714
714
|
})
|
|
715
715
|
]
|
|
716
716
|
}),
|
|
717
|
-
t.repeat === l.Monthly && /* @__PURE__ */
|
|
717
|
+
t.repeat === l.Monthly && /* @__PURE__ */ J(ye, {
|
|
718
718
|
id: "scheduled-task-day-of-month",
|
|
719
719
|
integer: !0,
|
|
720
720
|
min: 1,
|
|
@@ -728,7 +728,7 @@ var qe = "1180px", Je = {
|
|
|
728
728
|
invalid: !!r.dayOfMonth,
|
|
729
729
|
error: r.dayOfMonth
|
|
730
730
|
}),
|
|
731
|
-
t.repeat === l.Hourly && /* @__PURE__ */
|
|
731
|
+
t.repeat === l.Hourly && /* @__PURE__ */ J(ye, {
|
|
732
732
|
id: "scheduled-task-minute",
|
|
733
733
|
integer: !0,
|
|
734
734
|
min: 0,
|
|
@@ -743,9 +743,9 @@ var qe = "1180px", Je = {
|
|
|
743
743
|
invalid: !!r.minute,
|
|
744
744
|
error: r.minute
|
|
745
745
|
}),
|
|
746
|
-
!
|
|
746
|
+
!Ge && /* @__PURE__ */ Y("div", {
|
|
747
747
|
className: "flex flex-row gap-3",
|
|
748
|
-
children: [/* @__PURE__ */
|
|
748
|
+
children: [/* @__PURE__ */ J(gt, {
|
|
749
749
|
id: "scheduled-task-start-date",
|
|
750
750
|
label: e.startDateLabel,
|
|
751
751
|
placeholder: e.startDatePlaceholder,
|
|
@@ -753,9 +753,9 @@ var qe = "1180px", Je = {
|
|
|
753
753
|
onChange: (e) => f("startDate", e),
|
|
754
754
|
minDate: Oe,
|
|
755
755
|
error: r.startDate,
|
|
756
|
-
errorClassName:
|
|
756
|
+
errorClassName: G,
|
|
757
757
|
disabled: C
|
|
758
|
-
}), /* @__PURE__ */
|
|
758
|
+
}), /* @__PURE__ */ J(gt, {
|
|
759
759
|
id: "scheduled-task-end-date",
|
|
760
760
|
label: e.endDateLabel,
|
|
761
761
|
placeholder: e.endDatePlaceholder,
|
|
@@ -763,7 +763,7 @@ var qe = "1180px", Je = {
|
|
|
763
763
|
onChange: (e) => f("endDate", e),
|
|
764
764
|
minDate: Oe,
|
|
765
765
|
error: r.endDate,
|
|
766
|
-
errorClassName:
|
|
766
|
+
errorClassName: G,
|
|
767
767
|
disabled: C
|
|
768
768
|
})]
|
|
769
769
|
})
|
|
@@ -772,67 +772,67 @@ var qe = "1180px", Je = {
|
|
|
772
772
|
})
|
|
773
773
|
]
|
|
774
774
|
}),
|
|
775
|
-
children: /* @__PURE__ */
|
|
775
|
+
children: /* @__PURE__ */ Y("div", {
|
|
776
776
|
role: "group",
|
|
777
777
|
"aria-label": e.configurationSectionTitle,
|
|
778
778
|
className: b("flex flex-1 flex-col gap-5 py-6", Z.formColumn),
|
|
779
779
|
children: [
|
|
780
|
-
/* @__PURE__ */
|
|
780
|
+
/* @__PURE__ */ J("div", {
|
|
781
781
|
className: "flex flex-col gap-1",
|
|
782
|
-
children: /* @__PURE__ */
|
|
782
|
+
children: /* @__PURE__ */ J("h2", {
|
|
783
783
|
className: je,
|
|
784
784
|
children: e.configurationSectionTitle
|
|
785
785
|
})
|
|
786
786
|
}),
|
|
787
|
-
u == null ? /* @__PURE__ */
|
|
788
|
-
announce:
|
|
789
|
-
className: b(
|
|
787
|
+
u == null ? /* @__PURE__ */ J(j, {
|
|
788
|
+
announce: I.Polite,
|
|
789
|
+
className: b(G, Z.instructionsError),
|
|
790
790
|
text: r.skillUrls ?? ""
|
|
791
|
-
}) : /* @__PURE__ */
|
|
791
|
+
}) : /* @__PURE__ */ J("div", {
|
|
792
792
|
className: "w-full max-w-[996px] min-w-0",
|
|
793
793
|
children: u
|
|
794
794
|
}),
|
|
795
|
-
/* @__PURE__ */
|
|
795
|
+
/* @__PURE__ */ J("div", {
|
|
796
796
|
className: "flex w-full max-w-[996px] min-w-0 flex-col",
|
|
797
|
-
children: /* @__PURE__ */
|
|
798
|
-
isEnabled: !!
|
|
799
|
-
fieldId:
|
|
797
|
+
children: /* @__PURE__ */ J(v, {
|
|
798
|
+
isEnabled: !!ie,
|
|
799
|
+
fieldId: N,
|
|
800
800
|
labelClassName: Ne,
|
|
801
801
|
label: e.instructionsLabel,
|
|
802
|
-
required:
|
|
802
|
+
required: Ce,
|
|
803
803
|
labels: e,
|
|
804
|
-
refinement:
|
|
805
|
-
disabled: C ||
|
|
806
|
-
...
|
|
807
|
-
children: /* @__PURE__ */
|
|
804
|
+
refinement: _e,
|
|
805
|
+
disabled: C || ve,
|
|
806
|
+
...Ie,
|
|
807
|
+
children: /* @__PURE__ */ Y("div", {
|
|
808
808
|
className: "flex flex-1 flex-col gap-1",
|
|
809
809
|
children: [
|
|
810
|
-
!
|
|
811
|
-
htmlFor:
|
|
810
|
+
!ie && /* @__PURE__ */ J(fe, {
|
|
811
|
+
htmlFor: N,
|
|
812
812
|
className: Ne,
|
|
813
813
|
label: e.instructionsLabel,
|
|
814
|
-
required:
|
|
814
|
+
required: Ce
|
|
815
815
|
}),
|
|
816
|
-
/* @__PURE__ */
|
|
816
|
+
/* @__PURE__ */ J("div", {
|
|
817
817
|
ref: Se,
|
|
818
818
|
className: b("w-full", p, m),
|
|
819
|
-
children: /* @__PURE__ */
|
|
820
|
-
fallback: /* @__PURE__ */
|
|
821
|
-
children: /* @__PURE__ */
|
|
822
|
-
id:
|
|
819
|
+
children: /* @__PURE__ */ J(Fe, {
|
|
820
|
+
fallback: /* @__PURE__ */ J(xe, {}),
|
|
821
|
+
children: /* @__PURE__ */ J(xt, {
|
|
822
|
+
id: N,
|
|
823
823
|
value: t.prompt,
|
|
824
824
|
onChange: (e) => {
|
|
825
|
-
|
|
825
|
+
_e.reset(), f("prompt", e);
|
|
826
826
|
},
|
|
827
827
|
height: 480,
|
|
828
|
-
theme:
|
|
828
|
+
theme: oe,
|
|
829
829
|
placeholder: e.instructionsPlaceholder
|
|
830
830
|
})
|
|
831
831
|
})
|
|
832
832
|
}),
|
|
833
|
-
r.prompt && /* @__PURE__ */
|
|
834
|
-
id:
|
|
835
|
-
className: b(
|
|
833
|
+
r.prompt && /* @__PURE__ */ J(j, {
|
|
834
|
+
id: me,
|
|
835
|
+
className: b(G, Z.instructionsError),
|
|
836
836
|
text: r.prompt
|
|
837
837
|
})
|
|
838
838
|
]
|
|
@@ -841,15 +841,15 @@ var qe = "1180px", Je = {
|
|
|
841
841
|
})
|
|
842
842
|
]
|
|
843
843
|
})
|
|
844
|
-
}),
|
|
844
|
+
}), B.isConfirmOpen && /* @__PURE__ */ J(d, {
|
|
845
845
|
open: !0,
|
|
846
846
|
title: e.discardTitle ?? "Discard unsaved changes?",
|
|
847
847
|
message: e.discardMessage ?? "You have unsaved changes. Leaving now will discard them.",
|
|
848
848
|
confirmLabel: e.discardConfirmLabel ?? "Discard changes",
|
|
849
849
|
cancelLabel: e.discardCancelLabel ?? "Keep editing",
|
|
850
|
-
variant:
|
|
851
|
-
onConfirm:
|
|
852
|
-
onClose:
|
|
850
|
+
variant: ae.Danger,
|
|
851
|
+
onConfirm: B.confirm,
|
|
852
|
+
onClose: B.dismiss
|
|
853
853
|
})] });
|
|
854
854
|
}, Ct = /* @__PURE__ */ function(e) {
|
|
855
855
|
return e.Details = "details", e.Configuration = "configuration", e.History = "history", e;
|
|
@@ -859,130 +859,138 @@ var qe = "1180px", Je = {
|
|
|
859
859
|
...u,
|
|
860
860
|
ul: "dial-small-paragraph-text mb-3 space-y-1",
|
|
861
861
|
ol: "dial-small-paragraph-text mb-3 space-y-1"
|
|
862
|
-
}, Dt = ({ skillLabel: e, skillDisplayNames: t,
|
|
862
|
+
}, Dt = ({ skillLabel: e, skillDisplayNames: t, renderSkillName: n, instructionsLabel: r, instructionsMarkdown: i, renderInstructions: a, markdownLabels: o, fieldLabelClassName: s = "dial-tiny-text" }) => /* @__PURE__ */ Y("div", {
|
|
863
863
|
className: "flex min-w-0 flex-col gap-5",
|
|
864
|
-
children: [!!t?.length && /* @__PURE__ */
|
|
864
|
+
children: [!!t?.length && /* @__PURE__ */ Y("div", {
|
|
865
865
|
role: "group",
|
|
866
866
|
"aria-label": e,
|
|
867
867
|
className: "flex min-w-0 flex-col gap-1",
|
|
868
|
-
children: [/* @__PURE__ */
|
|
869
|
-
className: b(
|
|
868
|
+
children: [/* @__PURE__ */ J("span", {
|
|
869
|
+
className: b(s, Tt.subtitleText),
|
|
870
870
|
children: e
|
|
871
|
-
}), /* @__PURE__ */
|
|
871
|
+
}), /* @__PURE__ */ J("p", {
|
|
872
872
|
className: "wrap-anywhere whitespace-normal",
|
|
873
|
-
children: t?.map((e, t) => /* @__PURE__ */
|
|
873
|
+
children: t?.map((e, t) => /* @__PURE__ */ J("span", {
|
|
874
874
|
className: "block",
|
|
875
|
-
children: e
|
|
875
|
+
children: n ? n(e, t) : e
|
|
876
876
|
}, `${t}:${e}`))
|
|
877
877
|
})]
|
|
878
|
-
}),
|
|
878
|
+
}), i && /* @__PURE__ */ Y("div", {
|
|
879
879
|
role: "group",
|
|
880
|
-
"aria-label":
|
|
880
|
+
"aria-label": r,
|
|
881
881
|
className: "flex min-w-0 flex-col gap-1",
|
|
882
|
-
children: [/* @__PURE__ */
|
|
883
|
-
className: b(
|
|
884
|
-
children:
|
|
885
|
-
}),
|
|
886
|
-
content:
|
|
882
|
+
children: [/* @__PURE__ */ J("span", {
|
|
883
|
+
className: b(s, Tt.subtitleText),
|
|
884
|
+
children: r
|
|
885
|
+
}), a ? a(i) : /* @__PURE__ */ J(h, {
|
|
886
|
+
content: i,
|
|
887
887
|
classNames: Et,
|
|
888
|
-
...
|
|
888
|
+
...o
|
|
889
889
|
})]
|
|
890
890
|
})]
|
|
891
891
|
}), Ot = {
|
|
892
892
|
subtitleText: "_subtitleText_1ncri_4",
|
|
893
893
|
description: "_description_1ncri_10"
|
|
894
|
-
}, kt = ({ labels: e, description: t, modelLabel: n,
|
|
895
|
-
let
|
|
896
|
-
return /* @__PURE__ */
|
|
897
|
-
|
|
894
|
+
}, kt = ({ labels: e, description: t, modelLabel: n, renderModelName: r, repeatsLabel: i, activeWindowLabel: a, completedLabel: o, fieldLabelClassName: s = "dial-tiny-text", fieldValueClassName: c = "dial-small-text" }) => {
|
|
895
|
+
let l = t?.trim();
|
|
896
|
+
return /* @__PURE__ */ Y(q, { children: [
|
|
897
|
+
l && /* @__PURE__ */ Y("div", {
|
|
898
898
|
className: "flex min-w-0 flex-col gap-1",
|
|
899
|
-
children: [/* @__PURE__ */
|
|
900
|
-
className: b(
|
|
899
|
+
children: [/* @__PURE__ */ J("span", {
|
|
900
|
+
className: b(s, Ot.subtitleText),
|
|
901
901
|
children: e.descriptionLabel
|
|
902
|
-
}), /* @__PURE__ */
|
|
903
|
-
className: b(
|
|
904
|
-
children:
|
|
902
|
+
}), /* @__PURE__ */ J("p", {
|
|
903
|
+
className: b(c, "wrap-anywhere whitespace-pre-wrap", Ot.description),
|
|
904
|
+
children: l
|
|
905
905
|
})]
|
|
906
906
|
}),
|
|
907
|
-
|
|
907
|
+
o && /* @__PURE__ */ Y("div", {
|
|
908
908
|
className: "flex min-w-0 flex-col gap-1",
|
|
909
|
-
children: [/* @__PURE__ */
|
|
910
|
-
className: b(
|
|
909
|
+
children: [/* @__PURE__ */ J("span", {
|
|
910
|
+
className: b(s, Ot.subtitleText),
|
|
911
911
|
children: e.completedFieldLabel
|
|
912
|
-
}), /* @__PURE__ */
|
|
913
|
-
className:
|
|
914
|
-
children:
|
|
912
|
+
}), /* @__PURE__ */ J("p", {
|
|
913
|
+
className: c,
|
|
914
|
+
children: o
|
|
915
915
|
})]
|
|
916
916
|
}),
|
|
917
|
-
n && /* @__PURE__ */
|
|
917
|
+
n && /* @__PURE__ */ Y("div", {
|
|
918
918
|
className: "flex min-w-0 flex-col gap-1",
|
|
919
|
-
children: [/* @__PURE__ */
|
|
920
|
-
className: b(
|
|
919
|
+
children: [/* @__PURE__ */ J("span", {
|
|
920
|
+
className: b(s, Ot.subtitleText),
|
|
921
921
|
children: e.modelLabel
|
|
922
|
-
}), /* @__PURE__ */
|
|
923
|
-
className:
|
|
924
|
-
children: n
|
|
922
|
+
}), /* @__PURE__ */ J("p", {
|
|
923
|
+
className: c,
|
|
924
|
+
children: r ? r(n) : n
|
|
925
925
|
})]
|
|
926
926
|
}),
|
|
927
|
-
|
|
927
|
+
i && /* @__PURE__ */ Y("div", {
|
|
928
928
|
className: "flex min-w-0 flex-col gap-1",
|
|
929
|
-
children: [/* @__PURE__ */
|
|
930
|
-
className: b(
|
|
929
|
+
children: [/* @__PURE__ */ J("span", {
|
|
930
|
+
className: b(s, Ot.subtitleText),
|
|
931
931
|
children: e.repeatsLabel
|
|
932
|
-
}), /* @__PURE__ */
|
|
933
|
-
className:
|
|
934
|
-
children:
|
|
932
|
+
}), /* @__PURE__ */ J("p", {
|
|
933
|
+
className: c,
|
|
934
|
+
children: i
|
|
935
935
|
})]
|
|
936
936
|
}),
|
|
937
|
-
|
|
937
|
+
a && /* @__PURE__ */ Y("div", {
|
|
938
938
|
className: "flex min-w-0 flex-col gap-1",
|
|
939
|
-
children: [/* @__PURE__ */
|
|
940
|
-
className: b(
|
|
939
|
+
children: [/* @__PURE__ */ J("span", {
|
|
940
|
+
className: b(s, Ot.subtitleText),
|
|
941
941
|
children: e.activeWindowLabel
|
|
942
|
-
}), /* @__PURE__ */
|
|
943
|
-
className:
|
|
944
|
-
children:
|
|
942
|
+
}), /* @__PURE__ */ J("p", {
|
|
943
|
+
className: c,
|
|
944
|
+
children: a
|
|
945
945
|
})]
|
|
946
946
|
})
|
|
947
947
|
] });
|
|
948
948
|
}, At = /* @__PURE__ */ function(e) {
|
|
949
949
|
return e.Success = "success", e.Error = "error", e.InProgress = "inProgress", e.Missed = "missed", e;
|
|
950
950
|
}({}), Q = {
|
|
951
|
-
subtitleText: "
|
|
952
|
-
successIcon: "
|
|
953
|
-
errorIcon: "
|
|
954
|
-
missedIcon: "
|
|
955
|
-
currentRun: "
|
|
956
|
-
|
|
957
|
-
|
|
951
|
+
subtitleText: "_subtitleText_1sc83_1",
|
|
952
|
+
successIcon: "_successIcon_1sc83_5",
|
|
953
|
+
errorIcon: "_errorIcon_1sc83_9",
|
|
954
|
+
missedIcon: "_missedIcon_1sc83_13",
|
|
955
|
+
currentRun: "_currentRun_1sc83_17",
|
|
956
|
+
expandedRow: "_expandedRow_1sc83_22",
|
|
957
|
+
interactiveRow: "_interactiveRow_1sc83_33",
|
|
958
|
+
unreadDot: "_unreadDot_1sc83_44",
|
|
959
|
+
chevronIcon: "_chevronIcon_1sc83_48",
|
|
960
|
+
errorDetailsText: "_errorDetailsText_1sc83_52"
|
|
958
961
|
}, jt = ({ status: e }) => {
|
|
959
962
|
switch (e) {
|
|
960
|
-
case At.Success: return /* @__PURE__ */
|
|
961
|
-
size:
|
|
963
|
+
case At.Success: return /* @__PURE__ */ J(W, {
|
|
964
|
+
size: k.SM,
|
|
962
965
|
className: Q.successIcon,
|
|
963
966
|
"aria-hidden": !0,
|
|
964
|
-
stroke:
|
|
967
|
+
stroke: A
|
|
965
968
|
});
|
|
966
|
-
case At.Error: return /* @__PURE__ */
|
|
967
|
-
size:
|
|
969
|
+
case At.Error: return /* @__PURE__ */ J(Ae, {
|
|
970
|
+
size: k.SM,
|
|
968
971
|
className: Q.errorIcon,
|
|
969
972
|
"aria-hidden": !0,
|
|
970
|
-
stroke:
|
|
973
|
+
stroke: A
|
|
971
974
|
});
|
|
972
|
-
case At.InProgress: return /* @__PURE__ */
|
|
975
|
+
case At.InProgress: return /* @__PURE__ */ J("span", {
|
|
973
976
|
"aria-hidden": !0,
|
|
974
|
-
children: /* @__PURE__ */
|
|
977
|
+
children: /* @__PURE__ */ J(xe, { size: k.SM })
|
|
975
978
|
});
|
|
976
|
-
case At.Missed: return /* @__PURE__ */
|
|
977
|
-
size:
|
|
979
|
+
case At.Missed: return /* @__PURE__ */ J(Ee, {
|
|
980
|
+
size: k.SM,
|
|
978
981
|
className: Q.missedIcon,
|
|
979
982
|
"aria-hidden": !0,
|
|
980
|
-
stroke:
|
|
983
|
+
stroke: A
|
|
981
984
|
});
|
|
982
985
|
default: return null;
|
|
983
986
|
}
|
|
984
987
|
}, Mt = ({ 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 }) => {
|
|
985
|
-
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",
|
|
988
|
+
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 = f?.errorDetailsClassName ?? "dial-tiny-text", _ = c.unreadIndicatorLabel ?? "Unread", v = c.openConversationLabel ?? "Open conversation", x = K(), [S, C] = Ue(() => /* @__PURE__ */ new Set()), w = (e) => {
|
|
989
|
+
C((t) => {
|
|
990
|
+
let n = new Set(t);
|
|
991
|
+
return n.has(e) ? n.delete(e) : n.add(e), n;
|
|
992
|
+
});
|
|
993
|
+
}, T = y({
|
|
986
994
|
"--strhl-success-icon": d?.successIconColor,
|
|
987
995
|
"--strhl-error-icon": d?.errorIconColor,
|
|
988
996
|
"--strhl-missed-icon": d?.missedIconColor,
|
|
@@ -990,159 +998,190 @@ var qe = "1180px", Je = {
|
|
|
990
998
|
"--strhl-current-run-bg": d?.currentRunBackground,
|
|
991
999
|
"--strhl-current-run-subtitle-text": d?.currentRunSubtitleTextColor,
|
|
992
1000
|
"--strhl-unread-dot": d?.unreadDotColor,
|
|
1001
|
+
"--strhl-error-details-text": d?.errorDetailsTextColor,
|
|
1002
|
+
"--strhl-chevron-icon": d?.chevronIconColor,
|
|
993
1003
|
"--strhl-row-hover-bg": u?.rowHoverBackground,
|
|
994
1004
|
"--strhl-row-focus-bg": u?.rowFocusBackground,
|
|
995
|
-
"--strhl-row-focus-outline": u?.rowFocusOutline
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
e.isUnread ? g : void 0,
|
|
1000
|
-
n ? c.currentRunLabel : void 0
|
|
1001
|
-
].filter((e) => !!e), a = [[
|
|
1005
|
+
"--strhl-row-focus-outline": u?.rowFocusOutline,
|
|
1006
|
+
"--strhl-row-expanded-bg": u?.rowExpandedBackground
|
|
1007
|
+
}), E = (e) => {
|
|
1008
|
+
let t = c.runStatusLabels[e.status], n = e.id === o, r = e.status === At.Error && e.errorText ? e.errorText : void 0, i = !!r, a = i && S.has(e.id), l = [e.isUnread ? _ : void 0, n ? c.currentRunLabel : void 0].filter((e) => !!e), u = [[
|
|
1002
1009
|
t,
|
|
1003
1010
|
e.timestampLabel,
|
|
1004
1011
|
e.durationLabel
|
|
1005
|
-
].filter(Boolean).join(" "), ...
|
|
1012
|
+
].filter(Boolean).join(" "), ...l].join(" — "), d = !!e.conversationId && !!s, f = !i && d, h = f || i, y = "-mx-(--strhl-row-bleed,0px)", C = b("flex min-h-(--strhl-row-min-height,32px) items-center justify-between gap-2 rounded-full px-3", n && Q.currentRun, a && Q.expandedRow, h && "w-full cursor-pointer text-start", h && Q.interactiveRow), T = /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ Y("span", {
|
|
1006
1013
|
className: "flex min-w-0 items-center gap-1",
|
|
1007
|
-
children: [
|
|
1008
|
-
tooltip: r,
|
|
1009
|
-
asChild: !0,
|
|
1010
|
-
contentClassName: "max-w-[320px] whitespace-pre-wrap break-words",
|
|
1011
|
-
children: /* @__PURE__ */ q("span", {
|
|
1012
|
-
className: "flex shrink-0",
|
|
1013
|
-
tabIndex: l ? void 0 : 0,
|
|
1014
|
-
children: /* @__PURE__ */ q(jt, { status: e.status })
|
|
1015
|
-
})
|
|
1016
|
-
}) : /* @__PURE__ */ q(jt, { status: e.status }), /* @__PURE__ */ J("span", {
|
|
1014
|
+
children: [/* @__PURE__ */ J(jt, { status: e.status }), /* @__PURE__ */ Y("span", {
|
|
1017
1015
|
className: "flex min-w-0 items-center gap-1",
|
|
1018
|
-
children: [/* @__PURE__ */
|
|
1016
|
+
children: [/* @__PURE__ */ J("span", {
|
|
1019
1017
|
className: b(e.isUnread ? m : p, "truncate"),
|
|
1020
1018
|
children: e.timestampLabel
|
|
1021
|
-
}), e.durationLabel && /* @__PURE__ */
|
|
1019
|
+
}), e.durationLabel && /* @__PURE__ */ J("span", {
|
|
1022
1020
|
className: b(p, Q.subtitleText, "shrink-0"),
|
|
1023
1021
|
children: e.durationLabel
|
|
1024
1022
|
})]
|
|
1025
1023
|
})]
|
|
1026
|
-
}), /* @__PURE__ */
|
|
1024
|
+
}), /* @__PURE__ */ Y("span", {
|
|
1027
1025
|
className: "relative flex size-3 shrink-0 items-center justify-center",
|
|
1028
|
-
children:
|
|
1026
|
+
children: [i && /* @__PURE__ */ J(ke, {
|
|
1027
|
+
size: k.SM,
|
|
1028
|
+
stroke: A,
|
|
1029
|
+
"aria-hidden": !0,
|
|
1030
|
+
className: b("shrink-0 transition-transform duration-200 motion-reduce:transition-none", Q.chevronIcon, a && "rotate-180")
|
|
1031
|
+
}), !i && e.isUnread && /* @__PURE__ */ J("span", {
|
|
1029
1032
|
className: b("size-[5.33px] rounded-full", Q.unreadDot),
|
|
1030
1033
|
"aria-hidden": !0
|
|
1031
|
-
})
|
|
1034
|
+
})]
|
|
1032
1035
|
})] });
|
|
1033
|
-
|
|
1036
|
+
if (i) {
|
|
1037
|
+
let t = `${x}-${e.id}-header`, i = `${x}-${e.id}-details`;
|
|
1038
|
+
return /* @__PURE__ */ Y("li", {
|
|
1039
|
+
className: b(y, "flex flex-col"),
|
|
1040
|
+
children: [/* @__PURE__ */ J("button", {
|
|
1041
|
+
type: "button",
|
|
1042
|
+
id: t,
|
|
1043
|
+
"aria-label": u,
|
|
1044
|
+
"aria-current": n ? "true" : void 0,
|
|
1045
|
+
"aria-expanded": a,
|
|
1046
|
+
"aria-controls": i,
|
|
1047
|
+
className: C,
|
|
1048
|
+
onClick: () => w(e.id),
|
|
1049
|
+
children: T
|
|
1050
|
+
}), /* @__PURE__ */ J("div", {
|
|
1051
|
+
inert: !a,
|
|
1052
|
+
className: b("grid transition-[grid-template-rows] duration-200 ease-out motion-reduce:transition-none", a ? "grid-rows-[1fr]" : "grid-rows-[0fr]"),
|
|
1053
|
+
children: /* @__PURE__ */ J("div", {
|
|
1054
|
+
className: "min-h-0 overflow-hidden",
|
|
1055
|
+
children: /* @__PURE__ */ Y("div", {
|
|
1056
|
+
id: i,
|
|
1057
|
+
role: "region",
|
|
1058
|
+
"aria-labelledby": t,
|
|
1059
|
+
className: "flex min-w-0 flex-col items-start gap-1 ps-8 pe-3 pt-1 pb-2",
|
|
1060
|
+
children: [/* @__PURE__ */ J("p", {
|
|
1061
|
+
className: b(g, Q.errorDetailsText, "max-w-full wrap-break-word whitespace-pre-wrap"),
|
|
1062
|
+
children: r
|
|
1063
|
+
}), d && /* @__PURE__ */ J(pe, {
|
|
1064
|
+
label: v,
|
|
1065
|
+
onClick: () => s?.(e)
|
|
1066
|
+
})]
|
|
1067
|
+
})
|
|
1068
|
+
})
|
|
1069
|
+
})]
|
|
1070
|
+
}, e.id);
|
|
1071
|
+
}
|
|
1072
|
+
return f ? /* @__PURE__ */ J("li", { children: /* @__PURE__ */ J("button", {
|
|
1034
1073
|
type: "button",
|
|
1035
|
-
"aria-label":
|
|
1074
|
+
"aria-label": u,
|
|
1036
1075
|
"aria-current": n ? "true" : void 0,
|
|
1037
|
-
className:
|
|
1076
|
+
className: b(y, C),
|
|
1038
1077
|
onClick: () => s?.(e),
|
|
1039
|
-
children:
|
|
1040
|
-
}) }, e.id) : /* @__PURE__ */
|
|
1041
|
-
"aria-label":
|
|
1078
|
+
children: T
|
|
1079
|
+
}) }, e.id) : /* @__PURE__ */ J("li", {
|
|
1080
|
+
"aria-label": u,
|
|
1042
1081
|
"aria-current": n ? "true" : void 0,
|
|
1043
|
-
className:
|
|
1044
|
-
children:
|
|
1082
|
+
className: b(y, C),
|
|
1083
|
+
children: T
|
|
1045
1084
|
}, e.id);
|
|
1046
|
-
},
|
|
1085
|
+
}, D = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ Y("li", {
|
|
1047
1086
|
"aria-hidden": "true",
|
|
1048
|
-
className: "-mx-(--strhl-row-bleed,0px) flex min-h-(--strhl-row-min-height,32px)
|
|
1049
|
-
children: [/* @__PURE__ */
|
|
1050
|
-
variant:
|
|
1087
|
+
className: "-mx-(--strhl-row-bleed,0px) flex min-h-(--strhl-row-min-height,32px) items-center justify-between gap-2 px-3",
|
|
1088
|
+
children: [/* @__PURE__ */ J(V, {
|
|
1089
|
+
variant: H.Rectangular,
|
|
1051
1090
|
width: "160px",
|
|
1052
1091
|
height: "16px"
|
|
1053
|
-
}), /* @__PURE__ */
|
|
1054
|
-
variant:
|
|
1092
|
+
}), /* @__PURE__ */ J(V, {
|
|
1093
|
+
variant: H.Rectangular,
|
|
1055
1094
|
width: "16px",
|
|
1056
1095
|
height: "16px",
|
|
1057
1096
|
className: "shrink-0 rounded-full"
|
|
1058
1097
|
})]
|
|
1059
1098
|
}, `history-skeleton-${t}`));
|
|
1060
|
-
return t && e.length === 0 ? /* @__PURE__ */
|
|
1099
|
+
return t && e.length === 0 ? /* @__PURE__ */ J("ul", {
|
|
1061
1100
|
style: {
|
|
1062
|
-
...
|
|
1101
|
+
...T,
|
|
1063
1102
|
"--strhl-row-min-height": u?.rowMinHeight
|
|
1064
1103
|
},
|
|
1065
1104
|
"aria-label": c.historyTitle,
|
|
1066
1105
|
className: "flex flex-col gap-0.5",
|
|
1067
|
-
children:
|
|
1068
|
-
}) : i && e.length === 0 ? /* @__PURE__ */
|
|
1069
|
-
style:
|
|
1106
|
+
children: D(r)
|
|
1107
|
+
}) : i && e.length === 0 ? /* @__PURE__ */ Y("div", {
|
|
1108
|
+
style: T,
|
|
1070
1109
|
className: "flex flex-col items-start gap-3",
|
|
1071
|
-
children: [/* @__PURE__ */
|
|
1110
|
+
children: [/* @__PURE__ */ J("p", {
|
|
1072
1111
|
role: "status",
|
|
1073
1112
|
className: b(h, Q.subtitleText),
|
|
1074
1113
|
children: c.errorLabel
|
|
1075
|
-
}), /* @__PURE__ */
|
|
1114
|
+
}), /* @__PURE__ */ J(M, {
|
|
1076
1115
|
label: c.retryLabel,
|
|
1077
1116
|
onClick: a
|
|
1078
1117
|
})]
|
|
1079
|
-
}) : e.length === 0 ? /* @__PURE__ */
|
|
1080
|
-
style:
|
|
1118
|
+
}) : e.length === 0 ? /* @__PURE__ */ J("div", {
|
|
1119
|
+
style: T,
|
|
1081
1120
|
className: "w-full py-4",
|
|
1082
|
-
children: /* @__PURE__ */
|
|
1121
|
+
children: /* @__PURE__ */ J(he, {
|
|
1083
1122
|
title: c.emptyLabel,
|
|
1084
1123
|
description: c.emptyDescription,
|
|
1085
1124
|
live: !0
|
|
1086
1125
|
})
|
|
1087
|
-
}) : /* @__PURE__ */
|
|
1126
|
+
}) : /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ Y("ul", {
|
|
1088
1127
|
style: {
|
|
1089
|
-
...
|
|
1128
|
+
...T,
|
|
1090
1129
|
"--strhl-row-min-height": u?.rowMinHeight
|
|
1091
1130
|
},
|
|
1092
1131
|
"aria-label": c.historyTitle,
|
|
1093
1132
|
className: "flex flex-col gap-0.5",
|
|
1094
1133
|
children: [
|
|
1095
|
-
e.map(
|
|
1096
|
-
n &&
|
|
1097
|
-
i ? /* @__PURE__ */
|
|
1134
|
+
e.map(E),
|
|
1135
|
+
n && D(r),
|
|
1136
|
+
i ? /* @__PURE__ */ Y("li", {
|
|
1098
1137
|
className: "flex flex-col items-start gap-3 px-5 py-2",
|
|
1099
|
-
children: [/* @__PURE__ */
|
|
1138
|
+
children: [/* @__PURE__ */ J("p", {
|
|
1100
1139
|
className: b(h, Q.subtitleText),
|
|
1101
1140
|
children: c.errorLabel
|
|
1102
|
-
}), /* @__PURE__ */
|
|
1141
|
+
}), /* @__PURE__ */ J(M, {
|
|
1103
1142
|
label: c.retryLabel,
|
|
1104
1143
|
onClick: a
|
|
1105
1144
|
})]
|
|
1106
1145
|
}) : l
|
|
1107
1146
|
]
|
|
1108
|
-
}), /* @__PURE__ */
|
|
1109
|
-
politeness:
|
|
1147
|
+
}), /* @__PURE__ */ J(P, {
|
|
1148
|
+
politeness: I.Assertive,
|
|
1110
1149
|
visuallyHidden: !0,
|
|
1111
|
-
as:
|
|
1150
|
+
as: F.Span,
|
|
1112
1151
|
children: i ? c.errorLabel : ""
|
|
1113
1152
|
})] });
|
|
1114
1153
|
}, Nt = {
|
|
1115
1154
|
historyCard: "_historyCard_153p9_4",
|
|
1116
1155
|
subtitleText: "_subtitleText_153p9_8",
|
|
1117
1156
|
cardLayout: "_cardLayout_153p9_13"
|
|
1118
|
-
}, Pt = ({ 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",
|
|
1119
|
-
let
|
|
1120
|
-
className:
|
|
1121
|
-
children: [/* @__PURE__ */
|
|
1157
|
+
}, Pt = ({ 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", errorDetailsClassName: g = "dial-tiny-text", sectionTitleClassName: _ = "dial-body-semi-text", colors: v, styles: y }) => {
|
|
1158
|
+
let x = e === wt.Card, S = x ? b("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", Nt.historyCard) : "pt-2", C = t.historyLoadMoreErrorLabel ?? t.historyErrorLabel, w = l ? /* @__PURE__ */ Y("li", {
|
|
1159
|
+
className: S,
|
|
1160
|
+
children: [/* @__PURE__ */ J("p", { children: C }), u && /* @__PURE__ */ J(M, {
|
|
1122
1161
|
label: t.historyRetryLabel,
|
|
1123
1162
|
onClick: u,
|
|
1124
1163
|
disabled: a
|
|
1125
1164
|
})]
|
|
1126
|
-
}) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */
|
|
1127
|
-
className:
|
|
1128
|
-
children: /* @__PURE__ */
|
|
1165
|
+
}) : f && d && t.historyShowMoreLabel ? /* @__PURE__ */ J("li", {
|
|
1166
|
+
className: S,
|
|
1167
|
+
children: /* @__PURE__ */ J(M, {
|
|
1129
1168
|
label: t.historyShowMoreLabel,
|
|
1130
1169
|
onClick: f,
|
|
1131
1170
|
disabled: a
|
|
1132
1171
|
})
|
|
1133
|
-
}) : void 0,
|
|
1172
|
+
}) : void 0, T = n ? /* @__PURE__ */ J("p", {
|
|
1134
1173
|
className: b(m, Nt.subtitleText),
|
|
1135
1174
|
children: n
|
|
1136
|
-
}) : void 0,
|
|
1137
|
-
politeness:
|
|
1175
|
+
}) : void 0, E = /* @__PURE__ */ J(P, {
|
|
1176
|
+
politeness: I.Assertive,
|
|
1138
1177
|
visuallyHidden: !0,
|
|
1139
|
-
as:
|
|
1140
|
-
children: l ?
|
|
1141
|
-
}),
|
|
1178
|
+
as: F.Span,
|
|
1179
|
+
children: l ? C : ""
|
|
1180
|
+
}), D = t.historyLoadingMoreLabel ? /* @__PURE__ */ J(P, {
|
|
1142
1181
|
visuallyHidden: !0,
|
|
1143
|
-
as:
|
|
1182
|
+
as: F.Span,
|
|
1144
1183
|
children: a ? t.historyLoadingMoreLabel : ""
|
|
1145
|
-
}) : void 0,
|
|
1184
|
+
}) : void 0, ee = /* @__PURE__ */ J(Mt, {
|
|
1146
1185
|
items: r,
|
|
1147
1186
|
isLoading: i,
|
|
1148
1187
|
isLoadingMore: a,
|
|
@@ -1157,47 +1196,50 @@ var qe = "1180px", Je = {
|
|
|
1157
1196
|
errorLabel: t.historyErrorLabel,
|
|
1158
1197
|
retryLabel: t.historyRetryLabel,
|
|
1159
1198
|
runStatusLabels: t.runStatusLabels,
|
|
1160
|
-
unreadIndicatorLabel: t.unreadIndicatorLabel
|
|
1199
|
+
unreadIndicatorLabel: t.unreadIndicatorLabel,
|
|
1200
|
+
openConversationLabel: t.openConversationLabel
|
|
1161
1201
|
},
|
|
1162
|
-
footer:
|
|
1202
|
+
footer: w,
|
|
1163
1203
|
styles: {
|
|
1164
1204
|
typography: {
|
|
1165
1205
|
runTimestampClassName: m,
|
|
1166
|
-
runTimestampUnreadClassName: h
|
|
1206
|
+
runTimestampUnreadClassName: h,
|
|
1207
|
+
errorDetailsClassName: g
|
|
1167
1208
|
},
|
|
1168
|
-
colors:
|
|
1169
|
-
rowMinHeight:
|
|
1170
|
-
rowHoverBackground:
|
|
1171
|
-
rowFocusBackground:
|
|
1172
|
-
rowFocusOutline:
|
|
1209
|
+
colors: y?.colors ?? v,
|
|
1210
|
+
rowMinHeight: y?.rowMinHeight,
|
|
1211
|
+
rowHoverBackground: y?.rowHoverBackground,
|
|
1212
|
+
rowFocusBackground: y?.rowFocusBackground,
|
|
1213
|
+
rowFocusOutline: y?.rowFocusOutline,
|
|
1214
|
+
rowExpandedBackground: y?.rowExpandedBackground
|
|
1173
1215
|
}
|
|
1174
1216
|
});
|
|
1175
|
-
return
|
|
1217
|
+
return x ? /* @__PURE__ */ Y("div", {
|
|
1176
1218
|
className: b("flex max-h-(--st-history-max-height,70vh) w-full max-w-full flex-col overflow-y-auto rounded-xl shadow-md", Nt.historyCard, Nt.cardLayout),
|
|
1177
|
-
style: { "--st-history-max-height":
|
|
1178
|
-
children: [/* @__PURE__ */
|
|
1219
|
+
style: { "--st-history-max-height": y?.maxHeight },
|
|
1220
|
+
children: [/* @__PURE__ */ Y("div", {
|
|
1179
1221
|
className: b("sticky top-0 z-10 flex flex-col gap-4 rounded-t-xl px-6 pt-5 pb-2", Nt.historyCard),
|
|
1180
1222
|
children: [
|
|
1181
|
-
/* @__PURE__ */
|
|
1182
|
-
className:
|
|
1223
|
+
/* @__PURE__ */ J("h2", {
|
|
1224
|
+
className: _,
|
|
1183
1225
|
children: t.historyTitle
|
|
1184
1226
|
}),
|
|
1185
|
-
w,
|
|
1186
1227
|
T,
|
|
1187
|
-
|
|
1228
|
+
D,
|
|
1229
|
+
E
|
|
1188
1230
|
]
|
|
1189
|
-
}), /* @__PURE__ */
|
|
1231
|
+
}), /* @__PURE__ */ J("div", {
|
|
1190
1232
|
className: "flex flex-1 flex-col gap-4 px-6 pb-2",
|
|
1191
1233
|
style: { "--strhl-row-bleed": "12px" },
|
|
1192
|
-
children:
|
|
1234
|
+
children: ee
|
|
1193
1235
|
})]
|
|
1194
|
-
}) : /* @__PURE__ */
|
|
1236
|
+
}) : /* @__PURE__ */ Y("div", {
|
|
1195
1237
|
className: "flex flex-col gap-4",
|
|
1196
1238
|
children: [
|
|
1197
|
-
w,
|
|
1198
1239
|
T,
|
|
1199
|
-
|
|
1200
|
-
|
|
1240
|
+
D,
|
|
1241
|
+
E,
|
|
1242
|
+
ee
|
|
1201
1243
|
]
|
|
1202
1244
|
});
|
|
1203
1245
|
}, $ = {
|
|
@@ -1213,15 +1255,15 @@ var qe = "1180px", Je = {
|
|
|
1213
1255
|
actionButton: "_actionButton_hdn5b_75",
|
|
1214
1256
|
roundActionButton: "_roundActionButton_hdn5b_82",
|
|
1215
1257
|
stickyTabs: "_stickyTabs_hdn5b_88"
|
|
1216
|
-
}, Ft = "min-w-0 max-w-[600px]", It = ({ 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: _ = !1, error: v, onRetry: x, description: S, modelLabel: w, repeatsLabel:
|
|
1217
|
-
let { colors:
|
|
1218
|
-
"--stdv-bg":
|
|
1219
|
-
"--stdv-header-border":
|
|
1220
|
-
"--stdv-details-border":
|
|
1221
|
-
"--stdv-subtitle-text":
|
|
1222
|
-
"--stdv-description-text":
|
|
1223
|
-
"--stdv-history-bg":
|
|
1224
|
-
}),
|
|
1258
|
+
}, Ft = "min-w-0 max-w-[600px]", It = ({ 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: _ = !1, error: v, onRetry: x, description: S, modelLabel: w, renderModelName: T, repeatsLabel: E, activeWindowLabel: D, completedLabel: ee, nextRunLabel: te, instructionsMarkdown: re, skillDisplayNames: O, renderSkillName: ie, renderInstructions: ae, runs: oe, runsIsLoading: ce = !1, runsIsLoadingMore: j = !1, runsSkeletonCount: le = 6, runsError: ue, onRunsRetry: de, runsLoadMoreError: fe, onRunsRetryLoadMore: pe, runsHasMore: I = !1, onRunsLoadMore: me, onRunClick: he, styles: ge, className: _e, backIcon: ve, layout: R, historyStyles: ye }) => {
|
|
1259
|
+
let { colors: z, typography: B } = ge ?? {}, be = B?.titleClassName ?? "dial-h2-text", V = B?.sectionTitleClassName ?? "dial-body-semi-text", H = B?.fieldLabelClassName ?? "dial-tiny-text", we = B?.fieldValueClassName ?? "dial-small-text", Te = B?.runTimestampClassName ?? "dial-small-text", Ee = y({
|
|
1260
|
+
"--stdv-bg": z?.background,
|
|
1261
|
+
"--stdv-header-border": z?.headerBorder,
|
|
1262
|
+
"--stdv-details-border": z?.detailsColumnBorder,
|
|
1263
|
+
"--stdv-subtitle-text": z?.subtitleText,
|
|
1264
|
+
"--stdv-description-text": z?.descriptionText,
|
|
1265
|
+
"--stdv-history-bg": z?.historyCardBackground
|
|
1266
|
+
}), Oe = C(), [U, W] = Ue(Ct.Details), ke = K(), Ae = o && !i ? e.startNowBusyLabel : void 0, Me = [
|
|
1225
1267
|
{
|
|
1226
1268
|
id: Ct.Details,
|
|
1227
1269
|
label: e.detailsTitle
|
|
@@ -1234,7 +1276,7 @@ var qe = "1180px", Je = {
|
|
|
1234
1276
|
id: Ct.History,
|
|
1235
1277
|
label: e.historyTitle
|
|
1236
1278
|
}
|
|
1237
|
-
],
|
|
1279
|
+
], G = Me.find((e) => e.id === U)?.label ?? e.detailsTitle, Fe = /* @__PURE__ */ J(kt, {
|
|
1238
1280
|
labels: {
|
|
1239
1281
|
descriptionLabel: e.descriptionLabel,
|
|
1240
1282
|
modelLabel: e.modelLabel,
|
|
@@ -1244,17 +1286,19 @@ var qe = "1180px", Je = {
|
|
|
1244
1286
|
},
|
|
1245
1287
|
description: S,
|
|
1246
1288
|
modelLabel: w,
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1289
|
+
renderModelName: T,
|
|
1290
|
+
repeatsLabel: E,
|
|
1291
|
+
activeWindowLabel: D,
|
|
1292
|
+
completedLabel: ee,
|
|
1293
|
+
fieldLabelClassName: H,
|
|
1294
|
+
fieldValueClassName: we
|
|
1295
|
+
}), Ie = /* @__PURE__ */ J(Dt, {
|
|
1253
1296
|
instructionsLabel: e.instructionsLabel,
|
|
1254
1297
|
skillLabel: e.skillLabel,
|
|
1255
|
-
skillDisplayNames:
|
|
1298
|
+
skillDisplayNames: O,
|
|
1299
|
+
renderSkillName: ie,
|
|
1256
1300
|
instructionsMarkdown: re,
|
|
1257
|
-
renderInstructions:
|
|
1301
|
+
renderInstructions: ae,
|
|
1258
1302
|
markdownLabels: {
|
|
1259
1303
|
codeBlockCopyLabel: e.codeBlockCopyLabel,
|
|
1260
1304
|
codeBlockCopiedLabel: e.codeBlockCopiedLabel,
|
|
@@ -1262,8 +1306,8 @@ var qe = "1180px", Je = {
|
|
|
1262
1306
|
tableScrollRegionAriaLabel: e.tableScrollRegionAriaLabel,
|
|
1263
1307
|
mathScrollRegionAriaLabel: e.mathScrollRegionAriaLabel
|
|
1264
1308
|
},
|
|
1265
|
-
fieldLabelClassName:
|
|
1266
|
-
}),
|
|
1309
|
+
fieldLabelClassName: H
|
|
1310
|
+
}), Le = (t) => /* @__PURE__ */ J(Pt, {
|
|
1267
1311
|
variant: t,
|
|
1268
1312
|
labels: {
|
|
1269
1313
|
historyTitle: e.historyTitle,
|
|
@@ -1275,111 +1319,112 @@ var qe = "1180px", Je = {
|
|
|
1275
1319
|
historyLoadingMoreLabel: e.historyLoadingMoreLabel,
|
|
1276
1320
|
historyShowMoreLabel: e.historyShowMoreLabel,
|
|
1277
1321
|
runStatusLabels: e.runStatusLabels,
|
|
1278
|
-
unreadIndicatorLabel: e.unreadIndicatorLabel
|
|
1322
|
+
unreadIndicatorLabel: e.unreadIndicatorLabel,
|
|
1323
|
+
openConversationLabel: e.openConversationLabel
|
|
1279
1324
|
},
|
|
1280
|
-
nextRunLabel:
|
|
1281
|
-
items:
|
|
1282
|
-
isLoading:
|
|
1283
|
-
isLoadingMore:
|
|
1325
|
+
nextRunLabel: te,
|
|
1326
|
+
items: oe,
|
|
1327
|
+
isLoading: ce,
|
|
1328
|
+
isLoadingMore: j,
|
|
1284
1329
|
skeletonCount: le,
|
|
1285
|
-
error:
|
|
1286
|
-
onRetry:
|
|
1330
|
+
error: ue,
|
|
1331
|
+
onRetry: de,
|
|
1287
1332
|
loadMoreError: fe,
|
|
1288
1333
|
onRetryLoadMore: pe,
|
|
1289
|
-
hasMore:
|
|
1290
|
-
onLoadMore:
|
|
1291
|
-
onRunClick:
|
|
1292
|
-
runTimestampClassName:
|
|
1293
|
-
sectionTitleClassName:
|
|
1294
|
-
colors:
|
|
1295
|
-
styles:
|
|
1334
|
+
hasMore: I,
|
|
1335
|
+
onLoadMore: me,
|
|
1336
|
+
onRunClick: he,
|
|
1337
|
+
runTimestampClassName: Te,
|
|
1338
|
+
sectionTitleClassName: V,
|
|
1339
|
+
colors: z,
|
|
1340
|
+
styles: ye
|
|
1296
1341
|
});
|
|
1297
|
-
return /* @__PURE__ */
|
|
1342
|
+
return /* @__PURE__ */ Y("div", {
|
|
1298
1343
|
style: Ee,
|
|
1299
|
-
className: b("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container,
|
|
1344
|
+
className: b("flex h-full min-h-0 w-full flex-col overflow-hidden", $.container, _e),
|
|
1300
1345
|
children: [
|
|
1301
|
-
/* @__PURE__ */
|
|
1346
|
+
/* @__PURE__ */ Y("div", {
|
|
1302
1347
|
className: b("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),
|
|
1303
|
-
children: [/* @__PURE__ */
|
|
1348
|
+
children: [/* @__PURE__ */ Y("div", {
|
|
1304
1349
|
className: "flex min-w-0 items-center gap-2",
|
|
1305
1350
|
children: [
|
|
1306
|
-
/* @__PURE__ */
|
|
1307
|
-
icon:
|
|
1308
|
-
size:
|
|
1351
|
+
/* @__PURE__ */ J(N, {
|
|
1352
|
+
icon: ve === void 0 ? /* @__PURE__ */ J(De, {
|
|
1353
|
+
size: k.LG,
|
|
1309
1354
|
className: "rtl:scale-x-[-1]",
|
|
1310
1355
|
"aria-hidden": !0,
|
|
1311
|
-
stroke:
|
|
1312
|
-
}) :
|
|
1356
|
+
stroke: A
|
|
1357
|
+
}) : ve,
|
|
1313
1358
|
"aria-label": e.backAriaLabel,
|
|
1314
1359
|
onClick: t
|
|
1315
1360
|
}),
|
|
1316
|
-
/* @__PURE__ */
|
|
1361
|
+
/* @__PURE__ */ J("h1", {
|
|
1317
1362
|
className: b(Ft, $.desktopTitle),
|
|
1318
|
-
children: /* @__PURE__ */
|
|
1363
|
+
children: /* @__PURE__ */ J(se, {
|
|
1319
1364
|
text: g,
|
|
1320
|
-
className:
|
|
1365
|
+
className: be
|
|
1321
1366
|
})
|
|
1322
1367
|
}),
|
|
1323
|
-
l && /* @__PURE__ */
|
|
1324
|
-
className: b("shrink-0", $.desktopBadge,
|
|
1368
|
+
l && /* @__PURE__ */ J("span", {
|
|
1369
|
+
className: b("shrink-0", $.desktopBadge, we, $.subtitleText),
|
|
1325
1370
|
children: e.deletedStateLabel
|
|
1326
1371
|
})
|
|
1327
1372
|
]
|
|
1328
|
-
}), /* @__PURE__ */
|
|
1373
|
+
}), /* @__PURE__ */ Y("div", {
|
|
1329
1374
|
className: b("flex min-w-0 flex-1 flex-wrap items-center justify-end gap-2 desktop:flex-none desktop:flex-nowrap", $.headerActions),
|
|
1330
1375
|
children: [
|
|
1331
|
-
!l && !u && d !== void 0 && /* @__PURE__ */
|
|
1376
|
+
!l && !u && d !== void 0 && /* @__PURE__ */ Y(q, { children: [/* @__PURE__ */ J(Se, {
|
|
1332
1377
|
id: "scheduled-task-active-switch",
|
|
1333
1378
|
labelProps: { label: e.activeStatusLabel },
|
|
1334
1379
|
isOn: d,
|
|
1335
1380
|
disabled: f || p || c,
|
|
1336
1381
|
onChange: (e) => h?.(e)
|
|
1337
|
-
}), p && m && /* @__PURE__ */
|
|
1338
|
-
className: b(
|
|
1382
|
+
}), p && m && /* @__PURE__ */ J("span", {
|
|
1383
|
+
className: b(we, $.subtitleText),
|
|
1339
1384
|
children: m
|
|
1340
1385
|
})] }),
|
|
1341
|
-
!l && s && /* @__PURE__ */
|
|
1342
|
-
variant:
|
|
1386
|
+
!l && s && /* @__PURE__ */ J(M, {
|
|
1387
|
+
variant: ne.Danger,
|
|
1343
1388
|
label: e.deleteButtonLabel,
|
|
1344
|
-
iconBefore: /* @__PURE__ */
|
|
1345
|
-
size:
|
|
1389
|
+
iconBefore: /* @__PURE__ */ J(Pe, {
|
|
1390
|
+
size: k.SM,
|
|
1346
1391
|
"aria-hidden": !0,
|
|
1347
|
-
stroke:
|
|
1392
|
+
stroke: A
|
|
1348
1393
|
}),
|
|
1349
1394
|
onClick: s,
|
|
1350
1395
|
disabled: c,
|
|
1351
1396
|
textClassName: $.actionLabel,
|
|
1352
1397
|
className: b("min-h-11 shrink-0", $.actionButton)
|
|
1353
1398
|
}),
|
|
1354
|
-
!l && n && /* @__PURE__ */
|
|
1399
|
+
!l && n && /* @__PURE__ */ J(L, {
|
|
1355
1400
|
label: e.editButtonLabel,
|
|
1356
|
-
iconBefore: /* @__PURE__ */
|
|
1357
|
-
size:
|
|
1401
|
+
iconBefore: /* @__PURE__ */ J(je, {
|
|
1402
|
+
size: k.SM,
|
|
1358
1403
|
"aria-hidden": !0,
|
|
1359
|
-
stroke:
|
|
1404
|
+
stroke: A
|
|
1360
1405
|
}),
|
|
1361
1406
|
onClick: n,
|
|
1362
1407
|
disabled: c,
|
|
1363
1408
|
textClassName: $.actionLabel,
|
|
1364
1409
|
className: b("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
|
|
1365
1410
|
}),
|
|
1366
|
-
!l && r && e.startNowButtonLabel && /* @__PURE__ */
|
|
1411
|
+
!l && r && e.startNowButtonLabel && /* @__PURE__ */ Y("div", {
|
|
1367
1412
|
"aria-busy": i,
|
|
1368
|
-
children: [
|
|
1369
|
-
id:
|
|
1413
|
+
children: [Ae && /* @__PURE__ */ J("span", {
|
|
1414
|
+
id: ke,
|
|
1370
1415
|
className: "sr-only",
|
|
1371
|
-
children:
|
|
1372
|
-
}), /* @__PURE__ */
|
|
1416
|
+
children: Ae
|
|
1417
|
+
}), /* @__PURE__ */ J(L, {
|
|
1373
1418
|
label: i ? e.startingLabel ?? e.startNowButtonLabel : e.startNowButtonLabel,
|
|
1374
|
-
iconBefore: /* @__PURE__ */
|
|
1375
|
-
size:
|
|
1419
|
+
iconBefore: /* @__PURE__ */ J(Ne, {
|
|
1420
|
+
size: k.SM,
|
|
1376
1421
|
"aria-hidden": !0,
|
|
1377
|
-
stroke:
|
|
1422
|
+
stroke: A
|
|
1378
1423
|
}),
|
|
1379
1424
|
onClick: r,
|
|
1380
1425
|
disabled: c || i || a || o,
|
|
1381
|
-
"aria-describedby":
|
|
1382
|
-
tooltipProps:
|
|
1426
|
+
"aria-describedby": Ae ? ke : void 0,
|
|
1427
|
+
tooltipProps: Ae ? { tooltip: Ae } : void 0,
|
|
1383
1428
|
textClassName: $.actionLabel,
|
|
1384
1429
|
className: b("min-h-11 shrink-0", $.actionButton, $.roundActionButton)
|
|
1385
1430
|
})]
|
|
@@ -1387,101 +1432,101 @@ var qe = "1180px", Je = {
|
|
|
1387
1432
|
]
|
|
1388
1433
|
})]
|
|
1389
1434
|
}),
|
|
1390
|
-
/* @__PURE__ */
|
|
1435
|
+
/* @__PURE__ */ Y("div", {
|
|
1391
1436
|
className: b("min-w-0 items-center gap-2 px-4 py-3", $.mobileTitleRow),
|
|
1392
|
-
children: [/* @__PURE__ */
|
|
1437
|
+
children: [/* @__PURE__ */ J("h1", {
|
|
1393
1438
|
className: Ft,
|
|
1394
|
-
children: /* @__PURE__ */
|
|
1439
|
+
children: /* @__PURE__ */ J(se, {
|
|
1395
1440
|
text: g,
|
|
1396
|
-
className:
|
|
1441
|
+
className: be
|
|
1397
1442
|
})
|
|
1398
|
-
}), l && /* @__PURE__ */
|
|
1399
|
-
className: b("shrink-0",
|
|
1443
|
+
}), l && /* @__PURE__ */ J("span", {
|
|
1444
|
+
className: b("shrink-0", we, $.subtitleText),
|
|
1400
1445
|
children: e.deletedStateLabel
|
|
1401
1446
|
})]
|
|
1402
1447
|
}),
|
|
1403
|
-
e.activeStatusAnnouncement != null && /* @__PURE__ */
|
|
1448
|
+
e.activeStatusAnnouncement != null && /* @__PURE__ */ J(P, {
|
|
1404
1449
|
visuallyHidden: !0,
|
|
1405
|
-
as:
|
|
1450
|
+
as: F.Span,
|
|
1406
1451
|
children: e.activeStatusAnnouncement
|
|
1407
1452
|
}),
|
|
1408
|
-
e.startStatusAnnouncement != null && /* @__PURE__ */
|
|
1453
|
+
e.startStatusAnnouncement != null && /* @__PURE__ */ J(P, {
|
|
1409
1454
|
visuallyHidden: !0,
|
|
1410
|
-
as:
|
|
1455
|
+
as: F.Span,
|
|
1411
1456
|
children: e.startStatusAnnouncement
|
|
1412
1457
|
}),
|
|
1413
|
-
_ && /* @__PURE__ */
|
|
1458
|
+
_ && /* @__PURE__ */ J("div", {
|
|
1414
1459
|
className: "flex flex-1 items-center justify-center",
|
|
1415
|
-
children: /* @__PURE__ */
|
|
1460
|
+
children: /* @__PURE__ */ J(xe, {})
|
|
1416
1461
|
}),
|
|
1417
|
-
!_ && v && /* @__PURE__ */
|
|
1462
|
+
!_ && v && /* @__PURE__ */ Y("div", {
|
|
1418
1463
|
className: "flex flex-1 flex-col items-center justify-center gap-3",
|
|
1419
|
-
children: [/* @__PURE__ */
|
|
1420
|
-
className: b(
|
|
1464
|
+
children: [/* @__PURE__ */ J("p", {
|
|
1465
|
+
className: b(we, $.subtitleText),
|
|
1421
1466
|
children: e.errorLabel
|
|
1422
|
-
}), /* @__PURE__ */
|
|
1467
|
+
}), /* @__PURE__ */ J(M, {
|
|
1423
1468
|
label: e.retryLabel,
|
|
1424
1469
|
onClick: x
|
|
1425
1470
|
})]
|
|
1426
1471
|
}),
|
|
1427
|
-
!_ && !v && (
|
|
1472
|
+
!_ && !v && (Oe ? /* @__PURE__ */ Y("div", {
|
|
1428
1473
|
className: "flex min-h-0 flex-1 flex-col overflow-y-auto",
|
|
1429
|
-
children: [/* @__PURE__ */
|
|
1474
|
+
children: [/* @__PURE__ */ J("div", {
|
|
1430
1475
|
className: b("sticky top-0 z-10", $.stickyTabs),
|
|
1431
|
-
children: /* @__PURE__ */
|
|
1476
|
+
children: /* @__PURE__ */ J(Ce, {
|
|
1432
1477
|
ariaLabel: e.tabsAriaLabel ?? "Scheduled task sections",
|
|
1433
1478
|
className: "px-4",
|
|
1434
|
-
tabs:
|
|
1435
|
-
activeTabId:
|
|
1436
|
-
onTabChange:
|
|
1479
|
+
tabs: Me,
|
|
1480
|
+
activeTabId: U,
|
|
1481
|
+
onTabChange: W
|
|
1437
1482
|
})
|
|
1438
|
-
}), /* @__PURE__ */
|
|
1483
|
+
}), /* @__PURE__ */ J("div", {
|
|
1439
1484
|
role: "tabpanel",
|
|
1440
|
-
"aria-label":
|
|
1485
|
+
"aria-label": G,
|
|
1441
1486
|
className: "flex flex-1 flex-col gap-5 px-4 py-6",
|
|
1442
|
-
children:
|
|
1487
|
+
children: U === Ct.Configuration ? Ie : U === Ct.History ? Le(wt.Flow) : Fe
|
|
1443
1488
|
})]
|
|
1444
|
-
}) : /* @__PURE__ */
|
|
1489
|
+
}) : /* @__PURE__ */ Y("div", {
|
|
1445
1490
|
style: {
|
|
1446
1491
|
flexDirection: "row",
|
|
1447
|
-
"--st-details-width":
|
|
1448
|
-
"--st-history-width":
|
|
1449
|
-
"--st-history-max-height":
|
|
1450
|
-
"--st-configuration-min-width":
|
|
1492
|
+
"--st-details-width": R?.detailsWidth,
|
|
1493
|
+
"--st-history-width": R?.historyWidth,
|
|
1494
|
+
"--st-history-max-height": R?.historyMaxHeight,
|
|
1495
|
+
"--st-configuration-min-width": R?.configurationMinWidth
|
|
1451
1496
|
},
|
|
1452
1497
|
className: "flex min-h-0 flex-1 overflow-y-auto desktop:overflow-hidden",
|
|
1453
1498
|
children: [
|
|
1454
|
-
/* @__PURE__ */
|
|
1499
|
+
/* @__PURE__ */ Y("div", {
|
|
1455
1500
|
role: "group",
|
|
1456
1501
|
"aria-label": e.detailsTitle,
|
|
1457
1502
|
style: {
|
|
1458
|
-
flex: `0 1 ${
|
|
1503
|
+
flex: `0 1 ${R?.detailsWidth ?? "360px"}`,
|
|
1459
1504
|
maxWidth: "100%"
|
|
1460
1505
|
},
|
|
1461
1506
|
className: b("flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto border-e px-8 py-6", $.detailsColumn),
|
|
1462
|
-
children: [/* @__PURE__ */
|
|
1463
|
-
className:
|
|
1507
|
+
children: [/* @__PURE__ */ J("h2", {
|
|
1508
|
+
className: V,
|
|
1464
1509
|
children: e.detailsTitle
|
|
1465
|
-
}),
|
|
1510
|
+
}), Fe]
|
|
1466
1511
|
}),
|
|
1467
|
-
/* @__PURE__ */
|
|
1512
|
+
/* @__PURE__ */ Y("div", {
|
|
1468
1513
|
style: {
|
|
1469
|
-
flex: `1 1 ${
|
|
1514
|
+
flex: `1 1 ${R?.configurationMinWidth ?? "320px"}`,
|
|
1470
1515
|
minWidth: 0
|
|
1471
1516
|
},
|
|
1472
1517
|
className: "flex min-h-0 w-full min-w-0 flex-col gap-5 overflow-y-auto px-8 py-6",
|
|
1473
|
-
children: [/* @__PURE__ */
|
|
1474
|
-
className:
|
|
1518
|
+
children: [/* @__PURE__ */ J("h2", {
|
|
1519
|
+
className: V,
|
|
1475
1520
|
children: e.configurationTitle
|
|
1476
|
-
}),
|
|
1521
|
+
}), Ie]
|
|
1477
1522
|
}),
|
|
1478
|
-
/* @__PURE__ */
|
|
1523
|
+
/* @__PURE__ */ J("div", {
|
|
1479
1524
|
style: {
|
|
1480
|
-
flex: `0 1 calc(${
|
|
1525
|
+
flex: `0 1 calc(${R?.historyWidth ?? "360px"} + 48px)`,
|
|
1481
1526
|
minWidth: 0
|
|
1482
1527
|
},
|
|
1483
1528
|
className: "flex min-h-0 w-full items-start justify-center overflow-y-auto p-6",
|
|
1484
|
-
children:
|
|
1529
|
+
children: Le(wt.Card)
|
|
1485
1530
|
})
|
|
1486
1531
|
]
|
|
1487
1532
|
}))
|
|
@@ -1502,98 +1547,98 @@ var qe = "1180px", Je = {
|
|
|
1502
1547
|
link: "break-words [overflow-wrap:anywhere]",
|
|
1503
1548
|
tableWrapper: "my-4",
|
|
1504
1549
|
mathBlock: "my-4"
|
|
1505
|
-
}, zt = ({ modelLabel: e,
|
|
1506
|
-
let
|
|
1550
|
+
}, zt = ({ modelLabel: e, renderModelName: t, skillLabel: n, skillDisplayNames: r, renderSkillName: i, instructionsLabel: a, modelDisplayName: o, instructionsMarkdown: s, renderInstructions: c, instructionsClassNames: l, markdownLabels: u, styles: d }) => {
|
|
1551
|
+
let f = b(d?.typography?.fieldLabelClassName ?? "dial-tiny-text", Lt.fieldLabel), p = d?.typography?.fieldValueClassName ?? "dial-small-text", m = d?.typography?.instructionsHeadingClassName ?? "dial-small-semi-text", g = d?.typography?.instructionsTextClassName ?? "dial-small-text", _ = Ve(() => {
|
|
1507
1552
|
let e = Rt;
|
|
1508
1553
|
return {
|
|
1509
1554
|
...e,
|
|
1510
|
-
h1: b(
|
|
1511
|
-
h2: b(
|
|
1512
|
-
h3: b(
|
|
1513
|
-
h4: b(
|
|
1514
|
-
h5: b(
|
|
1515
|
-
h6: b(
|
|
1516
|
-
p: b(
|
|
1517
|
-
ul: b(
|
|
1518
|
-
ol: b(
|
|
1519
|
-
...
|
|
1555
|
+
h1: b(m, e.h1),
|
|
1556
|
+
h2: b(m, e.h2),
|
|
1557
|
+
h3: b(m, e.h3),
|
|
1558
|
+
h4: b(m, e.h4),
|
|
1559
|
+
h5: b(m, e.h5),
|
|
1560
|
+
h6: b(m, e.h6),
|
|
1561
|
+
p: b(g, e.p),
|
|
1562
|
+
ul: b(g, e.ul),
|
|
1563
|
+
ol: b(g, e.ol),
|
|
1564
|
+
...l
|
|
1520
1565
|
};
|
|
1521
1566
|
}, [
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
]),
|
|
1526
|
-
return /* @__PURE__ */
|
|
1567
|
+
m,
|
|
1568
|
+
g,
|
|
1569
|
+
l
|
|
1570
|
+
]), v = y({ "--stds-field-label": d?.colors?.fieldLabel });
|
|
1571
|
+
return /* @__PURE__ */ Y("div", {
|
|
1527
1572
|
className: "flex flex-col gap-3",
|
|
1528
|
-
style:
|
|
1573
|
+
style: v,
|
|
1529
1574
|
children: [
|
|
1530
|
-
|
|
1575
|
+
o && /* @__PURE__ */ Y("div", {
|
|
1531
1576
|
className: "flex flex-col gap-2",
|
|
1532
|
-
children: [/* @__PURE__ */
|
|
1533
|
-
className:
|
|
1577
|
+
children: [/* @__PURE__ */ J("span", {
|
|
1578
|
+
className: f,
|
|
1534
1579
|
children: e
|
|
1535
|
-
}), /* @__PURE__ */
|
|
1536
|
-
className:
|
|
1537
|
-
children:
|
|
1580
|
+
}), /* @__PURE__ */ J("p", {
|
|
1581
|
+
className: p,
|
|
1582
|
+
children: t ? t(o) : o
|
|
1538
1583
|
})]
|
|
1539
1584
|
}),
|
|
1540
|
-
!!
|
|
1585
|
+
!!r?.length && /* @__PURE__ */ Y("div", {
|
|
1541
1586
|
className: "flex min-w-0 flex-col gap-2",
|
|
1542
|
-
children: [/* @__PURE__ */
|
|
1543
|
-
className:
|
|
1544
|
-
children:
|
|
1545
|
-
}), /* @__PURE__ */
|
|
1546
|
-
className: b(
|
|
1547
|
-
children:
|
|
1587
|
+
children: [/* @__PURE__ */ J("span", {
|
|
1588
|
+
className: f,
|
|
1589
|
+
children: n
|
|
1590
|
+
}), /* @__PURE__ */ J("p", {
|
|
1591
|
+
className: b(p, "wrap-anywhere whitespace-normal"),
|
|
1592
|
+
children: r?.map((e, t) => /* @__PURE__ */ J("span", {
|
|
1548
1593
|
className: "block",
|
|
1549
|
-
children: e
|
|
1594
|
+
children: i ? i(e, t) : e
|
|
1550
1595
|
}, `${t}:${e}`))
|
|
1551
1596
|
})]
|
|
1552
1597
|
}),
|
|
1553
|
-
|
|
1598
|
+
s && /* @__PURE__ */ Y("div", {
|
|
1554
1599
|
className: "flex flex-col gap-2",
|
|
1555
|
-
children: [/* @__PURE__ */
|
|
1556
|
-
className:
|
|
1557
|
-
children:
|
|
1558
|
-
}), ((e) =>
|
|
1600
|
+
children: [/* @__PURE__ */ J("span", {
|
|
1601
|
+
className: f,
|
|
1602
|
+
children: a
|
|
1603
|
+
}), ((e) => c ? c(e) : /* @__PURE__ */ J(h, {
|
|
1559
1604
|
content: e,
|
|
1560
|
-
classNames:
|
|
1561
|
-
...
|
|
1562
|
-
}))(
|
|
1605
|
+
classNames: _,
|
|
1606
|
+
...u
|
|
1607
|
+
}))(s)]
|
|
1563
1608
|
})
|
|
1564
1609
|
]
|
|
1565
1610
|
});
|
|
1566
|
-
}, Bt = ({ className: e, children: t }) => /* @__PURE__ */
|
|
1611
|
+
}, Bt = ({ className: e, children: t }) => /* @__PURE__ */ J("span", {
|
|
1567
1612
|
className: b(e, "block truncate py-1"),
|
|
1568
1613
|
children: t
|
|
1569
1614
|
}), Vt = { unavailableText: "_unavailableText_1ifqz_1" }, Ht = ({ scheduleId: e, items: t, isLoading: n = !1, isLoadingMore: r = !1, skeletonCount: i = 6, error: a, onRetry: o, isUnavailable: s = !1, hasMore: c = !1, onLoadMore: l, currentRunId: u, onRunClick: d, labels: f, titleClassName: p = "dial-tiny-semi-text", contentClassName: m = "ps-3", unavailableTextClassName: h = "dial-body-text", colors: g }) => {
|
|
1570
|
-
let [_, v] =
|
|
1571
|
-
|
|
1615
|
+
let [_, v] = Ue(!0);
|
|
1616
|
+
ze(() => {
|
|
1572
1617
|
v(!0);
|
|
1573
1618
|
}, [e]);
|
|
1574
|
-
let x = c && !n && l && f.showMoreLabel ? /* @__PURE__ */
|
|
1619
|
+
let x = c && !n && l && f.showMoreLabel ? /* @__PURE__ */ J("li", {
|
|
1575
1620
|
className: "pt-2",
|
|
1576
|
-
children: /* @__PURE__ */
|
|
1577
|
-
variant:
|
|
1621
|
+
children: /* @__PURE__ */ J(M, {
|
|
1622
|
+
variant: ne.Primary,
|
|
1578
1623
|
label: f.showMoreLabel,
|
|
1579
1624
|
onClick: l,
|
|
1580
1625
|
disabled: r
|
|
1581
1626
|
})
|
|
1582
1627
|
}) : void 0;
|
|
1583
|
-
return /* @__PURE__ */
|
|
1584
|
-
title: /* @__PURE__ */
|
|
1628
|
+
return /* @__PURE__ */ Y(E, {
|
|
1629
|
+
title: /* @__PURE__ */ J(Bt, {
|
|
1585
1630
|
className: p,
|
|
1586
1631
|
children: f.title
|
|
1587
1632
|
}),
|
|
1588
1633
|
expanded: _,
|
|
1589
1634
|
onToggle: v,
|
|
1590
1635
|
contentClassName: m,
|
|
1591
|
-
children: [/* @__PURE__ */
|
|
1592
|
-
as:
|
|
1636
|
+
children: [/* @__PURE__ */ J(P, {
|
|
1637
|
+
as: F.P,
|
|
1593
1638
|
className: b(h, Vt.unavailableText),
|
|
1594
1639
|
style: y({ "--stch-unavailable-text": g?.unavailableText }),
|
|
1595
1640
|
children: s && f.unavailableLabel
|
|
1596
|
-
}), !s && /* @__PURE__ */
|
|
1641
|
+
}), !s && /* @__PURE__ */ J(Mt, {
|
|
1597
1642
|
items: t,
|
|
1598
1643
|
isLoading: n,
|
|
1599
1644
|
isLoadingMore: r,
|
|
@@ -1610,89 +1655,92 @@ var qe = "1180px", Je = {
|
|
|
1610
1655
|
retryLabel: f.retryLabel,
|
|
1611
1656
|
runStatusLabels: f.runStatusLabels,
|
|
1612
1657
|
currentRunLabel: f.currentRunLabel,
|
|
1613
|
-
unreadIndicatorLabel: f.unreadIndicatorLabel
|
|
1658
|
+
unreadIndicatorLabel: f.unreadIndicatorLabel,
|
|
1659
|
+
openConversationLabel: f.openConversationLabel
|
|
1614
1660
|
}
|
|
1615
1661
|
})]
|
|
1616
1662
|
});
|
|
1617
1663
|
}, Ut = { unavailableText: "_unavailableText_j7lij_1" }, Wt = /* @__PURE__ */ function(e) {
|
|
1618
1664
|
return e.Ready = "ready", e.Error = "error", e.Unavailable = "unavailable", e;
|
|
1619
|
-
}({}), Gt = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r,
|
|
1620
|
-
let [
|
|
1621
|
-
|
|
1622
|
-
|
|
1665
|
+
}({}), Gt = ({ scheduleId: e, state: t, onRetry: n, modelDisplayName: r, renderModelName: i, skillDisplayNames: a, renderSkillName: o, instructionsMarkdown: s, renderInstructions: c, instructionsClassNames: l, markdownLabels: u, summaryStyles: d, labels: f, titleClassName: p = "dial-tiny-semi-text", unavailableTextClassName: m = "dial-body-text", colors: h }) => {
|
|
1666
|
+
let [g, _] = Ue(!1);
|
|
1667
|
+
ze(() => {
|
|
1668
|
+
_(!1);
|
|
1623
1669
|
}, [e]);
|
|
1624
|
-
let
|
|
1625
|
-
/* @__PURE__ */
|
|
1626
|
-
as:
|
|
1627
|
-
className: b(
|
|
1628
|
-
style: y({ "--stcd-unavailable-text":
|
|
1629
|
-
children:
|
|
1670
|
+
let v = t === "error" || t === "unavailable", x = t === "error" && n != null, S = /* @__PURE__ */ Y(q, { children: [
|
|
1671
|
+
/* @__PURE__ */ J(P, {
|
|
1672
|
+
as: F.P,
|
|
1673
|
+
className: b(m, Ut.unavailableText),
|
|
1674
|
+
style: y({ "--stcd-unavailable-text": h?.unavailableText }),
|
|
1675
|
+
children: v && f.unavailableLabel
|
|
1630
1676
|
}),
|
|
1631
|
-
|
|
1677
|
+
x && /* @__PURE__ */ J("div", {
|
|
1632
1678
|
className: "mt-2",
|
|
1633
|
-
children: /* @__PURE__ */
|
|
1634
|
-
label:
|
|
1679
|
+
children: /* @__PURE__ */ J(M, {
|
|
1680
|
+
label: f.retryLabel,
|
|
1635
1681
|
onClick: n
|
|
1636
1682
|
})
|
|
1637
1683
|
}),
|
|
1638
|
-
!
|
|
1639
|
-
modelLabel:
|
|
1640
|
-
instructionsLabel:
|
|
1641
|
-
skillLabel:
|
|
1642
|
-
skillDisplayNames:
|
|
1684
|
+
!v && /* @__PURE__ */ J(zt, {
|
|
1685
|
+
modelLabel: f.modelLabel,
|
|
1686
|
+
instructionsLabel: f.instructionsLabel,
|
|
1687
|
+
skillLabel: f.skillLabel,
|
|
1688
|
+
skillDisplayNames: a,
|
|
1689
|
+
renderSkillName: o,
|
|
1643
1690
|
modelDisplayName: r,
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1691
|
+
renderModelName: i,
|
|
1692
|
+
instructionsMarkdown: s,
|
|
1693
|
+
renderInstructions: c,
|
|
1694
|
+
instructionsClassNames: l,
|
|
1695
|
+
markdownLabels: u,
|
|
1696
|
+
styles: d
|
|
1649
1697
|
})
|
|
1650
1698
|
] });
|
|
1651
|
-
return /* @__PURE__ */
|
|
1652
|
-
title: /* @__PURE__ */
|
|
1653
|
-
className:
|
|
1654
|
-
children:
|
|
1699
|
+
return /* @__PURE__ */ J(E, {
|
|
1700
|
+
title: /* @__PURE__ */ J(Bt, {
|
|
1701
|
+
className: p,
|
|
1702
|
+
children: f.title
|
|
1655
1703
|
}),
|
|
1656
|
-
expanded:
|
|
1657
|
-
onToggle:
|
|
1658
|
-
children:
|
|
1704
|
+
expanded: g,
|
|
1705
|
+
onToggle: _,
|
|
1706
|
+
children: S
|
|
1659
1707
|
});
|
|
1660
|
-
}, Kt = (e, t, n) => e ? n?.loggingIn ?? "Logging in…" : t == null ? n?.logIn ?? "Log in" : n?.retry ?? "Retry", qt =
|
|
1661
|
-
surface:
|
|
1708
|
+
}, Kt = (e, t, n) => e ? n?.loggingIn ?? "Logging in…" : t == null ? n?.logIn ?? "Log in" : n?.retry ?? "Retry", qt = Le(({ isVisible: e, isLoggingIn: t = !1, retryMessage: n, liveAnnouncement: r = "", labels: i, onLogIn: a }) => /* @__PURE__ */ Y(q, { children: [e && /* @__PURE__ */ J(Te, {
|
|
1709
|
+
surface: _e.Neutral,
|
|
1662
1710
|
title: i?.title ?? "Log in required.",
|
|
1663
1711
|
message: i?.body ?? "Scheduled tasks need authorization to run offline.",
|
|
1664
|
-
action: a && /* @__PURE__ */
|
|
1712
|
+
action: a && /* @__PURE__ */ J(pe, {
|
|
1665
1713
|
label: Kt(t, n, i),
|
|
1666
1714
|
disabled: t,
|
|
1667
|
-
iconAfter: /* @__PURE__ */
|
|
1668
|
-
size:
|
|
1669
|
-
stroke:
|
|
1715
|
+
iconAfter: /* @__PURE__ */ J(Oe, {
|
|
1716
|
+
size: k.SM,
|
|
1717
|
+
stroke: A,
|
|
1670
1718
|
"aria-hidden": !0,
|
|
1671
1719
|
className: "rtl:scale-x-[-1]"
|
|
1672
1720
|
}),
|
|
1673
1721
|
onClick: a,
|
|
1674
1722
|
className: "min-h-11 min-w-11"
|
|
1675
1723
|
})
|
|
1676
|
-
}), /* @__PURE__ */
|
|
1724
|
+
}), /* @__PURE__ */ J(P, {
|
|
1677
1725
|
visuallyHidden: !0,
|
|
1678
|
-
as:
|
|
1726
|
+
as: F.Span,
|
|
1679
1727
|
children: n ?? r
|
|
1680
|
-
})] })), Jt =
|
|
1728
|
+
})] })), Jt = Le(({ labels: e, titleClassName: t = "dial-small-paragraph-semi-text", bodyClassName: n = "dial-small-paragraph-text" }) => /* @__PURE__ */ J(ge, {
|
|
1681
1729
|
variant: R.Error,
|
|
1682
1730
|
type: ve.SectionMessage,
|
|
1683
|
-
message: /* @__PURE__ */
|
|
1731
|
+
message: /* @__PURE__ */ Y("span", {
|
|
1684
1732
|
className: "flex min-w-0 flex-wrap items-baseline gap-x-1",
|
|
1685
|
-
children: [/* @__PURE__ */
|
|
1733
|
+
children: [/* @__PURE__ */ J("span", {
|
|
1686
1734
|
className: b("min-w-0 wrap-break-word", t),
|
|
1687
1735
|
children: e?.title ?? "Limited access."
|
|
1688
|
-
}), /* @__PURE__ */
|
|
1736
|
+
}), /* @__PURE__ */ J("span", {
|
|
1689
1737
|
className: b("min-w-0 wrap-break-word", n),
|
|
1690
1738
|
children: e?.body ?? "You can't create or edit tasks. Contact your administrator for more details."
|
|
1691
1739
|
})]
|
|
1692
1740
|
})
|
|
1693
|
-
})), Yt = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */
|
|
1741
|
+
})), Yt = ({ taskName: e, icon: t, typeLabel: n, body: r, pendingLabel: i, isDeleting: a = !1, styles: o, ...s }) => /* @__PURE__ */ J(d, {
|
|
1694
1742
|
...s,
|
|
1695
|
-
variant:
|
|
1743
|
+
variant: ae.Danger,
|
|
1696
1744
|
popupClassName: o?.popupClassName,
|
|
1697
1745
|
titleClassName: o?.titleClassName ?? "dial-body-semi-text",
|
|
1698
1746
|
messageClassName: o?.messageClassName ?? "dial-body-paragraph-text",
|
|
@@ -1701,12 +1749,12 @@ var qe = "1180px", Je = {
|
|
|
1701
1749
|
message: r,
|
|
1702
1750
|
isLoading: a,
|
|
1703
1751
|
loadingStatusLabel: i,
|
|
1704
|
-
identity: /* @__PURE__ */
|
|
1752
|
+
identity: /* @__PURE__ */ J(_, {
|
|
1705
1753
|
styles: { colors: {
|
|
1706
1754
|
background: o?.colors?.summaryBackground ?? "var(--bg-error, #f3d6d8)",
|
|
1707
1755
|
border: o?.colors?.summaryBorder ?? "var(--stroke-error-alpha, #ae2f2f73)"
|
|
1708
1756
|
} },
|
|
1709
|
-
children: /* @__PURE__ */
|
|
1757
|
+
children: /* @__PURE__ */ J(f, {
|
|
1710
1758
|
icon: t,
|
|
1711
1759
|
typeLabel: n,
|
|
1712
1760
|
name: e,
|
|
@@ -1715,4 +1763,4 @@ var qe = "1180px", Je = {
|
|
|
1715
1763
|
})
|
|
1716
1764
|
});
|
|
1717
1765
|
//#endregion
|
|
1718
|
-
export { t as DESCRIPTION_MAX_LENGTH,
|
|
1766
|
+
export { t as DESCRIPTION_MAX_LENGTH, qe as SCHEDULED_TASKS_CLASS, Ke as SCHEDULED_TASKS_GRID_DEFAULT_MAX_WIDTH, r as SCHEDULED_TASK_CREATE_DEFAULT_VALUES, et as ScheduledTaskCard, at as ScheduledTaskCardGrid, it as ScheduledTaskCardSkeleton, Gt as ScheduledTaskConversationDetailsSection, Wt as ScheduledTaskConversationDetailsState, Ht as ScheduledTaskConversationHistorySection, St as ScheduledTaskCreateForm, Yt as ScheduledTaskDeleteConfirmation, It as ScheduledTaskDetailView, zt as ScheduledTaskDetailsSummary, Pt as ScheduledTaskHistorySection, Je as ScheduledTaskPresentationStatus, l as ScheduledTaskRepeat, Mt as ScheduledTaskRunHistoryList, At as ScheduledTaskRunStatus, X as ScheduledTaskStatus, lt as ScheduledTasks, Jt as ScheduledTasksLimitedAccessBanner, qt as ScheduledTasksLoginBanner, ut as ScheduledTasksSortKey, c as TIME_OF_DAY_PATTERN, i as calendarValueToDateValue, n as calendarValueToRunAt, e as dateValueToCalendarValue, Ye as getScheduledTaskStatus, pt as hasScheduledTaskFormChanges, s as runAtToCalendarValue };
|