@epam/ai-dial-scheduled-tasks 1.1.0-dev.101

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.
Files changed (41) hide show
  1. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts +14 -0
  2. package/components/ScheduledTaskCard/ScheduledTaskCard.d.ts.map +1 -0
  3. package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts +5 -0
  4. package/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.d.ts.map +1 -0
  5. package/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.d.ts +7 -0
  6. package/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.d.ts.map +1 -0
  7. package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts +13 -0
  8. package/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.d.ts.map +1 -0
  9. package/components/ScheduledTaskSection/ScheduledTaskSection.d.ts +5 -0
  10. package/components/ScheduledTaskSection/ScheduledTaskSection.d.ts.map +1 -0
  11. package/components/ScheduledTasks/ScheduledTasks.d.ts +10 -0
  12. package/components/ScheduledTasks/ScheduledTasks.d.ts.map +1 -0
  13. package/constants/scheduled-task-create-form.d.ts +3 -0
  14. package/constants/scheduled-task-create-form.d.ts.map +1 -0
  15. package/index.css +2 -0
  16. package/index.d.ts +18 -0
  17. package/index.d.ts.map +1 -0
  18. package/index.js +596 -0
  19. package/models/scheduled-task-card-grid-props.d.ts +38 -0
  20. package/models/scheduled-task-card-grid-props.d.ts.map +1 -0
  21. package/models/scheduled-task-card-props.d.ts +82 -0
  22. package/models/scheduled-task-card-props.d.ts.map +1 -0
  23. package/models/scheduled-task-card-skeleton-props.d.ts +22 -0
  24. package/models/scheduled-task-card-skeleton-props.d.ts.map +1 -0
  25. package/models/scheduled-task-create-form-props.d.ts +170 -0
  26. package/models/scheduled-task-create-form-props.d.ts.map +1 -0
  27. package/models/scheduled-task-item.d.ts +34 -0
  28. package/models/scheduled-task-item.d.ts.map +1 -0
  29. package/models/scheduled-task-section-props.d.ts +37 -0
  30. package/models/scheduled-task-section-props.d.ts.map +1 -0
  31. package/models/scheduled-tasks-props.d.ts +113 -0
  32. package/models/scheduled-tasks-props.d.ts.map +1 -0
  33. package/package.json +31 -0
  34. package/test-setup.d.ts +1 -0
  35. package/test-setup.d.ts.map +1 -0
  36. package/types/scheduled-task-schedule.d.ts +17 -0
  37. package/types/scheduled-task-schedule.d.ts.map +1 -0
  38. package/types/scheduled-tasks-sort-key.d.ts +12 -0
  39. package/types/scheduled-tasks-sort-key.d.ts.map +1 -0
  40. package/utils/calendar-value.d.ts +10 -0
  41. package/utils/calendar-value.d.ts.map +1 -0
