@colijnit/sharedcomponents 300.1.6 → 300.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/index.d.ts
CHANGED
|
@@ -1000,7 +1000,7 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
1000
1000
|
amountInStockChanged(data: any): void;
|
|
1001
1001
|
handleOkClick(): Promise<void>;
|
|
1002
1002
|
togglePopup(): void;
|
|
1003
|
-
locationForNumber(number: string):
|
|
1003
|
+
locationForNumber(number: string): StockLocation | "";
|
|
1004
1004
|
locationChanged(event: StockLocation): void;
|
|
1005
1005
|
handleStockChange(): void;
|
|
1006
1006
|
handleSelectedStockState(event: StockStatus): void;
|
|
@@ -1159,7 +1159,7 @@ declare class SharedService {
|
|
|
1159
1159
|
getDefaultEmailReportTemplatesForBranch(branchNr: string, reportType: ReportType): Promise<Report[]>;
|
|
1160
1160
|
emailViaTemplate(template: Report, emailTo: string, emailBcc: string, reply: string, subject?: string, message?: string, attachments?: CoEmailAttachment[], parameters?: object): Promise<boolean>;
|
|
1161
1161
|
private _createEmailJob;
|
|
1162
|
-
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<
|
|
1162
|
+
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<boolean>;
|
|
1163
1163
|
insertEmailHistoryForRemark(history: ActivityEmailHistory): Promise<boolean>;
|
|
1164
1164
|
insertEmailHistoryForWork(history: ActivityEmailHistory): Promise<boolean>;
|
|
1165
1165
|
insertEmailHistoryForTask(history: ActivityEmailHistory): Promise<boolean>;
|
|
@@ -2045,7 +2045,6 @@ declare class AgendaHeaderComponent implements OnInit, OnDestroy, AfterContentCh
|
|
|
2045
2045
|
readonly viewTypes: typeof CalendarView;
|
|
2046
2046
|
private readonly scrollbarWidth;
|
|
2047
2047
|
today: Date;
|
|
2048
|
-
originalSelectedDate: Date;
|
|
2049
2048
|
set selectedDate(value: Date);
|
|
2050
2049
|
selectedFirstDayOfTheWeek: Date;
|
|
2051
2050
|
get selectedDate(): Date;
|
|
@@ -3273,6 +3272,7 @@ declare class NotificationSummaryBlockComponent extends BaseActivitySummaryCompo
|
|
|
3273
3272
|
summaryBlock: ActivitySummaryBlockComponent;
|
|
3274
3273
|
showClass(): boolean;
|
|
3275
3274
|
branchNo: string;
|
|
3275
|
+
emailingInProgress: Boolean;
|
|
3276
3276
|
listItems: RoleEmailaddress[];
|
|
3277
3277
|
emailAddresses: string[];
|
|
3278
3278
|
constructor(boFactory: BusinessObjectFactory, dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
@@ -3325,7 +3325,7 @@ declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComp
|
|
|
3325
3325
|
handleAddDocument(doc: CoDocument): void;
|
|
3326
3326
|
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService, iconCacheService: IconCacheService$1);
|
|
3327
3327
|
ngOnInit(): void;
|
|
3328
|
-
showContent(menu: string): void
|
|
3328
|
+
showContent(menu: string): Promise<void>;
|
|
3329
3329
|
handleRegisterWork(): void;
|
|
3330
3330
|
handleSaveActivity(activity: Activity): void;
|
|
3331
3331
|
handleDeleteActivity(activity: Activity): void;
|
|
@@ -3722,6 +3722,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3722
3722
|
constructor(iconService: IconCacheService, sharedService: SharedService, renderer: Renderer2);
|
|
3723
3723
|
ngOnInit(): Promise<void>;
|
|
3724
3724
|
ngAfterViewInit(): void;
|
|
3725
|
+
handleVisibilityChange(visible: boolean): void;
|
|
3725
3726
|
fetchRoleEmailAddresses(): Promise<void>;
|
|
3726
3727
|
roleChosen(roles: RoleEmailaddress[]): void;
|
|
3727
3728
|
handleKeyPressed(event: KeyboardEvent): void;
|
|
@@ -3735,7 +3736,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3735
3736
|
|
|
3736
3737
|
declare class RoleEmailSelectorModule {
|
|
3737
3738
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleEmailSelectorModule, never>;
|
|
3738
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleEmailSelectorModule, [typeof RoleEmailSelectorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof SharedComponentsTranslationModule, typeof i3.IconModule, typeof i2.CommonModule], [typeof RoleEmailSelectorComponent]>;
|
|
3739
|
+
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]>;
|
|
3739
3740
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoleEmailSelectorModule>;
|
|
3740
3741
|
}
|
|
3741
3742
|
|
|
@@ -4011,7 +4012,6 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4011
4012
|
private _formMasterService;
|
|
4012
4013
|
private _elementRef;
|
|
4013
4014
|
readonly icons: typeof Icon;
|
|
4014
|
-
onDocumentMouseDown(event: MouseEvent): void;
|
|
4015
4015
|
createForm: FormComponent;
|
|
4016
4016
|
author: RelationSmallObject;
|
|
4017
4017
|
branchNo: string;
|
|
@@ -4060,6 +4060,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4060
4060
|
private _allowTaskCreation;
|
|
4061
4061
|
constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
|
|
4062
4062
|
ngOnInit(): Promise<void>;
|
|
4063
|
+
outsideClick(): void;
|
|
4063
4064
|
setupOptionCollection(): void;
|
|
4064
4065
|
itemSelected(item: IconListItem): void;
|
|
4065
4066
|
openAttachmentDialog(): void;
|
|
@@ -4090,7 +4091,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4090
4091
|
|
|
4091
4092
|
declare class TaskCreatorModule {
|
|
4092
4093
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCreatorModule, never>;
|
|
4093
|
-
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]>;
|
|
4094
|
+
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]>;
|
|
4094
4095
|
static ɵinj: i0.ɵɵInjectorDeclaration<TaskCreatorModule>;
|
|
4095
4096
|
}
|
|
4096
4097
|
|
|
@@ -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
|
}
|