@colijnit/sharedcomponents 256.2.8 → 256.2.9

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 (24) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +328 -264
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +9 -9
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +10 -10
  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/send-method-email/send-method-email.component.js +26 -2
  8. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +4 -2
  9. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +32 -24
  10. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +34 -4
  11. package/esm2015/lib/enum/icon.enum.js +2 -1
  12. package/esm2015/lib/model/icon-svg.js +2 -1
  13. package/fesm2015/colijnit-sharedcomponents.js +468 -391
  14. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  15. package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.d.ts +4 -0
  16. package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss +2 -2
  17. package/lib/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +2 -2
  18. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +9 -0
  19. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +4 -0
  20. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +6 -0
  21. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +4 -2
  22. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +7 -0
  23. package/lib/enum/icon.enum.d.ts +1 -0
  24. package/package.json +1 -1
@@ -46,19 +46,19 @@ import { ArticleExtendedRequest } from '@colijnit/articleapi/build/model/article
46
46
  import * as i1 from '@angular/platform-browser';
47
47
  import { DomSanitizer } from '@angular/platform-browser';
48
48
  import { ArticleStockManagement } from '@colijnit/articleapi/build/model/article-stock-management';
49
- import { BaseModuleScreenConfigService, IconModule, ListOfValuesModule, InputCheckboxModule, CoDialogModule, ButtonModule, ScreenConfigurationModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, PopupModule, InputDatePickerModule, ResponsiveTextModule, InputSearchModule, PromptService, FormComponent, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoOrientation, CoreComponentsTranslationModule, TemplateWrapperModule, FormModule, FormMasterService, IconCacheService as IconCacheService$1, CoreDialogService, InputDateRangePickerModule, CollapsibleModule, ColorSequenceService, ListOfIconsModule } from '@colijnit/corecomponents_v12';
49
+ import { BaseModuleScreenConfigService, IconModule, ListOfValuesModule, CoDialogModule, ButtonModule, InputCheckboxModule, ScreenConfigurationModule, OverlayService, ClickoutsideModule, OverlayModule, InputRadioButtonModule, SimpleGridModule, ImageModule, InputTextModule, InputNumberPickerModule, CoDialogWizardModule, InputTextareaModule, PopupModule, InputDatePickerModule, ResponsiveTextModule, InputSearchModule, PromptService, FormComponent, SCREEN_CONFIG_ADAPTER_COMPONENT_INTERFACE_NAME, CoOrientation, CoreComponentsTranslationModule, TemplateWrapperModule, FormModule, FormMasterService, IconCacheService as IconCacheService$1, CoreDialogService, InputDateRangePickerModule, CollapsibleModule, ColorSequenceService, ListOfIconsModule } from '@colijnit/corecomponents_v12';
50
50
  import { ArticleTransaction as ArticleTransaction$1 } from '@colijnit/articleapi/build/model/article-transaction';
51
51
  import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
52
52
  import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
53
53
  import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
54
54
  import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
55
55
  import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
56
- import { SelectReportTemplatesRequest } from '@colijnit/mainapi/build/model/select-report-templates-request';
57
- import { EmailJob } from '@colijnit/mainapi/build/model/email-job';
58
56
  import { jsPDF } from 'jspdf';
59
57
  import { toJpeg } from 'html-to-image';
60
58
  import { FileUtils } from '@colijnit/mainapi/build/utils/file-utils';
61
59
  import { FileType as FileType$1 } from '@colijnit/mainapi/build/enum/file-type.enum';
60
+ import { SelectReportTemplatesRequest } from '@colijnit/mainapi/build/model/select-report-templates-request';
61
+ import { EmailJob } from '@colijnit/mainapi/build/model/email-job';
62
62
  import { GetStockHistoryRequest } from '@colijnit/articleapi/build/model/get-stock-history-request';
63
63
  import { Chart, DoughnutController, ArcElement } from 'chart.js';
64
64
  import * as moment from 'moment';
@@ -1534,6 +1534,7 @@ var Icon;
1534
1534
  Icon["EyeRegular"] = "eye_regular";
1535
1535
  Icon["FileExportRegular"] = "file_export_regular";
1536
1536
  Icon["FileExportSolid"] = "file_export_solid";
1537
+ Icon["FileMagnifyingGlass"] = "file_magnifying_glass";
1537
1538
  Icon["FilePdfRegular"] = "file_pdf_regular";
1538
1539
  Icon["FilePdfSolid"] = "file_pdf_solid";
1539
1540
  Icon["FileSignatureRegular"] = "file_signature_regular";
@@ -1609,6 +1610,7 @@ const IconSvg = {
1609
1610
  "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>",
1610
1611
  "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>",
1611
1612
  "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>",
1613
+ "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>",
1612
1614
  "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>",
1613
1615
  "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>",
1614
1616
  "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>",
@@ -2750,6 +2752,7 @@ class SendMethodDialogComponent {
2750
2752
  this.showWebservice = true;
2751
2753
  this.showPdf = true;
2752
2754
  this.selectedPurchaseMethod = {};
2755
+ this.additionalFileHasBeenSaved = false;
2753
2756
  this._subscriptions = [];
2754
2757
  this._subscriptions.push(this._sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.subscribe((value) => this.reportingDocumentPrintRequestChange.next(value)), this._sendMethodService.reportingDocumentEmailSignDocBaseRequestChanged.subscribe((value) => this.reportingDocumentEmailRequestChange.next(value)), this._sendMethodService.reportingDocumentPdfBaseRequestChanged.subscribe((value) => this.reportingDocumentPdfRequestChange.next(value)));
2755
2758
  }
@@ -2786,7 +2789,28 @@ class SendMethodDialogComponent {
2786
2789
  this.purchaseItems.nativeElement.offsetLeft - this.navigationItems.nativeElement.offsetLeft;
2787
2790
  }
2788
2791
  }
