@colijnit/sharedcomponents 257.1.19 → 257.1.20

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.
Files changed (25) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +139 -75
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +7 -7
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +8 -8
  6. package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.js +15 -3
  7. package/esm2015/lib/components/send-method-dialog/components/pdf-preview/pdf-preview.component.js +2 -2
  8. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +47 -25
  9. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +4 -2
  10. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +54 -44
  11. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +129 -99
  12. package/esm2015/lib/enum/icon.enum.js +2 -1
  13. package/esm2015/lib/model/icon-svg.js +2 -1
  14. package/fesm2015/colijnit-sharedcomponents.js +310 -233
  15. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  16. package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.d.ts +4 -0
  17. package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss +2 -2
  18. package/lib/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +2 -2
  19. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +9 -0
  20. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +4 -0
  21. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +6 -0
  22. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +6 -4
  23. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +7 -0
  24. package/lib/enum/icon.enum.d.ts +1 -0
  25. package/package.json +1 -1
@@ -2289,6 +2289,7 @@
2289
2289
  Icon["EyeRegular"] = "eye_regular";
2290
2290
  Icon["FileExportRegular"] = "file_export_regular";
2291
2291
  Icon["FileExportSolid"] = "file_export_solid";
2292
+ Icon["FileMagnifyingGlass"] = "file_magnifying_glass";
2292
2293
  Icon["FilePdfRegular"] = "file_pdf_regular";
2293
2294
  Icon["FilePdfSolid"] = "file_pdf_solid";
2294
2295
  Icon["FileSignatureRegular"] = "file_signature_regular";
@@ -2364,6 +2365,7 @@
2364
2365
  "eye_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z\"/></svg>",
2365
2366
  "file_export_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M568.1 303l-80-80c-9.375-9.375-24.56-9.375-33.94 0s-9.375 24.56 0 33.94L494.1 296H216C202.8 296 192 306.8 192 320s10.75 24 24 24h278.1l-39.03 39.03C450.3 387.7 448 393.8 448 400s2.344 12.28 7.031 16.97c9.375 9.375 24.56 9.375 33.94 0l80-80C578.3 327.6 578.3 312.4 568.1 303zM360 384c-13.25 0-24 10.74-24 24V448c0 8.836-7.164 16-16 16H64.02c-8.836 0-16-7.164-16-16L48 64.13c0-8.836 7.164-16 16-16h160L224 128c0 17.67 14.33 32 32 32h79.1v72c0 13.25 10.74 24 23.1 24S384 245.3 384 232V138.6c0-16.98-6.742-33.26-18.75-45.26l-74.63-74.64C278.6 6.742 262.3 0 245.4 0H63.1C28.65 0-.002 28.66 0 64l.0065 384c.002 35.34 28.65 64 64 64H320c35.2 0 64-28.8 64-64v-40C384 394.7 373.3 384 360 384z\"/></svg>",
2366
2367
  "file_export_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 640 512\"><path d=\"M32 64C32 28.7 60.7 0 96 0H256V128c0 17.7 14.3 32 32 32H416V288H248c-13.3 0-24 10.7-24 24s10.7 24 24 24H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V64zM416 336V288H526.1l-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39H416zm0-208H288V0L416 128z\"/></svg>",
2368
+ "file_magnifying_glass": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3l0 5.5c-16.7 0-32.8 2.6-48 7.3l0-7.3-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l250.1 0c18.7 9.1 39.5 14.6 61.4 15.8C364.5 499 343.7 512 320 512L64 512c-35.3 0-64-28.7-64-64L0 64zM256 320c0-70.7 57.3-128 128-128s128 57.3 128 128c0 26.7-8.2 51.4-22.1 71.9L569 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L456 425.8l-.1 .1C435.4 439.8 410.7 448 384 448c-70.7 0-128-57.3-128-128zm48 0c0 28.6 15.2 55 40 69.3s55.2 14.3 80 0s40-40.7 40-69.3s-15.2-55-40-69.3s-55.2-14.3-80 0s-40 40.7-40 69.3z\"/></svg>",
2367
2369
  "file_pdf_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path d=\"M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z\"/></svg>",
2368
2370
  "file_pdf_solid": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 384 512\"><path d=\"M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 224H88c30.9 0 56 25.1 56 56s-25.1 56-56 56H80v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V320 240c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H80v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-8.8 0-16-7.2-16-16V240zm32 112h8c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V304 240c0-8.8 7.2-16 16-16z\"/></svg>",
