@codingfactory/task-engine-client 1.0.0 → 1.0.1

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.
@@ -0,0 +1,13 @@
1
+ import type { TaskWorkloadSummary } from '@/types';
2
+ type __VLS_Props = {
3
+ summary: TaskWorkloadSummary | null;
4
+ limit?: number;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "select-user": (userId: string) => any;
8
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
9
+ "onSelect-user"?: (userId: string) => any;
10
+ }>, {
11
+ limit: number;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ export default _default;
@@ -3,6 +3,7 @@ export { default as MyTasksToday } from './dashboard/MyTasksToday.vue';
3
3
  export { default as OverdueTracker } from './dashboard/OverdueTracker.vue';
4
4
  export { default as TaskDashboard } from './dashboard/TaskDashboard.vue';
5
5
  export { default as TaskHealthAlerts } from './dashboard/TaskHealthAlerts.vue';
6
+ export { default as TaskWorkloadPanel } from './dashboard/TaskWorkloadPanel.vue';
6
7
  export { default as TeamActivityFeed } from './dashboard/TeamActivityFeed.vue';
7
8
  export { default as UpcomingThisWeek } from './dashboard/UpcomingThisWeek.vue';
8
9
  export { default as WidgetGrid } from './dashboard/WidgetGrid.vue';
@@ -19,9 +20,13 @@ export { default as WorkflowList } from './workflows/WorkflowList.vue';
19
20
  export { default as WorkflowLogs } from './workflows/WorkflowLogs.vue';
20
21
  export { default as TaskPriorityIcon } from './shared/TaskPriorityIcon.vue';
21
22
  export { default as TaskEntityWidget } from './shared/TaskEntityWidget.vue';
23
+ export { default as TaskAssigneePicker } from './shared/TaskAssigneePicker.vue';
24
+ export { default as TaskDeadlineBadge } from './shared/TaskDeadlineBadge.vue';
25
+ export { default as TaskDeadlineField } from './shared/TaskDeadlineField.vue';
22
26
  export { default as TaskImportExportPanel } from './shared/TaskImportExportPanel.vue';
23
27
  export { default as TaskNotificationToast } from './shared/TaskNotificationToast.vue';
24
28
  export { default as TaskQuickCreate } from './shared/TaskQuickCreate.vue';
29
+ export { default as TaskRolePicker } from './shared/TaskRolePicker.vue';
25
30
  export { default as EscalationActions } from './task/EscalationActions.vue';
26
31
  export { default as EscalationBadge } from './task/EscalationBadge.vue';
27
32
  export { default as TaskCard } from './task/TaskCard.vue';
@@ -1,6 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ type __VLS_Props = {
2
+ entityTypeOptions?: Array<{
3
+ value: string;
4
+ label: string;
5
+ }>;
6
+ };
7
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
8
  "navigate-to-task": (taskId: string) => any;
3
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
4
10
  "onNavigate-to-task"?: (taskId: string) => any;
5
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
12
  export default _default;
@@ -2,6 +2,10 @@ import type { RecurringTemplate, RecurringTemplateMutationPayload, TaskTemplate
2
2
  type __VLS_Props = {
3
3
  recurring?: Partial<RecurringTemplate> | null;
4
4
  templates?: TaskTemplate[];
5
+ entityTypeOptions?: Array<{
6
+ value: string;
7
+ label: string;
8
+ }>;
5
9
  submitting?: boolean;
6
10
  mode?: 'create' | 'edit';
7
11
  };
@@ -6,18 +6,18 @@ type __VLS_Props = {
6
6
  includeInactive?: boolean;
7
7
  };
8
8
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ pause: (id: string) => any;
9
10
  edit: (id: string) => any;
10
11
  "update:search": (value: string) => any;
11
12
  "update:includeInactive": (value: boolean) => any;
12
- pause: (id: string) => any;
13
13
  resume: (id: string) => any;
14
14
  remove: (id: string) => any;
15
15
  generate: (id: string) => any;
16
16
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onPause?: (id: string) => any;
17
18
  onEdit?: (id: string) => any;
18
19
  "onUpdate:search"?: (value: string) => any;
19
20
  "onUpdate:includeInactive"?: (value: boolean) => any;
20
- onPause?: (id: string) => any;
21
21
  onResume?: (id: string) => any;
22
22
  onRemove?: (id: string) => any;
23
23
  onGenerate?: (id: string) => any;
@@ -0,0 +1,30 @@
1
+ import type { TaskAssignableUser, UserSummary } from '@/types';
2
+ type __VLS_Props = {
3
+ modelValue?: string | null;
4
+ selectedUser?: TaskAssignableUser | UserSummary | null;
5
+ disabled?: boolean;
6
+ placeholder?: string;
7
+ ariaLabel?: string;
8
+ inputTestId?: string;
9
+ listTestId?: string;
10
+ rankByWorkload?: boolean;
11
+ showWorkload?: boolean;
12
+ };
13
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ select: (user: TaskAssignableUser | null) => any;
15
+ "update:modelValue": (value: string | null) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onSelect?: (user: TaskAssignableUser | null) => any;
18
+ "onUpdate:modelValue"?: (value: string | null) => any;
19
+ }>, {
20
+ placeholder: string;
21
+ modelValue: string | null;
22
+ selectedUser: TaskAssignableUser | UserSummary | null;
23
+ disabled: boolean;
24
+ ariaLabel: string;
25
+ inputTestId: string;
26
+ listTestId: string;
27
+ rankByWorkload: boolean;
28
+ showWorkload: boolean;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ export default _default;
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ show: boolean;
3
+ title: string;
4
+ message: string;
5
+ confirmText?: string;
6
+ cancelText?: string;
7
+ busy?: boolean;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ cancel: () => any;
11
+ confirm: () => any;
12
+ "update:show": (value: boolean) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onCancel?: () => any;
15
+ onConfirm?: () => any;
16
+ "onUpdate:show"?: (value: boolean) => any;
17
+ }>, {
18
+ busy: boolean;
19
+ confirmText: string;
20
+ cancelText: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import type { EscalationTier } from '@/types';
2
+ type DeadlineTaskLike = {
3
+ due_at?: string | null;
4
+ current_escalation_tier?: EscalationTier | null;
5
+ is_overdue?: boolean | null;
6
+ };
7
+ type __VLS_Props = {
8
+ task: DeadlineTaskLike;
9
+ compact?: boolean;
10
+ showRelative?: boolean;
11
+ showNoDeadline?: boolean;
12
+ now?: Date | string | null;
13
+ };
14
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ compact: boolean;
16
+ showRelative: boolean;
17
+ showNoDeadline: boolean;
18
+ now: Date | string | null;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,21 @@
1
+ type __VLS_Props = {
2
+ modelValue?: string | null;
3
+ disabled?: boolean;
4
+ compact?: boolean;
5
+ label?: string;
6
+ dateTestId?: string;
7
+ timeTestId?: string;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:modelValue": (value: string | null) => any;
11
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: (value: string | null) => any;
13
+ }>, {
14
+ label: string;
15
+ compact: boolean;
16
+ modelValue: string | null;
17
+ disabled: boolean;
18
+ dateTestId: string;
19
+ timeTestId: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
10
10
  onSelect?: (toast: TaskNotificationToastItem) => any;
11
11
  onDismiss?: (toastId: string) => any;
12
12
  }>, {
13
- navigate: ((toast: TaskNotificationToastItem) => void) | null;
14
13
  ariaLabel: string;
14
+ navigate: ((toast: TaskNotificationToastItem) => void) | null;
15
15
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
16
  export default _default;
@@ -2,6 +2,7 @@ import type { TaskMutationPayload, TaskTemplate } from '@/types';
2
2
  type __VLS_Props = {
3
3
  templates?: TaskTemplate[];
4
4
  busy?: boolean;
5
+ startExpanded?: boolean;
5
6
  entityContext?: {
6
7
  type: string;
7
8
  id: string;
@@ -0,0 +1,22 @@
1
+ import type { TaskRoleOption } from '@/types';
2
+ type __VLS_Props = {
3
+ modelValue?: string | null;
4
+ options?: TaskRoleOption[];
5
+ disabled?: boolean;
6
+ placeholder?: string;
7
+ inputTestId?: string;
8
+ };
9
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ select: (role: TaskRoleOption) => any;
11
+ "update:modelValue": (value: string | null) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onSelect?: (role: TaskRoleOption) => any;
14
+ "onUpdate:modelValue"?: (value: string | null) => any;
15
+ }>, {
16
+ options: TaskRoleOption[];
17
+ placeholder: string;
18
+ modelValue: string | null;
19
+ disabled: boolean;
20
+ inputTestId: string;
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -1,6 +1,8 @@
1
- import type { TaskWorkflow, TaskWorkflowMutationPayload, TaskWorkflowUpdatePayload } from '@/types';
1
+ import type { TaskRoleOption, TaskTemplate, TaskWorkflow, TaskWorkflowMutationPayload, TaskWorkflowUpdatePayload } from '@/types';
2
2
  type __VLS_Props = {
3
3
  workflow?: TaskWorkflow | null;
4
+ templates?: TaskTemplate[];
5
+ roleOptions?: TaskRoleOption[];
4
6
  mode?: 'create' | 'edit';
5
7
  submitting?: boolean;
6
8
  };
@@ -9,26 +9,26 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
9
9
  workflow: TaskWorkflow;
10
10
  direction: "up" | "down";
11
11
  }) => any;
12
- edit: (workflow: TaskWorkflow) => any;
13
- remove: (workflow: TaskWorkflow) => any;
14
- duplicate: (workflow: TaskWorkflow) => any;
15
12
  toggle: (payload: {
16
13
  workflow: TaskWorkflow;
17
14
  isEnabled: boolean;
18
15
  }) => any;
16
+ edit: (workflow: TaskWorkflow) => any;
17
+ remove: (workflow: TaskWorkflow) => any;
18
+ duplicate: (workflow: TaskWorkflow) => any;
19
19
  logs: (workflow: TaskWorkflow) => any;
20
20
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
21
  onMove?: (payload: {
22
22
  workflow: TaskWorkflow;
23
23
  direction: "up" | "down";
24
24
  }) => any;
25
- onEdit?: (workflow: TaskWorkflow) => any;
26
- onRemove?: (workflow: TaskWorkflow) => any;
27
- onDuplicate?: (workflow: TaskWorkflow) => any;
28
25
  onToggle?: (payload: {
29
26
  workflow: TaskWorkflow;
30
27
  isEnabled: boolean;
31
28
  }) => any;
29
+ onEdit?: (workflow: TaskWorkflow) => any;
30
+ onRemove?: (workflow: TaskWorkflow) => any;
31
+ onDuplicate?: (workflow: TaskWorkflow) => any;
32
32
  onLogs?: (workflow: TaskWorkflow) => any;
33
33
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
34
  export default _default;
@@ -4,12 +4,14 @@ type __VLS_Props = {
4
4
  loading?: boolean;
5
5
  };
6
6
  declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "select-task": (taskId: string) => any;
7
8
  refresh: (filters: {
8
9
  status?: WorkflowLogStatus;
9
10
  date_from?: string;
10
11
  date_to?: string;
11
12
  }) => any;
12
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ "onSelect-task"?: (taskId: string) => any;
13
15
  onRefresh?: (filters: {
14
16
  status?: WorkflowLogStatus;
15
17
  date_from?: string;