@snabcentr/common-lib 2.7.0 → 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 +4 -0
- package/dist/sc-common-lib.js +64 -47
- 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/cart/interfaces/i-order-item-base.d.ts +4 -0
- package/dist/src/cart/interfaces/i-order-item-base.d.ts.map +1 -1
- package/dist/src/orders/classes/order-item-base.d.ts +4 -0
- package/dist/src/orders/classes/order-item-base.d.ts.map +1 -1
- package/dist/src/orders/classes/order-item.d.ts +11 -1
- package/dist/src/orders/classes/order-item.d.ts.map +1 -1
- package/dist/src/orders/classes/order.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
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var Lr = (i, r, e) => r in i ?
|
|
1
|
+
var kr = Object.defineProperty;
|
|
2
|
+
var Lr = (i, r, e) => r in i ? kr(i, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[r] = e;
|
|
3
3
|
var t = (i, r, e) => Lr(i, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import { jwtDecode as nr } from "jwt-decode";
|
|
5
5
|
import { merge as pe, isNil as A, isEmpty as X, noop as v, mapValues as or, isArray as H, every as _r, split as xr, isString as C, constant as Or, toUpper as qr, cloneDeep as Nr, toLower as Ur, isFunction as Fe, map as fe, forEach as Fr, isDate as xe, omitBy as cr, isObject as lr } from "lodash-es";
|
|
6
6
|
import { objectToCamel as He, objectToSnake as Ee } from "ts-case-convert";
|
|
7
7
|
import { defineStore as W } from "pinia";
|
|
8
8
|
import { ref as y, markRaw as Hr, computed as P } from "vue";
|
|
9
|
-
import { isAfter as Ve, parseISO as a, startOfToday as Oe, format as
|
|
9
|
+
import { isAfter as Ve, parseISO as a, startOfToday as Oe, format as k, addSeconds as jr, addBusinessDays as Gr, endOfTomorrow as Mr, startOfTomorrow as Br, endOfYesterday as zr, startOfYesterday as Wr, endOfToday as Jr, endOfDay as Er, startOfDay as Vr } from "date-fns";
|
|
10
10
|
import Kr, { CanceledError as Qr } from "axios";
|
|
11
11
|
class j {
|
|
12
12
|
/**
|
|
@@ -1261,7 +1261,11 @@ class mr extends re {
|
|
|
1261
1261
|
* @inheritDoc
|
|
1262
1262
|
*/
|
|
1263
1263
|
t(this, "originalId");
|
|
1264
|
-
|
|
1264
|
+
/**
|
|
1265
|
+
* @inheritDoc
|
|
1266
|
+
*/
|
|
1267
|
+
t(this, "replacementId");
|
|
1268
|
+
this.product = new G(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new we(), this.currency = e.currency ? new O(e.currency) : void 0, this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && Nr(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creator = e.creator && new _(e.creator), this.isRemoved = e.isRemoved, this.ord = e.ord, this.onOrder = e.onOrder, this.originalId = e.originalId, this.replacementId = e.replacementId;
|
|
1265
1269
|
}
|
|
1266
1270
|
}
|
|
1267
1271
|
let ct = class extends mr {
|
|
@@ -2107,7 +2111,7 @@ class oe extends re {
|
|
|
2107
2111
|
this.createdAt = C(e == null ? void 0 : e.createdAt) ? a(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = C(e == null ? void 0 : e.deletedAt) ? a(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new te(e == null ? void 0 : e.client), this.priceTemplate = new Q(e == null ? void 0 : e.priceTemplate);
|
|
2108
2112
|
}
|
|
2109
2113
|
}
|
|
2110
|
-
class
|
|
2114
|
+
class Ie extends yr {
|
|
2111
2115
|
/**
|
|
2112
2116
|
* Инициализирует экземпляр класса {@link PriceTemplateProduct}.
|
|
2113
2117
|
*
|
|
@@ -2574,8 +2578,8 @@ class Kt extends p {
|
|
|
2574
2578
|
return this.post(
|
|
2575
2579
|
`/internal/clients/${r}/price/templates/${e}`,
|
|
2576
2580
|
s && {
|
|
2577
|
-
startAt: s.startAt &&
|
|
2578
|
-
endAt: s.endAt &&
|
|
2581
|
+
startAt: s.startAt && k(s.startAt, n),
|
|
2582
|
+
endAt: s.endAt && k(s.endAt, n)
|
|
2579
2583
|
},
|
|
2580
2584
|
(o) => new oe(o.data),
|
|
2581
2585
|
{},
|
|
@@ -2608,8 +2612,8 @@ class Kt extends p {
|
|
|
2608
2612
|
return this.patch(
|
|
2609
2613
|
`/internal/clients/${r}/price/templates/${e}/${s}`,
|
|
2610
2614
|
n && {
|
|
2611
|
-
startAt: n.startAt &&
|
|
2612
|
-
endAt: n.endAt &&
|
|
2615
|
+
startAt: n.startAt && k(n.startAt, o),
|
|
2616
|
+
endAt: n.endAt && k(n.endAt, o)
|
|
2613
2617
|
},
|
|
2614
2618
|
(c) => new oe(c.data)
|
|
2615
2619
|
);
|
|
@@ -2884,7 +2888,7 @@ class Xe {
|
|
|
2884
2888
|
field: this.field,
|
|
2885
2889
|
op: this.op
|
|
2886
2890
|
};
|
|
2887
|
-
return r.value = xe(this.value) ?
|
|
2891
|
+
return r.value = xe(this.value) ? k(this.value, d().config.dateFormats.api) : this.value, r;
|
|
2888
2892
|
}
|
|
2889
2893
|
}
|
|
2890
2894
|
class M {
|
|
@@ -3015,7 +3019,7 @@ class es extends Ae {
|
|
|
3015
3019
|
return this.get(
|
|
3016
3020
|
`/internal/price/templates/${r}/products`,
|
|
3017
3021
|
{},
|
|
3018
|
-
(e) => e.data.map((s) => new
|
|
3022
|
+
(e) => e.data.map((s) => new Ie(s))
|
|
3019
3023
|
);
|
|
3020
3024
|
}
|
|
3021
3025
|
/**
|
|
@@ -3027,7 +3031,7 @@ class es extends Ae {
|
|
|
3027
3031
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_template_product_get
|
|
3028
3032
|
*/
|
|
3029
3033
|
getProductTemplatePrice(r, e) {
|
|
3030
|
-
return this.get(`/internal/price/templates/${r}/products/${e}`, {}, (s) => new
|
|
3034
|
+
return this.get(`/internal/price/templates/${r}/products/${e}`, {}, (s) => new Ie(s.data));
|
|
3031
3035
|
}
|
|
3032
3036
|
/**
|
|
3033
3037
|
* Сохраняет цену на продукт в шаблоне прайс-листа.
|
|
@@ -3046,7 +3050,7 @@ class es extends Ae {
|
|
|
3046
3050
|
price_coefficient_id: (n = s.coefficient) == null ? void 0 : n.id,
|
|
3047
3051
|
increase_percent: s.value
|
|
3048
3052
|
},
|
|
3049
|
-
(o) => new
|
|
3053
|
+
(o) => new Ie(o.data)
|
|
3050
3054
|
);
|
|
3051
3055
|
}
|
|
3052
3056
|
/**
|
|
@@ -4008,7 +4012,7 @@ class ae {
|
|
|
4008
4012
|
}
|
|
4009
4013
|
}
|
|
4010
4014
|
}
|
|
4011
|
-
class
|
|
4015
|
+
class ke extends re {
|
|
4012
4016
|
/**
|
|
4013
4017
|
* Инициализирует экземпляр класса {@link ContactRelation}.
|
|
4014
4018
|
*
|
|
@@ -4048,7 +4052,7 @@ class at extends z {
|
|
|
4048
4052
|
*/
|
|
4049
4053
|
addresses: []
|
|
4050
4054
|
});
|
|
4051
|
-
e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new
|
|
4055
|
+
e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new ke(s))), e.relations.clients && (this.relations.clients = e.relations.clients.map((s) => new ke(s))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((s) => new ke(s))));
|
|
4052
4056
|
}
|
|
4053
4057
|
}
|
|
4054
4058
|
class ue extends tt {
|
|
@@ -5481,7 +5485,7 @@ class ys {
|
|
|
5481
5485
|
this.paymentType = r == null ? void 0 : r.payment.type, this.deliveryType = r == null ? void 0 : r.delivery.type, this.contragentId = (e = r == null ? void 0 : r.contragent) == null ? void 0 : e.id, this.deliveryDate = r != null && r.delivery.date ? new Date(r.delivery.date) : void 0, this.addressId = (s = r == null ? void 0 : r.delivery.address) == null ? void 0 : s.id, this.warehouseId = (n = r == null ? void 0 : r.delivery.warehouse) == null ? void 0 : n.id, this.comment = r == null ? void 0 : r.comment, this.barcode = r == null ? void 0 : r.barcode, this.operatorsComment = r == null ? void 0 : r.operatorsComment, this.operatorsForWarehouseComment = r == null ? void 0 : r.operatorsForWarehouseComment, this.isAllowProcessingWithoutPayment = r == null ? void 0 : r.isAllowProcessingWithoutPayment;
|
|
5482
5486
|
}
|
|
5483
5487
|
}
|
|
5484
|
-
class
|
|
5488
|
+
class Ir extends Sr {
|
|
5485
5489
|
/**
|
|
5486
5490
|
* Инициализирует экземпляр класса {@link OrderInfo}.
|
|
5487
5491
|
*
|
|
@@ -6099,8 +6103,9 @@ class bt extends mr {
|
|
|
6099
6103
|
* Инициализирует экземпляр класса {@link OrderItem}.
|
|
6100
6104
|
*
|
|
6101
6105
|
* @param data Данные для первоначальной инициализации.
|
|
6106
|
+
* @param replacement Продукт, которым заменена текущая запись.
|
|
6102
6107
|
*/
|
|
6103
|
-
constructor(e) {
|
|
6108
|
+
constructor(e, s) {
|
|
6104
6109
|
super(e);
|
|
6105
6110
|
/**
|
|
6106
6111
|
* @inheritDoc
|
|
@@ -6142,10 +6147,18 @@ class bt extends mr {
|
|
|
6142
6147
|
* @inheritDoc
|
|
6143
6148
|
*/
|
|
6144
6149
|
t(this, "currency");
|
|
6145
|
-
|
|
6150
|
+
/**
|
|
6151
|
+
* Список названий полей, значения которых отличаются между текущей позицией и позицией-заменителем.
|
|
6152
|
+
*/
|
|
6153
|
+
t(this, "changedFields", []);
|
|
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"));
|
|
6146
6159
|
}
|
|
6147
6160
|
}
|
|
6148
|
-
class
|
|
6161
|
+
class I extends Ir {
|
|
6149
6162
|
/**
|
|
6150
6163
|
* Инициализирует экземпляр класса {@link Order}.
|
|
6151
6164
|
*
|
|
@@ -6206,7 +6219,11 @@ class k extends kr {
|
|
|
6206
6219
|
* @inheritDoc
|
|
6207
6220
|
*/
|
|
6208
6221
|
t(this, "erpOrderUrl");
|
|
6209
|
-
this.products = (e.products ?? []).map((n) =>
|
|
6222
|
+
this.products = (e.products ?? []).map((n) => {
|
|
6223
|
+
var c;
|
|
6224
|
+
const o = n.replacementId ? (c = e.products) == null ? void 0 : c.find((u) => u.id === n.replacementId) : void 0;
|
|
6225
|
+
return new bt(n, o);
|
|
6226
|
+
}), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ae.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new w(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment, this.nextStatuses = (s = e.nextStatuses) == null ? void 0 : s.map((n) => new $e(n)), this.actions = e.actions, this.operatorsComment = e.operatorsComment, this.operatorsForWarehouseComment = e.operatorsForWarehouseComment, this.erpOrderUrl = e.erpOrderUrl;
|
|
6210
6227
|
}
|
|
6211
6228
|
}
|
|
6212
6229
|
class St {
|
|
@@ -6255,7 +6272,7 @@ class Cs extends Ae {
|
|
|
6255
6272
|
{},
|
|
6256
6273
|
(o) => {
|
|
6257
6274
|
const c = { ...o.data };
|
|
6258
|
-
return c.data = c.data.map((u) => new
|
|
6275
|
+
return c.data = c.data.map((u) => new Ir(u)), c;
|
|
6259
6276
|
},
|
|
6260
6277
|
void 0,
|
|
6261
6278
|
n
|
|
@@ -6295,7 +6312,7 @@ class Cs extends Ae {
|
|
|
6295
6312
|
* @see /doc/api/internal#/Заказы/api_internal_orders_get
|
|
6296
6313
|
*/
|
|
6297
6314
|
getOrder(r) {
|
|
6298
|
-
return this.get(`/internal/orders/${r}`, {}, (e) => new
|
|
6315
|
+
return this.get(`/internal/orders/${r}`, {}, (e) => new I(e.data));
|
|
6299
6316
|
}
|
|
6300
6317
|
/**
|
|
6301
6318
|
* Создаёт новый заказ клиента из содержимого корзины текущего пользователя.
|
|
@@ -6314,9 +6331,9 @@ class Cs extends Ae {
|
|
|
6314
6331
|
`/internal/clients/${r}/orders/${e}`,
|
|
6315
6332
|
{
|
|
6316
6333
|
...s,
|
|
6317
|
-
deliveryDate:
|
|
6334
|
+
deliveryDate: k(s.deliveryDate, o)
|
|
6318
6335
|
},
|
|
6319
|
-
(c) => c.data.map((u) => new
|
|
6336
|
+
(c) => c.data.map((u) => new I(u)),
|
|
6320
6337
|
n
|
|
6321
6338
|
);
|
|
6322
6339
|
}
|
|
@@ -6328,7 +6345,7 @@ class Cs extends Ae {
|
|
|
6328
6345
|
* @see /doc/api/internal#/Заказы/api_internal_orders_attach
|
|
6329
6346
|
*/
|
|
6330
6347
|
attachOrder(r) {
|
|
6331
|
-
return this.patch(`/internal/orders/${r}/attach`, {}, (e) => new
|
|
6348
|
+
return this.patch(`/internal/orders/${r}/attach`, {}, (e) => new I(e.data));
|
|
6332
6349
|
}
|
|
6333
6350
|
/**
|
|
6334
6351
|
* Открепляет указанный заказ от оператора и возвращает полные данные заказа.
|
|
@@ -6338,7 +6355,7 @@ class Cs extends Ae {
|
|
|
6338
6355
|
* @see /doc/api/internal#/Заказы/api_internal_orders_detach
|
|
6339
6356
|
*/
|
|
6340
6357
|
detachOrder(r) {
|
|
6341
|
-
return this.patch(`/internal/orders/${r}/detach`, {}, (e) => new
|
|
6358
|
+
return this.patch(`/internal/orders/${r}/detach`, {}, (e) => new I(e.data));
|
|
6342
6359
|
}
|
|
6343
6360
|
/**
|
|
6344
6361
|
* Обновляет данные заказа без изменения состава товаров и возвращает обновлённые данные заказа.
|
|
@@ -6357,9 +6374,9 @@ class Cs extends Ae {
|
|
|
6357
6374
|
`/internal/orders/${r}`,
|
|
6358
6375
|
{
|
|
6359
6376
|
...e,
|
|
6360
|
-
deliveryDate: e.deliveryDate ?
|
|
6377
|
+
deliveryDate: e.deliveryDate ? k(e.deliveryDate, n) : void 0
|
|
6361
6378
|
},
|
|
6362
|
-
(o) => new
|
|
6379
|
+
(o) => new I(o.data),
|
|
6363
6380
|
s
|
|
6364
6381
|
);
|
|
6365
6382
|
}
|
|
@@ -6389,7 +6406,7 @@ class Cs extends Ae {
|
|
|
6389
6406
|
is_additional_sale: e.isAdditionalSale,
|
|
6390
6407
|
...e.configuratorParams
|
|
6391
6408
|
},
|
|
6392
|
-
(n) => new
|
|
6409
|
+
(n) => new I(n.data),
|
|
6393
6410
|
s
|
|
6394
6411
|
);
|
|
6395
6412
|
}
|
|
@@ -6412,7 +6429,7 @@ class Cs extends Ae {
|
|
|
6412
6429
|
status: e,
|
|
6413
6430
|
statusDetail: s
|
|
6414
6431
|
},
|
|
6415
|
-
(o) => new
|
|
6432
|
+
(o) => new I(o.data),
|
|
6416
6433
|
n
|
|
6417
6434
|
);
|
|
6418
6435
|
}
|
|
@@ -6439,7 +6456,7 @@ class Cs extends Ae {
|
|
|
6439
6456
|
* @see /doc/api/internal#/Заказы/api_internal_orders_change_attached_operator
|
|
6440
6457
|
*/
|
|
6441
6458
|
changeAttachedOperator(r, e) {
|
|
6442
|
-
return this.patch(`/internal/orders/${r}/change-attached-operator`, { operatorId: e }, (s) => new
|
|
6459
|
+
return this.patch(`/internal/orders/${r}/change-attached-operator`, { operatorId: e }, (s) => new I(s.data));
|
|
6443
6460
|
}
|
|
6444
6461
|
/**
|
|
6445
6462
|
* Удаляет файл, прикреплённый к заказу клиентом, и возвращает обновлённые данные заказа.
|
|
@@ -6449,7 +6466,7 @@ class Cs extends Ae {
|
|
|
6449
6466
|
* @see /doc/api/internal#/Заказы/api_internal_orders_attached_file_delete
|
|
6450
6467
|
*/
|
|
6451
6468
|
deleteOrderAttachedFile(r) {
|
|
6452
|
-
return this.delete(`/internal/orders/${r}/file/attached`, (e) => new
|
|
6469
|
+
return this.delete(`/internal/orders/${r}/file/attached`, (e) => new I(e.data));
|
|
6453
6470
|
}
|
|
6454
6471
|
/**
|
|
6455
6472
|
* Удаляет продукт из заказа и возвращает обновлённые данные заказа.
|
|
@@ -6460,7 +6477,7 @@ class Cs extends Ae {
|
|
|
6460
6477
|
* @see /doc/api/internal#/operations/api_internal_orders_product_delete
|
|
6461
6478
|
*/
|
|
6462
6479
|
deleteOrderProduct(r, e) {
|
|
6463
|
-
return this.delete(`/internal/orders/${r}/products/${e}`, (s) => new
|
|
6480
|
+
return this.delete(`/internal/orders/${r}/products/${e}`, (s) => new I(s.data));
|
|
6464
6481
|
}
|
|
6465
6482
|
/**
|
|
6466
6483
|
* Изменяет продукт заказа и возвращает обновлённые данные заказа.
|
|
@@ -6488,7 +6505,7 @@ class Cs extends Ae {
|
|
|
6488
6505
|
marker: s.marker,
|
|
6489
6506
|
...s.configuratorParams
|
|
6490
6507
|
},
|
|
6491
|
-
(o) => new
|
|
6508
|
+
(o) => new I(o.data),
|
|
6492
6509
|
n
|
|
6493
6510
|
);
|
|
6494
6511
|
}
|
|
@@ -6527,7 +6544,7 @@ class Cs extends Ae {
|
|
|
6527
6544
|
return this.get(
|
|
6528
6545
|
`/internal/orders/delivery/${r}/cost`,
|
|
6529
6546
|
{
|
|
6530
|
-
date:
|
|
6547
|
+
date: k(e, o),
|
|
6531
6548
|
warehouse_id: s
|
|
6532
6549
|
},
|
|
6533
6550
|
(c) => c.data,
|
|
@@ -6694,7 +6711,7 @@ class dt {
|
|
|
6694
6711
|
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = C(r.costDate) ? a(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new he(r.product) : void 0, this.client = r.client ? new _(r.client) : void 0, this.executor = r.executor ? new _(r.executor) : void 0, this.currency = r.currency ? new O(r.currency) : void 0;
|
|
6695
6712
|
}
|
|
6696
6713
|
}
|
|
6697
|
-
class
|
|
6714
|
+
class It extends he {
|
|
6698
6715
|
/**
|
|
6699
6716
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
6700
6717
|
*
|
|
@@ -6722,14 +6739,14 @@ class Rs extends p {
|
|
|
6722
6739
|
const e = d().config.dateFormats.api, s = cr(
|
|
6723
6740
|
pe(r, {
|
|
6724
6741
|
costDate: {
|
|
6725
|
-
from: xe((o = r.costDate) == null ? void 0 : o.from) ?
|
|
6726
|
-
to: xe((u = r.costDate) == null ? void 0 : u.to) ?
|
|
6742
|
+
from: xe((o = r.costDate) == null ? void 0 : o.from) ? k(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
|
|
6743
|
+
to: xe((u = r.costDate) == null ? void 0 : u.to) ? k(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
|
|
6727
6744
|
}
|
|
6728
6745
|
}),
|
|
6729
6746
|
(f) => A(f) || (H(f) || lr(f)) && X(f)
|
|
6730
6747
|
), n = ((m = r.product) == null ? void 0 : m[0]) ?? 0;
|
|
6731
6748
|
return delete s.product, this.get(`/internal/price/products/${n}/history`, s).then((f) => [
|
|
6732
|
-
new
|
|
6749
|
+
new It(pe(f[0], { history: f }))
|
|
6733
6750
|
]);
|
|
6734
6751
|
}
|
|
6735
6752
|
}
|
|
@@ -6797,7 +6814,7 @@ class Ps extends p {
|
|
|
6797
6814
|
});
|
|
6798
6815
|
}
|
|
6799
6816
|
}
|
|
6800
|
-
class
|
|
6817
|
+
class kt {
|
|
6801
6818
|
/**
|
|
6802
6819
|
* Инициализирует экземпляр класса {@link MetaTagItem}.
|
|
6803
6820
|
*
|
|
@@ -6855,7 +6872,7 @@ class ir {
|
|
|
6855
6872
|
*/
|
|
6856
6873
|
t(this, "tags");
|
|
6857
6874
|
var e;
|
|
6858
|
-
this.resourceType = new Pr(r == null ? void 0 : r.resourceType), this.resourceId = (r == null ? void 0 : r.resourceId) ?? "", this.h1 = r == null ? void 0 : r.h1, this.title = r == null ? void 0 : r.title, this.description = r == null ? void 0 : r.description, this.keywords = r == null ? void 0 : r.keywords, this.meta = ((e = r == null ? void 0 : r.meta) == null ? void 0 : e.map((s) => new
|
|
6875
|
+
this.resourceType = new Pr(r == null ? void 0 : r.resourceType), this.resourceId = (r == null ? void 0 : r.resourceId) ?? "", this.h1 = r == null ? void 0 : r.h1, this.title = r == null ? void 0 : r.title, this.description = r == null ? void 0 : r.description, this.keywords = r == null ? void 0 : r.keywords, this.meta = ((e = r == null ? void 0 : r.meta) == null ? void 0 : e.map((s) => new kt(s))) ?? [], this.tags = r == null ? void 0 : r.tags;
|
|
6859
6876
|
}
|
|
6860
6877
|
}
|
|
6861
6878
|
class Ds extends p {
|
|
@@ -7068,7 +7085,7 @@ export {
|
|
|
7068
7085
|
z as ContactPerson,
|
|
7069
7086
|
at as ContactPersonRelated,
|
|
7070
7087
|
ft as ContactPosition,
|
|
7071
|
-
|
|
7088
|
+
ke as ContactRelation,
|
|
7072
7089
|
Ar as ContragentBase,
|
|
7073
7090
|
ae as ContragentFactory,
|
|
7074
7091
|
$r as ContragentIc,
|
|
@@ -7107,15 +7124,15 @@ export {
|
|
|
7107
7124
|
Be as ManagerCommon,
|
|
7108
7125
|
fs as ManagerDataFactory,
|
|
7109
7126
|
At as ManagerDataProvider,
|
|
7110
|
-
|
|
7127
|
+
kt as MetaTagItem,
|
|
7111
7128
|
b as NamedIdentity,
|
|
7112
7129
|
ar as Operator,
|
|
7113
7130
|
B as Opf,
|
|
7114
7131
|
U as OpfEnum,
|
|
7115
|
-
|
|
7132
|
+
I as Order,
|
|
7116
7133
|
$t as OrderAction,
|
|
7117
7134
|
ys as OrderEditorData,
|
|
7118
|
-
|
|
7135
|
+
Ir as OrderInfo,
|
|
7119
7136
|
bt as OrderItem,
|
|
7120
7137
|
mr as OrderItemBase,
|
|
7121
7138
|
yt as OrderPaymentStatus,
|
|
@@ -7139,7 +7156,7 @@ export {
|
|
|
7139
7156
|
de as PriceTemplateCategory,
|
|
7140
7157
|
oe as PriceTemplateClient,
|
|
7141
7158
|
yr as PriceTemplateICatalogableItem,
|
|
7142
|
-
|
|
7159
|
+
Ie as PriceTemplateProduct,
|
|
7143
7160
|
es as PriceTemplateProvider,
|
|
7144
7161
|
le as PricingRole,
|
|
7145
7162
|
rs as PricingRoleProvider,
|
|
@@ -7149,7 +7166,7 @@ export {
|
|
|
7149
7166
|
Yt as ProductDataProvider,
|
|
7150
7167
|
wt as ProductFileType,
|
|
7151
7168
|
Ge as ProductPriceCoefficient,
|
|
7152
|
-
|
|
7169
|
+
It as ProductPriceHistory,
|
|
7153
7170
|
Qe as ProductUnit,
|
|
7154
7171
|
ts as PropertiesProvider,
|
|
7155
7172
|
ce as Property,
|