2369
2371
  "file_signature_regular": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 576 512\"><path d=\"M64 464H320c8.8 0 16-7.2 16-16v-6.7l39.8-9.9c2.8-.7 5.6-1.6 8.2-2.7V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64C0 28.7 28.7 0 64 0H229.5c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3v49.1l-48 48V160H256c-17.7 0-32-14.3-32-32V48H64c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16zm96-115l-9.8 32.8c-6.1 20.3-24.8 34.2-46 34.2H96c-8.8 0-16-7.2-16-16s7.2-16 16-16h8.2c7.1 0 13.3-4.6 15.3-11.4l14.9-49.5c3.4-11.3 13.8-19.1 25.6-19.1s22.2 7.7 25.6 19.1l11.6 38.6c7.4-6.2 16.8-9.7 26.8-9.7c15.9 0 30.4 9 37.5 23.2l4.4 8.8h25.6l12-48.2c1.4-5.6 4.3-10.8 8.4-14.9L441.1 191.8l71 71L382.9 391.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-1.1 .3-2.1 .4-3.2 .5c-.8 .1-1.5 .2-2.3 .2H256c-6.1 0-11.6-3.4-14.3-8.8l-8.8-17.7c-1.7-3.4-5.1-5.5-8.8-5.5s-7.2 2.1-8.8 5.5l-8.8 17.7c-2.9 5.9-9.2 9.4-15.7 8.8s-12.1-5.1-13.9-11.3L160 349zM549.8 139.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0z\"/></svg>",
@@ -3218,6 +3220,7 @@
3218
3220
  this.showWebservice = true;
3219
3221
  this.showPdf = true;
3220
3222
  this.selectedPurchaseMethod = {};
3223
+ this.additionalFileHasBeenSaved = false;
3221
3224
  this._subscriptions = [];
3222
3225
  this._subscriptions.push(this._sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentPrintRequestChange.next(value); }), this._sendMethodService.reportingDocumentEmailSignDocBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentEmailRequestChange.next(value); }), this._sendMethodService.reportingDocumentPdfBaseRequestChanged.subscribe(function (value) { return _this.reportingDocumentPdfRequestChange.next(value); }));
3223
3226
  }
@@ -3254,7 +3257,28 @@
3254
3257
  this.purchaseItems.nativeElement.offsetLeft - this.navigationItems.nativeElement.offsetLeft;
3255
3258
  }
3256
3259
  };
