@colijnit/sharedcomponents 256.2.2 → 256.2.4

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 (51) hide show
  1. package/bundles/colijnit-sharedcomponents.umd.js +1386 -1146
  2. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  3. package/colijnit-sharedcomponents.d.ts +113 -111
  4. package/colijnit-sharedcomponents.metadata.json +1 -1
  5. package/esm2015/colijnit-sharedcomponents.js +114 -112
  6. package/esm2015/lib/components/docsign/docsign.component.js +33 -12
  7. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +37 -7
  8. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +6 -3
  9. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +23 -11
  10. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +6 -3
  11. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +24 -11
  12. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +4 -2
  13. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +28 -15
  14. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +4 -2
  15. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +37 -29
  16. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +4 -2
  17. package/esm2015/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.component.js +155 -0
  18. package/esm2015/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.module.js +30 -0
  19. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +101 -24
  20. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +6 -2
  21. package/esm2015/lib/enum/icon.enum.js +2 -1
  22. package/esm2015/lib/model/icon-svg.js +3 -2
  23. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  24. package/fesm2015/colijnit-sharedcomponents.js +902 -540
  25. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  26. package/lib/components/docsign/docsign.component.d.ts +9 -4
  27. package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss +6 -2
  28. package/lib/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +3 -3
  29. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +4 -1
  30. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +2 -2
  31. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +6 -1
  32. package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +6 -2
  33. package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +2 -2
  34. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +5 -0
  35. package/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +1 -1
  36. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +5 -3
  37. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +24 -4
  38. package/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.component.d.ts +34 -0
  39. package/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.module.d.ts +2 -0
  40. package/lib/components/send-method-dialog/components/send-method-purchase/style/_layout.scss +60 -0
  41. package/lib/components/send-method-dialog/components/send-method-purchase/style/_material-definition.scss +5 -0
  42. package/lib/components/send-method-dialog/components/send-method-purchase/style/_theme.scss +5 -0
  43. package/lib/components/send-method-dialog/components/send-method-purchase/style/material.scss +4 -0
  44. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +8 -0
  45. package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +3 -3
  46. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +12 -15
  47. package/lib/components/send-method-dialog/style/_layout.scss +25 -21
  48. package/lib/components/send-method-dialog/style/material.scss +1 -0
  49. package/lib/enum/icon.enum.d.ts +1 -0
  50. package/lib/res/dictionary/dictionaries.d.ts +25 -0
  51. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter } from "@angular/core";
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
2
  import { PDFDocument } from "pdf-lib";
