@kontur.candy/generator 4.241.0-lazy-loading.3 → 4.241.0-lazy-loading.4
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -132769,7 +132769,7 @@ class KCXmlGeneratorBase {
|
|
|
132769
132769
|
const gcf = (selector, ...args) => this.getCompiledFuncWithArgs(selector, args);
|
|
132770
132770
|
|
|
132771
132771
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaArgumentExpression || expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaMultySumExpression) {
|
|
132772
|
-
const modelPath = this.schema.adjustPathMultiplicity(prefix.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath.createFromMask(this.removeAttributePrefix(expression.select), false, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
|
|
132772
|
+
const modelPath = this.schema.adjustPathMultiplicity(prefix.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath.createFromMask(this.removeMultiplicity(this.removeAttributePrefix(expression.select)), false, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
|
|
132773
132773
|
const argumentDependency = this.getArgumentDeps(targetFullPath, modelPath, "Sum");
|
|
132774
132774
|
deps.push(argumentDependency);
|
|
132775
132775
|
const finalPath = argumentDependency instanceof _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath ? argumentDependency : argumentDependency.modelPath;
|
|
@@ -132777,13 +132777,13 @@ class KCXmlGeneratorBase {
|
|
|
132777
132777
|
}
|
|
132778
132778
|
|
|
132779
132779
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaExistsExpression) {
|
|
132780
|
-
const modelPath = this.schema.adjustPathMultiplicity(prefix.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath.createFromMask(this.removeAttributePrefix(expression.select), false, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
|
|
132780
|
+
const modelPath = this.schema.adjustPathMultiplicity(prefix.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath.createFromMask(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), false, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
|
|
132781
132781
|
deps.push(modelPath);
|
|
132782
132782
|
return gcf(x => x.exists, `"${modelPath.toLegacyPath()}"`);
|
|
132783
132783
|
}
|
|
132784
132784
|
|
|
132785
132785
|
if (expression instanceof _AutoCalculationsGenerator_AutoCalculationsFromFormulas_KCXmlContract_Formula__WEBPACK_IMPORTED_MODULE_1__.FormulaCountExpression) {
|
|
132786
|
-
const modelPath = this.schema.adjustPathMultiplicity(prefix.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath.createFromMask(this.removeAttributePrefix(expression.select), false, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
|
|
132786
|
+
const modelPath = this.schema.adjustPathMultiplicity(prefix.joinWith(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath.createFromMask(this.removeAttributePrefix(this.removeMultiplicity(expression.select)), false, _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.PathTokens.each)).normalize());
|
|
132787
132787
|
const argumentDependency = this.getArgumentDeps(targetFullPath, modelPath, "Count");
|
|
132788
132788
|
deps.push(argumentDependency);
|
|
132789
132789
|
const finalPath = argumentDependency instanceof _Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_0__.ModelPath ? argumentDependency : argumentDependency.modelPath;
|