@colijnit/sharedcomponents 254.1.5 → 254.1.7
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 +172 -98
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/activity-list/activity-list.component.js +27 -9
- package/esm2015/lib/components/activity-overview-component/component-activity-overview.component.js +29 -3
- package/esm2015/lib/components/task-creator/task-creator.component.js +94 -69
- package/esm2015/lib/enum/icon.enum.js +3 -1
- package/esm2015/lib/model/icon-svg.js +3 -1
- package/esm2015/lib/service/shared.service.js +2 -2
- package/fesm2015/colijnit-sharedcomponents.js +149 -77
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +2 -2
- package/lib/components/activity-list/activity-list.component.d.ts +5 -1
- package/lib/components/activity-list/style/_layout.scss +17 -2
- package/lib/components/activity-overview-component/component-activity-overview.component.d.ts +6 -0
- package/lib/components/activity-overview-component/style/_layout.scss +2 -1
- package/lib/components/task-creator/style/_layout.scss +22 -0
- package/lib/components/task-creator/task-creator.component.d.ts +12 -10
- package/lib/enum/icon.enum.d.ts +2 -0
- package/lib/service/shared.service.d.ts +1 -1
- package/lib/style/_variables.scss +1 -1
- package/main.77b4740be9a9b2b46cce.js +1 -0
- package/package.json +3 -3
- package/{styles.ccda7309f28016f3304b.css → styles.d0261e97459fa67ab440.css} +1 -1
- package/main.9761831eb5f539b50eb2.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.d0261e97459fa67ab440.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.d0261e97459fa67ab440.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.77b4740be9a9b2b46cce.js" defer></script>
|
|
11
11
|
|
|
12
12
|
</body></html>
|
|
@@ -16,11 +16,15 @@ export declare class ActivityListComponent implements OnInit {
|
|
|
16
16
|
readonly ActivityType: typeof ActivityType;
|
|
17
17
|
readonly TimeUtils: typeof TimeUtils;
|
|
18
18
|
showClass(): boolean;
|
|
19
|
-
activities: Activity[];
|
|
19
|
+
set activities(value: Activity[]);
|
|
20
|
+
get activities(): Activity[];
|
|
20
21
|
remarkIcon: Icon;
|
|
21
22
|
workIcon: Icon;
|
|
23
|
+
statusIcon: Icon;
|
|
24
|
+
taskIcon: Icon;
|
|
22
25
|
showActivityPopup: Boolean;
|
|
23
26
|
currentActivityDocuments: CoDocument[];
|
|
27
|
+
private _activities;
|
|
24
28
|
constructor(iconCacheService: IconCacheService, _dictionaryService: DictionaryService);
|
|
25
29
|
ngOnInit(): Promise<void>;
|
|
26
30
|
getRelationKind(author: RelationSmallObject): RelationKind;
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
padding-right: 5px;
|
|
25
25
|
font-size: 11px;
|
|
26
26
|
.co-icon {
|
|
27
|
-
width:
|
|
27
|
+
width: 30px;
|
|
28
28
|
height: 20px;
|
|
29
|
+
padding-left: 10px;
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -51,7 +52,21 @@
|
|
|
51
52
|
flex-direction: row;
|
|
52
53
|
column-gap: 5px;
|
|
53
54
|
align-items: center;
|
|
54
|
-
justify-content:
|
|
55
|
+
justify-content: space-between;
|
|
56
|
+
|
|
57
|
+
.activity-fired-triggers {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: row;
|
|
60
|
+
column-gap: 5px;
|
|
61
|
+
align-items: center;
|
|
62
|
+
border-radius: 5px;
|
|
63
|
+
background-color: $sc-color-trigger;
|
|
64
|
+
font-size: x-small;
|
|
65
|
+
padding-top: 5px;
|
|
66
|
+
padding-bottom: 5px;
|
|
67
|
+
padding-left: 20px;
|
|
68
|
+
padding-right: 20px;
|
|
69
|
+
}
|
|
55
70
|
|
|
56
71
|
.co-icon {
|
|
57
72
|
width: 20px;
|
package/lib/components/activity-overview-component/component-activity-overview.component.d.ts
CHANGED
|
@@ -4,12 +4,18 @@ import { Icon } from "../../enum/icon.enum";
|
|
|
4
4
|
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
5
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
6
6
|
import { SharedService } from "../../service/shared.service";
|
|
7
|
+
import { Activity } from "@colijnit/mainapi/build/model/activity.bo";
|
|
7
8
|
export declare class ComponentActivityOverviewComponent extends BaseActivityOverviewComponent {
|
|
8
9
|
iconCacheService: IconCacheService;
|
|
9
10
|
dialogService: CoreDialogService;
|
|
10
11
|
dictionaryService: DictionaryService;
|
|
11
12
|
protected sharedService: SharedService;
|
|
12
13
|
readonly Icon: typeof Icon;
|
|
14
|
+
remarkIcon: Icon;
|
|
15
|
+
workIcon: Icon;
|
|
16
|
+
statusIcon: Icon;
|
|
17
|
+
taskIcon: Icon;
|
|
13
18
|
showClass(): boolean;
|
|
14
19
|
constructor(iconCacheService: IconCacheService, dialogService: CoreDialogService, dictionaryService: DictionaryService, sharedService: SharedService);
|
|
20
|
+
getActivityIcon(activity: Activity): Icon;
|
|
15
21
|
}
|
|
@@ -5,14 +5,36 @@
|
|
|
5
5
|
.input-fields {
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
|
+
width: 100%;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 15px;
|
|
8
11
|
.ask-input-fields {
|
|
9
12
|
display: flex;
|
|
10
13
|
flex-direction: column;
|
|
11
14
|
}
|
|
15
|
+
.co-input-text {
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
.co-list-of-icons {
|
|
19
|
+
.icon-item {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
12
24
|
}
|
|
13
25
|
.extras-buttons {
|
|
14
26
|
display: flex;
|
|
15
27
|
flex-direction: row;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
margin-top: 10px;
|
|
31
|
+
gap: 5px;
|
|
32
|
+
.co-button {
|
|
33
|
+
background-color: transparent;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
width: 30px;
|
|
36
|
+
height: 30px;
|
|
37
|
+
}
|
|
16
38
|
}
|
|
17
39
|
}
|
|
18
40
|
}
|
|
@@ -10,13 +10,14 @@ import { WorkflowCategoryType } from "@colijnit/mainapi/build/enum/workflow-cate
|
|
|
10
10
|
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
11
11
|
import { activityEmailRequestData } from "@colijnit/mainapi/build/model/activity-email-request-data";
|
|
12
12
|
import { SharedService } from "../../service/shared.service";
|
|
13
|
-
import { FormComponent } from "@colijnit/corecomponents_v12";
|
|
13
|
+
import { CoreDialogService, FormComponent } from "@colijnit/corecomponents_v12";
|
|
14
14
|
import { IconListItem } from "@colijnit/corecomponents_v12/lib/model/icon-list-item";
|
|
15
15
|
import { DictionaryService } from "../../service/dictionary.service";
|
|
16
16
|
export declare class TaskCreatorComponent implements OnInit {
|
|
17
17
|
iconService: IconCacheService;
|
|
18
18
|
dictionaryService: DictionaryService;
|
|
19
19
|
sharedService: SharedService;
|
|
20
|
+
private _dialogService;
|
|
20
21
|
readonly icons: typeof Icon;
|
|
21
22
|
createForm: FormComponent;
|
|
22
23
|
author: RelationSmallObject;
|
|
@@ -43,26 +44,27 @@ export declare class TaskCreatorComponent implements OnInit {
|
|
|
43
44
|
workDescription: string;
|
|
44
45
|
taskName: string;
|
|
45
46
|
taskDescription: string;
|
|
46
|
-
constructor(iconService: IconCacheService, dictionaryService: DictionaryService, sharedService: SharedService);
|
|
47
|
+
constructor(iconService: IconCacheService, dictionaryService: DictionaryService, sharedService: SharedService, _dialogService: CoreDialogService);
|
|
47
48
|
ngOnInit(): Promise<void>;
|
|
48
49
|
itemSelected(item: IconListItem): void;
|
|
49
|
-
createRemarkClicked(): Promise<void>;
|
|
50
|
-
createWorkClicked(): Promise<void>;
|
|
51
|
-
createTaskClicked(): Promise<void>;
|
|
52
50
|
addedDocument(docs: CoDocument[]): Promise<void>;
|
|
53
51
|
deletedDocument(doc: CoDocument): Promise<void>;
|
|
52
|
+
createRemarkClicked(): Promise<void>;
|
|
54
53
|
emailDialogClosed(): void;
|
|
54
|
+
createWorkClicked(): Promise<void>;
|
|
55
|
+
createTaskClicked(): Promise<void>;
|
|
55
56
|
private createRemark;
|
|
56
57
|
private createWork;
|
|
57
58
|
private createTask;
|
|
58
59
|
private handleAfterCreation;
|
|
59
|
-
private clearFields;
|
|
60
60
|
private sendEmailIfNeccesary;
|
|
61
|
-
private startEmailing;
|
|
62
61
|
private findReportType;
|
|
63
62
|
private findDefault;
|
|
64
|
-
private
|
|
65
|
-
private
|
|
63
|
+
private startEmailing;
|
|
64
|
+
private registerSentEmails;
|
|
66
65
|
private createEmailAddressString;
|
|
67
|
-
private
|
|
66
|
+
private createEmailSubject;
|
|
67
|
+
private createAttachmentsArray;
|
|
68
|
+
private createEmailParams;
|
|
69
|
+
private clearFields;
|
|
68
70
|
}
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -26,9 +26,11 @@ export declare enum Icon {
|
|
|
26
26
|
DeleteLeftRegular = "delete_left_regular",
|
|
27
27
|
DeliveryTruck = "delivery_truck",
|
|
28
28
|
DetailView = "detail_view",
|
|
29
|
+
DiagramProjectRegular = "diagram_project_regular",
|
|
29
30
|
Dropzone = "dropzone",
|
|
30
31
|
EditPenRegular = "edit_pen_regular",
|
|
31
32
|
Email = "email",
|
|
33
|
+
EmailRegular = "email_regular",
|
|
32
34
|
Employee = "employee",
|
|
33
35
|
EnvelopeRegular = "envelope_regular",
|
|
34
36
|
EyeRegular = "eye_regular",
|
|
@@ -55,7 +55,7 @@ export declare class SharedService {
|
|
|
55
55
|
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<RoleEmailaddress[]>;
|
|
56
56
|
getEmailSenderByWorkflowCategoryAndKey(workflowCategory: string, key: string): Promise<string>;
|
|
57
57
|
getDefaultEmailReportTemplatesForBranch(branchNr: string, reportType: ReportType): Promise<Report[]>;
|
|
58
|
-
emailViaTemplate(template: Report, emailTo: string, emailBcc: string, reply: string, subject?: string, message?: string, attachments?: string[], parameters?: object): Promise<
|
|
58
|
+
emailViaTemplate(template: Report, emailTo: string, emailBcc: string, reply: string, subject?: string, message?: string, attachments?: string[], parameters?: object): Promise<boolean>;
|
|
59
59
|
private _createEmailJob;
|
|
60
60
|
getWorkflowProcessInfoPerStatus(workflowCategory: string): Promise<WorkflowProcessInfoPerStatus[]>;
|
|
61
61
|
getActivities(table: TableName, key: string): Promise<Activity[]>;
|
|
@@ -13,7 +13,7 @@ $sc-color-action: #1A73E8 !default;
|
|
|
13
13
|
$sc-color-light-accent: #DCE4EA !default;
|
|
14
14
|
$sc-color-light: #FFFFFF !default;
|
|
15
15
|
$sc-color-activity: #7793B9 !default;
|
|
16
|
-
|
|
16
|
+
$sc-color-trigger: #99b5E1 !default;
|
|
17
17
|
|
|
18
18
|
$sc-signature-width: 500px !default;
|
|
19
19
|
$sc-signature-button-border-radius: 5px !default;
|