3
3
  export interface TextDimension {
4
4
  x: number;
@@ -8,6 +8,7 @@ export interface TextDimension {
8
8
  page: number;
9
9
  }
10
10
  export declare class DocsignComponent {
11
+ private _changeDetector;
11
12
  iframe: ElementRef;
12
13
  /**
13
14
  * Load an existing [[PDFDocument]]. The input data can be provided in
@@ -64,9 +65,11 @@ export declare class DocsignComponent {
64
65
  set pdf(value: any);
65
66
  get pdf(): any;
66
67
  firstSignatureLabel: string;
67
- firstSignatureField: string;
68
+ set firstSignatureField(value: string);
69
+ get firstSignatureField(): string;
68
70
  secondSignatureLabel: string;
69
- secondSignatureField: string;
71
+ set secondSignatureField(value: string);
72
+ get secondSignatureField(): string;
70
73
  saveButtonLabel: string;
71
74
  clearButtonLabel: string;
72
75
  signDocumentButtonLabel: string;
@@ -82,6 +85,9 @@ export declare class DocsignComponent {
82
85
  showSignatures: boolean;
83
86
  pdfDoc: PDFDocument;
84
87
  private _pdf;
88
+ private _firstSignatureField;
89
+ private _secondSignatureField;
90
+ constructor(_changeDetector: ChangeDetectorRef);
85
91
  saveFirstSignature(sig: string): void;
86
92
  saveSecondSignature(sig: string): void;
87
93
  private _openPDF;
@@ -89,6 +95,5 @@ export declare class DocsignComponent {
89
95
  private _checkSignatures;
90
96
  private _getPositionSignature;
91
97
  private _saveSignature;
92
- private _handlePdfData;
93
98
  private _preparePDF;
94
99
  }
@@ -9,9 +9,13 @@
9
9
  background-color: $sc-co-signature-button-background-color;
10
10
  border-radius: $sc-co-signature-button-border-radius;
11
11
  cursor: pointer;
12
+ border: 1px solid $sc-co-signature-button-selected-background-color;
12
13
  .co-icon {
13
- width: $sc-co-signature-button-icon-width;
14
- height: $sc-co-signature-button-icon-height;
14
+ width: 28px; //wrong icon with whitespace
15
+ height: 28px; //wrong icon with whitespace
16
+ svg {
17
+ fill: $sc-co-signature-button-selected-background-color;
18
+ }
15
19
  }
16
20
  &.selected {
17
21
  background-color: $sc-co-signature-button-selected-background-color;
@@ -1,8 +1,8 @@
1
1
  $sc-co-signature-button-height: 40px !default;
2
2
  $sc-co-signature-button-width: 40px !default;
3
- $sc-co-signature-button-background-color: #f5f5fc !default;
3
+ $sc-co-signature-button-background-color: #ffffff !default;
4
4
  $sc-co-signature-button-selected-background-color: #1A73E8 !default;
5
5
  $sc-co-signature-button-border-radius: 5px !default;
6
- $sc-co-signature-button-icon-height: 30px !default;
7
- $sc-co-signature-button-icon-width: 30px !default;
6
+ $sc-co-signature-button-icon-height: 28px !default;
7
+ $sc-co-signature-button-icon-width: 28px !default;
8
8
  $sc-co-signature-button-icon-selected-color: white !default;
@@ -6,13 +6,16 @@ import { IconCacheService } from '../../../../service/icon-cache.service';
6
6
  export declare class LayoutSelectionComponent implements OnInit {
7
7
  iconCacheService: IconCacheService;
8
8
  readonly icons: typeof Icon;
9
- request: ReportingDocumentBaseRequest;
9
+ set request(value: ReportingDocumentBaseRequest);
10
+ useDefault: boolean;
11
+ label: string;
10
12
  layouts: ReportLayoutSelectionBase[];
11
13
  requestChange: EventEmitter<ReportingDocumentBaseRequest>;
12
14
  loadDefaultPrinterName: EventEmitter<number>;
13
15
  showClass(): boolean;
14
16
  currentLayout: ReportLayoutSelectionBase;
15
17
  showLayoutList: boolean;
18
+ private _request;
16
19
  constructor(iconCacheService: IconCacheService);
17
20
  ngOnInit(): void;
18
21
  handleSelectLayout(reportLayout: ReportLayoutSelectionBase): void;
@@ -10,10 +10,10 @@ export declare class PrinterSelectionComponent implements OnInit {
10
10
  private _service;
11
11
  readonly icons: typeof Icon;
12
12
  printers: Printer[];
13
- set defaultPrinterName(printerName: string);
13
+ defaultPrinterName: string;
14
14
  showClass(): boolean;
15
15
  showPrinterList: boolean;
16
- private _defaultPrinterName;
16
+ printerModel: Printer;
17
17
  constructor(sendMethodService: SendMethodService, iconService: IconCacheService, _service: SharedService);
18
18
  ngOnInit(): void;
19
19
  handlePrinterClicked(printer: Printer): void;
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { SendMethodService } from '../../service/send-method.service';
3
3
  import { EmailAddressViewmodel } from '../../model/email-address-viewmodel';
4
4
  import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
@@ -6,6 +6,11 @@ export declare class SendMethodEmailComponent implements OnInit {
6
6
  sendMethodService: SendMethodService;
7
7
  emailAddresses: string[];
8
8
  layouts: ReportLayoutSelectionEmail[];
9
+ pdfDoc: any;
10
+ disablePdfPreview: boolean;
11
+ emailUnsignedPossible: boolean;
12
+ showFilePreview: EventEmitter<number>;
13
+ loadDefaultPrinterName: EventEmitter<number>;
9
14
  showClass(): boolean;
10
15
  emailAddressViewmodels: EmailAddressViewmodel[];
11
16
  constructor(sendMethodService: SendMethodService);
@@ -16,13 +16,17 @@
16
16
  column-gap: $sc-co-send-method-email-email-address-column-gap;
17
17
  user-select: none;
18
18
  cursor: pointer;
19
+ .checkbox {
20
+ margin-right: 0;
21
+ }
19
22
  }
20
23
  .layout-signature-wrapper {
21
24
  display: flex;
22
25
  align-items: center;
23
- justify-content: space-between;
26
+ gap: 5px;
24
27
  .co-layout-selection {
25
- width: 80%;
28
+ width: 340px;
29
+ max-width: 100%;
26
30
  }
27
31
  }
28
32
  }
@@ -2,7 +2,7 @@ $sc-co-send-method-email-font-family: $sc-font-family !default;
2
2
  $sc-co-send-method-email-font-size: $sc-font-size !default;
3
3
  $sc-co-send-method-email-font-color: $sc-color-font !default;
4
4
  $sc-co-send-method-email-row-gap: 20px !default;
5
- $sc-co-send-method-email-padding: 10px 25px !default;
5
+ $sc-co-send-method-email-padding: 0 !default;
6
6
  $sc-co-send-method-email-email-address-align-items: center !default;
7
7
  $sc-co-send-method-email-email-address-padding: 5px 0 !default;
8
- $sc-co-send-method-email-email-address-column-gap: 20px !default;
8
+ $sc-co-send-method-email-email-address-column-gap: 10px !default;
@@ -1,8 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
2
3
  import { SendMethodService } from '../../service/send-method.service';
3
4
  export declare class SendMethodPdfComponent {
4
5
  sendMethodService: SendMethodService;
5
6
  layouts: ReportLayoutSelectionPrint[];
7
+ pdfDoc: any;
8
+ disablePdfPreview: boolean;
9
+ showFilePreview: EventEmitter<number>;
10
+ loadDefaultPrinterName: EventEmitter<number>;
6
11
  showClass(): boolean;
7
12
  constructor(sendMethodService: SendMethodService);
8
13
  }
@@ -16,7 +16,7 @@
16
16
  .layout-signature-wrapper {
17
17
  display: flex;
18
18
  align-items: center;
19
- justify-content: space-between;
19
+ gap: 5px;
20
20
  .co-layout-selection {
21
21
  width: 80%;
22
22
  }
@@ -8,19 +8,21 @@ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
8
8
  export declare class SendMethodPrinterComponent {
9
9
  sendMethodService: SendMethodService;
10
10
  iconCacheService: IconCacheService;
11
+ showClass(): boolean;
11
12
  printerList: Printer[];
12
13
  defaultPrinterName: string;
13
14
  layouts: ReportLayoutSelectionPrint[];
14
15
  isPrinterLayoutsEnabled: boolean;
15
16
  isAdditionalDocEnabled: boolean;
16
- showClass(): boolean;
17
+ pdfDoc: any;
18
+ disablePdfPreview: boolean;
17
19
  additionalFileContents: any;
18
20
  additionalFileName: string;
19
21
  additionalFileChangeEvent: EventEmitter<CoDocument>;
20
- showFilePreview: EventEmitter<void>;
22
+ showFilePreview: EventEmitter<number>;
21
23
  loadDefaultPrinterName: EventEmitter<number>;
24
+ protected readonly icons: typeof Icon;
22
25
  constructor(sendMethodService: SendMethodService, iconCacheService: IconCacheService);
23
26
  handleDefaultPrinterUserChange(checked: boolean): void;
24
27
  handleDefaultPrinterAllUsersChange(checked: boolean): void;
25
- protected readonly icons: typeof Icon;
26
28
  }
@@ -4,6 +4,14 @@
4
4
  flex-direction: column;
5
5
  gap: 10px;
6
6
  }
7
+ .printer-signature-wrapper {
8
+ display: flex;
9
+ gap: 5px;
10
+ co-printer-selection {
11
+ width: 340px;
12
+ max-width: 100%;
13
+ }
14
+ }
7
15
  .co-send-method-printer {
8
16
  font-family: $sc-co-send-method-printer-font-family;
9
17
  font-size: $sc-co-send-method-printer-font-size;
@@ -18,12 +26,24 @@
18
26
  flex-direction: column;
19
27
  overflow: auto;
20
28
  }
21
- .layout-signature-wrapper {
29
+ .layout-buttons-wrapper {
22
30
  display: flex;
23
- align-items: center;
24
- justify-content: space-between;
31
+ align-items: flex-start;
32
+ gap: 20px;
33
+ flex-direction: column;
25
34
  .co-layout-selection {
26
- width: 80%;
35
+ width: 340px;
36
+ max-width: 100%;
37
+ }
38
+ .additional-buttons {
39
+ display: flex;
40
+ gap: 5px;
41
+ margin-top: 15px;
42
+ }
43
+ .additional-checks {
44
+ display: flex;
45
+ flex-direction: column;
46
+ gap: 10px;
27
47
  }
28
48
  }
29
49
  }
@@ -0,0 +1,34 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { SendMethodService } from '../../service/send-method.service';
3
+ import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
4
+ import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
5
+ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
6
+ interface OverruleOptions {
7
+ code: number;
8
+ description: string;
9
+ }
10
+ export declare class SendMethodPurchaseComponent implements OnInit {
11
+ sendMethodService: SendMethodService;
12
+ defaultPrinterName: string;
13
+ emailLayouts: ReportLayoutSelectionEmail[];
14
+ printLayouts: ReportLayoutSelectionPrint[];
15
+ printerList: Printer[];
16
+ pdfDoc: any;
17
+ emailUnsignedPossible: boolean;
18
+ showFilePreview: EventEmitter<void>;
19
+ loadDefaultPrinterName: EventEmitter<number>;
20
+ purchaseMethodChanged: EventEmitter<any>;
21
+ showClass(): boolean;
22
+ useDefaultLayout: boolean;
23
+ useDefaultShippingMethods: boolean;
24
+ overruleOptions: OverruleOptions[];
25
+ overruledEmail: OverruleOptions;
26
+ overruledEdi: OverruleOptions;
27
+ overruledPrint: OverruleOptions;
28
+ constructor(sendMethodService: SendMethodService);
29
+ ngOnInit(): void;
30
+ handleDefaultPrinterUserChange(checked: boolean): void;
31
+ handleDefaultPrinterAllUsersChange(checked: boolean): void;
32
+ updatePurchaseMethod(): void;
33
+ }
34
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare class SendMethodPurchaseModule {
2
+ }
@@ -0,0 +1,60 @@
1
+ @include export-module('co-send-method-purchase-layout') {
2
+ .co-send-method-purchase {
3
+ font-family: $sc-co-send-method-purchase-font-family;
4
+ font-size: $sc-co-send-method-purchase-font-size;
5
+ display: flex;
6
+ flex-direction: column;
7
+ width: 100%;
8
+ position: relative;
9
+ row-gap: $sc-co-send-method-purchase-row-gap;
10
+ padding: $sc-co-send-method-purchase-padding;
11
+ .save-dialog-contents {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 10px;
15
+ margin-bottom: 15px;
16
+ }
17
+ .layout-selections {
18
+ display: flex;
19
+ gap: 10px;
20
+ width: 100%;
21
+ }
22
+ co-printer-selection {
23
+ width: 100%;
24
+ }
25
+ .use-default-wrapper {
26
+ display: flex;
27
+ gap: 10px;
28
+ flex-direction: column;
29
+ .info {
30
+ color: #a3a6bb;
31
+ margin-bottom: 15px;
32
+ }
33
+ }
34
+ .override-selections-wrapper {
35
+ width: 340px;
36
+ max-width: 100%;
37
+ display: flex;
38
+ flex-direction: column;
39
+ gap: 10px;
40
+ }
41
+ .override-methods-wrapper {
42
+ display: flex;
43
+ flex-direction: column;
44
+ gap: 10px;
45
+ .shipping-methods {
46
+ width: 240px;
47
+ max-width: 100%;
48
+ gap: 5px;
49
+ display: flex;
50
+ flex-direction: column;
51
+ margin-top: 10px;
52
+ }
53
+ }
54
+ .additional-checks {
55
+ display: flex;
56
+ flex-direction: column;
57
+ gap: 5px;
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,5 @@
1
+ $sc-co-send-method-purchase-font-family: $sc-font-family !default;
2
+ $sc-co-send-method-purchase-font-size: $sc-font-size !default;
3
+ $sc-co-send-method-purchase-font-color: $sc-color-font !default;
4
+ $sc-co-send-method-purchase-row-gap: 20px !default;
5
+ $sc-co-send-method-purchase-padding: 0 !default;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-send-method-purchase-theme') {
2
+ .co-send-method-purchase {
3
+ color: $sc-co-send-method-purchase-font-color;
4
+ }
5
+ }
@@ -0,0 +1,4 @@
1
+ @import "../../../../../style/mixin";
2
+ @import "./_material-definition";
3
+ @import "./_layout";
4
+ @import "./_theme";
@@ -1,5 +1,10 @@
1
1
  @include export-module('cc-signature-button-layout') {
2
2
  .co-signature-button {
3
+ display:flex;
4
+ align-items: center;
5
+ justify-content: center;
6
+ flex-direction: row;
7
+ column-gap: 5px;
3
8
  .signature-button-wrapper {
4
9
  height: $sc-co-signature-button-height;
5
10
  width: $sc-co-signature-button-width;
@@ -8,9 +13,12 @@
8
13
  justify-content: center;
9
14
  background-color: $sc-co-signature-button-background-color;
10
15
  border-radius: $sc-co-signature-button-border-radius;
16
+ cursor: pointer;
11
17
  .co-icon {
12
18
  width: $sc-co-signature-button-icon-width;
13
19
  height: $sc-co-signature-button-icon-height;
20
+ position: relative;
21
+ left: 3px;
14
22
  }
15
23
  &.selected {
16
24
  background-color: $sc-co-signature-button-selected-background-color;
@@ -1,8 +1,8 @@
1
1
  $sc-co-signature-button-height: 40px !default;
2
2
  $sc-co-signature-button-width: 40px !default;
3
- $sc-co-signature-button-background-color: #f5f5fc !default;
3
+ $sc-co-signature-button-background-color: #ffffff !default;
4
4
  $sc-co-signature-button-selected-background-color: #1A73E8 !default;
5
5
  $sc-co-signature-button-border-radius: 5px !default;
6
- $sc-co-signature-button-icon-height: 30px !default;
7
- $sc-co-signature-button-icon-width: 30px !default;
6
+ $sc-co-signature-button-icon-height: 24px !default;
7
+ $sc-co-signature-button-icon-width: 24px !default;
8
8
  $sc-co-signature-button-icon-selected-color: white !default;
@@ -1,7 +1,6 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
2
2
  import { Icon } from '../../enum/icon.enum';
3
3
  import { IconCacheService } from '../../service/icon-cache.service';
4
- import { SharedService } from '../../service/shared.service';
5
4
  import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
6
5
  import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
7
6
  import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
@@ -15,8 +14,6 @@ import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
15
14
  export declare const sendMethodsWithIcon: SendMethod[];
16
15
  export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
17
16
  iconCacheService: IconCacheService;
18
- private _changeDetector;
19
- private _sharedService;
20
17
  private _sendMethodService;
21
18
  readonly icons: typeof Icon;
22
19
  navigationItems: ElementRef;
@@ -28,6 +25,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
28
25
  smsItems: ElementRef;
29
26
  webServiceItems: ElementRef;
30
27
  pdfItems: ElementRef;
28
+ purchaseItems: ElementRef;
31
29
  printerList: Printer[];
32
30
  reportingDocumentPrintRequest: ReportingDocumentPrintSignDocBaseRequest;
33
31
  reportingDocumentEmailRequest: ReportingDocumentEmailSignDocBaseRequest;
@@ -45,6 +43,10 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
45
43
  isAdditionalDocEnabled: boolean;
46
44
  additionalFileName: string;
47
45
  additionalFileContents: any;
46
+ pdfDoc: any;
47
+ disablePdfPreview: boolean;
48
+ emailUnsignedPossible: boolean;
49
+ usePurchaseSendMethod: boolean;
48
50
  reportingDocumentPrintRequestChange: EventEmitter<ReportingDocumentPrintSignDocBaseRequest>;
49
51
  reportingDocumentEmailRequestChange: EventEmitter<ReportingDocumentEmailSignDocBaseRequest>;
50
52
  reportingDocumentPdfRequestChange: EventEmitter<ReportingDocumentPdfBaseRequest>;
@@ -52,12 +54,11 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
52
54
  closeClick: EventEmitter<MouseEvent>;
53
55
  okClick: EventEmitter<string>;
54
56
  additionalFileChangeEvent: EventEmitter<CoDocument>;
55
- showFilePreview: EventEmitter<void>;
57
+ showFilePreview: EventEmitter<number>;
56
58
  loadDefaultPrinterName: EventEmitter<number>;
57
59
  showClass(): boolean;
58
60
  sendMethods: SendMethod[];
59
61
  activeSendMethod: SendMethod;
60
- upAndLoaded: boolean;
61
62
  startUp: boolean;
62
63
  showFax: boolean;
63
64
  showPrint: boolean;
@@ -67,21 +68,17 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
67
68
  showEmailTemplate: boolean;
68
69
  showWebservice: boolean;
69
70
  showPdf: boolean;
71
+ selectedPurchaseMethod: any;
72
+ handlePurchaseMethodChange(method: any): void;
70
73
  private _subscriptions;
71
- constructor(iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef, _sharedService: SharedService, _sendMethodService: SendMethodService);
74
+ constructor(iconCacheService: IconCacheService, _sendMethodService: SendMethodService);
72
75
  ngOnInit(): void;
73
76
  ngOnDestroy(): void;
74
77
  handleSignatureStart(): void;
78
+ handleCombinedClick(): void;
79
+ handleOkClick(): void;
75
80
  handleSendMethodClick(sendMethod: SendMethod): void;
76
81
  private _initDefaultSendMethod;
77
82
  private _selectDefaultSendMethod;
78
83
  private _prepareVisibleMethods;
79
- protected readonly Event: {
80
- new (type: string, eventInitDict?: EventInit): Event;
81
- prototype: Event;
82
- readonly AT_TARGET: number;
83
- readonly BUBBLING_PHASE: number;
84
- readonly CAPTURING_PHASE: number;
85
- readonly NONE: number;
86
- };
87
84
  }
@@ -5,11 +5,12 @@
5
5
  .co-dialog {
6
6
  .co-dialog-wrapper {
7
7
  max-height: 90vh;
8
- width: 600px;
9
- background-color: #f8f8fa;
8
+ width: 500px;
9
+ max-width: 100%;
10
+ background-color: #ffffff;
10
11
  }
11
12
  .dialog-header, .dialog-content, .dialog-footer {
12
- background-color: #f8f8fa;
13
+ background-color: #ffffff;
13
14
  }
14
15
  .dialog-header {
15
16
  .dialog-header-caption {
@@ -39,6 +40,9 @@
39
40
  flex-direction: row;
40
41
  column-gap: $sc-co-send-method-dialog-send-method-buttons-column-gap;
41
42
  justify-content: $sc-co-send-method-dialog-send-method-buttons-justify-content;
43
+ span.send-methods-label {
44
+ font-weight: 500;
45
+ }
42
46
  }
43
47
  .send-button-wrapper {
44
48
  cursor: pointer;
@@ -52,8 +56,7 @@
52
56
  border-radius: $sc-co-send-method-dialog-send-method-button-radius;
53
57
  border-style: $sc-co-send-method-dialog-send-method-button-border-style;
54
58
  border-width: $sc-co-send-method-dialog-send-method-button-border-width;
55
- flex-basis: 50px;
56
- padding: 5px 15px;
59
+ padding: 0;
57
60
  margin: 0;
58
61
  &.selected {
59
62
  .custom-button-title {
@@ -73,14 +76,13 @@
73
76
  }
74
77
  .dialog-navigation-wrapper {
75
78
  display: flex;
76
- gap: 10px;
79
+ gap: 30px;
77
80
  align-items: center;
78
- justify-content: center;
79
- border-radius: 5px;
80
- padding: 0 0 10px 0;
81
+ justify-content: flex-start;
82
+ padding: 20px 0 10px 0;
81
83
  border-style: solid;
82
84
  border-width: 0 0 5px 0;
83
- border-color: #ffffff;
85
+ border-color: #f8f8fa;
84
86
  }
85
87
  .send-method-navigation-wrapper {
86
88
  display: flex;
@@ -146,17 +148,19 @@
146
148
  }
147
149
  }
148
150
  }
149
- .co-input-checkbox {
150
- .checkbox {
151
- border-color: #FFFFFF;
152
- background-color: #FFFFFF;
153
- &.checked {
154
- border-color: $sc-popup-checkbox-checked-background-color;
155
- background-color: $sc-popup-checkbox-checked-background-color;
156
- }
157
- .checkmark {
158
- &.show {
159
- border-color: #FFFFFF;
151
+ .dialog-content {
152
+ .co-input-checkbox {
153
+ .checkbox {
154
+ border-color: #f8f8fa;
155
+ background-color: #f8f8fa;
156
+ &.checked {
157
+ border-color: $sc-popup-checkbox-checked-background-color;
158
+ background-color: $sc-popup-checkbox-checked-background-color;
159
+ }
160
+ .checkmark {
161
+ &.show {
162
+ border-color: #f8f8fa;
163
+ }
160
164
  }
161
165
  }
162
166
  }
@@ -5,6 +5,7 @@
5
5
  @import "../components/send-method-printer/style/material";
6
6
  @import "../components/send-method-email/style/material";
7
7
  @import "../components/send-method-pdf/style/material";
8
+ @import "../components/send-method-purchase/style/material";
8
9
  @import "../components/layout-selection/style/material";
9
10
  @import "../components/printer-selection/style/material";
10
11
  @import "../components/signature-button/style/material";
@@ -61,6 +61,7 @@ export declare enum Icon {
61
61
  PrintRegular = "print_regular",
62
62
  PrintSolid = "print_solid",
63
63
  RegularFileSignatureCirclePlus = "regular_file_signature_circle_plus",
64
+ ShareSolid = "share_solid",
64
65
  SignatureField = "signature_field",
65
66
  SolidBarcodeReadTag = "solid_barcode_read_tag",
66
67
  SquarePlusRegular = "square_plus_regular",