@colijnit/sharedcomponents 258.1.12 → 258.1.14
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 -66
- package/bundles/colijnit-sharedcomponents.umd.js.map +1 -1
- package/colijnit-sharedcomponents.metadata.json +1 -1
- package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.component.js +118 -54
- package/esm2015/lib/components/send-method-dialog/components/pdf-preview/pdf-preview.component.js +11 -2
- package/esm2015/lib/components/send-method-dialog/send-method-dialog.component.js +121 -123
- package/esm2015/lib/components/send-method-dialog/service/send-method.service.js +4 -2
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/fesm2015/colijnit-sharedcomponents.js +245 -172
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/custom-pdf/custom-pdf-dialog.component.d.ts +7 -4
- package/lib/components/send-method-dialog/components/pdf-preview/pdf-preview.component.d.ts +2 -0
- package/lib/res/dictionary/dictionaries.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
3
|
-
import { DomSanitizer } from
|
|
4
|
-
import SignaturePad from
|
|
5
|
-
import { CoDocument } from
|
|
3
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
|
+
import SignaturePad from 'signature_pad';
|
|
5
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
6
6
|
import { Icon } from '../../enum/icon.enum';
|
|
7
7
|
export declare class CustomPdfDialogComponent implements OnInit, AfterViewInit {
|
|
8
8
|
iconCacheService: IconCacheService;
|
|
@@ -25,12 +25,15 @@ export declare class CustomPdfDialogComponent implements OnInit, AfterViewInit {
|
|
|
25
25
|
fileBody: any;
|
|
26
26
|
fileStyle: string;
|
|
27
27
|
showLoader: boolean;
|
|
28
|
+
private enableLocalPreview;
|
|
28
29
|
constructor(iconCacheService: IconCacheService, _sanitizer: DomSanitizer);
|
|
29
30
|
ngOnInit(): void;
|
|
30
31
|
ngAfterViewInit(): void;
|
|
32
|
+
private _processAdditionalFileContents;
|
|
31
33
|
extractStyleParts(html: string): string[];
|
|
32
34
|
removeStyleAndScriptTags(html: string): string;
|
|
33
35
|
extractBodyContents(html: string): string[];
|
|
36
|
+
private _isLocalhost;
|
|
34
37
|
handleSaveClicked(): Promise<void>;
|
|
35
38
|
dataURItoBlob(dataURI: any): File;
|
|
36
39
|
handleClear(): void;
|
|
@@ -5,6 +5,7 @@ export declare class PdfPreviewComponent implements OnInit {
|
|
|
5
5
|
iconCacheService: IconCacheService;
|
|
6
6
|
showClass(): boolean;
|
|
7
7
|
private _pdfDoc;
|
|
8
|
+
private _waitingToShowDialog;
|
|
8
9
|
set pdfDoc(value: any);
|
|
9
10
|
get pdfDoc(): any;
|
|
10
11
|
disablePdfPreview: boolean;
|
|
@@ -13,4 +14,5 @@ export declare class PdfPreviewComponent implements OnInit {
|
|
|
13
14
|
showDialog: boolean;
|
|
14
15
|
constructor(iconCacheService: IconCacheService);
|
|
15
16
|
ngOnInit(): void;
|
|
17
|
+
dialogRequested(): void;
|
|
16
18
|
}
|
|
@@ -24675,6 +24675,7 @@ export declare class Dictionaries {
|
|
|
24675
24675
|
AMOUNT_TO_ACCEPT_MORE_THEN_AMOUNT_IN_ORDER: string;
|
|
24676
24676
|
AMOUNT_TO_BE_ALLOCATED_SOURCE: string;
|
|
24677
24677
|
AMOUNT_TO_BE_ORDERED: string;
|
|
24678
|
+
AMOUNT_TO_CONFIRM: string;
|
|
24678
24679
|
AMOUNT_TO_PRINT: string;
|
|
24679
24680
|
AMOUNT_USED_COUPONS: string;
|
|
24680
24681
|
AMOUT_TO_SETTLE_CANNOT_BE_GREATER_THAN_TOTAL_PAID_DOWN: string;
|
|
@@ -26290,6 +26291,7 @@ export declare class Dictionaries {
|
|
|
26290
26291
|
DIRECT_SELL: string;
|
|
26291
26292
|
DISABLED: string;
|
|
26292
26293
|
DISABLE_TOUCH_MODE: string;
|
|
26294
|
+
DISCONNECT_STORAGE_UNIT_FROM_STOCK: string;
|
|
26293
26295
|
DISCOUNT: string;
|
|
26294
26296
|
DISCOUNTS: string;
|
|
26295
26297
|
DISCOUNTS_ON_NETTO_ARTICLE: string;
|
|
@@ -26655,6 +26657,7 @@ export declare class Dictionaries {
|
|
|
26655
26657
|
ERROR_NO_SERIAL_NR: string;
|
|
26656
26658
|
ERROR_PARKING_REPORT: string;
|
|
26657
26659
|
ERROR_PRINTING: string;
|
|
26660
|
+
ERROR_PROCESSING_REGISTER_ORDER: string;
|
|
26658
26661
|
ERROR_READING_JSON_FILE: string;
|
|
26659
26662
|
ERROR_RECREATING_USER_ACCOUNT: string;
|
|
26660
26663
|
ERROR_REPORT_SAVESEND: string;
|
|
@@ -29691,14 +29694,17 @@ export declare class Dictionaries {
|
|
|
29691
29694
|
QUOTATION_DATE: string;
|
|
29692
29695
|
QUOTATION_DATE_CUSTOMER: string;
|
|
29693
29696
|
QUOTATION_DEFINITIVE: string;
|
|
29697
|
+
QUOTATION_GROSS: string;
|
|
29694
29698
|
QUOTATION_LINE: string;
|
|
29695
29699
|
QUOTATION_LINES: string;
|
|
29700
|
+
QUOTATION_NET: string;
|
|
29696
29701
|
QUOTATION_NOT_COPIED: string;
|
|
29697
29702
|
QUOTATION_NOT_DEFINITIVE: string;
|
|
29698
29703
|
QUOTATION_NOT_PROCESSED: string;
|
|
29699
29704
|
QUOTATION_NUMBER: string;
|
|
29700
29705
|
QUOTATION_PROCESSED: string;
|
|
29701
29706
|
QUOTATION_STATUS: string;
|
|
29707
|
+
QUOTATION_TOTAL: string;
|
|
29702
29708
|
RACK_POSITIONING: string;
|
|
29703
29709
|
RANDOM: string;
|
|
29704
29710
|
RANGE2: string;
|