@kontur.candy/generator 5.41.0-relatives-import.8 → 5.41.0-relatives-import.9
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 +9 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -92964,6 +92964,7 @@ class RelativesComboBoxConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_M
|
|
|
92964
92964
|
const node = this.getCurrentNodeAs(_RelativesComboBoxNode__WEBPACK_IMPORTED_MODULE_4__.RelativesComboBoxNode);
|
|
92965
92965
|
const markupBuilder = (0,_ComponentMarkupBuilder_ComponentMarkupBuilder__WEBPACK_IMPORTED_MODULE_2__.componentMarkupBuilder)("RelativesComboBox");
|
|
92966
92966
|
markupBuilder.prop(x => x.employeeIdPath).set(node.employeeIdPath);
|
|
92967
|
+
markupBuilder.prop(x => x.selectedFio).set(node.selectedFio);
|
|
92967
92968
|
markupBuilder.prop(x => x.bindingPath).set((0,_getBindingPath__WEBPACK_IMPORTED_MODULE_3__.getNewBindingPathExpression)(node));
|
|
92968
92969
|
markupBuilder.prop(x => x.onAdd).set(context.generateHelperFunctionExpression(node, "onAdd", node.onAdd));
|
|
92969
92970
|
markupBuilder.prop(x => x.onSelect).set(context.generateHelperFunctionExpression(node, "onSelect", node.onSelect));
|
|
@@ -93005,17 +93006,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
93005
93006
|
|
|
93006
93007
|
|
|
93007
93008
|
|
|
93008
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
|
|
93009
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;
|
|
93009
93010
|
|
|
93010
93011
|
|
|
93011
93012
|
|
|
93012
|
-
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. Нужно для запроса в сервис сотрудников.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("onAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при добавлении родственника"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("onSelect", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при выборе родственника"), _dec(_class = (_class2 = class RelativesComboBoxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
93013
|
+
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. Нужно для запроса в сервис сотрудников.`), _dec4 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("onAdd", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при добавлении родственника"), _dec5 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attr)("onSelect", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.helperFunctionName, "Имя кастомной helpers функции, которая вызовется при выборе родственника"), _dec6 = (0,_Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.markupAttr)("selectedFio", _Serializer_SugarSerializer__WEBPACK_IMPORTED_MODULE_3__.attrType.string, "ФИО выбранного родственника"), _dec(_class = (_class2 = class RelativesComboBoxNode extends _Serializer_SugarNodeWithLegacyVisibility__WEBPACK_IMPORTED_MODULE_4__.SugarNodeWithLegacyVisibility {
|
|
93013
93014
|
constructor(...args) {
|
|
93014
93015
|
super(...args);
|
|
93015
93016
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "dataReference", _descriptor, this);
|
|
93016
93017
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "employeeIdPath", _descriptor2, this);
|
|
93017
93018
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onAdd", _descriptor3, this);
|
|
93018
93019
|
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "onSelect", _descriptor4, this);
|
|
93020
|
+
_babel_runtime_helpers_initializerDefineProperty__WEBPACK_IMPORTED_MODULE_0___default()(this, "selectedFio", _descriptor5, this);
|
|
93019
93021
|
}
|
|
93020
93022
|
getOwnPath() {
|
|
93021
93023
|
return this.dataReference.getOwnPath();
|
|
@@ -93040,6 +93042,11 @@ let RelativesComboBoxNode = (_dec = (0,_Serializer_SugarSerializer__WEBPACK_IMPO
|
|
|
93040
93042
|
enumerable: true,
|
|
93041
93043
|
writable: true,
|
|
93042
93044
|
initializer: null
|
|
93045
|
+
}), _descriptor5 = _babel_runtime_helpers_applyDecoratedDescriptor__WEBPACK_IMPORTED_MODULE_1___default()(_class2.prototype, "selectedFio", [_dec6], {
|
|
93046
|
+
configurable: true,
|
|
93047
|
+
enumerable: true,
|
|
93048
|
+
writable: true,
|
|
93049
|
+
initializer: null
|
|
93043
93050
|
})), _class2)) || _class);
|
|
93044
93051
|
|
|
93045
93052
|
/***/ }),
|