@kontur.candy/generator 6.0.0 → 6.1.1
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 +15 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -83548,6 +83548,7 @@ class FormConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_7__.Sug
|
|
|
83548
83548
|
};
|
|
83549
83549
|
if (attachmentSection.optional) {
|
|
83550
83550
|
result[attachmentSection.path] = {
|
|
83551
|
+
...result[attachmentSection.path],
|
|
83551
83552
|
optional: [true]
|
|
83552
83553
|
};
|
|
83553
83554
|
}
|
|
@@ -98778,6 +98779,7 @@ class ExpertNoteConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_1
|
|
|
98778
98779
|
const node = this.getCurrentNodeAs(_ExpertNoteNode__WEBPACK_IMPORTED_MODULE_4__.ExpertNoteNode);
|
|
98779
98780
|
const nodeBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_0__.componentMarkupBuilder)("ExpertNote");
|
|
98780
98781
|
nodeBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_2__.getNewBindingPathExpression)(node));
|
|
98782
|
+
nodeBuilder.prop(x => x.hideAttachButton).set(node.hideAttachButton);
|
|
98781
98783
|
nodeBuilder.createChild("ExpertNote", "ExpertNote.Name").appendChild(context.convertChildNodes(node.name.children));
|
|
98782
98784
|
nodeBuilder.createChild("ExpertNote", "ExpertNote.MessageBox").appendChild(this.renderChildren(this.convertChildren(context, node.messageBox.children)));
|
|
98783
98785
|
return nodeBuilder.buildConverterResult();
|
|
@@ -98826,7 +98828,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
98826
98828
|
|
|
98827
98829
|
|
|
98828
98830
|
|
|
98829
|
-
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _class3, _class4, _descriptor2, _descriptor3, _dec6, _dec7, _class5, _class6, _descriptor4, _dec8, _dec9, _dec10, _dec11, _class7, _class8, _descriptor5, _descriptor6, _descriptor7;
|
|
98831
|
+
var _dec, _dec2, _class, _class2, _descriptor, _dec3, _dec4, _dec5, _class3, _class4, _descriptor2, _descriptor3, _dec6, _dec7, _class5, _class6, _descriptor4, _dec8, _dec9, _dec10, _dec11, _dec12, _class7, _class8, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
98830
98832
|
|
|
98831
98833
|
|
|
98832
98834
|
|
|
@@ -98858,7 +98860,7 @@ let ExpertLinkNode = (_dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
98858
98860
|
writable: true,
|
|
98859
98861
|
initializer: null
|
|
98860
98862
|
}), _class4)) || _class3);
|
|
98861
|
-
let MessageBoxNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("messagebox", `Сообщение в разделе "Формирование
|
|
98863
|
+
let MessageBoxNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("messagebox", `Сообщение в разделе "Формирование финансового анализа"`), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.children)(undefined, [ExpertLinkNode]), _dec6(_class5 = (_class6 = class MessageBoxNode extends _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.SugarNodeBase {
|
|
98862
98864
|
constructor(...args) {
|
|
98863
98865
|
super(...args);
|
|
98864
98866
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "children", _descriptor4, this);
|
|
@@ -98869,24 +98871,30 @@ let MessageBoxNode = (_dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_M
|
|
|
98869
98871
|
writable: true,
|
|
98870
98872
|
initializer: null
|
|
98871
98873
|
}), _class6)) || _class5);
|
|
98872
|
-
let ExpertNoteNode = (_dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("expertnote", `Формирование
|
|
98874
|
+
let ExpertNoteNode = (_dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.sugarNode)("expertnote", `Формирование анализа эксперта`, __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/ExpertNote sync recursive .md$")), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrMixin)(_CommonNodeProperties_ValidationInfoNode__WEBPACK_IMPORTED_MODULE_3__.ValidationInfoNode), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attr)("hideAttachButton", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.attrType.boolean, `Скрыть кнопку "Прикрепить к отчету"`), _dec11 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("name", [NameNode]), _dec12 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_5__.singleChild)("messagebox", [MessageBoxNode]), _dec8(_class7 = (_class8 = class ExpertNoteNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
98873
98875
|
constructor(...args) {
|
|
98874
98876
|
super(...args);
|
|
98875
98877
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "validationInfo", _descriptor5, this);
|
|
98876
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
98877
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
98878
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "hideAttachButton", _descriptor6, this);
|
|
98879
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "name", _descriptor7, this);
|
|
98880
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "messageBox", _descriptor8, this);
|
|
98878
98881
|
}
|
|
98879
98882
|
}, _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "validationInfo", [_dec9], {
|
|
98880
98883
|
configurable: true,
|
|
98881
98884
|
enumerable: true,
|
|
98882
98885
|
writable: true,
|
|
98883
98886
|
initializer: null
|
|
98884
|
-
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "
|
|
98887
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "hideAttachButton", [_dec10], {
|
|
98888
|
+
configurable: true,
|
|
98889
|
+
enumerable: true,
|
|
98890
|
+
writable: true,
|
|
98891
|
+
initializer: null
|
|
98892
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "name", [_dec11], {
|
|
98885
98893
|
configurable: true,
|
|
98886
98894
|
enumerable: true,
|
|
98887
98895
|
writable: true,
|
|
98888
98896
|
initializer: null
|
|
98889
|
-
}),
|
|
98897
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class8.prototype, "messageBox", [_dec12], {
|
|
98890
98898
|
configurable: true,
|
|
98891
98899
|
enumerable: true,
|
|
98892
98900
|
writable: true,
|