@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.
- package/dist/manifest.json +1 -1
- package/dist/release_notes.tmp +1 -1
- package/dist/sc-common-lib.js +6 -2
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/orders/classes/order-item.d.ts +5 -1
- package/dist/src/orders/classes/order-item.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/release_notes.tmp
CHANGED
package/dist/sc-common-lib.js
CHANGED
|
@@ -6103,7 +6103,7 @@ class bt extends mr {
|
|
|
6103
6103
|
* Инициализирует экземпляр класса {@link OrderItem}.
|
|
6104
6104
|
*
|
|
6105
6105
|
* @param data Данные для первоначальной инициализации.
|
|
6106
|
-
* @param replacement
|
|
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
|
-
|
|
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 {
|