@colijnit/sharedcomponents 256.2.1 → 256.2.2
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 +11 -3
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +7 -3
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +7 -4
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +4 -1
- package/fesm2015/colijnit-sharedcomponents.js +11 -1
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +3 -2
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +4 -3
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -3608,6 +3608,7 @@
|
|
|
3608
3608
|
this.okClick = new i0.EventEmitter();
|
|
3609
3609
|
this.additionalFileChangeEvent = new i0.EventEmitter();
|
|
3610
3610
|
this.showFilePreview = new i0.EventEmitter();
|
|
3611
|
+
this.loadDefaultPrinterName = new i0.EventEmitter();
|
|
3611
3612
|
this.sendMethods = sendMethodsWithIcon;
|
|
3612
3613
|
this.upAndLoaded = false;
|
|
3613
3614
|
this.startUp = true;
|
|
@@ -3714,7 +3715,7 @@
|
|
|
3714
3715
|
SendMethodDialogComponent.decorators = [
|
|
3715
3716
|
{ type: i0.Component, args: [{
|
|
3716
3717
|
selector: 'co-send-method-dialog',
|
|
3717
|
-
template: "\n <co-dialog id=\"sendOptionsDialog\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"closeClick.emit($event)\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EnvelopeRegular)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"dialog-navigation-wrapper\">\n <div class=\"send-button-wrapper\" *ngFor=\"let sendMethod of sendMethods; let index = index\"\n [class.selected]=\"activeSendMethod ? sendMethod.code === activeSendMethod.code : index === 0\"\n (click)=\"handleSendMethodClick(sendMethod)\">\n <div class=\"custom-button-title\" [textContent]=\"sendMethod.description\"></div>\n </div>\n </div>\n </ng-template>\n\n <div class=\"dialog-content-wrapper\">\n <div class=\"send-methods-wrapper\">\n\n </div>\n <div #navigationItems class=\"send-method-navigation-wrapper\" [class.smooth-scrolling]=\"!startUp\">\n <div #faxItems class=\"send-method-navigation-content co-small-scrollbar\">\n\n </div>\n <div #printItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showPrint\">\n <co-send-method-printer\n [isPrinterLayoutsEnabled]=\"isPrinterLayoutsEnabled\"\n [printerList]=\"printerList\"\n [layouts]=\"printLayouts\"\n [isAdditionalDocEnabled]=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n [defaultPrinterName]=\"defaultPrinterName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\"\n (showFilePreview)=\"showFilePreview.emit($event)\"\n ></co-send-method-printer>\n </div>\n <div #emailItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showEmail\">\n <co-send-method-email\n [emailAddresses]=\"emailAddresses\"\n [layouts]=\"emailLayouts\"\n ></co-send-method-email>\n </div>\n <div #ediItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showEdi\">\n\n </div>\n <div #emailTemplateItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showEmailTemplate\">\n\n </div>\n <div #smsItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showSms\">\n\n </div>\n <div #webServiceItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showWebservice\">\n\n </div>\n <div #pdfItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showPdf\">\n <co-send-method-pdf\n [layouts]=\"printLayouts\"\n ></co-send-method-pdf>\n </div>\n </div>\n </div>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"okClick.emit(activeSendMethod ? activeSendMethod.code : '0')\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\"\n (click)=\"closeClick.emit($event)\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
3718
|
+
template: "\n <co-dialog id=\"sendOptionsDialog\" [headerTemplate]=\"headerTemplate\" [footerTemplate]=\"footerTemplate\"\n (closeClick)=\"closeClick.emit($event)\">\n <ng-template #headerTemplate>\n <div class=\"co-dialog-header-title-wrapper\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.EnvelopeRegular)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"dialog-navigation-wrapper\">\n <div class=\"send-button-wrapper\" *ngFor=\"let sendMethod of sendMethods; let index = index\"\n [class.selected]=\"activeSendMethod ? sendMethod.code === activeSendMethod.code : index === 0\"\n (click)=\"handleSendMethodClick(sendMethod)\">\n <div class=\"custom-button-title\" [textContent]=\"sendMethod.description\"></div>\n </div>\n </div>\n </ng-template>\n\n <div class=\"dialog-content-wrapper\">\n <div class=\"send-methods-wrapper\">\n\n </div>\n <div #navigationItems class=\"send-method-navigation-wrapper\" [class.smooth-scrolling]=\"!startUp\">\n <div #faxItems class=\"send-method-navigation-content co-small-scrollbar\">\n\n </div>\n <div #printItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showPrint\">\n <co-send-method-printer\n [isPrinterLayoutsEnabled]=\"isPrinterLayoutsEnabled\"\n [printerList]=\"printerList\"\n [layouts]=\"printLayouts\"\n [isAdditionalDocEnabled]=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n [defaultPrinterName]=\"defaultPrinterName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\"\n (showFilePreview)=\"showFilePreview.emit($event)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n ></co-send-method-printer>\n </div>\n <div #emailItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showEmail\">\n <co-send-method-email\n [emailAddresses]=\"emailAddresses\"\n [layouts]=\"emailLayouts\"\n ></co-send-method-email>\n </div>\n <div #ediItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showEdi\">\n\n </div>\n <div #emailTemplateItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showEmailTemplate\">\n\n </div>\n <div #smsItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showSms\">\n\n </div>\n <div #webServiceItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showWebservice\">\n\n </div>\n <div #pdfItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"showPdf\">\n <co-send-method-pdf\n [layouts]=\"printLayouts\"\n ></co-send-method-pdf>\n </div>\n </div>\n </div>\n <ng-template #footerTemplate>\n <div class=\"co-dialog-footer-button-wrapper\">\n <co-button class=\"save-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CheckDuotone)\"\n (click)=\"okClick.emit(activeSendMethod ? activeSendMethod.code : '0')\"></co-button>\n <co-button class=\"close-button\"\n [iconData]=\"iconCacheService.getIcon(icons.CrossSkinny)\"\n (click)=\"closeClick.emit($event)\"></co-button>\n </div>\n </ng-template>\n </co-dialog>\n ",
|
|
3718
3719
|
encapsulation: i0.ViewEncapsulation.None,
|
|
3719
3720
|
animations: [
|
|
3720
3721
|
animations.trigger('slideInOut', [
|
|
@@ -3766,6 +3767,7 @@
|
|
|
3766
3767
|
okClick: [{ type: i0.Output }],
|
|
3767
3768
|
additionalFileChangeEvent: [{ type: i0.Output }],
|
|
3768
3769
|
showFilePreview: [{ type: i0.Output }],
|
|
3770
|
+
loadDefaultPrinterName: [{ type: i0.Output }],
|
|
3769
3771
|
showClass: [{ type: i0.HostBinding, args: ['class.co-send-method-dialog',] }]
|
|
3770
3772
|
};
|
|
3771
3773
|
|
|
@@ -3830,6 +3832,7 @@
|
|
|
3830
3832
|
this.icons = exports["ɵby"];
|
|
3831
3833
|
this.layouts = [];
|
|
3832
3834
|
this.requestChange = new i0.EventEmitter();
|
|
3835
|
+
this.loadDefaultPrinterName = new i0.EventEmitter();
|
|
3833
3836
|
this.showLayoutList = false;
|
|
3834
3837
|
}
|
|
3835
3838
|
LayoutSelectionComponent.prototype.showClass = function () {
|
|
@@ -3842,6 +3845,7 @@
|
|
|
3842
3845
|
if (!this.currentLayout) {
|
|
3843
3846
|
this.currentLayout = this.layouts[0];
|
|
3844
3847
|
}
|
|
3848
|
+
this.loadDefaultPrinterName.emit(this.currentLayout.reportId);
|
|
3845
3849
|
}
|
|
3846
3850
|
};
|
|
3847
3851
|
LayoutSelectionComponent.prototype.handleSelectLayout = function (reportLayout) {
|
|
@@ -3849,6 +3853,7 @@
|
|
|
3849
3853
|
this.request.reportId = this.currentLayout.reportId;
|
|
3850
3854
|
this.requestChange.emit(this.request);
|
|
3851
3855
|
this.showLayoutList = false;
|
|
3856
|
+
this.loadDefaultPrinterName.emit(reportLayout.reportId);
|
|
3852
3857
|
};
|
|
3853
3858
|
LayoutSelectionComponent.prototype.closeSelectLayout = function () {
|
|
3854
3859
|
this.showLayoutList = false;
|
|
@@ -3877,6 +3882,7 @@
|
|
|
3877
3882
|
request: [{ type: i0.Input }],
|
|
3878
3883
|
layouts: [{ type: i0.Input }],
|
|
3879
3884
|
requestChange: [{ type: i0.Output }],
|
|
3885
|
+
loadDefaultPrinterName: [{ type: i0.Output }],
|
|
3880
3886
|
showClass: [{ type: i0.HostBinding, args: ['class.co-layout-selection',] }]
|
|
3881
3887
|
};
|
|
3882
3888
|
|
|
@@ -3983,6 +3989,7 @@
|
|
|
3983
3989
|
this.additionalFileName = '';
|
|
3984
3990
|
this.additionalFileChangeEvent = new i0.EventEmitter();
|
|
3985
3991
|
this.showFilePreview = new i0.EventEmitter();
|
|
3992
|
+
this.loadDefaultPrinterName = new i0.EventEmitter();
|
|
3986
3993
|
this.icons = exports["ɵby"];
|
|
3987
3994
|
}
|
|
3988
3995
|
SendMethodPrinterComponent.prototype.showClass = function () {
|
|
@@ -4001,7 +4008,7 @@
|
|
|
4001
4008
|
SendMethodPrinterComponent.decorators = [
|
|
4002
4009
|
{ type: i0.Component, args: [{
|
|
4003
4010
|
selector: 'co-send-method-printer',
|
|
4004
|
-
template: "\n <div class=\"printer-layout-selections-wrapper\">\n <co-printer-selection [defaultPrinterName]=\"defaultPrinterName\" [printers]=\"printerList\"></co-printer-selection>\n <div *ngIf=\"isPrinterLayoutsEnabled\" class=\"layout-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n (requestChange)=\"showFilePreview.emit()\"\n [layouts]=\"layouts\"\n ></co-layout-selection>\n\n <co-additional-file-button\n *ngIf=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\"\n >\n </co-additional-file-button>\n\n <co-signature-button\n [request]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n ></co-signature-button>\n </div>\n </div>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser\"\n [label]=\"'Koppeling onthouden'\"\n (modelChange)=\"handleDefaultPrinterUserChange($event)\"\n ></co-input-checkbox>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers\"\n [label]=\"'Alle gebruikers'\"\n (modelChange)=\"handleDefaultPrinterAllUsersChange($event)\"\n ></co-input-checkbox>\n ",
|
|
4011
|
+
template: "\n <div class=\"printer-layout-selections-wrapper\">\n <co-printer-selection [defaultPrinterName]=\"defaultPrinterName\" [printers]=\"printerList\"></co-printer-selection>\n <div *ngIf=\"isPrinterLayoutsEnabled\" class=\"layout-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n (requestChange)=\"showFilePreview.emit()\"\n [layouts]=\"layouts\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n ></co-layout-selection>\n\n <co-additional-file-button\n *ngIf=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\"\n >\n </co-additional-file-button>\n\n <co-signature-button\n [request]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n ></co-signature-button>\n </div>\n </div>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser\"\n [label]=\"'Koppeling onthouden'\"\n (modelChange)=\"handleDefaultPrinterUserChange($event)\"\n ></co-input-checkbox>\n <co-input-checkbox\n [model]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers\"\n [label]=\"'Alle gebruikers'\"\n (modelChange)=\"handleDefaultPrinterAllUsersChange($event)\"\n ></co-input-checkbox>\n ",
|
|
4005
4012
|
encapsulation: i0.ViewEncapsulation.None
|
|
4006
4013
|
},] }
|
|
4007
4014
|
];
|
|
@@ -4019,7 +4026,8 @@
|
|
|
4019
4026
|
additionalFileContents: [{ type: i0.Input }],
|
|
4020
4027
|
additionalFileName: [{ type: i0.Input }],
|
|
4021
4028
|
additionalFileChangeEvent: [{ type: i0.Output }],
|
|
4022
|
-
showFilePreview: [{ type: i0.Output }]
|
|
4029
|
+
showFilePreview: [{ type: i0.Output }],
|
|
4030
|
+
loadDefaultPrinterName: [{ type: i0.Output }]
|
|
4023
4031
|
};
|
|
4024
4032
|
|
|
4025
4033
|
var PrinterSelectionComponent = /** @class */ (function () {
|