@contrail/document-generation 2.0.29 → 2.0.31
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.
|
@@ -49,8 +49,6 @@ class ComponentGenerator {
|
|
|
49
49
|
return e;
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
documents_1.DocumentElementPropertyBindingHandler.bindPropertiesToElement(componentElement, data);
|
|
53
|
-
documents_1.DocumentElementPropertyBindingHandler.bindPropertiesToElements(componentElement.elements, data);
|
|
54
52
|
return componentElement;
|
|
55
53
|
}
|
|
56
54
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocumentPropertyUtil = void 0;
|
|
4
4
|
const util_1 = require("@contrail/util");
|
|
5
|
+
const documents_1 = require("@contrail/documents");
|
|
5
6
|
const types_1 = require("@contrail/types");
|
|
6
7
|
const document_text_element_util_1 = require("./document-text-element-util");
|
|
7
8
|
const text_util_1 = require("./text-util");
|
|
@@ -90,6 +91,7 @@ class DocumentPropertyUtil {
|
|
|
90
91
|
if (property.isHidden) {
|
|
91
92
|
element.isHidden = property.isHidden;
|
|
92
93
|
}
|
|
94
|
+
documents_1.DocumentElementPropertyBindingHandler.bindPropertiesToElement(element, data);
|
|
93
95
|
return element;
|
|
94
96
|
}
|
|
95
97
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contrail/document-generation",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.31",
|
|
4
4
|
"description": "Utilities for automatic generation of documents.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@contrail/data-grouping": "^1.0.24",
|
|
46
|
-
"@contrail/documents": "^1.0.
|
|
46
|
+
"@contrail/documents": "^1.0.91",
|
|
47
47
|
"@contrail/types": "^3.0.27",
|
|
48
48
|
"@contrail/util": "^1.0.27"
|
|
49
49
|
}
|