@colijnit/sharedcomponents 262.1.11 → 262.1.12
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/3rdpartylicenses.txt +3327 -0
- package/browser/chunk-H5HZ6YB3.js +1 -0
- package/browser/chunk-JXHTPMR7.js +5 -0
- package/browser/chunk-KTNFH73E.js +5 -0
- package/browser/chunk-ZGRJSZN6.js +2 -0
- package/browser/favicon.ico +0 -0
- package/browser/index.html +13 -0
- package/browser/main-F2722GVT.js +289 -0
- package/browser/polyfills-5FDKUQTZ.js +2 -0
- package/browser/styles-JCQQ25VB.css +1 -0
- package/fesm2022/colijnit-sharedcomponents.mjs +46 -40
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/lib/components/docsign/style/_layout.scss +10 -0
- package/package.json +1 -1
- package/prerendered-routes.json +3 -0
package/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ interface TextDimension {
|
|
|
114
114
|
}
|
|
115
115
|
declare class DocsignComponent {
|
|
116
116
|
private _changeDetector;
|
|
117
|
-
|
|
117
|
+
pdfContainer: ElementRef<HTMLDivElement>;
|
|
118
118
|
/**
|
|
119
119
|
* Load an existing [[PDFDocument]]. The input data can be provided in
|
|
120
120
|
* multiple formats:
|
|
@@ -195,14 +195,14 @@ declare class DocsignComponent {
|
|
|
195
195
|
constructor(_changeDetector: ChangeDetectorRef);
|
|
196
196
|
saveFirstSignature(sig: string): void;
|
|
197
197
|
saveSecondSignature(sig: string): void;
|
|
198
|
-
openPdfInNewTab(): void;
|
|
199
198
|
private _openPDF;
|
|
199
|
+
private _renderPdfPages;
|
|
200
200
|
private _savePdf;
|
|
201
201
|
private _checkSignatures;
|
|
202
202
|
private _getPositionSignature;
|
|
203
203
|
private _saveSignature;
|
|
204
204
|
private _preparePDF;
|
|
205
|
-
private
|
|
205
|
+
private _getPdfBytesCopy;
|
|
206
206
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocsignComponent, never>;
|
|
207
207
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocsignComponent, "co-docsign", never, { "pdf": { "alias": "pdf"; "required": false; }; "firstSignatureLabel": { "alias": "firstSignatureLabel"; "required": false; }; "firstSignatureField": { "alias": "firstSignatureField"; "required": false; }; "secondSignatureLabel": { "alias": "secondSignatureLabel"; "required": false; }; "secondSignatureField": { "alias": "secondSignatureField"; "required": false; }; "saveButtonLabel": { "alias": "saveButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "signDocumentButtonLabel": { "alias": "signDocumentButtonLabel"; "required": false; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; }; }, { "pdfSaved": "pdfSaved"; "cancelClick": "cancelClick"; }, never, never, false, never>;
|
|
208
208
|
}
|
|
@@ -36,5 +36,15 @@
|
|
|
36
36
|
top: 50%;
|
|
37
37
|
transform: translate(-50%, -50%);
|
|
38
38
|
}
|
|
39
|
+
.pdf-container {
|
|
40
|
+
height: 100%;
|
|
41
|
+
overflow-y: auto;
|
|
42
|
+
-webkit-overflow-scrolling: touch;
|
|
43
|
+
}
|
|
44
|
+
.pdf-page {
|
|
45
|
+
display: block;
|
|
46
|
+
max-width: 100%;
|
|
47
|
+
margin: 0 auto 16px auto;
|
|
48
|
+
}
|
|
39
49
|
}
|
|
40
50
|
}
|
package/package.json
CHANGED