3260
+ SendMethodDialogComponent.prototype.handleAdditionalFileSaved = function (file) {
3261
+ this.additionalFileHasBeenSaved = true;
3262
+ this.additionalFileChangeEvent.emit(file);
3263
+ this._continueHandleOkClick();
3264
+ };
3257
3265
  SendMethodDialogComponent.prototype.handleOkClick = function () {
3266
+ var _a, _b, _c, _d;
3267
+ if (this.isAdditionalDocEnabled && !this.additionalFileHasBeenSaved) {
3268
+ if (((_a = this.activeSendMethod) === null || _a === void 0 ? void 0 : _a.code) === sendMethodType_enum.SendMethodType.Print &&
3269
+ ((_b = this.printerComponentRef) === null || _b === void 0 ? void 0 : _b.isAdditionalFileActive())) {
3270
+ this.printerComponentRef.openAdditionalFileDialog();
3271
+ return;
3272
+ }
3273
+ if (((_c = this.activeSendMethod) === null || _c === void 0 ? void 0 : _c.code) === sendMethodType_enum.SendMethodType.Email &&
3274
+ ((_d = this.emailComponentRef) === null || _d === void 0 ? void 0 : _d.isAdditionalFileActive())) {
3275
+ this.emailComponentRef.openAdditionalFileDialog();
3276
+ return;
3277
+ }
3278
+ }
3279
+ this._continueHandleOkClick();
3280
+ };
3281
+ SendMethodDialogComponent.prototype._continueHandleOkClick = function () {
3258
3282
  if (this.activeSendMethod && this.activeSendMethod.code.toString() === "COMBINED") {
3259
3283
  var selectedMethodData = Object.assign({ sendMethod: this.activeSendMethod.code.toString() }, this.selectedPurchaseMethod);
3260
3284
  this.okClick.emit(selectedMethodData);
@@ -3361,7 +3385,7 @@
3361
3385
  SendMethodDialogComponent.decorators = [
3362
3386
  { type: i0.Component, args: [{
3363
3387
  selector: 'co-send-method-dialog',
3364
- 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.ShareSolid)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"dialog-navigation-wrapper\">\n <div\n *ngFor=\"let sendMethod of sendMethods; let index = index\"\n class=\"send-button-wrapper\"\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 class=\"send-button-wrapper\"\n *ngIf=\"usePurchaseSendMethod\"\n [class.selected]=\"activeSendMethod?.code === 'COMBINED'\"\n (click)=\"handleCombinedClick()\">\n <div class=\"custom-button-title\" [textContent]=\"'COMBINED' | sharedLocalize\"></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 [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n [transactionType]=\"transactionType\"\n [defaultPrinter]=\"defaultPrinter\"\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 [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n [transactionType]=\"transactionType\"\n [emailUnsignedPossible]=\"emailUnsignedPossible\"\n (showFilePreview)=\"showFilePreview.emit($event)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\">\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 [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n [transactionType]=\"transactionType\"\n (showFilePreview)=\"showFilePreview.emit($event)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\">\n </co-send-method-pdf>\n </div>\n <div #purchaseItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"usePurchaseSendMethod\">\n <co-send-method-purchase\n [emailLayouts]=\"emailLayouts\"\n [printLayouts]=\"printLayouts\"\n [printerList]=\"printerList\"\n [defaultPrinter]=\"defaultPrinter\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n (purchaseMethodChanged)=\"handlePurchaseMethodChange($event)\">\n </co-send-method-purchase>\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)=\"handleOkClick()\"></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 ",
3388
+ 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.ShareSolid)\"></co-icon>\n <div class=\"co-dialog-header-title\" [textContent]=\"headerTitle\"></div>\n </div>\n <div class=\"dialog-navigation-wrapper\">\n <div\n *ngFor=\"let sendMethod of sendMethods; let index = index\"\n class=\"send-button-wrapper\"\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 class=\"send-button-wrapper\"\n *ngIf=\"usePurchaseSendMethod\"\n [class.selected]=\"activeSendMethod?.code === 'COMBINED'\"\n (click)=\"handleCombinedClick()\">\n <div class=\"custom-button-title\" [textContent]=\"'COMBINED' | sharedLocalize\"></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 #printerComponent\n [isPrinterLayoutsEnabled]=\"isPrinterLayoutsEnabled\"\n [printerList]=\"printerList\"\n [layouts]=\"printLayouts\"\n [isAdditionalDocEnabled]=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n [transactionType]=\"transactionType\"\n [defaultPrinter]=\"defaultPrinter\"\n (additionalFileChangeEvent)=\"handleAdditionalFileSaved($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 #emailComponent\n [emailAddresses]=\"emailAddresses\"\n [layouts]=\"emailLayouts\"\n [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n [transactionType]=\"transactionType\"\n [emailUnsignedPossible]=\"emailUnsignedPossible\"\n (showFilePreview)=\"showFilePreview.emit($event)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n [isAdditionalDocEnabled]=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (additionalFileChangeEvent)=\"handleAdditionalFileSaved($event)\">\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 [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n [transactionType]=\"transactionType\"\n (showFilePreview)=\"showFilePreview.emit($event)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\">\n </co-send-method-pdf>\n </div>\n <div #purchaseItems class=\"send-method-navigation-content co-small-scrollbar\" *ngIf=\"usePurchaseSendMethod\">\n <co-send-method-purchase\n [emailLayouts]=\"emailLayouts\"\n [printLayouts]=\"printLayouts\"\n [defaultPrinter]=\"defaultPrinter\"\n [printerList]=\"printerList\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n (purchaseMethodChanged)=\"handlePurchaseMethodChange($event)\">\n </co-send-method-purchase>\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)=\"handleOkClick()\"></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 ",
3365
3389
  encapsulation: i0.ViewEncapsulation.None,
3366
3390
  animations: [
3367
3391
  animations.trigger('slideInOut', [
@@ -3387,6 +3411,8 @@
3387
3411
  webServiceItems: [{ type: i0.ViewChild, args: ['webServiceItems', { read: i0.ElementRef },] }],
3388
3412
  pdfItems: [{ type: i0.ViewChild, args: ['pdfItems', { read: i0.ElementRef },] }],
3389
3413
  purchaseItems: [{ type: i0.ViewChild, args: ['purchaseItems', { read: i0.ElementRef },] }],
3414
+ printerComponentRef: [{ type: i0.ViewChild, args: ['printerComponent',] }],
3415
+ emailComponentRef: [{ type: i0.ViewChild, args: ['emailComponent',] }],
3390
3416
  printerList: [{ type: i0.Input }],
3391
3417
  reportingDocumentPrintRequest: [{ type: i0.Input }],
3392
3418
  reportingDocumentEmailRequest: [{ type: i0.Input }],
@@ -3436,9 +3462,13 @@
3436
3462
  this.layouts = [];
3437
3463
  this.pdfDoc = '';
3438
3464
  this.disablePdfPreview = false;
3465
+ this.additionalFileContents = '';
3466
+ this.additionalFileName = '';
3439
3467
  this.emailUnsignedPossible = false;
3468
+ this.isAdditionalDocEnabled = false;
3440
3469
  this.showFilePreview = new i0.EventEmitter();
3441
3470
  this.loadDefaultPrinterName = new i0.EventEmitter();
3471
+ this.additionalFileChangeEvent = new i0.EventEmitter();
3442
3472
  this.emailAddressViewmodels = [];
3443
3473
  }
3444
3474
  SendMethodEmailComponent.prototype.showClass = function () {
@@ -3463,12 +3493,20 @@
3463
3493
  }
3464
3494
  emailAddressViewmodel.checked = wantedValue;
3465
3495
  };
3496
+ SendMethodEmailComponent.prototype.openAdditionalFileDialog = function () {
3497
+ var _a;
3498
+ (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.openForSave();
3499
+ };
3500
+ SendMethodEmailComponent.prototype.isAdditionalFileActive = function () {
3501
+ var _a, _b;
3502
+ return (_b = (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.isActive) !== null && _b !== void 0 ? _b : false;
3503
+ };
3466
3504
  return SendMethodEmailComponent;
3467
3505
  }());
3468
3506
  SendMethodEmailComponent.decorators = [
3469
3507
  { type: i0.Component, args: [{
3470
3508
  selector: 'co-send-method-email',
3471
- template: "\n <span class=\"send-methods-label\" [textContent]=\"'SETTINGS' | sharedLocalize\"></span>\n <div class=\"layout-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentEmailSignDocBaseRequest\"\n (requestChange)=\"showFilePreview.emit(sendMethodService.reportingDocumentEmailSignDocBaseRequest.reportId)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n [layouts]=\"layouts\"\n [useDefault]=\"false\"\n [label]=\"'EMAIL_LAYOUT'\">\n </co-layout-selection>\n\n <co-pdf-preview\n *ngIf=\"transactionType === 'salesOrderOverview'\"\n [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n (showFilePreview)=\"showFilePreview.emit(sendMethodService.reportingDocumentEmailSignDocBaseRequest.reportId)\">\n </co-pdf-preview>\n\n <co-signature-button [request]=\"sendMethodService.reportingDocumentEmailSignDocBaseRequest\" [emailUnsignedPossible]=\"emailUnsignedPossible\"></co-signature-button>\n </div>\n <div class=\"email-addresses-wrapper co-small-scrollbar\">\n <div class=\"email-address-wrapper\" *ngFor=\"let emailAddressViewmodel of emailAddressViewmodels\" (click)=\"handleCheckedEmail(emailAddressViewmodel)\">\n <co-input-checkbox [model]=\"emailAddressViewmodel.checked\" (modelChange)=\"handleCheckedEmail(emailAddressViewmodel)\"></co-input-checkbox>\n <div class=\"email-address\" [textContent]=\"emailAddressViewmodel.emailAddress\"></div>\n </div>\n </div>\n ",
3509
+ template: "\n <span class=\"send-methods-label\" [textContent]=\"'SETTINGS' | sharedLocalize\"></span>\n <div class=\"layout-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentEmailSignDocBaseRequest\"\n (requestChange)=\"showFilePreview.emit(sendMethodService.reportingDocumentEmailSignDocBaseRequest.reportId)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n [layouts]=\"layouts\"\n [useDefault]=\"false\"\n [label]=\"'EMAIL_LAYOUT'\">\n </co-layout-selection>\n <co-additional-file-button\n #additionalFileButton\n *ngIf=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\">\n </co-additional-file-button>\n <co-signature-button [request]=\"sendMethodService.reportingDocumentEmailSignDocBaseRequest\" [emailUnsignedPossible]=\"emailUnsignedPossible\"></co-signature-button>\n </div>\n <div class=\"email-addresses-wrapper co-small-scrollbar\">\n <div class=\"email-address-wrapper\" *ngFor=\"let emailAddressViewmodel of emailAddressViewmodels\" (click)=\"handleCheckedEmail(emailAddressViewmodel)\">\n <co-input-checkbox [model]=\"emailAddressViewmodel.checked\" (modelChange)=\"handleCheckedEmail(emailAddressViewmodel)\"></co-input-checkbox>\n <div class=\"email-address\" [textContent]=\"emailAddressViewmodel.emailAddress\"></div>\n </div>\n </div>\n <co-pdf-preview\n *ngIf=\"transactionType === 'salesOrderOverview'\"\n [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n (showFilePreview)=\"showFilePreview.emit(sendMethodService.reportingDocumentEmailSignDocBaseRequest.reportId)\">\n </co-pdf-preview>\n ",
3472
3510
  encapsulation: i0.ViewEncapsulation.None
3473
3511
  },] }
3474
3512
  ];
@@ -3476,14 +3514,19 @@
3476
3514
  { type: SendMethodService }
3477
3515
  ]; };
3478
3516
  SendMethodEmailComponent.propDecorators = {
3517
+ additionalFileButtonRef: [{ type: i0.ViewChild, args: ['additionalFileButton',] }],
3479
3518
  emailAddresses: [{ type: i0.Input }],
3480
3519
  layouts: [{ type: i0.Input }],
3481
3520
  pdfDoc: [{ type: i0.Input }],
3482
3521
  disablePdfPreview: [{ type: i0.Input }],
3483
3522
  transactionType: [{ type: i0.Input }],
3523
+ additionalFileContents: [{ type: i0.Input }],
3524
+ additionalFileName: [{ type: i0.Input }],
3484
3525
  emailUnsignedPossible: [{ type: i0.Input }],
3526
+ isAdditionalDocEnabled: [{ type: i0.Input }],
3485
3527
  showFilePreview: [{ type: i0.Output }],
3486
3528
  loadDefaultPrinterName: [{ type: i0.Output }],
3529
+ additionalFileChangeEvent: [{ type: i0.Output }],
3487
3530
  showClass: [{ type: i0.HostBinding, args: ['class.co-send-method-email',] }]
3488
3531
  };
3489
3532
 
@@ -3913,7 +3956,7 @@
3913
3956
  PdfPreviewComponent.decorators = [
3914
3957
  { type: i0.Component, args: [{
3915
3958
  selector: "co-pdf-preview",
3916
- template: "\n <div class=\"pdf-preview-button\" [class.disabled]=\"disablePdfPreview\" (click)=\"showDialog = true\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.FilePdfRegular)\"></co-icon>\n </div>\n <co-preview-pdf-dialog\n *ngIf=\"showDialog\"\n [pdfDoc]=\"pdfDoc\"\n (closePDFDialog)=\"showDialog = false\">\n </co-preview-pdf-dialog>\n ",
3959
+ template: "\n <div class=\"pdf-preview-button\" [class.disabled]=\"disablePdfPreview\" (click)=\"showDialog = true\">\n <co-icon [iconData]=\"iconCacheService.getIcon(icons.FileMagnifyingGlass)\"></co-icon>\n </div>\n <co-preview-pdf-dialog\n *ngIf=\"showDialog\"\n [pdfDoc]=\"pdfDoc\"\n (closePDFDialog)=\"showDialog = false\">\n </co-preview-pdf-dialog>\n ",
3917
3960
  encapsulation: i0.ViewEncapsulation.None
3918
3961
  },] }
3919
3962
  ];
@@ -4028,6 +4071,73 @@
4028
4071
  },] }
