@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.
- package/bundles/colijnit-sharedcomponents.umd.js +139 -75
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.d.ts +7 -7
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/colijnit-sharedcomponents.js +8 -8
- package/esm2015/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.js +15 -3
- package/esm2015/lib/components/send-method-dialog/components/pdf-preview/pdf-preview.component.js +2 -2
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +47 -25
- package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +4 -2
- package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +54 -44
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +129 -99
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/fesm2015/colijnit-sharedcomponents.js +310 -233
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/send-method-dialog/components/additional-file-button/additional-file-button.component.d.ts +4 -0
- package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss +2 -2
- package/lib/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +2 -2
- package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +9 -0
- package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +4 -0
- package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +6 -0
- package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +6 -4
- package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +7 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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>",
|
|
@@ -2754,6 +2756,7 @@ class SendMethodDialogComponent {
|
|
|
2754
2756
|
this.showWebservice = true;
|
|
2755
2757
|
this.showPdf = true;
|
|
2756
2758
|
this.selectedPurchaseMethod = {};
|
|
2759
|
+
this.additionalFileHasBeenSaved = false;
|
|
2757
2760
|
this._subscriptions = [];
|
|
2758
2761
|
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)));
|
|
2759
2762
|
}
|
|
@@ -2790,7 +2793,28 @@ class SendMethodDialogComponent {
|
|
|
2790
2793
|
this.purchaseItems.nativeElement.offsetLeft - this.navigationItems.nativeElement.offsetLeft;
|
|
2791
2794
|
}
|
|
2792
2795
|
}
|
|
2796
|
+
handleAdditionalFileSaved(file) {
|
|
2797
|
+
this.additionalFileHasBeenSaved = true;
|
|
2798
|
+
this.additionalFileChangeEvent.emit(file);
|
|
2799
|
+
this._continueHandleOkClick();
|
|
2800
|
+
}
|
|
2793
2801
|
handleOkClick() {
|
|
2802
|
+
var _a, _b, _c, _d;
|
|
2803
|
+
if (this.isAdditionalDocEnabled && !this.additionalFileHasBeenSaved) {
|
|
2804
|
+
if (((_a = this.activeSendMethod) === null || _a === void 0 ? void 0 : _a.code) === SendMethodType.Print &&
|
|
2805
|
+
((_b = this.printerComponentRef) === null || _b === void 0 ? void 0 : _b.isAdditionalFileActive())) {
|
|
2806
|
+
this.printerComponentRef.openAdditionalFileDialog();
|
|
2807
|
+
return;
|
|
2808
|
+
}
|
|
2809
|
+
if (((_c = this.activeSendMethod) === null || _c === void 0 ? void 0 : _c.code) === SendMethodType.Email &&
|
|
2810
|
+
((_d = this.emailComponentRef) === null || _d === void 0 ? void 0 : _d.isAdditionalFileActive())) {
|
|
2811
|
+
this.emailComponentRef.openAdditionalFileDialog();
|
|
2812
|
+
return;
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
this._continueHandleOkClick();
|
|
2816
|
+
}
|
|
2817
|
+
_continueHandleOkClick() {
|
|
2794
2818
|
if (this.activeSendMethod && this.activeSendMethod.code.toString() === "COMBINED") {
|
|
2795
2819
|
const selectedMethodData = Object.assign({ sendMethod: this.activeSendMethod.code.toString() }, this.selectedPurchaseMethod);
|
|
2796
2820
|
this.okClick.emit(selectedMethodData);
|
|
@@ -2894,112 +2918,118 @@ SendMethodDialogComponent.decorators = [
|
|
|
2894
2918
|
{ type: Component, args: [{
|
|
2895
2919
|
selector: 'co-send-method-dialog',
|
|
2896
2920
|
template: `
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2921
|
+
<co-dialog id="sendOptionsDialog" [headerTemplate]="headerTemplate" [footerTemplate]="footerTemplate"
|
|
2922
|
+
(closeClick)="closeClick.emit($event)">
|
|
2923
|
+
<ng-template #headerTemplate>
|
|
2924
|
+
<div class="co-dialog-header-title-wrapper">
|
|
2925
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.ShareSolid)"></co-icon>
|
|
2926
|
+
<div class="co-dialog-header-title" [textContent]="headerTitle"></div>
|
|
2927
|
+
</div>
|
|
2928
|
+
<div class="dialog-navigation-wrapper">
|
|
2929
|
+
<div
|
|
2930
|
+
*ngFor="let sendMethod of sendMethods; let index = index"
|
|
2931
|
+
class="send-button-wrapper"
|
|
2932
|
+
[class.selected]="activeSendMethod ? sendMethod.code === activeSendMethod.code : index === 0"
|
|
2933
|
+
(click)="handleSendMethodClick(sendMethod)">
|
|
2934
|
+
<div class="custom-button-title" [textContent]="sendMethod.description"></div>
|
|
2935
|
+
</div>
|
|
2936
|
+
<div class="send-button-wrapper"
|
|
2937
|
+
*ngIf="usePurchaseSendMethod"
|
|
2938
|
+
[class.selected]="activeSendMethod?.code === 'COMBINED'"
|
|
2939
|
+
(click)="handleCombinedClick()">
|
|
2940
|
+
<div class="custom-button-title" [textContent]="'COMBINED' | sharedLocalize"></div>
|
|
2941
|
+
</div>
|
|
2942
|
+
</div>
|
|
2943
|
+
</ng-template>
|
|
2920
2944
|
|
|
2921
|
-
|
|
2922
|
-
|
|
2945
|
+
<div class="dialog-content-wrapper">
|
|
2946
|
+
<div class="send-methods-wrapper">
|
|
2923
2947
|
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2948
|
+
</div>
|
|
2949
|
+
<div #navigationItems class="send-method-navigation-wrapper" [class.smooth-scrolling]="!startUp">
|
|
2950
|
+
<div #faxItems class="send-method-navigation-content co-small-scrollbar">
|
|
2927
2951
|
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2952
|
+
</div>
|
|
2953
|
+
<div #printItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showPrint">
|
|
2954
|
+
<co-send-method-printer
|
|
2955
|
+
#printerComponent
|
|
2956
|
+
[isPrinterLayoutsEnabled]="isPrinterLayoutsEnabled"
|
|
2957
|
+
[printerList]="printerList"
|
|
2958
|
+
[layouts]="printLayouts"
|
|
2959
|
+
[isAdditionalDocEnabled]="isAdditionalDocEnabled"
|
|
2960
|
+
[additionalFileContents]="additionalFileContents"
|
|
2961
|
+
[additionalFileName]="additionalFileName"
|
|
2962
|
+
[pdfDoc]="pdfDoc"
|
|
2963
|
+
[disablePdfPreview]="disablePdfPreview"
|
|
2964
|
+
[transactionType]="transactionType"
|
|
2965
|
+
[defaultPrinter]="defaultPrinter"
|
|
2966
|
+
(additionalFileChangeEvent)="handleAdditionalFileSaved($event)"
|
|
2967
|
+
(showFilePreview)="showFilePreview.emit($event)"
|
|
2968
|
+
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
|
|
2969
|
+
></co-send-method-printer>
|
|
2970
|
+
</div>
|
|
2971
|
+
<div #emailItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showEmail">
|
|
2972
|
+
<co-send-method-email
|
|
2973
|
+
#emailComponent
|
|
2974
|
+
[emailAddresses]="emailAddresses"
|
|
2975
|
+
[layouts]="emailLayouts"
|
|
2976
|
+
[pdfDoc]="pdfDoc"
|
|
2977
|
+
[disablePdfPreview]="disablePdfPreview"
|
|
2978
|
+
[transactionType]="transactionType"
|
|
2979
|
+
[emailUnsignedPossible]="emailUnsignedPossible"
|
|
2980
|
+
(showFilePreview)="showFilePreview.emit($event)"
|
|
2981
|
+
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
|
|
2982
|
+
[isAdditionalDocEnabled]="isAdditionalDocEnabled"
|
|
2983
|
+
[additionalFileContents]="additionalFileContents"
|
|
2984
|
+
[additionalFileName]="additionalFileName"
|
|
2985
|
+
(additionalFileChangeEvent)="handleAdditionalFileSaved($event)">
|
|
2986
|
+
</co-send-method-email>
|
|
2987
|
+
</div>
|
|
2988
|
+
<div #ediItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showEdi">
|
|
2959
2989
|
|
|
2960
|
-
|
|
2961
|
-
|
|
2990
|
+
</div>
|
|
2991
|
+
<div #emailTemplateItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showEmailTemplate">
|
|
2962
2992
|
|
|
2963
|
-
|
|
2964
|
-
|
|
2993
|
+
</div>
|
|
2994
|
+
<div #smsItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showSms">
|
|
2965
2995
|
|
|
2966
|
-
|
|
2967
|
-
|
|
2996
|
+
</div>
|
|
2997
|
+
<div #webServiceItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showWebservice">
|
|
2968
2998
|
|
|
2969
|
-
</div>
|
|
2970
|
-
<div #pdfItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showPdf">
|
|
2971
|
-
<co-send-method-pdf
|
|
2972
|
-
[layouts]="printLayouts"
|
|
2973
|
-
[pdfDoc]="pdfDoc"
|
|
2974
|
-
[disablePdfPreview]="disablePdfPreview"
|
|
2975
|
-
[transactionType]="transactionType"
|
|
2976
|
-
(showFilePreview)="showFilePreview.emit($event)"
|
|
2977
|
-
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)">
|
|
2978
|
-
</co-send-method-pdf>
|
|
2979
|
-
</div>
|
|
2980
|
-
<div #purchaseItems class="send-method-navigation-content co-small-scrollbar" *ngIf="usePurchaseSendMethod">
|
|
2981
|
-
<co-send-method-purchase
|
|
2982
|
-
[emailLayouts]="emailLayouts"
|
|
2983
|
-
[printLayouts]="printLayouts"
|
|
2984
|
-
[printerList]="printerList"
|
|
2985
|
-
[defaultPrinter]="defaultPrinter"
|
|
2986
|
-
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
|
|
2987
|
-
(purchaseMethodChanged)="handlePurchaseMethodChange($event)">
|
|
2988
|
-
</co-send-method-purchase>
|
|
2989
|
-
</div>
|
|
2990
|
-
</div>
|
|
2991
2999
|
</div>
|
|
2992
|
-
<
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
</
|
|
3002
|
-
|
|
3000
|
+
<div #pdfItems class="send-method-navigation-content co-small-scrollbar" *ngIf="showPdf">
|
|
3001
|
+
<co-send-method-pdf
|
|
3002
|
+
[layouts]="printLayouts"
|
|
3003
|
+
[pdfDoc]="pdfDoc"
|
|
3004
|
+
[disablePdfPreview]="disablePdfPreview"
|
|
3005
|
+
[transactionType]="transactionType"
|
|
3006
|
+
(showFilePreview)="showFilePreview.emit($event)"
|
|
3007
|
+
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)">
|
|
3008
|
+
</co-send-method-pdf>
|
|
3009
|
+
</div>
|
|
3010
|
+
<div #purchaseItems class="send-method-navigation-content co-small-scrollbar" *ngIf="usePurchaseSendMethod">
|
|
3011
|
+
<co-send-method-purchase
|
|
3012
|
+
[emailLayouts]="emailLayouts"
|
|
3013
|
+
[printLayouts]="printLayouts"
|
|
3014
|
+
[defaultPrinter]="defaultPrinter"
|
|
3015
|
+
[printerList]="printerList"
|
|
3016
|
+
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
|
|
3017
|
+
(purchaseMethodChanged)="handlePurchaseMethodChange($event)">
|
|
3018
|
+
</co-send-method-purchase>
|
|
3019
|
+
</div>
|
|
3020
|
+
</div>
|
|
3021
|
+
</div>
|
|
3022
|
+
<ng-template #footerTemplate>
|
|
3023
|
+
<div class="co-dialog-footer-button-wrapper">
|
|
3024
|
+
<co-button class="save-button"
|
|
3025
|
+
[iconData]="iconCacheService.getIcon(icons.CheckDuotone)"
|
|
3026
|
+
(click)="handleOkClick()"></co-button>
|
|
3027
|
+
<co-button class="close-button"
|
|
3028
|
+
[iconData]="iconCacheService.getIcon(icons.CrossSkinny)"
|
|
3029
|
+
(click)="closeClick.emit($event)"></co-button>
|
|
3030
|
+
</div>
|
|
3031
|
+
</ng-template>
|
|
3032
|
+
</co-dialog>
|
|
3003
3033
|
`,
|
|
3004
3034
|
encapsulation: ViewEncapsulation.None,
|
|
3005
3035
|
animations: [
|
|
@@ -3026,6 +3056,8 @@ SendMethodDialogComponent.propDecorators = {
|
|
|
3026
3056
|
webServiceItems: [{ type: ViewChild, args: ['webServiceItems', { read: ElementRef },] }],
|
|
3027
3057
|
pdfItems: [{ type: ViewChild, args: ['pdfItems', { read: ElementRef },] }],
|
|
3028
3058
|
purchaseItems: [{ type: ViewChild, args: ['purchaseItems', { read: ElementRef },] }],
|
|
3059
|
+
printerComponentRef: [{ type: ViewChild, args: ['printerComponent',] }],
|
|
3060
|
+
emailComponentRef: [{ type: ViewChild, args: ['emailComponent',] }],
|
|
3029
3061
|
printerList: [{ type: Input }],
|
|
3030
3062
|
reportingDocumentPrintRequest: [{ type: Input }],
|
|
3031
3063
|
reportingDocumentEmailRequest: [{ type: Input }],
|
|
@@ -3074,9 +3106,13 @@ class SendMethodEmailComponent {
|
|
|
3074
3106
|
this.layouts = [];
|
|
3075
3107
|
this.pdfDoc = '';
|
|
3076
3108
|
this.disablePdfPreview = false;
|
|
3109
|
+
this.additionalFileContents = '';
|
|
3110
|
+
this.additionalFileName = '';
|
|
3077
3111
|
this.emailUnsignedPossible = false;
|
|
3112
|
+
this.isAdditionalDocEnabled = false;
|
|
3078
3113
|
this.showFilePreview = new EventEmitter();
|
|
3079
3114
|
this.loadDefaultPrinterName = new EventEmitter();
|
|
3115
|
+
this.additionalFileChangeEvent = new EventEmitter();
|
|
3080
3116
|
this.emailAddressViewmodels = [];
|
|
3081
3117
|
}
|
|
3082
3118
|
showClass() {
|
|
@@ -3100,6 +3136,14 @@ class SendMethodEmailComponent {
|
|
|
3100
3136
|
}
|
|
3101
3137
|
emailAddressViewmodel.checked = wantedValue;
|
|
3102
3138
|
}
|
|
3139
|
+
openAdditionalFileDialog() {
|
|
3140
|
+
var _a;
|
|
3141
|
+
(_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.openForSave();
|
|
3142
|
+
}
|
|
3143
|
+
isAdditionalFileActive() {
|
|
3144
|
+
var _a, _b;
|
|
3145
|
+
return (_b = (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.isActive) !== null && _b !== void 0 ? _b : false;
|
|
3146
|
+
}
|
|
3103
3147
|
}
|
|
3104
3148
|
SendMethodEmailComponent.decorators = [
|
|
3105
3149
|
{ type: Component, args: [{
|
|
@@ -3107,30 +3151,35 @@ SendMethodEmailComponent.decorators = [
|
|
|
3107
3151
|
template: `
|
|
3108
3152
|
<span class="send-methods-label" [textContent]="'SETTINGS' | sharedLocalize"></span>
|
|
3109
3153
|
<div class="layout-signature-wrapper">
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
<div class="email-
|
|
3129
|
-
<
|
|
3130
|
-
|
|
3131
|
-
<div class="email-address" [textContent]="emailAddressViewmodel.emailAddress"></div>
|
|
3132
|
-
</div>
|
|
3154
|
+
<co-layout-selection
|
|
3155
|
+
[(request)]="sendMethodService.reportingDocumentEmailSignDocBaseRequest"
|
|
3156
|
+
(requestChange)="showFilePreview.emit(sendMethodService.reportingDocumentEmailSignDocBaseRequest.reportId)"
|
|
3157
|
+
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
|
|
3158
|
+
[layouts]="layouts"
|
|
3159
|
+
[useDefault]="false"
|
|
3160
|
+
[label]="'EMAIL_LAYOUT'">
|
|
3161
|
+
</co-layout-selection>
|
|
3162
|
+
<co-additional-file-button
|
|
3163
|
+
#additionalFileButton
|
|
3164
|
+
*ngIf="isAdditionalDocEnabled"
|
|
3165
|
+
[additionalFileContents]="additionalFileContents"
|
|
3166
|
+
[additionalFileName]="additionalFileName"
|
|
3167
|
+
(additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)">
|
|
3168
|
+
</co-additional-file-button>
|
|
3169
|
+
<co-signature-button [request]="sendMethodService.reportingDocumentEmailSignDocBaseRequest" [emailUnsignedPossible]="emailUnsignedPossible"></co-signature-button>
|
|
3170
|
+
</div>
|
|
3171
|
+
<div class="email-addresses-wrapper co-small-scrollbar">
|
|
3172
|
+
<div class="email-address-wrapper" *ngFor="let emailAddressViewmodel of emailAddressViewmodels" (click)="handleCheckedEmail(emailAddressViewmodel)">
|
|
3173
|
+
<co-input-checkbox [model]="emailAddressViewmodel.checked" (modelChange)="handleCheckedEmail(emailAddressViewmodel)"></co-input-checkbox>
|
|
3174
|
+
<div class="email-address" [textContent]="emailAddressViewmodel.emailAddress"></div>
|
|
3133
3175
|
</div>
|
|
3176
|
+
</div>
|
|
3177
|
+
<co-pdf-preview
|
|
3178
|
+
*ngIf="transactionType === 'salesOrderOverview'"
|
|
3179
|
+
[pdfDoc]="pdfDoc"
|
|
3180
|
+
[disablePdfPreview]="disablePdfPreview"
|
|
3181
|
+
(showFilePreview)="showFilePreview.emit(sendMethodService.reportingDocumentEmailSignDocBaseRequest.reportId)">
|
|
3182
|
+
</co-pdf-preview>
|
|
3134
3183
|
`,
|
|
3135
3184
|
encapsulation: ViewEncapsulation.None
|
|
3136
3185
|
},] }
|
|
@@ -3139,14 +3188,19 @@ SendMethodEmailComponent.ctorParameters = () => [
|
|
|
3139
3188
|
{ type: SendMethodService }
|
|
3140
3189
|
];
|
|
3141
3190
|
SendMethodEmailComponent.propDecorators = {
|
|
3191
|
+
additionalFileButtonRef: [{ type: ViewChild, args: ['additionalFileButton',] }],
|
|
3142
3192
|
emailAddresses: [{ type: Input }],
|
|
3143
3193
|
layouts: [{ type: Input }],
|
|
3144
3194
|
pdfDoc: [{ type: Input }],
|
|
3145
3195
|
disablePdfPreview: [{ type: Input }],
|
|
3146
3196
|
transactionType: [{ type: Input }],
|
|
3197
|
+
additionalFileContents: [{ type: Input }],
|
|
3198
|
+
additionalFileName: [{ type: Input }],
|
|
3147
3199
|
emailUnsignedPossible: [{ type: Input }],
|
|
3200
|
+
isAdditionalDocEnabled: [{ type: Input }],
|
|
3148
3201
|
showFilePreview: [{ type: Output }],
|
|
3149
3202
|
loadDefaultPrinterName: [{ type: Output }],
|
|
3203
|
+
additionalFileChangeEvent: [{ type: Output }],
|
|
3150
3204
|
showClass: [{ type: HostBinding, args: ['class.co-send-method-email',] }]
|
|
3151
3205
|
};
|
|
3152
3206
|
|
|
@@ -3604,7 +3658,7 @@ PdfPreviewComponent.decorators = [
|
|
|
3604
3658
|
selector: "co-pdf-preview",
|
|
3605
3659
|
template: `
|
|
3606
3660
|
<div class="pdf-preview-button" [class.disabled]="disablePdfPreview" (click)="showDialog = true">
|
|
3607
|
-
<co-icon [iconData]="iconCacheService.getIcon(icons.
|
|
3661
|
+
<co-icon [iconData]="iconCacheService.getIcon(icons.FileMagnifyingGlass)"></co-icon>
|
|
3608
3662
|
</div>
|
|
3609
3663
|
<co-preview-pdf-dialog
|
|
3610
3664
|
*ngIf="showDialog"
|
|
@@ -3738,6 +3792,85 @@ PdfPreviewModule.decorators = [
|
|
|
3738
3792
|
},] }
|
|
3739
3793
|
];
|
|
3740
3794
|
|
|
3795
|
+
class AdditionalFileButtonComponent {
|
|
3796
|
+
constructor(iconCacheService) {
|
|
3797
|
+
this.iconCacheService = iconCacheService;
|
|
3798
|
+
this.icons = Icon;
|
|
3799
|
+
this.isActive = false;
|
|
3800
|
+
this.additionalFileContents = '';
|
|
3801
|
+
this.additionalFileName = '';
|
|
3802
|
+
this.additionalFileChangeEvent = new EventEmitter();
|
|
3803
|
+
this.openPdfProgrammatically = new EventEmitter();
|
|
3804
|
+
this.show = false;
|
|
3805
|
+
}
|
|
3806
|
+
openForSave() {
|
|
3807
|
+
if (this.isActive) {
|
|
3808
|
+
this.show = true;
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
showClass() {
|
|
3812
|
+
return true;
|
|
3813
|
+
}
|
|
3814
|
+
handleToggleDialog() {
|
|
3815
|
+
this.show = !this.show;
|
|
3816
|
+
}
|
|
3817
|
+
toggleActive() {
|
|
3818
|
+
this.isActive = !this.isActive;
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
AdditionalFileButtonComponent.decorators = [
|
|
3822
|
+
{ type: Component, args: [{
|
|
3823
|
+
selector: "co-additional-file-button",
|
|
3824
|
+
template: `
|
|
3825
|
+
<div class="additional-file-button-wrapper"
|
|
3826
|
+
[class.selected]="isActive"
|
|
3827
|
+
(click)="toggleActive()">
|
|
3828
|
+
<co-icon
|
|
3829
|
+
[iconData]="iconCacheService.getIcon(icons.RegularFileSignatureCirclePlus)"
|
|
3830
|
+
></co-icon>
|
|
3831
|
+
</div>
|
|
3832
|
+
|
|
3833
|
+
<co-custom-pdf-dialog
|
|
3834
|
+
*ngIf="show"
|
|
3835
|
+
[additionalFileContents]="additionalFileContents"
|
|
3836
|
+
[additionalFileName]="additionalFileName"
|
|
3837
|
+
(closePDFDialog)="handleToggleDialog()"
|
|
3838
|
+
(additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)"
|
|
3839
|
+
></co-custom-pdf-dialog>
|
|
3840
|
+
`,
|
|
3841
|
+
encapsulation: ViewEncapsulation.None
|
|
3842
|
+
},] }
|
|
3843
|
+
];
|
|
3844
|
+
AdditionalFileButtonComponent.ctorParameters = () => [
|
|
3845
|
+
{ type: IconCacheService }
|
|
3846
|
+
];
|
|
3847
|
+
AdditionalFileButtonComponent.propDecorators = {
|
|
3848
|
+
request: [{ type: Input }],
|
|
3849
|
+
additionalFileContents: [{ type: Input }],
|
|
3850
|
+
additionalFileName: [{ type: Input }],
|
|
3851
|
+
additionalFileChangeEvent: [{ type: Output }],
|
|
3852
|
+
openPdfProgrammatically: [{ type: Output }],
|
|
3853
|
+
showClass: [{ type: HostBinding, args: ["class.co-additional-file-button",] }]
|
|
3854
|
+
};
|
|
3855
|
+
|
|
3856
|
+
class AdditionalFileButtonModule {
|
|
3857
|
+
}
|
|
3858
|
+
AdditionalFileButtonModule.decorators = [
|
|
3859
|
+
{ type: NgModule, args: [{
|
|
3860
|
+
imports: [
|
|
3861
|
+
CommonModule,
|
|
3862
|
+
IconModule,
|
|
3863
|
+
CustomPdfDialogModule
|
|
3864
|
+
],
|
|
3865
|
+
declarations: [
|
|
3866
|
+
AdditionalFileButtonComponent
|
|
3867
|
+
],
|
|
3868
|
+
exports: [
|
|
3869
|
+
AdditionalFileButtonComponent
|
|
3870
|
+
]
|
|
3871
|
+
},] }
|
|
3872
|
+
];
|
|
3873
|
+
|
|
3741
3874
|
class SendMethodEmailModule {
|
|
3742
3875
|
}
|
|
3743
3876
|
SendMethodEmailModule.decorators = [
|
|
@@ -3749,7 +3882,8 @@ SendMethodEmailModule.decorators = [
|
|
|
3749
3882
|
IconModule,
|
|
3750
3883
|
SignatureButtonModule,
|
|
3751
3884
|
PdfPreviewModule,
|
|
3752
|
-
SharedComponentsTranslationModule
|
|
3885
|
+
SharedComponentsTranslationModule,
|
|
3886
|
+
AdditionalFileButtonModule
|
|
3753
3887
|
],
|
|
3754
3888
|
declarations: [
|
|
3755
3889
|
SendMethodEmailComponent
|
|
@@ -3788,54 +3922,63 @@ class SendMethodPrinterComponent {
|
|
|
3788
3922
|
this.sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers = checked;
|
|
3789
3923
|
this.sendMethodService.reportingDocumentPrintSignDocBaseRequestChanged.next(this.sendMethodService.reportingDocumentPrintSignDocBaseRequest);
|
|
3790
3924
|
}
|
|
3925
|
+
openAdditionalFileDialog() {
|
|
3926
|
+
var _a;
|
|
3927
|
+
(_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.openForSave();
|
|
3928
|
+
}
|
|
3929
|
+
isAdditionalFileActive() {
|
|
3930
|
+
var _a, _b;
|
|
3931
|
+
return (_b = (_a = this.additionalFileButtonRef) === null || _a === void 0 ? void 0 : _a.isActive) !== null && _b !== void 0 ? _b : false;
|
|
3932
|
+
}
|
|
3791
3933
|
}
|
|
3792
3934
|
SendMethodPrinterComponent.decorators = [
|
|
3793
3935
|
{ type: Component, args: [{
|
|
3794
3936
|
selector: 'co-send-method-printer',
|
|
3795
3937
|
template: `
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
(modelChange)="handleDefaultPrinterUserChange($event)">
|
|
3816
|
-
</co-input-checkbox>
|
|
3817
|
-
<co-input-checkbox
|
|
3818
|
-
[model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers"
|
|
3819
|
-
[label]="'Alle gebruikers'"
|
|
3820
|
-
(modelChange)="handleDefaultPrinterAllUsersChange($event)">
|
|
3821
|
-
</co-input-checkbox>
|
|
3822
|
-
</div>
|
|
3823
|
-
<div class="additional-buttons">
|
|
3824
|
-
<co-pdf-preview
|
|
3825
|
-
*ngIf="transactionType === 'salesOrderOverview'"
|
|
3826
|
-
[pdfDoc]="pdfDoc"
|
|
3827
|
-
[disablePdfPreview]="disablePdfPreview"
|
|
3828
|
-
(showFilePreview)="showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)">
|
|
3829
|
-
</co-pdf-preview>
|
|
3830
|
-
<co-additional-file-button
|
|
3831
|
-
*ngIf="isAdditionalDocEnabled"
|
|
3832
|
-
[additionalFileContents]="additionalFileContents"
|
|
3833
|
-
[additionalFileName]="additionalFileName"
|
|
3834
|
-
(additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)">
|
|
3835
|
-
</co-additional-file-button>
|
|
3836
|
-
</div>
|
|
3837
|
-
</div>
|
|
3938
|
+
<span class="send-methods-label" [textContent]="'SETTINGS' | sharedLocalize"></span>
|
|
3939
|
+
<div class="printer-layout-selections-wrapper">
|
|
3940
|
+
<div class="printer-signature-wrapper">
|
|
3941
|
+
<co-layout-selection
|
|
3942
|
+
[(request)]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"
|
|
3943
|
+
(requestChange)="showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)"
|
|
3944
|
+
(loadDefaultPrinterName)="loadDefaultPrinterName.emit($event)"
|
|
3945
|
+
[layouts]="layouts"
|
|
3946
|
+
[label]="'PRINTER_LAYOUT'"
|
|
3947
|
+
[useDefault]="false">
|
|
3948
|
+
</co-layout-selection>
|
|
3949
|
+
<co-additional-file-button
|
|
3950
|
+
#additionalFileButton
|
|
3951
|
+
*ngIf="isAdditionalDocEnabled"
|
|
3952
|
+
[additionalFileContents]="additionalFileContents"
|
|
3953
|
+
[additionalFileName]="additionalFileName"
|
|
3954
|
+
(additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)">
|
|
3955
|
+
</co-additional-file-button>
|
|
3956
|
+
<co-signature-button [request]="sendMethodService.reportingDocumentPrintSignDocBaseRequest"></co-signature-button>
|
|
3838
3957
|
</div>
|
|
3958
|
+
<div class="layout-buttons-wrapper" *ngIf="isPrinterLayoutsEnabled">
|
|
3959
|
+
<co-printer-selection [defaultPrinter]="defaultPrinter" [printers]="printerList"></co-printer-selection>
|
|
3960
|
+
<div class="additional-checks">
|
|
3961
|
+
<co-input-checkbox
|
|
3962
|
+
[model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForUser"
|
|
3963
|
+
[label]="'Koppeling onthouden'"
|
|
3964
|
+
(modelChange)="handleDefaultPrinterUserChange($event)">
|
|
3965
|
+
</co-input-checkbox>
|
|
3966
|
+
<co-input-checkbox
|
|
3967
|
+
[model]="sendMethodService.reportingDocumentPrintSignDocBaseRequest.saveDefaultPrinterForAllUsers"
|
|
3968
|
+
[label]="'Alle gebruikers'"
|
|
3969
|
+
(modelChange)="handleDefaultPrinterAllUsersChange($event)">
|
|
3970
|
+
</co-input-checkbox>
|
|
3971
|
+
</div>
|
|
3972
|
+
<div class="additional-buttons">
|
|
3973
|
+
<co-pdf-preview
|
|
3974
|
+
*ngIf="transactionType === 'salesOrderOverview'"
|
|
3975
|
+
[pdfDoc]="pdfDoc"
|
|
3976
|
+
[disablePdfPreview]="disablePdfPreview"
|
|
3977
|
+
(showFilePreview)="showFilePreview.emit(sendMethodService.reportingDocumentPrintSignDocBaseRequest.reportId)">
|
|
3978
|
+
</co-pdf-preview>
|
|
3979
|
+
</div>
|
|
3980
|
+
</div>
|
|
3981
|
+
</div>
|
|
3839
3982
|
`,
|
|
3840
3983
|
encapsulation: ViewEncapsulation.None
|
|
3841
3984
|
},] }
|
|
@@ -3846,6 +3989,7 @@ SendMethodPrinterComponent.ctorParameters = () => [
|
|
|
3846
3989
|
];
|
|
3847
3990
|
SendMethodPrinterComponent.propDecorators = {
|
|
3848
3991
|
showClass: [{ type: HostBinding, args: ['class.co-send-method-printer',] }],
|
|
3992
|
+
additionalFileButtonRef: [{ type: ViewChild, args: ['additionalFileButton',] }],
|
|
3849
3993
|
printerList: [{ type: Input }],
|
|
3850
3994
|
defaultPrinter: [{ type: Input }],
|
|
3851
3995
|
layouts: [{ type: Input }],
|
|
@@ -4227,73 +4371,6 @@ PrinterSelectionModule.decorators = [
|
|
|
4227
4371
|
},] }
|
|
4228
4372
|
];
|
|
4229
4373
|
|
|
4230
|
-
class AdditionalFileButtonComponent {
|
|
4231
|
-
constructor(iconCacheService) {
|
|
4232
|
-
this.iconCacheService = iconCacheService;
|
|
4233
|
-
this.icons = Icon;
|
|
4234
|
-
this.additionalFileContents = '';
|
|
4235
|
-
this.additionalFileName = '';
|
|
4236
|
-
this.additionalFileChangeEvent = new EventEmitter();
|
|
4237
|
-
this.show = false;
|
|
4238
|
-
}
|
|
4239
|
-
showClass() {
|
|
4240
|
-
return true;
|
|
4241
|
-
}
|
|
4242
|
-
handleToggleDialog() {
|
|
4243
|
-
this.show = !this.show;
|
|
4244
|
-
}
|
|
4245
|
-
}
|
|
4246
|
-
AdditionalFileButtonComponent.decorators = [
|
|
4247
|
-
{ type: Component, args: [{
|
|
4248
|
-
selector: "co-additional-file-button",
|
|
4249
|
-
template: `
|
|
4250
|
-
<div class="additional-file-button-wrapper"
|
|
4251
|
-
(click)="handleToggleDialog()">
|
|
4252
|
-
<co-icon
|
|
4253
|
-
[iconData]="iconCacheService.getIcon(icons.RegularFileSignatureCirclePlus)"
|
|
4254
|
-
></co-icon>
|
|
4255
|
-
</div>
|
|
4256
|
-
|
|
4257
|
-
<co-custom-pdf-dialog
|
|
4258
|
-
*ngIf="show"
|
|
4259
|
-
[additionalFileContents]="additionalFileContents"
|
|
4260
|
-
[additionalFileName]="additionalFileName"
|
|
4261
|
-
(closePDFDialog)="handleToggleDialog()"
|
|
4262
|
-
(additionalFileChangeEvent)="additionalFileChangeEvent.emit($event)"
|
|
4263
|
-
></co-custom-pdf-dialog>
|
|
4264
|
-
`,
|
|
4265
|
-
encapsulation: ViewEncapsulation.None
|
|
4266
|
-
},] }
|
|
4267
|
-
];
|
|
4268
|
-
AdditionalFileButtonComponent.ctorParameters = () => [
|
|
4269
|
-
{ type: IconCacheService }
|
|
4270
|
-
];
|
|
4271
|
-
AdditionalFileButtonComponent.propDecorators = {
|
|
4272
|
-
request: [{ type: Input }],
|
|
4273
|
-
additionalFileContents: [{ type: Input }],
|
|
4274
|
-
additionalFileName: [{ type: Input }],
|
|
4275
|
-
additionalFileChangeEvent: [{ type: Output }],
|
|
4276
|
-
showClass: [{ type: HostBinding, args: ["class.co-additional-file-button",] }]
|
|
4277
|
-
};
|
|
4278
|
-
|
|
4279
|
-
class AdditionalFileButtonModule {
|
|
4280
|
-
}
|
|
4281
|
-
AdditionalFileButtonModule.decorators = [
|
|
4282
|
-
{ type: NgModule, args: [{
|
|
4283
|
-
imports: [
|
|
4284
|
-
CommonModule,
|
|
4285
|
-
IconModule,
|
|
4286
|
-
CustomPdfDialogModule
|
|
4287
|
-
],
|
|
4288
|
-
declarations: [
|
|
4289
|
-
AdditionalFileButtonComponent
|
|
4290
|
-
],
|
|
4291
|
-
exports: [
|
|
4292
|
-
AdditionalFileButtonComponent
|
|
4293
|
-
]
|
|
4294
|
-
},] }
|
|
4295
|
-
];
|
|
4296
|
-
|
|
4297
4374
|
class SendMethodPrinterModule {
|
|
4298
4375
|
}
|
|
4299
4376
|
SendMethodPrinterModule.decorators = [
|
|
@@ -17255,5 +17332,5 @@ PreferredPlanningModule.decorators = [
|
|
|
17255
17332
|
* Generated bundle index. Do not edit.
|
|
17256
17333
|
*/
|
|
17257
17334
|
|
|
17258
|
-
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,
|
|
17335
|
+
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, LanguageCode as ɵba, SendMethodPrinterComponent as ɵbb, SendMethodPdfModule as ɵbc, SendMethodPdfComponent as ɵbd, SendMethodPurchaseModule as ɵbe, SendMethodPurchaseComponent as ɵbf, TabBarModule as ɵbg, TabBarComponent as ɵbh, StatusbarPopupComponent as ɵbi, StockStatusbarModule as ɵbj, StockStatusbarComponent as ɵbk, StockInformationComponent as ɵbl, StockInformationGridComponent as ɵbm, StockTransferComponent as ɵbn, StockChangeAmountComponent as ɵbo, StockTabComponent as ɵbp, OrderTabComponent as ɵbq, BaseStockComponent as ɵbr, StockTabsComponent as ɵbs, StockHistoryTabsComponent as ɵbt, OrderStockTabComponent as ɵbu, StockLocationComponent as ɵbv, StockHistoryComponent as ɵbw, OrderSupplyStockHistoryComponent as ɵbx, OrderCommissionStockHistoryComponent as ɵby, OrderStockHistoryComponent as ɵbz, StockModuleScreenConfigService as ɵc, AllocationStockHistoryComponent as ɵca, StockPrognoseComponent as ɵcb, StockLocationPopupComponent as ɵcc, SendMethod as ɵcd, Icon as ɵce, CalendarAllYearsComponent as ɵcf, CalendarAllMonthsComponent as ɵcg, CalendarHeaderComponent as ɵch, CalendarComponent as ɵci, CalendarViewComponent as ɵcj, AgendaHeaderComponent as ɵck, AgendaViewComponent as ɵcl, AgendaMonthViewComponent as ɵcm, AgendaBaseViewComponent as ɵcn, AgendaDayViewComponent as ɵco, AgendaWeekViewComponent as ɵcp, AgendaWeekSelectViewComponent as ɵcq, AgendaHourViewComponent as ɵcr, AgendaHourCellComponent as ɵcs, AgendaHourViewLabelsComponent as ɵct, AgendaHalfHourCellComponent as ɵcu, AgendaEventsComponent as ɵcv, AgendaEventComponent as ɵcw, ViewSelectComponent as ɵcx, AgendaSelectEventComponent as ɵcy, MASTER_PIPES as ɵcz, SharedConnectorService as ɵd, ArrayNumberPipe as ɵda, UCfirstPipe as ɵdb, FileTypeImagePipe as ɵdc, BaseFileUploadComponent as ɵdd, InputBoolean as ɵde, ImageDisplayModule as ɵdf, ImageDisplayComponent as ɵdg, FileUploadModule as ɵdh, TileRenderModule as ɵdi, TileRenderComponent as ɵdj, FileUploadComponent as ɵdk, FileUploadPopupModule as ɵdl, MultiplePropertyTogglerModule as ɵdm, MultiplePropertyTogglerComponent as ɵdn, FileUploadPopupComponent as ɵdo, AppFileDropzoneModule as ɵdp, AppFileDropzoneComponent as ɵdq, DragDropContainerComponent as ɵdr, DragDropService as ɵds, BaseActivityListComponent as ɵdt, PersonalActivityOverviewComponent as ɵdu, BaseActivityOverviewComponent as ɵdv, TaskModifierComponent as ɵdw, ModifyTaskFormComponent as ɵdx, PersonalActivityOverviewModule as ɵdy, ComponentActivityOverviewModule as ɵdz, OptionsService as ɵe, TaskModifyerModule as ɵea, ModifyTaskFormModule as ɵeb, TaskDetailsModule as ɵec, TaskDetailsComponent as ɵed, BaseActivitySummaryComponent as ɵee, ExecutiveSummaryBlockModule as ɵef, ActivitySummaryBlockModule as ɵeg, ActivitySummaryBlockComponent as ɵeh, ExecutiveSummaryBlockComponent as ɵei, StatusSummaryBlockModule as ɵej, StatusSummaryBlockComponent as ɵek, CreationSummaryBlockModule as ɵel, CreationSummaryBlockComponent as ɵem, NotificationSummaryBlockModule as ɵen, EmailSelectorModule as ɵeo, EmailSelectorComponent as ɵep, NotificationSummaryBlockComponent as ɵeq, ComponentActivityOverviewComponent as ɵer, ActivityListHeaderModule as ɵes, WorkflowNotificationToggleModule as ɵet, DirectivesModule as ɵeu, AbsoluteOverlayTemplateDirective as ɵev, AppAbsoluteOverlayOutletService as ɵew, AlignWithDirective as ɵex, ClickOutsideDirective as ɵey, WorkflowNotificationToggleComponent as ɵez, IconCacheService as ɵf, WorkflowNotificationTogglePopupComponent as ɵfa, PeriodFilterModule as ɵfb, PeriodFilterComponent as ɵfc, PeriodFilterPopupComponent as ɵfd, ActivityListHeaderComponent as ɵfe, WorkflowInfoTileModule as ɵff, WorkflowInfoTileComponent as ɵfg, StockService as ɵg, SendMethodService as ɵh, SendMethodEmailModule as ɵi, LayoutSelectionModule as ɵj, SharedLocalizePipe as ɵk, LayoutSelectionComponent as ɵl, SignatureButtonModule as ɵm, SignatureButtonComponent as ɵn, PdfPreviewModule as ɵo, CustomPdfDialogModule as ɵp, CustomPdfDialogComponent as ɵq, PreviewPdfDialogModule as ɵr, PreviewPdfDialogComponent as ɵs, PdfPreviewComponent as ɵt, AdditionalFileButtonModule as ɵu, AdditionalFileButtonComponent as ɵv, SendMethodEmailComponent as ɵw, SendMethodPrinterModule as ɵx, PrinterSelectionModule as ɵy, PrinterSelectionComponent as ɵz };
|
|
17259
17336
|
//# sourceMappingURL=colijnit-sharedcomponents.js.map
|