@kontur.candy/generator 6.21.0 → 6.22.0
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 +25 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -170830,8 +170830,9 @@ class RelativesComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
|
|
|
170830
170830
|
*doTraverseChildren() {
|
|
170831
170831
|
// no children
|
|
170832
170832
|
}
|
|
170833
|
-
doBuildDataDeclaration() {
|
|
170834
|
-
|
|
170833
|
+
doBuildDataDeclaration(context) {
|
|
170834
|
+
const node = this.getCurrentNodeAs(_RelativesComboBoxNode__WEBPACK_IMPORTED_MODULE_4__.RelativesComboBoxNode);
|
|
170835
|
+
return context.mergeDataDeclaration(context.addPathDeclEntry(node, [["value", context.initSequenceFactory.dataValue(node.dataBinding, false)]]));
|
|
170835
170836
|
}
|
|
170836
170837
|
}
|
|
170837
170838
|
|
|
@@ -170860,21 +170861,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
170860
170861
|
|
|
170861
170862
|
|
|
170862
170863
|
|
|
170863
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
170864
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
|
|
170864
170865
|
|
|
170865
170866
|
|
|
170866
170867
|
|
|
170867
|
-
let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("relativescombobox", "Комбобокс для выбора ребенка/родственника.", __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/RelativesComboBox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__.DataReferenceMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("employeeIdPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.modelPath, `Путь до поля, в котором лежит employeeId. Нужно для запроса в сервис сотрудников.`),
|
|
170868
|
+
let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.sugarNode)("relativescombobox", "Комбобокс для выбора ребенка/родственника.", __webpack_require__("./Generator/src/generators/markupGenerator/ElementProcessors/ValueEditors/RelativesComboBox sync recursive .md$")), _dec2 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__.DataReferenceMixinNode), _dec3 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrMixin)(_CommonNodeProperties_DataBindingMixinNode__WEBPACK_IMPORTED_MODULE_5__.DataBindingMixinNode), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("employeeIdPath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.modelPath, `Путь до поля, в котором лежит employeeId. Нужно для запроса в сервис сотрудников.`), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("onAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при добавлении родственника"), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("onSelect", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при выборе родственника"), _dec7 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("selectedLastNamePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.modelPath, "Путь до фамилии выбранного родственника"), _dec8 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("selectedFirstNamePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.modelPath, "Путь до имени выбранного родственника"), _dec9 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("selectedMiddleNamePath", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.modelPath, "Путь до отчества выбранного родственника"), _dec10 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("queryFilter", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.modelPath, `Фильтр для запроса в СС. Например: relationship in ["4","3","23","24","25"]`), _dec(_class = (_class2 = class RelativesComboBoxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
170868
170869
|
constructor(...args) {
|
|
170869
170870
|
super(...args);
|
|
170870
170871
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataReference", _descriptor, this);
|
|
170871
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170872
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170873
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170874
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170875
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170876
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170877
|
-
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "
|
|
170872
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataBinding", _descriptor2, this);
|
|
170873
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "employeeIdPath", _descriptor3, this);
|
|
170874
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAdd", _descriptor4, this);
|
|
170875
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onSelect", _descriptor5, this);
|
|
170876
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "selectedLastNamePath", _descriptor6, this);
|
|
170877
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "selectedFirstNamePath", _descriptor7, this);
|
|
170878
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "selectedMiddleNamePath", _descriptor8, this);
|
|
170879
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "queryFilter", _descriptor9, this);
|
|
170878
170880
|
}
|
|
170879
170881
|
getOwnPath() {
|
|
170880
170882
|
return this.dataReference.getOwnPath();
|
|
@@ -170884,37 +170886,42 @@ let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
170884
170886
|
enumerable: true,
|
|
170885
170887
|
writable: true,
|
|
170886
170888
|
initializer: null
|
|
170887
|
-
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "
|
|
170889
|
+
}), _descriptor2 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "dataBinding", [_dec3], {
|
|
170890
|
+
configurable: true,
|
|
170891
|
+
enumerable: true,
|
|
170892
|
+
writable: true,
|
|
170893
|
+
initializer: null
|
|
170894
|
+
}), _descriptor3 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "employeeIdPath", [_dec4], {
|
|
170888
170895
|
configurable: true,
|
|
170889
170896
|
enumerable: true,
|
|
170890
170897
|
writable: true,
|
|
170891
170898
|
initializer: null
|
|
170892
|
-
}),
|
|
170899
|
+
}), _descriptor4 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onAdd", [_dec5], {
|
|
170893
170900
|
configurable: true,
|
|
170894
170901
|
enumerable: true,
|
|
170895
170902
|
writable: true,
|
|
170896
170903
|
initializer: null
|
|
170897
|
-
}),
|
|
170904
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "onSelect", [_dec6], {
|
|
170898
170905
|
configurable: true,
|
|
170899
170906
|
enumerable: true,
|
|
170900
170907
|
writable: true,
|
|
170901
170908
|
initializer: null
|
|
170902
|
-
}),
|
|
170909
|
+
}), _descriptor6 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "selectedLastNamePath", [_dec7], {
|
|
170903
170910
|
configurable: true,
|
|
170904
170911
|
enumerable: true,
|
|
170905
170912
|
writable: true,
|
|
170906
170913
|
initializer: null
|
|
170907
|
-
}),
|
|
170914
|
+
}), _descriptor7 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "selectedFirstNamePath", [_dec8], {
|
|
170908
170915
|
configurable: true,
|
|
170909
170916
|
enumerable: true,
|
|
170910
170917
|
writable: true,
|
|
170911
170918
|
initializer: null
|
|
170912
|
-
}),
|
|
170919
|
+
}), _descriptor8 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "selectedMiddleNamePath", [_dec9], {
|
|
170913
170920
|
configurable: true,
|
|
170914
170921
|
enumerable: true,
|
|
170915
170922
|
writable: true,
|
|
170916
170923
|
initializer: null
|
|
170917
|
-
}),
|
|
170924
|
+
}), _descriptor9 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "queryFilter", [_dec10], {
|
|
170918
170925
|
configurable: true,
|
|
170919
170926
|
enumerable: true,
|
|
170920
170927
|
writable: true,
|