@snabcentr/common-lib 1.55.1 → 1.57.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.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-l8BlQwKh2z4QRwxZgMNPCUmOqIAPK5eVzy+Zo9hZS/JHfXuDE8ZTrY2RTaC4aoxk"
7
+ "integrity": "sha384-YmVcyZhY7jJL8B+5xQA9b41GQOx73OclCh2UmYsjLpbkq+G6heVd/WDRc/Evn41h"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- ## 1.55.1 (2025-06-04)
1
+ ## 1.57.0 (2025-06-05)
2
2
 
3
3
  ### changed (1 change)
4
4
 
5
- - [#11607: Доработан механизм получения дополнительных данных о клиентах](web_soft/libs/ts/snabcentr-common-lib@9a96f717f144f524873681d507ef788f2a27fc57) ([merge request](web_soft/libs/ts/snabcentr-common-lib!96))
5
+ - [#11773: Доработаны настройки шрифтов и добавлены параметры их масштабирования.](web_soft/libs/ts/snabcentr-common-lib@08b2844e5a1ac61407828d4baa8336bb6784acca) ([merge request](web_soft/libs/ts/snabcentr-common-lib!98))
6
6
 
@@ -104,7 +104,11 @@ class se extends De {
104
104
  * Список свойств. Число свойств в объекте не ограничено.
105
105
  */
106
106
  t(this, "properties");
107
- this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1, this.parentCategoryId = e == null ? void 0 : e.parentCategoryId, this.properties = e == null ? void 0 : e.properties, this.type = "category";
107
+ /**
108
+ * Список коэффициентов пересчёта из валют в рубли в формате ключ значение.
109
+ */
110
+ t(this, "currencyRates");
111
+ this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1, this.parentCategoryId = e == null ? void 0 : e.parentCategoryId, this.properties = e == null ? void 0 : e.properties, this.type = "category", this.currencyRates = e == null ? void 0 : e.currencyRates;
108
112
  }
109
113
  }
110
114
  var ze = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n.Retail = "retail", n))(ze || {});
@@ -702,7 +706,7 @@ class mt {
702
706
  api: ((e = r == null ? void 0 : r.dateFormats) == null ? void 0 : e.api) ?? "yyyy-MM-dd HH:mm:ss",
703
707
  uiDate: ((s = r == null ? void 0 : r.dateFormats) == null ? void 0 : s.uiDate) ?? "dd.MM.yyyy",
704
708
  uiDateWithTime: ((i = r == null ? void 0 : r.dateFormats) == null ? void 0 : i.uiDateWithTime) ?? "dd.MM.yyyy HH:mm"
705
- }, this.themes = r == null ? void 0 : r.themes, this.minSearchTermLength = (r == null ? void 0 : r.minSearchTermLength) ?? 3;
709
+ }, this.minSearchTermLength = (r == null ? void 0 : r.minSearchTermLength) ?? 3, r != null && r.themes && (this.themes = r.themes);
706
710
  }
707
711
  }
708
712
  class ae {