4029
4072
  ];
4030
4073
 
4074
+ var AdditionalFileButtonComponent = /** @class */ (function () {
4075
+ function AdditionalFileButtonComponent(iconCacheService) {
4076
+ this.iconCacheService = iconCacheService;
4077
+ this.icons = exports["ɵce"];
4078
+ this.isActive = false;
4079
+ this.additionalFileContents = '';
4080
+ this.additionalFileName = '';
4081
+ this.additionalFileChangeEvent = new i0.EventEmitter();
4082
+ this.openPdfProgrammatically = new i0.EventEmitter();
4083
+ this.show = false;
4084
+ }
4085
+ AdditionalFileButtonComponent.prototype.openForSave = function () {
4086
+ if (this.isActive) {
4087
+ this.show = true;
4088
+ }
4089
+ };
4090
+ AdditionalFileButtonComponent.prototype.showClass = function () {
4091
+ return true;
4092
+ };
4093
+ AdditionalFileButtonComponent.prototype.handleToggleDialog = function () {
4094
+ this.show = !this.show;
4095
+ };
4096
+ AdditionalFileButtonComponent.prototype.toggleActive = function () {
4097
+ this.isActive = !this.isActive;
4098
+ };
4099
+ return AdditionalFileButtonComponent;
4100
+ }());
4101
+ AdditionalFileButtonComponent.decorators = [
4102
+ { type: i0.Component, args: [{
4103
+ selector: "co-additional-file-button",
4104
+ template: "\n <div class=\"additional-file-button-wrapper\"\n [class.selected]=\"isActive\"\n (click)=\"toggleActive()\">\n <co-icon\n [iconData]=\"iconCacheService.getIcon(icons.RegularFileSignatureCirclePlus)\"\n ></co-icon>\n </div>\n\n <co-custom-pdf-dialog\n *ngIf=\"show\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (closePDFDialog)=\"handleToggleDialog()\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\"\n ></co-custom-pdf-dialog>\n ",
4105
+ encapsulation: i0.ViewEncapsulation.None
4106
+ },] }
4107
+ ];
4108
+ AdditionalFileButtonComponent.ctorParameters = function () { return [
4109
+ { type: IconCacheService }
4110
+ ]; };
4111
+ AdditionalFileButtonComponent.propDecorators = {
4112
+ request: [{ type: i0.Input }],
4113
+ additionalFileContents: [{ type: i0.Input }],
4114
+ additionalFileName: [{ type: i0.Input }],
4115
+ additionalFileChangeEvent: [{ type: i0.Output }],
4116
+ openPdfProgrammatically: [{ type: i0.Output }],
4117
+ showClass: [{ type: i0.HostBinding, args: ["class.co-additional-file-button",] }]
4118
+ };
4119
+
4120
+ var AdditionalFileButtonModule = /** @class */ (function () {
4121
+ function AdditionalFileButtonModule() {
4122
+ }
4123
+ return AdditionalFileButtonModule;
4124
+ }());
4125
+ AdditionalFileButtonModule.decorators = [
4126
+ { type: i0.NgModule, args: [{
4127
+ imports: [
4128
+ common.CommonModule,
4129
+ corecomponents_v12.IconModule,
4130
+ CustomPdfDialogModule
4131
+ ],
4132
+ declarations: [
4133
+ AdditionalFileButtonComponent
4134
+ ],
4135
+ exports: [
4136
+ AdditionalFileButtonComponent
4137
+ ]
4138
+ },] }
4139
+ ];
4140
+
4031
4141
  var SendMethodEmailModule = /** @class */ (function () {
4032
4142
  function SendMethodEmailModule() {
4033
4143
  }
@@ -4042,7 +4152,8 @@
4042
4152
  corecomponents_v12.IconModule,
4043
4153
  SignatureButtonModule,
4044
4154
  PdfPreviewModule,
4045
- SharedComponentsTranslationModule
4155
+ SharedComponentsTranslationModule,
4156
+ AdditionalFileButtonModule
4046
4157
  ],
4047
4158
  declarations: [
4048
4159
  SendMethodEmailComponent
@@ -4081,12 +4192,20 @@
4081
4192
  this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers = checked;
4082
4193
  this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
4083
4194
  };
4195
+ SendMethodPrinterComponent.prototype.openAdditionalFileDialog = function () {
4196
+ var _a;
4197
+ (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.openForSave();
4198
+ };
4199
+ SendMethodPrinterComponent.prototype.isAdditionalFileActive = function () {
4200
+ var _a, _b;
4201
+ return (_b = (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.isActive) !== null && _b !== void 0 ? _b : false;
4202
+ };
4084
4203
  return SendMethodPrinterComponent;
4085
4204
  }());
4086
4205
  SendMethodPrinterComponent.decorators = [
4087
4206
  { type: i0.Component, args: [{
4088
4207
  selector: 'co-send-method-printer',
4089
- template: "\n <span class=\"send-methods-label\" [textContent]=\"'SETTINGS' | sharedLocalize\"></span>\n <div class=\"printer-layout-selections-wrapper\">\n <div class=\"printer-signature-wrapper\">\n <co-printer-selection [defaultPrinter]=\"defaultPrinter\" [printers]=\"printerList\"></co-printer-selection>\n <co-signature-button [request]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"></co-signature-button>\n </div>\n <div class=\"layout-buttons-wrapper\" *ngIf=\"isPrinterLayoutsEnabled\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n (requestChange)=\"showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n [layouts]=\"layouts\"\n [label]=\"'PRINTER_LAYOUT'\"\n [useDefault]=\"false\">\n </co-layout-selection>\n <div class=\"additional-checks\">\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 </div>\n <div class=\"additional-buttons\">\n <co-pdf-preview\n *ngIf=\"transactionType === 'salesOrderOverview'\"\n [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n (showFilePreview)=\"showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)\">\n </co-pdf-preview>\n <co-additional-file-button\n *ngIf=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\">\n </co-additional-file-button>\n </div>\n </div>\n </div>\n ",
4208
+ template: "\n <span class=\"send-methods-label\" [textContent]=\"'SETTINGS' | sharedLocalize\"></span>\n <div class=\"printer-layout-selections-wrapper\">\n <div class=\"printer-signature-wrapper\">\n <co-layout-selection\n [(request)]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"\n (requestChange)=\"showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)\"\n (loadDefaultPrinterName)=\"loadDefaultPrinterName.emit($event)\"\n [layouts]=\"layouts\"\n [label]=\"'PRINTER_LAYOUT'\"\n [useDefault]=\"false\">\n </co-layout-selection>\n <co-additional-file-button\n #additionalFileButton\n *ngIf=\"isAdditionalDocEnabled\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\">\n </co-additional-file-button>\n <co-signature-button [request]=\"sendMethodService.reportingDocumentPrintSignDocBaseRequest\"></co-signature-button>\n </div>\n <div class=\"layout-buttons-wrapper\" *ngIf=\"isPrinterLayoutsEnabled\">\n <co-printer-selection [defaultPrinter]=\"defaultPrinter\" [printers]=\"printerList\"></co-printer-selection>\n <div class=\"additional-checks\">\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 </div>\n <div class=\"additional-buttons\">\n <co-pdf-preview\n *ngIf=\"transactionType === 'salesOrderOverview'\"\n [pdfDoc]=\"pdfDoc\"\n [disablePdfPreview]=\"disablePdfPreview\"\n (showFilePreview)=\"showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)\">\n </co-pdf-preview>\n </div>\n </div>\n </div>\n ",
4090
4209
  encapsulation: i0.ViewEncapsulation.None
4091
4210
  },] }
4092
4211
  ];
@@ -4096,6 +4215,7 @@
4096
4215
  ]; };
