@colijnit/sharedcomponents 261.20.14 → 261.20.16
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/index.d.ts
CHANGED
|
@@ -1150,7 +1150,7 @@ declare class SharedService {
|
|
|
1150
1150
|
getDefaultEmailReportTemplatesForBranch(branchNr: string, reportType: ReportType): Promise<Report[]>;
|
|
1151
1151
|
emailViaTemplate(template: Report, emailTo: string, emailBcc: string, reply: string, subject?: string, message?: string, attachments?: CoEmailAttachment[], parameters?: object): Promise<boolean>;
|
|
1152
1152
|
private _createEmailJob;
|
|
1153
|
-
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<
|
|
1153
|
+
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<boolean>;
|
|
1154
1154
|
insertEmailHistoryForRemark(history: ActivityEmailHistory): Promise<boolean>;
|
|
1155
1155
|
insertEmailHistoryForWork(history: ActivityEmailHistory): Promise<boolean>;
|
|
1156
1156
|
insertEmailHistoryForTask(history: ActivityEmailHistory): Promise<boolean>;
|
|
@@ -3226,6 +3226,7 @@ declare class NotificationSummaryBlockComponent extends BaseActivitySummaryCompo
|
|
|
3226
3226
|
summaryBlock: ActivitySummaryBlockComponent;
|
|
3227
3227
|
showClass(): boolean;
|
|
3228
3228
|
branchNo: string;
|
|
3229
|
+
emailingInProgress: Boolean;
|
|
3229
3230
|
listItems: RoleEmailaddress[];
|
|
3230
3231
|
emailAddresses: string[];
|
|
3231
3232
|
constructor(boFactory: BusinessObjectFactory, dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
@@ -3279,7 +3280,8 @@ declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComp
|
|
|
3279
3280
|
handleAddDocument(doc: CoDocument): void;
|
|
3280
3281
|
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService, iconCacheService: IconCacheService$1);
|
|
3281
3282
|
ngOnInit(): void;
|
|
3282
|
-
showContent(menu: string): void
|
|
3283
|
+
showContent(menu: string): Promise<void>;
|
|
3284
|
+
personChanged(): void;
|
|
3283
3285
|
handleRegisterWork(): void;
|
|
3284
3286
|
handleSaveActivity(activity: Activity): void;
|
|
3285
3287
|
handleDeleteActivity(activity: Activity): void;
|
|
@@ -3342,7 +3344,6 @@ declare class TaskModifierComponent implements OnDestroy {
|
|
|
3342
3344
|
handleSaveForm(): void;
|
|
3343
3345
|
onValid(): Promise<void>;
|
|
3344
3346
|
trySendEmailFromNotificationBlock(): Promise<void>;
|
|
3345
|
-
handleCancelForm(): void;
|
|
3346
3347
|
onPopupClose(): void;
|
|
3347
3348
|
hide(): void;
|
|
3348
3349
|
deleteTask(): Promise<void>;
|
|
@@ -3579,12 +3580,13 @@ declare class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponen
|
|
|
3579
3580
|
readonly RelationType: typeof RelationType;
|
|
3580
3581
|
readonly Icon: typeof Icon;
|
|
3581
3582
|
showClass(): boolean;
|
|
3583
|
+
relationChanged: EventEmitter<void>;
|
|
3582
3584
|
private _textSearchParams;
|
|
3583
3585
|
personnel: RelationListObject[];
|
|
3584
3586
|
constructor(dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
3585
3587
|
ngOnInit(): Promise<void>;
|
|
3586
3588
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExecutiveSummaryBlockComponent, never>;
|
|
3587
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExecutiveSummaryBlockComponent, "co-executive-summary-block", never, {}, {}, never, never, false, never>;
|
|
3589
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExecutiveSummaryBlockComponent, "co-executive-summary-block", never, {}, { "relationChanged": "relationChanged"; }, never, never, false, never>;
|
|
3588
3590
|
}
|
|
3589
3591
|
|
|
3590
3592
|
declare class ActivitySummaryBlockModule {
|
|
@@ -3676,6 +3678,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3676
3678
|
constructor(iconService: IconCacheService, sharedService: SharedService, renderer: Renderer2);
|
|
3677
3679
|
ngOnInit(): Promise<void>;
|
|
3678
3680
|
ngAfterViewInit(): void;
|
|
3681
|
+
handleVisibilityChange(visible: boolean): void;
|
|
3679
3682
|
fetchRoleEmailAddresses(): Promise<void>;
|
|
3680
3683
|
roleChosen(roles: RoleEmailaddress[]): void;
|
|
3681
3684
|
handleKeyPressed(event: KeyboardEvent): void;
|
|
@@ -3689,7 +3692,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3689
3692
|
|
|
3690
3693
|
declare class RoleEmailSelectorModule {
|
|
3691
3694
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleEmailSelectorModule, never>;
|
|
3692
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleEmailSelectorModule, [typeof RoleEmailSelectorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof SharedComponentsTranslationModule, typeof i3.IconModule, typeof i2.CommonModule], [typeof RoleEmailSelectorComponent]>;
|
|
3695
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleEmailSelectorModule, [typeof RoleEmailSelectorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof SharedComponentsTranslationModule, typeof i3.IconModule, typeof i2.CommonModule, typeof i3.ObserveVisibilityModule], [typeof RoleEmailSelectorComponent]>;
|
|
3693
3696
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoleEmailSelectorModule>;
|
|
3694
3697
|
}
|
|
3695
3698
|
|
|
@@ -3965,7 +3968,6 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3965
3968
|
private _formMasterService;
|
|
3966
3969
|
private _elementRef;
|
|
3967
3970
|
readonly icons: typeof Icon;
|
|
3968
|
-
onDocumentMouseDown(event: MouseEvent): void;
|
|
3969
3971
|
createForm: FormComponent;
|
|
3970
3972
|
author: RelationSmallObject;
|
|
3971
3973
|
branchNo: string;
|
|
@@ -4014,6 +4016,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4014
4016
|
private _allowTaskCreation;
|
|
4015
4017
|
constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
|
|
4016
4018
|
ngOnInit(): Promise<void>;
|
|
4019
|
+
outsideClick(): void;
|
|
4017
4020
|
setupOptionCollection(): void;
|
|
4018
4021
|
itemSelected(item: IconListItem): void;
|
|
4019
4022
|
openAttachmentDialog(): void;
|
|
@@ -4045,7 +4048,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4045
4048
|
|
|
4046
4049
|
declare class TaskCreatorModule {
|
|
4047
4050
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCreatorModule, never>;
|
|
4048
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskCreatorModule, [typeof TaskCreatorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i2.CommonModule, typeof i3.CoDialogModule, typeof FilesUploadModule, typeof SharedComponentsTranslationModule, typeof i3.ListOfIconsModule, typeof i3.FormModule, typeof i3.IconModule, typeof RoleEmailSelectorModule, typeof EmailSelectorModule, typeof i3.InputTextareaModule], [typeof TaskCreatorComponent]>;
|
|
4051
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskCreatorModule, [typeof TaskCreatorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i2.CommonModule, typeof i3.CoDialogModule, typeof FilesUploadModule, typeof SharedComponentsTranslationModule, typeof i3.ListOfIconsModule, typeof i3.FormModule, typeof i3.IconModule, typeof RoleEmailSelectorModule, typeof EmailSelectorModule, typeof i3.InputTextareaModule, typeof i3.ClickoutsideModule], [typeof TaskCreatorComponent]>;
|
|
4049
4052
|
static ɵinj: i0.ɵɵInjectorDeclaration<TaskCreatorModule>;
|
|
4050
4053
|
}
|
|
4051
4054
|
|
|
@@ -2,47 +2,58 @@
|
|
|
2
2
|
.co-role-email-selector {
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
position: relative;
|
|
10
|
-
.chips-wrapper {
|
|
5
|
+
|
|
6
|
+
.role-email-selector-wrapper {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
11
9
|
display: flex;
|
|
12
|
-
flex-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
top: 8px;
|
|
19
|
-
max-width: 50%;
|
|
20
|
-
max-height: 30px;
|
|
21
|
-
overflow: auto;
|
|
22
|
-
.chips {
|
|
23
|
-
font-family: $cc-co-role-email-selector-chip-font-family;
|
|
24
|
-
font-size: $cc-co-role-email-selector-chip-font-size;
|
|
25
|
-
color: $cc-co-role-email-selector-chip-font-color;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
row-gap: 0;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
position: relative;
|
|
14
|
+
|
|
15
|
+
.chips-wrapper {
|
|
26
16
|
display: flex;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
padding: $cc-co-role-email-selector-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
flex-wrap: wrap;
|
|
18
|
+
column-gap: $cc-co-role-email-selector-chips-column-gap;
|
|
19
|
+
row-gap: $cc-co-role-email-selector-chips-row-gap;
|
|
20
|
+
padding: $cc-co-role-email-selector-chips-padding;
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 10px;
|
|
23
|
+
top: 8px;
|
|
24
|
+
max-width: 50%;
|
|
25
|
+
max-height: 30px;
|
|
26
|
+
overflow: auto;
|
|
27
|
+
|
|
28
|
+
.chips {
|
|
29
|
+
font-family: $cc-co-role-email-selector-chip-font-family;
|
|
30
|
+
font-size: $cc-co-role-email-selector-chip-font-size;
|
|
31
|
+
color: $cc-co-role-email-selector-chip-font-color;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
background: $cc-co-role-email-selector-chip-background-color;
|
|
35
|
+
border-radius: $cc-co-role-email-selector-chip-border-radius; // 5px;
|
|
36
|
+
padding: $cc-co-role-email-selector-chip-padding; // 5px 7px;
|
|
37
|
+
user-select: none;
|
|
38
|
+
|
|
39
|
+
&:last-child {
|
|
40
|
+
margin-right: 20px;
|
|
41
|
+
}
|
|
34
42
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
|
|
44
|
+
.remove-chip-icon {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
padding: 5px;
|
|
47
|
+
height: $cc-co-role-email-selector-chip-delete-icon-size;
|
|
48
|
+
width: $cc-co-role-email-selector-chip-delete-icon-size;
|
|
49
|
+
|
|
50
|
+
svg { // for fontawesome icons
|
|
51
|
+
fill: $cc-co-role-email-selector-chip-delete-icon-color;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& [fill] { // for own icons
|
|
55
|
+
fill: $cc-co-role-email-selector-chip-delete-icon-color;
|
|
56
|
+
}
|
|
46
57
|
}
|
|
47
58
|
}
|
|
48
59
|
}
|