@epam/ai-dial-scheduled-tasks 1.1.0-dev.126 → 1.1.0-dev.128
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/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.d.ts.map +1 -1
- package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -1
- package/components/ScheduledTaskDetailView/ScheduledTaskDetailView.d.ts.map +1 -1
- package/index.js +231 -218
- package/models/scheduled-task-card-skeleton-props.d.ts +1 -1
- package/models/scheduled-task-detail-view-props.d.ts +4 -0
- package/models/scheduled-task-detail-view-props.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskCardSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskCardSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAStG;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CA0CxE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAuC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAuC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AA2B7F;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAqYpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTaskDetailView.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskDetailView/ScheduledTaskDetailView.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,KAAK,EAAE,EAAyC,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AA4DlG;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CAyUpE,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MDMessageViewer as e, PanelEmptyState as t, buildCssVars as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
import { SearchBar as i } from "@epam/ai-dial-kit";
|
|
3
|
-
import { ButtonAppearance as a, ButtonDropdown as o, ButtonVariant as s, Calendar as c, CalendarMode as l, CardShell as u, DIAL_ICON_SIZE as d,
|
|
4
|
-
import { IconAlertTriangle as D, IconArrowLeft as O, IconCalendarTime as k, IconCircleCheck as A, IconCircleX as j, IconDotsVertical as M, IconEdit as N,
|
|
5
|
-
import { Suspense as
|
|
3
|
+
import { ButtonAppearance as a, ButtonDropdown as o, ButtonVariant as s, Calendar as c, CalendarMode as l, CardShell as u, DIAL_ICON_SIZE as d, Dropdown as f, FolderPath as p, GhostButton as m, GhostIconButton as h, Highlight as g, IconButton as _, Input as v, LazyMarkdownEditor as y, NeutralButton as b, PrimaryButton as x, Select as S, Skeleton as C, SkeletonVariant as w, Spinner as T, Textarea as E } from "@epam/ai-dial-ui-kit";
|
|
4
|
+
import { IconAlertTriangle as D, IconArrowLeft as O, IconCalendarTime as k, IconCircleCheck as A, IconCircleX as j, IconDotsVertical as M, IconEdit as N, IconPencilMinus as P, IconPlayerPlay as F, IconPlus as I, IconTrash as L } from "@tabler/icons-react";
|
|
5
|
+
import { Suspense as ee, lazy as R, useEffect as te, useMemo as z, useRef as ne } from "react";
|
|
6
6
|
import { Fragment as B, jsx as V, jsxs as H } from "react/jsx-runtime";
|
|
7
7
|
//#region src/models/scheduled-task-item.ts
|
|
8
8
|
var U = /* @__PURE__ */ function(e) {
|
|
@@ -16,8 +16,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
16
16
|
locationLeaf: "_locationLeaf_1xv9i_22",
|
|
17
17
|
newBadge: "_newBadge_1xv9i_26",
|
|
18
18
|
locationDivider: "_locationDivider_1xv9i_31"
|
|
19
|
-
}, G = ({ item: e, searchQuery: t = "", onEdit: i, onRunNow: a, onDelete: o, onCardClick: s, labels: c, styles: l, className:
|
|
20
|
-
let
|
|
19
|
+
}, G = ({ item: e, searchQuery: t = "", onEdit: i, onRunNow: a, onDelete: o, onCardClick: s, labels: c, styles: l, className: m }) => {
|
|
20
|
+
let h = c?.newBadgeLabel ?? "NEW", v = c?.actionsLabel ?? "More actions", y = c?.editActionLabel ?? "Edit", b = c?.runNowActionLabel ?? "Run now", x = c?.deleteActionLabel ?? "Delete", { colors: S, typography: C } = l ?? {}, w = C?.titleClassName ?? "dial-body-semi-text", T = C?.descriptionClassName ?? "dial-small-text", E = C?.scheduleLabelClassName ?? "dial-tiny-text", D = C?.locationLabelClassName ?? "dial-tiny-text", O = C?.locationLeafClassName ?? "dial-tiny-semi-text", k = C?.newBadgeClassName ?? "dial-tiny-semi-text", A = n({
|
|
21
21
|
"--stc-title-text": S?.titleText,
|
|
22
22
|
"--stc-desc-text": S?.descriptionText,
|
|
23
23
|
"--stc-pill-bg": S?.schedulePillBackground,
|
|
@@ -31,7 +31,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
31
31
|
}), j = [];
|
|
32
32
|
i && j.push({
|
|
33
33
|
key: "edit",
|
|
34
|
-
label:
|
|
34
|
+
label: y,
|
|
35
35
|
icon: /* @__PURE__ */ V(N, {
|
|
36
36
|
size: d.SM,
|
|
37
37
|
"aria-hidden": !0
|
|
@@ -41,8 +41,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
41
41
|
}
|
|
42
42
|
}), a && j.push({
|
|
43
43
|
key: "runNow",
|
|
44
|
-
label:
|
|
45
|
-
icon: /* @__PURE__ */ V(
|
|
44
|
+
label: b,
|
|
45
|
+
icon: /* @__PURE__ */ V(F, {
|
|
46
46
|
size: d.SM,
|
|
47
47
|
"aria-hidden": !0
|
|
48
48
|
}),
|
|
@@ -52,7 +52,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
52
52
|
}), o && j.push({
|
|
53
53
|
key: "delete",
|
|
54
54
|
label: x,
|
|
55
|
-
icon: /* @__PURE__ */ V(
|
|
55
|
+
icon: /* @__PURE__ */ V(L, {
|
|
56
56
|
size: d.SM,
|
|
57
57
|
"aria-hidden": !0
|
|
58
58
|
}),
|
|
@@ -61,7 +61,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
61
61
|
t.stopPropagation(), o(e.id);
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
let
|
|
64
|
+
let P = s ? {
|
|
65
65
|
tabIndex: 0,
|
|
66
66
|
onClick: () => s(e.id),
|
|
67
67
|
onKeyDown: (t) => {
|
|
@@ -72,32 +72,32 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
72
72
|
role: s ? "button" : "group",
|
|
73
73
|
"aria-label": e.displayName,
|
|
74
74
|
style: A,
|
|
75
|
-
className: r("h-[232px]", s && "cursor-pointer",
|
|
76
|
-
...
|
|
75
|
+
className: r("h-[232px]", s && "cursor-pointer", m),
|
|
76
|
+
...P,
|
|
77
77
|
children: [
|
|
78
78
|
/* @__PURE__ */ H("div", {
|
|
79
79
|
className: "flex shrink-0 items-start justify-between gap-2",
|
|
80
80
|
children: [/* @__PURE__ */ H("div", {
|
|
81
81
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
82
|
-
children: [/* @__PURE__ */ V(
|
|
82
|
+
children: [/* @__PURE__ */ V(g, {
|
|
83
83
|
text: e.displayName,
|
|
84
84
|
query: t,
|
|
85
85
|
maxLines: 1,
|
|
86
86
|
className: r(w, W.title)
|
|
87
87
|
}), e.isNew && /* @__PURE__ */ V("span", {
|
|
88
88
|
className: r("shrink-0 rounded-full px-2 py-0.5", k, W.newBadge),
|
|
89
|
-
children:
|
|
89
|
+
children: h
|
|
90
90
|
})]
|
|
91
91
|
}), j.length > 0 && /* @__PURE__ */ V(f, {
|
|
92
92
|
items: j,
|
|
93
93
|
matchReferenceWidth: !1,
|
|
94
94
|
placement: "bottom-end",
|
|
95
|
-
children: /* @__PURE__ */ V(
|
|
95
|
+
children: /* @__PURE__ */ V(_, {
|
|
96
96
|
icon: /* @__PURE__ */ V(M, {
|
|
97
97
|
size: d.SM,
|
|
98
98
|
"aria-hidden": !0
|
|
99
99
|
}),
|
|
100
|
-
"aria-label":
|
|
100
|
+
"aria-label": v,
|
|
101
101
|
className: "shrink-0",
|
|
102
102
|
onClick: (e) => e.stopPropagation()
|
|
103
103
|
})
|
|
@@ -115,7 +115,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
115
115
|
className: r("inline-block rounded-lg border px-2 py-1", W.schedulePill, E, W.scheduleLabel),
|
|
116
116
|
children: e.scheduleLabel
|
|
117
117
|
})
|
|
118
|
-
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ V(
|
|
118
|
+
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ V(p, {
|
|
119
119
|
segments: e.locationSegments,
|
|
120
120
|
labelClassName: r(D, W.locationLabel),
|
|
121
121
|
leafClassName: r(O, W.locationLeaf),
|
|
@@ -124,40 +124,40 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
124
124
|
})
|
|
125
125
|
]
|
|
126
126
|
});
|
|
127
|
-
},
|
|
127
|
+
}, re = { card: "_card_1a43j_1" }, ie = [
|
|
128
128
|
"100%",
|
|
129
129
|
"100%",
|
|
130
130
|
"61%"
|
|
131
|
-
],
|
|
131
|
+
], K = "var(--stcs-skeleton-bg)", ae = ({ styles: e }) => /* @__PURE__ */ H(u, {
|
|
132
132
|
"aria-hidden": !0,
|
|
133
133
|
style: n({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
|
|
134
|
-
className: r("h-[232px]",
|
|
134
|
+
className: r("h-[232px]", re.card),
|
|
135
135
|
children: [
|
|
136
|
-
/* @__PURE__ */ V(
|
|
137
|
-
variant:
|
|
136
|
+
/* @__PURE__ */ V(C, {
|
|
137
|
+
variant: w.Rectangular,
|
|
138
138
|
width: "60%",
|
|
139
139
|
height: "20px",
|
|
140
|
-
color:
|
|
140
|
+
color: K,
|
|
141
141
|
className: "shrink-0"
|
|
142
142
|
}),
|
|
143
143
|
/* @__PURE__ */ V("div", {
|
|
144
144
|
className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
|
|
145
|
-
children:
|
|
146
|
-
variant:
|
|
145
|
+
children: ie.map((e, t) => /* @__PURE__ */ V(C, {
|
|
146
|
+
variant: w.Rectangular,
|
|
147
147
|
width: e,
|
|
148
148
|
height: "16px",
|
|
149
|
-
color:
|
|
149
|
+
color: K
|
|
150
150
|
}, t))
|
|
151
151
|
}),
|
|
152
|
-
/* @__PURE__ */ V(
|
|
153
|
-
variant:
|
|
152
|
+
/* @__PURE__ */ V(C, {
|
|
153
|
+
variant: w.Rectangular,
|
|
154
154
|
width: "110px",
|
|
155
155
|
height: "28px",
|
|
156
|
-
color:
|
|
156
|
+
color: K,
|
|
157
157
|
className: "shrink-0 rounded-lg"
|
|
158
158
|
})
|
|
159
159
|
]
|
|
160
|
-
}),
|
|
160
|
+
}), oe = ({ items: e, searchQuery: t, onEdit: n, onRunNow: r, onDelete: i, onCardClick: a, labels: o, cardStyles: s, trailingSkeletonCount: c = 0, skeletonStyles: l }) => /* @__PURE__ */ H("div", {
|
|
161
161
|
className: "grid grid-cols-1 gap-5 desktop:grid-cols-3",
|
|
162
162
|
children: [e.map((e) => /* @__PURE__ */ V(G, {
|
|
163
163
|
item: e,
|
|
@@ -168,8 +168,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
168
168
|
onCardClick: a,
|
|
169
169
|
labels: o,
|
|
170
170
|
styles: s
|
|
171
|
-
}, e.id)), Array.from({ length: c }, (e, t) => /* @__PURE__ */ V(
|
|
172
|
-
}),
|
|
171
|
+
}, e.id)), Array.from({ length: c }, (e, t) => /* @__PURE__ */ V(ae, { styles: l }, `skeleton-${t}`))]
|
|
172
|
+
}), se = { countBadge: "_countBadge_4bnxj_1" }, ce = ({ title: e, count: t, children: i, styles: a }) => {
|
|
173
173
|
let o = a?.typography?.titleClassName ?? "dial-small-semi-text", s = a?.typography?.countBadgeClassName ?? "dial-tiny-text", c = n({
|
|
174
174
|
"--sts-badge-bg": a?.colors?.countBadgeBackground,
|
|
175
175
|
"--sts-badge-text": a?.colors?.countBadgeText
|
|
@@ -184,65 +184,65 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
184
184
|
className: o,
|
|
185
185
|
children: e
|
|
186
186
|
}), /* @__PURE__ */ V("span", {
|
|
187
|
-
className: r("rounded-full px-2 py-0.5", s,
|
|
187
|
+
className: r("rounded-full px-2 py-0.5", s, se.countBadge),
|
|
188
188
|
children: t
|
|
189
189
|
})]
|
|
190
190
|
}), i]
|
|
191
191
|
});
|
|
192
|
-
},
|
|
192
|
+
}, q = {
|
|
193
193
|
container: "_container_r5sk9_1",
|
|
194
194
|
subtitle: "_subtitle_r5sk9_5",
|
|
195
195
|
sortButton: "_sortButton_r5sk9_9"
|
|
196
|
-
},
|
|
196
|
+
}, le = [U.Shared, U.MyTasks], ue = (e, t, n, r, i, a) => {
|
|
197
197
|
if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
|
|
198
|
-
},
|
|
198
|
+
}, de = (e) => {
|
|
199
199
|
if (!e || e === document.body) return null;
|
|
200
200
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
201
|
-
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e :
|
|
202
|
-
},
|
|
203
|
-
let { colors: j, typography: M, emptyStateIconSize: N = 48 } = A ?? {}, P = M?.titleClassName ?? "dial-h1-text",
|
|
201
|
+
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : de(e.parentElement);
|
|
202
|
+
}, fe = ({ labels: e, onCreateClick: c, searchQuery: l, onSearchQueryChange: u, sortKey: f, onSortChange: p, items: h, isLoading: g = !1, error: _, onRetry: v, hasMore: y = !1, isLoadingMore: b = !1, skeletonCount: S = 6, onLoadMore: C, onEdit: w, onRunNow: E, onDelete: D, onCardClick: O, styles: A }) => {
|
|
203
|
+
let { colors: j, typography: M, emptyStateIconSize: N = 48 } = A ?? {}, P = M?.titleClassName ?? "dial-h1-text", F = M?.subtitleClassName ?? "dial-body-text", L = n({
|
|
204
204
|
"--st-bg": j?.background,
|
|
205
205
|
"--st-subtitle-text": j?.subtitleText,
|
|
206
206
|
"--st-sort-text": j?.sortButtonText
|
|
207
|
-
}),
|
|
207
|
+
}), ee = e.sortOptions.find((e) => e.key === f)?.label ?? "", R = z(() => {
|
|
208
208
|
let t = { [U.Shared]: e.sharedSectionTitle };
|
|
209
|
-
return
|
|
209
|
+
return le.map((e) => ({
|
|
210
210
|
key: e,
|
|
211
211
|
title: t[e],
|
|
212
|
-
items:
|
|
212
|
+
items: h.filter((t) => t.sectionKey === e)
|
|
213
213
|
})).filter((e) => e.items.length > 0);
|
|
214
|
-
}, [
|
|
215
|
-
|
|
216
|
-
let e =
|
|
217
|
-
if (!e || !
|
|
218
|
-
let t =
|
|
214
|
+
}, [h, e.sharedSectionTitle]), B = ue(g, b, !!_, h.length, l.trim().length > 0, e), W = ne(null);
|
|
215
|
+
te(() => {
|
|
216
|
+
let e = W.current;
|
|
217
|
+
if (!e || !C) return;
|
|
218
|
+
let t = de(e.parentElement);
|
|
219
219
|
if (!t) return;
|
|
220
220
|
let n = () => {
|
|
221
|
-
if (b ||
|
|
221
|
+
if (b || g || !y) return;
|
|
222
222
|
let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
|
|
223
|
-
r.top < n.bottom && r.bottom > n.top &&
|
|
223
|
+
r.top < n.bottom && r.bottom > n.top && C();
|
|
224
224
|
};
|
|
225
225
|
return t.addEventListener("scroll", n, { passive: !0 }), n(), () => t.removeEventListener("scroll", n);
|
|
226
226
|
}, [
|
|
227
227
|
y,
|
|
228
228
|
b,
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
g,
|
|
230
|
+
C
|
|
231
231
|
]);
|
|
232
|
-
let
|
|
233
|
-
if (
|
|
234
|
-
if (
|
|
232
|
+
let G = () => {
|
|
233
|
+
if (g) return /* @__PURE__ */ V(T, {});
|
|
234
|
+
if (_) return /* @__PURE__ */ H("div", {
|
|
235
235
|
className: "flex flex-col items-center gap-3",
|
|
236
236
|
children: [/* @__PURE__ */ V("p", {
|
|
237
|
-
className: r(
|
|
237
|
+
className: r(F, q.subtitle),
|
|
238
238
|
children: e.errorLabel
|
|
239
|
-
}), /* @__PURE__ */ V(
|
|
239
|
+
}), /* @__PURE__ */ V(m, {
|
|
240
240
|
label: e.retryLabel,
|
|
241
241
|
onClick: v
|
|
242
242
|
})]
|
|
243
243
|
});
|
|
244
|
-
if (
|
|
245
|
-
className: r(
|
|
244
|
+
if (h.length === 0) return l.trim() ? /* @__PURE__ */ V("p", {
|
|
245
|
+
className: r(F, q.subtitle),
|
|
246
246
|
children: e.noResultsLabel
|
|
247
247
|
}) : /* @__PURE__ */ V(t, {
|
|
248
248
|
icon: /* @__PURE__ */ V(k, {
|
|
@@ -252,33 +252,33 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
252
252
|
}),
|
|
253
253
|
label: e.emptyStateLabel
|
|
254
254
|
});
|
|
255
|
-
let n =
|
|
255
|
+
let n = R.length - 1;
|
|
256
256
|
return /* @__PURE__ */ H("div", {
|
|
257
257
|
className: "flex w-full flex-col gap-6",
|
|
258
|
-
children: [
|
|
258
|
+
children: [R.map((t, r) => /* @__PURE__ */ V(ce, {
|
|
259
259
|
title: t.title,
|
|
260
260
|
count: t.items.length,
|
|
261
|
-
children: /* @__PURE__ */ V(
|
|
261
|
+
children: /* @__PURE__ */ V(oe, {
|
|
262
262
|
items: t.items,
|
|
263
263
|
searchQuery: l,
|
|
264
|
-
onEdit:
|
|
264
|
+
onEdit: w,
|
|
265
265
|
onRunNow: E,
|
|
266
266
|
onDelete: D,
|
|
267
267
|
onCardClick: O,
|
|
268
268
|
labels: e.cardLabels,
|
|
269
|
-
trailingSkeletonCount: b && r === n ?
|
|
269
|
+
trailingSkeletonCount: b && r === n ? S : 0,
|
|
270
270
|
skeletonStyles: { colors: { skeletonColor: j?.skeletonColor } }
|
|
271
271
|
})
|
|
272
272
|
}, t.key)), /* @__PURE__ */ V("div", {
|
|
273
|
-
ref:
|
|
273
|
+
ref: W,
|
|
274
274
|
"aria-hidden": !0,
|
|
275
275
|
className: "h-px w-full"
|
|
276
276
|
})]
|
|
277
277
|
});
|
|
278
|
-
},
|
|
278
|
+
}, re = g || !!_ || h.length === 0;
|
|
279
279
|
return /* @__PURE__ */ H("div", {
|
|
280
280
|
style: L,
|
|
281
|
-
className: r("flex h-full w-full flex-col gap-6 overflow-y-auto px-8 py-4",
|
|
281
|
+
className: r("flex h-full w-full flex-col gap-6 overflow-y-auto px-8 py-4", q.container),
|
|
282
282
|
children: [
|
|
283
283
|
/* @__PURE__ */ H("div", {
|
|
284
284
|
className: "flex items-start justify-between gap-4",
|
|
@@ -288,12 +288,12 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
288
288
|
className: r("truncate", P),
|
|
289
289
|
children: e.title
|
|
290
290
|
}), /* @__PURE__ */ V("p", {
|
|
291
|
-
className: r("mt-1",
|
|
291
|
+
className: r("mt-1", F, q.subtitle),
|
|
292
292
|
children: e.subtitle
|
|
293
293
|
})]
|
|
294
|
-
}), /* @__PURE__ */ V(
|
|
294
|
+
}), /* @__PURE__ */ V(x, {
|
|
295
295
|
label: e.createButtonLabel,
|
|
296
|
-
iconBefore: /* @__PURE__ */ V(
|
|
296
|
+
iconBefore: /* @__PURE__ */ V(I, {
|
|
297
297
|
size: d.SM,
|
|
298
298
|
"aria-hidden": !0
|
|
299
299
|
}),
|
|
@@ -322,7 +322,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
322
322
|
}
|
|
323
323
|
})
|
|
324
324
|
}), e.sortOptions.length > 0 && /* @__PURE__ */ V(o, {
|
|
325
|
-
label:
|
|
325
|
+
label: ee,
|
|
326
326
|
variant: s.Primary,
|
|
327
327
|
appearance: a.Ghost,
|
|
328
328
|
items: e.sortOptions.map((e) => ({
|
|
@@ -335,60 +335,60 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
335
335
|
role: "status",
|
|
336
336
|
"aria-live": "polite",
|
|
337
337
|
className: "sr-only",
|
|
338
|
-
children:
|
|
338
|
+
children: B
|
|
339
339
|
}),
|
|
340
340
|
/* @__PURE__ */ V("div", {
|
|
341
|
-
className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col",
|
|
342
|
-
children:
|
|
341
|
+
className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col", re && "items-center justify-center"),
|
|
342
|
+
children: G()
|
|
343
343
|
})
|
|
344
344
|
]
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, pe = /* @__PURE__ */ function(e) {
|
|
347
347
|
return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
|
|
348
|
-
}({}),
|
|
348
|
+
}({}), me = 500, J = /* @__PURE__ */ function(e) {
|
|
349
349
|
return e.Once = "once", e.Recurring = "recurring", e;
|
|
350
|
-
}({}),
|
|
350
|
+
}({}), he = /* @__PURE__ */ function(e) {
|
|
351
351
|
return e.Daily = "daily", e.Weekly = "weekly", e.Monthly = "monthly", e;
|
|
352
|
-
}({}),
|
|
352
|
+
}({}), Y = (e) => String(e).padStart(2, "0"), ge = (e) => e ? new Date(e) : null, _e = (e) => {
|
|
353
353
|
if (e == null) return "";
|
|
354
354
|
let t = e instanceof Date ? e : new Date(e);
|
|
355
|
-
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${
|
|
356
|
-
},
|
|
355
|
+
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${Y(t.getMonth() + 1)}-${Y(t.getDate())}T${Y(t.getHours())}:${Y(t.getMinutes())}`;
|
|
356
|
+
}, ve = (e) => {
|
|
357
357
|
if (!e) return null;
|
|
358
358
|
let [t, n, r] = e.split("-").map(Number);
|
|
359
359
|
return new Date(t, n - 1, r);
|
|
360
|
-
},
|
|
360
|
+
}, ye = (e) => {
|
|
361
361
|
if (e == null) return "";
|
|
362
362
|
let t = e instanceof Date ? e : new Date(e);
|
|
363
|
-
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${
|
|
364
|
-
},
|
|
363
|
+
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${Y(t.getMonth() + 1)}-${Y(t.getDate())}`;
|
|
364
|
+
}, be = (e) => {
|
|
365
365
|
let t = Number(e);
|
|
366
366
|
return e && Number.isFinite(t) ? String(t + 1) : null;
|
|
367
|
-
},
|
|
367
|
+
}, xe = (e) => {
|
|
368
368
|
let t = typeof e == "string" ? Number(e) : NaN;
|
|
369
369
|
return Number.isFinite(t) ? String(t - 1) : "";
|
|
370
|
-
},
|
|
370
|
+
}, X = {
|
|
371
371
|
container: "_container_sq3dp_1",
|
|
372
372
|
header: "_header_sq3dp_5",
|
|
373
373
|
detailsColumn: "_detailsColumn_sq3dp_9",
|
|
374
374
|
sectionSubtitle: "_sectionSubtitle_sq3dp_13",
|
|
375
375
|
instructionsError: "_instructionsError_sq3dp_17"
|
|
376
|
-
},
|
|
377
|
-
let { colors: _, typography: y } = g ?? {},
|
|
376
|
+
}, Z = (e) => `${e} *`, Se = R(async () => ({ default: (await y()).MarkdownEditor })), Ce = ({ labels: e, values: t, errors: i, modelOptions: a, onFieldChange: o, onBack: s, onCancel: u, onSubmit: f, isSubmitting: p = !1, markdownEditorTheme: m, styles: g }) => {
|
|
377
|
+
let { colors: _, typography: y } = g ?? {}, C = y?.titleClassName ?? "dial-h1-text", w = y?.sectionTitleClassName ?? "dial-body-semi-text", D = y?.sectionSubtitleClassName ?? "dial-tiny-text", k = y?.scheduleSectionLabelClassName ?? "dial-body-semi-text mb-1", A = y?.instructionsErrorClassName ?? "dial-small-text", j = n({
|
|
378
378
|
"--stcf-bg": _?.background,
|
|
379
379
|
"--stcf-header-border": _?.headerBorder,
|
|
380
380
|
"--stcf-details-border": _?.detailsColumnBorder,
|
|
381
381
|
"--stcf-subtitle-text": _?.sectionSubtitleText,
|
|
382
382
|
"--stcf-error-text": _?.instructionsErrorText
|
|
383
|
-
}), M =
|
|
383
|
+
}), M = p || !t.displayName.trim() || !t.modelId || !t.prompt.trim();
|
|
384
384
|
return /* @__PURE__ */ H("div", {
|
|
385
385
|
style: j,
|
|
386
|
-
className: r("flex h-full w-full flex-col overflow-y-auto",
|
|
386
|
+
className: r("flex h-full w-full flex-col overflow-y-auto", X.container),
|
|
387
387
|
children: [/* @__PURE__ */ H("div", {
|
|
388
|
-
className: r("flex h-16 items-center justify-between gap-6 border-b px-8",
|
|
388
|
+
className: r("flex h-16 items-center justify-between gap-6 border-b px-8", X.header),
|
|
389
389
|
children: [/* @__PURE__ */ H("div", {
|
|
390
390
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
391
|
-
children: [/* @__PURE__ */ V(
|
|
391
|
+
children: [/* @__PURE__ */ V(h, {
|
|
392
392
|
icon: /* @__PURE__ */ V(O, {
|
|
393
393
|
size: d.LG,
|
|
394
394
|
className: "rtl:scale-x-[-1]",
|
|
@@ -397,16 +397,16 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
397
397
|
"aria-label": e.backButtonLabel,
|
|
398
398
|
onClick: s
|
|
399
399
|
}), /* @__PURE__ */ V("h1", {
|
|
400
|
-
className: r("truncate",
|
|
400
|
+
className: r("truncate", C),
|
|
401
401
|
children: e.pageTitle
|
|
402
402
|
})]
|
|
403
403
|
}), /* @__PURE__ */ H("div", {
|
|
404
404
|
className: "flex items-center gap-2",
|
|
405
|
-
children: [/* @__PURE__ */ V(
|
|
405
|
+
children: [/* @__PURE__ */ V(b, {
|
|
406
406
|
label: e.cancelButtonLabel,
|
|
407
407
|
onClick: u,
|
|
408
|
-
disabled:
|
|
409
|
-
}), /* @__PURE__ */ V(
|
|
408
|
+
disabled: p
|
|
409
|
+
}), /* @__PURE__ */ V(x, {
|
|
410
410
|
label: e.createButtonLabel,
|
|
411
411
|
onClick: f,
|
|
412
412
|
disabled: M
|
|
@@ -418,19 +418,19 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
418
418
|
/* @__PURE__ */ H("div", {
|
|
419
419
|
role: "group",
|
|
420
420
|
"aria-label": e.detailsSectionTitle,
|
|
421
|
-
className: r("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0",
|
|
421
|
+
className: r("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0", X.detailsColumn),
|
|
422
422
|
children: [
|
|
423
423
|
/* @__PURE__ */ H("div", {
|
|
424
424
|
className: "flex flex-col gap-1",
|
|
425
425
|
children: [/* @__PURE__ */ V("h2", {
|
|
426
|
-
className:
|
|
426
|
+
className: w,
|
|
427
427
|
children: e.detailsSectionTitle
|
|
428
428
|
}), /* @__PURE__ */ V("p", {
|
|
429
|
-
className: r(D,
|
|
429
|
+
className: r(D, X.sectionSubtitle),
|
|
430
430
|
children: e.detailsSectionSubtitle
|
|
431
431
|
})]
|
|
432
432
|
}),
|
|
433
|
-
/* @__PURE__ */ V(
|
|
433
|
+
/* @__PURE__ */ V(v, {
|
|
434
434
|
id: "scheduled-task-display-name",
|
|
435
435
|
value: t.displayName,
|
|
436
436
|
onChange: (e) => o("displayName", e ?? ""),
|
|
@@ -451,9 +451,11 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
451
451
|
error: i.description,
|
|
452
452
|
caption: t.description ? `${t.description.length}/500` : void 0
|
|
453
453
|
}),
|
|
454
|
-
/* @__PURE__ */ V(
|
|
455
|
-
|
|
456
|
-
|
|
454
|
+
/* @__PURE__ */ V(S, {
|
|
455
|
+
labelProps: {
|
|
456
|
+
label: e.modelOrAgentLabel,
|
|
457
|
+
required: !0
|
|
458
|
+
},
|
|
457
459
|
value: t.modelId,
|
|
458
460
|
placeholder: e.modelPlaceholder,
|
|
459
461
|
onChange: (e) => o("modelId", e),
|
|
@@ -470,35 +472,35 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
470
472
|
className: k,
|
|
471
473
|
children: e.scheduleSectionLabel
|
|
472
474
|
}),
|
|
473
|
-
/* @__PURE__ */ V(
|
|
474
|
-
label: e.scheduleTypeAriaLabel,
|
|
475
|
+
/* @__PURE__ */ V(S, {
|
|
476
|
+
labelProps: { label: e.scheduleTypeAriaLabel },
|
|
475
477
|
value: t.scheduleType,
|
|
476
478
|
onChange: (e) => o("scheduleType", e),
|
|
477
479
|
options: [{
|
|
478
|
-
value:
|
|
480
|
+
value: J.Once,
|
|
479
481
|
label: e.scheduleTypeOnceLabel
|
|
480
482
|
}, {
|
|
481
|
-
value:
|
|
483
|
+
value: J.Recurring,
|
|
482
484
|
label: e.scheduleTypeRecurringLabel
|
|
483
485
|
}]
|
|
484
486
|
}),
|
|
485
|
-
t.scheduleType ===
|
|
487
|
+
t.scheduleType === J.Once && /* @__PURE__ */ H("div", {
|
|
486
488
|
className: "flex flex-col gap-1",
|
|
487
489
|
children: [/* @__PURE__ */ V(c, {
|
|
488
490
|
id: "scheduled-task-run-at",
|
|
489
491
|
mode: l.DateTime,
|
|
490
|
-
value:
|
|
491
|
-
onChange: (e) => o("runAt",
|
|
492
|
-
label:
|
|
492
|
+
value: ge(t.runAt),
|
|
493
|
+
onChange: (e) => o("runAt", _e(e)),
|
|
494
|
+
label: Z(e.runAtLabel),
|
|
493
495
|
invalid: !!i.runAt
|
|
494
496
|
}), i.runAt && /* @__PURE__ */ V("p", {
|
|
495
|
-
className: r(A,
|
|
497
|
+
className: r(A, X.instructionsError),
|
|
496
498
|
children: i.runAt
|
|
497
499
|
})]
|
|
498
500
|
}),
|
|
499
|
-
t.scheduleType ===
|
|
500
|
-
/* @__PURE__ */ V(
|
|
501
|
-
label: e.frequencyLabel,
|
|
501
|
+
t.scheduleType === J.Recurring && /* @__PURE__ */ H(B, { children: [
|
|
502
|
+
/* @__PURE__ */ V(S, {
|
|
503
|
+
labelProps: { label: e.frequencyLabel },
|
|
502
504
|
value: t.frequency,
|
|
503
505
|
onChange: (e) => o("frequency", e),
|
|
504
506
|
options: e.frequencyOptions.map((e) => ({
|
|
@@ -513,28 +515,28 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
513
515
|
mode: l.Time,
|
|
514
516
|
value: t.time,
|
|
515
517
|
onChange: (e) => o("time", typeof e == "string" ? e : ""),
|
|
516
|
-
label:
|
|
518
|
+
label: Z(e.timeLabel),
|
|
517
519
|
invalid: !!i.time
|
|
518
520
|
}), i.time && /* @__PURE__ */ V("p", {
|
|
519
|
-
className: r(A,
|
|
521
|
+
className: r(A, X.instructionsError),
|
|
520
522
|
children: i.time
|
|
521
523
|
})]
|
|
522
524
|
}),
|
|
523
|
-
t.frequency ===
|
|
525
|
+
t.frequency === he.Weekly && /* @__PURE__ */ H("div", {
|
|
524
526
|
className: "flex flex-col gap-1",
|
|
525
527
|
children: [/* @__PURE__ */ V(c, {
|
|
526
528
|
id: "scheduled-task-day-of-week",
|
|
527
529
|
mode: l.Weekday,
|
|
528
|
-
value:
|
|
529
|
-
onChange: (e) => o("dayOfWeek",
|
|
530
|
-
label:
|
|
530
|
+
value: be(t.dayOfWeek),
|
|
531
|
+
onChange: (e) => o("dayOfWeek", xe(e)),
|
|
532
|
+
label: Z(e.dayOfWeekLabel),
|
|
531
533
|
invalid: !!i.dayOfWeek
|
|
532
534
|
}), i.dayOfWeek && /* @__PURE__ */ V("p", {
|
|
533
|
-
className: r(A,
|
|
535
|
+
className: r(A, X.instructionsError),
|
|
534
536
|
children: i.dayOfWeek
|
|
535
537
|
})]
|
|
536
538
|
}),
|
|
537
|
-
t.frequency ===
|
|
539
|
+
t.frequency === he.Monthly && /* @__PURE__ */ V(v, {
|
|
538
540
|
id: "scheduled-task-day-of-month",
|
|
539
541
|
value: t.dayOfMonth ?? "",
|
|
540
542
|
onChange: (e) => o("dayOfMonth", e ?? ""),
|
|
@@ -552,13 +554,13 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
552
554
|
children: [/* @__PURE__ */ V(c, {
|
|
553
555
|
id: "scheduled-task-start-date",
|
|
554
556
|
mode: l.Date,
|
|
555
|
-
value:
|
|
556
|
-
onChange: (e) => o("startDate",
|
|
557
|
+
value: ve(t.startDate),
|
|
558
|
+
onChange: (e) => o("startDate", ye(e)),
|
|
557
559
|
label: e.startDateLabel,
|
|
558
560
|
placeholder: e.startDatePlaceholder,
|
|
559
561
|
invalid: !!i.startDate
|
|
560
562
|
}), i.startDate && /* @__PURE__ */ V("p", {
|
|
561
|
-
className: r(A,
|
|
563
|
+
className: r(A, X.instructionsError),
|
|
562
564
|
children: i.startDate
|
|
563
565
|
})]
|
|
564
566
|
}), /* @__PURE__ */ H("div", {
|
|
@@ -566,13 +568,13 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
566
568
|
children: [/* @__PURE__ */ V(c, {
|
|
567
569
|
id: "scheduled-task-end-date",
|
|
568
570
|
mode: l.Date,
|
|
569
|
-
value:
|
|
570
|
-
onChange: (e) => o("endDate",
|
|
571
|
+
value: ve(t.endDate),
|
|
572
|
+
onChange: (e) => o("endDate", ye(e)),
|
|
571
573
|
label: e.endDateLabel,
|
|
572
574
|
placeholder: e.endDatePlaceholder,
|
|
573
575
|
invalid: !!i.endDate
|
|
574
576
|
}), i.endDate && /* @__PURE__ */ V("p", {
|
|
575
|
-
className: r(A,
|
|
577
|
+
className: r(A, X.instructionsError),
|
|
576
578
|
children: i.endDate
|
|
577
579
|
})]
|
|
578
580
|
})]
|
|
@@ -589,10 +591,10 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
589
591
|
children: [/* @__PURE__ */ H("div", {
|
|
590
592
|
className: "flex flex-col gap-1",
|
|
591
593
|
children: [/* @__PURE__ */ V("h2", {
|
|
592
|
-
className:
|
|
594
|
+
className: w,
|
|
593
595
|
children: e.configurationSectionTitle
|
|
594
596
|
}), /* @__PURE__ */ V("p", {
|
|
595
|
-
className: r(D,
|
|
597
|
+
className: r(D, X.sectionSubtitle),
|
|
596
598
|
children: e.configurationSectionSubtitle
|
|
597
599
|
})]
|
|
598
600
|
}), /* @__PURE__ */ H("div", {
|
|
@@ -604,17 +606,17 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
604
606
|
className: k,
|
|
605
607
|
children: e.instructionsLabel
|
|
606
608
|
}),
|
|
607
|
-
/* @__PURE__ */ V(
|
|
609
|
+
/* @__PURE__ */ V(ee, {
|
|
608
610
|
fallback: /* @__PURE__ */ V(T, {}),
|
|
609
|
-
children: /* @__PURE__ */ V(
|
|
611
|
+
children: /* @__PURE__ */ V(Se, {
|
|
610
612
|
value: t.prompt,
|
|
611
613
|
onChange: (e) => o("prompt", e),
|
|
612
614
|
height: 480,
|
|
613
|
-
theme:
|
|
615
|
+
theme: m
|
|
614
616
|
})
|
|
615
617
|
}),
|
|
616
618
|
i.prompt && /* @__PURE__ */ V("p", {
|
|
617
|
-
className: r(A,
|
|
619
|
+
className: r(A, X.instructionsError),
|
|
618
620
|
children: i.prompt
|
|
619
621
|
})
|
|
620
622
|
]
|
|
@@ -638,11 +640,11 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
638
640
|
errorIcon: "_errorIcon_1ci42_21",
|
|
639
641
|
missedIcon: "_missedIcon_1ci42_25",
|
|
640
642
|
historyCard: "_historyCard_1ci42_29"
|
|
641
|
-
},
|
|
643
|
+
}, we = (e) => {
|
|
642
644
|
if (!e || e === document.body) return null;
|
|
643
645
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
644
|
-
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e :
|
|
645
|
-
},
|
|
646
|
+
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : we(e.parentElement);
|
|
647
|
+
}, Te = ({ status: e }) => {
|
|
646
648
|
switch (e) {
|
|
647
649
|
case Q.Success: return /* @__PURE__ */ V(A, {
|
|
648
650
|
size: d.SM,
|
|
@@ -665,103 +667,114 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
665
667
|
});
|
|
666
668
|
default: return null;
|
|
667
669
|
}
|
|
668
|
-
},
|
|
669
|
-
let { colors:
|
|
670
|
-
"--stdv-bg":
|
|
671
|
-
"--stdv-header-border":
|
|
672
|
-
"--stdv-details-border":
|
|
673
|
-
"--stdv-subtitle-text":
|
|
674
|
-
"--stdv-success-icon":
|
|
675
|
-
"--stdv-error-icon":
|
|
676
|
-
"--stdv-missed-icon":
|
|
677
|
-
"--stdv-history-bg":
|
|
678
|
-
}),
|
|
679
|
-
|
|
680
|
-
let e =
|
|
681
|
-
if (!e || !
|
|
682
|
-
let t =
|
|
670
|
+
}, Ee = ({ labels: t, onBack: i, onEdit: a, displayName: o, isLoading: s = !1, error: c, onRetry: l, description: u, modelLabel: f, repeatsLabel: p, activeWindowLabel: g, nextRunLabel: _, instructionsMarkdown: v, renderInstructions: y, runs: x, runsIsLoading: S = !1, runsIsLoadingMore: E = !1, runsSkeletonCount: D = 6, runsError: k, onRunsRetry: A, runsHasMore: j = !1, onRunsLoadMore: M, onRunClick: N, styles: F }) => {
|
|
671
|
+
let { colors: I, typography: L } = F ?? {}, ee = L?.titleClassName ?? "dial-h1-text", R = L?.sectionTitleClassName ?? "dial-body-semi-text", z = L?.fieldLabelClassName ?? "dial-tiny-text", B = L?.fieldValueClassName ?? "dial-body-text", U = L?.runTimestampClassName ?? "dial-small-text", W = n({
|
|
672
|
+
"--stdv-bg": I?.background,
|
|
673
|
+
"--stdv-header-border": I?.headerBorder,
|
|
674
|
+
"--stdv-details-border": I?.detailsColumnBorder,
|
|
675
|
+
"--stdv-subtitle-text": I?.subtitleText,
|
|
676
|
+
"--stdv-success-icon": I?.successIconColor,
|
|
677
|
+
"--stdv-error-icon": I?.errorIconColor,
|
|
678
|
+
"--stdv-missed-icon": I?.missedIconColor,
|
|
679
|
+
"--stdv-history-bg": I?.historyCardBackground
|
|
680
|
+
}), G = ne(null);
|
|
681
|
+
te(() => {
|
|
682
|
+
let e = G.current;
|
|
683
|
+
if (!e || !M) return;
|
|
684
|
+
let t = we(e.parentElement);
|
|
683
685
|
if (!t) return;
|
|
684
686
|
let n = () => {
|
|
685
|
-
if (
|
|
687
|
+
if (E || S || !j) return;
|
|
686
688
|
let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
|
|
687
|
-
r.top < n.bottom && r.bottom > n.top &&
|
|
689
|
+
r.top < n.bottom && r.bottom > n.top && M();
|
|
688
690
|
};
|
|
689
691
|
return t.addEventListener("scroll", n, { passive: !0 }), n(), () => t.removeEventListener("scroll", n);
|
|
690
692
|
}, [
|
|
691
|
-
|
|
692
|
-
|
|
693
|
+
j,
|
|
694
|
+
E,
|
|
693
695
|
S,
|
|
694
|
-
|
|
696
|
+
M
|
|
695
697
|
]);
|
|
696
|
-
let
|
|
697
|
-
let n = `${t.runStatusLabels[e.status]} ${e.timestampLabel}`, i = !!
|
|
698
|
+
let re = (t) => y ? y(t) : /* @__PURE__ */ V(e, { content: t }), ie = (e) => {
|
|
699
|
+
let n = `${t.runStatusLabels[e.status]} ${e.timestampLabel}`, i = !!N;
|
|
698
700
|
return /* @__PURE__ */ H("li", {
|
|
699
701
|
...i ? {
|
|
700
702
|
role: "button",
|
|
701
703
|
tabIndex: 0,
|
|
702
|
-
onClick: () =>
|
|
704
|
+
onClick: () => N?.(e.id),
|
|
703
705
|
onKeyDown: (t) => {
|
|
704
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(),
|
|
706
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), N?.(e.id));
|
|
705
707
|
}
|
|
706
708
|
} : {},
|
|
707
709
|
"aria-label": n,
|
|
708
710
|
className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", i && "cursor-pointer"),
|
|
709
711
|
children: [/* @__PURE__ */ V("span", {
|
|
710
|
-
className: r(
|
|
712
|
+
className: r(U, "truncate"),
|
|
711
713
|
children: e.timestampLabel
|
|
712
714
|
}), /* @__PURE__ */ V("span", {
|
|
713
715
|
className: "flex h-8 w-14 shrink-0 items-center justify-end",
|
|
714
|
-
children: /* @__PURE__ */ V(
|
|
716
|
+
children: /* @__PURE__ */ V(Te, { status: e.status })
|
|
715
717
|
})]
|
|
716
718
|
}, e.id);
|
|
717
719
|
}, K = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ H("li", {
|
|
718
720
|
"aria-hidden": "true",
|
|
719
721
|
className: "flex h-8 items-center justify-between gap-2 pe-2 ps-5",
|
|
720
|
-
children: [/* @__PURE__ */ V(
|
|
721
|
-
variant:
|
|
722
|
+
children: [/* @__PURE__ */ V(C, {
|
|
723
|
+
variant: w.Rectangular,
|
|
722
724
|
width: "160px",
|
|
723
725
|
height: "16px"
|
|
724
|
-
}), /* @__PURE__ */ V(
|
|
725
|
-
variant:
|
|
726
|
+
}), /* @__PURE__ */ V(C, {
|
|
727
|
+
variant: w.Rectangular,
|
|
726
728
|
width: "16px",
|
|
727
729
|
height: "16px",
|
|
728
730
|
className: "shrink-0 rounded-full"
|
|
729
731
|
})]
|
|
730
732
|
}, `history-skeleton-${t}`));
|
|
731
733
|
return /* @__PURE__ */ H("div", {
|
|
732
|
-
style:
|
|
734
|
+
style: W,
|
|
733
735
|
className: r("flex h-full w-full flex-col overflow-y-auto", $.container),
|
|
734
736
|
children: [
|
|
735
737
|
/* @__PURE__ */ H("div", {
|
|
736
|
-
className: r("flex h-16 shrink-0 items-center gap-2 border-b px-8", $.header),
|
|
737
|
-
children: [/* @__PURE__ */
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
738
|
+
className: r("flex h-16 shrink-0 items-center justify-between gap-2 border-b px-8", $.header),
|
|
739
|
+
children: [/* @__PURE__ */ H("div", {
|
|
740
|
+
className: "flex min-w-0 items-center gap-2",
|
|
741
|
+
children: [/* @__PURE__ */ V(h, {
|
|
742
|
+
icon: /* @__PURE__ */ V(O, {
|
|
743
|
+
size: d.LG,
|
|
744
|
+
className: "rtl:scale-x-[-1]",
|
|
745
|
+
"aria-hidden": !0
|
|
746
|
+
}),
|
|
747
|
+
"aria-label": t.backAriaLabel,
|
|
748
|
+
onClick: i
|
|
749
|
+
}), /* @__PURE__ */ V("h1", {
|
|
750
|
+
className: r("truncate", ee),
|
|
751
|
+
children: o
|
|
752
|
+
})]
|
|
753
|
+
}), a && /* @__PURE__ */ V(b, {
|
|
754
|
+
label: t.editButtonLabel,
|
|
755
|
+
iconBefore: /* @__PURE__ */ V(P, {
|
|
756
|
+
size: d.SM,
|
|
741
757
|
"aria-hidden": !0
|
|
742
758
|
}),
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}), /* @__PURE__ */ V("h1", {
|
|
746
|
-
className: r("truncate", F),
|
|
747
|
-
children: a
|
|
759
|
+
onClick: a,
|
|
760
|
+
className: "shrink-0"
|
|
748
761
|
})]
|
|
749
762
|
}),
|
|
750
|
-
|
|
763
|
+
s && /* @__PURE__ */ V("div", {
|
|
751
764
|
className: "flex flex-1 items-center justify-center",
|
|
752
765
|
children: /* @__PURE__ */ V(T, {})
|
|
753
766
|
}),
|
|
754
|
-
!
|
|
767
|
+
!s && c && /* @__PURE__ */ H("div", {
|
|
755
768
|
className: "flex flex-1 flex-col items-center justify-center gap-3",
|
|
756
769
|
children: [/* @__PURE__ */ V("p", {
|
|
757
|
-
className: r(
|
|
770
|
+
className: r(B, $.subtitleText),
|
|
758
771
|
children: t.errorLabel
|
|
759
|
-
}), /* @__PURE__ */ V(
|
|
772
|
+
}), /* @__PURE__ */ V(m, {
|
|
760
773
|
label: t.retryLabel,
|
|
761
|
-
onClick:
|
|
774
|
+
onClick: l
|
|
762
775
|
})]
|
|
763
776
|
}),
|
|
764
|
-
!
|
|
777
|
+
!s && !c && /* @__PURE__ */ H("div", {
|
|
765
778
|
className: "flex flex-1 flex-col desktop:flex-row",
|
|
766
779
|
children: [
|
|
767
780
|
/* @__PURE__ */ H("div", {
|
|
@@ -770,47 +783,47 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
770
783
|
className: r("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0", $.detailsColumn),
|
|
771
784
|
children: [
|
|
772
785
|
/* @__PURE__ */ V("h2", {
|
|
773
|
-
className:
|
|
786
|
+
className: R,
|
|
774
787
|
children: t.detailsTitle
|
|
775
788
|
}),
|
|
776
|
-
|
|
789
|
+
u && /* @__PURE__ */ H("div", {
|
|
777
790
|
className: "flex flex-col gap-1",
|
|
778
791
|
children: [/* @__PURE__ */ V("span", {
|
|
779
|
-
className:
|
|
792
|
+
className: z,
|
|
780
793
|
children: t.descriptionLabel
|
|
781
794
|
}), /* @__PURE__ */ V("p", {
|
|
782
|
-
className:
|
|
783
|
-
children:
|
|
795
|
+
className: B,
|
|
796
|
+
children: u
|
|
784
797
|
})]
|
|
785
798
|
}),
|
|
786
|
-
|
|
799
|
+
f && /* @__PURE__ */ H("div", {
|
|
787
800
|
className: "flex flex-col gap-1",
|
|
788
801
|
children: [/* @__PURE__ */ V("span", {
|
|
789
|
-
className:
|
|
802
|
+
className: z,
|
|
790
803
|
children: t.modelLabel
|
|
791
804
|
}), /* @__PURE__ */ V("p", {
|
|
792
|
-
className:
|
|
793
|
-
children:
|
|
805
|
+
className: B,
|
|
806
|
+
children: f
|
|
794
807
|
})]
|
|
795
808
|
}),
|
|
796
|
-
|
|
809
|
+
p && /* @__PURE__ */ H("div", {
|
|
797
810
|
className: "flex flex-col gap-1",
|
|
798
811
|
children: [/* @__PURE__ */ V("span", {
|
|
799
|
-
className:
|
|
812
|
+
className: z,
|
|
800
813
|
children: t.repeatsLabel
|
|
801
814
|
}), /* @__PURE__ */ V("p", {
|
|
802
|
-
className:
|
|
803
|
-
children:
|
|
815
|
+
className: B,
|
|
816
|
+
children: p
|
|
804
817
|
})]
|
|
805
818
|
}),
|
|
806
|
-
|
|
819
|
+
g && /* @__PURE__ */ H("div", {
|
|
807
820
|
className: "flex flex-col gap-1",
|
|
808
821
|
children: [/* @__PURE__ */ V("span", {
|
|
809
|
-
className:
|
|
822
|
+
className: z,
|
|
810
823
|
children: t.activeWindowLabel
|
|
811
824
|
}), /* @__PURE__ */ V("p", {
|
|
812
|
-
className:
|
|
813
|
-
children:
|
|
825
|
+
className: B,
|
|
826
|
+
children: g
|
|
814
827
|
})]
|
|
815
828
|
})
|
|
816
829
|
]
|
|
@@ -818,16 +831,16 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
818
831
|
/* @__PURE__ */ H("div", {
|
|
819
832
|
className: "flex w-full min-w-0 flex-1 flex-col gap-5 px-8 py-6",
|
|
820
833
|
children: [/* @__PURE__ */ V("h2", {
|
|
821
|
-
className:
|
|
834
|
+
className: R,
|
|
822
835
|
children: t.configurationTitle
|
|
823
836
|
}), /* @__PURE__ */ H("div", {
|
|
824
837
|
role: "group",
|
|
825
838
|
"aria-label": t.instructionsLabel,
|
|
826
839
|
className: "flex flex-col gap-1",
|
|
827
840
|
children: [/* @__PURE__ */ V("span", {
|
|
828
|
-
className:
|
|
841
|
+
className: z,
|
|
829
842
|
children: t.instructionsLabel
|
|
830
|
-
}),
|
|
843
|
+
}), v && re(v)]
|
|
831
844
|
})]
|
|
832
845
|
}),
|
|
833
846
|
/* @__PURE__ */ V("div", {
|
|
@@ -836,41 +849,41 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
836
849
|
className: r("flex w-full flex-col gap-4 overflow-y-auto rounded-xl px-6 py-5 shadow-md desktop:max-h-[70vh] desktop:w-[360px]", $.historyCard),
|
|
837
850
|
children: [
|
|
838
851
|
/* @__PURE__ */ V("h2", {
|
|
839
|
-
className:
|
|
852
|
+
className: R,
|
|
840
853
|
children: t.historyTitle
|
|
841
854
|
}),
|
|
842
|
-
|
|
843
|
-
className: r(
|
|
844
|
-
children:
|
|
855
|
+
_ && /* @__PURE__ */ V("p", {
|
|
856
|
+
className: r(U, $.subtitleText),
|
|
857
|
+
children: _
|
|
845
858
|
}),
|
|
846
859
|
t.historyLoadingMoreLabel && /* @__PURE__ */ V("span", {
|
|
847
860
|
role: "status",
|
|
848
861
|
"aria-live": "polite",
|
|
849
862
|
className: "sr-only",
|
|
850
|
-
children:
|
|
863
|
+
children: E ? t.historyLoadingMoreLabel : ""
|
|
851
864
|
}),
|
|
852
865
|
S && x.length === 0 ? /* @__PURE__ */ V("ul", {
|
|
853
866
|
"aria-label": t.historyTitle,
|
|
854
|
-
children: K(
|
|
855
|
-
}) :
|
|
867
|
+
children: K(D)
|
|
868
|
+
}) : k ? /* @__PURE__ */ H("div", {
|
|
856
869
|
className: "flex flex-col items-start gap-3",
|
|
857
870
|
children: [/* @__PURE__ */ V("p", {
|
|
858
|
-
className: r(
|
|
871
|
+
className: r(B, $.subtitleText),
|
|
859
872
|
children: t.historyErrorLabel
|
|
860
|
-
}), /* @__PURE__ */ V(
|
|
873
|
+
}), /* @__PURE__ */ V(m, {
|
|
861
874
|
label: t.historyRetryLabel,
|
|
862
|
-
onClick:
|
|
875
|
+
onClick: A
|
|
863
876
|
})]
|
|
864
877
|
}) : x.length === 0 ? /* @__PURE__ */ V("p", {
|
|
865
|
-
className: r(
|
|
878
|
+
className: r(B, $.subtitleText),
|
|
866
879
|
children: t.historyEmptyLabel
|
|
867
880
|
}) : /* @__PURE__ */ H("ul", {
|
|
868
881
|
"aria-label": t.historyTitle,
|
|
869
882
|
children: [
|
|
870
|
-
x.map(
|
|
871
|
-
|
|
883
|
+
x.map(ie),
|
|
884
|
+
E && K(D),
|
|
872
885
|
/* @__PURE__ */ V("li", {
|
|
873
|
-
ref:
|
|
886
|
+
ref: G,
|
|
874
887
|
"aria-hidden": !0,
|
|
875
888
|
className: "h-px w-full"
|
|
876
889
|
})
|
|
@@ -885,4 +898,4 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
885
898
|
});
|
|
886
899
|
};
|
|
887
900
|
//#endregion
|
|
888
|
-
export {
|
|
901
|
+
export { me as DESCRIPTION_MAX_LENGTH, G as ScheduledTaskCard, oe as ScheduledTaskCardGrid, ae as ScheduledTaskCardSkeleton, Ce as ScheduledTaskCreateForm, Ee as ScheduledTaskDetailView, he as ScheduledTaskFrequency, Q as ScheduledTaskRunStatus, J as ScheduledTaskScheduleType, ce as ScheduledTaskSection, U as ScheduledTaskSectionKey, fe as ScheduledTasks, pe as ScheduledTasksSortKey };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Color overrides for the {@link ScheduledTaskCardSkeleton} component.
|
|
3
|
-
* `
|
|
3
|
+
* `Skeleton`'s own default color token (`bg-layer-raised`) has no visible
|
|
4
4
|
* contrast against the card background in apps that don't override it, so
|
|
5
5
|
* this component requires an explicit color rather than relying on that
|
|
6
6
|
* default — callers can still override it via this prop.
|
|
@@ -5,6 +5,8 @@ import { ScheduledTaskRunItem } from './scheduled-task-run-item';
|
|
|
5
5
|
export interface ScheduledTaskDetailViewLabels {
|
|
6
6
|
/** Accessible label for the back-navigation control. */
|
|
7
7
|
backAriaLabel: string;
|
|
8
|
+
/** Label for the header's Edit action. Shown only when `onEdit` is supplied. */
|
|
9
|
+
editButtonLabel: string;
|
|
8
10
|
/** Message shown alongside the page-level retry action when `error` is set. */
|
|
9
11
|
errorLabel: string;
|
|
10
12
|
/** Title of the Details section. */
|
|
@@ -84,6 +86,8 @@ export interface ScheduledTaskDetailViewProps {
|
|
|
84
86
|
labels: ScheduledTaskDetailViewLabels;
|
|
85
87
|
/** Called when the user activates the back-navigation control. */
|
|
86
88
|
onBack: () => void;
|
|
89
|
+
/** Called when the user activates the header's Edit action. When omitted, no Edit action renders. */
|
|
90
|
+
onEdit?: () => void;
|
|
87
91
|
/** Task title shown in the header and used as the page's accessible name. */
|
|
88
92
|
displayName: string;
|
|
89
93
|
/** When `true`, the entire body (Details, Configuration, and History) shows a page-level spinner instead of the fields below. Defaults to `false`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-detail-view-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-detail-view-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,+EAA+E;IAC/E,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,mHAAmH;IACnH,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAC;IAC3B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C3G,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0IAA0I;IAC1I,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,oHAAoH;IACpH,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,uBAAuB;IACvB,MAAM,CAAC,EAAE,6BAA6B,CAAC;CACxC"}
|
|
1
|
+
{"version":3,"file":"scheduled-task-detail-view-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-detail-view-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,8EAA8E;AAC9E,MAAM,WAAW,6BAA6B;IAC5C,wDAAwD;IACxD,aAAa,EAAE,MAAM,CAAC;IACtB,gFAAgF;IAChF,eAAe,EAAE,MAAM,CAAC;IACxB,+EAA+E;IAC/E,UAAU,EAAE,MAAM,CAAC;IACnB,oCAAoC;IACpC,YAAY,EAAE,MAAM,CAAC;IACrB,uCAAuC;IACvC,gBAAgB,EAAE,MAAM,CAAC;IACzB,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,mHAAmH;IACnH,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wCAAwC;IACxC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qEAAqE;IACrE,UAAU,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,mDAAmD;IACnD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0CAA0C;IAC1C,iBAAiB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CAAC,EAAE,6BAA6B,CAAC;CACxC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-scheduled-tasks",
|
|
3
3
|
"description": "Presentational Scheduled Tasks page shell — header, toolbar, and empty state",
|
|
4
|
-
"version": "1.1.0-dev.
|
|
4
|
+
"version": "1.1.0-dev.128",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
21
|
-
"@epam/ai-dial-kit": "1.1.0-dev.
|
|
20
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.128",
|
|
21
|
+
"@epam/ai-dial-kit": "1.1.0-dev.128",
|
|
22
22
|
"@epam/ai-dial-ui-kit": "^0.13.0-dev.26",
|
|
23
23
|
"@tabler/icons-react": "^3.44.0",
|
|
24
24
|
"react": "^19.0.0"
|