@codingfactory/task-engine-client 1.0.1 → 1.0.3
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/dist/components/index.d.ts +2 -0
- package/dist/components/list/TaskListView.vue.d.ts +8 -0
- package/dist/components/shared/TaskComposer.vue.d.ts +34 -0
- package/dist/components/shared/TaskCreateWizard.vue.d.ts +34 -0
- package/dist/components/shared/TaskEntityWidget.vue.d.ts +10 -3
- package/dist/composables/useTaskFilters.d.ts +1 -0
- package/dist/composables/useTaskSavedFilters.d.ts +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6723 -5091
- package/dist/stores/taskListStore.d.ts +6 -0
- package/dist/stores/taskStore.d.ts +12 -0
- package/dist/task-engine-client.css +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -21,6 +21,8 @@ export { default as WorkflowLogs } from './workflows/WorkflowLogs.vue';
|
|
|
21
21
|
export { default as TaskPriorityIcon } from './shared/TaskPriorityIcon.vue';
|
|
22
22
|
export { default as TaskEntityWidget } from './shared/TaskEntityWidget.vue';
|
|
23
23
|
export { default as TaskAssigneePicker } from './shared/TaskAssigneePicker.vue';
|
|
24
|
+
export { default as TaskComposer } from './shared/TaskComposer.vue';
|
|
25
|
+
export { default as TaskCreateWizard } from './shared/TaskCreateWizard.vue';
|
|
24
26
|
export { default as TaskDeadlineBadge } from './shared/TaskDeadlineBadge.vue';
|
|
25
27
|
export { default as TaskDeadlineField } from './shared/TaskDeadlineField.vue';
|
|
26
28
|
export { default as TaskImportExportPanel } from './shared/TaskImportExportPanel.vue';
|
|
@@ -8,11 +8,15 @@ type __VLS_Props = {
|
|
|
8
8
|
activeSavedFilterId?: string | null;
|
|
9
9
|
bulkBusy?: boolean;
|
|
10
10
|
bulkResult?: TaskBulkActionResult | null;
|
|
11
|
+
exportLoading?: boolean;
|
|
12
|
+
importLoading?: boolean;
|
|
11
13
|
};
|
|
12
14
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
import: (file: File) => any;
|
|
13
16
|
"select-task": (taskId: string) => any;
|
|
14
17
|
"update:filters": (filters: TaskFilters) => any;
|
|
15
18
|
"quick-create": () => any;
|
|
19
|
+
"create-inline": (title: string) => any;
|
|
16
20
|
"page-change": (page: number) => any;
|
|
17
21
|
"save-filter": () => any;
|
|
18
22
|
"apply-saved-filter": (filterId: string) => any;
|
|
@@ -22,10 +26,13 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
26
|
action: TaskBulkAction;
|
|
23
27
|
params: Record<string, unknown>;
|
|
24
28
|
}) => any;
|
|
29
|
+
export: () => any;
|
|
25
30
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
|
+
onImport?: (file: File) => any;
|
|
26
32
|
"onSelect-task"?: (taskId: string) => any;
|
|
27
33
|
"onUpdate:filters"?: (filters: TaskFilters) => any;
|
|
28
34
|
"onQuick-create"?: () => any;
|
|
35
|
+
"onCreate-inline"?: (title: string) => any;
|
|
29
36
|
"onPage-change"?: (page: number) => any;
|
|
30
37
|
"onSave-filter"?: () => any;
|
|
31
38
|
"onApply-saved-filter"?: (filterId: string) => any;
|
|
@@ -35,5 +42,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
35
42
|
action: TaskBulkAction;
|
|
36
43
|
params: Record<string, unknown>;
|
|
37
44
|
}) => any;
|
|
45
|
+
onExport?: () => any;
|
|
38
46
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
39
47
|
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { TaskDetail, TaskMutationPayload, TaskTemplate, TemplateInstantiationPayload } from '@/types';
|
|
2
|
+
interface TemplateCreateRequest {
|
|
3
|
+
templateId: string;
|
|
4
|
+
payload: TemplateInstantiationPayload;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
templates?: TaskTemplate[];
|
|
8
|
+
busy?: boolean;
|
|
9
|
+
entityContext?: {
|
|
10
|
+
type: string;
|
|
11
|
+
id: string;
|
|
12
|
+
} | null;
|
|
13
|
+
entityLabel?: string | null;
|
|
14
|
+
initialTask?: Partial<TaskDetail> | null;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
cancel: () => any;
|
|
18
|
+
submit: (payload: TaskMutationPayload) => any;
|
|
19
|
+
"instantiate-template": (request: TemplateCreateRequest) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onCancel?: () => any;
|
|
22
|
+
onSubmit?: (payload: TaskMutationPayload) => any;
|
|
23
|
+
"onInstantiate-template"?: (request: TemplateCreateRequest) => any;
|
|
24
|
+
}>, {
|
|
25
|
+
busy: boolean;
|
|
26
|
+
templates: TaskTemplate[];
|
|
27
|
+
entityContext: {
|
|
28
|
+
type: string;
|
|
29
|
+
id: string;
|
|
30
|
+
} | null;
|
|
31
|
+
entityLabel: string | null;
|
|
32
|
+
initialTask: Partial<TaskDetail> | null;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { TaskDetail, TaskMutationPayload, TaskTemplate, TemplateInstantiationPayload } from '@/types';
|
|
2
|
+
interface TemplateCreateRequest {
|
|
3
|
+
templateId: string;
|
|
4
|
+
payload: TemplateInstantiationPayload;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
templates?: TaskTemplate[];
|
|
8
|
+
busy?: boolean;
|
|
9
|
+
entityContext?: {
|
|
10
|
+
type: string;
|
|
11
|
+
id: string;
|
|
12
|
+
} | null;
|
|
13
|
+
entityLabel?: string | null;
|
|
14
|
+
initialTask?: Partial<TaskDetail> | null;
|
|
15
|
+
};
|
|
16
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
cancel: () => any;
|
|
18
|
+
submit: (payload: TaskMutationPayload) => any;
|
|
19
|
+
"instantiate-template": (request: TemplateCreateRequest) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
|
+
onCancel?: () => any;
|
|
22
|
+
onSubmit?: (payload: TaskMutationPayload) => any;
|
|
23
|
+
"onInstantiate-template"?: (request: TemplateCreateRequest) => any;
|
|
24
|
+
}>, {
|
|
25
|
+
busy: boolean;
|
|
26
|
+
templates: TaskTemplate[];
|
|
27
|
+
entityContext: {
|
|
28
|
+
type: string;
|
|
29
|
+
id: string;
|
|
30
|
+
} | null;
|
|
31
|
+
entityLabel: string | null;
|
|
32
|
+
initialTask: Partial<TaskDetail> | null;
|
|
33
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
+
export default _default;
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import type { EntityTaskSummary, TaskMutationPayload, TaskTemplate } from '@/types';
|
|
1
|
+
import type { EntityTaskSummary, TaskMutationPayload, TaskTemplate, TemplateInstantiationPayload } from '@/types';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
entityType: string;
|
|
4
4
|
entityId: string;
|
|
5
|
+
entityName?: string | null;
|
|
5
6
|
summary: EntityTaskSummary | null;
|
|
6
7
|
templates?: TaskTemplate[];
|
|
7
8
|
loading?: boolean;
|
|
8
9
|
};
|
|
9
10
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
"select-task": (taskId: string) => any;
|
|
11
|
-
"instantiate-template": (
|
|
12
|
+
"instantiate-template": (request: {
|
|
13
|
+
templateId: string;
|
|
14
|
+
payload: TemplateInstantiationPayload;
|
|
15
|
+
}) => any;
|
|
12
16
|
"create-task": (payload: TaskMutationPayload) => any;
|
|
13
17
|
"view-all": () => any;
|
|
14
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
19
|
"onSelect-task"?: (taskId: string) => any;
|
|
16
|
-
"onInstantiate-template"?: (
|
|
20
|
+
"onInstantiate-template"?: (request: {
|
|
21
|
+
templateId: string;
|
|
22
|
+
payload: TemplateInstantiationPayload;
|
|
23
|
+
}) => any;
|
|
17
24
|
"onCreate-task"?: (payload: TaskMutationPayload) => any;
|
|
18
25
|
"onView-all"?: () => any;
|
|
19
26
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -16,6 +16,7 @@ export declare function useTaskSavedFilters(): {
|
|
|
16
16
|
priority?: import("@/types").TaskPriority | import("@/types").TaskPriority[];
|
|
17
17
|
assignee?: string;
|
|
18
18
|
assignee_id?: string;
|
|
19
|
+
assignee_name?: string;
|
|
19
20
|
created_by?: string;
|
|
20
21
|
watching?: boolean;
|
|
21
22
|
tag?: string;
|