2792
+ handleAdditionalFileSaved(file) {
2793
+ this.additionalFileHasBeenSaved = true;
2794
+ this.additionalFileChangeEvent.emit(file);
2795
+ this._continueHandleOkClick();
2796
+ }
2789
2797
  handleOkClick() {
2798
+ var _a, _b, _c, _d;
2799
+ if (this.isAdditionalDocEnabled && !this.additionalFileHasBeenSaved) {
2800
+ if (((_a = this.activeSendMethod) === null || _a === void 0 ? void 0 : _a.code) === SendMethodType.Print &&
2801
+ ((_b = this.printerComponentRef) === null || _b === void 0 ? void 0 : _b.isAdditionalFileActive())) {
2802
+ this.printerComponentRef.openAdditionalFileDialog();
2803
+ return;
2804
+ }
2805
+ if (((_c = this.activeSendMethod) === null || _c === void 0 ? void 0 : _c.code) === SendMethodType.Email &&
2806
+ ((_d = this.emailComponentRef) === null || _d === void 0 ? void 0 : _d.isAdditionalFileActive())) {
2807
+ this.emailComponentRef.openAdditionalFileDialog();
2808
+ return;
2809
+ }
2810
+ }
2811
+ this._continueHandleOkClick();
2812
+ }
2813
+ _continueHandleOkClick() {
2790
2814
  if (this.activeSendMethod && this.activeSendMethod.code.toString() === "COMBINED") {
2791
2815
  const selectedMethodData = Object.assign({ sendMethod: this.activeSendMethod.code.toString() }, this.selectedPurchaseMethod);
2792
2816
  this.okClick.emit(selectedMethodData);
@@ -2921,6 +2945,7 @@ SendMethodDialogComponent.decorators = [
2921
2945
  </div>
2922
2946
  <div #printItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showPrint">
2923
2947
  <co-send-method-printer
2948
+ #printerComponent
2924
2949
  [isPrinterLayoutsEnabled]="isPrinterLayoutsEnabled"
2925
2950
  [printerList]="printerList"
2926
2951
  [layouts]="printLayouts"
@@ -2930,20 +2955,25 @@ SendMethodDialogComponent.decorators = [
2930
2955
  [pdfDoc]="pdfDoc"
2931
2956
  [disablePdfPreview]="disablePdfPreview"
2932
2957
  [defaultPrinter]="defaultPrinter"
2933
- (additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)"
2934
- (showFilePreview)="showFilePreview.emit($event)"
2958
+ (additionalFileChangeEvent)="handleAdditionalFileSaved($event)"
2959
+ (showFilePreview)="showFilePreview.emit($event)"
2935
2960
  (loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
2936
2961
  ></co-send-method-printer>
2937
2962
  </div>
2938
2963
  <div #emailItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showEmail">
2939
2964
  <co-send-method-email
2965
+ #emailComponent
2940
2966
  [emailAddresses]="emailAddresses"
2941
2967
  [layouts]="emailLayouts"
2942
2968
  [pdfDoc]="pdfDoc"
2943
2969
  [disablePdfPreview]="disablePdfPreview"
2944
2970
  [emailUnsignedPossible]="emailUnsignedPossible"
2945
2971
  (showFilePreview)="showFilePreview.emit($event)"
2946
- (loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)">
2972
+ (loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
2973
+ [isAdditionalDocEnabled]="isAdditionalDocEnabled"
2974
+ [additionalFileContents]="additionalFileContents"
2975
+ [additionalFileName]="additionalFileName"
2976
+ (additionalFileChangeEvent)="handleAdditionalFileSaved($event)">
2947
2977
  </co-send-method-email>
2948
2978
  </div>
2949
2979
  <div #ediItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showEdi">
@@ -3016,6 +3046,8 @@ SendMethodDialogComponent.propDecorators = {
3016
3046
  webServiceItems: [{ type: ViewChild, args: ['webServiceItems', { read: ElementRef },] }],
3017
3047
  pdfItems: [{ type: ViewChild, args: ['pdfItems', { read: ElementRef },] }],
3018
3048
  purchaseItems: [{ type: ViewChild, args: ['purchaseItems', { read: ElementRef },] }],
3049
+ printerComponentRef: [{ type: ViewChild, args: ['printerComponent',] }],
3050
+ emailComponentRef: [{ type: ViewChild, args: ['emailComponent',] }],
3019
3051
  printerList: [{ type: Input }],
3020
3052
  reportingDocumentPrintRequest: [{ type: Input }],
3021
3053
  reportingDocumentEmailRequest: [{ type: Input }],
@@ -3064,8 +3096,12 @@ class SendMethodEmailComponent {
3064
3096
  this.pdfDoc = '';
3065
3097
  this.disablePdfPreview = false;
3066
3098
  this.emailUnsignedPossible = false;
3099
+ this.additionalFileContents = '';
3100
+ this.additionalFileName = '';
3101
+ this.isAdditionalDocEnabled = false;
3067
3102
  this.showFilePreview = new EventEmitter();
3068
3103
  this.loadDefaultPrinterName = new EventEmitter();
3104
+ this.additionalFileChangeEvent = new EventEmitter();
3069
3105
  this.emailAddressViewmodels = [];
3070
3106
  }
3071
3107
  showClass() {
@@ -3089,6 +3125,14 @@ class SendMethodEmailComponent {
3089
3125
  }
3090
3126
  emailAddressViewmodel.checked = wantedValue;
3091
3127
  }
3128
+ openAdditionalFileDialog() {
3129
+ var _a;
3130
+ (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.openForSave();
3131
+ }
3132
+ isAdditionalFileActive() {
3133
+ var _a, _b;
3134
+ return (_b = (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.isActive) !== null && _b !== void 0 ? _b : false;
3135
+ }
3092
3136
  }
3093
3137
  SendMethodEmailComponent.decorators = [
3094
3138
  { type: Component, args: [{
@@ -3104,6 +3148,13 @@ SendMethodEmailComponent.decorators = [
3104
3148
  [useDefault]="false"
3105
3149
  [label]="'EMAIL_LAYOUT'">
3106
3150
  </co-layout-selection>
3151
+ <co-additional-file-button
3152
+ #additionalFileButton
3153
+ *ngIf="isAdditionalDocEnabled"
3154
+ [additionalFileContents]="additionalFileContents"
3155
+ [additionalFileName]="additionalFileName"
3156
+ (additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)">
3157
+ </co-additional-file-button>
3107
3158
  <co-signature-button [request]="sendMethodService.reportingDocumentEmailSignDocBaseRequest"></co-signature-button>
3108
3159
  </div>
3109
3160
  <div class="email-addresses-wrapper co-small-scrollbar">
@@ -3120,13 +3171,18 @@ SendMethodEmailComponent.ctorParameters = () => [
3120
3171
  { type: SendMethodService }
3121
3172
  ];
3122
3173
  SendMethodEmailComponent.propDecorators = {
3174
+ additionalFileButtonRef: [{ type: ViewChild, args: ['additionalFileButton',] }],
3123
3175
  emailAddresses: [{ type: Input }],
3124
3176
  layouts: [{ type: Input }],
3125
3177
  pdfDoc: [{ type: Input }],
3126
3178
  disablePdfPreview: [{ type: Input }],
3127
3179
  emailUnsignedPossible: [{ type: Input }],
3180
+ additionalFileContents: [{ type: Input }],
3181
+ additionalFileName: [{ type: Input }],
3182
+ isAdditionalDocEnabled: [{ type: Input }],
3128
3183
  showFilePreview: [{ type: Output }],
3129
3184
  loadDefaultPrinterName: [{ type: Output }],
3185
+ additionalFileChangeEvent: [{ type: Output }],
3130
3186
  showClass: [{ type: HostBinding, args: ['class.co-send-method-email',] }]
3131
3187
  };
3132
3188
 
@@ -3347,165 +3403,443 @@ SignatureButtonModule.decorators = [
3347
3403
  },] }
3348
3404
  ];
3349
3405
 
3350
- class SendMethodEmailModule {
3351
- }
3352
- SendMethodEmailModule.decorators = [
3353
- { type: NgModule, args: [{
3354
- imports: [
3355
- CommonModule,
3356
- InputCheckboxModule,
3357
- LayoutSelectionModule,
3358
- IconModule,
3359
- SignatureButtonModule,
3360
- SharedComponentsTranslationModule
3361
- ],
3362
- declarations: [
3363
- SendMethodEmailComponent
3364
- ],
3365
- exports: [
3366
- SendMethodEmailComponent
3367
- ]
3368
- },] }
3369
- ];
3370
-
3371
- class SendMethodPrinterComponent {
3372
- constructor(sendMethodService, iconCacheService) {
3373
- this.sendMethodService = sendMethodService;
3406
+ class AdditionalFileButtonComponent {
3407
+ constructor(iconCacheService) {
3374
3408
  this.iconCacheService = iconCacheService;
3375
- this.printerList = [];
3376
- this.layouts = [];
3377
- this.isPrinterLayoutsEnabled = true;
3378
- this.isAdditionalDocEnabled = false;
3379
- this.pdfDoc = '';
3380
- this.disablePdfPreview = false;
3409
+ this.icons = Icon;
3410
+ this.isActive = false;
3381
3411
  this.additionalFileContents = '';
3382
3412
  this.additionalFileName = '';
3383
3413
  this.additionalFileChangeEvent = new EventEmitter();
3384
- this.showFilePreview = new EventEmitter();
3385
- this.loadDefaultPrinterName = new EventEmitter();
3386
- this.icons = Icon;
3414
+ this.openPdfProgrammatically = new EventEmitter();
3415
+ this.show = false;
3416
+ }
3417
+ openForSave() {
3418
+ if (this.isActive) {
3419
+ this.show = true;
3420
+ }
3387
3421
  }
3388
3422
  showClass() {
3389
3423
  return true;
3390
3424
  }
3391
- handleDefaultPrinterUserChange(checked) {
3392
- this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser = checked;
3393
- this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
3425
+ handleToggleDialog() {
3426
+ this.show = !this.show;
3394
3427
  }
3395
- handleDefaultPrinterAllUsersChange(checked) {
3396
- this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers = checked;
3397
- this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
3428
+ toggleActive() {
3429
+ this.isActive = !this.isActive;
3398
3430
  }
3399
3431
  }
3400
- SendMethodPrinterComponent.decorators = [
3432
+ AdditionalFileButtonComponent.decorators = [
3401
3433
  { type: Component, args: [{
3402
- selector: 'co-send-method-printer',
3434
+ selector: "co-additional-file-button",
3403
3435
  template: `
3404
- <span class="send-methods-label" [textContent]="'SETTINGS' | sharedLocalize"></span>
3405
- <div class="printer-layout-selections-wrapper">
3406
- <div class="printer-signature-wrapper">
3407
- <co-printer-selection [defaultPrinter]="defaultPrinter" [printers]="printerList"></co-printer-selection>
3408
- <co-signature-button [request]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"></co-signature-button>
3409
- </div>
3410
- <div class="layout-buttons-wrapper" *ngIf="isPrinterLayoutsEnabled">
3411
- <co-layout-selection
3412
- [(request)]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"
3413
- (requestChange)="showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)"
3414
- (loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
3415
- [layouts]="layouts"
3416
- [label]="'PRINTER_LAYOUT'"
3417
- [useDefault]="false">
3418
- </co-layout-selection>
3419
- <div class="additional-checks">
3420
- <co-input-checkbox
3421
- [model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser"
3422
- [label]="'Koppeling onthouden'"
3423
- (modelChange)="handleDefaultPrinterUserChange($event)">
3424
- </co-input-checkbox>
3425
- <co-input-checkbox
3426
- [model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers"
3427
- [label]="'Alle gebruikers'"
3428
- (modelChange)="handleDefaultPrinterAllUsersChange($event)">
3429
- </co-input-checkbox>
3430
- </div>
3431
- <div class="additional-buttons">
3432
- <co-additional-file-button
3433
- *ngIf="isAdditionalDocEnabled"
3434
- [additionalFileContents]="additionalFileContents"
3435
- [additionalFileName]="additionalFileName"
3436
- (additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)">
3437
- </co-additional-file-button>
3438
- </div>
3439
- </div>
3440
- </div>
3436
+ <div class="additional-file-button-wrapper"
3437
+ [class.selected]="isActive"
3438
+ (click)="toggleActive()">
3439
+ <co-icon
3440
+ [iconData]="iconCacheService.getIcon(icons.RegularFileSignatureCirclePlus)"
3441
+ ></co-icon>
3442
+ </div>
3443
+
3444
+ <co-custom-pdf-dialog
3445
+ *ngIf="show"
3446
+ [additionalFileContents]="additionalFileContents"
3447
+ [additionalFileName]="additionalFileName"
3448
+ (closePDFDialog)="handleToggleDialog()"
3449
+ (additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)"
3450
+ ></co-custom-pdf-dialog>
3441
3451
  `,
3442
3452
  encapsulation: ViewEncapsulation.None
3443
3453
  },] }
3444
3454
  ];
3445
- SendMethodPrinterComponent.ctorParameters = () => [
3446
- { type: SendMethodService },
3455
+ AdditionalFileButtonComponent.ctorParameters = () => [
3447
3456
  { type: IconCacheService }
3448
3457
  ];
3449
- SendMethodPrinterComponent.propDecorators = {
3450
- showClass: [{ type: HostBinding, args: ['class.co-send-method-printer',] }],
3451
- printerList: [{ type: Input }],
3452
- defaultPrinter: [{ type: Input }],
3453
- layouts: [{ type: Input }],
3454
- isPrinterLayoutsEnabled: [{ type: Input }],
3455
- isAdditionalDocEnabled: [{ type: Input }],
3456
- pdfDoc: [{ type: Input }],
3457
- disablePdfPreview: [{ type: Input }],
3458
+ AdditionalFileButtonComponent.propDecorators = {
3459
+ request: [{ type: Input }],
3458
3460
  additionalFileContents: [{ type: Input }],
3459
3461
  additionalFileName: [{ type: Input }],
3460
3462
  additionalFileChangeEvent: [{ type: Output }],
3461
- showFilePreview: [{ type: Output }],
3462
- loadDefaultPrinterName: [{ type: Output }]
3463
+ openPdfProgrammatically: [{ type: Output }],
3464
+ showClass: [{ type: HostBinding, args: ["class.co-additional-file-button",] }]
3463
3465
  };
3464
3466
 
3465
- var LanguageCode;
3466
- (function (LanguageCode) {
3467
- LanguageCode["Dutch"] = "nl-NL";
3468
- LanguageCode["English"] = "en-GB";
3469
- LanguageCode["German"] = "de-DE";
3470
- LanguageCode["French"] = "fr-FR";
3471
- })(LanguageCode || (LanguageCode = {}));
3472
-
3473
- class SharedService {
3474
- constructor(locale, options, connector, dictionary) {
3475
- this.locale = locale;
3476
- this.options = options;
3477
- this.connector = connector;
3478
- this.dictionary = dictionary;
3467
+ class CustomPdfDialogComponent {
3468
+ constructor(iconCacheService, _sanitizer) {
3469
+ this.iconCacheService = iconCacheService;
3470
+ this._sanitizer = _sanitizer;
3471
+ this.icons = Icon;
3472
+ this.additionalFileName = '';
3473
+ this.closePDFDialog = new EventEmitter();
3474
+ this.additionalFileChangeEvent = new EventEmitter();
3475
+ this.signaturePads = {};
3476
+ this.signatureCanvases = {};
3479
3477
  }
3480
- init(options) {
3481
- return __awaiter(this, void 0, void 0, function* () {
3482
- yield this.options.initialize(options);
3483
- yield this.connector.connect();
3484
- });
3478
+ showClass() {
3479
+ return true;
3485
3480
  }
3486
- connect() {
3487
- return __awaiter(this, void 0, void 0, function* () {
3488
- yield this.connector.connect();
3489
- });
3481
+ ngOnInit() {
3482
+ if (this.additionalFileContents) {
3483
+ const head = document.getElementsByTagName('head')[0];
3484
+ const styles = this.extractStyleParts(this.additionalFileContents);
3485
+ this.fileStyle = styles[0];
3486
+ const style = document.createElement('style');
3487
+ style.appendChild(document.createTextNode(this.fileStyle));
3488
+ head.appendChild(style);
3489
+ const body = this.extractBodyContents(this.additionalFileContents);
3490
+ this.fileBody = this._sanitizer.bypassSecurityTrustHtml(body[0]);
3491
+ }
3490
3492
  }
3491
- getAllPrinters() {
3492
- return __awaiter(this, void 0, void 0, function* () {
3493
- return yield this.connector.getAllPrinters();
3493
+ ngAfterViewInit() {
3494
+ ['signatureCanvas', 'signatureCanvas2'].forEach(id => {
3495
+ const canvasElement = document.getElementById(id);
3496
+ if (canvasElement) {
3497
+ const canvasRef = new ElementRef(canvasElement);
3498
+ const signaturePad = new SignaturePad(canvasRef.nativeElement);
3499
+ this.signatureCanvases[id] = canvasRef;
3500
+ this.signaturePads[id] = signaturePad;
3501
+ setTimeout(() => {
3502
+ this._resizeSignatureCanvas(signaturePad, canvasRef);
3503
+ });
3504
+ }
3494
3505
  });
3506
+ const clearButton = document.getElementById('clearButton');
3507
+ clearButton === null || clearButton === void 0 ? void 0 : clearButton.addEventListener('click', () => this.handleClear());
3495
3508
  }
3496
- getSendMethods() {
3497
- return __awaiter(this, void 0, void 0, function* () {
3498
- return yield this.connector.getSendMethods();
3499
- });
3509
+ extractStyleParts(html) {
3510
+ const stylePattern = /<style[^>]*>([\s\S]*?)<\/style>/gi;
3511
+ const matches = [];
3512
+ let match;
3513
+ while ((match = stylePattern.exec(html)) !== null) {
3514
+ matches.push(match[1].trim());
3515
+ }
3516
+ return matches;
3500
3517
  }
3501
- getScreenConfigTree() {
3502
- return __awaiter(this, void 0, void 0, function* () {
3503
- return yield this.connector.getScreenConfigTree();
3504
- });
3518
+ removeStyleAndScriptTags(html) {
3519
+ const styleTagPattern = /<style[^>]*>[\s\S]*?<\/style>/gi;
3520
+ const scriptTagPattern = /<script[^>]*>[\s\S]*?<\/script>/gi;
3521
+ return html.replace(styleTagPattern, '').replace(scriptTagPattern, '');
3505
3522
  }
3506
- getScreenConfigSubRubric(parentRubricId, configId, fixedKey) {
3523
+ extractBodyContents(html) {
3524
+ html = this.removeStyleAndScriptTags(html);
3525
+ const stylePattern = /<body[^>]*>([\s\S]*?)<\/body>/gi;
3526
+ const matches = [];
3527
+ let match;
3528
+ while ((match = stylePattern.exec(html)) !== null) {
3529
+ matches.push(match[1].trim());
3530
+ }
3531
+ return matches;
3532
+ }
3533
+ handleSaveClicked() {
3507
3534
  return __awaiter(this, void 0, void 0, function* () {
3508
- return yield this.connector.getScreenConfigSubRubric(parentRubricId, configId, fixedKey);
3535
+ const clearButton = document.getElementById('clearButton');
3536
+ clearButton.hidden = true;
3537
+ const doc = new jsPDF();
3538
+ const htmlDocument = document.querySelector("#pdfBody");
3539
+ const documentSection = htmlDocument.getElementsByTagName('section');
3540
+ const sectionsCount = documentSection.length;
3541
+ for (let i = 0; i < sectionsCount; i++) {
3542
+ const html = documentSection[i];
3543
+ toJpeg(html, { quality: 1, backgroundColor: 'white' }).then((dataUrl) => {
3544
+ const img = new Image();
3545
+ img.src = dataUrl;
3546
+ img.onload = () => {
3547
+ const imgWidth = 218;
3548
+ const imgHeight = (img.height * imgWidth) / img.width;
3549
+ doc.addImage(dataUrl, 'JPG', -4, 0, imgWidth, imgHeight);
3550
+ if (i === sectionsCount - 1) {
3551
+ // doc.save(this.additionalFileName + '.pdf');
3552
+ const tempFile = doc.output('datauristring');
3553
+ const file = this.dataURItoBlob(tempFile);
3554
+ FileUtils.ReadFileAsNewCoDocument(file).then(fileAsCoDocument => {
3555
+ // set some extra known fields for the codocument:
3556
+ fileAsCoDocument.fileType = FileUtils.IsImageFile(file) ? FileType$1.Image : FileType$1.Document;
3557
+ fileAsCoDocument.creationDate = new Date();
3558
+ fileAsCoDocument.modifiedDate = new Date();
3559
+ this.additionalFileChangeEvent.emit(fileAsCoDocument);
3560
+ this.closePDFDialog.emit();
3561
+ });
3562
+ }
3563
+ else {
3564
+ doc.addPage();
3565
+ }
3566
+ };
3567
+ }).catch((error) => {
3568
+ console.error('Error generating image:', error);
3569
+ });
3570
+ }
3571
+ clearButton.hidden = false;
3572
+ });
3573
+ }
3574
+ dataURItoBlob(dataURI) {
3575
+ const byteString = atob(dataURI.split(',')[1]);
3576
+ const ab = new ArrayBuffer(byteString.length);
3577
+ const ia = new Uint8Array(ab);
3578
+ for (let i = 0; i < byteString.length; i++) {
3579
+ ia[i] = byteString.charCodeAt(i);
3580
+ }
3581
+ return new File([ab], this.additionalFileName + '.pdf');
3582
+ }
3583
+ handleClear() {
3584
+ Object.values(this.signaturePads).forEach(signaturePad => {
3585
+ signaturePad === null || signaturePad === void 0 ? void 0 : signaturePad.clear();
3586
+ });
3587
+ }
3588
+ _resizeSignatureCanvas(signature, signatureCanvas) {
3589
+ const imageBeforeResize = signature.toDataURL();
3590
+ const ratio = Math.max(window.devicePixelRatio || 1, 1);
3591
+ signatureCanvas.nativeElement.width = signatureCanvas.nativeElement.offsetWidth * ratio;
3592
+ signatureCanvas.nativeElement.height = signatureCanvas.nativeElement.offsetHeight * ratio;
3593
+ signatureCanvas.nativeElement.getContext("2d").scale(ratio, ratio);
3594
+ signature.fromDataURL(imageBeforeResize);
3595
+ }
3596
+ }
3597
+ CustomPdfDialogComponent.decorators = [
3598
+ { type: Component, args: [{
3599
+ selector: "co-custom-pdf-dialog",
3600
+ template: `
3601
+ <co-dialog
3602
+ [footerTemplate]="footerTemplate"
3603
+ id="custom-pdf-dialog"
3604
+ (closeClick)="closePDFDialog.emit()">
3605
+ <div #pdfBody id="pdfBody">
3606
+ <section [innerHTML]="fileBody"></section>
3607
+ </div>
3608
+ <ng-template #footerTemplate>
3609
+ <div class="co-dialog-footer-button-wrapper">
3610
+ <co-button class="save-button"
3611
+ [iconData]="iconCacheService.getIcon(icons.CheckDuotone)"
3612
+ (click)="handleSaveClicked()"></co-button>
3613
+ <co-button class="close-button"
3614
+ [iconData]="iconCacheService.getIcon(icons.CrossSkinny)"
3615
+ (click)="closePDFDialog.emit()"></co-button>
3616
+ </div>
3617
+ </ng-template>
3618
+ </co-dialog>
3619
+ `,
3620
+ encapsulation: ViewEncapsulation.None
3621
+ },] }
3622
+ ];
3623
+ CustomPdfDialogComponent.ctorParameters = () => [
3624
+ { type: IconCacheService },
3625
+ { type: DomSanitizer }
3626
+ ];
3627
+ CustomPdfDialogComponent.propDecorators = {
3628
+ showClass: [{ type: HostBinding, args: ['class.co-custom-pdf-dialog',] }],
3629
+ pdfBody: [{ type: ViewChild, args: ['pdfBody',] }],
3630
+ additionalFileContents: [{ type: Input }],
3631
+ additionalFileName: [{ type: Input }],
3632
+ closePDFDialog: [{ type: Output }],
3633
+ additionalFileChangeEvent: [{ type: Output }]
3634
+ };
3635
+
3636
+ class CustomPdfDialogModule {
3637
+ }
3638
+ CustomPdfDialogModule.decorators = [
3639
+ { type: NgModule, args: [{
3640
+ imports: [
3641
+ IconModule,
3642
+ CoDialogModule,
3643
+ CommonModule,
3644
+ ButtonModule,
3645
+ SharedComponentsTranslationModule,
3646
+ ],
3647
+ declarations: [
3648
+ CustomPdfDialogComponent
3649
+ ],
3650
+ exports: [
3651
+ CustomPdfDialogComponent
3652
+ ],
3653
+ providers: []
3654
+ },] }
3655
+ ];
3656
+
3657
+ class AdditionalFileButtonModule {
3658
+ }
3659
+ AdditionalFileButtonModule.decorators = [
3660
+ { type: NgModule, args: [{
3661
+ imports: [
3662
+ CommonModule,
3663
+ IconModule,
3664
+ CustomPdfDialogModule
3665
+ ],
3666
+ declarations: [
3667
+ AdditionalFileButtonComponent
3668
+ ],
3669
+ exports: [
3670
+ AdditionalFileButtonComponent
3671
+ ]
3672
+ },] }
3673
+ ];
3674
+
3675
+ class SendMethodEmailModule {
3676
+ }
3677
+ SendMethodEmailModule.decorators = [
3678
+ { type: NgModule, args: [{
3679
+ imports: [
3680
+ CommonModule,
3681
+ InputCheckboxModule,
3682
+ LayoutSelectionModule,
3683
+ IconModule,
3684
+ SignatureButtonModule,
3685
+ SharedComponentsTranslationModule,
3686
+ AdditionalFileButtonModule
3687
+ ],
3688
+ declarations: [
3689
+ SendMethodEmailComponent
3690
+ ],
3691
+ exports: [
3692
+ SendMethodEmailComponent
3693
+ ]
3694
+ },] }
3695
+ ];
3696
+
3697
+ class SendMethodPrinterComponent {
3698
+ constructor(sendMethodService, iconCacheService) {
3699
+ this.sendMethodService = sendMethodService;
3700
+ this.iconCacheService = iconCacheService;
3701
+ this.printerList = [];
3702
+ this.layouts = [];
3703
+ this.isPrinterLayoutsEnabled = true;
3704
+ this.isAdditionalDocEnabled = false;
3705
+ this.pdfDoc = '';
3706
+ this.disablePdfPreview = false;
3707
+ this.additionalFileContents = '';
3708
+ this.additionalFileName = '';
3709
+ this.additionalFileChangeEvent = new EventEmitter();
3710
+ this.showFilePreview = new EventEmitter();
3711
+ this.loadDefaultPrinterName = new EventEmitter();
3712
+ this.icons = Icon;
3713
+ }
3714
+ showClass() {
3715
+ return true;
3716
+ }
3717
+ handleDefaultPrinterUserChange(checked) {
3718
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser = checked;
3719
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
3720
+ }
3721
+ handleDefaultPrinterAllUsersChange(checked) {
3722
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers = checked;
3723
+ this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
3724
+ }
3725
+ openAdditionalFileDialog() {
3726
+ var _a;
3727
+ (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.openForSave();
3728
+ }
3729
+ isAdditionalFileActive() {
3730
+ var _a, _b;
3731
+ return (_b = (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.isActive) !== null && _b !== void 0 ? _b : false;
3732
+ }
3733
+ }
3734
+ SendMethodPrinterComponent.decorators = [
3735
+ { type: Component, args: [{
3736
+ selector: 'co-send-method-printer',
3737
+ template: `
3738
+ <span class="send-methods-label" [textContent]="'SETTINGS' | sharedLocalize"></span>
3739
+ <div class="printer-layout-selections-wrapper">
3740
+ <div class="printer-signature-wrapper">
3741
+ <co-layout-selection
3742
+ [(request)]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"
3743
+ (requestChange)="showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)"
3744
+ (loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
3745
+ [layouts]="layouts"
3746
+ [label]="'PRINTER_LAYOUT'"
3747
+ [useDefault]="false">
3748
+ </co-layout-selection>
3749
+ <co-additional-file-button
3750
+ #additionalFileButton
3751
+ *ngIf="isAdditionalDocEnabled"
3752
+ [additionalFileContents]="additionalFileContents"
3753
+ [additionalFileName]="additionalFileName"
3754
+ (additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)">
3755
+ </co-additional-file-button>
3756
+ <co-signature-button [request]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"></co-signature-button>
3757
+ </div>
3758
+ <div class="layout-buttons-wrapper" *ngIf="isPrinterLayoutsEnabled">
3759
+ <co-printer-selection [defaultPrinter]="defaultPrinter" [printers]="printerList"></co-printer-selection>
3760
+ <div class="additional-checks">
3761
+ <co-input-checkbox
3762
+ [model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser"
3763
+ [label]="'Koppeling onthouden'"
3764
+ (modelChange)="handleDefaultPrinterUserChange($event)">
3765
+ </co-input-checkbox>
3766
+ <co-input-checkbox
3767
+ [model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers"
3768
+ [label]="'Alle gebruikers'"
3769
+ (modelChange)="handleDefaultPrinterAllUsersChange($event)">
3770
+ </co-input-checkbox>
3771
+ </div>
3772
+ </div>
3773
+ </div>
3774
+ `,
3775
+ encapsulation: ViewEncapsulation.None
3776
+ },] }
3777
+ ];
3778
+ SendMethodPrinterComponent.ctorParameters = () => [
3779
+ { type: SendMethodService },
3780
+ { type: IconCacheService }
3781
+ ];
3782
+ SendMethodPrinterComponent.propDecorators = {
3783
+ showClass: [{ type: HostBinding, args: ['class.co-send-method-printer',] }],
3784
+ additionalFileButtonRef: [{ type: ViewChild, args: ['additionalFileButton',] }],
3785
+ printerList: [{ type: Input }],
3786
+ defaultPrinter: [{ type: Input }],
3787
+ layouts: [{ type: Input }],
3788
+ isPrinterLayoutsEnabled: [{ type: Input }],
3789
+ isAdditionalDocEnabled: [{ type: Input }],
3790
+ pdfDoc: [{ type: Input }],
3791
+ disablePdfPreview: [{ type: Input }],
3792
+ additionalFileContents: [{ type: Input }],
3793
+ additionalFileName: [{ type: Input }],
3794
+ additionalFileChangeEvent: [{ type: Output }],
3795
+ showFilePreview: [{ type: Output }],
3796
+ loadDefaultPrinterName: [{ type: Output }]
3797
+ };
3798
+
3799
+ var LanguageCode;
3800
+ (function (LanguageCode) {
3801
+ LanguageCode["Dutch"] = "nl-NL";
3802
+ LanguageCode["English"] = "en-GB";
3803
+ LanguageCode["German"] = "de-DE";
3804
+ LanguageCode["French"] = "fr-FR";
3805
+ })(LanguageCode || (LanguageCode = {}));
3806
+
3807
+ class SharedService {
3808
+ constructor(locale, options, connector, dictionary) {
3809
+ this.locale = locale;
3810
+ this.options = options;
3811
+ this.connector = connector;
3812
+ this.dictionary = dictionary;
3813
+ }
3814
+ init(options) {
3815
+ return __awaiter(this, void 0, void 0, function* () {
3816
+ yield this.options.initialize(options);
3817
+ yield this.connector.connect();
3818
+ });
3819
+ }
3820
+ connect() {
3821
+ return __awaiter(this, void 0, void 0, function* () {
3822
+ yield this.connector.connect();
3823
+ });
3824
+ }
3825
+ getAllPrinters() {
3826
+ return __awaiter(this, void 0, void 0, function* () {
3827
+ return yield this.connector.getAllPrinters();
3828
+ });
3829
+ }
3830
+ getSendMethods() {
3831
+ return __awaiter(this, void 0, void 0, function* () {
3832
+ return yield this.connector.getSendMethods();
3833
+ });
3834
+ }
3835
+ getScreenConfigTree() {
3836
+ return __awaiter(this, void 0, void 0, function* () {
3837
+ return yield this.connector.getScreenConfigTree();
3838
+ });
3839
+ }
3840
+ getScreenConfigSubRubric(parentRubricId, configId, fixedKey) {
3841
+ return __awaiter(this, void 0, void 0, function* () {
3842
+ return yield this.connector.getScreenConfigSubRubric(parentRubricId, configId, fixedKey);
3509
3843
  });
3510
3844
  }
3511
3845
  getTagsFullTree(category, includeTags = true) {
@@ -3827,263 +4161,6 @@ PrinterSelectionModule.decorators = [
3827
4161
  },] }
3828
4162
  ];
3829
4163
 
3830
- class CustomPdfDialogComponent {
3831
- constructor(iconCacheService, _sanitizer) {
3832
- this.iconCacheService = iconCacheService;
3833
- this._sanitizer = _sanitizer;
3834
- this.icons = Icon;
3835
- this.additionalFileName = '';
3836
- this.closePDFDialog = new EventEmitter();
3837
- this.additionalFileChangeEvent = new EventEmitter();
3838
- this.signaturePads = {};
3839
- this.signatureCanvases = {};
3840
- }
3841
- showClass() {
3842
- return true;
3843
- }
3844
- ngOnInit() {
3845
- if (this.additionalFileContents) {
3846
- const head = document.getElementsByTagName('head')[0];
3847
- const styles = this.extractStyleParts(this.additionalFileContents);
3848
- this.fileStyle = styles[0];
3849
- const style = document.createElement('style');
3850
- style.appendChild(document.createTextNode(this.fileStyle));
3851
- head.appendChild(style);
3852
- const body = this.extractBodyContents(this.additionalFileContents);
3853
- this.fileBody = this._sanitizer.bypassSecurityTrustHtml(body[0]);
3854
- }
3855
- }
3856
- ngAfterViewInit() {
3857
- ['signatureCanvas', 'signatureCanvas2'].forEach(id => {
3858
- const canvasElement = document.getElementById(id);
3859
- if (canvasElement) {
3860
- const canvasRef = new ElementRef(canvasElement);
3861
- const signaturePad = new SignaturePad(canvasRef.nativeElement);
3862
- this.signatureCanvases[id] = canvasRef;
3863
- this.signaturePads[id] = signaturePad;
3864
- setTimeout(() => {
3865
- this._resizeSignatureCanvas(signaturePad, canvasRef);
3866
- });
3867
- }
3868
- });
3869
- const clearButton = document.getElementById('clearButton');
3870
- clearButton === null || clearButton === void 0 ? void 0 : clearButton.addEventListener('click', () => this.handleClear());
3871
- }
3872
- extractStyleParts(html) {
3873
- const stylePattern = /<style[^>]*>([\s\S]*?)<\/style>/gi;
3874
- const matches = [];
3875
- let match;
3876
- while ((match = stylePattern.exec(html)) !== null) {
3877
- matches.push(match[1].trim());
3878
- }
3879
- return matches;
3880
- }
3881
- removeStyleAndScriptTags(html) {
3882
- const styleTagPattern = /<style[^>]*>[\s\S]*?<\/style>/gi;
3883
- const scriptTagPattern = /<script[^>]*>[\s\S]*?<\/script>/gi;
3884
- return html.replace(styleTagPattern, '').replace(scriptTagPattern, '');
3885
- }
3886
- extractBodyContents(html) {
3887
- html = this.removeStyleAndScriptTags(html);
3888
- const stylePattern = /<body[^>]*>([\s\S]*?)<\/body>/gi;
3889
- const matches = [];
3890
- let match;
3891
- while ((match = stylePattern.exec(html)) !== null) {
3892
- matches.push(match[1].trim());
3893
- }
3894
- return matches;
3895
- }
3896
- handleSaveClicked() {
3897
- return __awaiter(this, void 0, void 0, function* () {
3898
- const clearButton = document.getElementById('clearButton');
3899
- clearButton.hidden = true;
3900
- const doc = new jsPDF();
3901
- const htmlDocument = document.querySelector("#pdfBody");
3902
- const documentSection = htmlDocument.getElementsByTagName('section');
3903
- const sectionsCount = documentSection.length;
3904
- for (let i = 0; i < sectionsCount; i++) {
3905
- const html = documentSection[i];
3906
- toJpeg(html, { quality: 1, backgroundColor: 'white' }).then((dataUrl) => {
3907
- const img = new Image();
3908
- img.src = dataUrl;
3909
- img.onload = () => {
3910
- const imgWidth = 218;
3911
- const imgHeight = (img.height * imgWidth) / img.width;
3912
- doc.addImage(dataUrl, 'JPG', -4, 0, imgWidth, imgHeight);
3913
- if (i === sectionsCount - 1) {
3914
- // doc.save(this.additionalFileName + '.pdf');
3915
- const tempFile = doc.output('datauristring');
3916
- const file = this.dataURItoBlob(tempFile);
3917
- FileUtils.ReadFileAsNewCoDocument(file).then(fileAsCoDocument => {
3918
- // set some extra known fields for the codocument:
3919
- fileAsCoDocument.fileType = FileUtils.IsImageFile(file) ? FileType$1.Image : FileType$1.Document;
3920
- fileAsCoDocument.creationDate = new Date();
3921
- fileAsCoDocument.modifiedDate = new Date();
3922
- this.additionalFileChangeEvent.emit(fileAsCoDocument);
3923
- this.closePDFDialog.emit();
3924
- });
3925
- }
3926
- else {
3927
- doc.addPage();
3928
- }
3929
- };
3930
- }).catch((error) => {
3931
- console.error('Error generating image:', error);
3932
- });
3933
- }
3934
- clearButton.hidden = false;
3935
- });
3936
- }
3937
- dataURItoBlob(dataURI) {
3938
- const byteString = atob(dataURI.split(',')[1]);
3939
- const ab = new ArrayBuffer(byteString.length);
3940
- const ia = new Uint8Array(ab);
3941
- for (let i = 0; i < byteString.length; i++) {
3942
- ia[i] = byteString.charCodeAt(i);
3943
- }
3944
- return new File([ab], this.additionalFileName + '.pdf');
3945
- }
3946
- handleClear() {
3947
- Object.values(this.signaturePads).forEach(signaturePad => {
3948
- signaturePad === null || signaturePad === void 0 ? void 0 : signaturePad.clear();
3949
- });
3950
- }
3951
- _resizeSignatureCanvas(signature, signatureCanvas) {
3952
- const imageBeforeResize = signature.toDataURL();
3953
- const ratio = Math.max(window.devicePixelRatio || 1, 1);
3954
- signatureCanvas.nativeElement.width = signatureCanvas.nativeElement.offsetWidth * ratio;
3955
- signatureCanvas.nativeElement.height = signatureCanvas.nativeElement.offsetHeight * ratio;
3956
- signatureCanvas.nativeElement.getContext("2d").scale(ratio, ratio);
3957
- signature.fromDataURL(imageBeforeResize);
3958
- }
3959
- }
3960
- CustomPdfDialogComponent.decorators = [
3961
- { type: Component, args: [{
3962
- selector: "co-custom-pdf-dialog",
3963
- template: `
3964
- <co-dialog
3965
- [footerTemplate]="footerTemplate"
3966
- id="custom-pdf-dialog"
3967
- (closeClick)="closePDFDialog.emit()">
3968
- <div #pdfBody id="pdfBody">
3969
- <section [innerHTML]="fileBody"></section>
3970
- </div>
3971
- <ng-template #footerTemplate>
3972
- <div class="co-dialog-footer-button-wrapper">
3973
- <co-button class="save-button"
3974
- [iconData]="iconCacheService.getIcon(icons.CheckDuotone)"
3975
- (click)="handleSaveClicked()"></co-button>
3976
- <co-button class="close-button"
3977
- [iconData]="iconCacheService.getIcon(icons.CrossSkinny)"
3978
- (click)="closePDFDialog.emit()"></co-button>
3979
- </div>
3980
- </ng-template>
3981
- </co-dialog>
3982
- `,
3983
- encapsulation: ViewEncapsulation.None
3984
- },] }
3985
- ];
3986
- CustomPdfDialogComponent.ctorParameters = () => [
3987
- { type: IconCacheService },
3988
- { type: DomSanitizer }
3989
- ];
3990
- CustomPdfDialogComponent.propDecorators = {
3991
- showClass: [{ type: HostBinding, args: ['class.co-custom-pdf-dialog',] }],
3992
- pdfBody: [{ type: ViewChild, args: ['pdfBody',] }],
3993
- additionalFileContents: [{ type: Input }],
3994
- additionalFileName: [{ type: Input }],
3995
- closePDFDialog: [{ type: Output }],
3996
- additionalFileChangeEvent: [{ type: Output }]
3997
- };
3998
-
3999
- class CustomPdfDialogModule {
4000
- }
4001
- CustomPdfDialogModule.decorators = [
4002
- { type: NgModule, args: [{
4003
- imports: [
4004
- IconModule,
4005
- CoDialogModule,
4006
- CommonModule,
4007
- ButtonModule,
4008
- SharedComponentsTranslationModule,
4009
- ],
4010
- declarations: [
4011
- CustomPdfDialogComponent
4012
- ],
4013
- exports: [
4014
- CustomPdfDialogComponent
4015
- ],
4016
- providers: []
4017
- },] }
4018
- ];
4019
-
4020
- class AdditionalFileButtonComponent {
4021
- constructor(iconCacheService) {
4022
- this.iconCacheService = iconCacheService;
4023
- this.icons = Icon;
4024
- this.additionalFileContents = '';
4025
- this.additionalFileName = '';
4026
- this.additionalFileChangeEvent = new EventEmitter();
4027
- this.show = false;
4028
- }
4029
- showClass() {
4030
- return true;
4031
- }
4032
- handleToggleDialog() {
4033
- this.show = !this.show;
4034
- }
4035
- }
4036
- AdditionalFileButtonComponent.decorators = [
4037
- { type: Component, args: [{
4038
- selector: "co-additional-file-button",
4039
- template: `
4040
- <div class="additional-file-button-wrapper"
4041
- (click)="handleToggleDialog()">
4042
- <co-icon
4043
- [iconData]="iconCacheService.getIcon(icons.RegularFileSignatureCirclePlus)"
4044
- ></co-icon>
4045
- </div>
4046
-
4047
- <co-custom-pdf-dialog
4048
- *ngIf="show"
4049
- [additionalFileContents]="additionalFileContents"
4050
- [additionalFileName]="additionalFileName"
4051
- (closePDFDialog)="handleToggleDialog()"
4052
- (additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)"
4053
- ></co-custom-pdf-dialog>
4054
- `,
4055
- encapsulation: ViewEncapsulation.None
4056
- },] }
4057
- ];
4058
- AdditionalFileButtonComponent.ctorParameters = () => [
4059
- { type: IconCacheService }
4060
- ];
4061
- AdditionalFileButtonComponent.propDecorators = {
4062
- request: [{ type: Input }],
4063
- additionalFileContents: [{ type: Input }],
4064
- additionalFileName: [{ type: Input }],
4065
- additionalFileChangeEvent: [{ type: Output }],
4066
- showClass: [{ type: HostBinding, args: ["class.co-additional-file-button",] }]
4067
- };
4068
-
4069
- class AdditionalFileButtonModule {
4070
- }
4071
- AdditionalFileButtonModule.decorators = [
4072
- { type: NgModule, args: [{
4073
- imports: [
4074
- CommonModule,
4075
- IconModule,
4076
- CustomPdfDialogModule
4077
- ],
4078
- declarations: [
4079
- AdditionalFileButtonComponent
4080
- ],
4081
- exports: [
4082
- AdditionalFileButtonComponent
4083
- ]
4084
- },] }
4085
- ];
4086
-
4087
4164
  class SendMethodPrinterModule {
4088
4165
  }
4089
4166
  SendMethodPrinterModule.decorators = [
@@ -16977,5 +17054,5 @@ PreferredPlanningModule.decorators = [
16977
17054
  * Generated bundle index. Do not edit.
16978
17055
  */
16979
17056
 
16980
- export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, PreferredPlanningComponent, PreferredPlanningModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethodDialogComponent, SendMethodDialogModule, SharedComponentsDictionaryService, SharedComponentsTranslationModule, SharedEventService, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, TaskCreatorComponent, TaskCreatorModule, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, SendMethodPurchaseModule as ɵba, SendMethodPurchaseComponent as ɵbb, TabBarModule as ɵbc, TabBarComponent as ɵbd, StatusbarPopupComponent as ɵbe, StockStatusbarModule as ɵbf, StockStatusbarComponent as ɵbg, StockInformationComponent as ɵbh, StockInformationGridComponent as ɵbi, StockTransferComponent as ɵbj, StockChangeAmountComponent as ɵbk, StockTabComponent as ɵbl, OrderTabComponent as ɵbm, BaseStockComponent as ɵbn, StockTabsComponent as ɵbo, StockHistoryTabsComponent as ɵbp, OrderStockTabComponent as ɵbq, StockLocationComponent as ɵbr, StockHistoryComponent as ɵbs, OrderSupplyStockHistoryComponent as ɵbt, OrderCommissionStockHistoryComponent as ɵbu, OrderStockHistoryComponent as ɵbv, AllocationStockHistoryComponent as ɵbw, StockPrognoseComponent as ɵbx, StockLocationPopupComponent as ɵby, SendMethod as ɵbz, StockModuleScreenConfigService as ɵc, Icon as ɵca, CalendarAllYearsComponent as ɵcb, CalendarAllMonthsComponent as ɵcc, CalendarHeaderComponent as ɵcd, CalendarComponent as ɵce, CalendarViewComponent as ɵcf, AgendaHeaderComponent as ɵcg, AgendaViewComponent as ɵch, AgendaMonthViewComponent as ɵci, AgendaBaseViewComponent as ɵcj, AgendaDayViewComponent as ɵck, AgendaWeekViewComponent as ɵcl, AgendaWeekSelectViewComponent as ɵcm, AgendaHourViewComponent as ɵcn, AgendaHourCellComponent as ɵco, AgendaHourViewLabelsComponent as ɵcp, AgendaHalfHourCellComponent as ɵcq, AgendaEventsComponent as ɵcr, AgendaEventComponent as ɵcs, ViewSelectComponent as ɵct, AgendaSelectEventComponent as ɵcu, MASTER_PIPES as ɵcv, ArrayNumberPipe as ɵcw, UCfirstPipe as ɵcx, FileTypeImagePipe as ɵcy, BaseFileUploadComponent as ɵcz, SharedConnectorService as ɵd, InputBoolean as ɵda, ImageDisplayModule as ɵdb, ImageDisplayComponent as ɵdc, FileUploadModule as ɵdd, TileRenderModule as ɵde, TileRenderComponent as ɵdf, FileUploadComponent as ɵdg, FileUploadPopupModule as ɵdh, MultiplePropertyTogglerModule as ɵdi, MultiplePropertyTogglerComponent as ɵdj, FileUploadPopupComponent as ɵdk, AppFileDropzoneModule as ɵdl, AppFileDropzoneComponent as ɵdm, DragDropContainerComponent as ɵdn, DragDropService as ɵdo, BaseActivityListComponent as ɵdp, PersonalActivityOverviewComponent as ɵdq, BaseActivityOverviewComponent as ɵdr, TaskModifierComponent as ɵds, ModifyTaskFormComponent as ɵdt, PersonalActivityOverviewModule as ɵdu, ComponentActivityOverviewModule as ɵdv, TaskModifyerModule as ɵdw, ModifyTaskFormModule as ɵdx, TaskDetailsModule as ɵdy, TaskDetailsComponent as ɵdz, OptionsService as ɵe, BaseActivitySummaryComponent as ɵea, ExecutiveSummaryBlockModule as ɵeb, ActivitySummaryBlockModule as ɵec, ActivitySummaryBlockComponent as ɵed, ExecutiveSummaryBlockComponent as ɵee, StatusSummaryBlockModule as ɵef, StatusSummaryBlockComponent as ɵeg, CreationSummaryBlockModule as ɵeh, CreationSummaryBlockComponent as ɵei, NotificationSummaryBlockModule as ɵej, EmailSelectorModule as ɵek, EmailSelectorComponent as ɵel, NotificationSummaryBlockComponent as ɵem, ComponentActivityOverviewComponent as ɵen, ActivityListHeaderModule as ɵeo, WorkflowNotificationToggleModule as ɵep, DirectivesModule as ɵeq, AbsoluteOverlayTemplateDirective as ɵer, AppAbsoluteOverlayOutletService as ɵes, AlignWithDirective as ɵet, ClickOutsideDirective as ɵeu, WorkflowNotificationToggleComponent as ɵev, WorkflowNotificationTogglePopupComponent as ɵew, PeriodFilterModule as ɵex, PeriodFilterComponent as ɵey, PeriodFilterPopupComponent as ɵez, IconCacheService as ɵf, ActivityListHeaderComponent as ɵfa, WorkflowInfoTileModule as ɵfb, WorkflowInfoTileComponent as ɵfc, StockService as ɵg, SendMethodService as ɵh, SendMethodEmailModule as ɵi, LayoutSelectionModule as ɵj, SharedLocalizePipe as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, SendMethodEmailComponent as ɵo, SendMethodPrinterModule as ɵp, PrinterSelectionModule as ɵq, PrinterSelectionComponent as ɵr, LanguageCode as ɵs, CustomPdfDialogModule as ɵt, CustomPdfDialogComponent as ɵu, AdditionalFileButtonModule as ɵv, AdditionalFileButtonComponent as ɵw, SendMethodPrinterComponent as ɵx, SendMethodPdfModule as ɵy, SendMethodPdfComponent as ɵz };
17057
+ export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, PreferredPlanningComponent, PreferredPlanningModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethodDialogComponent, SendMethodDialogModule, SharedComponentsDictionaryService, SharedComponentsTranslationModule, SharedEventService, SharedService, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StockComponent, StockModule, TaskCreatorComponent, TaskCreatorModule, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon, SignatureComponent as ɵa, SignaturesComponent as ɵb, SendMethodPurchaseModule as ɵba, SendMethodPurchaseComponent as ɵbb, TabBarModule as ɵbc, TabBarComponent as ɵbd, StatusbarPopupComponent as ɵbe, StockStatusbarModule as ɵbf, StockStatusbarComponent as ɵbg, StockInformationComponent as ɵbh, StockInformationGridComponent as ɵbi, StockTransferComponent as ɵbj, StockChangeAmountComponent as ɵbk, StockTabComponent as ɵbl, OrderTabComponent as ɵbm, BaseStockComponent as ɵbn, StockTabsComponent as ɵbo, StockHistoryTabsComponent as ɵbp, OrderStockTabComponent as ɵbq, StockLocationComponent as ɵbr, StockHistoryComponent as ɵbs, OrderSupplyStockHistoryComponent as ɵbt, OrderCommissionStockHistoryComponent as ɵbu, OrderStockHistoryComponent as ɵbv, AllocationStockHistoryComponent as ɵbw, StockPrognoseComponent as ɵbx, StockLocationPopupComponent as ɵby, SendMethod as ɵbz, StockModuleScreenConfigService as ɵc, Icon as ɵca, CalendarAllYearsComponent as ɵcb, CalendarAllMonthsComponent as ɵcc, CalendarHeaderComponent as ɵcd, CalendarComponent as ɵce, CalendarViewComponent as ɵcf, AgendaHeaderComponent as ɵcg, AgendaViewComponent as ɵch, AgendaMonthViewComponent as ɵci, AgendaBaseViewComponent as ɵcj, AgendaDayViewComponent as ɵck, AgendaWeekViewComponent as ɵcl, AgendaWeekSelectViewComponent as ɵcm, AgendaHourViewComponent as ɵcn, AgendaHourCellComponent as ɵco, AgendaHourViewLabelsComponent as ɵcp, AgendaHalfHourCellComponent as ɵcq, AgendaEventsComponent as ɵcr, AgendaEventComponent as ɵcs, ViewSelectComponent as ɵct, AgendaSelectEventComponent as ɵcu, MASTER_PIPES as ɵcv, ArrayNumberPipe as ɵcw, UCfirstPipe as ɵcx, FileTypeImagePipe as ɵcy, BaseFileUploadComponent as ɵcz, SharedConnectorService as ɵd, InputBoolean as ɵda, ImageDisplayModule as ɵdb, ImageDisplayComponent as ɵdc, FileUploadModule as ɵdd, TileRenderModule as ɵde, TileRenderComponent as ɵdf, FileUploadComponent as ɵdg, FileUploadPopupModule as ɵdh, MultiplePropertyTogglerModule as ɵdi, MultiplePropertyTogglerComponent as ɵdj, FileUploadPopupComponent as ɵdk, AppFileDropzoneModule as ɵdl, AppFileDropzoneComponent as ɵdm, DragDropContainerComponent as ɵdn, DragDropService as ɵdo, BaseActivityListComponent as ɵdp, PersonalActivityOverviewComponent as ɵdq, BaseActivityOverviewComponent as ɵdr, TaskModifierComponent as ɵds, ModifyTaskFormComponent as ɵdt, PersonalActivityOverviewModule as ɵdu, ComponentActivityOverviewModule as ɵdv, TaskModifyerModule as ɵdw, ModifyTaskFormModule as ɵdx, TaskDetailsModule as ɵdy, TaskDetailsComponent as ɵdz, OptionsService as ɵe, BaseActivitySummaryComponent as ɵea, ExecutiveSummaryBlockModule as ɵeb, ActivitySummaryBlockModule as ɵec, ActivitySummaryBlockComponent as ɵed, ExecutiveSummaryBlockComponent as ɵee, StatusSummaryBlockModule as ɵef, StatusSummaryBlockComponent as ɵeg, CreationSummaryBlockModule as ɵeh, CreationSummaryBlockComponent as ɵei, NotificationSummaryBlockModule as ɵej, EmailSelectorModule as ɵek, EmailSelectorComponent as ɵel, NotificationSummaryBlockComponent as ɵem, ComponentActivityOverviewComponent as ɵen, ActivityListHeaderModule as ɵeo, WorkflowNotificationToggleModule as ɵep, DirectivesModule as ɵeq, AbsoluteOverlayTemplateDirective as ɵer, AppAbsoluteOverlayOutletService as ɵes, AlignWithDirective as ɵet, ClickOutsideDirective as ɵeu, WorkflowNotificationToggleComponent as ɵev, WorkflowNotificationTogglePopupComponent as ɵew, PeriodFilterModule as ɵex, PeriodFilterComponent as ɵey, PeriodFilterPopupComponent as ɵez, IconCacheService as ɵf, ActivityListHeaderComponent as ɵfa, WorkflowInfoTileModule as ɵfb, WorkflowInfoTileComponent as ɵfc, StockService as ɵg, SendMethodService as ɵh, SendMethodEmailModule as ɵi, LayoutSelectionModule as ɵj, SharedLocalizePipe as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, AdditionalFileButtonModule as ɵo, CustomPdfDialogModule as ɵp, CustomPdfDialogComponent as ɵq, AdditionalFileButtonComponent as ɵr, SendMethodEmailComponent as ɵs, SendMethodPrinterModule as ɵt, PrinterSelectionModule as ɵu, PrinterSelectionComponent as ɵv, LanguageCode as ɵw, SendMethodPrinterComponent as ɵx, SendMethodPdfModule as ɵy, SendMethodPdfComponent as ɵz };
16981
17058
  //# sourceMappingURL=colijnit-sharedcomponents.js.map