@colijnit/sharedcomponents 261.20.13 → 261.20.15
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
|
@@ -521,7 +521,8 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
521
521
|
readonly okButtonClicked: EventEmitter<any>;
|
|
522
522
|
readonly cancelButtonClicked: EventEmitter<any>;
|
|
523
523
|
handleClick: EventEmitter<any>;
|
|
524
|
-
|
|
524
|
+
handlePurchaseOrderClick: EventEmitter<any>;
|
|
525
|
+
handleSalesOrderClick: EventEmitter<any>;
|
|
525
526
|
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
526
527
|
showClass(): boolean;
|
|
527
528
|
loaded: boolean;
|
|
@@ -558,7 +559,7 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
558
559
|
private _resetStockInformation;
|
|
559
560
|
loadData(): void;
|
|
560
561
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockComponent, never>;
|
|
561
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockComponent, "co-stock", never, { "article": { "alias": "article"; "required": false; }; "branchNr": { "alias": "branchNr"; "required": false; }; "articleWarehouse": { "alias": "articleWarehouse"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; }, { "handleStickerClicked": "handleStickerClicked"; "okButtonClicked": "okButtonClicked"; "cancelButtonClicked": "cancelButtonClicked"; "handleClick": "handleClick"; "
|
|
562
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockComponent, "co-stock", never, { "article": { "alias": "article"; "required": false; }; "branchNr": { "alias": "branchNr"; "required": false; }; "articleWarehouse": { "alias": "articleWarehouse"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; }, { "handleStickerClicked": "handleStickerClicked"; "okButtonClicked": "okButtonClicked"; "cancelButtonClicked": "cancelButtonClicked"; "handleClick": "handleClick"; "handlePurchaseOrderClick": "handlePurchaseOrderClick"; "handleSalesOrderClick": "handleSalesOrderClick"; }, never, never, false, never>;
|
|
562
563
|
}
|
|
563
564
|
|
|
564
565
|
declare class StockInformationComponent {
|
|
@@ -1149,7 +1150,7 @@ declare class SharedService {
|
|
|
1149
1150
|
getDefaultEmailReportTemplatesForBranch(branchNr: string, reportType: ReportType): Promise<Report[]>;
|
|
1150
1151
|
emailViaTemplate(template: Report, emailTo: string, emailBcc: string, reply: string, subject?: string, message?: string, attachments?: CoEmailAttachment[], parameters?: object): Promise<boolean>;
|
|
1151
1152
|
private _createEmailJob;
|
|
1152
|
-
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<
|
|
1153
|
+
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<boolean>;
|
|
1153
1154
|
insertEmailHistoryForRemark(history: ActivityEmailHistory): Promise<boolean>;
|
|
1154
1155
|
insertEmailHistoryForWork(history: ActivityEmailHistory): Promise<boolean>;
|
|
1155
1156
|
insertEmailHistoryForTask(history: ActivityEmailHistory): Promise<boolean>;
|
|
@@ -3225,6 +3226,7 @@ declare class NotificationSummaryBlockComponent extends BaseActivitySummaryCompo
|
|
|
3225
3226
|
summaryBlock: ActivitySummaryBlockComponent;
|
|
3226
3227
|
showClass(): boolean;
|
|
3227
3228
|
branchNo: string;
|
|
3229
|
+
emailingInProgress: Boolean;
|
|
3228
3230
|
listItems: RoleEmailaddress[];
|
|
3229
3231
|
emailAddresses: string[];
|
|
3230
3232
|
constructor(boFactory: BusinessObjectFactory, dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
@@ -3278,7 +3280,8 @@ declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComp
|
|
|
3278
3280
|
handleAddDocument(doc: CoDocument): void;
|
|
3279
3281
|
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService, iconCacheService: IconCacheService$1);
|
|
3280
3282
|
ngOnInit(): void;
|
|
3281
|
-
showContent(menu: string): void
|
|
3283
|
+
showContent(menu: string): Promise<void>;
|
|
3284
|
+
personChanged(): void;
|
|
3282
3285
|
handleRegisterWork(): void;
|
|
3283
3286
|
handleSaveActivity(activity: Activity): void;
|
|
3284
3287
|
handleDeleteActivity(activity: Activity): void;
|
|
@@ -3341,7 +3344,6 @@ declare class TaskModifierComponent implements OnDestroy {
|
|
|
3341
3344
|
handleSaveForm(): void;
|
|
3342
3345
|
onValid(): Promise<void>;
|
|
3343
3346
|
trySendEmailFromNotificationBlock(): Promise<void>;
|
|
3344
|
-
handleCancelForm(): void;
|
|
3345
3347
|
onPopupClose(): void;
|
|
3346
3348
|
hide(): void;
|
|
3347
3349
|
deleteTask(): Promise<void>;
|
|
@@ -3578,12 +3580,13 @@ declare class ExecutiveSummaryBlockComponent extends BaseActivitySummaryComponen
|
|
|
3578
3580
|
readonly RelationType: typeof RelationType;
|
|
3579
3581
|
readonly Icon: typeof Icon;
|
|
3580
3582
|
showClass(): boolean;
|
|
3583
|
+
relationChanged: EventEmitter<void>;
|
|
3581
3584
|
private _textSearchParams;
|
|
3582
3585
|
personnel: RelationListObject[];
|
|
3583
3586
|
constructor(dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
3584
3587
|
ngOnInit(): Promise<void>;
|
|
3585
3588
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExecutiveSummaryBlockComponent, never>;
|
|
3586
|
-
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>;
|
|
3587
3590
|
}
|
|
3588
3591
|
|
|
3589
3592
|
declare class ActivitySummaryBlockModule {
|
|
@@ -3675,6 +3678,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3675
3678
|
constructor(iconService: IconCacheService, sharedService: SharedService, renderer: Renderer2);
|
|
3676
3679
|
ngOnInit(): Promise<void>;
|
|
3677
3680
|
ngAfterViewInit(): void;
|
|
3681
|
+
handleVisibilityChange(visible: boolean): void;
|
|
3678
3682
|
fetchRoleEmailAddresses(): Promise<void>;
|
|
3679
3683
|
roleChosen(roles: RoleEmailaddress[]): void;
|
|
3680
3684
|
handleKeyPressed(event: KeyboardEvent): void;
|
|
@@ -3688,7 +3692,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3688
3692
|
|
|
3689
3693
|
declare class RoleEmailSelectorModule {
|
|
3690
3694
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleEmailSelectorModule, never>;
|
|
3691
|
-
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]>;
|
|
3692
3696
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoleEmailSelectorModule>;
|
|
3693
3697
|
}
|
|
3694
3698
|
|
|
@@ -3964,7 +3968,6 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3964
3968
|
private _formMasterService;
|
|
3965
3969
|
private _elementRef;
|
|
3966
3970
|
readonly icons: typeof Icon;
|
|
3967
|
-
onDocumentMouseDown(event: MouseEvent): void;
|
|
3968
3971
|
createForm: FormComponent;
|
|
3969
3972
|
author: RelationSmallObject;
|
|
3970
3973
|
branchNo: string;
|
|
@@ -4013,6 +4016,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4013
4016
|
private _allowTaskCreation;
|
|
4014
4017
|
constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
|
|
4015
4018
|
ngOnInit(): Promise<void>;
|
|
4019
|
+
outsideClick(): void;
|
|
4016
4020
|
setupOptionCollection(): void;
|
|
4017
4021
|
itemSelected(item: IconListItem): void;
|
|
4018
4022
|
openAttachmentDialog(): void;
|
|
@@ -4044,7 +4048,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4044
4048
|
|
|
4045
4049
|
declare class TaskCreatorModule {
|
|
4046
4050
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCreatorModule, never>;
|
|
4047
|
-
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]>;
|
|
4048
4052
|
static ɵinj: i0.ɵɵInjectorDeclaration<TaskCreatorModule>;
|
|
4049
4053
|
}
|
|
4050
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
|
}
|