@kontur.candy/generator 6.36.0-pre-fs-9546.0 → 6.36.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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -119097,7 +119097,7 @@ class KCLangAntlrVisitor {
|
|
|
119097
119097
|
return interval.length === 0 ? "" : (_context$start$inputS = (_context$start$inputS2 = context.start.inputStream) === null || _context$start$inputS2 === void 0 ? void 0 : _context$start$inputS2.getText(interval)) !== null && _context$start$inputS !== void 0 ? _context$start$inputS : "";
|
|
119098
119098
|
}
|
|
119099
119099
|
removeEscapeSimbolsFromDescription(text) {
|
|
119100
|
-
const cleanedValue = text.
|
|
119100
|
+
const cleanedValue = text.replaceAll("\\[", "[").replaceAll("\\]", "]").replaceAll("\\{", "{").replaceAll("\\}", "}").replaceAll("\\`", "`").replaceAll("\\*", "*");
|
|
119101
119101
|
return cleanedValue;
|
|
119102
119102
|
}
|
|
119103
119103
|
}
|
|
@@ -164295,7 +164295,7 @@ class KCLangCalculationsBuildContext {
|
|
|
164295
164295
|
return undefined;
|
|
164296
164296
|
}
|
|
164297
164297
|
createCheck(targetPath, condition, message, checkType) {
|
|
164298
|
-
const withBlocks = [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(message
|
|
164298
|
+
const withBlocks = [new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("description", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText(message)), new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("target", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText((0,_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.createRelativeFromTokens)(Iterator.from(targetPath.getPathParts()).filter(_Common_ModelPath_ModelPath__WEBPACK_IMPORTED_MODULE_1__.PathTokens.isSimpleToken).toArray()).toString()))];
|
|
164299
164299
|
if (checkType == "warning") {
|
|
164300
164300
|
withBlocks.push(new _common_KCLang_CodeDom_WithBlock__WEBPACK_IMPORTED_MODULE_27__.WithBlock("errorLevel", new _common_KCLang_CodeDom_DescriptionText__WEBPACK_IMPORTED_MODULE_8__.DescriptionText("Warning")));
|
|
164301
164301
|
}
|