@infomaximum/widget-sdk 5.9.0 → 5.9.1

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.9.1](https://github.com/Infomaximum/widget-sdk/compare/v5.9.0...v5.9.1) (2025-03-11)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * исправлена генерация формулы меры для шаблона "Длительность" ([002562f](https://github.com/Infomaximum/widget-sdk/commit/002562f6714009464cda884b54cec97f99a0a038))
11
+
5
12
  ## [5.9.0](https://github.com/Infomaximum/widget-sdk/compare/v5.8.0...v5.9.0) (2025-03-03)
6
13
 
7
14
 
package/dist/index.esm.js CHANGED
@@ -1347,7 +1347,7 @@ function getMeasureFormula(_a) {
1347
1347
  if (!preparedParams) {
1348
1348
  return "";
1349
1349
  }
1350
- return fillTemplateString(conversionTemplate, preparedParams);
1350
+ return fillTemplateString(durationTemplates[value.templateName], preparedParams);
1351
1351
  }
1352
1352
  return "";
1353
1353
  }
package/dist/index.js CHANGED
@@ -1348,7 +1348,7 @@ function getMeasureFormula(_a) {
1348
1348
  if (!preparedParams) {
1349
1349
  return "";
1350
1350
  }
1351
- return fillTemplateString(conversionTemplate, preparedParams);
1351
+ return fillTemplateString(durationTemplates[value.templateName], preparedParams);
1352
1352
  }
1353
1353
  return "";
1354
1354
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.9.0",
3
+ "version": "5.9.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",