@syncfusion/ej2-pdf
Advanced tools
Comparing version 26.1.42 to 26.2.4
/*! | ||
* filename: index.d.ts | ||
* version : 26.1.42 | ||
* version : 26.2.4 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-pdf@*", | ||
"_id": "@syncfusion/ej2-pdf@26.1.41", | ||
"_id": "@syncfusion/ej2-pdf@26.1.42", | ||
"_inBundle": false, | ||
"_integrity": "sha512-JeTlDsPE6/F0Rx5oNBek3dHa+HE9nxlHqbB2eI0k+jDS7wOZcJtH8ogu8WNiMY6NtaA4qm1ArAI34tmKjMfgVQ==", | ||
"_integrity": "sha512-vvMQJr6fUEseSThVPp1CMy4hgbV6+jqtbyRYzsHCk2TWK4Uxw2BYMGeITrInJp3sOfHq4tfiC5+UkW5nBrfAGw==", | ||
"_location": "/@syncfusion/ej2-pdf", | ||
@@ -24,4 +24,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf/-/ej2-pdf-26.1.41.tgz", | ||
"_shasum": "6dadafc93070cd35eb000c16da06738b200e910a", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-pdf/-/ej2-pdf-26.1.42.tgz", | ||
"_shasum": "aa90f341394c7944df3e50049589a28d7a49e9d2", | ||
"_spec": "@syncfusion/ej2-pdf@*", | ||
@@ -34,4 +34,4 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~26.1.42", | ||
"@syncfusion/ej2-compression": "~26.1.35", | ||
"@syncfusion/ej2-base": "~26.2.4", | ||
"@syncfusion/ej2-compression": "~26.2.4", | ||
"@types/node": "^20.12.7" | ||
@@ -61,5 +61,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "26.1.42", | ||
"version": "26.2.4", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -33,3 +33,3 @@ import { PdfForm } from './form'; | ||
_groupFormFields(form: PdfForm, oldPage: PdfPage, newPage: PdfPage, crossReference: _PdfCrossReference): void; | ||
_combineFormFields(form: PdfForm, field: PdfField, kidsArray: _PdfReference[], existingkids: _PdfReference[], ref: _PdfReference, array: _PdfReference[], index: number): _PdfReference[]; | ||
_combineFormFields(form: PdfForm, field: PdfField, kidsArray: _PdfReference[], existingKids: _PdfReference[], ref: _PdfReference, array: _PdfReference[], index: number): _PdfReference[]; | ||
_importFormField(page: PdfPage, pdfForm: PdfForm, newPage: PdfPage, crossReference: _PdfCrossReference): void; | ||
@@ -36,0 +36,0 @@ _insertFormFields(index: number, crossReference: _PdfCrossReference, pdfField: PdfField, form: PdfForm, ref: _PdfReference, array: _PdfReference[], kidsArray: _PdfReference[]): _PdfReference[]; |
@@ -179,12 +179,12 @@ import { PdfPageOrientation } from './enumerator'; | ||
var field = form.fieldAt(i); | ||
var existingkids = []; | ||
var existingKids = []; | ||
var isTextbox = field._dictionary.get('FT'); | ||
if (isTextbox.name.toString() === 'Tx') { | ||
if (field._dictionary.has('Kids')) { | ||
existingkids = field._dictionary.get('Kids'); | ||
if (existingkids.length > 1) { | ||
for (var j = 0; j < existingkids.length; j++) { | ||
existingKids = field._dictionary.get('Kids'); | ||
if (existingKids.length > 1) { | ||
for (var j = 0; j < existingKids.length; j++) { | ||
var fieldItem = field.itemAt(j); // eslint-disable-line | ||
if (fieldItem.page === oldPage) { | ||
array = this._combineFormFields(form, field, kidsArray, existingkids, newPage._ref, array, i); | ||
array = this._combineFormFields(form, field, kidsArray, existingKids, newPage._ref, array, i); | ||
break; | ||
@@ -194,5 +194,5 @@ } | ||
} | ||
else if (existingkids.length === 1) { | ||
else if (existingKids.length === 1) { | ||
if (field.page === oldPage) { | ||
array = this._combineFormFields(form, field, kidsArray, existingkids, newPage._ref, array, i); | ||
array = this._combineFormFields(form, field, kidsArray, existingKids, newPage._ref, array, i); | ||
} | ||
@@ -203,3 +203,3 @@ } | ||
if (field.page === oldPage) { | ||
array = this._combineFormFields(form, field, kidsArray, existingkids, newPage._ref, array, i); | ||
array = this._combineFormFields(form, field, kidsArray, existingKids, newPage._ref, array, i); | ||
} | ||
@@ -217,3 +217,3 @@ } | ||
}; | ||
_PdfMergeHelper.prototype._combineFormFields = function (form, field, kidsArray, existingkids, ref, array, index) { | ||
_PdfMergeHelper.prototype._combineFormFields = function (form, field, kidsArray, existingKids, ref, array, index) { | ||
var fieldDictionary = this._exportFormFieldDictionary(this._crossReference, field); | ||
@@ -223,7 +223,7 @@ if (fieldDictionary.has('Kids')) { | ||
var _loop_1 = function (j) { | ||
if ((kidsArray.indexOf(existingkids[Number.parseInt(j.toString(), 10)]) !== -1)) { | ||
if ((kidsArray.indexOf(existingKids[Number.parseInt(j.toString(), 10)]) !== -1)) { | ||
var dictionary_1 = this_1._crossReference._fetch(kids[Number.parseInt(j.toString(), 10)]); | ||
dictionary_1.update('P', ref); | ||
array.push(kids[Number.parseInt(j.toString(), 10)]); | ||
var oldDictionary = this_1._crossReference._fetch(existingkids[Number.parseInt(j.toString(), 10)]); | ||
var oldDictionary = this_1._crossReference._fetch(existingKids[Number.parseInt(j.toString(), 10)]); | ||
oldDictionary.forEach(function (key, value) { | ||
@@ -234,4 +234,4 @@ if (key === 'Parent') { | ||
}); | ||
this_1._kidsReference.push(existingkids[Number.parseInt(j.toString(), 10)]); | ||
existingkids.push(kids[Number.parseInt(j.toString(), 10)]); | ||
this_1._kidsReference.push(existingKids[Number.parseInt(j.toString(), 10)]); | ||
existingKids.push(kids[Number.parseInt(j.toString(), 10)]); | ||
dictionary_1._updated = true; | ||
@@ -384,6 +384,6 @@ field._dictionary._updated = true; | ||
if (field._dictionary.has('Kids')) { | ||
var existingkids = pdfField._dictionary.get('Kids'); | ||
var existingKids = pdfField._dictionary.get('Kids'); | ||
var kids = field._dictionary.get('Kids'); | ||
for (var j = 0; j < kids.length; j++) { | ||
if ((kidsArray.indexOf(existingkids[Number.parseInt(j.toString(), 10)]) !== -1)) { | ||
if ((kidsArray.indexOf(existingKids[Number.parseInt(j.toString(), 10)]) !== -1)) { | ||
var dictionary = this._crossReference._fetch(kids[Number.parseInt(j.toString(), 10)]); | ||
@@ -390,0 +390,0 @@ dictionary.update('P', ref); |
@@ -150,3 +150,3 @@ import { PdfRotationAngle } from './enumerator'; | ||
* | ||
* @returns {boolean} value Indicates formfields grouping. | ||
* @returns {boolean} value Indicates form fields grouping. | ||
* ```typescript | ||
@@ -168,3 +168,3 @@ * // Load an existing PDF document | ||
* | ||
* @param {boolean} value Indicates formfields grouping | ||
* @param {boolean} value Indicates form fields grouping | ||
* ```typescript | ||
@@ -171,0 +171,0 @@ * // Load an existing PDF document |
@@ -177,3 +177,3 @@ /** | ||
* | ||
* @returns {boolean} value Indicates formfields grouping. | ||
* @returns {boolean} value Indicates form fields grouping. | ||
* ```typescript | ||
@@ -198,3 +198,3 @@ * // Load an existing PDF document | ||
* | ||
* @param {boolean} value Indicates formfields grouping | ||
* @param {boolean} value Indicates form fields grouping | ||
* ```typescript | ||
@@ -201,0 +201,0 @@ * // Load an existing PDF document |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25962664
155
197786
+ Added@syncfusion/ej2-base@26.2.10(transitive)
+ Added@syncfusion/ej2-compression@26.2.10(transitive)
+ Added@syncfusion/ej2-file-utils@26.2.10(transitive)
+ Added@syncfusion/ej2-icons@26.2.10(transitive)
- Removed@syncfusion/ej2-base@26.1.42(transitive)
- Removed@syncfusion/ej2-compression@26.1.35(transitive)
- Removed@syncfusion/ej2-file-utils@26.1.35(transitive)
- Removed@syncfusion/ej2-icons@26.1.35(transitive)
Updated@syncfusion/ej2-base@~26.2.4