@colijnit/sharedcomponents 255.1.10 → 255.1.11

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.
@@ -3,8 +3,7 @@
3
3
  .activity-list-wrapper {
4
4
  display: flex;
5
5
  flex-direction: column;
6
- row-gap: 10px;
7
-
6
+ gap: 20px;
8
7
  .activity-wrapper {
9
8
  display: flex;
10
9
  justify-content: flex-end;
@@ -13,7 +12,8 @@
13
12
  display: flex;
14
13
  flex-direction: column;
15
14
  row-gap: 5px;
16
- width: 70%;
15
+ width: 100%;
16
+ max-width: 800px;
17
17
 
18
18
  .activity-display-title {
19
19
  display: flex;
@@ -34,9 +34,9 @@
34
34
  display: flex;
35
35
  flex-direction: column;
36
36
  border-radius: 5px;
37
- background-color: $sc-color-activity;
37
+ background-color: $sc-color-light;
38
38
  padding: 15px;
39
- color: #FFFFFF;
39
+ color: #000;
40
40
  box-shadow: 0px 2px 4px 0px #00000040;
41
41
  .co-icon {
42
42
  svg {
@@ -47,7 +47,7 @@
47
47
  display: flex;
48
48
  align-items: center;
49
49
  span {
50
- font-size: 14px;
50
+ font-size: 12px;
51
51
  }
52
52
  }
53
53
 
@@ -12,6 +12,8 @@
12
12
  display: flex;
13
13
  flex-direction: row;
14
14
  align-items: baseline;
15
+ gap: 30px;
16
+ justify-content: space-between;
15
17
  }
16
18
  .overview-wrapper-icons {
17
19
  display: flex;
@@ -20,12 +22,20 @@
20
22
  .overview-wrapper-labels {
21
23
  display: flex;
22
24
  flex-direction: column;
25
+ gap: 5px;
23
26
  .activity-title {
24
27
  font-size: 12px;
25
- padding: 5px 15px;
28
+ padding: 4px 15px;
26
29
  border-radius: 5px;
27
30
  background: #5FDCB366;
28
31
  border: 1px solid #5FDCB3;
32
+ white-space: nowrap;
33
+ color: #FFF;
34
+ }
35
+ .activity-label {
36
+ min-height: 20px;
37
+ display: flex;
38
+ align-items: center;
29
39
  }
30
40
  }
31
41
  .overview-wrapper-date {
@@ -67,10 +77,14 @@
67
77
  display: flex;
68
78
  width: 100%;
69
79
  flex-direction: row;
70
- margin-top: 10px;
71
80
  flex-wrap: wrap;
72
81
  column-gap: 10px;
73
82
  row-gap: 5px;
83
+ .label-date-activity {
84
+ display: flex;
85
+ justify-content: space-between;
86
+ align-items: center;
87
+ }
74
88
  }
75
89
 
76
90
  .button-trigger {
@@ -29,7 +29,6 @@ export declare abstract class BaseActivitySummaryComponent implements ScreenConf
29
29
  expanded: boolean;
30
30
  noBorder: boolean;
31
31
  readonly: boolean;
32
- prepareWorkflowOperation: OperationCallbackSimpleFunction;
33
32
  loadTaskOperation: OperationCallbackSimpleFunction;
34
33
  set triggerToFireOnSave(value: WorkflowTrigger);
35
34
  get triggerToFireOnSave(): WorkflowTrigger;
@@ -43,6 +43,7 @@ import { Work } from "@colijnit/mainapi/build/model/work.bo";
43
43
  import { Remark } from "@colijnit/mainapi/build/model/remark.bo";
44
44
  import { Task } from "@colijnit/mainapi/build/model/task.bo";
45
45
  import { ActivityEmailHistory } from "@colijnit/mainapi/build/model/activity-email-history.bo";
46
+ import { ActivityWorkflow } from "@colijnit/mainapi/build/model/activity-workflow";
46
47
  export declare class SharedConnectorService {
47
48
  private _optionsService;
48
49
  articleConnector: Articles;
@@ -60,6 +61,7 @@ export declare class SharedConnectorService {
60
61
  getTagsFullTree(category: TagCategory, includeTags: boolean): Promise<TagTreeItem[]>;
61
62
  getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
62
63
  getRelationSmallObject(relationId: number): Promise<RelationSmallObject>;
64
+ getWorkflowStatusForActivity(table: TableName, key: string, component: string): Promise<ActivityWorkflow>;
63
65
  insertActivity(activity: Activity): Promise<boolean>;
64
66
  insertWork(activity: Activity): Promise<Work>;
65
67
  insertRemark(activity: Activity): Promise<Remark>;
@@ -24,6 +24,7 @@ import { Work } from "@colijnit/mainapi/build/model/work.bo";
24
24
  import { Remark } from "@colijnit/mainapi/build/model/remark.bo";
25
25
  import { DictionaryService } from "./dictionary.service";
26
26
  import { ActivityEmailHistory } from "@colijnit/mainapi/build/model/activity-email-history.bo";
27
+ import { ActivityWorkflow } from "@colijnit/mainapi/build/model/activity-workflow";
27
28
  export declare class SharedService {
28
29
  protected readonly locale: LanguageCode;
29
30
  protected options: OptionsService;
@@ -41,6 +42,7 @@ export declare class SharedService {
41
42
  getDocumentContent(docId: number, thumbnail?: boolean): Promise<string>;
42
43
  getComponentActivitiesWithoutRelationFiltering(table: TableName, key: string): Promise<Activity[]>;
43
44
  getRelationSmallObject(relationId: number): Promise<RelationSmallObject>;
45
+ getWorkflowStatusForActivity(table: TableName, key: string, component: string): Promise<ActivityWorkflow>;
44
46
  insertActivity(activity: Activity): Promise<boolean>;
45
47
  insertWork(activity: Activity): Promise<Work>;
46
48
  insertRemark(activity: Activity): Promise<Remark>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "255.1.10",
3
+ "version": "255.1.11",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",