@colijnit/sharedcomponents 258.1.11 → 258.1.13
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 +158 -60
- 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 +151 -79
- package/esm2015/lib/components/custom-pdf/custom-pdf-dialog.module.js +3 -2
- package/esm2015/lib/res/dictionary/dictionaries.js +2 -2
- package/fesm2015/colijnit-sharedcomponents.js +147 -74
- package/fesm2015/colijnit-sharedcomponents.js.map +1 -1
- package/lib/components/custom-pdf/custom-pdf-dialog.component.d.ts +8 -4
- package/lib/components/custom-pdf/style/_layout.scss +12 -0
- package/lib/res/dictionary/dictionaries.d.ts +1 -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;
|
|
@@ -24,12 +24,16 @@ export declare class CustomPdfDialogComponent implements OnInit, AfterViewInit {
|
|
|
24
24
|
};
|
|
25
25
|
fileBody: any;
|
|
26
26
|
fileStyle: string;
|
|
27
|
+
showLoader: boolean;
|
|
28
|
+
private enableLocalPreview;
|
|
27
29
|
constructor(iconCacheService: IconCacheService, _sanitizer: DomSanitizer);
|
|
28
30
|
ngOnInit(): void;
|
|
29
31
|
ngAfterViewInit(): void;
|
|
32
|
+
private _processAdditionalFileContents;
|
|
30
33
|
extractStyleParts(html: string): string[];
|
|
31
34
|
removeStyleAndScriptTags(html: string): string;
|
|
32
35
|
extractBodyContents(html: string): string[];
|
|
36
|
+
private _isLocalhost;
|
|
33
37
|
handleSaveClicked(): Promise<void>;
|
|
34
38
|
dataURItoBlob(dataURI: any): File;
|
|
35
39
|
handleClear(): void;
|
|
@@ -16,6 +16,18 @@
|
|
|
16
16
|
background-color: #f8f8fa;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
.loader-container {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
bottom: 0;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
align-items: center;
|
|
29
|
+
align-self: center;
|
|
30
|
+
}
|
|
19
31
|
}
|
|
20
32
|
}
|
|
21
33
|
|
|
@@ -26655,6 +26655,7 @@ export declare class Dictionaries {
|
|
|
26655
26655
|
ERROR_NO_SERIAL_NR: string;
|
|
26656
26656
|
ERROR_PARKING_REPORT: string;
|
|
26657
26657
|
ERROR_PRINTING: string;
|
|
26658
|
+
ERROR_PROCESSING_REGISTER_ORDER: string;
|
|
26658
26659
|
ERROR_READING_JSON_FILE: string;
|
|
26659
26660
|
ERROR_RECREATING_USER_ACCOUNT: string;
|
|
26660
26661
|
ERROR_REPORT_SAVESEND: string;
|