@epam/ai-dial-scheduled-tasks 1.1.0-dev.116 → 1.1.0-dev.121
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/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +199 -219
- package/models/scheduled-task-card-props.d.ts +2 -2
- package/models/scheduled-task-card-props.d.ts.map +1 -1
- package/models/scheduled-tasks-props.d.ts +2 -8
- package/models/scheduled-tasks-props.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,EAAE,EAA8B,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AA8CzE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA6OlD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
._title_1xv9i_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_1xv9i_5{color:var(--stc-desc-text,var(--text-control-disable-beta,#848e9c))}._schedulePill_1xv9i_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_1xv9i_14{color:var(--stc-schedule-label-text,var(--text-control-disable-beta,#848e9c))}._locationLabel_1xv9i_18{color:var(--stc-location-label-text,var(--text-secondary,#57647a))}._locationLeaf_1xv9i_22{color:var(--stc-location-leaf-text,var(--text-secondary,#57647a))}._newBadge_1xv9i_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#124ace));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._locationDivider_1xv9i_31{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._card_1a43j_1{--stcs-skeleton-bg:var(--bg-layer-4,#d1dbea)}._countBadge_4bnxj_1{background:var(--sts-badge-bg,var(--bg-layer-raised,#fcfcfc));color:var(--sts-badge-text,var(--text-secondary,#57647a))}._container_r5sk9_1{background:var(--st-bg,var(--bg-layer-base,#f5f7fa))}._subtitle_r5sk9_5{color:var(--st-subtitle-text,var(--text-secondary,#57647a))}._sortButton_r5sk9_9{color:var(--st-sort-text,var(--text-accent,#1d4ed8))}._container_sq3dp_1{background:var(--stcf-bg,var(--bg-layer-base,#f5f7fa))}._header_sq3dp_5{border-bottom-color:var(--stcf-header-border,var(--stroke-tertiary,#e0e6f0))}._detailsColumn_sq3dp_9{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_sq3dp_13{color:var(--stcf-subtitle-text,var(--text-secondary,#57647a))}._instructionsError_sq3dp_17{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}._container_1ci42_1{background:var(--stdv-bg,var(--bg-layer-base,#f5f7fa))}._header_1ci42_5{border-bottom-color:var(--stdv-header-border,var(--stroke-tertiary,#e0e6f0))}._detailsColumn_1ci42_9{border-inline-end-color:var(--stdv-details-border,var(--stroke-tertiary,#e0e6f0))}._subtitleText_1ci42_13{color:var(--stdv-subtitle-text,var(--text-secondary,#57647a))}._successIcon_1ci42_17{color:var(--stdv-success-icon,var(--text-success,#007274))}._errorIcon_1ci42_21{color:var(--stdv-error-icon,var(--text-error,#ae2f2f))}._missedIcon_1ci42_25{color:var(--stdv-missed-icon,var(--text-secondary,#57647a))}._historyCard_1ci42_29{background:var(--stdv-history-bg,var(--bg-layer-raised,#fcfcfc))}
|
|
2
2
|
/*$vite$:1*/
|
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ScheduledTasks } from './components/ScheduledTasks/ScheduledTasks';
|
|
2
|
-
export type { ScheduledTasksProps, ScheduledTasksLabels,
|
|
2
|
+
export type { ScheduledTasksProps, ScheduledTasksLabels, ScheduledTasksStyles, ScheduledTasksColors, ScheduledTasksTypography, } from './models/scheduled-tasks-props';
|
|
3
3
|
export { ScheduledTaskCard } from './components/ScheduledTaskCard/ScheduledTaskCard';
|
|
4
4
|
export type { ScheduledTaskCardProps, ScheduledTaskCardLabels, ScheduledTaskCardStyles, ScheduledTaskCardColors, ScheduledTaskCardTypography, } from './models/scheduled-task-card-props';
|
|
5
5
|
export { ScheduledTaskSection } from './components/ScheduledTaskSection/ScheduledTaskSection';
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,YAAY,EACV,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AACrF,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,2BAA2B,GAC5B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,YAAY,EACV,yBAAyB,EACzB,0BAA0B,EAC1B,0BAA0B,EAC1B,8BAA8B,GAC/B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,0DAA0D,CAAC;AACjG,YAAY,EACV,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kEAAkE,CAAC;AAC7G,YAAY,EACV,8BAA8B,EAC9B,+BAA+B,EAC/B,+BAA+B,GAChC,MAAM,6CAA6C,CAAC;AACrD,YAAY,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,YAAY,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,GAC7B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EACL,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,uBAAuB,EAAE,MAAM,8DAA8D,CAAC;AACvG,YAAY,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,6BAA6B,EAC7B,6BAA6B,EAC7B,iCAAiC,GAClC,MAAM,2CAA2C,CAAC;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { MDMessageViewer as e, PanelEmptyState as t, buildCssVars as n, mergeClasses as r } from "@epam/ai-dial-chat-shared";
|
|
2
2
|
import { Input as i, SearchBar as a, Textarea as o } from "@epam/ai-dial-kit";
|
|
3
|
-
import {
|
|
4
|
-
import { IconAlertTriangle as
|
|
5
|
-
import { Suspense as L, lazy as R, useEffect as ee, useMemo as
|
|
6
|
-
import { Fragment as
|
|
3
|
+
import { ButtonAppearance as s, ButtonDropdown as c, ButtonVariant as l, Calendar as u, CalendarMode as d, CardShell as f, DIAL_ICON_SIZE as p, DialDropdown as m, DialSelectField as h, DialSkeleton as g, DialSkeletonVariant as _, DialSpinner as v, FolderPath as y, GhostButton as b, GhostIconButton as x, Highlight as S, IconButton as C, LazyDialMarkdownEditor as w, NeutralButton as T, PrimaryButton 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, IconPlayerPlay as P, IconPlus as F, IconTrash as I } from "@tabler/icons-react";
|
|
5
|
+
import { Suspense as L, lazy as R, useEffect as ee, useMemo as te, useRef as ne } from "react";
|
|
6
|
+
import { Fragment as z, jsx as B, jsxs as V } from "react/jsx-runtime";
|
|
7
7
|
//#region src/models/scheduled-task-item.ts
|
|
8
8
|
var H = /* @__PURE__ */ function(e) {
|
|
9
9
|
return e.Shared = "shared", e.MyTasks = "myTasks", e;
|
|
10
10
|
}({}), U = {
|
|
11
|
-
title: "
|
|
12
|
-
description: "
|
|
13
|
-
schedulePill: "
|
|
14
|
-
scheduleLabel: "
|
|
15
|
-
locationLabel: "
|
|
16
|
-
locationLeaf: "
|
|
17
|
-
newBadge: "
|
|
18
|
-
locationDivider: "
|
|
19
|
-
}, W = ({ item: e, searchQuery: t = "", onEdit: i, onRunNow: a, onDelete: o, onCardClick: s, labels: c, styles:
|
|
20
|
-
let
|
|
21
|
-
"--stc-title-text":
|
|
22
|
-
"--stc-desc-text":
|
|
23
|
-
"--stc-pill-bg":
|
|
24
|
-
"--stc-pill-border":
|
|
25
|
-
"--stc-schedule-label-text":
|
|
26
|
-
"--stc-location-label-text":
|
|
27
|
-
"--stc-location-leaf-text":
|
|
28
|
-
"--stc-new-badge-bg":
|
|
29
|
-
"--stc-new-badge-text":
|
|
30
|
-
"--stc-location-divider-border":
|
|
11
|
+
title: "_title_1xv9i_1",
|
|
12
|
+
description: "_description_1xv9i_5",
|
|
13
|
+
schedulePill: "_schedulePill_1xv9i_9",
|
|
14
|
+
scheduleLabel: "_scheduleLabel_1xv9i_14",
|
|
15
|
+
locationLabel: "_locationLabel_1xv9i_18",
|
|
16
|
+
locationLeaf: "_locationLeaf_1xv9i_22",
|
|
17
|
+
newBadge: "_newBadge_1xv9i_26",
|
|
18
|
+
locationDivider: "_locationDivider_1xv9i_31"
|
|
19
|
+
}, W = ({ item: e, searchQuery: t = "", onEdit: i, onRunNow: a, onDelete: o, onCardClick: s, labels: c, styles: l, className: u }) => {
|
|
20
|
+
let d = c?.newBadgeLabel ?? "NEW", h = c?.actionsLabel ?? "More actions", g = c?.editActionLabel ?? "Edit", _ = c?.runNowActionLabel ?? "Run now", v = c?.deleteActionLabel ?? "Delete", { colors: b, typography: x } = l ?? {}, w = x?.titleClassName ?? "dial-body-semi-text", T = x?.descriptionClassName ?? "dial-small-text", E = x?.scheduleLabelClassName ?? "dial-tiny-text", D = x?.locationLabelClassName ?? "dial-tiny-text", O = x?.locationLeafClassName ?? "dial-tiny-semi-text", k = x?.newBadgeClassName ?? "dial-tiny-semi-text", A = n({
|
|
21
|
+
"--stc-title-text": b?.titleText,
|
|
22
|
+
"--stc-desc-text": b?.descriptionText,
|
|
23
|
+
"--stc-pill-bg": b?.schedulePillBackground,
|
|
24
|
+
"--stc-pill-border": b?.schedulePillBorder,
|
|
25
|
+
"--stc-schedule-label-text": b?.scheduleLabelText,
|
|
26
|
+
"--stc-location-label-text": b?.locationLabelText,
|
|
27
|
+
"--stc-location-leaf-text": b?.locationLeafText,
|
|
28
|
+
"--stc-new-badge-bg": b?.newBadgeBackground,
|
|
29
|
+
"--stc-new-badge-text": b?.newBadgeText,
|
|
30
|
+
"--stc-location-divider-border": b?.locationDividerBorder
|
|
31
31
|
}), j = [];
|
|
32
32
|
i && j.push({
|
|
33
33
|
key: "edit",
|
|
34
|
-
label:
|
|
34
|
+
label: g,
|
|
35
35
|
icon: /* @__PURE__ */ B(N, {
|
|
36
|
-
size:
|
|
36
|
+
size: p.SM,
|
|
37
37
|
"aria-hidden": !0
|
|
38
38
|
}),
|
|
39
39
|
onClick: ({ domEvent: t }) => {
|
|
@@ -41,9 +41,9 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
41
41
|
}
|
|
42
42
|
}), a && j.push({
|
|
43
43
|
key: "runNow",
|
|
44
|
-
label:
|
|
44
|
+
label: _,
|
|
45
45
|
icon: /* @__PURE__ */ B(P, {
|
|
46
|
-
size:
|
|
46
|
+
size: p.SM,
|
|
47
47
|
"aria-hidden": !0
|
|
48
48
|
}),
|
|
49
49
|
onClick: ({ domEvent: t }) => {
|
|
@@ -51,9 +51,9 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
51
51
|
}
|
|
52
52
|
}), o && j.push({
|
|
53
53
|
key: "delete",
|
|
54
|
-
label:
|
|
54
|
+
label: v,
|
|
55
55
|
icon: /* @__PURE__ */ B(I, {
|
|
56
|
-
size:
|
|
56
|
+
size: p.SM,
|
|
57
57
|
"aria-hidden": !0
|
|
58
58
|
}),
|
|
59
59
|
danger: !0,
|
|
@@ -68,33 +68,33 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
68
68
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), s(e.id));
|
|
69
69
|
}
|
|
70
70
|
} : {};
|
|
71
|
-
return /* @__PURE__ */ V(
|
|
71
|
+
return /* @__PURE__ */ V(f, {
|
|
72
72
|
role: s ? "button" : "group",
|
|
73
73
|
"aria-label": e.displayName,
|
|
74
74
|
style: A,
|
|
75
|
-
className: r("h-[232px]", s && "cursor-pointer",
|
|
75
|
+
className: r("h-[232px]", s && "cursor-pointer", u),
|
|
76
76
|
...F,
|
|
77
77
|
children: [
|
|
78
78
|
/* @__PURE__ */ V("div", {
|
|
79
79
|
className: "flex shrink-0 items-start justify-between gap-2",
|
|
80
80
|
children: [/* @__PURE__ */ V("div", {
|
|
81
81
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
82
|
-
children: [/* @__PURE__ */ B(
|
|
82
|
+
children: [/* @__PURE__ */ B(S, {
|
|
83
83
|
text: e.displayName,
|
|
84
84
|
query: t,
|
|
85
85
|
maxLines: 1,
|
|
86
86
|
className: r(w, U.title)
|
|
87
87
|
}), e.isNew && /* @__PURE__ */ B("span", {
|
|
88
88
|
className: r("shrink-0 rounded-full px-2 py-0.5", k, U.newBadge),
|
|
89
|
-
children:
|
|
89
|
+
children: d
|
|
90
90
|
})]
|
|
91
|
-
}), j.length > 0 && /* @__PURE__ */ B(
|
|
91
|
+
}), j.length > 0 && /* @__PURE__ */ B(m, {
|
|
92
92
|
items: j,
|
|
93
93
|
matchReferenceWidth: !1,
|
|
94
94
|
placement: "bottom-end",
|
|
95
|
-
children: /* @__PURE__ */ B(
|
|
95
|
+
children: /* @__PURE__ */ B(C, {
|
|
96
96
|
icon: /* @__PURE__ */ B(M, {
|
|
97
|
-
size:
|
|
97
|
+
size: p.SM,
|
|
98
98
|
"aria-hidden": !0
|
|
99
99
|
}),
|
|
100
100
|
"aria-label": h,
|
|
@@ -115,7 +115,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
115
115
|
className: r("inline-block rounded-lg border px-2 py-1", U.schedulePill, E, U.scheduleLabel),
|
|
116
116
|
children: e.scheduleLabel
|
|
117
117
|
})
|
|
118
|
-
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ B(
|
|
118
|
+
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ B(y, {
|
|
119
119
|
segments: e.locationSegments,
|
|
120
120
|
labelClassName: r(D, U.locationLabel),
|
|
121
121
|
leafClassName: r(O, U.locationLeaf),
|
|
@@ -128,13 +128,13 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
128
128
|
"100%",
|
|
129
129
|
"100%",
|
|
130
130
|
"61%"
|
|
131
|
-
], K = "var(--stcs-skeleton-bg)", ie = ({ styles: e }) => /* @__PURE__ */ V(
|
|
131
|
+
], K = "var(--stcs-skeleton-bg)", ie = ({ styles: e }) => /* @__PURE__ */ V(f, {
|
|
132
132
|
"aria-hidden": !0,
|
|
133
133
|
style: n({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
|
|
134
134
|
className: r("h-[232px]", G.card),
|
|
135
135
|
children: [
|
|
136
|
-
/* @__PURE__ */ B(
|
|
137
|
-
variant:
|
|
136
|
+
/* @__PURE__ */ B(g, {
|
|
137
|
+
variant: _.Rectangular,
|
|
138
138
|
width: "60%",
|
|
139
139
|
height: "20px",
|
|
140
140
|
color: K,
|
|
@@ -142,15 +142,15 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
142
142
|
}),
|
|
143
143
|
/* @__PURE__ */ B("div", {
|
|
144
144
|
className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
|
|
145
|
-
children: re.map((e, t) => /* @__PURE__ */ B(
|
|
146
|
-
variant:
|
|
145
|
+
children: re.map((e, t) => /* @__PURE__ */ B(g, {
|
|
146
|
+
variant: _.Rectangular,
|
|
147
147
|
width: e,
|
|
148
148
|
height: "16px",
|
|
149
149
|
color: K
|
|
150
150
|
}, t))
|
|
151
151
|
}),
|
|
152
|
-
/* @__PURE__ */ B(
|
|
153
|
-
variant:
|
|
152
|
+
/* @__PURE__ */ B(g, {
|
|
153
|
+
variant: _.Rectangular,
|
|
154
154
|
width: "110px",
|
|
155
155
|
height: "28px",
|
|
156
156
|
color: K,
|
|
@@ -169,7 +169,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
169
169
|
labels: o,
|
|
170
170
|
styles: s
|
|
171
171
|
}, e.id)), Array.from({ length: c }, (e, t) => /* @__PURE__ */ B(ie, { styles: l }, `skeleton-${t}`))]
|
|
172
|
-
}), oe = { countBadge: "
|
|
172
|
+
}), oe = { countBadge: "_countBadge_4bnxj_1" }, se = ({ 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
|
|
@@ -190,94 +190,94 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
190
190
|
}), i]
|
|
191
191
|
});
|
|
192
192
|
}, q = {
|
|
193
|
-
container: "
|
|
194
|
-
subtitle: "
|
|
195
|
-
sortButton: "
|
|
193
|
+
container: "_container_r5sk9_1",
|
|
194
|
+
subtitle: "_subtitle_r5sk9_5",
|
|
195
|
+
sortButton: "_sortButton_r5sk9_9"
|
|
196
196
|
}, ce = [H.Shared, H.MyTasks], le = (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
|
}, ue = (e) => {
|
|
199
199
|
if (!e || e === document.body) return null;
|
|
200
200
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
201
201
|
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : ue(e.parentElement);
|
|
202
|
-
}, de = ({ labels: e, onCreateClick: i, searchQuery: o, onSearchQueryChange:
|
|
203
|
-
let { colors:
|
|
204
|
-
"--st-bg":
|
|
205
|
-
"--st-subtitle-text":
|
|
206
|
-
"--st-sort-text":
|
|
207
|
-
}),
|
|
202
|
+
}, de = ({ labels: e, onCreateClick: i, searchQuery: o, onSearchQueryChange: u, sortKey: d, onSortChange: f, items: m, isLoading: h = !1, error: g, onRetry: _, hasMore: y = !1, isLoadingMore: x = !1, skeletonCount: S = 6, onLoadMore: C, onEdit: w, onRunNow: T, onDelete: D, onCardClick: O, styles: A }) => {
|
|
203
|
+
let { colors: j, typography: M, emptyStateIconSize: N = 48 } = A ?? {}, P = M?.titleClassName ?? "dial-h1-text", I = M?.subtitleClassName ?? "dial-body-text", L = n({
|
|
204
|
+
"--st-bg": j?.background,
|
|
205
|
+
"--st-subtitle-text": j?.subtitleText,
|
|
206
|
+
"--st-sort-text": j?.sortButtonText
|
|
207
|
+
}), R = e.sortOptions.find((e) => e.key === d)?.label ?? "", z = te(() => {
|
|
208
208
|
let t = { [H.Shared]: e.sharedSectionTitle };
|
|
209
209
|
return ce.map((e) => ({
|
|
210
210
|
key: e,
|
|
211
211
|
title: t[e],
|
|
212
|
-
items:
|
|
212
|
+
items: m.filter((t) => t.sectionKey === e)
|
|
213
213
|
})).filter((e) => e.items.length > 0);
|
|
214
|
-
}, [
|
|
214
|
+
}, [m, e.sharedSectionTitle]), U = le(h, x, !!g, m.length, o.trim().length > 0, e), W = ne(null);
|
|
215
215
|
ee(() => {
|
|
216
|
-
let e =
|
|
217
|
-
if (!e || !
|
|
216
|
+
let e = W.current;
|
|
217
|
+
if (!e || !C) return;
|
|
218
218
|
let t = ue(e.parentElement);
|
|
219
219
|
if (!t) return;
|
|
220
220
|
let n = () => {
|
|
221
|
-
if (
|
|
221
|
+
if (x || h || !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
|
-
v,
|
|
228
227
|
y,
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
x,
|
|
229
|
+
h,
|
|
230
|
+
C
|
|
231
231
|
]);
|
|
232
|
-
let
|
|
233
|
-
if (
|
|
234
|
-
if (
|
|
232
|
+
let G = () => {
|
|
233
|
+
if (h) return /* @__PURE__ */ B(v, {});
|
|
234
|
+
if (g) return /* @__PURE__ */ V("div", {
|
|
235
235
|
className: "flex flex-col items-center gap-3",
|
|
236
236
|
children: [/* @__PURE__ */ B("p", {
|
|
237
|
-
className: r(
|
|
237
|
+
className: r(I, q.subtitle),
|
|
238
238
|
children: e.errorLabel
|
|
239
|
-
}), /* @__PURE__ */ B(
|
|
239
|
+
}), /* @__PURE__ */ B(b, {
|
|
240
240
|
label: e.retryLabel,
|
|
241
|
-
onClick:
|
|
241
|
+
onClick: _
|
|
242
242
|
})]
|
|
243
243
|
});
|
|
244
|
-
if (
|
|
245
|
-
className: r(
|
|
244
|
+
if (m.length === 0) return o.trim() ? /* @__PURE__ */ B("p", {
|
|
245
|
+
className: r(I, q.subtitle),
|
|
246
246
|
children: e.noResultsLabel
|
|
247
247
|
}) : /* @__PURE__ */ B(t, {
|
|
248
|
-
icon: /* @__PURE__ */ B(
|
|
248
|
+
icon: /* @__PURE__ */ B(k, {
|
|
249
249
|
"aria-hidden": !0,
|
|
250
|
-
size:
|
|
250
|
+
size: N,
|
|
251
251
|
stroke: 1
|
|
252
252
|
}),
|
|
253
253
|
label: e.emptyStateLabel
|
|
254
254
|
});
|
|
255
|
-
let n =
|
|
255
|
+
let n = z.length - 1;
|
|
256
256
|
return /* @__PURE__ */ V("div", {
|
|
257
257
|
className: "flex w-full flex-col gap-6",
|
|
258
|
-
children: [
|
|
258
|
+
children: [z.map((t, r) => /* @__PURE__ */ B(se, {
|
|
259
259
|
title: t.title,
|
|
260
260
|
count: t.items.length,
|
|
261
261
|
children: /* @__PURE__ */ B(ae, {
|
|
262
262
|
items: t.items,
|
|
263
263
|
searchQuery: o,
|
|
264
|
-
onEdit:
|
|
265
|
-
onRunNow:
|
|
266
|
-
onDelete:
|
|
267
|
-
onCardClick:
|
|
264
|
+
onEdit: w,
|
|
265
|
+
onRunNow: T,
|
|
266
|
+
onDelete: D,
|
|
267
|
+
onCardClick: O,
|
|
268
268
|
labels: e.cardLabels,
|
|
269
|
-
trailingSkeletonCount:
|
|
270
|
-
skeletonStyles: { colors: { skeletonColor:
|
|
269
|
+
trailingSkeletonCount: x && r === n ? S : 0,
|
|
270
|
+
skeletonStyles: { colors: { skeletonColor: j?.skeletonColor } }
|
|
271
271
|
})
|
|
272
272
|
}, t.key)), /* @__PURE__ */ B("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__ */ V("div", {
|
|
280
|
-
style:
|
|
280
|
+
style: L,
|
|
281
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__ */ V("div", {
|
|
@@ -285,16 +285,16 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
285
285
|
children: [/* @__PURE__ */ V("div", {
|
|
286
286
|
className: "min-w-0 gap-2",
|
|
287
287
|
children: [/* @__PURE__ */ B("h1", {
|
|
288
|
-
className: r("truncate",
|
|
288
|
+
className: r("truncate", P),
|
|
289
289
|
children: e.title
|
|
290
290
|
}), /* @__PURE__ */ B("p", {
|
|
291
|
-
className: r("mt-1",
|
|
291
|
+
className: r("mt-1", I, q.subtitle),
|
|
292
292
|
children: e.subtitle
|
|
293
293
|
})]
|
|
294
|
-
}), /* @__PURE__ */ B(
|
|
294
|
+
}), /* @__PURE__ */ B(E, {
|
|
295
295
|
label: e.createButtonLabel,
|
|
296
296
|
iconBefore: /* @__PURE__ */ B(F, {
|
|
297
|
-
size:
|
|
297
|
+
size: p.SM,
|
|
298
298
|
"aria-hidden": !0
|
|
299
299
|
}),
|
|
300
300
|
onClick: i,
|
|
@@ -307,7 +307,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
307
307
|
className: "flex-1",
|
|
308
308
|
children: /* @__PURE__ */ B(a, {
|
|
309
309
|
value: o,
|
|
310
|
-
onChange:
|
|
310
|
+
onChange: u,
|
|
311
311
|
labels: {
|
|
312
312
|
placeholder: e.searchPlaceholder,
|
|
313
313
|
ariaLabel: e.searchAriaLabel,
|
|
@@ -321,45 +321,25 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
321
321
|
clearButtonClassName: "size-11 desktop:size-auto"
|
|
322
322
|
}
|
|
323
323
|
})
|
|
324
|
-
}), e.sortOptions.length > 0 && /* @__PURE__ */ B(
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
324
|
+
}), e.sortOptions.length > 0 && /* @__PURE__ */ B(c, {
|
|
325
|
+
label: R,
|
|
326
|
+
variant: l.Primary,
|
|
327
|
+
appearance: s.Ghost,
|
|
328
328
|
items: e.sortOptions.map((e) => ({
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
children: [e.label, e.key === c && /* @__PURE__ */ B(O, {
|
|
333
|
-
size: u.SM,
|
|
334
|
-
"aria-hidden": !0
|
|
335
|
-
})]
|
|
336
|
-
}),
|
|
337
|
-
onClick: () => l(e.key)
|
|
338
|
-
})),
|
|
339
|
-
children: /* @__PURE__ */ B(_, {
|
|
340
|
-
label: ne,
|
|
341
|
-
"aria-label": e.sortLabel,
|
|
342
|
-
className: r("rounded-[4px]", q.sortButton),
|
|
343
|
-
iconBefore: /* @__PURE__ */ B(E, {
|
|
344
|
-
size: 20,
|
|
345
|
-
"aria-hidden": !0
|
|
346
|
-
}),
|
|
347
|
-
iconAfter: /* @__PURE__ */ B(k, {
|
|
348
|
-
size: 20,
|
|
349
|
-
"aria-hidden": !0
|
|
350
|
-
})
|
|
351
|
-
})
|
|
329
|
+
...e,
|
|
330
|
+
onClick: () => f(e.key)
|
|
331
|
+
}))
|
|
352
332
|
})]
|
|
353
333
|
}),
|
|
354
334
|
/* @__PURE__ */ B("span", {
|
|
355
335
|
role: "status",
|
|
356
336
|
"aria-live": "polite",
|
|
357
337
|
className: "sr-only",
|
|
358
|
-
children:
|
|
338
|
+
children: U
|
|
359
339
|
}),
|
|
360
340
|
/* @__PURE__ */ B("div", {
|
|
361
|
-
className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col",
|
|
362
|
-
children:
|
|
341
|
+
className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col", re && "items-center justify-center"),
|
|
342
|
+
children: G()
|
|
363
343
|
})
|
|
364
344
|
]
|
|
365
345
|
});
|
|
@@ -388,19 +368,19 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
388
368
|
let t = typeof e == "string" ? Number(e) : NaN;
|
|
389
369
|
return Number.isFinite(t) ? String(t - 1) : "";
|
|
390
370
|
}, Z = {
|
|
391
|
-
container: "
|
|
392
|
-
header: "
|
|
393
|
-
detailsColumn: "
|
|
394
|
-
sectionSubtitle: "
|
|
395
|
-
instructionsError: "
|
|
396
|
-
}, be = (e) => `${e} *`, xe = R(async () => ({ default: (await
|
|
397
|
-
let { colors:
|
|
398
|
-
"--stcf-bg":
|
|
399
|
-
"--stcf-header-border":
|
|
400
|
-
"--stcf-details-border":
|
|
401
|
-
"--stcf-subtitle-text":
|
|
402
|
-
"--stcf-error-text":
|
|
403
|
-
}), M =
|
|
371
|
+
container: "_container_sq3dp_1",
|
|
372
|
+
header: "_header_sq3dp_5",
|
|
373
|
+
detailsColumn: "_detailsColumn_sq3dp_9",
|
|
374
|
+
sectionSubtitle: "_sectionSubtitle_sq3dp_13",
|
|
375
|
+
instructionsError: "_instructionsError_sq3dp_17"
|
|
376
|
+
}, be = (e) => `${e} *`, xe = R(async () => ({ default: (await w()).DialMarkdownEditor })), Se = ({ labels: e, values: t, errors: a, modelOptions: s, onFieldChange: c, onBack: l, onCancel: f, onSubmit: m, isSubmitting: g = !1, markdownEditorTheme: _, styles: y }) => {
|
|
377
|
+
let { colors: b, typography: S } = y ?? {}, C = S?.titleClassName ?? "dial-h1-text", w = S?.sectionTitleClassName ?? "dial-body-semi-text", D = S?.sectionSubtitleClassName ?? "dial-tiny-text", k = S?.scheduleSectionLabelClassName ?? "dial-body-semi-text mb-1", A = S?.instructionsErrorClassName ?? "dial-small-text", j = n({
|
|
378
|
+
"--stcf-bg": b?.background,
|
|
379
|
+
"--stcf-header-border": b?.headerBorder,
|
|
380
|
+
"--stcf-details-border": b?.detailsColumnBorder,
|
|
381
|
+
"--stcf-subtitle-text": b?.sectionSubtitleText,
|
|
382
|
+
"--stcf-error-text": b?.instructionsErrorText
|
|
383
|
+
}), M = g || !t.displayName.trim() || !t.modelId || !t.prompt.trim();
|
|
404
384
|
return /* @__PURE__ */ V("div", {
|
|
405
385
|
style: j,
|
|
406
386
|
className: r("flex h-full w-full flex-col overflow-y-auto", Z.container),
|
|
@@ -408,27 +388,27 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
408
388
|
className: r("flex h-16 items-center justify-between gap-6 border-b px-8", Z.header),
|
|
409
389
|
children: [/* @__PURE__ */ V("div", {
|
|
410
390
|
className: "flex min-w-0 flex-1 items-center gap-2",
|
|
411
|
-
children: [/* @__PURE__ */ B(
|
|
412
|
-
icon: /* @__PURE__ */ B(
|
|
413
|
-
size:
|
|
391
|
+
children: [/* @__PURE__ */ B(x, {
|
|
392
|
+
icon: /* @__PURE__ */ B(O, {
|
|
393
|
+
size: p.LG,
|
|
414
394
|
className: "rtl:scale-x-[-1]",
|
|
415
395
|
"aria-hidden": !0
|
|
416
396
|
}),
|
|
417
397
|
"aria-label": e.backButtonLabel,
|
|
418
|
-
onClick:
|
|
398
|
+
onClick: l
|
|
419
399
|
}), /* @__PURE__ */ B("h1", {
|
|
420
|
-
className: r("truncate",
|
|
400
|
+
className: r("truncate", C),
|
|
421
401
|
children: e.pageTitle
|
|
422
402
|
})]
|
|
423
403
|
}), /* @__PURE__ */ V("div", {
|
|
424
404
|
className: "flex items-center gap-2",
|
|
425
|
-
children: [/* @__PURE__ */ B(
|
|
405
|
+
children: [/* @__PURE__ */ B(T, {
|
|
426
406
|
label: e.cancelButtonLabel,
|
|
427
|
-
onClick:
|
|
428
|
-
disabled:
|
|
429
|
-
}), /* @__PURE__ */ B(
|
|
407
|
+
onClick: f,
|
|
408
|
+
disabled: g
|
|
409
|
+
}), /* @__PURE__ */ B(E, {
|
|
430
410
|
label: e.createButtonLabel,
|
|
431
|
-
onClick:
|
|
411
|
+
onClick: m,
|
|
432
412
|
disabled: M
|
|
433
413
|
})]
|
|
434
414
|
})]
|
|
@@ -443,17 +423,17 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
443
423
|
/* @__PURE__ */ V("div", {
|
|
444
424
|
className: "flex flex-col gap-1",
|
|
445
425
|
children: [/* @__PURE__ */ B("h2", {
|
|
446
|
-
className:
|
|
426
|
+
className: w,
|
|
447
427
|
children: e.detailsSectionTitle
|
|
448
428
|
}), /* @__PURE__ */ B("p", {
|
|
449
|
-
className: r(
|
|
429
|
+
className: r(D, Z.sectionSubtitle),
|
|
450
430
|
children: e.detailsSectionSubtitle
|
|
451
431
|
})]
|
|
452
432
|
}),
|
|
453
433
|
/* @__PURE__ */ B(i, {
|
|
454
434
|
id: "scheduled-task-display-name",
|
|
455
435
|
value: t.displayName,
|
|
456
|
-
onChange: (e) =>
|
|
436
|
+
onChange: (e) => c("displayName", e ?? ""),
|
|
457
437
|
labelProps: {
|
|
458
438
|
label: e.displayNameLabel,
|
|
459
439
|
required: !0
|
|
@@ -464,21 +444,21 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
464
444
|
/* @__PURE__ */ B(o, {
|
|
465
445
|
id: "scheduled-task-description",
|
|
466
446
|
value: t.description ?? "",
|
|
467
|
-
onChange: (e) =>
|
|
447
|
+
onChange: (e) => c("description", e),
|
|
468
448
|
labelProps: { label: e.descriptionLabel },
|
|
469
449
|
maxLength: 500,
|
|
470
450
|
invalid: !!a.description,
|
|
471
451
|
error: a.description,
|
|
472
452
|
caption: t.description ? `${t.description.length}/500` : void 0
|
|
473
453
|
}),
|
|
474
|
-
/* @__PURE__ */ B(
|
|
454
|
+
/* @__PURE__ */ B(h, {
|
|
475
455
|
label: e.modelOrAgentLabel,
|
|
476
456
|
required: !0,
|
|
477
457
|
value: t.modelId,
|
|
478
458
|
placeholder: e.modelPlaceholder,
|
|
479
|
-
onChange: (e) =>
|
|
459
|
+
onChange: (e) => c("modelId", e),
|
|
480
460
|
error: a.modelId,
|
|
481
|
-
options:
|
|
461
|
+
options: s.map((e) => ({
|
|
482
462
|
value: e.id,
|
|
483
463
|
label: e.label
|
|
484
464
|
}))
|
|
@@ -490,10 +470,10 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
490
470
|
className: k,
|
|
491
471
|
children: e.scheduleSectionLabel
|
|
492
472
|
}),
|
|
493
|
-
/* @__PURE__ */ B(
|
|
473
|
+
/* @__PURE__ */ B(h, {
|
|
494
474
|
label: e.scheduleTypeAriaLabel,
|
|
495
475
|
value: t.scheduleType,
|
|
496
|
-
onChange: (e) =>
|
|
476
|
+
onChange: (e) => c("scheduleType", e),
|
|
497
477
|
options: [{
|
|
498
478
|
value: J.Once,
|
|
499
479
|
label: e.scheduleTypeOnceLabel
|
|
@@ -504,11 +484,11 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
504
484
|
}),
|
|
505
485
|
t.scheduleType === J.Once && /* @__PURE__ */ V("div", {
|
|
506
486
|
className: "flex flex-col gap-1",
|
|
507
|
-
children: [/* @__PURE__ */ B(
|
|
487
|
+
children: [/* @__PURE__ */ B(u, {
|
|
508
488
|
id: "scheduled-task-run-at",
|
|
509
|
-
mode:
|
|
489
|
+
mode: d.DateTime,
|
|
510
490
|
value: me(t.runAt),
|
|
511
|
-
onChange: (e) =>
|
|
491
|
+
onChange: (e) => c("runAt", he(e)),
|
|
512
492
|
label: be(e.runAtLabel),
|
|
513
493
|
invalid: !!a.runAt
|
|
514
494
|
}), a.runAt && /* @__PURE__ */ B("p", {
|
|
@@ -516,11 +496,11 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
516
496
|
children: a.runAt
|
|
517
497
|
})]
|
|
518
498
|
}),
|
|
519
|
-
t.scheduleType === J.Recurring && /* @__PURE__ */ V(
|
|
520
|
-
/* @__PURE__ */ B(
|
|
499
|
+
t.scheduleType === J.Recurring && /* @__PURE__ */ V(z, { children: [
|
|
500
|
+
/* @__PURE__ */ B(h, {
|
|
521
501
|
label: e.frequencyLabel,
|
|
522
502
|
value: t.frequency,
|
|
523
|
-
onChange: (e) =>
|
|
503
|
+
onChange: (e) => c("frequency", e),
|
|
524
504
|
options: e.frequencyOptions.map((e) => ({
|
|
525
505
|
value: e.key,
|
|
526
506
|
label: e.label
|
|
@@ -528,11 +508,11 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
528
508
|
}),
|
|
529
509
|
/* @__PURE__ */ V("div", {
|
|
530
510
|
className: "flex flex-col gap-1",
|
|
531
|
-
children: [/* @__PURE__ */ B(
|
|
511
|
+
children: [/* @__PURE__ */ B(u, {
|
|
532
512
|
id: "scheduled-task-time",
|
|
533
|
-
mode:
|
|
513
|
+
mode: d.Time,
|
|
534
514
|
value: t.time,
|
|
535
|
-
onChange: (e) =>
|
|
515
|
+
onChange: (e) => c("time", typeof e == "string" ? e : ""),
|
|
536
516
|
label: be(e.timeLabel),
|
|
537
517
|
invalid: !!a.time
|
|
538
518
|
}), a.time && /* @__PURE__ */ B("p", {
|
|
@@ -542,11 +522,11 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
542
522
|
}),
|
|
543
523
|
t.frequency === Y.Weekly && /* @__PURE__ */ V("div", {
|
|
544
524
|
className: "flex flex-col gap-1",
|
|
545
|
-
children: [/* @__PURE__ */ B(
|
|
525
|
+
children: [/* @__PURE__ */ B(u, {
|
|
546
526
|
id: "scheduled-task-day-of-week",
|
|
547
|
-
mode:
|
|
527
|
+
mode: d.Weekday,
|
|
548
528
|
value: ve(t.dayOfWeek),
|
|
549
|
-
onChange: (e) =>
|
|
529
|
+
onChange: (e) => c("dayOfWeek", ye(e)),
|
|
550
530
|
label: be(e.dayOfWeekLabel),
|
|
551
531
|
invalid: !!a.dayOfWeek
|
|
552
532
|
}), a.dayOfWeek && /* @__PURE__ */ B("p", {
|
|
@@ -557,7 +537,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
557
537
|
t.frequency === Y.Monthly && /* @__PURE__ */ B(i, {
|
|
558
538
|
id: "scheduled-task-day-of-month",
|
|
559
539
|
value: t.dayOfMonth ?? "",
|
|
560
|
-
onChange: (e) =>
|
|
540
|
+
onChange: (e) => c("dayOfMonth", e ?? ""),
|
|
561
541
|
labelProps: {
|
|
562
542
|
label: e.dayOfMonthLabel,
|
|
563
543
|
required: !0
|
|
@@ -569,11 +549,11 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
569
549
|
className: "flex flex-col gap-3 desktop:flex-row",
|
|
570
550
|
children: [/* @__PURE__ */ V("div", {
|
|
571
551
|
className: "flex flex-1 flex-col gap-1",
|
|
572
|
-
children: [/* @__PURE__ */ B(
|
|
552
|
+
children: [/* @__PURE__ */ B(u, {
|
|
573
553
|
id: "scheduled-task-start-date",
|
|
574
|
-
mode:
|
|
554
|
+
mode: d.Date,
|
|
575
555
|
value: ge(t.startDate),
|
|
576
|
-
onChange: (e) =>
|
|
556
|
+
onChange: (e) => c("startDate", _e(e)),
|
|
577
557
|
label: e.startDateLabel,
|
|
578
558
|
placeholder: e.startDatePlaceholder,
|
|
579
559
|
invalid: !!a.startDate
|
|
@@ -583,11 +563,11 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
583
563
|
})]
|
|
584
564
|
}), /* @__PURE__ */ V("div", {
|
|
585
565
|
className: "flex flex-1 flex-col gap-1",
|
|
586
|
-
children: [/* @__PURE__ */ B(
|
|
566
|
+
children: [/* @__PURE__ */ B(u, {
|
|
587
567
|
id: "scheduled-task-end-date",
|
|
588
|
-
mode:
|
|
568
|
+
mode: d.Date,
|
|
589
569
|
value: ge(t.endDate),
|
|
590
|
-
onChange: (e) =>
|
|
570
|
+
onChange: (e) => c("endDate", _e(e)),
|
|
591
571
|
label: e.endDateLabel,
|
|
592
572
|
placeholder: e.endDatePlaceholder,
|
|
593
573
|
invalid: !!a.endDate
|
|
@@ -609,10 +589,10 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
609
589
|
children: [/* @__PURE__ */ V("div", {
|
|
610
590
|
className: "flex flex-col gap-1",
|
|
611
591
|
children: [/* @__PURE__ */ B("h2", {
|
|
612
|
-
className:
|
|
592
|
+
className: w,
|
|
613
593
|
children: e.configurationSectionTitle
|
|
614
594
|
}), /* @__PURE__ */ B("p", {
|
|
615
|
-
className: r(
|
|
595
|
+
className: r(D, Z.sectionSubtitle),
|
|
616
596
|
children: e.configurationSectionSubtitle
|
|
617
597
|
})]
|
|
618
598
|
}), /* @__PURE__ */ V("div", {
|
|
@@ -625,12 +605,12 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
625
605
|
children: e.instructionsLabel
|
|
626
606
|
}),
|
|
627
607
|
/* @__PURE__ */ B(L, {
|
|
628
|
-
fallback: /* @__PURE__ */ B(
|
|
608
|
+
fallback: /* @__PURE__ */ B(v, {}),
|
|
629
609
|
children: /* @__PURE__ */ B(xe, {
|
|
630
610
|
value: t.prompt,
|
|
631
|
-
onChange: (e) =>
|
|
611
|
+
onChange: (e) => c("prompt", e),
|
|
632
612
|
height: 480,
|
|
633
|
-
theme:
|
|
613
|
+
theme: _
|
|
634
614
|
})
|
|
635
615
|
}),
|
|
636
616
|
a.prompt && /* @__PURE__ */ B("p", {
|
|
@@ -650,14 +630,14 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
650
630
|
}, Q = /* @__PURE__ */ function(e) {
|
|
651
631
|
return e.Success = "success", e.Error = "error", e.InProgress = "inProgress", e.Missed = "missed", e;
|
|
652
632
|
}({}), $ = {
|
|
653
|
-
container: "
|
|
654
|
-
header: "
|
|
655
|
-
detailsColumn: "
|
|
656
|
-
subtitleText: "
|
|
657
|
-
successIcon: "
|
|
658
|
-
errorIcon: "
|
|
659
|
-
missedIcon: "
|
|
660
|
-
historyCard: "
|
|
633
|
+
container: "_container_1ci42_1",
|
|
634
|
+
header: "_header_1ci42_5",
|
|
635
|
+
detailsColumn: "_detailsColumn_1ci42_9",
|
|
636
|
+
subtitleText: "_subtitleText_1ci42_13",
|
|
637
|
+
successIcon: "_successIcon_1ci42_17",
|
|
638
|
+
errorIcon: "_errorIcon_1ci42_21",
|
|
639
|
+
missedIcon: "_missedIcon_1ci42_25",
|
|
640
|
+
historyCard: "_historyCard_1ci42_29"
|
|
661
641
|
}, Ce = (e) => {
|
|
662
642
|
if (!e || e === document.body) return null;
|
|
663
643
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
@@ -665,28 +645,28 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
665
645
|
}, we = ({ status: e }) => {
|
|
666
646
|
switch (e) {
|
|
667
647
|
case Q.Success: return /* @__PURE__ */ B(A, {
|
|
668
|
-
size:
|
|
648
|
+
size: p.SM,
|
|
669
649
|
className: $.successIcon,
|
|
670
650
|
"aria-hidden": !0
|
|
671
651
|
});
|
|
672
652
|
case Q.Error: return /* @__PURE__ */ B(j, {
|
|
673
|
-
size:
|
|
653
|
+
size: p.SM,
|
|
674
654
|
className: $.errorIcon,
|
|
675
655
|
"aria-hidden": !0
|
|
676
656
|
});
|
|
677
657
|
case Q.InProgress: return /* @__PURE__ */ B("span", {
|
|
678
658
|
"aria-hidden": !0,
|
|
679
|
-
children: /* @__PURE__ */ B(
|
|
659
|
+
children: /* @__PURE__ */ B(v, { size: p.SM })
|
|
680
660
|
});
|
|
681
|
-
case Q.Missed: return /* @__PURE__ */ B(
|
|
682
|
-
size:
|
|
661
|
+
case Q.Missed: return /* @__PURE__ */ B(D, {
|
|
662
|
+
size: p.SM,
|
|
683
663
|
className: $.missedIcon,
|
|
684
664
|
"aria-hidden": !0
|
|
685
665
|
});
|
|
686
666
|
default: return null;
|
|
687
667
|
}
|
|
688
|
-
}, Te = ({ labels: t, onBack: i, displayName: a, isLoading: o = !1, error: s, onRetry: c, description: l, modelLabel:
|
|
689
|
-
let { colors: N, typography: P } = M ?? {}, F = P?.titleClassName ?? "dial-h1-text", I = P?.sectionTitleClassName ?? "dial-body-semi-text", L = P?.fieldLabelClassName ?? "dial-tiny-text", R = P?.fieldValueClassName ?? "dial-body-text",
|
|
668
|
+
}, Te = ({ labels: t, onBack: i, displayName: a, isLoading: o = !1, error: s, onRetry: c, description: l, modelLabel: u, repeatsLabel: d, activeWindowLabel: f, nextRunLabel: m, instructionsMarkdown: h, renderInstructions: y, runs: S, runsIsLoading: C = !1, runsIsLoadingMore: w = !1, runsSkeletonCount: T = 6, runsError: E, onRunsRetry: D, runsHasMore: k = !1, onRunsLoadMore: A, onRunClick: j, styles: M }) => {
|
|
669
|
+
let { colors: N, typography: P } = M ?? {}, F = P?.titleClassName ?? "dial-h1-text", I = P?.sectionTitleClassName ?? "dial-body-semi-text", L = P?.fieldLabelClassName ?? "dial-tiny-text", R = P?.fieldValueClassName ?? "dial-body-text", te = P?.runTimestampClassName ?? "dial-small-text", z = n({
|
|
690
670
|
"--stdv-bg": N?.background,
|
|
691
671
|
"--stdv-header-border": N?.headerBorder,
|
|
692
672
|
"--stdv-details-border": N?.detailsColumnBorder,
|
|
@@ -695,7 +675,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
695
675
|
"--stdv-error-icon": N?.errorIconColor,
|
|
696
676
|
"--stdv-missed-icon": N?.missedIconColor,
|
|
697
677
|
"--stdv-history-bg": N?.historyCardBackground
|
|
698
|
-
}), H =
|
|
678
|
+
}), H = ne(null);
|
|
699
679
|
ee(() => {
|
|
700
680
|
let e = H.current;
|
|
701
681
|
if (!e || !A) return;
|
|
@@ -713,7 +693,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
713
693
|
C,
|
|
714
694
|
A
|
|
715
695
|
]);
|
|
716
|
-
let U = (t) =>
|
|
696
|
+
let U = (t) => y ? y(t) : /* @__PURE__ */ B(e, { content: t }), W = (e) => {
|
|
717
697
|
let n = `${t.runStatusLabels[e.status]} ${e.timestampLabel}`, i = !!j;
|
|
718
698
|
return /* @__PURE__ */ V("li", {
|
|
719
699
|
...i ? {
|
|
@@ -727,7 +707,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
727
707
|
"aria-label": n,
|
|
728
708
|
className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", i && "cursor-pointer"),
|
|
729
709
|
children: [/* @__PURE__ */ B("span", {
|
|
730
|
-
className: r(
|
|
710
|
+
className: r(te, "truncate"),
|
|
731
711
|
children: e.timestampLabel
|
|
732
712
|
}), /* @__PURE__ */ B("span", {
|
|
733
713
|
className: "flex h-8 w-14 shrink-0 items-center justify-end",
|
|
@@ -737,26 +717,26 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
737
717
|
}, G = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ V("li", {
|
|
738
718
|
"aria-hidden": "true",
|
|
739
719
|
className: "flex h-8 items-center justify-between gap-2 pe-2 ps-5",
|
|
740
|
-
children: [/* @__PURE__ */ B(
|
|
741
|
-
variant:
|
|
720
|
+
children: [/* @__PURE__ */ B(g, {
|
|
721
|
+
variant: _.Rectangular,
|
|
742
722
|
width: "160px",
|
|
743
723
|
height: "16px"
|
|
744
|
-
}), /* @__PURE__ */ B(
|
|
745
|
-
variant:
|
|
724
|
+
}), /* @__PURE__ */ B(g, {
|
|
725
|
+
variant: _.Rectangular,
|
|
746
726
|
width: "16px",
|
|
747
727
|
height: "16px",
|
|
748
728
|
className: "shrink-0 rounded-full"
|
|
749
729
|
})]
|
|
750
730
|
}, `history-skeleton-${t}`));
|
|
751
731
|
return /* @__PURE__ */ V("div", {
|
|
752
|
-
style:
|
|
732
|
+
style: z,
|
|
753
733
|
className: r("flex h-full w-full flex-col overflow-y-auto", $.container),
|
|
754
734
|
children: [
|
|
755
735
|
/* @__PURE__ */ V("div", {
|
|
756
736
|
className: r("flex h-16 shrink-0 items-center gap-2 border-b px-8", $.header),
|
|
757
|
-
children: [/* @__PURE__ */ B(
|
|
758
|
-
icon: /* @__PURE__ */ B(
|
|
759
|
-
size:
|
|
737
|
+
children: [/* @__PURE__ */ B(x, {
|
|
738
|
+
icon: /* @__PURE__ */ B(O, {
|
|
739
|
+
size: p.LG,
|
|
760
740
|
className: "rtl:scale-x-[-1]",
|
|
761
741
|
"aria-hidden": !0
|
|
762
742
|
}),
|
|
@@ -769,14 +749,14 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
769
749
|
}),
|
|
770
750
|
o && /* @__PURE__ */ B("div", {
|
|
771
751
|
className: "flex flex-1 items-center justify-center",
|
|
772
|
-
children: /* @__PURE__ */ B(
|
|
752
|
+
children: /* @__PURE__ */ B(v, {})
|
|
773
753
|
}),
|
|
774
754
|
!o && s && /* @__PURE__ */ V("div", {
|
|
775
755
|
className: "flex flex-1 flex-col items-center justify-center gap-3",
|
|
776
756
|
children: [/* @__PURE__ */ B("p", {
|
|
777
757
|
className: r(R, $.subtitleText),
|
|
778
758
|
children: t.errorLabel
|
|
779
|
-
}), /* @__PURE__ */ B(
|
|
759
|
+
}), /* @__PURE__ */ B(b, {
|
|
780
760
|
label: t.retryLabel,
|
|
781
761
|
onClick: c
|
|
782
762
|
})]
|
|
@@ -803,34 +783,34 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
803
783
|
children: l
|
|
804
784
|
})]
|
|
805
785
|
}),
|
|
806
|
-
|
|
786
|
+
u && /* @__PURE__ */ V("div", {
|
|
807
787
|
className: "flex flex-col gap-1",
|
|
808
788
|
children: [/* @__PURE__ */ B("span", {
|
|
809
789
|
className: L,
|
|
810
790
|
children: t.modelLabel
|
|
811
791
|
}), /* @__PURE__ */ B("p", {
|
|
812
792
|
className: R,
|
|
813
|
-
children:
|
|
793
|
+
children: u
|
|
814
794
|
})]
|
|
815
795
|
}),
|
|
816
|
-
|
|
796
|
+
d && /* @__PURE__ */ V("div", {
|
|
817
797
|
className: "flex flex-col gap-1",
|
|
818
798
|
children: [/* @__PURE__ */ B("span", {
|
|
819
799
|
className: L,
|
|
820
800
|
children: t.repeatsLabel
|
|
821
801
|
}), /* @__PURE__ */ B("p", {
|
|
822
802
|
className: R,
|
|
823
|
-
children:
|
|
803
|
+
children: d
|
|
824
804
|
})]
|
|
825
805
|
}),
|
|
826
|
-
|
|
806
|
+
f && /* @__PURE__ */ V("div", {
|
|
827
807
|
className: "flex flex-col gap-1",
|
|
828
808
|
children: [/* @__PURE__ */ B("span", {
|
|
829
809
|
className: L,
|
|
830
810
|
children: t.activeWindowLabel
|
|
831
811
|
}), /* @__PURE__ */ B("p", {
|
|
832
812
|
className: R,
|
|
833
|
-
children:
|
|
813
|
+
children: f
|
|
834
814
|
})]
|
|
835
815
|
})
|
|
836
816
|
]
|
|
@@ -847,7 +827,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
847
827
|
children: [/* @__PURE__ */ B("span", {
|
|
848
828
|
className: L,
|
|
849
829
|
children: t.instructionsLabel
|
|
850
|
-
}),
|
|
830
|
+
}), h && U(h)]
|
|
851
831
|
})]
|
|
852
832
|
}),
|
|
853
833
|
/* @__PURE__ */ B("div", {
|
|
@@ -859,9 +839,9 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
859
839
|
className: I,
|
|
860
840
|
children: t.historyTitle
|
|
861
841
|
}),
|
|
862
|
-
|
|
863
|
-
className: r(
|
|
864
|
-
children:
|
|
842
|
+
m && /* @__PURE__ */ B("p", {
|
|
843
|
+
className: r(te, $.subtitleText),
|
|
844
|
+
children: m
|
|
865
845
|
}),
|
|
866
846
|
t.historyLoadingMoreLabel && /* @__PURE__ */ B("span", {
|
|
867
847
|
role: "status",
|
|
@@ -871,15 +851,15 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
871
851
|
}),
|
|
872
852
|
C && S.length === 0 ? /* @__PURE__ */ B("ul", {
|
|
873
853
|
"aria-label": t.historyTitle,
|
|
874
|
-
children: G(
|
|
875
|
-
}) :
|
|
854
|
+
children: G(T)
|
|
855
|
+
}) : E ? /* @__PURE__ */ V("div", {
|
|
876
856
|
className: "flex flex-col items-start gap-3",
|
|
877
857
|
children: [/* @__PURE__ */ B("p", {
|
|
878
858
|
className: r(R, $.subtitleText),
|
|
879
859
|
children: t.historyErrorLabel
|
|
880
|
-
}), /* @__PURE__ */ B(
|
|
860
|
+
}), /* @__PURE__ */ B(b, {
|
|
881
861
|
label: t.historyRetryLabel,
|
|
882
|
-
onClick:
|
|
862
|
+
onClick: D
|
|
883
863
|
})]
|
|
884
864
|
}) : S.length === 0 ? /* @__PURE__ */ B("p", {
|
|
885
865
|
className: r(R, $.subtitleText),
|
|
@@ -888,7 +868,7 @@ var H = /* @__PURE__ */ function(e) {
|
|
|
888
868
|
"aria-label": t.historyTitle,
|
|
889
869
|
children: [
|
|
890
870
|
S.map(W),
|
|
891
|
-
w && G(
|
|
871
|
+
w && G(T),
|
|
892
872
|
/* @__PURE__ */ B("li", {
|
|
893
873
|
ref: H,
|
|
894
874
|
"aria-hidden": !0,
|
|
@@ -19,13 +19,13 @@ export interface ScheduledTaskCardLabels {
|
|
|
19
19
|
export interface ScheduledTaskCardColors {
|
|
20
20
|
/** Card title text color. Fallback: `--text-primary`. */
|
|
21
21
|
titleText?: string;
|
|
22
|
-
/** Description/prompt-preview text color. Fallback: `--text-control-disable`. */
|
|
22
|
+
/** Description/prompt-preview text color. Fallback: `--text-control-disable-beta`. */
|
|
23
23
|
descriptionText?: string;
|
|
24
24
|
/** Schedule pill background. Fallback: `--bg-layer-sunken`. */
|
|
25
25
|
schedulePillBackground?: string;
|
|
26
26
|
/** Schedule pill border color. Fallback: `--stroke-tertiary`. */
|
|
27
27
|
schedulePillBorder?: string;
|
|
28
|
-
/** Schedule pill label text color. Fallback: `--text-control-disable`. */
|
|
28
|
+
/** Schedule pill label text color. Fallback: `--text-control-disable-beta`. */
|
|
29
29
|
scheduleLabelText?: string;
|
|
30
30
|
/** Non-leaf location breadcrumb segment text color. Fallback: `--text-secondary`. */
|
|
31
31
|
locationLabelText?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-card-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,mGAAmG;AACnG,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0GAA0G;IAC1G,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"scheduled-task-card-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-card-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,mGAAmG;AACnG,MAAM,WAAW,uBAAuB;IACtC,oFAAoF;IACpF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2FAA2F;IAC3F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oGAAoG;IACpG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4GAA4G;IAC5G,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0GAA0G;IAC1G,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sFAAsF;IACtF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+DAA+D;IAC/D,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,iEAAiE;IACjE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+EAA+E;IAC/E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qFAAqF;IACrF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,wEAAwE;AACxE,MAAM,WAAW,2BAA2B;IAC1C,kFAAkF;IAClF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,kGAAkG;IAClG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,6GAA6G;IAC7G,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,sFAAsF;IACtF,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,mEAAmE;AACnE,MAAM,WAAW,uBAAuB;IACtC,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,kCAAkC;IAClC,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED,yDAAyD;AACzD,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,IAAI,EAAE,iBAAiB,CAAC;IACxB,0FAA0F;IAC1F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uFAAuF;IACvF,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,0FAA0F;IAC1F,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,yFAAyF;IACzF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,qKAAqK;IACrK,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,wBAAwB;IACxB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,uBAAuB;IACvB,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,qDAAqD;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,13 +1,7 @@
|
|
|
1
|
+
import { DropdownItem } from '@epam/ai-dial-ui-kit';
|
|
1
2
|
import { ScheduledTasksSortKey } from '../types/scheduled-tasks-sort-key';
|
|
2
3
|
import { ScheduledTaskCardGridLabels } from './scheduled-task-card-grid-props';
|
|
3
4
|
import { ScheduledTaskItem } from './scheduled-task-item';
|
|
4
|
-
/** A single sort option shown in the Scheduled Tasks toolbar sort control. */
|
|
5
|
-
export interface ScheduledTasksSortOption {
|
|
6
|
-
/** Stable identifier for this sort option, passed back via `onSortChange`. */
|
|
7
|
-
key: ScheduledTasksSortKey;
|
|
8
|
-
/** Localized display label for this sort option. */
|
|
9
|
-
label: string;
|
|
10
|
-
}
|
|
11
5
|
/** Localized labels used by the {@link ScheduledTasks} component. */
|
|
12
6
|
export interface ScheduledTasksLabels {
|
|
13
7
|
/** Page title, e.g. "Scheduled tasks". */
|
|
@@ -25,7 +19,7 @@ export interface ScheduledTasksLabels {
|
|
|
25
19
|
/** Accessible label for the toolbar sort control. */
|
|
26
20
|
sortLabel: string;
|
|
27
21
|
/** Options rendered in the sort control's dropdown. */
|
|
28
|
-
sortOptions:
|
|
22
|
+
sortOptions: DropdownItem[];
|
|
29
23
|
/** Message shown when the fetched task list is empty. */
|
|
30
24
|
emptyStateLabel: string;
|
|
31
25
|
/** Message shown when `searchQuery` filters every task out. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-tasks-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-tasks-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,
|
|
1
|
+
{"version":3,"file":"scheduled-tasks-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-tasks-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,qEAAqE;AACrE,MAAM,WAAW,oBAAoB;IACnC,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qDAAqD;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,oEAAoE;IACpE,gBAAgB,EAAE,MAAM,CAAC;IACzB,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;IAClB,uDAAuD;IACvD,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,yDAAyD;IACzD,eAAe,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,UAAU,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,kBAAkB,EAAE,MAAM,CAAC;IAC3B,yIAAyI;IACzI,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kEAAkE;IAClE,UAAU,CAAC,EAAE,2BAA2B,CAAC;CAC1C;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qGAAqG;IACrG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,6FAA6F;IAC7F,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qEAAqE;AACrE,MAAM,WAAW,wBAAwB;IACvC,oEAAoE;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sHAAsH;IACtH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,gEAAgE;AAChE,MAAM,WAAW,oBAAoB;IACnC,wDAAwD;IACxD,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,kCAAkC;IAClC,UAAU,CAAC,EAAE,wBAAwB,CAAC;IACtC,2DAA2D;IAC3D,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,sDAAsD;AACtD,MAAM,WAAW,mBAAmB;IAClC,wBAAwB;IACxB,MAAM,EAAE,oBAAoB,CAAC;IAC7B,uEAAuE;IACvE,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,iDAAiD;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,0DAA0D;IAC1D,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,iDAAiD;IACjD,OAAO,EAAE,qBAAqB,CAAC;IAC/B,4DAA4D;IAC5D,YAAY,EAAE,CAAC,GAAG,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACnD,iIAAiI;IACjI,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B,uGAAuG;IACvG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+FAA+F;IAC/F,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;IACrB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,4GAA4G;IAC5G,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wIAAwI;IACxI,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,0FAA0F;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8GAA8G;IAC9G,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,6GAA6G;IAC7G,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B,gHAAgH;IAChH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,kIAAkI;IAClI,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,uBAAuB;IACvB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B"}
|
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.121",
|
|
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.121",
|
|
21
|
+
"@epam/ai-dial-kit": "1.1.0-dev.121",
|
|
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"
|