@dxs-ts/eveli-ide 0.0.263 → 0.0.264

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 (31) hide show
  1. package/build/api-task/task-types.d.ts +10 -19
  2. package/build/{cssMode-B74bDevy.js → cssMode-C_GQpyW4.js} +1 -1
  3. package/build/eveli-fetch/createFileFetch.d.ts +2 -84
  4. package/build/eveli-task-stats/stat-types.d.ts +20 -0
  5. package/build/eveli-task-stats/usePriorityCount.d.ts +14 -0
  6. package/build/eveli-task-stats/useStatusCount.d.ts +14 -0
  7. package/build/eveli-task-stats/useStatusTimeline.d.ts +5 -0
  8. package/build/eveli-task-stats/useTaskOverdue.d.ts +7 -0
  9. package/build/fetch/worker.rest.api.tasks.get.d.ts +2 -0
  10. package/build/fetchTree.gen.d.ts +2 -92
  11. package/build/{freemarker2-eMzxFlAH.js → freemarker2-hB_GEGwU.js} +1 -1
  12. package/build/{handlebars-DIsttMhB.js → handlebars-BpMNEmRI.js} +1 -1
  13. package/build/{html-7nq8Eair.js → html-Xx_gh16S.js} +1 -1
  14. package/build/{htmlMode-Dw6Fq7E0.js → htmlMode-kEhRTXXo.js} +1 -1
  15. package/build/{index-BwrBJhTc.js → index-DSbpXN8T.js} +21094 -21116
  16. package/build/index.js +1 -1
  17. package/build/{javascript-BHYBIAiV.js → javascript-D0LggFyO.js} +1 -1
  18. package/build/{jsonMode-BfXULRCQ.js → jsonMode-WyZk3-VQ.js} +1 -1
  19. package/build/{liquid-AR4lB0PB.js → liquid-DWGqkOrc.js} +1 -1
  20. package/build/{mdx-fanTycsj.js → mdx-CXUrf5Gk.js} +1 -1
  21. package/build/{python-DTLyogDL.js → python-CiZeJ0Cd.js} +1 -1
  22. package/build/{razor-DXewpBgu.js → razor-DuNsjwil.js} +1 -1
  23. package/build/{tsMode-CRW0eEvN.js → tsMode-DTbDTHmb.js} +1 -1
  24. package/build/{typescript-q2Ic7EDn.js → typescript-CQVbbdWU.js} +1 -1
  25. package/build/{xml-1SCy6NKl.js → xml-CKsvLMAg.js} +1 -1
  26. package/build/{yaml-DgBJDn4B.js → yaml-BWGCbVTf.js} +1 -1
  27. package/package.json +1 -1
  28. package/build/fetch/statistics.priority.d.ts +0 -20
  29. package/build/fetch/statistics.status-timeline.d.ts +0 -6
  30. package/build/fetch/statistics.status.d.ts +0 -20
  31. package/build/fetch/statistics.task-overdue.d.ts +0 -11
@@ -113,23 +113,14 @@ export declare namespace TaskApi {
113
113
  questionnaireId?: string | undefined;
114
114
  }
115
115
  type TaskFeatureType = 'feedback';
116
- type TaskPriorityStatistics = {
117
- count: number;
118
- priority: TaskApi.TaskPriority;
119
- };
120
- type TaskStatusStatistics = {
121
- count: number;
122
- status: TaskApi.TaskStatus;
123
- };
124
- type OverdueByGroupStatistics = {
125
- count: number;
126
- assignedId: string;
127
- };
128
- type TaskStatusTimelineStatistics = {
129
- statusDate: Date;
130
- new: number;
131
- open: number;
132
- completed: number;
133
- rejected: number;
134
- };
116
+ interface TaskDasboard {
117
+ events: GrimMissionAttributeEvent[];
118
+ }
119
+ interface GrimMissionAttributeEvent {
120
+ eventDate: string;
121
+ eventCount: number;
122
+ eventType: GrimMissionAttributeEventType;
123
+ attributeValue: string;
124
+ }
125
+ type GrimMissionAttributeEventType = ('STATUS' | 'PRIORITY' | 'STATUS_DATE' | 'OVERDUE');
135
126
  }