4097
4216
  SendMethodPrinterComponent.propDecorators = {
4098
4217
  showClass: [{ type: i0.HostBinding, args: ['class.co-send-method-printer',] }],
4218
+ additionalFileButtonRef: [{ type: i0.ViewChild, args: ['additionalFileButton',] }],
4099
4219
  printerList: [{ type: i0.Input }],
4100
4220
  defaultPrinter: [{ type: i0.Input }],
4101
4221
  layouts: [{ type: i0.Input }],
@@ -4111,13 +4231,13 @@
4111
4231
  loadDefaultPrinterName: [{ type: i0.Output }]
4112
4232
  };
4113
4233
 
4114
- exports["ɵy"] = void 0;
4234
+ exports["ɵba"] = void 0;
4115
4235
  (function (LanguageCode) {
4116
4236
  LanguageCode["Dutch"] = "nl-NL";
4117
4237
  LanguageCode["English"] = "en-GB";
4118
4238
  LanguageCode["German"] = "de-DE";
4119
4239
  LanguageCode["French"] = "fr-FR";
4120
- })(exports["ɵy"] || (exports["ɵy"] = {}));
4240
+ })(exports["ɵba"] || (exports["ɵba"] = {}));
4121
4241
 
4122
4242
  var SharedService = /** @class */ (function () {
4123
4243
  function SharedService(locale, options, connector, dictionary) {
@@ -4542,7 +4662,7 @@
4542
4662
  },] }
