@kontur.candy/generator 4.277.0-fs-7292-normalization-fixes.2 → 4.277.0-fs-7292-normalization-fixes.3
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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -157672,8 +157672,10 @@ class TextConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_3__.Sug
|
|
|
157672
157672
|
}
|
|
157673
157673
|
|
|
157674
157674
|
doBuildNormalizeRules() {
|
|
157675
|
+
var _node$dataBinding$def, _node$dataBinding;
|
|
157676
|
+
|
|
157675
157677
|
const node = this.getCurrentNodeAs(_TextNode__WEBPACK_IMPORTED_MODULE_7__.TextNode);
|
|
157676
|
-
const defaultValue = "";
|
|
157678
|
+
const defaultValue = (_node$dataBinding$def = (_node$dataBinding = node.dataBinding) === null || _node$dataBinding === void 0 ? void 0 : _node$dataBinding.defaultValue) !== null && _node$dataBinding$def !== void 0 ? _node$dataBinding$def : "";
|
|
157677
157679
|
const targetValueReference = new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ValueReferenceExpression(node.getFullPath().toEachIteration(), "value");
|
|
157678
157680
|
const currentValueReference = new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.NoDepsExpression(new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.ValueReferenceExpression(node.getFullPath().toCurrentIteration(), "value"));
|
|
157679
157681
|
let valueExpression = new _ServerSideFLangNormalization_FLang_FLangCodeDom__WEBPACK_IMPORTED_MODULE_4__.StringLiteralExpression(defaultValue);
|
package/package.json
CHANGED