@arsedizioni/ars-utils 18.1.149 → 18.1.151
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/clipper.common/common/definitions.d.ts +2 -2
- package/clipper.ui/ui/document/document.component.d.ts +18 -1
- package/esm2022/clipper.common/common/definitions.mjs +1 -1
- package/esm2022/clipper.ui/ui/document/document.component.mjs +6 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +5 -1
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/package.json +12 -12
|
@@ -1874,7 +1874,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1874
1874
|
const height = this.dialogService.getCurrentDialogScrollableHeight(['clipper-document-fixed'], window.innerHeight);
|
|
1875
1875
|
if (height != this.height) {
|
|
1876
1876
|
elem.setAttribute('style', 'padding:0;height:' + height + 'px !important;max-height:' + height + 'px !important');
|
|
1877
|
-
this.height = height
|
|
1877
|
+
this.height = height;
|
|
1878
1878
|
this.resize();
|
|
1879
1879
|
}
|
|
1880
1880
|
}
|
|
@@ -2024,6 +2024,9 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
2024
2024
|
return;
|
|
2025
2025
|
}
|
|
2026
2026
|
// Store data
|
|
2027
|
+
if (!this.lastDocument) {
|
|
2028
|
+
this.lastDocument = {};
|
|
2029
|
+
}
|
|
2027
2030
|
this.lastDocument.id = id;
|
|
2028
2031
|
this.lastDocument.title1 = title1 ? SystemUtils.urlDecode(title1) : null;
|
|
2029
2032
|
this.lastDocument.title2 = title2 ? SystemUtils.urlDecode(title2) : null;
|
|
@@ -2039,6 +2042,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
2039
2042
|
this.lastDocument.validityInfo = validityInfo;
|
|
2040
2043
|
this.lastDocument.primaryId = primaryId;
|
|
2041
2044
|
this.lastDocument.primaryModel = primaryModel;
|
|
2045
|
+
console.log("inizio..");
|
|
2042
2046
|
this.lastDocument.hasPrimary =
|
|
2043
2047
|
primaryId &&
|
|
2044
2048
|
(model === ClipperModel.AggiornamentoNormativo ||
|