@colijnit/sharedcomponents 258.1.7 → 258.1.8
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/358.645812766f7a400d0d38.js +1 -0
- package/3rdpartylicenses.txt +2222 -0
- package/863.171601b3075f2e971ba6.js +1 -0
- package/977.bd6291f9ee6f6ddf91f1.js +1 -0
- 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 +14 -2
- 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 +32 -10
- 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 +27 -17
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +33 -3
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/favicon.ico +0 -0
- package/fesm2015/colijnit-sharedcomponents.js +172 -95
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/index.html +12 -0
- 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/main.b602afad3df3a8d4917a.js +1 -0
- package/package.json +1 -1
- package/polyfills.907fe9d1887c5de17993.js +1 -0
- package/runtime.bd7b12db009c4e3aa24d.js +1 -0
- package/styles.a2ff6b829c590477cd83.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.a2ff6b829c590477cd83.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.a2ff6b829c590477cd83.css"></noscript></head>
|
|
8
|
+
<body>
|
|
9
|
+
<app-root></app-root>
|
|
10
|
+
<script src="runtime.bd7b12db009c4e3aa24d.js" defer></script><script src="polyfills.907fe9d1887c5de17993.js" defer></script><script src="main.b602afad3df3a8d4917a.js" defer></script>
|
|
11
|
+
|
|
12
|
+
</body></html>
|
|
@@ -7,12 +7,16 @@ import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
|
7
7
|
export declare class AdditionalFileButtonComponent {
|
|
8
8
|
iconCacheService: IconCacheService;
|
|
9
9
|
readonly icons: typeof Icon;
|
|
10
|
+
isActive: boolean;
|
|
10
11
|
request: ReportingDocumentEmailSignDocBaseRequest | ReportingDocumentPrintSignDocBaseRequest;
|
|
11
12
|
additionalFileContents: any;
|
|
12
13
|
additionalFileName: string;
|
|
13
14
|
additionalFileChangeEvent: EventEmitter<CoDocument>;
|
|
15
|
+
openPdfProgrammatically: EventEmitter<void>;
|
|
16
|
+
openForSave(): void;
|
|
14
17
|
showClass(): boolean;
|
|
15
18
|
show: boolean;
|
|
16
19
|
constructor(iconCacheService: IconCacheService);
|
|
17
20
|
handleToggleDialog(): void;
|
|
21
|
+
toggleActive(): void;
|
|
18
22
|
}
|
package/lib/components/send-method-dialog/components/additional-file-button/style/_layout.scss
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
border: 1px solid $sc-co-signature-button-selected-background-color;
|
|
13
13
|
.co-icon {
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
14
|
+
width: $sc-co-signature-button-icon-height; //wrong icon with whitespace
|
|
15
|
+
height: $sc-co-signature-button-icon-width; //wrong icon with whitespace
|
|
16
16
|
svg {
|
|
17
17
|
fill: $sc-co-signature-button-selected-background-color;
|
|
18
18
|
}
|
|
@@ -3,6 +3,6 @@ $sc-co-signature-button-width: 40px !default;
|
|
|
3
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:
|
|
7
|
-
$sc-co-signature-button-icon-width:
|
|
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;
|
|
@@ -2,19 +2,28 @@ 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';
|
|
5
|
+
import { CoDocument } from "@colijnit/mainapi/build/model/co-document";
|
|
6
|
+
import { AdditionalFileButtonComponent } from "../additional-file-button/additional-file-button.component";
|
|
5
7
|
export declare class SendMethodEmailComponent implements OnInit {
|
|
6
8
|
sendMethodService: SendMethodService;
|
|
9
|
+
additionalFileButtonRef: AdditionalFileButtonComponent;
|
|
7
10
|
emailAddresses: string[];
|
|
8
11
|
layouts: ReportLayoutSelectionEmail[];
|
|
9
12
|
pdfDoc: any;
|
|
10
13
|
disablePdfPreview: boolean;
|
|
11
14
|
transactionType: string;
|
|
15
|
+
additionalFileContents: any;
|
|
16
|
+
additionalFileName: string;
|
|
12
17
|
emailUnsignedPossible: boolean;
|
|
18
|
+
isAdditionalDocEnabled: boolean;
|
|
13
19
|
showFilePreview: EventEmitter<number>;
|
|
14
20
|
loadDefaultPrinterName: EventEmitter<number>;
|
|
21
|
+
additionalFileChangeEvent: EventEmitter<CoDocument>;
|
|
15
22
|
showClass(): boolean;
|
|
16
23
|
emailAddressViewmodels: EmailAddressViewmodel[];
|
|
17
24
|
constructor(sendMethodService: SendMethodService);
|
|
18
25
|
ngOnInit(): void;
|
|
19
26
|
handleCheckedEmail(emailAddressViewmodel: EmailAddressViewmodel): void;
|
|
27
|
+
openAdditionalFileDialog(): void;
|
|
28
|
+
isAdditionalFileActive(): boolean;
|
|
20
29
|
}
|
|
@@ -5,10 +5,12 @@ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
|
5
5
|
import { Icon } from '../../../../enum/icon.enum';
|
|
6
6
|
import { IconCacheService } from '../../../../service/icon-cache.service';
|
|
7
7
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
8
|
+
import { AdditionalFileButtonComponent } from "../additional-file-button/additional-file-button.component";
|
|
8
9
|
export declare class SendMethodPrinterComponent {
|
|
9
10
|
sendMethodService: SendMethodService;
|
|
10
11
|
iconCacheService: IconCacheService;
|
|
11
12
|
showClass(): boolean;
|
|
13
|
+
additionalFileButtonRef: AdditionalFileButtonComponent;
|
|
12
14
|
printerList: Printer[];
|
|
13
15
|
defaultPrinter: Printer;
|
|
14
16
|
layouts: ReportLayoutSelectionPrint[];
|
|
@@ -26,4 +28,6 @@ export declare class SendMethodPrinterComponent {
|
|
|
26
28
|
constructor(sendMethodService: SendMethodService, iconCacheService: IconCacheService);
|
|
27
29
|
handleDefaultPrinterUserChange(checked: boolean): void;
|
|
28
30
|
handleDefaultPrinterAllUsersChange(checked: boolean): void;
|
|
31
|
+
openAdditionalFileDialog(): void;
|
|
32
|
+
isAdditionalFileActive(): boolean;
|
|
29
33
|
}
|
|
@@ -14,11 +14,13 @@
|
|
|
14
14
|
background-color: $sc-co-signature-button-background-color;
|
|
15
15
|
border-radius: $sc-co-signature-button-border-radius;
|
|
16
16
|
cursor: pointer;
|
|
17
|
+
border: 1px solid $sc-co-signature-button-selected-background-color;
|
|
17
18
|
.co-icon {
|
|
18
|
-
width: $sc-co-signature-button-icon-
|
|
19
|
-
height: $sc-co-signature-button-icon-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
width: $sc-co-signature-button-icon-height; //wrong icon with whitespace
|
|
20
|
+
height: $sc-co-signature-button-icon-width; //wrong icon with whitespace
|
|
21
|
+
svg {
|
|
22
|
+
fill: $sc-co-signature-button-selected-background-color;
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
25
|
&.selected {
|
|
24
26
|
background-color: $sc-co-signature-button-selected-background-color;
|
|
@@ -11,6 +11,8 @@ import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
|
|
|
11
11
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
12
12
|
import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
|
|
13
13
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
14
|
+
import { SendMethodPrinterComponent } from "./components/send-method-printer/send-method-printer.component";
|
|
15
|
+
import { SendMethodEmailComponent } from "./components/send-method-email/send-method-email.component";
|
|
14
16
|
export declare const sendMethodsWithIcon: SendMethod[];
|
|
15
17
|
export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
16
18
|
iconCacheService: IconCacheService;
|
|
@@ -26,6 +28,8 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
26
28
|
webServiceItems: ElementRef;
|
|
27
29
|
pdfItems: ElementRef;
|
|
28
30
|
purchaseItems: ElementRef;
|
|
31
|
+
printerComponentRef: SendMethodPrinterComponent;
|
|
32
|
+
emailComponentRef: SendMethodEmailComponent;
|
|
29
33
|
printerList: Printer[];
|
|
30
34
|
reportingDocumentPrintRequest: ReportingDocumentPrintSignDocBaseRequest;
|
|
31
35
|
reportingDocumentEmailRequest: ReportingDocumentEmailSignDocBaseRequest;
|
|
@@ -70,6 +74,7 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
70
74
|
showWebservice: boolean;
|
|
71
75
|
showPdf: boolean;
|
|
72
76
|
selectedPurchaseMethod: any;
|
|
77
|
+
additionalFileHasBeenSaved: boolean;
|
|
73
78
|
handlePurchaseMethodChange(method: any): void;
|
|
74
79
|
private _subscriptions;
|
|
75
80
|
constructor(iconCacheService: IconCacheService, _sendMethodService: SendMethodService);
|
|
@@ -77,7 +82,9 @@ export declare class SendMethodDialogComponent implements OnInit, OnDestroy {
|
|
|
77
82
|
ngOnDestroy(): void;
|
|
78
83
|
handleSignatureStart(): void;
|
|
79
84
|
handleCombinedClick(): void;
|
|
85
|
+
handleAdditionalFileSaved(file: CoDocument): void;
|
|
80
86
|
handleOkClick(): void;
|
|
87
|
+
private _continueHandleOkClick;
|
|
81
88
|
handleSendMethodClick(sendMethod: SendMethod): void;
|
|
82
89
|
private _initDefaultSendMethod;
|
|
83
90
|
private _selectDefaultSendMethod;
|
package/lib/enum/icon.enum.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare enum Icon {
|
|
|
38
38
|
EyeRegular = "eye_regular",
|
|
39
39
|
FileExportRegular = "file_export_regular",
|
|
40
40
|
FileExportSolid = "file_export_solid",
|
|
41
|
+
FileMagnifyingGlass = "file_magnifying_glass",
|
|
41
42
|
FilePdfRegular = "file_pdf_regular",
|
|
42
43
|
FilePdfSolid = "file_pdf_solid",
|
|
43
44
|
FileSignatureRegular = "file_signature_regular",
|