@infomaximum/widget-sdk 5.12.1 → 5.12.2

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [5.12.2](https://github.com/Infomaximum/widget-sdk/compare/v5.12.1...v5.12.2) (2025-04-22)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * исправленно падение фильтрации из-за комментариев в формуле ([962580c](https://github.com/Infomaximum/widget-sdk/commit/962580c0e86d6b7ebeacfef77481557add9eebf6))
11
+
5
12
  ### [5.12.1](https://github.com/Infomaximum/widget-sdk/compare/v5.12.0...v5.12.1) (2025-04-11)
6
13
 
7
14
  ## [5.12.0](https://github.com/Infomaximum/widget-sdk/compare/v5.11.1...v5.12.0) (2025-04-11)
package/dist/index.esm.js CHANGED
@@ -1467,7 +1467,9 @@ var mapFormulaFilterToCalculatorInput = function (filterValue) {
1467
1467
  if (!isFormulaFilterValue(filterValue)) {
1468
1468
  return {
1469
1469
  dbDataType: EClickHouseBaseTypes.Bool,
1470
- formula: fillTemplateString(displayConditionTemplate, { formula: filterValue.formula }),
1470
+ formula: fillTemplateString(displayConditionTemplate, {
1471
+ formula: prepareFormulaForSql(filterValue.formula),
1472
+ }),
1471
1473
  values: ["true"],
1472
1474
  filteringMethod: formulaFilterMethods.EQUAL_TO,
1473
1475
  };
package/dist/index.js CHANGED
@@ -1468,7 +1468,9 @@ var mapFormulaFilterToCalculatorInput = function (filterValue) {
1468
1468
  if (!isFormulaFilterValue(filterValue)) {
1469
1469
  return {
1470
1470
  dbDataType: exports.EClickHouseBaseTypes.Bool,
1471
- formula: fillTemplateString(displayConditionTemplate, { formula: filterValue.formula }),
1471
+ formula: fillTemplateString(displayConditionTemplate, {
1472
+ formula: prepareFormulaForSql(filterValue.formula),
1473
+ }),
1472
1474
  values: ["true"],
1473
1475
  filteringMethod: formulaFilterMethods.EQUAL_TO,
1474
1476
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.12.1",
3
+ "version": "5.12.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",