@colijnit/sharedcomponents 258.1.7 → 259.1.0
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 +142 -77
- 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/custom-pdf/custom-pdf-dialog.component.js +2 -1
- 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/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/fesm2015/colijnit-sharedcomponents.js +175 -97
- 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/lib/res/dictionary/dictionaries.d.ts +5 -0
- package/package.json +6 -6
|
@@ -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",
|
|
@@ -2329,6 +2329,7 @@ export declare class Dictionaries {
|
|
|
2329
2329
|
ACCOUNT_NUMBER: string;
|
|
2330
2330
|
ACCOUNT_PRIVATE_PERSONS: string;
|
|
2331
2331
|
ACCOUNT_RELATIONS_TO: string;
|
|
2332
|
+
ACCOUNT_SETTINGS: string;
|
|
2332
2333
|
ACCOUNT_STATUS: string;
|
|
2333
2334
|
ACCOUNT_TYPE: string;
|
|
2334
2335
|
ACHIEVABLE: string;
|
|
@@ -11443,6 +11444,7 @@ export declare class Dictionaries {
|
|
|
11443
11444
|
ACCOUNT_NUMBER: string;
|
|
11444
11445
|
ACCOUNT_PRIVATE_PERSONS: string;
|
|
11445
11446
|
ACCOUNT_RELATIONS_TO: string;
|
|
11447
|
+
ACCOUNT_SETTINGS: string;
|
|
11446
11448
|
ACCOUNT_STATUS: string;
|
|
11447
11449
|
ACCOUNT_TYPE: string;
|
|
11448
11450
|
ACCOUNTING_OPERATION_TYPE: string;
|
|
@@ -16000,6 +16002,7 @@ export declare class Dictionaries {
|
|
|
16000
16002
|
ON_HOLD_CODES: string;
|
|
16001
16003
|
ON_MY_DASH: string;
|
|
16002
16004
|
ON_STORAGE_UNIT: string;
|
|
16005
|
+
ON_STORAGEUNIT: string;
|
|
16003
16006
|
OPEN: string;
|
|
16004
16007
|
OPENING: string;
|
|
16005
16008
|
OPENING_BALANCE: string;
|
|
@@ -16531,6 +16534,7 @@ export declare class Dictionaries {
|
|
|
16531
16534
|
POS_PRINTER: string;
|
|
16532
16535
|
POS_TRANSACTION_NR_EXISTS: string;
|
|
16533
16536
|
POWERED_BY: string;
|
|
16537
|
+
PRE_RECEIVED: string;
|
|
16534
16538
|
PREDEFINED: string;
|
|
16535
16539
|
PREFERENCES: string;
|
|
16536
16540
|
PREFERENCE_ACCEPTED: string;
|
|
@@ -18538,6 +18542,7 @@ export declare class Dictionaries {
|
|
|
18538
18542
|
TRANSACTIONTYPE: string;
|
|
18539
18543
|
TRANSACTION_ALREADY_LOCKED: string;
|
|
18540
18544
|
TRANSACTION_DATE: string;
|
|
18545
|
+
TRANSACTION_DATE2: string;
|
|
18541
18546
|
TRANSACTION_DEFINITIVE: string;
|
|
18542
18547
|
TRANSACTION_DELETED: string;
|
|
18543
18548
|
TRANSACTION_DETAILS2: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/sharedcomponents",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "259.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"chart.js": "4.3.0",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/common": ">=12.2.0",
|
|
11
11
|
"@angular/core": ">=12.2.0",
|
|
12
|
-
"@colijnit/articleapi": ">=
|
|
13
|
-
"@colijnit/mainapi": ">=
|
|
14
|
-
"@colijnit/corecomponents_v12": ">=
|
|
15
|
-
"@colijnit/ioneconnector": ">=
|
|
12
|
+
"@colijnit/articleapi": ">=259.1.0",
|
|
13
|
+
"@colijnit/mainapi": ">=259.1.0",
|
|
14
|
+
"@colijnit/corecomponents_v12": ">=259.1.0",
|
|
15
|
+
"@colijnit/ioneconnector": ">=259.1.0",
|
|
16
16
|
"@colijnit/sharedapi": ">=1.0.20",
|
|
17
|
-
"@colijnit/relationapi": ">=
|
|
17
|
+
"@colijnit/relationapi": ">=259.1.0",
|
|
18
18
|
"pdf-lib": ">=1.17.1",
|
|
19
19
|
"pdfjs-dist": ">=3.8.162",
|
|
20
20
|
"rxjs": ">=7.4.0",
|