@colijnit/sharedcomponents 255.1.9 → 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.
Files changed (30) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +49 -20
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.metadata.json +1 -1
  4. package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +62 -51
  5. package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +4 -5
  6. package/esm2015/lib/components/modify-task-form/components/creation-summary-block/creation-summary-block.component.js +5 -3
  7. package/esm2015/lib/components/modify-task-form/components/status-summary-block/status-summary-block.component.js +7 -7
  8. package/esm2015/lib/components/modify-task-form/modify-task-form.component.js +14 -12
  9. package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +3 -6
  10. package/esm2015/lib/service/shared-connector.service.js +16 -1
  11. package/esm2015/lib/service/shared.service.js +6 -1
  12. package/fesm2015/colijnit-sharedcomponents.js +109 -77
  13. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  14. package/lib/components/activity-list/style/_layout.scss +6 -6
  15. package/lib/components/activity-overview-component/style/_layout.scss +16 -2
  16. package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +0 -1
  17. package/lib/components/modify-task-form/components/creation-summary-block/style/_layout.scss +8 -1
  18. package/lib/components/modify-task-form/components/status-summary-block/style/_layout.scss +6 -3
  19. package/lib/components/open-activity-list/style/_layout.scss +14 -0
  20. package/lib/components/send-method-dialog/style/_layout.scss +1 -1
  21. package/lib/service/shared-connector.service.d.ts +2 -0
  22. package/lib/service/shared.service.d.ts +2 -0
  23. package/package.json +1 -1
  24. package/3rdpartylicenses.txt +0 -1405
  25. package/favicon.ico +0 -0
  26. package/index.html +0 -12
  27. package/main.56255a1c1f2780f1c8cd.js +0 -1
  28. package/polyfills.907fe9d1887c5de17993.js +0 -1
  29. package/runtime.8aac21847ed3d3829cca.js +0 -1
  30. package/styles.769d30d0783262abe50e.css +0 -1
@@ -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;
@@ -1,5 +1,12 @@
1
1
  @include export-module('co-creation-summary-block') {
2
2
  .co-creation-summary-block {
3
-
3
+ .creation-summary-date-wrapper {
4
+ display: flex;
5
+ gap: 10px;
6
+ align-items: center;
7
+ & > * {
8
+ flex: 1;
9
+ }
10
+ }
4
11
  }
5
12
  }
@@ -1,9 +1,12 @@
1
1
  @include export-module('co-status-summary-block-layout') {
2
2
  .co-status-summary-block {
3
3
  .status-summary-date-wrapper {
4
- display: grid;
5
- grid-column-gap: 2px;
6
- grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
4
+ display: flex;
5
+ gap: 5px;
6
+ align-items: center;
7
+ & > * {
8
+ flex: 1;
9
+ }
7
10
  }
8
11
 
9
12
  ::ng-deep #status_summary_block_edit_template {
@@ -22,6 +22,20 @@
22
22
  height: 20px;
23
23
  }
24
24
  }
25
+ .task-column {
26
+ display: flex;
27
+ flex-direction: column;
28
+ gap: 5px;
29
+ margin-top: 15px;
30
+ }
31
+ .marked-time-wrapper {
32
+ margin-bottom: 15px;
33
+ }
34
+ .co-input-text, .co-list-of-values, .co-input-textarea {
35
+ &:before {
36
+ box-shadow: none;
37
+ }
38
+ }
25
39
  }
26
40
  }
27
41
  .activity-wrapper {
@@ -24,7 +24,7 @@
24
24
  .co-icon {
25
25
  width: 20px;
26
26
  height: 20px;
27
- margin: 0 0 20px 0;
27
+ margin: 0;
28
28
  }
29
29
  }
30
30
  .dialog-content-wrapper {
@@ -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.9",
3
+ "version": "255.1.11",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",