@colijnit/sharedcomponents 256.2.1 → 256.2.3

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 (59) hide show
  1. package/358.645812766f7a400d0d38.js +1 -0
  2. package/3rdpartylicenses.txt +2219 -0
  3. package/762.de7137adb145a849dcf7.js +1 -0
  4. package/977.bd6291f9ee6f6ddf91f1.js +1 -0
  5. package/bundles/colijnit-sharedcomponents.umd.js +1269 -1050
  6. package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
  7. package/colijnit-sharedcomponents.d.ts +113 -111
  8. package/colijnit-sharedcomponents.metadata.json +1 -1
  9. package/esm2015/colijnit-sharedcomponents.js +114 -112
  10. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.js +42 -8
  11. package/esm2015/lib/components/send-method-dialog/components/layout-selection/layout-selection.module.js +6 -3
  12. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.js +23 -11
  13. package/esm2015/lib/components/send-method-dialog/components/printer-selection/printer-selection.module.js +6 -3
  14. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.js +24 -11
  15. package/esm2015/lib/components/send-method-dialog/components/send-method-email/send-method-email.module.js +4 -2
  16. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.js +28 -15
  17. package/esm2015/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.module.js +4 -2
  18. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.js +42 -31
  19. package/esm2015/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.module.js +4 -2
  20. package/esm2015/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.component.js +155 -0
  21. package/esm2015/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.module.js +30 -0
  22. package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +104 -24
  23. package/esm2015/lib/components/send-method-dialog/send-method-dialog.module.js +6 -2
  24. package/esm2015/lib/enum/icon.enum.js +2 -1
  25. package/esm2015/lib/model/icon-svg.js +3 -2
  26. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  27. package/favicon.ico +0 -0
  28. package/fesm2015/colijnit-sharedcomponents.js +736 -385
  29. package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
  30. package/index.html +12 -0
  31. package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss +6 -2
  32. package/lib/components/send-method-dialog/components/additional-file-button/style/_material-definition.scss +3 -3
  33. package/lib/components/send-method-dialog/components/layout-selection/layout-selection.component.d.ts +7 -3
  34. package/lib/components/send-method-dialog/components/printer-selection/printer-selection.component.d.ts +2 -2
  35. package/lib/components/send-method-dialog/components/send-method-email/send-method-email.component.d.ts +6 -1
  36. package/lib/components/send-method-dialog/components/send-method-email/style/_layout.scss +6 -2
  37. package/lib/components/send-method-dialog/components/send-method-email/style/_material-definition.scss +2 -2
  38. package/lib/components/send-method-dialog/components/send-method-pdf/send-method-pdf.component.d.ts +5 -0
  39. package/lib/components/send-method-dialog/components/send-method-pdf/style/_layout.scss +1 -1
  40. package/lib/components/send-method-dialog/components/send-method-printer/send-method-printer.component.d.ts +9 -6
  41. package/lib/components/send-method-dialog/components/send-method-printer/style/_layout.scss +24 -4
  42. package/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.component.d.ts +34 -0
  43. package/lib/components/send-method-dialog/components/send-method-purchase/send-method-purchase.module.d.ts +2 -0
  44. package/lib/components/send-method-dialog/components/send-method-purchase/style/_layout.scss +60 -0
  45. package/lib/components/send-method-dialog/components/send-method-purchase/style/_material-definition.scss +5 -0
  46. package/lib/components/send-method-dialog/components/send-method-purchase/style/_theme.scss +5 -0
  47. package/lib/components/send-method-dialog/components/send-method-purchase/style/material.scss +4 -0
  48. package/lib/components/send-method-dialog/components/signature-button/style/_layout.scss +8 -0
  49. package/lib/components/send-method-dialog/components/signature-button/style/_material-definition.scss +3 -3
  50. package/lib/components/send-method-dialog/send-method-dialog.component.d.ts +15 -17
  51. package/lib/components/send-method-dialog/style/_layout.scss +25 -21
  52. package/lib/components/send-method-dialog/style/material.scss +1 -0
  53. package/lib/enum/icon.enum.d.ts +1 -0
  54. package/lib/res/dictionary/dictionaries.d.ts +17 -0
  55. package/main.22d36feb19eb4279f65b.js +1 -0
  56. package/package.json +1 -1
  57. package/polyfills.907fe9d1887c5de17993.js +1 -0
  58. package/runtime.2ce74fec69845ef1e3ad.js +1 -0
  59. package/styles.fc08d8045bc786e9e35f.css +1 -0
