@snabcentr/common-lib 2.7.1 → 2.7.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.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-yxNBkSeIKUCCfDFElo1eroASXsGG5dhx5mKTujtdo0DHlHRMMxmyUum+NApX6OP+"
7
+ "integrity": "sha384-pEQulo4gOu1YvRdCFL4+WWU87Iz/0cjaJGO+W0ZRxz1hd/iOhIW+iEhUITti0Fs1"
8
8
  }
9
9
  }
@@ -1,4 +1,4 @@
1
- ## 2.7.1 (2026-05-26)
1
+ ## 2.7.2 (2026-06-01)
2
2
 
3
3
  No changes.
4
4
 
@@ -6103,7 +6103,7 @@ class bt extends mr {
6103
6103
  * Инициализирует экземпляр класса {@link OrderItem}.
6104
6104
  *
6105
6105
  * @param data Данные для первоначальной инициализации.
6106
- * @param replacement Позиция-заменитель, соответствующая {@link replacementId}.
6106
+ * @param replacement Продукт, которым заменена текущая запись.
6107
6107
  */
6108
6108
  constructor(e, s) {
6109
6109
  super(e);
@@ -6151,7 +6151,11 @@ class bt extends mr {
6151
6151
  * Список названий полей, значения которых отличаются между текущей позицией и позицией-заменителем.
6152
6152
  */
6153
6153
  t(this, "changedFields", []);
6154
- this.product = new G(e.product), this.currency = new O(e.currency), this.cost = e.cost, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.costRub = e.costRub, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.sawing = e.sawing, s && (this.quantity !== s.quantity && this.changedFields.push("quantity"), this.length !== s.length && this.changedFields.push("length"));
6154
+ /**
6155
+ * Продукт, которым заменена текущая запись.
6156
+ */
6157
+ t(this, "replacement");
6158
+ this.product = new G(e.product), this.currency = new O(e.currency), this.cost = e.cost, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.costRub = e.costRub, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.sawing = e.sawing, s && (this.replacement = s, this.quantity !== s.quantity && this.changedFields.push("quantity"), this.length !== s.length && this.changedFields.push("length"));
6155
6159
  }
6156
6160
  }
6157
6161
  class I extends Ir {