4543
4663
  ];
4544
4664
  SharedService.ctorParameters = function () { return [
4545
- { type: exports["ɵy"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
4665
+ { type: exports["ɵba"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
4546
4666
  { type: OptionsService },
4547
4667
  { type: SharedConnectorService },
4548
4668
  { type: SharedComponentsDictionaryService }
@@ -4648,62 +4768,6 @@
4648
4768
  },] }
4649
4769
  ];
4650
4770
 
4651
- var AdditionalFileButtonComponent = /** @class */ (function () {
4652
- function AdditionalFileButtonComponent(iconCacheService) {
4653
- this.iconCacheService = iconCacheService;
4654
- this.icons = exports["ɵce"];
4655
- this.additionalFileContents = '';
4656
- this.additionalFileName = '';
4657
- this.additionalFileChangeEvent = new i0.EventEmitter();
4658
- this.show = false;
4659
- }
4660
- AdditionalFileButtonComponent.prototype.showClass = function () {
4661
- return true;
4662
- };
4663
- AdditionalFileButtonComponent.prototype.handleToggleDialog = function () {
4664
- this.show = !this.show;
4665
- };
4666
- return AdditionalFileButtonComponent;
4667
- }());
4668
- AdditionalFileButtonComponent.decorators = [
4669
- { type: i0.Component, args: [{
4670
- selector: "co-additional-file-button",
4671
- template: "\n <div class=\"additional-file-button-wrapper\"\n (click)=\"handleToggleDialog()\">\n <co-icon\n [iconData]=\"iconCacheService.getIcon(icons.RegularFileSignatureCirclePlus)\"\n ></co-icon>\n </div>\n\n <co-custom-pdf-dialog\n *ngIf=\"show\"\n [additionalFileContents]=\"additionalFileContents\"\n [additionalFileName]=\"additionalFileName\"\n (closePDFDialog)=\"handleToggleDialog()\"\n (additionalFileChangeEvent)=\"additionalFileChangeEvent.emit($event)\"\n ></co-custom-pdf-dialog>\n ",
4672
- encapsulation: i0.ViewEncapsulation.None
4673
- },] }
4674
- ];
4675
- AdditionalFileButtonComponent.ctorParameters = function () { return [
4676
- { type: IconCacheService }
4677
- ]; };
4678
- AdditionalFileButtonComponent.propDecorators = {
4679
- request: [{ type: i0.Input }],
4680
- additionalFileContents: [{ type: i0.Input }],
4681
- additionalFileName: [{ type: i0.Input }],
4682
- additionalFileChangeEvent: [{ type: i0.Output }],
4683
- showClass: [{ type: i0.HostBinding, args: ["class.co-additional-file-button",] }]
4684
- };
4685
-
4686
- var AdditionalFileButtonModule = /** @class */ (function () {
4687
- function AdditionalFileButtonModule() {
4688
- }
4689
- return AdditionalFileButtonModule;
4690
- }());
4691
- AdditionalFileButtonModule.decorators = [
4692
- { type: i0.NgModule, args: [{
4693
- imports: [
4694
- common.CommonModule,
4695
- corecomponents_v12.IconModule,
4696
- CustomPdfDialogModule
4697
- ],
4698
- declarations: [
4699
- AdditionalFileButtonComponent
4700
- ],
4701
- exports: [
4702
- AdditionalFileButtonComponent
4703
- ]
4704
- },] }
4705
- ];
4706
-
4707
4771
  var SendMethodPrinterModule = /** @class */ (function () {
4708
4772
  function SendMethodPrinterModule() {
4709
4773
  }
@@ -7433,7 +7497,7 @@
7433
7497
  },] }
7434
7498
  ];