package/index.html ADDED
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html><html lang="en"><head>
2
+ <meta charset="utf-8">
3
+ <title>Sharedcomponents</title>
4
+ <base href="/">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <link rel="icon" type="image/x-icon" href="favicon.ico">
7
+ <style>@charset "UTF-8";@import url(https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;800;900&display=swap);@import url(https://fonts.googleapis.com/css2?family=Public+Sans&display=swap);body,html{margin:0;overflow:hidden}body,html{width:100%;height:100%}*{box-sizing:border-box;padding:0;margin:0}</style><link rel="stylesheet" href="styles.fc08d8045bc786e9e35f.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.fc08d8045bc786e9e35f.css"></noscript></head>
8
+ <body>
9
+ <app-root></app-root>
10
+ <script src="runtime.2ce74fec69845ef1e3ad.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.22d36feb19eb4279f65b.js" defer></script>
11
+
12
+ </body></html>
@@ -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;
@@ -1,17 +1,21 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { ReportLayoutSelectionBase } from '@colijnit/mainapi/build/model/report-layout-selection-base.bo';
3
3
  import { ReportingDocumentBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-base-request';
4
- import { Icon } from "../../../../enum/icon.enum";
5
- import { IconCacheService } from "../../../../service/icon-cache.service";
4
+ import { Icon } from '../../../../enum/icon.enum';
5
+ 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>;
14
+ loadDefaultPrinterName: EventEmitter<number>;
12
15
  showClass(): boolean;
13
16
  currentLayout: ReportLayoutSelectionBase;
14
17
  showLayoutList: boolean;
18
+ private _request;
15
19
  constructor(iconCacheService: IconCacheService);
16
20
  ngOnInit(): void;
17
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
  }
@@ -2,24 +2,27 @@ import { EventEmitter } from '@angular/core';
2
2
  import { SendMethodService } from '../../service/send-method.service';
3
3
  import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
4
4
  import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
5
- import { Icon } from "../../../../enum/icon.enum";
6
- import { IconCacheService } from "../../../../service/icon-cache.service";
7
- import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
5
+ import { Icon } from '../../../../enum/icon.enum';
6
+ import { IconCacheService } from '../../../../service/icon-cache.service';
7
+ 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>;
23
+ loadDefaultPrinterName: EventEmitter<number>;
24
+ protected readonly icons: typeof Icon;
21
25
  constructor(sendMethodService: SendMethodService, iconCacheService: IconCacheService);
22
26
  handleDefaultPrinterUserChange(checked: boolean): void;
23
27
  handleDefaultPrinterAllUsersChange(checked: boolean): void;
24
- protected readonly icons: typeof Icon;
25
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';
@@ -10,13 +9,11 @@ import { SendMethod } from '../../model/send-method';
10
9
  import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
11
10
  import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
12
11
  import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
13
- import { ReportingDocumentPrintSignDocBaseRequest } from "@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request";
14
- import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
12
+ import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
13
+ 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,11 +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>;
58
+ loadDefaultPrinterName: EventEmitter<number>;
56
59
  showClass(): boolean;
57
60
  sendMethods: SendMethod[];
58
61
  activeSendMethod: SendMethod;
59
- upAndLoaded: boolean;
60
62
  startUp: boolean;
61
63
  showFax: boolean;
62
64
  showPrint: boolean;
@@ -66,21 +68,17 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
66
68
  showEmailTemplate: boolean;
67
69
  showWebservice: boolean;
68
70
  showPdf: boolean;
71
+ selectedPurchaseMethod: any;
72
+ handlePurchaseMethodChange(method: any): void;
69
73
  private _subscriptions;
70
- constructor(iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef, _sharedService: SharedService, _sendMethodService: SendMethodService);
74
+ constructor(iconCacheService: IconCacheService, _sendMethodService: SendMethodService);
71
75
  ngOnInit(): void;
72
76
  ngOnDestroy(): void;
73
77
  handleSignatureStart(): void;
78
+ handleCombinedClick(): void;
79
+ handleOkClick(): void;
74
80
  handleSendMethodClick(sendMethod: SendMethod): void;
75
81
  private _initDefaultSendMethod;
76
82
  private _selectDefaultSendMethod;
77
83
  private _prepareVisibleMethods;
78
- protected readonly Event: {
79
- new (type: string, eventInitDict?: EventInit): Event;
80
- prototype: Event;
81
- readonly AT_TARGET: number;
82
- readonly BUBBLING_PHASE: number;
83
- readonly CAPTURING_PHASE: number;
84
- readonly NONE: number;
85
- };
86
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",
@@ -5434,6 +5434,7 @@ export declare class Dictionaries {
5434
5434
  ABS_COMPOSITE_SITUATION: string;
5435
5435
  ACCEPT: string;
5436
5436
  ACCEPTANCE: string;
5437
+ COMBINED: string;
5437
5438
  CONTACT_MANAGEMENT: string;
5438
5439
  CONTACT_MOMENTS: string;
5439
5440
  CONTACT_OF_ORGANISATIONS: string;
@@ -5503,6 +5504,13 @@ export declare class Dictionaries {
5503
5504
  CONTRA_ACCOUNT: string;
5504
5505
  CONTRA_LEDGERACCOUNT_DOWNPAYMENT: string;
5505
5506
  CONTRA_VAT: string;
5507
+ LAYOUT_SETTINGS: string;
5508
+ RELATION_LAYOUTS: string;
5509
+ RELATION_LAYOUTS_MESSAGE: string;
5510
+ SHIPPING_METHOD_SETTINGS: string;
5511
+ OVERRULE_VIA_EMAIL: string;
5512
+ OVERRULE_VIA_EDI: string;
5513
+ OVERRULE_VIA_PRINT: string;
5506
5514
  WARRANTY: string;
5507
5515
  WARRANTY_TYPE: string;
5508
5516
  WASHING_SYMBOLS: string;
@@ -12666,6 +12674,7 @@ export declare class Dictionaries {
12666
12674
  COLLAPSE: string;
12667
12675
  COLLAPSE_ALL: string;
12668
12676
  COLLATE_ORDERFORMS: string;
12677
+ COMBINED: string;
12669
12678
  COLLECT: string;
12670
12679
  COLLECTION: string;
12671
12680
  COLLECTION_CODE: string;
@@ -14743,6 +14752,7 @@ export declare class Dictionaries {
14743
14752
  LAYOUT2: string;
14744
14753
  LAYOUT: string;
14745
14754
  LAYOUTS: string;
14755
+ LAYOUT_SETTINGS: string;
14746
14756
  LEAD_TIME: string;
14747
14757
  LEAST_EXPENSIVE_PRODUCT: string;
14748
14758
  LEAVE: string;
@@ -16128,6 +16138,9 @@ export declare class Dictionaries {
16128
16138
  OVERVIEW: string;
16129
16139
  OVERVIEW_AND_PAYMENT: string;
16130
16140
  OVERVIEW_TRANSFERS: string;
16141
+ OVERRULE_VIA_EMAIL: string;
16142
+ OVERRULE_VIA_EDI: string;
16143
+ OVERRULE_VIA_PRINT: string;
16131
16144
  OVER_COVERAGE_PERCENTAGE: string;
16132
16145
  OWNER: string;
16133
16146
  OWN_REFERENCE: string;
@@ -17008,6 +17021,8 @@ export declare class Dictionaries {
17008
17021
  RELATION_DEPENDANT_TEMPLATE: string;
17009
17022
  RELATION_DISCOUNT: string;
17010
17023
  RELATION_ID: string;
17024
+ RELATION_LAYOUTS: string;
17025
+ RELATION_LAYOUTS_MESSAGE: string;
17011
17026
  RELATION_MANAGEMENT: string;
17012
17027
  RELATION_NAME: string;
17013
17028
  RELATION_NAME_KIND: string;
@@ -17732,6 +17747,8 @@ export declare class Dictionaries {
17732
17747
  SHIPPING_COST_ARTICLE: string;
17733
17748
  SHIPPING_COST_LINE: string;
17734
17749
  SHIPPING_DATE: string;
17750
+ SHIPPING_METHOD_SETTINGS: string;
17751
+ SHIPPING_METHOD_STANDARD_SETTINGS: string;
17735
17752
  SHOPPING_CART: string;
17736
17753
  SHOPPING_CART_ADD: string;
17737
17754
  SHOPPING_CART_CHECKOUT: string;