@colijnit/sharedcomponents 255.1.10 → 255.1.12
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/bundles/colijnit-sharedcomponents.umd.js +46 -17
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +62 -51
- package/esm2015/lib/components/modify-task-form/components/base-activity-summary.component.js +4 -5
- package/esm2015/lib/components/open-activity-list/component-activity-list.component.js +3 -6
- package/esm2015/lib/service/shared-connector.service.js +16 -1
- package/esm2015/lib/service/shared.service.js +6 -1
- package/fesm2015/colijnit-sharedcomponents.js +86 -58
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +2 -2
- package/lib/components/activity-list/style/_layout.scss +10 -8
- package/lib/components/activity-overview-component/style/_layout.scss +20 -4
- package/lib/components/modify-task-form/components/base-activity-summary.component.d.ts +0 -1
- package/lib/service/shared-connector.service.d.ts +2 -0
- package/lib/service/shared.service.d.ts +2 -0
- package/main.fb2a972348d07d7127fb.js +1 -0
- package/package.json +1 -1
- package/{styles.57c23ba3573224ff8f2a.css → styles.8fce26887e7ff9657567.css} +1 -1
- package/main.931714f0ac27b7915073.js +0 -1
package/index.html
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
<base href="/">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
7
|
-
<style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}*{box-sizing:border-box;padding:0;margin:0}</style><link rel="stylesheet" href="styles.
|
|
7
|
+
<style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}*{box-sizing:border-box;padding:0;margin:0}</style><link rel="stylesheet" href="styles.8fce26887e7ff9657567.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.8fce26887e7ff9657567.css"></noscript></head>
|
|
8
8
|
<body>
|
|
9
9
|
<app-root></app-root>
|
|
10
|
-
<script src="runtime.8aac21847ed3d3829cca.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.
|
|
10
|
+
<script src="runtime.8aac21847ed3d3829cca.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.fb2a972348d07d7127fb.js" defer></script>
|
|
11
11
|
|
|
12
12
|
</body></html>
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
.activity-list-wrapper {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
|
|
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:
|
|
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-
|
|
37
|
+
background-color: $sc-color-light;
|
|
38
38
|
padding: 15px;
|
|
39
|
-
color: #
|
|
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:
|
|
50
|
+
font-size: 12px;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -57,12 +57,11 @@
|
|
|
57
57
|
|
|
58
58
|
.activity-fired-triggers {
|
|
59
59
|
position: absolute;
|
|
60
|
-
left:
|
|
60
|
+
left: 0px;
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-direction: row;
|
|
63
63
|
column-gap: 5px;
|
|
64
64
|
align-items: center;
|
|
65
|
-
|
|
66
65
|
.activity-fired-trigger {
|
|
67
66
|
border-radius: 5px;
|
|
68
67
|
background-color: $sc-color-trigger;
|
|
@@ -71,6 +70,9 @@
|
|
|
71
70
|
padding-bottom: 5px;
|
|
72
71
|
padding-left: 20px;
|
|
73
72
|
padding-right: 20px;
|
|
73
|
+
span {
|
|
74
|
+
color: #FFF;
|
|
75
|
+
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
.icon-indicators {
|
|
@@ -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:
|
|
28
|
+
padding: 4px 15px;
|
|
26
29
|
border-radius: 5px;
|
|
27
|
-
background: #
|
|
30
|
+
background: #5FDCB399;
|
|
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 {
|
|
@@ -66,11 +76,15 @@
|
|
|
66
76
|
.overview-main {
|
|
67
77
|
display: flex;
|
|
68
78
|
width: 100%;
|
|
69
|
-
flex-direction:
|
|
70
|
-
margin-top: 10px;
|
|
79
|
+
flex-direction: column;
|
|
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 {
|
|
@@ -79,6 +93,7 @@
|
|
|
79
93
|
height: auto;
|
|
80
94
|
padding: 5px 15px;
|
|
81
95
|
cursor: pointer;
|
|
96
|
+
margin-right: auto;
|
|
82
97
|
&:after {
|
|
83
98
|
display: none;
|
|
84
99
|
}
|
|
@@ -95,6 +110,7 @@
|
|
|
95
110
|
height: auto;
|
|
96
111
|
padding: 5px 15px;
|
|
97
112
|
cursor: pointer;
|
|
113
|
+
margin-right: auto;
|
|
98
114
|
span {
|
|
99
115
|
font-size: 10px;
|
|
100
116
|
color: #5FDCB3;
|
|
@@ -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>;
|