@kontur.candy/generator 6.16.0 → 6.17.0-test-fs-9386.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.
Files changed (2) hide show
  1. package/dist/index.js +4 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -105172,16 +105172,14 @@ class FileLoaderConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODULE_4
105172
105172
  multiple: multipleNode
105173
105173
  });
105174
105174
  }
105175
-
105176
- // eslint-disable-next-line no-warning-comments
105177
- // TODO(2026-05-01): Исправить в рамках задачи https://yt.skbkontur.ru/issue/FS-9386
105178
- *doBuildKCLangValidations_REMOVE_THIS_SUFFIX(buildContext, formSchemaRng, prefixPath) {
105175
+ *doBuildKCLangValidations(buildContext, formSchemaRng, prefixPath) {
105176
+ var _node$getOwnPathForKC;
105179
105177
  const node = this.getCurrentNodeAs(_FileLoaderNode__WEBPACK_IMPORTED_MODULE_11__.FileLoaderNode);
105180
105178
  const element = formSchemaRng.getElementByPath(node.getFullPath());
105181
- const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each);
105179
+ const targetPath = (0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.createAbsoluteFromMask)(this.getResolvedBindingPath(node), _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_6__.PathTokens.each).joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
105182
105180
  const typeNode = buildContext.getTypeNode(node.validationInfo);
105183
105181
  const schemaTypeNode = buildContext.getSchemaTypeInfo(targetPath);
105184
- const ownPath = node.getOwnPathForKCLang();
105182
+ const ownPath = (_node$getOwnPathForKC = node.getOwnPathForKCLang()) === null || _node$getOwnPathForKC === void 0 ? void 0 : _node$getOwnPathForKC.joinWith(_Common_PathConstants__WEBPACK_IMPORTED_MODULE_7__.AttachmentInfoPath);
105185
105183
  if (typeNode == undefined && schemaTypeNode == undefined || ownPath == undefined) {
105186
105184
  return;
105187
105185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "6.16.0",
3
+ "version": "6.17.0-test-fs-9386.0",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,