@snabcentr/common-lib 1.62.2 → 1.62.3
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 +2 -6
- package/dist/sc-common-lib.js +48 -48
- 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/catalog/classes/price-template-client.d.ts +2 -2
- package/dist/src/catalog/classes/price-template-client.d.ts.map +1 -1
- package/dist/src/catalog/interfaces/i-price-template-client.d.ts +2 -2
- package/dist/src/catalog/interfaces/i-price-template-client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/release_notes.tmp
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
## 1.62.
|
|
2
|
-
|
|
3
|
-
### fixed (1 change)
|
|
4
|
-
|
|
5
|
-
- [#11920: Исправлена ошибка проверки isNewRec в классе Identity](web_soft/libs/ts/snabcentr-common-lib@8cdf894fc5e8f574449adc9ef878bd1924607688) ([merge request](web_soft/libs/ts/snabcentr-common-lib!117))
|
|
1
|
+
## 1.62.3 (2025-07-31)
|
|
6
2
|
|
|
7
3
|
### changed (1 change)
|
|
8
4
|
|
|
9
|
-
- [#
|
|
5
|
+
- [#11876: Изменены поля класса PriceTemplateClient: startAt переименован в...](web_soft/libs/ts/snabcentr-common-lib@b9696a8f4a1a842e5c4d28dcffecaf259eb93900) ([merge request](web_soft/libs/ts/snabcentr-common-lib!118))
|
|
10
6
|
|
package/dist/sc-common-lib.js
CHANGED
|
@@ -2,7 +2,7 @@ var or = Object.defineProperty;
|
|
|
2
2
|
var cr = (n, r, e) => r in n ? or(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
|
|
3
3
|
var s = (n, r, e) => cr(n, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import { isNil as U, toUpper as lr, constant as ur, isUndefined as pr, isString as m, cloneDeep as hr, noop as y, toLower as gr, isEmpty as ae, isFunction as Le, map as ce, forEach as mr, isDate as fr, isArray as Be, omitBy as yr, isObject as wr } from "lodash-es";
|
|
5
|
-
import { parseISO as f, format as W, addSeconds as Cr, isAfter as vr, startOfToday as We, addBusinessDays as Pr, endOfTomorrow as Rr, startOfTomorrow as
|
|
5
|
+
import { parseISO as f, format as W, addSeconds as Cr, isAfter as vr, startOfToday as We, addBusinessDays as Pr, endOfTomorrow as Rr, startOfTomorrow as Ar, endOfYesterday as Dr, startOfYesterday as $r, endOfToday as br, endOfDay as Tr, startOfDay as _r } from "date-fns";
|
|
6
6
|
import Sr from "axios";
|
|
7
7
|
import { objectToSnake as Oe, objectToCamel as ar } from "ts-case-convert";
|
|
8
8
|
import { defineStore as me } from "pinia";
|
|
@@ -938,7 +938,7 @@ const E = class E extends be {
|
|
|
938
938
|
getTypedDataArrayRequester(e, t, i = !1, o = {}) {
|
|
939
939
|
const c = t + (ae(o) ? "" : ` >>> ${JSON.stringify(o)}`), u = i ? E.getCachedResponse(c) : void 0;
|
|
940
940
|
return u ? Promise.resolve(u) : this.get(t, o).then((g) => {
|
|
941
|
-
const R = g.map((
|
|
941
|
+
const R = g.map((D) => xe.instanceInitializer(e, D));
|
|
942
942
|
return i && R && this.cacheResponse(t, R), R;
|
|
943
943
|
});
|
|
944
944
|
}
|
|
@@ -1553,11 +1553,11 @@ class X extends z {
|
|
|
1553
1553
|
/**
|
|
1554
1554
|
* Дата и время начала действия шаблона.
|
|
1555
1555
|
*/
|
|
1556
|
-
s(this, "
|
|
1556
|
+
s(this, "createdAt");
|
|
1557
1557
|
/**
|
|
1558
1558
|
* Дата и время окончания действия шаблона.
|
|
1559
1559
|
*/
|
|
1560
|
-
s(this, "
|
|
1560
|
+
s(this, "deletedAt");
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Данные о клиенте.
|
|
1563
1563
|
*/
|
|
@@ -1566,7 +1566,7 @@ class X extends z {
|
|
|
1566
1566
|
* Данные шаблона прайс-листа.
|
|
1567
1567
|
*/
|
|
1568
1568
|
s(this, "priceTemplate");
|
|
1569
|
-
this.
|
|
1569
|
+
this.createdAt = m(e == null ? void 0 : e.createdAt) ? f(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = m(e == null ? void 0 : e.deletedAt) ? f(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new ne(e == null ? void 0 : e.client), this.priceTemplate = new j(e == null ? void 0 : e.priceTemplate);
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
1572
|
class Pe extends Je {
|
|
@@ -1646,7 +1646,7 @@ class O {
|
|
|
1646
1646
|
this.from = m(r == null ? void 0 : r.from) ? f(r.from) : (r == null ? void 0 : r.from) ?? null, this.to = m(r == null ? void 0 : r.to) ? f(r.to) : (r == null ? void 0 : r.to) ?? null;
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
|
-
class
|
|
1649
|
+
class At {
|
|
1650
1650
|
/**
|
|
1651
1651
|
* Инициализирует экземпляр класса {@link TemplatesListFilters}.
|
|
1652
1652
|
*
|
|
@@ -1714,7 +1714,7 @@ class Wr extends w {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
class Xe extends w {
|
|
1716
1716
|
}
|
|
1717
|
-
class
|
|
1717
|
+
class Dt extends w {
|
|
1718
1718
|
}
|
|
1719
1719
|
class jr extends w {
|
|
1720
1720
|
}
|
|
@@ -1765,7 +1765,7 @@ class Ze extends w {
|
|
|
1765
1765
|
}
|
|
1766
1766
|
class er extends w {
|
|
1767
1767
|
}
|
|
1768
|
-
class
|
|
1768
|
+
class A extends p {
|
|
1769
1769
|
/**
|
|
1770
1770
|
* Возвращает {@link Promise} для получения данных указанного справочника.
|
|
1771
1771
|
*
|
|
@@ -4326,7 +4326,7 @@ class Ut extends Ce {
|
|
|
4326
4326
|
* @see /doc/api/internal#/Контрагенты/api_internal_client_contragent_create
|
|
4327
4327
|
*/
|
|
4328
4328
|
createContragentClientData(r, e, t = {}) {
|
|
4329
|
-
var g, R,
|
|
4329
|
+
var g, R, D, L, I, x, k, N;
|
|
4330
4330
|
let i;
|
|
4331
4331
|
const o = e, c = e, u = e;
|
|
4332
4332
|
switch (e.opf.slug) {
|
|
@@ -4353,7 +4353,7 @@ class Ut extends Ce {
|
|
|
4353
4353
|
opf: c.opf.slug,
|
|
4354
4354
|
name: c.name,
|
|
4355
4355
|
alternative_name: c.alternativeName,
|
|
4356
|
-
partner_group_id: (
|
|
4356
|
+
partner_group_id: (D = c.partnerGroup) == null ? void 0 : D.id,
|
|
4357
4357
|
manager_id: (L = c.manager) == null ? void 0 : L.id,
|
|
4358
4358
|
comment: c.comment,
|
|
4359
4359
|
inn: c.inn,
|
|
@@ -4415,7 +4415,7 @@ class Ut extends Ce {
|
|
|
4415
4415
|
* @see /doc/api/internal#/Контрагенты/api_internal_client_contragent_update
|
|
4416
4416
|
*/
|
|
4417
4417
|
updateContragentClientData(r, e, t = {}) {
|
|
4418
|
-
var g, R,
|
|
4418
|
+
var g, R, D, L, I, x, k, N;
|
|
4419
4419
|
let i;
|
|
4420
4420
|
const o = e, c = e, u = e;
|
|
4421
4421
|
switch (e.opf.slug) {
|
|
@@ -4442,7 +4442,7 @@ class Ut extends Ce {
|
|
|
4442
4442
|
opf: c.opf.slug,
|
|
4443
4443
|
name: c.name,
|
|
4444
4444
|
alternative_name: c.alternativeName,
|
|
4445
|
-
partner_group_id: (
|
|
4445
|
+
partner_group_id: (D = c.partnerGroup) == null ? void 0 : D.id,
|
|
4446
4446
|
manager_id: (L = c.manager) == null ? void 0 : L.id,
|
|
4447
4447
|
comment: c.comment,
|
|
4448
4448
|
inn: c.inn,
|
|
@@ -4946,8 +4946,8 @@ class Ft {
|
|
|
4946
4946
|
// 'Следующий рабочий день' - это значение по-умолчанию
|
|
4947
4947
|
nextWorkingDay: { label: "Следующий рабочий день", from: _r(r), to: Tr(r) },
|
|
4948
4948
|
today: { label: "Сегодня", from: We(), to: br() },
|
|
4949
|
-
yesterday: { label: "Вчера", from: $r(), to:
|
|
4950
|
-
tomorrow: { label: "Завтра", from:
|
|
4949
|
+
yesterday: { label: "Вчера", from: $r(), to: Dr() },
|
|
4950
|
+
tomorrow: { label: "Завтра", from: Ar(), to: Rr() }
|
|
4951
4951
|
};
|
|
4952
4952
|
}
|
|
4953
4953
|
}
|
|
@@ -5027,7 +5027,7 @@ class nr extends ir {
|
|
|
5027
5027
|
* @param data Данные для первоначальной инициализации.
|
|
5028
5028
|
*/
|
|
5029
5029
|
constructor(e) {
|
|
5030
|
-
var t, i, o, c, u, g, R,
|
|
5030
|
+
var t, i, o, c, u, g, R, D;
|
|
5031
5031
|
super(e);
|
|
5032
5032
|
/**
|
|
5033
5033
|
* Краткие данные о клиенте.
|
|
@@ -5077,7 +5077,7 @@ class nr extends ir {
|
|
|
5077
5077
|
type: ((c = e == null ? void 0 : e.delivery) == null ? void 0 : c.type) ?? -1,
|
|
5078
5078
|
date: m((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? f(e.delivery.date) : ((g = e == null ? void 0 : e.delivery) == null ? void 0 : g.date) ?? /* @__PURE__ */ new Date(),
|
|
5079
5079
|
address: (R = e == null ? void 0 : e.delivery) != null && R.address ? new ge(e.delivery.address) : void 0,
|
|
5080
|
-
warehouse: (
|
|
5080
|
+
warehouse: (D = e == null ? void 0 : e.delivery) != null && D.warehouse ? new ye(e.delivery.warehouse) : void 0
|
|
5081
5081
|
}, this.attachedUser = new G(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new S(e == null ? void 0 : e.salesDirection), this.pendingAt = m(e == null ? void 0 : e.pendingAt) ? f(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = m(e == null ? void 0 : e.processedAt) ? f(e.processedAt) : e == null ? void 0 : e.processedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
|
|
5082
5082
|
}
|
|
5083
5083
|
}
|
|
@@ -5241,7 +5241,7 @@ class zt extends Ce {
|
|
|
5241
5241
|
return this.get(`/internal/orders/${r}`, {}, (e) => new lt(e.data));
|
|
5242
5242
|
}
|
|
5243
5243
|
}
|
|
5244
|
-
class
|
|
5244
|
+
class Ae {
|
|
5245
5245
|
/**
|
|
5246
5246
|
* Инициализирует экземпляр класса {@link PriceAnalyze}.
|
|
5247
5247
|
*
|
|
@@ -5271,7 +5271,7 @@ class De {
|
|
|
5271
5271
|
this.client = new ne(r == null ? void 0 : r.client), this.product = new _(r == null ? void 0 : r.product), this.cost = (r == null ? void 0 : r.cost) ?? 0, this.costCoefficient = (r == null ? void 0 : r.costCoefficient) ?? 0, this.source = (r == null ? void 0 : r.source) ?? ke.Product;
|
|
5272
5272
|
}
|
|
5273
5273
|
}
|
|
5274
|
-
const
|
|
5274
|
+
const De = (n) => {
|
|
5275
5275
|
var r, e, t, i, o;
|
|
5276
5276
|
return n ? yr(
|
|
5277
5277
|
{
|
|
@@ -5303,9 +5303,9 @@ class Bt extends p {
|
|
|
5303
5303
|
`/internal/price/products/${r}/analyze`,
|
|
5304
5304
|
{
|
|
5305
5305
|
...He(e),
|
|
5306
|
-
filters:
|
|
5306
|
+
filters: De(t)
|
|
5307
5307
|
},
|
|
5308
|
-
(i) => i.data.map((o) => new
|
|
5308
|
+
(i) => i.data.map((o) => new Ae(o))
|
|
5309
5309
|
);
|
|
5310
5310
|
}
|
|
5311
5311
|
/**
|
|
@@ -5322,9 +5322,9 @@ class Bt extends p {
|
|
|
5322
5322
|
`/internal/price/categories/${r}/analyze`,
|
|
5323
5323
|
{
|
|
5324
5324
|
...He(e),
|
|
5325
|
-
filters:
|
|
5325
|
+
filters: De(t)
|
|
5326
5326
|
},
|
|
5327
|
-
(i) => i.data.map((o) => new
|
|
5327
|
+
(i) => i.data.map((o) => new Ae(o))
|
|
5328
5328
|
);
|
|
5329
5329
|
}
|
|
5330
5330
|
/**
|
|
@@ -5343,9 +5343,9 @@ class Bt extends p {
|
|
|
5343
5343
|
`/internal/price/categories/${r}/analyze/square`,
|
|
5344
5344
|
{
|
|
5345
5345
|
...e,
|
|
5346
|
-
filters:
|
|
5346
|
+
filters: De(t)
|
|
5347
5347
|
},
|
|
5348
|
-
(i) => i.data.map((o) => new
|
|
5348
|
+
(i) => i.data.map((o) => new Ae(o))
|
|
5349
5349
|
);
|
|
5350
5350
|
}
|
|
5351
5351
|
}
|
|
@@ -5438,7 +5438,7 @@ class Wt extends p {
|
|
|
5438
5438
|
}
|
|
5439
5439
|
}
|
|
5440
5440
|
const P = me("__references_private", () => {
|
|
5441
|
-
const n = C({}), r = C(void 0), e = C(void 0), t = C(void 0), i = C(void 0), o = C(void 0), c = C(void 0), u = C(void 0), g = C(void 0), R = C(void 0),
|
|
5441
|
+
const n = C({}), r = C(void 0), e = C(void 0), t = C(void 0), i = C(void 0), o = C(void 0), c = C(void 0), u = C(void 0), g = C(void 0), R = C(void 0), D = C(void 0), L = C(void 0), I = C(void 0), x = C(void 0), k = C(void 0), N = C(void 0), d = C(void 0), l = C(void 0);
|
|
5442
5442
|
return {
|
|
5443
5443
|
/**
|
|
5444
5444
|
* Список загружаемых/загруженных на данный момент значений.
|
|
@@ -5483,7 +5483,7 @@ const P = me("__references_private", () => {
|
|
|
5483
5483
|
/**
|
|
5484
5484
|
* Справочник групп партнеров.
|
|
5485
5485
|
*/
|
|
5486
|
-
partnerGroupReference:
|
|
5486
|
+
partnerGroupReference: D,
|
|
5487
5487
|
/**
|
|
5488
5488
|
* Справочник типов файлов продукктов/категорий.
|
|
5489
5489
|
*/
|
|
@@ -5516,67 +5516,67 @@ const P = me("__references_private", () => {
|
|
|
5516
5516
|
}), jt = me("references", () => {
|
|
5517
5517
|
const n = v(() => {
|
|
5518
5518
|
const l = P();
|
|
5519
|
-
return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(
|
|
5519
|
+
return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(A).getChannelPrimaryInterest().then((h) => {
|
|
5520
5520
|
l.channelPrimaryInterestReference = h;
|
|
5521
5521
|
}).catch(y)), l.channelPrimaryInterestReference;
|
|
5522
5522
|
}), r = v(() => {
|
|
5523
5523
|
const l = P();
|
|
5524
|
-
return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, p.getInstance(
|
|
5524
|
+
return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, p.getInstance(A).getContactPositions().then((h) => {
|
|
5525
5525
|
l.contactPositionsReference = h;
|
|
5526
5526
|
}).catch(y)), l.contactPositionsReference;
|
|
5527
5527
|
}), e = v(() => {
|
|
5528
5528
|
const l = P();
|
|
5529
|
-
return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, p.getInstance(
|
|
5529
|
+
return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, p.getInstance(A).getCurrency().then((h) => {
|
|
5530
5530
|
l.currencyReference = h;
|
|
5531
5531
|
}).catch(y)), l.currencyReference;
|
|
5532
5532
|
}), t = v(() => {
|
|
5533
5533
|
const l = P();
|
|
5534
|
-
return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, p.getInstance(
|
|
5534
|
+
return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, p.getInstance(A).getOpf().then((h) => {
|
|
5535
5535
|
l.opfReference = h;
|
|
5536
5536
|
}).catch(y)), l.opfReference;
|
|
5537
5537
|
}), i = v(() => {
|
|
5538
5538
|
const l = P();
|
|
5539
|
-
return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance(
|
|
5539
|
+
return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance(A).getOrderPaymentStatuses().then((h) => {
|
|
5540
5540
|
l.orderPaymentStatusReference = h;
|
|
5541
5541
|
}).catch(y)), l.orderPaymentStatusReference;
|
|
5542
5542
|
}), o = v(() => {
|
|
5543
5543
|
const l = P();
|
|
5544
|
-
return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, p.getInstance(
|
|
5544
|
+
return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, p.getInstance(A).getOrderStatuses().then((h) => {
|
|
5545
5545
|
l.orderStatusReference = h;
|
|
5546
5546
|
}).catch(y)), l.orderStatusReference;
|
|
5547
5547
|
}), c = v(() => {
|
|
5548
5548
|
const l = P();
|
|
5549
|
-
return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, p.getInstance(
|
|
5549
|
+
return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, p.getInstance(A).getPaymentTypes().then((h) => {
|
|
5550
5550
|
l.paymentTypeReference = h;
|
|
5551
5551
|
}).catch(y)), l.paymentTypeReference;
|
|
5552
5552
|
}), u = v(() => {
|
|
5553
5553
|
const l = P();
|
|
5554
|
-
return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, p.getInstance(
|
|
5554
|
+
return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, p.getInstance(A).getPartnerGroup().then((h) => {
|
|
5555
5555
|
l.partnerGroupReference = h;
|
|
5556
5556
|
}).catch(y)), l.partnerGroupReference;
|
|
5557
5557
|
}), g = v(() => {
|
|
5558
5558
|
const l = P();
|
|
5559
|
-
return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, p.getInstance(
|
|
5559
|
+
return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, p.getInstance(A).getProductFileType().then((h) => {
|
|
5560
5560
|
l.productFileTypeReference = h;
|
|
5561
5561
|
}).catch(y)), l.productFileTypeReference;
|
|
5562
5562
|
}), R = v(() => {
|
|
5563
5563
|
const l = P();
|
|
5564
|
-
return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, p.getInstance(
|
|
5564
|
+
return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, p.getInstance(A).getResourceTypes().then((h) => {
|
|
5565
5565
|
l.resourceTypesReference = h;
|
|
5566
5566
|
}).catch(y)), l.resourceTypesReference;
|
|
5567
|
-
}),
|
|
5567
|
+
}), D = v(() => {
|
|
5568
5568
|
const l = P();
|
|
5569
|
-
return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, p.getInstance(
|
|
5569
|
+
return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, p.getInstance(A).getSalesDirections().then((h) => {
|
|
5570
5570
|
l.salesDirectionsReference = h;
|
|
5571
5571
|
}).catch(y)), l.salesDirectionsReference;
|
|
5572
5572
|
}), L = v(() => {
|
|
5573
5573
|
const l = P();
|
|
5574
|
-
return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(
|
|
5574
|
+
return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(A).getSourcePrimaryInterest().then((h) => {
|
|
5575
5575
|
l.sourcePrimaryInterestReference = h;
|
|
5576
5576
|
}).catch(y)), l.sourcePrimaryInterestReference;
|
|
5577
5577
|
}), I = v(() => {
|
|
5578
5578
|
const l = P();
|
|
5579
|
-
return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, p.getInstance(
|
|
5579
|
+
return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, p.getInstance(A).getDeliveryTypes().then((h) => {
|
|
5580
5580
|
l.deliveryTypeReference = h;
|
|
5581
5581
|
}).catch(y)), l.deliveryTypeReference;
|
|
5582
5582
|
}), x = v(() => {
|
|
@@ -5586,17 +5586,17 @@ const P = me("__references_private", () => {
|
|
|
5586
5586
|
}).catch(y)), l.managersList;
|
|
5587
5587
|
}), k = v(() => {
|
|
5588
5588
|
const l = P();
|
|
5589
|
-
return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, p.getInstance(
|
|
5589
|
+
return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, p.getInstance(A).getWarehouses().then((h) => {
|
|
5590
5590
|
l.warehousesReference = h;
|
|
5591
5591
|
}).catch(y)), l.warehousesReference;
|
|
5592
5592
|
}), N = v(() => {
|
|
5593
5593
|
const l = P();
|
|
5594
|
-
return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, p.getInstance(
|
|
5594
|
+
return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, p.getInstance(A).getPropertyTypes().then((h) => {
|
|
5595
5595
|
l.propertyTypesReference = h;
|
|
5596
5596
|
}).catch(y)), l.propertyTypesReference;
|
|
5597
5597
|
}), d = v(() => {
|
|
5598
5598
|
const l = P();
|
|
5599
|
-
return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, p.getInstance(
|
|
5599
|
+
return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, p.getInstance(A).getPriceCoefficients().then((h) => {
|
|
5600
5600
|
l.priceCoefficientsReference = h;
|
|
5601
5601
|
}).catch(y)), l.priceCoefficientsReference;
|
|
5602
5602
|
});
|
|
@@ -5644,7 +5644,7 @@ const P = me("__references_private", () => {
|
|
|
5644
5644
|
/**
|
|
5645
5645
|
* Справочник направлений продаж.
|
|
5646
5646
|
*/
|
|
5647
|
-
salesDirectionsReference:
|
|
5647
|
+
salesDirectionsReference: D,
|
|
5648
5648
|
/**
|
|
5649
5649
|
* Справочник каналов первичного интереса.
|
|
5650
5650
|
*/
|
|
@@ -5779,7 +5779,7 @@ export {
|
|
|
5779
5779
|
q as Category,
|
|
5780
5780
|
qe as CategoryPricingRule,
|
|
5781
5781
|
Xe as ChannelPrimaryInterest,
|
|
5782
|
-
|
|
5782
|
+
Dt as City,
|
|
5783
5783
|
ue as CityWithRegionAndCountry,
|
|
5784
5784
|
Me as Client,
|
|
5785
5785
|
it as ClientAdditionalData,
|
|
@@ -5849,7 +5849,7 @@ export {
|
|
|
5849
5849
|
F as PartnerGroup,
|
|
5850
5850
|
Kr as PaymentType,
|
|
5851
5851
|
Rt as PreferencesStorageProvider,
|
|
5852
|
-
|
|
5852
|
+
Ae as PriceAnalyze,
|
|
5853
5853
|
Bt as PriceAnalyzeProvider,
|
|
5854
5854
|
fe as PriceCoefficient,
|
|
5855
5855
|
Ve as PriceCoefficientEnum,
|
|
@@ -5876,7 +5876,7 @@ export {
|
|
|
5876
5876
|
Nt as RecommendationsDataProvider,
|
|
5877
5877
|
de as RecommendationsList,
|
|
5878
5878
|
w as Reference,
|
|
5879
|
-
|
|
5879
|
+
A as ReferenceDataProvider,
|
|
5880
5880
|
te as Region,
|
|
5881
5881
|
Ze as ResourceType,
|
|
5882
5882
|
S as SalesDirection,
|
|
@@ -5885,7 +5885,7 @@ export {
|
|
|
5885
5885
|
Wt as SeoDataProvider,
|
|
5886
5886
|
er as SourcePrimaryInterest,
|
|
5887
5887
|
Lr as StockCount,
|
|
5888
|
-
|
|
5888
|
+
At as TemplatesListFilters,
|
|
5889
5889
|
xe as TypedInstanceFactory,
|
|
5890
5890
|
Fe as UnitsHelper,
|
|
5891
5891
|
Gt as UnknownClientDataProvider,
|