@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/index.d.ts CHANGED
@@ -114,7 +114,7 @@ interface TextDimension {
114
114
  }
115
115
  declare class DocsignComponent {
116
116
  private _changeDetector;
117
- iframe: ElementRef;
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 _isIOS;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.11",
3
+ "version": "262.1.12",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -0,0 +1,3 @@
1
+ {
2
+ "routes": {}
3
+ }