@ngstarter-ui/components 21.0.71 → 21.0.72
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.
|
@@ -1904,7 +1904,7 @@ class PdfBuilder {
|
|
|
1904
1904
|
syncOverlayGeometry() {
|
|
1905
1905
|
const fields = new Map(this.fields().map(field => [field.id, field]));
|
|
1906
1906
|
for (const element of this.getOverlayFieldElements()) {
|
|
1907
|
-
const fieldId = element.
|
|
1907
|
+
const fieldId = element.getAttribute('data-field-id');
|
|
1908
1908
|
const field = fieldId ? fields.get(fieldId) : null;
|
|
1909
1909
|
if (!field) {
|
|
1910
1910
|
continue;
|
|
@@ -2088,7 +2088,7 @@ class PdfBuilder {
|
|
|
2088
2088
|
return Array.from(this.elementRef.nativeElement.querySelectorAll('.pdf-page-shell'));
|
|
2089
2089
|
}
|
|
2090
2090
|
getPageNumberFromShell(pageShell) {
|
|
2091
|
-
const value = Number(pageShell.
|
|
2091
|
+
const value = Number(pageShell.getAttribute('data-page-number'));
|
|
2092
2092
|
return Number.isFinite(value) && value > 0 ? value : null;
|
|
2093
2093
|
}
|
|
2094
2094
|
getViewerScrollElement() {
|