@kontur.candy/generator 4.245.0-lazy-loading.17 → 4.245.0-lazy-loading-test.21

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 +21 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -114258,6 +114258,22 @@ class PathUtils {
114258
114258
  return fullPathTokens.slice(0, i + 1).join("/");
114259
114259
  }
114260
114260
 
114261
+ static getFirstInstancePathWithMaskTail(fullPath, mask) {
114262
+ const fullPathTokens = this.split(fullPath);
114263
+ const maskTokens = this.split(mask);
114264
+ let i = 0;
114265
+
114266
+ while (maskTokens[i] && fullPathTokens[i] === maskTokens[i]) {
114267
+ i++;
114268
+ }
114269
+
114270
+ if (maskTokens[i] !== "*") {
114271
+ return null;
114272
+ }
114273
+
114274
+ return fullPathTokens.slice(0, i + 1).concat(maskTokens.slice(i + 1)).join("/");
114275
+ }
114276
+
114261
114277
  static isPicklistFieldValueName(valueName) {
114262
114278
  return valueName.startsWith("picklist@");
114263
114279
  }
@@ -153236,6 +153252,11 @@ class MultilineFieldConverter extends _SugarNodeConverter__WEBPACK_IMPORTED_MODU
153236
153252
  }), context.addPathSectionDeclarationEntry(node), context.addVisibilityPathDeclEntryNew(node));
153237
153253
  }
153238
153254
 
153255
+ *doBuildNormalizeRules(builder) {
153256
+ const node = this.getCurrentNodeAs(_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_3__.MultilineFieldNode);
153257
+ yield* builder.childrenInitializer(node, false);
153258
+ }
153259
+
153239
153260
  buildChildrenDataDeclaration(context) {
153240
153261
  const node = this.getCurrentNodeAs(_MultilineFieldNode__WEBPACK_IMPORTED_MODULE_3__.MultilineFieldNode);
153241
153262
  return context.processChildrenDataDeclaration(node.children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kontur.candy/generator",
3
- "version": "4.245.0-lazy-loading.17",
3
+ "version": "4.245.0-lazy-loading-test.21",
4
4
  "description": "Candy forms generator",
5
5
  "author": "SKBKontur Candy Team",
6
6
  "private": false,