@epam/ai-dial-scheduled-tasks 1.1.0-dev.125 → 1.1.0-dev.127
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.
|
@@ -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
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, DialDropdown as f, DialSelectField as p, DialSkeleton as m, DialSkeletonVariant as h, FolderPath as g, GhostButton as _, GhostIconButton as v, Highlight as y, IconButton as b, Input as x, LazyDialMarkdownEditor as S, NeutralButton as C, PrimaryButton 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,
|
|
5
|
-
import { Suspense as
|
|
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) {
|
|
@@ -42,7 +42,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
42
42
|
}), a && j.push({
|
|
43
43
|
key: "runNow",
|
|
44
44
|
label: v,
|
|
45
|
-
icon: /* @__PURE__ */ V(
|
|
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) => {
|
|
@@ -73,7 +73,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
73
73
|
"aria-label": e.displayName,
|
|
74
74
|
style: A,
|
|
75
75
|
className: r("h-[232px]", s && "cursor-pointer", p),
|
|
76
|
-
...
|
|
76
|
+
...P,
|
|
77
77
|
children: [
|
|
78
78
|
/* @__PURE__ */ H("div", {
|
|
79
79
|
className: "flex shrink-0 items-start justify-between gap-2",
|
|
@@ -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
136
|
/* @__PURE__ */ V(m, {
|
|
137
137
|
variant: h.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:
|
|
145
|
+
children: ie.map((e, t) => /* @__PURE__ */ V(m, {
|
|
146
146
|
variant: h.Rectangular,
|
|
147
147
|
width: e,
|
|
148
148
|
height: "16px",
|
|
149
|
-
color:
|
|
149
|
+
color: K
|
|
150
150
|
}, t))
|
|
151
151
|
}),
|
|
152
152
|
/* @__PURE__ */ V(m, {
|
|
153
153
|
variant: h.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,38 +184,38 @@ 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: m, isLoading: h = !1, error: g, onRetry: v, hasMore: y = !1, isLoadingMore: b = !1, skeletonCount: x = 6, onLoadMore: S, onEdit: C, 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
212
|
items: m.filter((t) => t.sectionKey === e)
|
|
213
213
|
})).filter((e) => e.items.length > 0);
|
|
214
|
-
}, [m, e.sharedSectionTitle]),
|
|
215
|
-
|
|
216
|
-
let e =
|
|
214
|
+
}, [m, e.sharedSectionTitle]), B = ue(h, b, !!g, m.length, l.trim().length > 0, e), W = ne(null);
|
|
215
|
+
te(() => {
|
|
216
|
+
let e = W.current;
|
|
217
217
|
if (!e || !S) return;
|
|
218
|
-
let t =
|
|
218
|
+
let t = de(e.parentElement);
|
|
219
219
|
if (!t) return;
|
|
220
220
|
let n = () => {
|
|
221
221
|
if (b || h || !y) return;
|
|
@@ -229,12 +229,12 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
229
229
|
h,
|
|
230
230
|
S
|
|
231
231
|
]);
|
|
232
|
-
let
|
|
232
|
+
let G = () => {
|
|
233
233
|
if (h) return /* @__PURE__ */ V(T, {});
|
|
234
234
|
if (g) 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
239
|
}), /* @__PURE__ */ V(_, {
|
|
240
240
|
label: e.retryLabel,
|
|
@@ -242,7 +242,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
242
242
|
})]
|
|
243
243
|
});
|
|
244
244
|
if (m.length === 0) return l.trim() ? /* @__PURE__ */ V("p", {
|
|
245
|
-
className: r(
|
|
245
|
+
className: r(F, q.subtitle),
|
|
246
246
|
children: e.noResultsLabel
|
|
247
247
|
}) : /* @__PURE__ */ V(t, {
|
|
248
248
|
icon: /* @__PURE__ */ V(k, {
|
|
@@ -252,13 +252,13 @@ 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
264
|
onEdit: C,
|
|
@@ -270,15 +270,15 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
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 = h || !!g || m.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
294
|
}), /* @__PURE__ */ V(w, {
|
|
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,36 +335,36 @@ 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
|
+
}({}), Y = /* @__PURE__ */ function(e) {
|
|
351
351
|
return e.Daily = "daily", e.Weekly = "weekly", e.Monthly = "monthly", e;
|
|
352
|
-
}({}), X = (e) => String(e).padStart(2, "0"),
|
|
352
|
+
}({}), X = (e) => String(e).padStart(2, "0"), he = (e) => e ? new Date(e) : null, ge = (e) => {
|
|
353
353
|
if (e == null) return "";
|
|
354
354
|
let t = e instanceof Date ? e : new Date(e);
|
|
355
355
|
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${X(t.getMonth() + 1)}-${X(t.getDate())}T${X(t.getHours())}:${X(t.getMinutes())}`;
|
|
356
|
-
},
|
|
356
|
+
}, _e = (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
|
+
}, ve = (e) => {
|
|
361
361
|
if (e == null) return "";
|
|
362
362
|
let t = e instanceof Date ? e : new Date(e);
|
|
363
363
|
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${X(t.getMonth() + 1)}-${X(t.getDate())}`;
|
|
364
|
-
},
|
|
364
|
+
}, ye = (e) => {
|
|
365
365
|
let t = Number(e);
|
|
366
366
|
return e && Number.isFinite(t) ? String(t + 1) : null;
|
|
367
|
-
},
|
|
367
|
+
}, be = (e) => {
|
|
368
368
|
let t = typeof e == "string" ? Number(e) : NaN;
|
|
369
369
|
return Number.isFinite(t) ? String(t - 1) : "";
|
|
370
370
|
}, Z = {
|
|
@@ -373,7 +373,7 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
373
373
|
detailsColumn: "_detailsColumn_sq3dp_9",
|
|
374
374
|
sectionSubtitle: "_sectionSubtitle_sq3dp_13",
|
|
375
375
|
instructionsError: "_instructionsError_sq3dp_17"
|
|
376
|
-
},
|
|
376
|
+
}, xe = (e) => `${e} *`, Se = R(async () => ({ default: (await S()).DialMarkdownEditor })), Ce = ({ labels: e, values: t, errors: i, modelOptions: a, onFieldChange: o, onBack: s, onCancel: u, onSubmit: f, isSubmitting: m = !1, markdownEditorTheme: h, styles: g }) => {
|
|
377
377
|
let { colors: _, typography: y } = g ?? {}, b = y?.titleClassName ?? "dial-h1-text", S = 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,
|
|
@@ -475,28 +475,28 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
475
475
|
value: t.scheduleType,
|
|
476
476
|
onChange: (e) => o("scheduleType", e),
|
|
477
477
|
options: [{
|
|
478
|
-
value:
|
|
478
|
+
value: J.Once,
|
|
479
479
|
label: e.scheduleTypeOnceLabel
|
|
480
480
|
}, {
|
|
481
|
-
value:
|
|
481
|
+
value: J.Recurring,
|
|
482
482
|
label: e.scheduleTypeRecurringLabel
|
|
483
483
|
}]
|
|
484
484
|
}),
|
|
485
|
-
t.scheduleType ===
|
|
485
|
+
t.scheduleType === J.Once && /* @__PURE__ */ H("div", {
|
|
486
486
|
className: "flex flex-col gap-1",
|
|
487
487
|
children: [/* @__PURE__ */ V(c, {
|
|
488
488
|
id: "scheduled-task-run-at",
|
|
489
489
|
mode: l.DateTime,
|
|
490
|
-
value:
|
|
491
|
-
onChange: (e) => o("runAt",
|
|
492
|
-
label:
|
|
490
|
+
value: he(t.runAt),
|
|
491
|
+
onChange: (e) => o("runAt", ge(e)),
|
|
492
|
+
label: xe(e.runAtLabel),
|
|
493
493
|
invalid: !!i.runAt
|
|
494
494
|
}), i.runAt && /* @__PURE__ */ V("p", {
|
|
495
495
|
className: r(A, Z.instructionsError),
|
|
496
496
|
children: i.runAt
|
|
497
497
|
})]
|
|
498
498
|
}),
|
|
499
|
-
t.scheduleType ===
|
|
499
|
+
t.scheduleType === J.Recurring && /* @__PURE__ */ H(B, { children: [
|
|
500
500
|
/* @__PURE__ */ V(p, {
|
|
501
501
|
label: e.frequencyLabel,
|
|
502
502
|
value: t.frequency,
|
|
@@ -513,28 +513,28 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
513
513
|
mode: l.Time,
|
|
514
514
|
value: t.time,
|
|
515
515
|
onChange: (e) => o("time", typeof e == "string" ? e : ""),
|
|
516
|
-
label:
|
|
516
|
+
label: xe(e.timeLabel),
|
|
517
517
|
invalid: !!i.time
|
|
518
518
|
}), i.time && /* @__PURE__ */ V("p", {
|
|
519
519
|
className: r(A, Z.instructionsError),
|
|
520
520
|
children: i.time
|
|
521
521
|
})]
|
|
522
522
|
}),
|
|
523
|
-
t.frequency ===
|
|
523
|
+
t.frequency === Y.Weekly && /* @__PURE__ */ H("div", {
|
|
524
524
|
className: "flex flex-col gap-1",
|
|
525
525
|
children: [/* @__PURE__ */ V(c, {
|
|
526
526
|
id: "scheduled-task-day-of-week",
|
|
527
527
|
mode: l.Weekday,
|
|
528
|
-
value:
|
|
529
|
-
onChange: (e) => o("dayOfWeek",
|
|
530
|
-
label:
|
|
528
|
+
value: ye(t.dayOfWeek),
|
|
529
|
+
onChange: (e) => o("dayOfWeek", be(e)),
|
|
530
|
+
label: xe(e.dayOfWeekLabel),
|
|
531
531
|
invalid: !!i.dayOfWeek
|
|
532
532
|
}), i.dayOfWeek && /* @__PURE__ */ V("p", {
|
|
533
533
|
className: r(A, Z.instructionsError),
|
|
534
534
|
children: i.dayOfWeek
|
|
535
535
|
})]
|
|
536
536
|
}),
|
|
537
|
-
t.frequency ===
|
|
537
|
+
t.frequency === Y.Monthly && /* @__PURE__ */ V(x, {
|
|
538
538
|
id: "scheduled-task-day-of-month",
|
|
539
539
|
value: t.dayOfMonth ?? "",
|
|
540
540
|
onChange: (e) => o("dayOfMonth", e ?? ""),
|
|
@@ -552,8 +552,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
552
552
|
children: [/* @__PURE__ */ V(c, {
|
|
553
553
|
id: "scheduled-task-start-date",
|
|
554
554
|
mode: l.Date,
|
|
555
|
-
value:
|
|
556
|
-
onChange: (e) => o("startDate",
|
|
555
|
+
value: _e(t.startDate),
|
|
556
|
+
onChange: (e) => o("startDate", ve(e)),
|
|
557
557
|
label: e.startDateLabel,
|
|
558
558
|
placeholder: e.startDatePlaceholder,
|
|
559
559
|
invalid: !!i.startDate
|
|
@@ -566,8 +566,8 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
566
566
|
children: [/* @__PURE__ */ V(c, {
|
|
567
567
|
id: "scheduled-task-end-date",
|
|
568
568
|
mode: l.Date,
|
|
569
|
-
value:
|
|
570
|
-
onChange: (e) => o("endDate",
|
|
569
|
+
value: _e(t.endDate),
|
|
570
|
+
onChange: (e) => o("endDate", ve(e)),
|
|
571
571
|
label: e.endDateLabel,
|
|
572
572
|
placeholder: e.endDatePlaceholder,
|
|
573
573
|
invalid: !!i.endDate
|
|
@@ -604,9 +604,9 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
604
604
|
className: k,
|
|
605
605
|
children: e.instructionsLabel
|
|
606
606
|
}),
|
|
607
|
-
/* @__PURE__ */ V(
|
|
607
|
+
/* @__PURE__ */ V(ee, {
|
|
608
608
|
fallback: /* @__PURE__ */ V(T, {}),
|
|
609
|
-
children: /* @__PURE__ */ V(
|
|
609
|
+
children: /* @__PURE__ */ V(Se, {
|
|
610
610
|
value: t.prompt,
|
|
611
611
|
onChange: (e) => o("prompt", e),
|
|
612
612
|
height: 480,
|
|
@@ -638,11 +638,11 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
638
638
|
errorIcon: "_errorIcon_1ci42_21",
|
|
639
639
|
missedIcon: "_missedIcon_1ci42_25",
|
|
640
640
|
historyCard: "_historyCard_1ci42_29"
|
|
641
|
-
},
|
|
641
|
+
}, we = (e) => {
|
|
642
642
|
if (!e || e === document.body) return null;
|
|
643
643
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
644
|
-
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e :
|
|
645
|
-
},
|
|
644
|
+
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : we(e.parentElement);
|
|
645
|
+
}, Te = ({ status: e }) => {
|
|
646
646
|
switch (e) {
|
|
647
647
|
case Q.Success: return /* @__PURE__ */ V(A, {
|
|
648
648
|
size: d.SM,
|
|
@@ -665,53 +665,53 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
665
665
|
});
|
|
666
666
|
default: return null;
|
|
667
667
|
}
|
|
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 =
|
|
668
|
+
}, 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: y, instructionsMarkdown: b, renderInstructions: x, runs: S, runsIsLoading: w = !1, runsIsLoadingMore: E = !1, runsSkeletonCount: D = 6, runsError: k, onRunsRetry: A, runsHasMore: j = !1, onRunsLoadMore: M, onRunClick: N, styles: F }) => {
|
|
669
|
+
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({
|
|
670
|
+
"--stdv-bg": I?.background,
|
|
671
|
+
"--stdv-header-border": I?.headerBorder,
|
|
672
|
+
"--stdv-details-border": I?.detailsColumnBorder,
|
|
673
|
+
"--stdv-subtitle-text": I?.subtitleText,
|
|
674
|
+
"--stdv-success-icon": I?.successIconColor,
|
|
675
|
+
"--stdv-error-icon": I?.errorIconColor,
|
|
676
|
+
"--stdv-missed-icon": I?.missedIconColor,
|
|
677
|
+
"--stdv-history-bg": I?.historyCardBackground
|
|
678
|
+
}), G = ne(null);
|
|
679
|
+
te(() => {
|
|
680
|
+
let e = G.current;
|
|
681
|
+
if (!e || !M) return;
|
|
682
|
+
let t = we(e.parentElement);
|
|
683
683
|
if (!t) return;
|
|
684
684
|
let n = () => {
|
|
685
|
-
if (
|
|
685
|
+
if (E || w || !j) return;
|
|
686
686
|
let n = t.getBoundingClientRect(), r = e.getBoundingClientRect();
|
|
687
|
-
r.top < n.bottom && r.bottom > n.top &&
|
|
687
|
+
r.top < n.bottom && r.bottom > n.top && M();
|
|
688
688
|
};
|
|
689
689
|
return t.addEventListener("scroll", n, { passive: !0 }), n(), () => t.removeEventListener("scroll", n);
|
|
690
690
|
}, [
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
691
|
+
j,
|
|
692
|
+
E,
|
|
693
|
+
w,
|
|
694
|
+
M
|
|
695
695
|
]);
|
|
696
|
-
let
|
|
697
|
-
let n = `${t.runStatusLabels[e.status]} ${e.timestampLabel}`, i = !!
|
|
696
|
+
let re = (t) => x ? x(t) : /* @__PURE__ */ V(e, { content: t }), ie = (e) => {
|
|
697
|
+
let n = `${t.runStatusLabels[e.status]} ${e.timestampLabel}`, i = !!N;
|
|
698
698
|
return /* @__PURE__ */ H("li", {
|
|
699
699
|
...i ? {
|
|
700
700
|
role: "button",
|
|
701
701
|
tabIndex: 0,
|
|
702
|
-
onClick: () =>
|
|
702
|
+
onClick: () => N?.(e.id),
|
|
703
703
|
onKeyDown: (t) => {
|
|
704
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(),
|
|
704
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), N?.(e.id));
|
|
705
705
|
}
|
|
706
706
|
} : {},
|
|
707
707
|
"aria-label": n,
|
|
708
708
|
className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", i && "cursor-pointer"),
|
|
709
709
|
children: [/* @__PURE__ */ V("span", {
|
|
710
|
-
className: r(
|
|
710
|
+
className: r(U, "truncate"),
|
|
711
711
|
children: e.timestampLabel
|
|
712
712
|
}), /* @__PURE__ */ V("span", {
|
|
713
713
|
className: "flex h-8 w-14 shrink-0 items-center justify-end",
|
|
714
|
-
children: /* @__PURE__ */ V(
|
|
714
|
+
children: /* @__PURE__ */ V(Te, { status: e.status })
|
|
715
715
|
})]
|
|
716
716
|
}, e.id);
|
|
717
717
|
}, K = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ H("li", {
|
|
@@ -729,39 +729,50 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
729
729
|
})]
|
|
730
730
|
}, `history-skeleton-${t}`));
|
|
731
731
|
return /* @__PURE__ */ H("div", {
|
|
732
|
-
style:
|
|
732
|
+
style: W,
|
|
733
733
|
className: r("flex h-full w-full flex-col overflow-y-auto", $.container),
|
|
734
734
|
children: [
|
|
735
735
|
/* @__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
|
-
|
|
736
|
+
className: r("flex h-16 shrink-0 items-center justify-between gap-2 border-b px-8", $.header),
|
|
737
|
+
children: [/* @__PURE__ */ H("div", {
|
|
738
|
+
className: "flex min-w-0 items-center gap-2",
|
|
739
|
+
children: [/* @__PURE__ */ V(v, {
|
|
740
|
+
icon: /* @__PURE__ */ V(O, {
|
|
741
|
+
size: d.LG,
|
|
742
|
+
className: "rtl:scale-x-[-1]",
|
|
743
|
+
"aria-hidden": !0
|
|
744
|
+
}),
|
|
745
|
+
"aria-label": t.backAriaLabel,
|
|
746
|
+
onClick: i
|
|
747
|
+
}), /* @__PURE__ */ V("h1", {
|
|
748
|
+
className: r("truncate", ee),
|
|
749
|
+
children: o
|
|
750
|
+
})]
|
|
751
|
+
}), a && /* @__PURE__ */ V(C, {
|
|
752
|
+
label: t.editButtonLabel,
|
|
753
|
+
iconBefore: /* @__PURE__ */ V(P, {
|
|
754
|
+
size: d.SM,
|
|
741
755
|
"aria-hidden": !0
|
|
742
756
|
}),
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
}), /* @__PURE__ */ V("h1", {
|
|
746
|
-
className: r("truncate", F),
|
|
747
|
-
children: a
|
|
757
|
+
onClick: a,
|
|
758
|
+
className: "shrink-0"
|
|
748
759
|
})]
|
|
749
760
|
}),
|
|
750
|
-
|
|
761
|
+
s && /* @__PURE__ */ V("div", {
|
|
751
762
|
className: "flex flex-1 items-center justify-center",
|
|
752
763
|
children: /* @__PURE__ */ V(T, {})
|
|
753
764
|
}),
|
|
754
|
-
!
|
|
765
|
+
!s && c && /* @__PURE__ */ H("div", {
|
|
755
766
|
className: "flex flex-1 flex-col items-center justify-center gap-3",
|
|
756
767
|
children: [/* @__PURE__ */ V("p", {
|
|
757
|
-
className: r(
|
|
768
|
+
className: r(B, $.subtitleText),
|
|
758
769
|
children: t.errorLabel
|
|
759
770
|
}), /* @__PURE__ */ V(_, {
|
|
760
771
|
label: t.retryLabel,
|
|
761
|
-
onClick:
|
|
772
|
+
onClick: l
|
|
762
773
|
})]
|
|
763
774
|
}),
|
|
764
|
-
!
|
|
775
|
+
!s && !c && /* @__PURE__ */ H("div", {
|
|
765
776
|
className: "flex flex-1 flex-col desktop:flex-row",
|
|
766
777
|
children: [
|
|
767
778
|
/* @__PURE__ */ H("div", {
|
|
@@ -770,47 +781,47 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
770
781
|
className: r("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0", $.detailsColumn),
|
|
771
782
|
children: [
|
|
772
783
|
/* @__PURE__ */ V("h2", {
|
|
773
|
-
className:
|
|
784
|
+
className: R,
|
|
774
785
|
children: t.detailsTitle
|
|
775
786
|
}),
|
|
776
|
-
|
|
787
|
+
u && /* @__PURE__ */ H("div", {
|
|
777
788
|
className: "flex flex-col gap-1",
|
|
778
789
|
children: [/* @__PURE__ */ V("span", {
|
|
779
|
-
className:
|
|
790
|
+
className: z,
|
|
780
791
|
children: t.descriptionLabel
|
|
781
792
|
}), /* @__PURE__ */ V("p", {
|
|
782
|
-
className:
|
|
783
|
-
children:
|
|
793
|
+
className: B,
|
|
794
|
+
children: u
|
|
784
795
|
})]
|
|
785
796
|
}),
|
|
786
|
-
|
|
797
|
+
f && /* @__PURE__ */ H("div", {
|
|
787
798
|
className: "flex flex-col gap-1",
|
|
788
799
|
children: [/* @__PURE__ */ V("span", {
|
|
789
|
-
className:
|
|
800
|
+
className: z,
|
|
790
801
|
children: t.modelLabel
|
|
791
802
|
}), /* @__PURE__ */ V("p", {
|
|
792
|
-
className:
|
|
793
|
-
children:
|
|
803
|
+
className: B,
|
|
804
|
+
children: f
|
|
794
805
|
})]
|
|
795
806
|
}),
|
|
796
|
-
|
|
807
|
+
p && /* @__PURE__ */ H("div", {
|
|
797
808
|
className: "flex flex-col gap-1",
|
|
798
809
|
children: [/* @__PURE__ */ V("span", {
|
|
799
|
-
className:
|
|
810
|
+
className: z,
|
|
800
811
|
children: t.repeatsLabel
|
|
801
812
|
}), /* @__PURE__ */ V("p", {
|
|
802
|
-
className:
|
|
803
|
-
children:
|
|
813
|
+
className: B,
|
|
814
|
+
children: p
|
|
804
815
|
})]
|
|
805
816
|
}),
|
|
806
|
-
|
|
817
|
+
g && /* @__PURE__ */ H("div", {
|
|
807
818
|
className: "flex flex-col gap-1",
|
|
808
819
|
children: [/* @__PURE__ */ V("span", {
|
|
809
|
-
className:
|
|
820
|
+
className: z,
|
|
810
821
|
children: t.activeWindowLabel
|
|
811
822
|
}), /* @__PURE__ */ V("p", {
|
|
812
|
-
className:
|
|
813
|
-
children:
|
|
823
|
+
className: B,
|
|
824
|
+
children: g
|
|
814
825
|
})]
|
|
815
826
|
})
|
|
816
827
|
]
|
|
@@ -818,16 +829,16 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
818
829
|
/* @__PURE__ */ H("div", {
|
|
819
830
|
className: "flex w-full min-w-0 flex-1 flex-col gap-5 px-8 py-6",
|
|
820
831
|
children: [/* @__PURE__ */ V("h2", {
|
|
821
|
-
className:
|
|
832
|
+
className: R,
|
|
822
833
|
children: t.configurationTitle
|
|
823
834
|
}), /* @__PURE__ */ H("div", {
|
|
824
835
|
role: "group",
|
|
825
836
|
"aria-label": t.instructionsLabel,
|
|
826
837
|
className: "flex flex-col gap-1",
|
|
827
838
|
children: [/* @__PURE__ */ V("span", {
|
|
828
|
-
className:
|
|
839
|
+
className: z,
|
|
829
840
|
children: t.instructionsLabel
|
|
830
|
-
}),
|
|
841
|
+
}), b && re(b)]
|
|
831
842
|
})]
|
|
832
843
|
}),
|
|
833
844
|
/* @__PURE__ */ V("div", {
|
|
@@ -836,41 +847,41 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
836
847
|
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
848
|
children: [
|
|
838
849
|
/* @__PURE__ */ V("h2", {
|
|
839
|
-
className:
|
|
850
|
+
className: R,
|
|
840
851
|
children: t.historyTitle
|
|
841
852
|
}),
|
|
842
|
-
|
|
843
|
-
className: r(
|
|
844
|
-
children:
|
|
853
|
+
y && /* @__PURE__ */ V("p", {
|
|
854
|
+
className: r(U, $.subtitleText),
|
|
855
|
+
children: y
|
|
845
856
|
}),
|
|
846
857
|
t.historyLoadingMoreLabel && /* @__PURE__ */ V("span", {
|
|
847
858
|
role: "status",
|
|
848
859
|
"aria-live": "polite",
|
|
849
860
|
className: "sr-only",
|
|
850
|
-
children:
|
|
861
|
+
children: E ? t.historyLoadingMoreLabel : ""
|
|
851
862
|
}),
|
|
852
|
-
|
|
863
|
+
w && S.length === 0 ? /* @__PURE__ */ V("ul", {
|
|
853
864
|
"aria-label": t.historyTitle,
|
|
854
|
-
children: K(
|
|
855
|
-
}) :
|
|
865
|
+
children: K(D)
|
|
866
|
+
}) : k ? /* @__PURE__ */ H("div", {
|
|
856
867
|
className: "flex flex-col items-start gap-3",
|
|
857
868
|
children: [/* @__PURE__ */ V("p", {
|
|
858
|
-
className: r(
|
|
869
|
+
className: r(B, $.subtitleText),
|
|
859
870
|
children: t.historyErrorLabel
|
|
860
871
|
}), /* @__PURE__ */ V(_, {
|
|
861
872
|
label: t.historyRetryLabel,
|
|
862
|
-
onClick:
|
|
873
|
+
onClick: A
|
|
863
874
|
})]
|
|
864
|
-
}) :
|
|
865
|
-
className: r(
|
|
875
|
+
}) : S.length === 0 ? /* @__PURE__ */ V("p", {
|
|
876
|
+
className: r(B, $.subtitleText),
|
|
866
877
|
children: t.historyEmptyLabel
|
|
867
878
|
}) : /* @__PURE__ */ H("ul", {
|
|
868
879
|
"aria-label": t.historyTitle,
|
|
869
880
|
children: [
|
|
870
|
-
|
|
871
|
-
|
|
881
|
+
S.map(ie),
|
|
882
|
+
E && K(D),
|
|
872
883
|
/* @__PURE__ */ V("li", {
|
|
873
|
-
ref:
|
|
884
|
+
ref: G,
|
|
874
885
|
"aria-hidden": !0,
|
|
875
886
|
className: "h-px w-full"
|
|
876
887
|
})
|
|
@@ -885,4 +896,4 @@ var U = /* @__PURE__ */ function(e) {
|
|
|
885
896
|
});
|
|
886
897
|
};
|
|
887
898
|
//#endregion
|
|
888
|
-
export {
|
|
899
|
+
export { me as DESCRIPTION_MAX_LENGTH, G as ScheduledTaskCard, oe as ScheduledTaskCardGrid, ae as ScheduledTaskCardSkeleton, Ce as ScheduledTaskCreateForm, Ee as ScheduledTaskDetailView, Y as ScheduledTaskFrequency, Q as ScheduledTaskRunStatus, J as ScheduledTaskScheduleType, ce as ScheduledTaskSection, U as ScheduledTaskSectionKey, fe as ScheduledTasks, pe as ScheduledTasksSortKey };
|
|
@@ -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,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,EAAE,MAAM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I,CAAC;IACrB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iHAAiH;IACjH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6HAA6H;IAC7H,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,yKAAyK;IACzK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mLAAmL;IACnL,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,SAAS,CAAC;IACrD,qKAAqK;IACrK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0GAA0G;IAC1G,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAC7B,oJAAoJ;IACpJ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0IAA0I;IAC1I,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,6FAA6F;IAC7F,SAAS,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACzB,2FAA2F;IAC3F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,2GAA2G;IAC3G,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"}
|
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.127",
|
|
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.127",
|
|
21
|
+
"@epam/ai-dial-kit": "1.1.0-dev.127",
|
|
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"
|