@colijnit/sharedcomponents 262.1.10 → 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
  }
@@ -3190,7 +3190,6 @@ declare class NotificationSummaryBlockComponent extends BaseActivitySummaryCompo
3190
3190
  handleEmailChange(emailAddresses: string[]): void;
3191
3191
  handleSendEmail(event: MouseEvent): Promise<void>;
3192
3192
  private createEmailAddressString;
3193
- private createEmailSubject;
3194
3193
  private sendEmailIfNeccesary;
3195
3194
  private startEmailing;
3196
3195
  private _createEmailParams;
@@ -3956,7 +3955,6 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3956
3955
  private startEmailing;
3957
3956
  private _createEmailParams;
3958
3957
  private _createEmailAddressString;
3959
- private _createEmailSubject;
3960
3958
  private _clearFields;
3961
3959
  static ɵfac: i0.ɵɵFactoryDeclaration<TaskCreatorComponent, never>;
3962
3960
  static ɵcmp: i0.ɵɵComponentDeclaration<TaskCreatorComponent, "co-task-creator", never, { "author": { "alias": "author"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; "table": { "alias": "table"; "required": false; }; "remarkAndWorkKey": { "alias": "remarkAndWorkKey"; "required": false; }; "taskKey": { "alias": "taskKey"; "required": false; }; "workflowCategoryType": { "alias": "workflowCategoryType"; "required": false; }; "allowRemarkCreation": { "alias": "allowRemarkCreation"; "required": false; }; "allowWorkCreation": { "alias": "allowWorkCreation"; "required": false; }; "allowTaskCreation": { "alias": "allowTaskCreation"; "required": false; }; "allowEmailing": { "alias": "allowEmailing"; "required": false; }; }, { "activityCreated": "activityCreated"; "taskCreated": "taskCreated"; }, never, never, false, never>;
@@ -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.10",
3
+ "version": "262.1.12",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -11,7 +11,7 @@
11
11
  "@angular/common": "^20.3.16",
12
12
  "@angular/core": "^20.3.16",
13
13
  "@colijnit/articleapi": ">=262.1.0",
14
- "@colijnit/mainapi": ">=262.1.1",
14
+ "@colijnit/mainapi": ">=262.1.8",
15
15
  "@colijnit/corecomponents_v12": ">=262.1.0",
16
16
  "@colijnit/ioneconnector": ">=262.1.0",
17
17
  "@colijnit/sharedapi": ">=1.0.20",