@@ -0,0 +1,14 @@
1
+ import { FC } from 'react';
2
+ import { ScheduledTaskCardProps } from '../../models/scheduled-task-card-props';
3
+ /**
4
+ * Single scheduled-task card: title, optional "new" badge and description,
5
+ * schedule pill, location breadcrumb, and an overflow menu limited to the
6
+ * actions the caller wired up. Renders on the shared `CardShell` from
7
+ * `@epam/ai-dial-ui-kit` (radius, padding, shadow, hover lift), the same shell
8
+ * the Catalog browse card uses. The card has a fixed height; a long
9
+ * description is clamped with an ellipsis, and the schedule pill (plus the
10
+ * location breadcrumb, when present) is pinned to the bottom regardless of
11
+ * description length.
12
+ */
13
+ export declare const ScheduledTaskCard: FC<ScheduledTaskCardProps>;
14
+ //# sourceMappingURL=ScheduledTaskCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCard/ScheduledTaskCard.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAGrF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA0JxD,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { ScheduledTaskCardGridProps } from '../../models/scheduled-task-card-grid-props';
3
+ /** Mobile-first responsive grid of {@link ScheduledTaskCard}s: one column on mobile, three columns on desktop. */
4
+ export declare const ScheduledTaskCardGrid: FC<ScheduledTaskCardGridProps>;
5
+ //# sourceMappingURL=ScheduledTaskCardGrid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskCardGrid.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardGrid/ScheduledTaskCardGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAI9F,kHAAkH;AAClH,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA+BhE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { ScheduledTaskCardSkeletonProps } from '../../models/scheduled-task-card-skeleton-props';
3
+ /**
4
+ * A skeleton component that represents a scheduled task card while the actual data is being loaded.
5
+ */
6
+ export declare const ScheduledTaskCardSkeleton: FC<ScheduledTaskCardSkeletonProps>;
7
+ //# sourceMappingURL=ScheduledTaskCardSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskCardSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iDAAiD,CAAC;AAItG;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAoCxE,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { ScheduledTaskCreateFormProps } from '../../models/scheduled-task-create-form-props';
3
+ /**
4
+ * Presentational create-task form: a back-navigable header (Cancel/Save
5
+ * actions) and a two-column Details/Configuration body. Details holds
6
+ * display name, description, the schedule fields, and the model picker;
7
+ * Configuration holds the markdown Instructions editor. Field values,
8
+ * validation errors, and model options are all supplied by the host app;
9
+ * this component holds no state of its own and performs no routing, i18n,
10
+ * or network calls.
11
+ */
12
+ export declare const ScheduledTaskCreateForm: FC<ScheduledTaskCreateFormProps>;
13
+ //# sourceMappingURL=ScheduledTaskCreateForm.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTaskCreateForm.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTaskCreateForm/ScheduledTaskCreateForm.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAuC,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+CAA+C,CAAC;AA2B7F;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA4UpE,CAAC"}
@@ -0,0 +1,5 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { ScheduledTasksProps } from '../../models/scheduled-tasks-props';
3
+ /**
4
+ * Scheduled Tasks page shell: header with title/subtitle/create action, a
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
+ * section-grouped card grid, depending on `isLoading`/`error`/`items`.
8
+ */
9
+ export declare const ScheduledTasks: FC<ScheduledTasksProps>;
10
+ //# sourceMappingURL=ScheduledTasks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScheduledTasks.d.ts","sourceRoot":"","sources":["../../../src/components/ScheduledTasks/ScheduledTasks.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAE,EAAE,EAA8B,MAAM,OAAO,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AA6CzE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA4PlD,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Maximum allowed length, in characters, of {@link ScheduledTaskCreateFormValues.description}. */
2
+ export declare const DESCRIPTION_MAX_LENGTH = 500;
3
+ //# sourceMappingURL=scheduled-task-create-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-create-form.d.ts","sourceRoot":"","sources":["../../src/constants/scheduled-task-create-form.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,eAAO,MAAM,sBAAsB,MAAM,CAAC"}
package/index.css ADDED
@@ -0,0 +1,2 @@
1
+ ._title_14goq_1{color:var(--stc-title-text,var(--text-primary,#161b2d))}._description_14goq_5{color:var(--stc-desc-text,var(--text-control-disable,#6b7280))}._schedulePill_14goq_9{background:var(--stc-pill-bg,var(--bg-layer-sunken,#eef1f7));border-color:var(--stc-pill-border,var(--stroke-tertiary,#e0e6f0))}._scheduleLabel_14goq_14{color:var(--stc-schedule-label-text,var(--text-control-disable,#6b7280))}._locationLabel_14goq_18{color:var(--stc-location-label-text,var(--text-secondary,#6b7280))}._locationLeaf_14goq_22{color:var(--stc-location-leaf-text,var(--text-secondary,#6b7280))}._newBadge_14goq_26{background:var(--stc-new-badge-bg,var(--bg-control-accent,#124ace));color:var(--stc-new-badge-text,var(--text-control-permanent,#fcfcfc))}._locationDivider_14goq_31{border-top:1px solid var(--stc-location-divider-border,var(--stroke-tertiary,#e0e6f0))}._countBadge_5ysac_1{background:var(--sts-badge-bg,var(--bg-layer-raised,#fcfcfc));color:var(--sts-badge-text,var(--text-secondary,#6b7280))}._container_sac6a_1{background:var(--st-bg,var(--bg-layer-base,#f5f7fa))}._subtitle_sac6a_5{color:var(--st-subtitle-text,var(--text-secondary,#6b7280))}._sortButton_sac6a_9{color:var(--st-sort-text,var(--text-accent,#1d4ed8))}._container_1wply_1{background:var(--stcf-bg,var(--bg-layer-base,#f5f7fa))}._header_1wply_5{border-bottom-color:var(--stcf-header-border,var(--stroke-tertiary,#e0e6f0))}._detailsColumn_1wply_9{border-inline-end-color:var(--stcf-details-border,var(--stroke-tertiary,#e0e6f0))}._sectionSubtitle_1wply_13{color:var(--stcf-subtitle-text,var(--text-secondary,#6b7280))}._instructionsError_1wply_17{color:var(--stcf-error-text,var(--text-error,#ae2f2f))}
2
+ /*$vite$:1*/
package/index.d.ts ADDED
@@ -0,0 +1,18 @@
1
+ export { ScheduledTasks } from './components/ScheduledTasks/ScheduledTasks';
2
+ export type { ScheduledTasksProps, ScheduledTasksLabels, ScheduledTasksSortOption, ScheduledTasksStyles, ScheduledTasksColors, ScheduledTasksTypography, } from './models/scheduled-tasks-props';
3
+ export { ScheduledTaskCard } from './components/ScheduledTaskCard/ScheduledTaskCard';
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
+ export { ScheduledTaskCardGrid } from './components/ScheduledTaskCardGrid/ScheduledTaskCardGrid';
8
+ export type { ScheduledTaskCardGridProps, ScheduledTaskCardGridLabels, } from './models/scheduled-task-card-grid-props';
9
+ export { ScheduledTaskCardSkeleton } from './components/ScheduledTaskCardSkeleton/ScheduledTaskCardSkeleton';
10
+ export type { ScheduledTaskCardSkeletonProps, ScheduledTaskCardSkeletonStyles, ScheduledTaskCardSkeletonColors, } from './models/scheduled-task-card-skeleton-props';
11
+ export type { ScheduledTaskItem, ScheduledTaskSortValues, } from './models/scheduled-task-item';
12
+ export { ScheduledTaskSectionKey } from './models/scheduled-task-item';
13
+ export { ScheduledTasksSortKey } from './types/scheduled-tasks-sort-key';
14
+ export { ScheduledTaskCreateForm } from './components/ScheduledTaskCreateForm/ScheduledTaskCreateForm';
15
+ export type { ScheduledTaskCreateFormProps, ScheduledTaskCreateFormLabels, ScheduledTaskCreateFormValues, ScheduledTaskCreateFormErrors, ScheduledTaskCreateFormStyles, ScheduledTaskCreateFormColors, ScheduledTaskCreateFormTypography, ScheduledTaskCreateFormModelOption, ScheduledTaskFrequencyOption, } from './models/scheduled-task-create-form-props';
16
+ export { DESCRIPTION_MAX_LENGTH } from './constants/scheduled-task-create-form';
17
+ export { ScheduledTaskFrequency, ScheduledTaskScheduleType, } from './types/scheduled-task-schedule';
18
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +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,wBAAwB,EACxB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM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