@epam/ai-dial-scheduled-tasks 1.1.0-dev.159 → 1.1.0-dev.162
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 +2 -2
- package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +0 -3
- package/index.d.ts.map +1 -1
- package/index.js +246 -286
- package/models/scheduled-task-item.d.ts +0 -9
- package/models/scheduled-task-item.d.ts.map +1 -1
- package/models/scheduled-tasks-props.d.ts +1 -3
- package/models/scheduled-tasks-props.d.ts.map +1 -1
- package/package.json +4 -4
- package/components/ScheduledTaskSection/ScheduledTaskSection.d.ts +0 -5
- package/components/ScheduledTaskSection/ScheduledTaskSection.d.ts.map +0 -1
- package/models/scheduled-task-section-props.d.ts +0 -37
- package/models/scheduled-task-section-props.d.ts.map +0 -1
|
@@ -3,8 +3,8 @@ import { ScheduledTasksProps } from '../../models/scheduled-tasks-props';
|
|
|
3
3
|
/**
|
|
4
4
|
* Scheduled Tasks page shell: header with title/subtitle/create action, a
|
|
5
5
|
* search + sort toolbar, and a content region that shows a loading spinner,
|
|
6
|
-
* an error with retry, the empty state, a no-results state, or a
|
|
7
|
-
*
|
|
6
|
+
* an error with retry, the empty state, a no-results state, or a flat card
|
|
7
|
+
* grid, depending on `isLoading`/`error`/`items`.
|
|
8
8
|
*/
|
|
9
9
|
export declare const ScheduledTasks: FC<ScheduledTasksProps>;
|
|
10
10
|
//# sourceMappingURL=ScheduledTasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAwCzE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAgNlD,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
._title_xe5uf_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_xe5uf_5{color:var(--stc-desc-text,var(--text-control-disable-beta,#848e9c))}._schedulePill_xe5uf_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_xe5uf_14{color:var(--stc-schedule-label-text,var(--text-control-disable-beta,#848e9c))}._locationLabel_xe5uf_18{color:var(--stc-location-label-text,var(--text-secondary,#57647a))}._locationLeaf_xe5uf_22{color:var(--stc-location-leaf-text,var(--text-secondary,#57647a))}._newBadge_xe5uf_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#124ace));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._pausedPill_xe5uf_31{background:var(--stc-paused-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-paused-border,var(--stroke-tertiary,#e0e6f0))}._pausedLabel_xe5uf_36{color:var(--stc-paused-text,var(--text-control-disable-beta,#848e9c))}._locationDivider_xe5uf_40{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._card_1a43j_1{--stcs-skeleton-bg:var(--bg-layer-4,#d1dbea)}.
|
|
1
|
+
._title_xe5uf_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_xe5uf_5{color:var(--stc-desc-text,var(--text-control-disable-beta,#848e9c))}._schedulePill_xe5uf_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_xe5uf_14{color:var(--stc-schedule-label-text,var(--text-control-disable-beta,#848e9c))}._locationLabel_xe5uf_18{color:var(--stc-location-label-text,var(--text-secondary,#57647a))}._locationLeaf_xe5uf_22{color:var(--stc-location-leaf-text,var(--text-secondary,#57647a))}._newBadge_xe5uf_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#124ace));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._pausedPill_xe5uf_31{background:var(--stc-paused-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-paused-border,var(--stroke-tertiary,#e0e6f0))}._pausedLabel_xe5uf_36{color:var(--stc-paused-text,var(--text-control-disable-beta,#848e9c))}._locationDivider_xe5uf_40{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._card_1a43j_1{--stcs-skeleton-bg:var(--bg-layer-4,#d1dbea)}._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))}._detailsColumn_1mg3v_1{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_1mg3v_5{color:var(--stcf-subtitle-text,var(--text-secondary,#57647a))}._instructionsError_1mg3v_9{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}._subtitleText_8bk8k_1{color:var(--strhl-subtitle-text,var(--text-secondary,#57647a))}._successIcon_8bk8k_5{color:var(--strhl-success-icon,var(--text-success,#007274))}._errorIcon_8bk8k_9{color:var(--strhl-error-icon,var(--text-error,#ae2f2f))}._missedIcon_8bk8k_13{color:var(--strhl-missed-icon,var(--text-secondary,#57647a))}._currentRun_8bk8k_17{background:var(--strhl-current-run-bg,var(--bg-accent-primary-alpha,#7da4ff2e))}._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
|
@@ -2,14 +2,11 @@ export { ScheduledTasks } from './components/ScheduledTasks/ScheduledTasks';
|
|
|
2
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
|
-
export { ScheduledTaskSection } from './components/ScheduledTaskSection/ScheduledTaskSection';
|
|
6
|
-
export type { ScheduledTaskSectionProps, ScheduledTaskSectionStyles, ScheduledTaskSectionColors, ScheduledTaskSectionTypography, } from './models/scheduled-task-section-props';
|
|
7
5
|
export { ScheduledTaskCardGrid } from './components/ScheduledTaskCardGrid/ScheduledTaskCardGrid';
|
|
8
6
|
export type { ScheduledTaskCardGridProps, ScheduledTaskCardGridLabels, } from './models/scheduled-task-card-grid-props';
|
|
9
7
|
export { ScheduledTaskCardSkeleton } from './components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton';
|
|
10
8
|
export type { ScheduledTaskCardSkeletonProps, ScheduledTaskCardSkeletonStyles, ScheduledTaskCardSkeletonColors, } from './models/scheduled-task-card-skeleton-props';
|
|
11
9
|
export type { ScheduledTaskItem } from './models/scheduled-task-item';
|
|
12
|
-
export { ScheduledTaskSectionKey } from './models/scheduled-task-item';
|
|
13
10
|
export { ScheduledTasksSortKey } from './types/scheduled-tasks-sort-key';
|
|
14
11
|
export { ScheduledTaskCreateForm } from './components/ScheduledTaskCreateForm/ScheduledTaskCreateForm';
|
|
15
12
|
export type { ScheduledTaskCreateFormProps, ScheduledTaskCreateFormLabels, ScheduledTaskCreateFormValues, ScheduledTaskCreateFormErrors, ScheduledTaskCreateFormStyles, ScheduledTaskCreateFormColors, ScheduledTaskCreateFormTypography, ScheduledTaskCreateFormModelOption, ScheduledTaskRepeatOption, } from './models/scheduled-task-create-form-props';
|
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,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,
|
|
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,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,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,yBAAyB,GAC1B,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,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;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,sEAAsE,CAAC;AACnH,YAAY,EACV,gCAAgC,EAChC,iCAAiC,EACjC,iCAAiC,EACjC,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,sEAAsE,CAAC;AACnH,YAAY,EACV,gCAAgC,EAChC,iCAAiC,EACjC,qCAAqC,GACtC,MAAM,+CAA+C,CAAC"}
|
package/index.js
CHANGED
|
@@ -2,13 +2,10 @@ import { MDMessageViewer as e, PanelEmptyState as t, buildCssVars as n, mergeCla
|
|
|
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, DialSwitch as f, FolderPath as p, GhostButton as m, GhostIconButton as h, Highlight as g, Input as _, LazyMarkdownEditor as v, NeutralButton as y, NumberInput 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
4
|
import { IconAlertTriangle as D, IconArrowLeft as O, IconCalendarTime as ee, IconCircleCheck as k, IconCircleX as A, IconPencilMinus as j, IconPlayerPause as M, IconPlus as te } from "@tabler/icons-react";
|
|
5
|
-
import { Suspense as N, lazy as P, useEffect as ne,
|
|
6
|
-
import { Fragment as
|
|
7
|
-
import { BuilderFormContainer as
|
|
8
|
-
|
|
9
|
-
var B = /* @__PURE__ */ function(e) {
|
|
10
|
-
return e.Shared = "shared", e.MyTasks = "myTasks", e;
|
|
11
|
-
}({}), V = {
|
|
5
|
+
import { Suspense as N, lazy as P, useEffect as ne, useRef as re } from "react";
|
|
6
|
+
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
7
|
+
import { BuilderFormContainer as R } from "@epam/ai-dial-builder-form";
|
|
8
|
+
var z = {
|
|
12
9
|
title: "_title_xe5uf_1",
|
|
13
10
|
description: "_description_xe5uf_5",
|
|
14
11
|
schedulePill: "_schedulePill_xe5uf_9",
|
|
@@ -19,7 +16,7 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
19
16
|
pausedPill: "_pausedPill_xe5uf_31",
|
|
20
17
|
pausedLabel: "_pausedLabel_xe5uf_36",
|
|
21
18
|
locationDivider: "_locationDivider_xe5uf_40"
|
|
22
|
-
},
|
|
19
|
+
}, B = ({ item: e, searchQuery: t = "", onCardClick: i, labels: a, styles: o, className: s }) => {
|
|
23
20
|
let c = a?.newBadgeLabel ?? "NEW", l = a?.pausedBadgeLabel ?? "Paused", { colors: f, typography: m } = o ?? {}, h = m?.titleClassName ?? "dial-body-semi-text", _ = m?.descriptionClassName ?? "dial-small-text", v = m?.scheduleLabelClassName ?? "dial-tiny-text", y = m?.locationLabelClassName ?? "dial-tiny-text", b = m?.locationLeafClassName ?? "dial-tiny-semi-text", x = m?.newBadgeClassName ?? "dial-tiny-semi-text", S = m?.pausedBadgeClassName ?? "dial-tiny-text", C = n({
|
|
24
21
|
"--stc-title-text": f?.titleText,
|
|
25
22
|
"--stc-desc-text": f?.descriptionText,
|
|
@@ -41,141 +38,114 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
41
38
|
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), i(e.id));
|
|
42
39
|
}
|
|
43
40
|
} : {};
|
|
44
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ L(u, {
|
|
45
42
|
role: i ? "button" : "group",
|
|
46
43
|
"aria-label": e.displayName,
|
|
47
44
|
style: C,
|
|
48
45
|
className: r("h-[232px]", i && "cursor-pointer", s),
|
|
49
46
|
...w,
|
|
50
47
|
children: [
|
|
51
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ L("div", {
|
|
52
49
|
className: "flex min-w-0 shrink-0 items-center gap-2",
|
|
53
|
-
children: [/* @__PURE__ */
|
|
50
|
+
children: [/* @__PURE__ */ I(g, {
|
|
54
51
|
text: e.displayName,
|
|
55
52
|
query: t,
|
|
56
53
|
maxLines: 1,
|
|
57
|
-
className: r(h,
|
|
58
|
-
}), e.isNew && /* @__PURE__ */
|
|
59
|
-
className: r("shrink-0 rounded-full px-2 py-0.5", x,
|
|
54
|
+
className: r(h, z.title)
|
|
55
|
+
}), e.isNew && /* @__PURE__ */ I("span", {
|
|
56
|
+
className: r("shrink-0 rounded-full px-2 py-0.5", x, z.newBadge),
|
|
60
57
|
children: c
|
|
61
58
|
})]
|
|
62
59
|
}),
|
|
63
|
-
e.descriptionPreview && /* @__PURE__ */
|
|
64
|
-
className: r("line-clamp-4 min-h-0 flex-1 overflow-hidden !leading-[22px]", _,
|
|
60
|
+
e.descriptionPreview && /* @__PURE__ */ I("p", {
|
|
61
|
+
className: r("line-clamp-4 min-h-0 flex-1 overflow-hidden !leading-[22px]", _, z.description),
|
|
65
62
|
children: e.descriptionPreview
|
|
66
63
|
}),
|
|
67
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ L("div", {
|
|
68
65
|
className: "mt-auto flex shrink-0 flex-col gap-3",
|
|
69
|
-
children: [/* @__PURE__ */
|
|
66
|
+
children: [/* @__PURE__ */ I("div", {
|
|
70
67
|
className: "flex min-h-[28px] items-center",
|
|
71
|
-
children: e.isActive === !1 ? /* @__PURE__ */
|
|
72
|
-
className: r("inline-flex items-center gap-1.5 rounded-full border px-2 py-1",
|
|
73
|
-
children: [/* @__PURE__ */
|
|
68
|
+
children: e.isActive === !1 ? /* @__PURE__ */ L("span", {
|
|
69
|
+
className: r("inline-flex items-center gap-1.5 rounded-full border px-2 py-1", z.pausedPill, S, z.pausedLabel),
|
|
70
|
+
children: [/* @__PURE__ */ I(M, {
|
|
74
71
|
size: d.SM,
|
|
75
72
|
"aria-hidden": !0
|
|
76
73
|
}), l]
|
|
77
|
-
}) : /* @__PURE__ */
|
|
78
|
-
className: r("inline-block rounded-lg border px-2 py-1",
|
|
74
|
+
}) : /* @__PURE__ */ I("span", {
|
|
75
|
+
className: r("inline-block rounded-lg border px-2 py-1", z.schedulePill, v, z.scheduleLabel),
|
|
79
76
|
children: e.scheduleLabel
|
|
80
77
|
})
|
|
81
|
-
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */
|
|
78
|
+
}), e.locationSegments && e.locationSegments.length > 0 && /* @__PURE__ */ I(p, {
|
|
82
79
|
segments: e.locationSegments,
|
|
83
|
-
labelClassName: r(y,
|
|
84
|
-
leafClassName: r(b,
|
|
85
|
-
className: r("pt-3",
|
|
80
|
+
labelClassName: r(y, z.locationLabel),
|
|
81
|
+
leafClassName: r(b, z.locationLeaf),
|
|
82
|
+
className: r("pt-3", z.locationDivider)
|
|
86
83
|
})]
|
|
87
84
|
})
|
|
88
85
|
]
|
|
89
86
|
});
|
|
90
|
-
},
|
|
87
|
+
}, V = { card: "_card_1a43j_1" }, H = [
|
|
91
88
|
"100%",
|
|
92
89
|
"100%",
|
|
93
90
|
"61%"
|
|
94
|
-
],
|
|
91
|
+
], U = "var(--stcs-skeleton-bg)", W = ({ styles: e }) => /* @__PURE__ */ L(u, {
|
|
95
92
|
"aria-hidden": !0,
|
|
96
93
|
style: n({ "--stcs-skeleton-bg": e?.colors?.skeletonColor }),
|
|
97
|
-
className: r("h-[232px]",
|
|
94
|
+
className: r("h-[232px]", V.card),
|
|
98
95
|
children: [
|
|
99
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ I(C, {
|
|
100
97
|
variant: w.Rectangular,
|
|
101
98
|
width: "60%",
|
|
102
99
|
height: "20px",
|
|
103
|
-
color:
|
|
100
|
+
color: U,
|
|
104
101
|
className: "shrink-0"
|
|
105
102
|
}),
|
|
106
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ I("div", {
|
|
107
104
|
className: "flex min-h-0 flex-1 flex-col gap-3 overflow-hidden",
|
|
108
|
-
children:
|
|
105
|
+
children: H.map((e, t) => /* @__PURE__ */ I(C, {
|
|
109
106
|
variant: w.Rectangular,
|
|
110
107
|
width: e,
|
|
111
108
|
height: "16px",
|
|
112
|
-
color:
|
|
109
|
+
color: U
|
|
113
110
|
}, t))
|
|
114
111
|
}),
|
|
115
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ I(C, {
|
|
116
113
|
variant: w.Rectangular,
|
|
117
114
|
width: "110px",
|
|
118
115
|
height: "28px",
|
|
119
|
-
color:
|
|
116
|
+
color: U,
|
|
120
117
|
className: "shrink-0 rounded-lg"
|
|
121
118
|
})
|
|
122
119
|
]
|
|
123
|
-
}),
|
|
120
|
+
}), G = ({ items: e, searchQuery: t, onCardClick: n, labels: r, cardStyles: i, trailingSkeletonCount: a = 0, skeletonStyles: o }) => /* @__PURE__ */ L("div", {
|
|
124
121
|
className: "grid grid-cols-1 gap-5 desktop:grid-cols-3",
|
|
125
|
-
children: [e.map((e) => /* @__PURE__ */
|
|
122
|
+
children: [e.map((e) => /* @__PURE__ */ I(B, {
|
|
126
123
|
item: e,
|
|
127
124
|
searchQuery: t,
|
|
128
125
|
onCardClick: n,
|
|
129
126
|
labels: r,
|
|
130
127
|
styles: i
|
|
131
|
-
}, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */
|
|
132
|
-
}),
|
|
133
|
-
let o = a?.typography?.titleClassName ?? "dial-small-semi-text", s = a?.typography?.countBadgeClassName ?? "dial-tiny-text", c = n({
|
|
134
|
-
"--sts-badge-bg": a?.colors?.countBadgeBackground,
|
|
135
|
-
"--sts-badge-text": a?.colors?.countBadgeText
|
|
136
|
-
});
|
|
137
|
-
return /* @__PURE__ */ R("section", {
|
|
138
|
-
...e ? { "aria-label": e } : {},
|
|
139
|
-
style: c,
|
|
140
|
-
className: "flex flex-col gap-3",
|
|
141
|
-
children: [e && /* @__PURE__ */ R("div", {
|
|
142
|
-
className: "flex items-center gap-2 rtl:flex-row-reverse",
|
|
143
|
-
children: [/* @__PURE__ */ L("h2", {
|
|
144
|
-
className: o,
|
|
145
|
-
children: e
|
|
146
|
-
}), /* @__PURE__ */ L("span", {
|
|
147
|
-
className: r("rounded-full px-2 py-0.5", s, oe.countBadge),
|
|
148
|
-
children: t
|
|
149
|
-
})]
|
|
150
|
-
}), i]
|
|
151
|
-
});
|
|
152
|
-
}, K = {
|
|
128
|
+
}, e.id)), Array.from({ length: a }, (e, t) => /* @__PURE__ */ I(W, { styles: o }, `skeleton-${t}`))]
|
|
129
|
+
}), K = {
|
|
153
130
|
container: "_container_r5sk9_1",
|
|
154
131
|
subtitle: "_subtitle_r5sk9_5",
|
|
155
132
|
sortButton: "_sortButton_r5sk9_9"
|
|
156
|
-
},
|
|
133
|
+
}, ie = (e, t, n, r, i, a) => {
|
|
157
134
|
if (!e) return t ? a.loadingMoreLabel : n ? a.errorLabel : r > 0 ? `${r}` : i ? a.noResultsLabel : a.emptyStateLabel;
|
|
158
|
-
},
|
|
135
|
+
}, ae = (e) => {
|
|
159
136
|
if (!e || e === document.body) return null;
|
|
160
137
|
let { overflow: t, overflowY: n } = getComputedStyle(e);
|
|
161
|
-
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e :
|
|
162
|
-
},
|
|
138
|
+
return t === "auto" || t === "scroll" || n === "auto" || n === "scroll" ? e : ae(e.parentElement);
|
|
139
|
+
}, oe = ({ 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, onCardClick: w, styles: E }) => {
|
|
163
140
|
let { colors: D, typography: O, emptyStateIconSize: k = 48 } = E ?? {}, A = O?.titleClassName ?? "dial-h1-text", j = O?.subtitleClassName ?? "dial-body-text", M = n({
|
|
164
141
|
"--st-bg": D?.background,
|
|
165
142
|
"--st-subtitle-text": D?.subtitleText,
|
|
166
143
|
"--st-sort-text": D?.sortButtonText
|
|
167
|
-
}), N = e.sortOptions.find((e) => e.key === f)?.label ?? "", P =
|
|
168
|
-
let t = { [B.Shared]: e.sharedSectionTitle };
|
|
169
|
-
return ce.map((e) => ({
|
|
170
|
-
key: e,
|
|
171
|
-
title: t[e],
|
|
172
|
-
items: h.filter((t) => t.sectionKey === e)
|
|
173
|
-
})).filter((e) => e.items.length > 0);
|
|
174
|
-
}, [h, e.sharedSectionTitle]), I = le(g, b, !!_, h.length, l.trim().length > 0, e), z = F(null);
|
|
144
|
+
}), N = e.sortOptions.find((e) => e.key === f)?.label ?? "", P = ie(g, b, !!_, h.length, l.trim().length > 0, e), F = re(null);
|
|
175
145
|
ne(() => {
|
|
176
|
-
let e =
|
|
146
|
+
let e = F.current;
|
|
177
147
|
if (!e || !C) return;
|
|
178
|
-
let t =
|
|
148
|
+
let t = ae(e.parentElement);
|
|
179
149
|
if (!t) return;
|
|
180
150
|
let n = () => {
|
|
181
151
|
if (b || g || !y) return;
|
|
@@ -189,68 +159,58 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
189
159
|
g,
|
|
190
160
|
C
|
|
191
161
|
]);
|
|
192
|
-
let
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
className: "flex flex-col items-center gap-3",
|
|
196
|
-
children: [/* @__PURE__ */ L("p", {
|
|
197
|
-
className: r(j, K.subtitle),
|
|
198
|
-
children: e.errorLabel
|
|
199
|
-
}), /* @__PURE__ */ L(m, {
|
|
200
|
-
label: e.retryLabel,
|
|
201
|
-
onClick: v
|
|
202
|
-
})]
|
|
203
|
-
});
|
|
204
|
-
if (h.length === 0) return l.trim() ? /* @__PURE__ */ L("p", {
|
|
162
|
+
let R = () => g ? /* @__PURE__ */ I(T, {}) : _ ? /* @__PURE__ */ L("div", {
|
|
163
|
+
className: "flex flex-col items-center gap-3",
|
|
164
|
+
children: [/* @__PURE__ */ I("p", {
|
|
205
165
|
className: r(j, K.subtitle),
|
|
206
|
-
children: e.
|
|
207
|
-
})
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
})
|
|
235
|
-
},
|
|
236
|
-
return /* @__PURE__ */
|
|
166
|
+
children: e.errorLabel
|
|
167
|
+
}), /* @__PURE__ */ I(m, {
|
|
168
|
+
label: e.retryLabel,
|
|
169
|
+
onClick: v
|
|
170
|
+
})]
|
|
171
|
+
}) : h.length === 0 ? l.trim() ? /* @__PURE__ */ I("p", {
|
|
172
|
+
className: r(j, K.subtitle),
|
|
173
|
+
children: e.noResultsLabel
|
|
174
|
+
}) : /* @__PURE__ */ I(t, {
|
|
175
|
+
icon: /* @__PURE__ */ I(ee, {
|
|
176
|
+
"aria-hidden": !0,
|
|
177
|
+
size: k,
|
|
178
|
+
stroke: 1
|
|
179
|
+
}),
|
|
180
|
+
label: e.emptyStateLabel
|
|
181
|
+
}) : /* @__PURE__ */ L("div", {
|
|
182
|
+
className: "flex w-full flex-col gap-6",
|
|
183
|
+
children: [/* @__PURE__ */ I(G, {
|
|
184
|
+
items: h,
|
|
185
|
+
searchQuery: l,
|
|
186
|
+
onCardClick: w,
|
|
187
|
+
labels: e.cardLabels,
|
|
188
|
+
trailingSkeletonCount: b ? S : 0,
|
|
189
|
+
skeletonStyles: { colors: { skeletonColor: D?.skeletonColor } }
|
|
190
|
+
}), /* @__PURE__ */ I("div", {
|
|
191
|
+
ref: F,
|
|
192
|
+
"aria-hidden": !0,
|
|
193
|
+
className: "h-px w-full"
|
|
194
|
+
})]
|
|
195
|
+
}), z = g || !!_ || h.length === 0;
|
|
196
|
+
return /* @__PURE__ */ L("div", {
|
|
237
197
|
style: M,
|
|
238
198
|
className: r("flex h-full w-full flex-col gap-6 overflow-y-auto px-8 py-4", K.container),
|
|
239
199
|
children: [
|
|
240
|
-
/* @__PURE__ */
|
|
200
|
+
/* @__PURE__ */ L("div", {
|
|
241
201
|
className: "flex items-start justify-between gap-4",
|
|
242
|
-
children: [/* @__PURE__ */
|
|
202
|
+
children: [/* @__PURE__ */ L("div", {
|
|
243
203
|
className: "min-w-0 gap-2",
|
|
244
|
-
children: [/* @__PURE__ */
|
|
204
|
+
children: [/* @__PURE__ */ I("h1", {
|
|
245
205
|
className: r("truncate", A),
|
|
246
206
|
children: e.title
|
|
247
|
-
}), /* @__PURE__ */
|
|
207
|
+
}), /* @__PURE__ */ I("p", {
|
|
248
208
|
className: r("mt-1", j, K.subtitle),
|
|
249
209
|
children: e.subtitle
|
|
250
210
|
})]
|
|
251
|
-
}), /* @__PURE__ */
|
|
211
|
+
}), /* @__PURE__ */ I(x, {
|
|
252
212
|
label: e.createButtonLabel,
|
|
253
|
-
iconBefore: /* @__PURE__ */
|
|
213
|
+
iconBefore: /* @__PURE__ */ I(te, {
|
|
254
214
|
size: d.SM,
|
|
255
215
|
"aria-hidden": !0
|
|
256
216
|
}),
|
|
@@ -258,11 +218,11 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
258
218
|
className: "shrink-0"
|
|
259
219
|
})]
|
|
260
220
|
}),
|
|
261
|
-
/* @__PURE__ */
|
|
221
|
+
/* @__PURE__ */ L("div", {
|
|
262
222
|
className: "flex flex-wrap items-center gap-3",
|
|
263
|
-
children: [/* @__PURE__ */
|
|
223
|
+
children: [/* @__PURE__ */ I("div", {
|
|
264
224
|
className: "flex-1",
|
|
265
|
-
children: /* @__PURE__ */
|
|
225
|
+
children: /* @__PURE__ */ I(i, {
|
|
266
226
|
value: l,
|
|
267
227
|
onChange: u,
|
|
268
228
|
labels: {
|
|
@@ -278,7 +238,7 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
278
238
|
clearButtonClassName: "size-11 desktop:size-auto"
|
|
279
239
|
}
|
|
280
240
|
})
|
|
281
|
-
}), e.sortOptions.length > 0 && /* @__PURE__ */
|
|
241
|
+
}), e.sortOptions.length > 0 && /* @__PURE__ */ I(o, {
|
|
282
242
|
label: N,
|
|
283
243
|
variant: s.Primary,
|
|
284
244
|
appearance: a.Ghost,
|
|
@@ -288,51 +248,51 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
288
248
|
}))
|
|
289
249
|
})]
|
|
290
250
|
}),
|
|
291
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ I("span", {
|
|
292
252
|
role: "status",
|
|
293
253
|
"aria-live": "polite",
|
|
294
254
|
className: "sr-only",
|
|
295
|
-
children:
|
|
255
|
+
children: P
|
|
296
256
|
}),
|
|
297
|
-
/* @__PURE__ */
|
|
298
|
-
className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col",
|
|
299
|
-
children:
|
|
257
|
+
/* @__PURE__ */ I("div", {
|
|
258
|
+
className: r("mx-auto flex size-full w-full max-w-[1180px] flex-col", z && "items-center justify-center"),
|
|
259
|
+
children: R()
|
|
300
260
|
})
|
|
301
261
|
]
|
|
302
262
|
});
|
|
303
|
-
},
|
|
263
|
+
}, se = /* @__PURE__ */ function(e) {
|
|
304
264
|
return e.FirstToRun = "firstToRun", e.LastToRun = "lastToRun", e.Newest = "newest", e.NameAZ = "nameAZ", e;
|
|
305
|
-
}({}),
|
|
265
|
+
}({}), ce = 500, q = /* @__PURE__ */ function(e) {
|
|
306
266
|
return e.OneTime = "oneTime", e.Hourly = "hourly", e.Daily = "daily", e.Weekly = "weekly", e.Monthly = "monthly", e;
|
|
307
|
-
}({}), J = (e) => String(e).padStart(2, "0"),
|
|
267
|
+
}({}), J = (e) => String(e).padStart(2, "0"), le = (e) => e ? new Date(e) : null, ue = (e) => {
|
|
308
268
|
if (e == null) return "";
|
|
309
269
|
let t = e instanceof Date ? e : new Date(e);
|
|
310
270
|
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${J(t.getMonth() + 1)}-${J(t.getDate())}T${J(t.getHours())}:${J(t.getMinutes())}`;
|
|
311
|
-
},
|
|
271
|
+
}, de = (e) => {
|
|
312
272
|
if (!e) return null;
|
|
313
273
|
let [t, n, r] = e.split("-").map(Number);
|
|
314
274
|
return new Date(t, n - 1, r);
|
|
315
|
-
},
|
|
275
|
+
}, fe = (e) => {
|
|
316
276
|
if (e == null) return "";
|
|
317
277
|
let t = e instanceof Date ? e : new Date(e);
|
|
318
278
|
return Number.isNaN(t.getTime()) ? "" : `${t.getFullYear()}-${J(t.getMonth() + 1)}-${J(t.getDate())}`;
|
|
319
|
-
},
|
|
279
|
+
}, pe = (e) => {
|
|
320
280
|
let t = Number(e);
|
|
321
281
|
return e && Number.isFinite(t) ? String(t + 1) : null;
|
|
322
|
-
},
|
|
282
|
+
}, me = (e) => {
|
|
323
283
|
let t = typeof e == "string" ? Number(e) : NaN;
|
|
324
284
|
return Number.isFinite(t) ? String(t - 1) : "";
|
|
325
285
|
}, Y = {
|
|
326
286
|
detailsColumn: "_detailsColumn_1mg3v_1",
|
|
327
287
|
sectionSubtitle: "_sectionSubtitle_1mg3v_5",
|
|
328
288
|
instructionsError: "_instructionsError_1mg3v_9"
|
|
329
|
-
}, X = (e) => `${e} *`,
|
|
289
|
+
}, X = (e) => `${e} *`, he = P(async () => ({ default: (await v()).MarkdownEditor })), ge = ({ labels: e, values: t, errors: i, modelOptions: a, onFieldChange: o, onBack: s, onCancel: u, onSubmit: d, isSubmitting: f = !1, markdownEditorTheme: p, styles: m }) => {
|
|
330
290
|
let { colors: h, typography: g } = m ?? {}, v = g?.titleClassName ?? "dial-h1-text", y = g?.sectionTitleClassName ?? "dial-body-semi-text", x = g?.sectionSubtitleClassName ?? "dial-tiny-text", C = g?.instructionsLabelClassName ?? "dial-body-semi-text mb-1", w = g?.instructionsErrorClassName ?? "dial-small-text", D = n({
|
|
331
291
|
"--stcf-details-border": h?.detailsColumnBorder,
|
|
332
292
|
"--stcf-subtitle-text": h?.sectionSubtitleText,
|
|
333
293
|
"--stcf-error-text": h?.instructionsErrorText
|
|
334
294
|
}), O = f || !t.displayName.trim() || !t.modelId || !t.prompt.trim();
|
|
335
|
-
return /* @__PURE__ */
|
|
295
|
+
return /* @__PURE__ */ I(R, {
|
|
336
296
|
labels: {
|
|
337
297
|
title: e.pageTitle,
|
|
338
298
|
backButtonLabel: e.backButtonLabel,
|
|
@@ -352,22 +312,22 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
352
312
|
},
|
|
353
313
|
cssVars: D
|
|
354
314
|
},
|
|
355
|
-
left: /* @__PURE__ */
|
|
315
|
+
left: /* @__PURE__ */ L("div", {
|
|
356
316
|
role: "group",
|
|
357
317
|
"aria-label": e.detailsSectionTitle,
|
|
358
318
|
className: r("flex flex-1 flex-col gap-5 border-e px-8 py-6", Y.detailsColumn),
|
|
359
319
|
children: [
|
|
360
|
-
/* @__PURE__ */
|
|
320
|
+
/* @__PURE__ */ L("div", {
|
|
361
321
|
className: "flex flex-col gap-1",
|
|
362
|
-
children: [/* @__PURE__ */
|
|
322
|
+
children: [/* @__PURE__ */ I("h2", {
|
|
363
323
|
className: y,
|
|
364
324
|
children: e.detailsSectionTitle
|
|
365
|
-
}), /* @__PURE__ */
|
|
325
|
+
}), /* @__PURE__ */ I("p", {
|
|
366
326
|
className: r(x, Y.sectionSubtitle),
|
|
367
327
|
children: e.detailsSectionSubtitle
|
|
368
328
|
})]
|
|
369
329
|
}),
|
|
370
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ I(_, {
|
|
371
331
|
id: "scheduled-task-display-name",
|
|
372
332
|
value: t.displayName,
|
|
373
333
|
onChange: (e) => o("displayName", e ?? ""),
|
|
@@ -378,7 +338,7 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
378
338
|
invalid: !!i.displayName,
|
|
379
339
|
error: i.displayName
|
|
380
340
|
}),
|
|
381
|
-
/* @__PURE__ */
|
|
341
|
+
/* @__PURE__ */ I(E, {
|
|
382
342
|
id: "scheduled-task-description",
|
|
383
343
|
value: t.description ?? "",
|
|
384
344
|
onChange: (e) => o("description", e),
|
|
@@ -388,7 +348,7 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
388
348
|
error: i.description,
|
|
389
349
|
caption: t.description ? `${t.description.length}/500` : void 0
|
|
390
350
|
}),
|
|
391
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ I(S, {
|
|
392
352
|
labelProps: {
|
|
393
353
|
label: e.modelOrAgentLabel,
|
|
394
354
|
required: !0
|
|
@@ -402,10 +362,10 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
402
362
|
label: e.label
|
|
403
363
|
}))
|
|
404
364
|
}),
|
|
405
|
-
/* @__PURE__ */
|
|
365
|
+
/* @__PURE__ */ L("div", {
|
|
406
366
|
className: "flex flex-col gap-3",
|
|
407
367
|
children: [
|
|
408
|
-
/* @__PURE__ */
|
|
368
|
+
/* @__PURE__ */ I(S, {
|
|
409
369
|
labelProps: { label: e.repeatLabel },
|
|
410
370
|
value: t.repeat,
|
|
411
371
|
onChange: (e) => o("repeat", e),
|
|
@@ -414,50 +374,50 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
414
374
|
label: e.label
|
|
415
375
|
}))
|
|
416
376
|
}),
|
|
417
|
-
t.repeat === q.OneTime && /* @__PURE__ */
|
|
377
|
+
t.repeat === q.OneTime && /* @__PURE__ */ L("div", {
|
|
418
378
|
className: "flex flex-col gap-1",
|
|
419
|
-
children: [/* @__PURE__ */
|
|
379
|
+
children: [/* @__PURE__ */ I(c, {
|
|
420
380
|
id: "scheduled-task-run-at",
|
|
421
381
|
mode: l.DateTime,
|
|
422
|
-
value:
|
|
423
|
-
onChange: (e) => o("runAt",
|
|
382
|
+
value: le(t.runAt),
|
|
383
|
+
onChange: (e) => o("runAt", ue(e)),
|
|
424
384
|
label: X(e.runAtLabel),
|
|
425
385
|
invalid: !!i.runAt
|
|
426
|
-
}), i.runAt && /* @__PURE__ */
|
|
386
|
+
}), i.runAt && /* @__PURE__ */ I("p", {
|
|
427
387
|
className: r(w, Y.instructionsError),
|
|
428
388
|
children: i.runAt
|
|
429
389
|
})]
|
|
430
390
|
}),
|
|
431
|
-
t.repeat !== q.OneTime && /* @__PURE__ */
|
|
432
|
-
t.repeat !== q.Hourly && /* @__PURE__ */
|
|
391
|
+
t.repeat !== q.OneTime && /* @__PURE__ */ L(F, { children: [
|
|
392
|
+
t.repeat !== q.Hourly && /* @__PURE__ */ L("div", {
|
|
433
393
|
className: "flex flex-col gap-1",
|
|
434
|
-
children: [/* @__PURE__ */
|
|
394
|
+
children: [/* @__PURE__ */ I(c, {
|
|
435
395
|
id: "scheduled-task-time",
|
|
436
396
|
mode: l.Time,
|
|
437
397
|
value: t.time,
|
|
438
398
|
onChange: (e) => o("time", typeof e == "string" ? e : ""),
|
|
439
399
|
label: X(e.timeLabel),
|
|
440
400
|
invalid: !!i.time
|
|
441
|
-
}), i.time && /* @__PURE__ */
|
|
401
|
+
}), i.time && /* @__PURE__ */ I("p", {
|
|
442
402
|
className: r(w, Y.instructionsError),
|
|
443
403
|
children: i.time
|
|
444
404
|
})]
|
|
445
405
|
}),
|
|
446
|
-
t.repeat === q.Weekly && /* @__PURE__ */
|
|
406
|
+
t.repeat === q.Weekly && /* @__PURE__ */ L("div", {
|
|
447
407
|
className: "flex flex-col gap-1",
|
|
448
|
-
children: [/* @__PURE__ */
|
|
408
|
+
children: [/* @__PURE__ */ I(c, {
|
|
449
409
|
id: "scheduled-task-day-of-week",
|
|
450
410
|
mode: l.Weekday,
|
|
451
|
-
value:
|
|
452
|
-
onChange: (e) => o("dayOfWeek",
|
|
411
|
+
value: pe(t.dayOfWeek),
|
|
412
|
+
onChange: (e) => o("dayOfWeek", me(e)),
|
|
453
413
|
label: X(e.dayOfWeekLabel),
|
|
454
414
|
invalid: !!i.dayOfWeek
|
|
455
|
-
}), i.dayOfWeek && /* @__PURE__ */
|
|
415
|
+
}), i.dayOfWeek && /* @__PURE__ */ I("p", {
|
|
456
416
|
className: r(w, Y.instructionsError),
|
|
457
417
|
children: i.dayOfWeek
|
|
458
418
|
})]
|
|
459
419
|
}),
|
|
460
|
-
t.repeat === q.Monthly && /* @__PURE__ */
|
|
420
|
+
t.repeat === q.Monthly && /* @__PURE__ */ I(_, {
|
|
461
421
|
id: "scheduled-task-day-of-month",
|
|
462
422
|
value: t.dayOfMonth ?? "",
|
|
463
423
|
onChange: (e) => o("dayOfMonth", e ?? ""),
|
|
@@ -468,7 +428,7 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
468
428
|
invalid: !!i.dayOfMonth,
|
|
469
429
|
error: i.dayOfMonth
|
|
470
430
|
}),
|
|
471
|
-
t.repeat === q.Hourly && /* @__PURE__ */
|
|
431
|
+
t.repeat === q.Hourly && /* @__PURE__ */ I(b, {
|
|
472
432
|
id: "scheduled-task-minute",
|
|
473
433
|
integer: !0,
|
|
474
434
|
min: 0,
|
|
@@ -482,33 +442,33 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
482
442
|
invalid: !!i.minute,
|
|
483
443
|
error: i.minute
|
|
484
444
|
}),
|
|
485
|
-
/* @__PURE__ */
|
|
445
|
+
/* @__PURE__ */ L("div", {
|
|
486
446
|
className: "flex flex-col gap-3 desktop:flex-row",
|
|
487
|
-
children: [/* @__PURE__ */
|
|
447
|
+
children: [/* @__PURE__ */ L("div", {
|
|
488
448
|
className: "flex flex-1 flex-col gap-1",
|
|
489
|
-
children: [/* @__PURE__ */
|
|
449
|
+
children: [/* @__PURE__ */ I(c, {
|
|
490
450
|
id: "scheduled-task-start-date",
|
|
491
451
|
mode: l.Date,
|
|
492
|
-
value:
|
|
493
|
-
onChange: (e) => o("startDate",
|
|
452
|
+
value: de(t.startDate),
|
|
453
|
+
onChange: (e) => o("startDate", fe(e)),
|
|
494
454
|
label: e.startDateLabel,
|
|
495
455
|
placeholder: e.startDatePlaceholder,
|
|
496
456
|
invalid: !!i.startDate
|
|
497
|
-
}), i.startDate && /* @__PURE__ */
|
|
457
|
+
}), i.startDate && /* @__PURE__ */ I("p", {
|
|
498
458
|
className: r(w, Y.instructionsError),
|
|
499
459
|
children: i.startDate
|
|
500
460
|
})]
|
|
501
|
-
}), /* @__PURE__ */
|
|
461
|
+
}), /* @__PURE__ */ L("div", {
|
|
502
462
|
className: "flex flex-1 flex-col gap-1",
|
|
503
|
-
children: [/* @__PURE__ */
|
|
463
|
+
children: [/* @__PURE__ */ I(c, {
|
|
504
464
|
id: "scheduled-task-end-date",
|
|
505
465
|
mode: l.Date,
|
|
506
|
-
value:
|
|
507
|
-
onChange: (e) => o("endDate",
|
|
466
|
+
value: de(t.endDate),
|
|
467
|
+
onChange: (e) => o("endDate", fe(e)),
|
|
508
468
|
label: e.endDateLabel,
|
|
509
469
|
placeholder: e.endDatePlaceholder,
|
|
510
470
|
invalid: !!i.endDate
|
|
511
|
-
}), i.endDate && /* @__PURE__ */
|
|
471
|
+
}), i.endDate && /* @__PURE__ */ I("p", {
|
|
512
472
|
className: r(w, Y.instructionsError),
|
|
513
473
|
children: i.endDate
|
|
514
474
|
})]
|
|
@@ -519,38 +479,38 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
519
479
|
})
|
|
520
480
|
]
|
|
521
481
|
}),
|
|
522
|
-
children: /* @__PURE__ */
|
|
482
|
+
children: /* @__PURE__ */ L("div", {
|
|
523
483
|
role: "group",
|
|
524
484
|
"aria-label": e.configurationSectionTitle,
|
|
525
485
|
className: "flex flex-1 flex-col gap-5 px-8 py-6",
|
|
526
|
-
children: [/* @__PURE__ */
|
|
486
|
+
children: [/* @__PURE__ */ L("div", {
|
|
527
487
|
className: "flex flex-col gap-1",
|
|
528
|
-
children: [/* @__PURE__ */
|
|
488
|
+
children: [/* @__PURE__ */ I("h2", {
|
|
529
489
|
className: y,
|
|
530
490
|
children: e.configurationSectionTitle
|
|
531
|
-
}), /* @__PURE__ */
|
|
491
|
+
}), /* @__PURE__ */ I("p", {
|
|
532
492
|
className: r(x, Y.sectionSubtitle),
|
|
533
493
|
children: e.configurationSectionSubtitle
|
|
534
494
|
})]
|
|
535
|
-
}), /* @__PURE__ */
|
|
495
|
+
}), /* @__PURE__ */ L("div", {
|
|
536
496
|
role: "group",
|
|
537
497
|
"aria-label": e.instructionsLabel,
|
|
538
498
|
className: "flex flex-1 flex-col gap-1",
|
|
539
499
|
children: [
|
|
540
|
-
/* @__PURE__ */
|
|
500
|
+
/* @__PURE__ */ I("span", {
|
|
541
501
|
className: C,
|
|
542
502
|
children: e.instructionsLabel
|
|
543
503
|
}),
|
|
544
|
-
/* @__PURE__ */
|
|
545
|
-
fallback: /* @__PURE__ */
|
|
546
|
-
children: /* @__PURE__ */
|
|
504
|
+
/* @__PURE__ */ I(N, {
|
|
505
|
+
fallback: /* @__PURE__ */ I(T, {}),
|
|
506
|
+
children: /* @__PURE__ */ I(he, {
|
|
547
507
|
value: t.prompt,
|
|
548
508
|
onChange: (e) => o("prompt", e),
|
|
549
509
|
height: 480,
|
|
550
510
|
theme: p
|
|
551
511
|
})
|
|
552
512
|
}),
|
|
553
|
-
i.prompt && /* @__PURE__ */
|
|
513
|
+
i.prompt && /* @__PURE__ */ I("p", {
|
|
554
514
|
className: r(w, Y.instructionsError),
|
|
555
515
|
children: i.prompt
|
|
556
516
|
})
|
|
@@ -566,30 +526,30 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
566
526
|
errorIcon: "_errorIcon_8bk8k_9",
|
|
567
527
|
missedIcon: "_missedIcon_8bk8k_13",
|
|
568
528
|
currentRun: "_currentRun_8bk8k_17"
|
|
569
|
-
},
|
|
529
|
+
}, _e = ({ status: e }) => {
|
|
570
530
|
switch (e) {
|
|
571
|
-
case Z.Success: return /* @__PURE__ */
|
|
531
|
+
case Z.Success: return /* @__PURE__ */ I(k, {
|
|
572
532
|
size: d.SM,
|
|
573
533
|
className: Q.successIcon,
|
|
574
534
|
"aria-hidden": !0
|
|
575
535
|
});
|
|
576
|
-
case Z.Error: return /* @__PURE__ */
|
|
536
|
+
case Z.Error: return /* @__PURE__ */ I(A, {
|
|
577
537
|
size: d.SM,
|
|
578
538
|
className: Q.errorIcon,
|
|
579
539
|
"aria-hidden": !0
|
|
580
540
|
});
|
|
581
|
-
case Z.InProgress: return /* @__PURE__ */
|
|
541
|
+
case Z.InProgress: return /* @__PURE__ */ I("span", {
|
|
582
542
|
"aria-hidden": !0,
|
|
583
|
-
children: /* @__PURE__ */
|
|
543
|
+
children: /* @__PURE__ */ I(T, { size: d.SM })
|
|
584
544
|
});
|
|
585
|
-
case Z.Missed: return /* @__PURE__ */
|
|
545
|
+
case Z.Missed: return /* @__PURE__ */ I(D, {
|
|
586
546
|
size: d.SM,
|
|
587
547
|
className: Q.missedIcon,
|
|
588
548
|
"aria-hidden": !0
|
|
589
549
|
});
|
|
590
550
|
default: return null;
|
|
591
551
|
}
|
|
592
|
-
},
|
|
552
|
+
}, ve = ({ items: e, isLoading: t = !1, isLoadingMore: i = !1, skeletonCount: a = 6, error: o, onRetry: s, currentRunId: c, onRunClick: l, labels: u, footer: d, styles: f }) => {
|
|
593
553
|
let { colors: p, typography: h } = f ?? {}, g = h?.runTimestampClassName ?? "dial-small-text", _ = h?.subtitleClassName ?? "dial-body-text", v = n({
|
|
594
554
|
"--strhl-success-icon": p?.successIconColor,
|
|
595
555
|
"--strhl-error-icon": p?.errorIconColor,
|
|
@@ -598,7 +558,7 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
598
558
|
"--strhl-current-run-bg": p?.currentRunBackground
|
|
599
559
|
}), y = (e) => {
|
|
600
560
|
let t = u.runStatusLabels[e.status], n = e.id === c, i = n && u.currentRunLabel ? `${t} ${e.timestampLabel} — ${u.currentRunLabel}` : `${t} ${e.timestampLabel}`, a = !!l;
|
|
601
|
-
return /* @__PURE__ */
|
|
561
|
+
return /* @__PURE__ */ L("li", {
|
|
602
562
|
...a ? {
|
|
603
563
|
role: "button",
|
|
604
564
|
tabIndex: 0,
|
|
@@ -610,61 +570,61 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
610
570
|
"aria-label": i,
|
|
611
571
|
"aria-current": n ? "true" : void 0,
|
|
612
572
|
className: r("flex h-8 items-center justify-between gap-2 rounded-full pe-2 ps-5", n && Q.currentRun, a && "cursor-pointer"),
|
|
613
|
-
children: [/* @__PURE__ */
|
|
573
|
+
children: [/* @__PURE__ */ I("span", {
|
|
614
574
|
className: r(g, "truncate"),
|
|
615
575
|
children: e.timestampLabel
|
|
616
|
-
}), /* @__PURE__ */
|
|
576
|
+
}), /* @__PURE__ */ I("span", {
|
|
617
577
|
className: "flex h-8 w-14 shrink-0 items-center justify-end",
|
|
618
|
-
children: /* @__PURE__ */
|
|
578
|
+
children: /* @__PURE__ */ I(_e, { status: e.status })
|
|
619
579
|
})]
|
|
620
580
|
}, e.id);
|
|
621
|
-
}, b = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */
|
|
581
|
+
}, b = (e) => Array.from({ length: e }, (e, t) => /* @__PURE__ */ L("li", {
|
|
622
582
|
"aria-hidden": "true",
|
|
623
583
|
className: "flex h-8 items-center justify-between gap-2 pe-2 ps-5",
|
|
624
|
-
children: [/* @__PURE__ */
|
|
584
|
+
children: [/* @__PURE__ */ I(C, {
|
|
625
585
|
variant: w.Rectangular,
|
|
626
586
|
width: "160px",
|
|
627
587
|
height: "16px"
|
|
628
|
-
}), /* @__PURE__ */
|
|
588
|
+
}), /* @__PURE__ */ I(C, {
|
|
629
589
|
variant: w.Rectangular,
|
|
630
590
|
width: "16px",
|
|
631
591
|
height: "16px",
|
|
632
592
|
className: "shrink-0 rounded-full"
|
|
633
593
|
})]
|
|
634
594
|
}, `history-skeleton-${t}`));
|
|
635
|
-
return t && e.length === 0 ? /* @__PURE__ */
|
|
595
|
+
return t && e.length === 0 ? /* @__PURE__ */ I("ul", {
|
|
636
596
|
style: v,
|
|
637
597
|
"aria-label": u.historyTitle,
|
|
638
598
|
children: b(a)
|
|
639
|
-
}) : o && e.length === 0 ? /* @__PURE__ */
|
|
599
|
+
}) : o && e.length === 0 ? /* @__PURE__ */ L("div", {
|
|
640
600
|
style: v,
|
|
641
601
|
className: "flex flex-col items-start gap-3",
|
|
642
|
-
children: [/* @__PURE__ */
|
|
602
|
+
children: [/* @__PURE__ */ I("p", {
|
|
643
603
|
role: "alert",
|
|
644
604
|
className: r(_, Q.subtitleText),
|
|
645
605
|
children: u.errorLabel
|
|
646
|
-
}), /* @__PURE__ */
|
|
606
|
+
}), /* @__PURE__ */ I(m, {
|
|
647
607
|
label: u.retryLabel,
|
|
648
608
|
onClick: s
|
|
649
609
|
})]
|
|
650
|
-
}) : e.length === 0 ? /* @__PURE__ */
|
|
610
|
+
}) : e.length === 0 ? /* @__PURE__ */ I("p", {
|
|
651
611
|
role: "status",
|
|
652
612
|
style: v,
|
|
653
613
|
className: r(_, Q.subtitleText),
|
|
654
614
|
children: u.emptyLabel
|
|
655
|
-
}) : /* @__PURE__ */
|
|
615
|
+
}) : /* @__PURE__ */ L("ul", {
|
|
656
616
|
style: v,
|
|
657
617
|
"aria-label": u.historyTitle,
|
|
658
618
|
children: [
|
|
659
619
|
e.map(y),
|
|
660
620
|
i && b(a),
|
|
661
|
-
o ? /* @__PURE__ */
|
|
621
|
+
o ? /* @__PURE__ */ L("li", {
|
|
662
622
|
className: "flex flex-col items-start gap-3 px-5 py-2",
|
|
663
|
-
children: [/* @__PURE__ */
|
|
623
|
+
children: [/* @__PURE__ */ I("p", {
|
|
664
624
|
role: "alert",
|
|
665
625
|
className: r(_, Q.subtitleText),
|
|
666
626
|
children: u.errorLabel
|
|
667
|
-
}), /* @__PURE__ */
|
|
627
|
+
}), /* @__PURE__ */ I(m, {
|
|
668
628
|
label: u.retryLabel,
|
|
669
629
|
onClick: s
|
|
670
630
|
})]
|
|
@@ -680,62 +640,62 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
680
640
|
errorIcon: "_errorIcon_1ci42_21",
|
|
681
641
|
missedIcon: "_missedIcon_1ci42_25",
|
|
682
642
|
historyCard: "_historyCard_1ci42_29"
|
|
683
|
-
},
|
|
684
|
-
let { colors:
|
|
685
|
-
"--stdv-bg":
|
|
686
|
-
"--stdv-header-border":
|
|
687
|
-
"--stdv-details-border":
|
|
688
|
-
"--stdv-subtitle-text":
|
|
689
|
-
"--stdv-success-icon":
|
|
690
|
-
"--stdv-error-icon":
|
|
691
|
-
"--stdv-missed-icon":
|
|
692
|
-
"--stdv-history-bg":
|
|
693
|
-
}),
|
|
643
|
+
}, ye = ({ labels: t, onBack: i, onEdit: a, isActive: o, isActiveUpdating: s = !1, isActiveDisabled: c = !1, onActiveChange: l, displayName: u, isLoading: p = !1, error: g, onRetry: _, description: v, modelLabel: b, repeatsLabel: x, activeWindowLabel: S, nextRunLabel: C, instructionsMarkdown: w, renderInstructions: E, runs: D, runsIsLoading: ee = !1, runsIsLoadingMore: k = !1, runsSkeletonCount: A = 6, runsError: M, onRunsRetry: te, runsHasMore: N = !1, onRunsLoadMore: P, onRunClick: ne, styles: re }) => {
|
|
644
|
+
let { colors: R, typography: z } = re ?? {}, B = z?.titleClassName ?? "dial-h1-text", V = z?.sectionTitleClassName ?? "dial-body-semi-text", H = z?.fieldLabelClassName ?? "dial-tiny-text", U = z?.fieldValueClassName ?? "dial-body-text", W = z?.runTimestampClassName ?? "dial-small-text", G = n({
|
|
645
|
+
"--stdv-bg": R?.background,
|
|
646
|
+
"--stdv-header-border": R?.headerBorder,
|
|
647
|
+
"--stdv-details-border": R?.detailsColumnBorder,
|
|
648
|
+
"--stdv-subtitle-text": R?.subtitleText,
|
|
649
|
+
"--stdv-success-icon": R?.successIconColor,
|
|
650
|
+
"--stdv-error-icon": R?.errorIconColor,
|
|
651
|
+
"--stdv-missed-icon": R?.missedIconColor,
|
|
652
|
+
"--stdv-history-bg": R?.historyCardBackground
|
|
653
|
+
}), K = P && N && t.historyShowMoreLabel ? /* @__PURE__ */ I("li", {
|
|
694
654
|
className: r("sticky bottom-0 z-10 rounded-b-xl px-6 pb-5 pt-2", $.historyCard),
|
|
695
|
-
children: /* @__PURE__ */
|
|
655
|
+
children: /* @__PURE__ */ I(m, {
|
|
696
656
|
label: t.historyShowMoreLabel,
|
|
697
657
|
onClick: P,
|
|
698
658
|
disabled: k
|
|
699
659
|
})
|
|
700
660
|
}) : void 0;
|
|
701
|
-
return /* @__PURE__ */
|
|
702
|
-
style:
|
|
661
|
+
return /* @__PURE__ */ L("div", {
|
|
662
|
+
style: G,
|
|
703
663
|
className: r("flex h-full w-full flex-col overflow-y-auto", $.container),
|
|
704
664
|
children: [
|
|
705
|
-
/* @__PURE__ */
|
|
665
|
+
/* @__PURE__ */ L("div", {
|
|
706
666
|
className: r("flex h-16 shrink-0 items-center justify-between gap-2 border-b px-8", $.header),
|
|
707
|
-
children: [/* @__PURE__ */
|
|
667
|
+
children: [/* @__PURE__ */ L("div", {
|
|
708
668
|
className: "flex min-w-0 items-center gap-2",
|
|
709
|
-
children: [/* @__PURE__ */
|
|
710
|
-
icon: /* @__PURE__ */
|
|
669
|
+
children: [/* @__PURE__ */ I(h, {
|
|
670
|
+
icon: /* @__PURE__ */ I(O, {
|
|
711
671
|
size: d.LG,
|
|
712
672
|
className: "rtl:scale-x-[-1]",
|
|
713
673
|
"aria-hidden": !0
|
|
714
674
|
}),
|
|
715
675
|
"aria-label": t.backAriaLabel,
|
|
716
676
|
onClick: i
|
|
717
|
-
}), /* @__PURE__ */
|
|
677
|
+
}), /* @__PURE__ */ I("h1", {
|
|
718
678
|
className: r("truncate", B),
|
|
719
679
|
children: u
|
|
720
680
|
})]
|
|
721
|
-
}), /* @__PURE__ */
|
|
681
|
+
}), /* @__PURE__ */ L("div", {
|
|
722
682
|
className: "flex shrink-0 items-center gap-2",
|
|
723
|
-
children: [o !== void 0 && /* @__PURE__ */
|
|
683
|
+
children: [o !== void 0 && /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ I("span", {
|
|
724
684
|
className: U,
|
|
725
685
|
children: t.activeStatusLabel
|
|
726
|
-
}), /* @__PURE__ */
|
|
686
|
+
}), /* @__PURE__ */ I("div", {
|
|
727
687
|
role: "group",
|
|
728
688
|
"aria-checked": o,
|
|
729
689
|
"aria-label": t.activeStatusLabel,
|
|
730
|
-
children: /* @__PURE__ */
|
|
690
|
+
children: /* @__PURE__ */ I(f, {
|
|
731
691
|
switchId: "scheduled-task-active-switch",
|
|
732
692
|
isOn: o,
|
|
733
693
|
disabled: s || c,
|
|
734
694
|
onChange: (e) => l?.(e)
|
|
735
695
|
})
|
|
736
|
-
})] }), a && /* @__PURE__ */
|
|
696
|
+
})] }), a && /* @__PURE__ */ I(y, {
|
|
737
697
|
label: t.editButtonLabel,
|
|
738
|
-
iconBefore: /* @__PURE__ */
|
|
698
|
+
iconBefore: /* @__PURE__ */ I(j, {
|
|
739
699
|
size: d.SM,
|
|
740
700
|
"aria-hidden": !0
|
|
741
701
|
}),
|
|
@@ -744,120 +704,120 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
744
704
|
})]
|
|
745
705
|
})]
|
|
746
706
|
}),
|
|
747
|
-
t.activeStatusAnnouncement != null && /* @__PURE__ */
|
|
707
|
+
t.activeStatusAnnouncement != null && /* @__PURE__ */ I("span", {
|
|
748
708
|
role: "status",
|
|
749
709
|
"aria-live": "polite",
|
|
750
710
|
className: "sr-only",
|
|
751
711
|
children: t.activeStatusAnnouncement
|
|
752
712
|
}),
|
|
753
|
-
p && /* @__PURE__ */
|
|
713
|
+
p && /* @__PURE__ */ I("div", {
|
|
754
714
|
className: "flex flex-1 items-center justify-center",
|
|
755
|
-
children: /* @__PURE__ */
|
|
715
|
+
children: /* @__PURE__ */ I(T, {})
|
|
756
716
|
}),
|
|
757
|
-
!p && g && /* @__PURE__ */
|
|
717
|
+
!p && g && /* @__PURE__ */ L("div", {
|
|
758
718
|
className: "flex flex-1 flex-col items-center justify-center gap-3",
|
|
759
|
-
children: [/* @__PURE__ */
|
|
719
|
+
children: [/* @__PURE__ */ I("p", {
|
|
760
720
|
className: r(U, $.subtitleText),
|
|
761
721
|
children: t.errorLabel
|
|
762
|
-
}), /* @__PURE__ */
|
|
722
|
+
}), /* @__PURE__ */ I(m, {
|
|
763
723
|
label: t.retryLabel,
|
|
764
724
|
onClick: _
|
|
765
725
|
})]
|
|
766
726
|
}),
|
|
767
|
-
!p && !g && /* @__PURE__ */
|
|
727
|
+
!p && !g && /* @__PURE__ */ L("div", {
|
|
768
728
|
className: "flex flex-1 flex-col desktop:flex-row",
|
|
769
729
|
children: [
|
|
770
|
-
/* @__PURE__ */
|
|
730
|
+
/* @__PURE__ */ L("div", {
|
|
771
731
|
role: "group",
|
|
772
732
|
"aria-label": t.detailsTitle,
|
|
773
733
|
className: r("flex w-full flex-col gap-5 border-e px-8 py-6 desktop:w-[360px] desktop:shrink-0", $.detailsColumn),
|
|
774
734
|
children: [
|
|
775
|
-
/* @__PURE__ */
|
|
735
|
+
/* @__PURE__ */ I("h2", {
|
|
776
736
|
className: V,
|
|
777
737
|
children: t.detailsTitle
|
|
778
738
|
}),
|
|
779
|
-
v && /* @__PURE__ */
|
|
739
|
+
v && /* @__PURE__ */ L("div", {
|
|
780
740
|
className: "flex flex-col gap-1",
|
|
781
|
-
children: [/* @__PURE__ */
|
|
741
|
+
children: [/* @__PURE__ */ I("span", {
|
|
782
742
|
className: H,
|
|
783
743
|
children: t.descriptionLabel
|
|
784
|
-
}), /* @__PURE__ */
|
|
744
|
+
}), /* @__PURE__ */ I("p", {
|
|
785
745
|
className: U,
|
|
786
746
|
children: v
|
|
787
747
|
})]
|
|
788
748
|
}),
|
|
789
|
-
b && /* @__PURE__ */
|
|
749
|
+
b && /* @__PURE__ */ L("div", {
|
|
790
750
|
className: "flex flex-col gap-1",
|
|
791
|
-
children: [/* @__PURE__ */
|
|
751
|
+
children: [/* @__PURE__ */ I("span", {
|
|
792
752
|
className: H,
|
|
793
753
|
children: t.modelLabel
|
|
794
|
-
}), /* @__PURE__ */
|
|
754
|
+
}), /* @__PURE__ */ I("p", {
|
|
795
755
|
className: U,
|
|
796
756
|
children: b
|
|
797
757
|
})]
|
|
798
758
|
}),
|
|
799
|
-
x && /* @__PURE__ */
|
|
759
|
+
x && /* @__PURE__ */ L("div", {
|
|
800
760
|
className: "flex flex-col gap-1",
|
|
801
|
-
children: [/* @__PURE__ */
|
|
761
|
+
children: [/* @__PURE__ */ I("span", {
|
|
802
762
|
className: H,
|
|
803
763
|
children: t.repeatsLabel
|
|
804
|
-
}), /* @__PURE__ */
|
|
764
|
+
}), /* @__PURE__ */ I("p", {
|
|
805
765
|
className: U,
|
|
806
766
|
children: x
|
|
807
767
|
})]
|
|
808
768
|
}),
|
|
809
|
-
S && /* @__PURE__ */
|
|
769
|
+
S && /* @__PURE__ */ L("div", {
|
|
810
770
|
className: "flex flex-col gap-1",
|
|
811
|
-
children: [/* @__PURE__ */
|
|
771
|
+
children: [/* @__PURE__ */ I("span", {
|
|
812
772
|
className: H,
|
|
813
773
|
children: t.activeWindowLabel
|
|
814
|
-
}), /* @__PURE__ */
|
|
774
|
+
}), /* @__PURE__ */ I("p", {
|
|
815
775
|
className: U,
|
|
816
776
|
children: S
|
|
817
777
|
})]
|
|
818
778
|
})
|
|
819
779
|
]
|
|
820
780
|
}),
|
|
821
|
-
/* @__PURE__ */
|
|
781
|
+
/* @__PURE__ */ L("div", {
|
|
822
782
|
className: "flex w-full min-w-0 flex-1 flex-col gap-5 px-8 py-6",
|
|
823
|
-
children: [/* @__PURE__ */
|
|
783
|
+
children: [/* @__PURE__ */ I("h2", {
|
|
824
784
|
className: V,
|
|
825
785
|
children: t.configurationTitle
|
|
826
|
-
}), /* @__PURE__ */
|
|
786
|
+
}), /* @__PURE__ */ L("div", {
|
|
827
787
|
role: "group",
|
|
828
788
|
"aria-label": t.instructionsLabel,
|
|
829
789
|
className: "flex flex-col gap-1",
|
|
830
|
-
children: [/* @__PURE__ */
|
|
790
|
+
children: [/* @__PURE__ */ I("span", {
|
|
831
791
|
className: H,
|
|
832
792
|
children: t.instructionsLabel
|
|
833
|
-
}), w && ((t) => E ? E(t) : /* @__PURE__ */
|
|
793
|
+
}), w && ((t) => E ? E(t) : /* @__PURE__ */ I(e, { content: t }))(w)]
|
|
834
794
|
})]
|
|
835
795
|
}),
|
|
836
|
-
/* @__PURE__ */
|
|
796
|
+
/* @__PURE__ */ I("div", {
|
|
837
797
|
className: "flex w-full justify-center p-6 desktop:w-auto desktop:items-start",
|
|
838
|
-
children: /* @__PURE__ */
|
|
798
|
+
children: /* @__PURE__ */ L("div", {
|
|
839
799
|
className: r("flex max-h-[70vh] w-full flex-col overflow-y-auto rounded-xl shadow-md desktop:w-[360px]", $.historyCard),
|
|
840
|
-
children: [/* @__PURE__ */
|
|
800
|
+
children: [/* @__PURE__ */ L("div", {
|
|
841
801
|
className: r("sticky top-0 z-10 flex flex-col gap-1 rounded-t-xl px-6 pb-2 pt-5", $.historyCard),
|
|
842
802
|
children: [
|
|
843
|
-
/* @__PURE__ */
|
|
803
|
+
/* @__PURE__ */ I("h2", {
|
|
844
804
|
className: V,
|
|
845
805
|
children: t.historyTitle
|
|
846
806
|
}),
|
|
847
|
-
C && /* @__PURE__ */
|
|
848
|
-
className: r(
|
|
807
|
+
C && /* @__PURE__ */ I("p", {
|
|
808
|
+
className: r(W, $.subtitleText),
|
|
849
809
|
children: C
|
|
850
810
|
}),
|
|
851
|
-
t.historyLoadingMoreLabel && /* @__PURE__ */
|
|
811
|
+
t.historyLoadingMoreLabel && /* @__PURE__ */ I("span", {
|
|
852
812
|
role: "status",
|
|
853
813
|
"aria-live": "polite",
|
|
854
814
|
className: "sr-only",
|
|
855
815
|
children: k ? t.historyLoadingMoreLabel : ""
|
|
856
816
|
})
|
|
857
817
|
]
|
|
858
|
-
}), /* @__PURE__ */
|
|
818
|
+
}), /* @__PURE__ */ I("div", {
|
|
859
819
|
className: "flex flex-1 flex-col gap-4 px-6 pb-2",
|
|
860
|
-
children: /* @__PURE__ */
|
|
820
|
+
children: /* @__PURE__ */ I(ve, {
|
|
861
821
|
items: D,
|
|
862
822
|
isLoading: ee,
|
|
863
823
|
isLoadingMore: k,
|
|
@@ -872,13 +832,13 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
872
832
|
retryLabel: t.historyRetryLabel,
|
|
873
833
|
runStatusLabels: t.runStatusLabels
|
|
874
834
|
},
|
|
875
|
-
footer:
|
|
835
|
+
footer: K,
|
|
876
836
|
styles: {
|
|
877
|
-
typography: { runTimestampClassName:
|
|
837
|
+
typography: { runTimestampClassName: W },
|
|
878
838
|
colors: {
|
|
879
|
-
successIconColor:
|
|
880
|
-
errorIconColor:
|
|
881
|
-
missedIconColor:
|
|
839
|
+
successIconColor: R?.successIconColor,
|
|
840
|
+
errorIconColor: R?.errorIconColor,
|
|
841
|
+
missedIconColor: R?.missedIconColor
|
|
882
842
|
}
|
|
883
843
|
}
|
|
884
844
|
})
|
|
@@ -889,27 +849,27 @@ var B = /* @__PURE__ */ function(e) {
|
|
|
889
849
|
})
|
|
890
850
|
]
|
|
891
851
|
});
|
|
892
|
-
},
|
|
852
|
+
}, be = ({ modelLabel: t, instructionsLabel: n, modelDisplayName: r, instructionsMarkdown: i, renderInstructions: a, styles: o }) => {
|
|
893
853
|
let s = o?.typography?.fieldLabelClassName ?? "dial-tiny-text", c = o?.typography?.fieldValueClassName ?? "dial-body-text";
|
|
894
|
-
return /* @__PURE__ */
|
|
854
|
+
return /* @__PURE__ */ L("div", {
|
|
895
855
|
className: "flex flex-col gap-3",
|
|
896
|
-
children: [r && /* @__PURE__ */
|
|
856
|
+
children: [r && /* @__PURE__ */ L("div", {
|
|
897
857
|
className: "flex flex-col gap-2",
|
|
898
|
-
children: [/* @__PURE__ */
|
|
858
|
+
children: [/* @__PURE__ */ I("span", {
|
|
899
859
|
className: s,
|
|
900
860
|
children: t
|
|
901
|
-
}), /* @__PURE__ */
|
|
861
|
+
}), /* @__PURE__ */ I("p", {
|
|
902
862
|
className: c,
|
|
903
863
|
children: r
|
|
904
864
|
})]
|
|
905
|
-
}), i && /* @__PURE__ */
|
|
865
|
+
}), i && /* @__PURE__ */ L("div", {
|
|
906
866
|
className: "flex flex-col gap-2",
|
|
907
|
-
children: [/* @__PURE__ */
|
|
867
|
+
children: [/* @__PURE__ */ I("span", {
|
|
908
868
|
className: s,
|
|
909
869
|
children: n
|
|
910
|
-
}), ((t) => a ? a(t) : /* @__PURE__ */
|
|
870
|
+
}), ((t) => a ? a(t) : /* @__PURE__ */ I(e, { content: t }))(i)]
|
|
911
871
|
})]
|
|
912
872
|
});
|
|
913
873
|
};
|
|
914
874
|
//#endregion
|
|
915
|
-
export {
|
|
875
|
+
export { ce as DESCRIPTION_MAX_LENGTH, B as ScheduledTaskCard, G as ScheduledTaskCardGrid, W as ScheduledTaskCardSkeleton, ge as ScheduledTaskCreateForm, ye as ScheduledTaskDetailView, be as ScheduledTaskDetailsSummary, q as ScheduledTaskRepeat, ve as ScheduledTaskRunHistoryList, Z as ScheduledTaskRunStatus, oe as ScheduledTasks, se as ScheduledTasksSortKey };
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
/** Section a {@link ScheduledTaskItem} is grouped under in the card grid. */
|
|
2
|
-
export declare enum ScheduledTaskSectionKey {
|
|
3
|
-
/** Tasks shared from another user or accessible at the organization level. */
|
|
4
|
-
Shared = "shared",
|
|
5
|
-
/** Tasks owned by the current user. */
|
|
6
|
-
MyTasks = "myTasks"
|
|
7
|
-
}
|
|
8
1
|
/** A single scheduled task rendered as a card in the Scheduled Tasks grid. All strings are pre-formatted by the host app — the lib performs no date/locale formatting. */
|
|
9
2
|
export interface ScheduledTaskItem {
|
|
10
3
|
/** Stable identifier for this task. */
|
|
@@ -21,7 +14,5 @@ export interface ScheduledTaskItem {
|
|
|
21
14
|
isNew?: boolean;
|
|
22
15
|
/** When explicitly `false`, the card shows a "Paused" badge in place of the schedule pill. `true` or `undefined` renders the schedule pill as usual. */
|
|
23
16
|
isActive?: boolean;
|
|
24
|
-
/** Section this item is grouped under in the card grid. */
|
|
25
|
-
sectionKey: ScheduledTaskSectionKey;
|
|
26
17
|
}
|
|
27
18
|
//# sourceMappingURL=scheduled-task-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-item.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"scheduled-task-item.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-item.ts"],"names":[],"mappings":"AAAA,0KAA0K;AAC1K,MAAM,WAAW,iBAAiB;IAChC,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,oEAAoE;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,+JAA+J;IAC/J,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wJAAwJ;IACxJ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -28,8 +28,6 @@ export interface ScheduledTasksLabels {
|
|
|
28
28
|
errorLabel: string;
|
|
29
29
|
/** Label for the retry action shown when `error` is set. */
|
|
30
30
|
retryLabel: string;
|
|
31
|
-
/** Title for the section grouping items with `sectionKey: 'shared'`. */
|
|
32
|
-
sharedSectionTitle: string;
|
|
33
31
|
/** Announced via `aria-live` while a load-more fetch is in flight (`isLoadingMore`). Optional — no announcement is made when omitted. */
|
|
34
32
|
loadingMoreLabel?: string;
|
|
35
33
|
/** Localized labels forwarded as-is to every card in the grid. */
|
|
@@ -79,7 +77,7 @@ export interface ScheduledTasksProps {
|
|
|
79
77
|
sortKey: ScheduledTasksSortKey;
|
|
80
78
|
/** Called when the user selects a different sort option. */
|
|
81
79
|
onSortChange: (key: ScheduledTasksSortKey) => void;
|
|
82
|
-
/** Tasks to render as cards, already search-matched server-side;
|
|
80
|
+
/** Tasks to render as cards, already search-matched and sorted server-side; rendered in the order received. */
|
|
83
81
|
items: ScheduledTaskItem[];
|
|
84
82
|
/** When `true`, the content region shows a loading spinner instead of `items`. Defaults to `false`. */
|
|
85
83
|
isLoading?: boolean;
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,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,+GAA+G;IAC/G,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,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.162",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./index.js",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@epam/ai-dial-builder-form": "1.1.0-dev.
|
|
21
|
-
"@epam/ai-dial-chat-shared": "1.1.0-dev.
|
|
22
|
-
"@epam/ai-dial-kit": "1.1.0-dev.
|
|
20
|
+
"@epam/ai-dial-builder-form": "1.1.0-dev.162",
|
|
21
|
+
"@epam/ai-dial-chat-shared": "1.1.0-dev.162",
|
|
22
|
+
"@epam/ai-dial-kit": "1.1.0-dev.162",
|
|
23
23
|
"@epam/ai-dial-ui-kit": "^0.13.0-dev.26",
|
|
24
24
|
"@tabler/icons-react": "^3.44.0",
|
|
25
25
|
"react": "^19.0.0"
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ScheduledTaskSectionProps } from '../../models/scheduled-task-section-props';
|
|
3
|
-
/** Named group of scheduled-task cards (e.g. "Shared", "My tasks") with a title and a count badge. */
|
|
4
|
-
export declare const ScheduledTaskSection: FC<ScheduledTaskSectionProps>;
|
|
5
|
-
//# sourceMappingURL=ScheduledTaskSection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScheduledTaskSection.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskSection/ScheduledTaskSection.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AAG3F,sGAAsG;AACtG,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAsC9D,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Color overrides for the {@link ScheduledTaskSection} component, applied as
|
|
4
|
-
* CSS custom properties with app theme fallbacks.
|
|
5
|
-
*/
|
|
6
|
-
export interface ScheduledTaskSectionColors {
|
|
7
|
-
/** Count badge background. Fallback: `--bg-layer-raised`. */
|
|
8
|
-
countBadgeBackground?: string;
|
|
9
|
-
/** Count badge text color. Fallback: `--text-secondary`. */
|
|
10
|
-
countBadgeText?: string;
|
|
11
|
-
}
|
|
12
|
-
/** Typography overrides for the {@link ScheduledTaskSection} component. */
|
|
13
|
-
export interface ScheduledTaskSectionTypography {
|
|
14
|
-
/** CSS class applied to the section title. Defaults to `'dial-small-semi-text'`. */
|
|
15
|
-
titleClassName?: string;
|
|
16
|
-
/** CSS class applied to the count badge text. Defaults to `'dial-tiny-text'`. */
|
|
17
|
-
countBadgeClassName?: string;
|
|
18
|
-
}
|
|
19
|
-
/** Style overrides for the {@link ScheduledTaskSection} component. */
|
|
20
|
-
export interface ScheduledTaskSectionStyles {
|
|
21
|
-
/** Color overrides applied as CSS custom properties. */
|
|
22
|
-
colors?: ScheduledTaskSectionColors;
|
|
23
|
-
/** Typography class overrides. */
|
|
24
|
-
typography?: ScheduledTaskSectionTypography;
|
|
25
|
-
}
|
|
26
|
-
/** Props for the {@link ScheduledTaskSection} component. */
|
|
27
|
-
export interface ScheduledTaskSectionProps {
|
|
28
|
-
/** Section heading, e.g. "Shared". Omit to render the section without a heading/count row. */
|
|
29
|
-
title?: string;
|
|
30
|
-
/** Number of items in this section, shown as a count badge next to the title. Ignored when `title` is omitted. */
|
|
31
|
-
count: number;
|
|
32
|
-
/** Section content, typically a {@link ScheduledTaskCardGrid}. */
|
|
33
|
-
children: ReactNode;
|
|
34
|
-
/** Style overrides. */
|
|
35
|
-
styles?: ScheduledTaskSectionStyles;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=scheduled-task-section-props.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-task-section-props.d.ts","sourceRoot":"","sources":["../../src/models/scheduled-task-section-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC,6DAA6D;IAC7D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,2EAA2E;AAC3E,MAAM,WAAW,8BAA8B;IAC7C,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,sEAAsE;AACtE,MAAM,WAAW,0BAA0B;IACzC,wDAAwD;IACxD,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,kCAAkC;IAClC,UAAU,CAAC,EAAE,8BAA8B,CAAC;CAC7C;AAED,4DAA4D;AAC5D,MAAM,WAAW,yBAAyB;IACxC,8FAA8F;IAC9F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kHAAkH;IAClH,KAAK,EAAE,MAAM,CAAC;IACd,kEAAkE;IAClE,QAAQ,EAAE,SAAS,CAAC;IACpB,uBAAuB;IACvB,MAAM,CAAC,EAAE,0BAA0B,CAAC;CACrC"}
|