@kontur.candy/generator 4.238.0-nightly.640da → 4.238.0-nightly.67ebe
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 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -145838,13 +145838,10 @@ class TabsConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_2__.Sug
|
|
|
145838
145838
|
}
|
|
145839
145839
|
|
|
145840
145840
|
doBuildDataDeclaration(context) {
|
|
145841
|
-
|
|
145842
|
-
|
|
145843
|
-
if (node.optional) {
|
|
145844
|
-
throw new _common_XmlParser_XmlNode__WEBPACK_IMPORTED_MODULE_3__.SugarAttributeReadError("Элемент tabs не может быть опциональным", node, "optional");
|
|
145845
|
-
}
|
|
145841
|
+
var _node$optional;
|
|
145846
145842
|
|
|
145847
|
-
|
|
145843
|
+
const node = this.getCurrentNodeAs(_TabsNode__WEBPACK_IMPORTED_MODULE_4__.TabsNode);
|
|
145844
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["children", context.initSequenceFactory.children((_node$optional = node.optional) !== null && _node$optional !== void 0 ? _node$optional : false)]]), context.addPathSectionDeclarationEntry(node));
|
|
145848
145845
|
}
|
|
145849
145846
|
|
|
145850
145847
|
buildChildrenDataDeclaration(context) {
|