7435
7499
  CalendarViewComponent.ctorParameters = function () { return [
7436
- { type: exports["ɵy"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
7500
+ { type: exports["ɵba"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
7437
7501
  ]; };
7438
7502
  CalendarViewComponent.propDecorators = {
7439
7503
  view: [{ type: i0.Input }],
@@ -7560,7 +7624,7 @@
7560
7624
  CalendarUtils.Locale = undefined;
7561
7625
  CalendarUtils.Now = new Date();
7562
7626
  CalendarUtils.ctorParameters = function () { return [
7563
- { type: exports["ɵy"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
7627
+ { type: exports["ɵba"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
7564
7628
  ]; };
7565
7629
 
7566
7630
  var AgendaEvent = /** @class */ (function () {
@@ -7809,7 +7873,7 @@
7809
7873
  },] }
7810
7874
  ];
7811
7875
  AgendaHeaderComponent.ctorParameters = function () { return [
7812
- { type: exports["ɵy"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
7876
+ { type: exports["ɵba"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
7813
7877
  { type: i0.ElementRef },
7814
7878
  { type: i0.Renderer2 },
7815
7879
  { type: i0.NgZone },
@@ -7910,7 +7974,7 @@
7910
7974
  { type: i0.Directive }
7911
7975
  ];
7912
7976
  AgendaBaseViewComponent.ctorParameters = function () { return [
7913
- { type: exports["ɵy"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
7977
+ { type: exports["ɵba"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] },
7914
7978
  { type: IconCacheService }
7915
7979
  ]; };
7916
7980
  AgendaBaseViewComponent.propDecorators = {
@@ -14337,7 +14401,7 @@
14337
14401
  { type: SharedComponentsDictionaryService },
14338
14402
  { type: corecomponents_v12.CoreDialogService },
14339
14403
  { type: SharedService },
14340
- { type: exports["ɵy"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
14404
+ { type: exports["ɵba"], decorators: [{ type: i0.Inject, args: [i0.LOCALE_ID,] }] }
14341
14405
  ]; };
14342
14406
  CreationSummaryBlockComponent.propDecorators = {
14343
14407
  editTemplate: [{ type: i0.ViewChild, args: ["editTemplate", { static: true },] }],
@@ -16617,7 +16681,6 @@
16617
16681
  exports.sendMethodsWithIcon = sendMethodsWithIcon;
16618
16682
  exports["ɵa"] = SignatureComponent;
16619
16683
  exports["ɵb"] = SignaturesComponent;
16620
- exports["ɵba"] = AdditionalFileButtonComponent;
16621
16684
  exports["ɵbb"] = SendMethodPrinterComponent;
16622
16685
  exports["ɵbc"] = SendMethodPdfModule;
16623
16686
  exports["ɵbd"] = SendMethodPdfComponent;
@@ -16745,11 +16808,12 @@
16745
16808
  exports["ɵr"] = PreviewPdfDialogModule;
16746
16809
  exports["ɵs"] = PreviewPdfDialogComponent;
16747
16810
  exports["ɵt"] = PdfPreviewComponent;
16748
- exports["ɵu"] = SendMethodEmailComponent;
16749
- exports["ɵv"] = SendMethodPrinterModule;
16750
- exports["ɵw"] = PrinterSelectionModule;
16751
- exports["ɵx"] = PrinterSelectionComponent;
16752
- exports["ɵz"] = AdditionalFileButtonModule;
16811
+ exports["ɵu"] = AdditionalFileButtonModule;
16812
+ exports["ɵv"] = AdditionalFileButtonComponent;
16813
+ exports["ɵw"] = SendMethodEmailComponent;
16814
+ exports["ɵx"] = SendMethodPrinterModule;
16815
+ exports["ɵy"] = PrinterSelectionModule;
16816
+ exports["ɵz"] = PrinterSelectionComponent;
16753
16817
 
16754
16818
  Object.defineProperty(exports, '__esModule', { value: true });
16755
16819