@@ -1,4 +1,4 @@
1
- import { m as et } from "./index-BwrBJhTc.js";
1
+ import { m as et } from "./index-DSbpXN8T.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -72,90 +72,6 @@ export declare class RootFileFetch {
72
72
  }>, "dialob", "GET", {}, {}, {
73
73
  dialobUrl: string;
74
74
  }>;
75
- } | {
76
- id: "statistics/priority.GET";
77
- path: "statistics/priority";
78
- method: "GET";
79
- params: {};
80
- hook: HookImpl<"statistics/priority.GET", Hook<{}, {
81
- taskPriorityNames: {
82
- priority: string;
83
- count: number;
84
- }[] | undefined;
85
- taskPriorityStats: import("..").TaskApi.TaskPriorityStatistics[] | undefined;
86
- taskPriorityMapping: {
87
- LOW: string;
88
- NORMAL: string;
89
- HIGH: string;
90
- };
91
- }>, "statistics/priority", "GET", {}, {}, {
92
- taskPriorityNames: {
93
- priority: string;
94
- count: number;
95
- }[] | undefined;
96
- taskPriorityStats: import("..").TaskApi.TaskPriorityStatistics[] | undefined;
97
- taskPriorityMapping: {
98
- LOW: string;
99
- NORMAL: string;
100
- HIGH: string;
101
- };
102
- }>;
103
- } | {
104
- id: "statistics/status-timeline.GET";
105
- path: "statistics/status-timeline";
106
- method: "GET";
107
- params: {};
108
- hook: HookImpl<"statistics/status-timeline.GET", Hook<{}, {
109
- taskTimelineStats: import("..").TaskApi.TaskStatusTimelineStatistics[] | undefined;
110
- }>, "statistics/status-timeline", "GET", {}, {}, {
111
- taskTimelineStats: import("..").TaskApi.TaskStatusTimelineStatistics[] | undefined;
112
- }>;
113
- } | {
114
- id: "statistics/status.GET";
115
- path: "statistics/status";
116
- method: "GET";
117
- params: {};
118
- hook: HookImpl<"statistics/status.GET", Hook<{}, {
119
- taskStatusNames: {
120
- status: string;
121
- count: number;
122
- }[] | undefined;
123
- taskStatusStats: import("..").TaskApi.TaskStatusStatistics[] | undefined;
124
- taskStatusMapping: {
125
- NEW: string;
126
- OPEN: string;
127
- COMPLETED: string;
128
- REJECTED: string;
129
- };
130
- }>, "statistics/status", "GET", {}, {}, {
131
- taskStatusNames: {
132
- status: string;
133
- count: number;
134
- }[] | undefined;
135
- taskStatusStats: import("..").TaskApi.TaskStatusStatistics[] | undefined;
136
- taskStatusMapping: {
137
- NEW: string;
138
- OPEN: string;
139
- COMPLETED: string;
140
- REJECTED: string;
141
- };
142
- }>;
143
- } | {
144
- id: "statistics/task-overdue.GET";
145
- path: "statistics/task-overdue";
146
- method: "GET";
147
- params: {};
148
- hook: HookImpl<"statistics/task-overdue.GET", Hook<{}, {
149
- tasksOverdue: {
150
- assignedId: string;
151
- count: number;
152
- }[] | undefined;
153
- }>, "statistics/task-overdue", "GET", {}, {}, {
154
- tasksOverdue: {
155
- assignedId: string;
156
- count: number;
157
- }[] | undefined;
158
- }>;
159
75
  } | {
160
76
  id: "worker/rest/api/assets/any-tags/stencil-tags.GET";
161
77
  path: "worker/rest/api/assets/any-tags/stencil-tags";
@@ -862,6 +778,7 @@ export declare class RootFileFetch {
862
778
  method: "GET";
863
779
  params: {};
864
780
  hook: HookImpl<"worker/rest/api/tasks.GET", Hook<{}, {
781
+ dashboard: () => Promise<import("..").TaskApi.TaskDasboard>;
865
782
  findAll: () => Promise<import("..").TaskApi.Task[]>;
866
783
  getTasks: (page?: number, size?: number) => Promise<import('@material-table/core').QueryResult<import("..").TaskApi.Task>>;
867
784
  loadTasks: (query: import('@material-table/core').Query<import("..").TaskApi.Task>, columns: import('@material-table/core').Column<any>[]) => Promise<{
@@ -870,6 +787,7 @@ export declare class RootFileFetch {
870
787
  totalCount: any;
871
788
  }>;
872
789
  }>, "worker/rest/api/tasks", "GET", {}, {}, {
790
+ dashboard: () => Promise<import("..").TaskApi.TaskDasboard>;
873
791
  findAll: () => Promise<import("..").TaskApi.Task[]>;
874
792
  getTasks: (page?: number, size?: number) => Promise<import('@material-table/core').QueryResult<import("..").TaskApi.Task>>;
875
793
  loadTasks: (query: import('@material-table/core').Query<import("..").TaskApi.Task>, columns: import('@material-table/core').Column<any>[]) => Promise<{
@@ -0,0 +1,20 @@
1
+ import { TaskApi } from '../api-task';
2
+ export type TaskPriorityStatistics = {
3
+ count: number;
4
+ priority: TaskApi.TaskPriority;
5
+ };
6
+ export type TaskStatusStatistics = {
7
+ count: number;
8
+ status: TaskApi.TaskStatus;
9
+ };
10
+ export type OverdueByGroupStatistics = {
11
+ count: number;
12
+ assignedId: string;
13
+ };
14
+ export type TaskStatusTimelineStatistics = {
15
+ statusDate: Date;
16
+ new: number;
17
+ open: number;
18
+ completed: number;
19
+ rejected: number;
20
+ };
@@ -0,0 +1,14 @@
1
+ import { TaskApi } from '../api-task';
2
+ import { TaskPriorityStatistics } from './stat-types';
3
+ type PriorityTitleMap = {
4
+ [priority in TaskApi.TaskPriority]: string;
5
+ };
6
+ export declare function usePriorityCount(dashboard: TaskApi.TaskDasboard): {
7
+ taskPriorityNames: {
8
+ priority: string;
9
+ count: number;
10
+ }[] | undefined;
11
+ taskPriorityStats: TaskPriorityStatistics[] | undefined;
12
+ taskPriorityMapping: PriorityTitleMap;
13
+ };
14
+ export {};
@@ -0,0 +1,14 @@
1
+ import { TaskApi } from '../api-task';
2
+ import { TaskStatusStatistics } from './stat-types';
3
+ type StatusTitleMap = {
4
+ [status in TaskApi.TaskStatus]: string;
5
+ };
6
+ export declare function useStatusCount(dashboard: TaskApi.TaskDasboard): {
7
+ taskStatusNames: {
8
+ status: string;
9
+ count: number;
10
+ }[] | undefined;
11
+ taskStatusStats: TaskStatusStatistics[] | undefined;
12
+ taskStatusMapping: StatusTitleMap;
13
+ };
14
+ export {};
@@ -0,0 +1,5 @@
1
+ import { TaskApi } from '../api-task';
2
+ import { TaskStatusTimelineStatistics } from './stat-types';
3
+ export declare function useStatusTimeline(dashboard: TaskApi.TaskDasboard): {
4
+ taskTimelineStats: TaskStatusTimelineStatistics[] | undefined;
5
+ };
@@ -0,0 +1,7 @@
1
+ import { TaskApi } from '../api-task';
2
+ export declare function useTaskOverdue(dashboard: TaskApi.TaskDasboard): {
3
+ tasksOverdue: {
4
+ assignedId: string;
5
+ count: number;
6
+ }[] | undefined;
7
+ };
@@ -1,6 +1,7 @@
1
1
  import { QueryResult, Column, Query } from '@material-table/core';
2
2
  import { TaskApi } from '../api-task';
3
3
  export declare const Hook: import('../eveli-fetch').HookImpl<"worker/rest/api/tasks.GET", import('../eveli-fetch').Hook<{}, {
4
+ dashboard: () => Promise<TaskApi.TaskDasboard>;
4
5
  findAll: () => Promise<TaskApi.Task[]>;
5
6
  getTasks: (page?: number, size?: number) => Promise<QueryResult<TaskApi.Task>>;
6
7
  loadTasks: (query: Query<TaskApi.Task>, columns: Column<any>[]) => Promise<{
@@ -9,6 +10,7 @@ export declare const Hook: import('../eveli-fetch').HookImpl<"worker/rest/api/ta
9
10
  totalCount: any;
10
11
  }>;
11
12
  }>, "worker/rest/api/tasks", "GET", {}, {}, {
13
+ dashboard: () => Promise<TaskApi.TaskDasboard>;
12
14
  findAll: () => Promise<TaskApi.Task[]>;
13
15
  getTasks: (page?: number, size?: number) => Promise<QueryResult<TaskApi.Task>>;
14
16
  loadTasks: (query: Query<TaskApi.Task>, columns: Column<any>[]) => Promise<{
@@ -33,70 +33,6 @@ declare const dialobGETRoute: import('./eveli-fetch').HookImpl<"dialob.GET", imp
33
33
  }>, "dialob", "GET", {}, {}, {
34
34
  dialobUrl: string;
35
35
  }>;
36
- declare const statisticsPriorityGETRoute: import('./eveli-fetch').HookImpl<"statistics/priority.GET", import('./eveli-fetch').Hook<{}, {
37
- taskPriorityNames: {
38
- priority: string;
39
- count: number;
40
- }[] | undefined;
41
- taskPriorityStats: import("./index.ts").TaskApi.TaskPriorityStatistics[] | undefined;
42
- taskPriorityMapping: {
43
- LOW: string;
44
- NORMAL: string;
45
- HIGH: string;
46
- };
47
- }>, "statistics/priority", "GET", {}, {}, {
48
- taskPriorityNames: {
49
- priority: string;
50
- count: number;
51
- }[] | undefined;
52
- taskPriorityStats: import("./index.ts").TaskApi.TaskPriorityStatistics[] | undefined;
53
- taskPriorityMapping: {
54
- LOW: string;
55
- NORMAL: string;
56
- HIGH: string;
57
- };
58
- }>;
59
- declare const statisticsStatusTimelineGETRoute: import('./eveli-fetch').HookImpl<"statistics/status-timeline.GET", import('./eveli-fetch').Hook<{}, {
60
- taskTimelineStats: import("./index.ts").TaskApi.TaskStatusTimelineStatistics[] | undefined;
61
- }>, "statistics/status-timeline", "GET", {}, {}, {
62
- taskTimelineStats: import("./index.ts").TaskApi.TaskStatusTimelineStatistics[] | undefined;
63
- }>;
64
- declare const statisticsStatusGETRoute: import('./eveli-fetch').HookImpl<"statistics/status.GET", import('./eveli-fetch').Hook<{}, {
65
- taskStatusNames: {
66
- status: string;
67
- count: number;
68
- }[] | undefined;
69
- taskStatusStats: import("./index.ts").TaskApi.TaskStatusStatistics[] | undefined;
70
- taskStatusMapping: {
71
- NEW: string;
72
- OPEN: string;
73
- COMPLETED: string;
74
- REJECTED: string;
75
- };
76
- }>, "statistics/status", "GET", {}, {}, {
77
- taskStatusNames: {
78
- status: string;
79
- count: number;
80
- }[] | undefined;
81
- taskStatusStats: import("./index.ts").TaskApi.TaskStatusStatistics[] | undefined;
82
- taskStatusMapping: {
83
- NEW: string;
84
- OPEN: string;
85
- COMPLETED: string;
86
- REJECTED: string;
87
- };
88
- }>;
89
- declare const statisticsTaskOverdueGETRoute: import('./eveli-fetch').HookImpl<"statistics/task-overdue.GET", import('./eveli-fetch').Hook<{}, {
90
- tasksOverdue: {
91
- assignedId: string;
92
- count: number;
93
- }[] | undefined;
94
- }>, "statistics/task-overdue", "GET", {}, {}, {
95
- tasksOverdue: {
96
- assignedId: string;
97
- count: number;
98
- }[] | undefined;
99
- }>;
100
36
  declare const workerRestApiAssetsAnyTagsStencilTagsGETRoute: import('./eveli-fetch').HookImpl<"worker/rest/api/assets/any-tags/stencil-tags.GET", import('./eveli-fetch').Hook<{}, {
101
37
  contentTags: import("./index.ts").PublicationApi.AssetTag[] | undefined;
102
38
  }>, "worker/rest/api/assets/any-tags/stencil-tags", "GET", {}, {}, {
@@ -460,6 +396,7 @@ declare const workerRestApiTasksTaskIdReviewsGETRoute: import('./eveli-fetch').H
460
396
  fetchReviewGet: (sessionId: string) => Promise<Response>;
461
397
  }>;
462
398
  declare const workerRestApiTasksGETRoute: import('./eveli-fetch').HookImpl<"worker/rest/api/tasks.GET", import('./eveli-fetch').Hook<{}, {
399
+ dashboard: () => Promise<import("./index.ts").TaskApi.TaskDasboard>;
463
400
  findAll: () => Promise<import("./index.ts").TaskApi.Task[]>;
464
401
  getTasks: (page?: number, size?: number) => Promise<import('@material-table/core').QueryResult<import("./index.ts").TaskApi.Task>>;
465
402
  loadTasks: (query: import('@material-table/core').Query<import("./index.ts").TaskApi.Task>, columns: import('@material-table/core').Column<any>[]) => Promise<{
@@ -468,6 +405,7 @@ declare const workerRestApiTasksGETRoute: import('./eveli-fetch').HookImpl<"work
468
405
  totalCount: any;
469
406
  }>;
470
407
  }>, "worker/rest/api/tasks", "GET", {}, {}, {
408
+ dashboard: () => Promise<import("./index.ts").TaskApi.TaskDasboard>;
471
409
  findAll: () => Promise<import("./index.ts").TaskApi.Task[]>;
472
410
  getTasks: (page?: number, size?: number) => Promise<import('@material-table/core').QueryResult<import("./index.ts").TaskApi.Task>>;
473
411
  loadTasks: (query: import('@material-table/core').Query<import("./index.ts").TaskApi.Task>, columns: import('@material-table/core').Column<any>[]) => Promise<{
@@ -543,34 +481,6 @@ declare module './eveli-fetch' {
543
481
  params: {};
544
482
  hook: typeof dialobGETRoute;
545
483
  };
546
- 'statistics/priority.GET': {
547
- id: 'statistics/priority.GET';
548
- path: 'statistics/priority';
549
- method: 'GET';
550
- params: {};
551
- hook: typeof statisticsPriorityGETRoute;
552
- };
553
- 'statistics/status-timeline.GET': {
554
- id: 'statistics/status-timeline.GET';
555
- path: 'statistics/status-timeline';
556
- method: 'GET';
557
- params: {};
558
- hook: typeof statisticsStatusTimelineGETRoute;
559
- };
560
- 'statistics/status.GET': {
561
- id: 'statistics/status.GET';
562
- path: 'statistics/status';
563
- method: 'GET';
564
- params: {};
565
- hook: typeof statisticsStatusGETRoute;
566
- };
567
- 'statistics/task-overdue.GET': {
568
- id: 'statistics/task-overdue.GET';
569
- path: 'statistics/task-overdue';
570
- method: 'GET';
571
- params: {};
572
- hook: typeof statisticsTaskOverdueGETRoute;
573
- };
574
484
  'worker/rest/api/assets/any-tags/stencil-tags.GET': {
575
485
  id: 'worker/rest/api/assets/any-tags/stencil-tags.GET';
576
486
  path: 'worker/rest/api/assets/any-tags/stencil-tags';
@@ -1,4 +1,4 @@
1
- import { m as f } from "./index-BwrBJhTc.js";
1
+ import { m as f } from "./index-DSbpXN8T.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as l } from "./index-BwrBJhTc.js";
1
+ import { m as l } from "./index-DSbpXN8T.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as s } from "./index-BwrBJhTc.js";
1
+ import { m as s } from "./index-DSbpXN8T.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
@@ -1,4 +1,4 @@
1
- import { m as lt } from "./index-BwrBJhTc.js";
1
+ import { m as lt } from "./index-DSbpXN8T.js";
2
2
  /*!-----------------------------------------------------------------------------
3
3
  * Copyright (c) Microsoft Corporation. All rights reserved.
4
4
  * Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)