@snabcentr/common-lib 1.65.2 → 1.65.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 +19 -3
- package/dist/sc-common-lib.js +162 -134
- 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/managers/classes/manager.d.ts +5 -0
- package/dist/src/managers/classes/manager.d.ts.map +1 -1
- package/dist/src/managers/interfaces/i-manager.d.ts +5 -0
- package/dist/src/managers/interfaces/i-manager.d.ts.map +1 -1
- package/dist/src/user/classes/index.d.ts +1 -0
- package/dist/src/user/classes/index.d.ts.map +1 -1
- package/dist/src/user/classes/user-pricing-role.d.ts +26 -0
- package/dist/src/user/classes/user-pricing-role.d.ts.map +1 -0
- package/dist/src/user/interfaces/i-user-pricing-role.d.ts +19 -0
- package/dist/src/user/interfaces/i-user-pricing-role.d.ts.map +1 -0
- package/dist/src/user/interfaces/index.d.ts +1 -0
- package/dist/src/user/interfaces/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/sc-common-lib.js
CHANGED
|
@@ -4,7 +4,7 @@ var t = (n, r, e) => pr(n, typeof r != "symbol" ? r + "" : r, e);
|
|
|
4
4
|
import { jwtDecode as je } from "jwt-decode";
|
|
5
5
|
import { merge as We, isNil as U, toUpper as hr, constant as gr, isUndefined as mr, isString as f, cloneDeep as fr, noop as m, toLower as yr, isFunction as _e, isEmpty as Se, map as le, forEach as wr, isDate as Cr, isArray as Ee, omitBy as vr, isObject as Pr } from "lodash-es";
|
|
6
6
|
import { objectToCamel as Ie, objectToSnake as Oe } from "ts-case-convert";
|
|
7
|
-
import { parseISO as y, format as z, isAfter as Rr, startOfToday as Ve, addSeconds as Ar, addBusinessDays as Dr, endOfTomorrow as
|
|
7
|
+
import { parseISO as y, format as z, isAfter as Rr, startOfToday as Ve, addSeconds as Ar, addBusinessDays as Dr, endOfTomorrow as $r, startOfTomorrow as ar, endOfYesterday as Tr, startOfYesterday as br, endOfToday as _r, endOfDay as Sr, startOfDay as Ir } from "date-fns";
|
|
8
8
|
import Lr from "axios";
|
|
9
9
|
import { defineStore as fe } from "pinia";
|
|
10
10
|
import { ref as C, computed as v } from "vue";
|
|
@@ -110,7 +110,7 @@ class ue {
|
|
|
110
110
|
return new ue(Ie(je(r)));
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
class
|
|
113
|
+
class Dt extends ue {
|
|
114
114
|
/**
|
|
115
115
|
* Инициализирует экземпляр класса {@link DetailedJwtPayload}.
|
|
116
116
|
*
|
|
@@ -216,7 +216,7 @@ class Je extends $ {
|
|
|
216
216
|
this.slug = (e == null ? void 0 : e.slug) ?? "", this.code = (e == null ? void 0 : e.code) ?? "";
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
class
|
|
219
|
+
class ae extends Je {
|
|
220
220
|
/**
|
|
221
221
|
* Инициализирует экземпляр класса {@link PrimaryCatalogableItem}.
|
|
222
222
|
*
|
|
@@ -231,7 +231,7 @@ class $e extends Je {
|
|
|
231
231
|
this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
class ne extends
|
|
234
|
+
class ne extends ae {
|
|
235
235
|
/**
|
|
236
236
|
* Инициализирует экземпляр класса {@link BaseCategory}.
|
|
237
237
|
*
|
|
@@ -548,7 +548,7 @@ class b extends kr {
|
|
|
548
548
|
t(this, "priceCoefficients");
|
|
549
549
|
this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = (e == null ? void 0 : e.unit) ?? "", this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.quantityUnit = e == null ? void 0 : e.quantityUnit, this.currency = (e == null ? void 0 : e.currency) ?? "", this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = f(e == null ? void 0 : e.costDate) ? y(e.costDate) : e == null ? void 0 : e.costDate, this.onOrder = (e == null ? void 0 : e.onOrder) ?? !1, this.stockCount = ((i = e == null ? void 0 : e.stockCount) == null ? void 0 : i.map((p) => new xr(p))) ?? [], this.currencySignature = (e == null ? void 0 : e.currencySignature) ?? "", this.type = "product";
|
|
550
550
|
const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((p) => p.isPrimary));
|
|
551
|
-
s && (this.category = new
|
|
551
|
+
s && (this.category = new ae({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((p) => new ae(p))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((p) => new dr(p, a.getConfig().http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.retailCost = e == null ? void 0 : e.retailCost, this.retailCostRub = e == null ? void 0 : e.retailCostRub, this.priceCoefficients = ((u = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : u.map((p) => new Le(p))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
|
|
552
552
|
}
|
|
553
553
|
/**
|
|
554
554
|
* Возвращает признак, что это измеряемый товар.
|
|
@@ -809,7 +809,7 @@ class Mr {
|
|
|
809
809
|
this.date = f(r == null ? void 0 : r.date) ? y(r.date) : (r == null ? void 0 : r.date) ?? /* @__PURE__ */ new Date(), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
|
-
class
|
|
812
|
+
class $t {
|
|
813
813
|
/**
|
|
814
814
|
* Инициализирует экземпляр класса {@link AppBaseConfig}.
|
|
815
815
|
*
|
|
@@ -1244,7 +1244,7 @@ class Hr extends Ye {
|
|
|
1244
1244
|
this.deletedAt = f(e == null ? void 0 : e.deletedAt) ? y(e.deletedAt) : e == null ? void 0 : e.deletedAt;
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
|
-
class
|
|
1247
|
+
class Tt {
|
|
1248
1248
|
/**
|
|
1249
1249
|
* Возвращает актуальные и не просроченные данные из хранилища.
|
|
1250
1250
|
*
|
|
@@ -1437,6 +1437,29 @@ class re extends $ {
|
|
|
1437
1437
|
e && (this.salesDirection = new S(e.salesDirection), this.photo = e.photo, e.contacts && (this.contacts = new jr(e.contacts)), e.isDefault !== void 0 && (this.isDefault = e.isDefault));
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
+
class Wr extends $ {
|
|
1441
|
+
/**
|
|
1442
|
+
* Инициализирует экземпляр класса {@link IUserPricingRole}.
|
|
1443
|
+
*
|
|
1444
|
+
* @param data Данные для первоначальной инициализации.
|
|
1445
|
+
*/
|
|
1446
|
+
constructor(e) {
|
|
1447
|
+
super(e);
|
|
1448
|
+
/**
|
|
1449
|
+
* @inheritDoc
|
|
1450
|
+
*/
|
|
1451
|
+
t(this, "description");
|
|
1452
|
+
/**
|
|
1453
|
+
* @inheritDoc
|
|
1454
|
+
*/
|
|
1455
|
+
t(this, "canChangeLowCost");
|
|
1456
|
+
/**
|
|
1457
|
+
* @inheritDoc
|
|
1458
|
+
*/
|
|
1459
|
+
t(this, "parentRoleId");
|
|
1460
|
+
this.description = e.description, this.canChangeLowCost = e.canChangeLowCost, this.parentRoleId = e.parentRoleId;
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1440
1463
|
class Ce extends re {
|
|
1441
1464
|
/**
|
|
1442
1465
|
* Инициализирует экземпляр класса {@link Manager}.
|
|
@@ -1465,10 +1488,14 @@ class Ce extends re {
|
|
|
1465
1488
|
* Идентификатор супервайзера.
|
|
1466
1489
|
*/
|
|
1467
1490
|
t(this, "supervisorId");
|
|
1468
|
-
|
|
1491
|
+
/**
|
|
1492
|
+
* Данные роли ценообразования менеджера.
|
|
1493
|
+
*/
|
|
1494
|
+
t(this, "pricingRole");
|
|
1495
|
+
this.isActive = (e == null ? void 0 : e.isActive) ?? !1, this.isSupervisor = (e == null ? void 0 : e.isSupervisor) ?? !1, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.createdAt = e == null ? void 0 : e.createdAt, this.supervisorId = e == null ? void 0 : e.supervisorId, this.pricingRole = e != null && e.pricingRole ? new Wr(e.pricingRole) : void 0;
|
|
1469
1496
|
}
|
|
1470
1497
|
}
|
|
1471
|
-
class
|
|
1498
|
+
class Er extends ne {
|
|
1472
1499
|
/**
|
|
1473
1500
|
* Инициализирует экземпляр класса {@link BaseClientCategory}.
|
|
1474
1501
|
*
|
|
@@ -1499,7 +1526,7 @@ class Wr extends ne {
|
|
|
1499
1526
|
this.isDisabled = (e == null ? void 0 : e.isDisabled) ?? !1, this.isRequired = (e == null ? void 0 : e.isRequired) ?? !1, this.isFavorite = (e == null ? void 0 : e.isFavorite) ?? !1, this.hidingComment = e == null ? void 0 : e.hidingComment, this.manager = e != null && e.manager ? new Ce(e.manager) : void 0;
|
|
1500
1527
|
}
|
|
1501
1528
|
}
|
|
1502
|
-
class pe extends
|
|
1529
|
+
class pe extends Er {
|
|
1503
1530
|
/**
|
|
1504
1531
|
* Инициализирует экземпляр класса {@link ClientCategory}.
|
|
1505
1532
|
*
|
|
@@ -1772,7 +1799,7 @@ class N {
|
|
|
1772
1799
|
this.from = f(r == null ? void 0 : r.from) ? y(r.from) : (r == null ? void 0 : r.from) ?? null, this.to = f(r == null ? void 0 : r.to) ? y(r.to) : (r == null ? void 0 : r.to) ?? null;
|
|
1773
1800
|
}
|
|
1774
1801
|
}
|
|
1775
|
-
class
|
|
1802
|
+
class bt {
|
|
1776
1803
|
/**
|
|
1777
1804
|
* Инициализирует экземпляр класса {@link TemplatesListFilters}.
|
|
1778
1805
|
*
|
|
@@ -1836,13 +1863,13 @@ class Tt {
|
|
|
1836
1863
|
}), !((e = r == null ? void 0 : r.createdAt) != null && e.from) && !((s = r == null ? void 0 : r.createdAt) != null && s.to) && delete r.createdAt, !((i = r == null ? void 0 : r.updatedAt) != null && i.from) && !((o = r == null ? void 0 : r.updatedAt) != null && o.to) && delete r.updatedAt, r;
|
|
1837
1864
|
}
|
|
1838
1865
|
}
|
|
1839
|
-
class
|
|
1866
|
+
class Vr extends w {
|
|
1840
1867
|
}
|
|
1841
1868
|
class rr extends w {
|
|
1842
1869
|
}
|
|
1843
|
-
class
|
|
1870
|
+
class _t extends w {
|
|
1844
1871
|
}
|
|
1845
|
-
class
|
|
1872
|
+
class Jr extends w {
|
|
1846
1873
|
}
|
|
1847
1874
|
class he extends $ {
|
|
1848
1875
|
/**
|
|
@@ -1877,16 +1904,16 @@ class M extends w {
|
|
|
1877
1904
|
});
|
|
1878
1905
|
}
|
|
1879
1906
|
}
|
|
1880
|
-
class Jr extends w {
|
|
1881
|
-
}
|
|
1882
1907
|
class Kr extends w {
|
|
1883
1908
|
}
|
|
1884
|
-
class Y extends w {
|
|
1885
|
-
}
|
|
1886
1909
|
class Qr extends w {
|
|
1887
1910
|
}
|
|
1911
|
+
class Y extends w {
|
|
1912
|
+
}
|
|
1888
1913
|
class Yr extends w {
|
|
1889
1914
|
}
|
|
1915
|
+
class Xr extends w {
|
|
1916
|
+
}
|
|
1890
1917
|
class tr extends w {
|
|
1891
1918
|
}
|
|
1892
1919
|
class sr extends w {
|
|
@@ -1959,7 +1986,7 @@ class A extends se {
|
|
|
1959
1986
|
* и использовать в случае аналогичных запросов.
|
|
1960
1987
|
*/
|
|
1961
1988
|
getReference(r, e = !1) {
|
|
1962
|
-
return this.getTypedDataArrayRequester(
|
|
1989
|
+
return this.getTypedDataArrayRequester(Vr, `/internal/references/${r}`, e);
|
|
1963
1990
|
}
|
|
1964
1991
|
/**
|
|
1965
1992
|
* Возвращает {@link Promise} для получения справочника данных о канале
|
|
@@ -1972,7 +1999,7 @@ class A extends se {
|
|
|
1972
1999
|
* Возвращает {@link Promise} для получения справочника должностей контактных лиц.
|
|
1973
2000
|
*/
|
|
1974
2001
|
getContactPositions() {
|
|
1975
|
-
return this.getTypedDataArrayRequester(
|
|
2002
|
+
return this.getTypedDataArrayRequester(Jr, "/internal/references/contact-position", !0);
|
|
1976
2003
|
}
|
|
1977
2004
|
/**
|
|
1978
2005
|
* Возвращает {@link Promise} для получения справочника списка валют.
|
|
@@ -1997,19 +2024,19 @@ class A extends se {
|
|
|
1997
2024
|
* Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
|
|
1998
2025
|
*/
|
|
1999
2026
|
getOrderPaymentStatuses() {
|
|
2000
|
-
return this.getTypedDataArrayRequester(
|
|
2027
|
+
return this.getTypedDataArrayRequester(Kr, "/public/references/order-payment-status", !0);
|
|
2001
2028
|
}
|
|
2002
2029
|
/**
|
|
2003
2030
|
* Возвращает {@link Promise} для получения справочника данных статусов заказов.
|
|
2004
2031
|
*/
|
|
2005
2032
|
getOrderStatuses() {
|
|
2006
|
-
return this.getTypedDataArrayRequester(
|
|
2033
|
+
return this.getTypedDataArrayRequester(Qr, "/public/references/order-status", !0);
|
|
2007
2034
|
}
|
|
2008
2035
|
/**
|
|
2009
2036
|
* Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
|
|
2010
2037
|
*/
|
|
2011
2038
|
getPaymentTypes() {
|
|
2012
|
-
return this.getTypedDataArrayRequester(
|
|
2039
|
+
return this.getTypedDataArrayRequester(Yr, "/public/references/payment-type", !0);
|
|
2013
2040
|
}
|
|
2014
2041
|
/**
|
|
2015
2042
|
* Возвращает {@link Promise} для получения справочника типов ресурсов.
|
|
@@ -2081,11 +2108,11 @@ class A extends se {
|
|
|
2081
2108
|
* Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
|
|
2082
2109
|
*/
|
|
2083
2110
|
getProductFileType() {
|
|
2084
|
-
return this.getTypedDataArrayRequester(
|
|
2111
|
+
return this.getTypedDataArrayRequester(Xr, "/public/references/product-file-type", !0);
|
|
2085
2112
|
}
|
|
2086
2113
|
}
|
|
2087
|
-
var
|
|
2088
|
-
class
|
|
2114
|
+
var Zr = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.Guest = "guest", n))(Zr || {});
|
|
2115
|
+
class et extends Ze {
|
|
2089
2116
|
/**
|
|
2090
2117
|
* Инициализирует экземпляр класса {@link User}.
|
|
2091
2118
|
*
|
|
@@ -2108,16 +2135,16 @@ class Zr extends Ze {
|
|
|
2108
2135
|
this.type = e == null ? void 0 : e.type, this.canDoReclamations = (e == null ? void 0 : e.canDoReclamations) ?? !1, this.photo = e == null ? void 0 : e.photo;
|
|
2109
2136
|
}
|
|
2110
2137
|
}
|
|
2111
|
-
class
|
|
2138
|
+
class rt extends h {
|
|
2112
2139
|
/**
|
|
2113
2140
|
* Возвращает данные о текущем пользователе.
|
|
2114
2141
|
*/
|
|
2115
2142
|
// eslint-disable-next-line class-methods-use-this
|
|
2116
2143
|
getCurrentUser() {
|
|
2117
|
-
return this.get("/internal/users/info", {}, (r) => new
|
|
2144
|
+
return this.get("/internal/users/info", {}, (r) => new et(r.data));
|
|
2118
2145
|
}
|
|
2119
2146
|
}
|
|
2120
|
-
class
|
|
2147
|
+
class tt {
|
|
2121
2148
|
/**
|
|
2122
2149
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
2123
2150
|
*
|
|
@@ -2238,7 +2265,7 @@ class Ue {
|
|
|
2238
2265
|
this.role = new ee(r == null ? void 0 : r.role), this.category = new ne(r == null ? void 0 : r.category), this.minCoefficient = new ye(r == null ? void 0 : r.minCoefficient);
|
|
2239
2266
|
}
|
|
2240
2267
|
}
|
|
2241
|
-
class
|
|
2268
|
+
class St extends h {
|
|
2242
2269
|
/**
|
|
2243
2270
|
* Возвращает данные о результатах поиска категорий и товаров.
|
|
2244
2271
|
*
|
|
@@ -2269,7 +2296,7 @@ class _t extends h {
|
|
|
2269
2296
|
return s && (c += `&category_id=${s}`), i && (c += `&client_id=${i}`), c;
|
|
2270
2297
|
}
|
|
2271
2298
|
}
|
|
2272
|
-
class
|
|
2299
|
+
class It extends h {
|
|
2273
2300
|
/**
|
|
2274
2301
|
* Импортирует цены клиента из CSV файла.
|
|
2275
2302
|
*
|
|
@@ -2468,7 +2495,7 @@ class St extends h {
|
|
|
2468
2495
|
return this.post(`/internal/clients/${r}/price/commercial-offer/send`, e);
|
|
2469
2496
|
}
|
|
2470
2497
|
}
|
|
2471
|
-
class
|
|
2498
|
+
class Lt extends h {
|
|
2472
2499
|
/**
|
|
2473
2500
|
* Возвращает список шаблонов прайс-листа привязанных к клиенту.
|
|
2474
2501
|
*
|
|
@@ -2560,7 +2587,7 @@ class It extends h {
|
|
|
2560
2587
|
return this.delete(`/internal/clients/${r}/price/templates/${e}/${s}`);
|
|
2561
2588
|
}
|
|
2562
2589
|
}
|
|
2563
|
-
class
|
|
2590
|
+
class xt extends h {
|
|
2564
2591
|
/**
|
|
2565
2592
|
* Возвращает список данных о корневых категориях.
|
|
2566
2593
|
*
|
|
@@ -2652,7 +2679,7 @@ class Lt extends h {
|
|
|
2652
2679
|
});
|
|
2653
2680
|
}
|
|
2654
2681
|
}
|
|
2655
|
-
class
|
|
2682
|
+
class kt extends h {
|
|
2656
2683
|
/**
|
|
2657
2684
|
* Возвращает данные об указанном продукте.
|
|
2658
2685
|
*
|
|
@@ -2696,7 +2723,7 @@ class xt extends h {
|
|
|
2696
2723
|
*/
|
|
2697
2724
|
getProductPriceHistory(r, e) {
|
|
2698
2725
|
const s = {};
|
|
2699
|
-
return U(e) || (s.clientId = e), this.get(`/internal/price/products/${r}/history`, s, (i) => le(i.data, (o) => new
|
|
2726
|
+
return U(e) || (s.clientId = e), this.get(`/internal/price/products/${r}/history`, s, (i) => le(i.data, (o) => new tt(o)));
|
|
2700
2727
|
}
|
|
2701
2728
|
/**
|
|
2702
2729
|
* Выполняет публичный поиск данных о продуктах по терму.
|
|
@@ -2714,7 +2741,7 @@ class xt extends h {
|
|
|
2714
2741
|
});
|
|
2715
2742
|
}
|
|
2716
2743
|
}
|
|
2717
|
-
class
|
|
2744
|
+
class dt extends h {
|
|
2718
2745
|
/**
|
|
2719
2746
|
* Возвращает список данных о корневых категориях указанного клиента.
|
|
2720
2747
|
*
|
|
@@ -2776,7 +2803,7 @@ class kt extends h {
|
|
|
2776
2803
|
);
|
|
2777
2804
|
}
|
|
2778
2805
|
}
|
|
2779
|
-
class
|
|
2806
|
+
class Nt extends h {
|
|
2780
2807
|
/**
|
|
2781
2808
|
* Возвращает данные об указанном продукте для указанного клиента.
|
|
2782
2809
|
*
|
|
@@ -2887,7 +2914,7 @@ class ve extends h {
|
|
|
2887
2914
|
return e && (p.filters = JSON.stringify((e instanceof ie ? e : new ie(e)).toPrimitive())), Se(s) || (p.sort = Ee(s) ? s : [s]), o && (p = { ...p, ...o }), this.get(r, p, c, u);
|
|
2888
2915
|
}
|
|
2889
2916
|
}
|
|
2890
|
-
class
|
|
2917
|
+
class Ot extends ve {
|
|
2891
2918
|
/**
|
|
2892
2919
|
* Возвращает список шаблонов прайс-листа.
|
|
2893
2920
|
*
|
|
@@ -3091,7 +3118,7 @@ class Nt extends ve {
|
|
|
3091
3118
|
);
|
|
3092
3119
|
}
|
|
3093
3120
|
}
|
|
3094
|
-
class
|
|
3121
|
+
class qt extends h {
|
|
3095
3122
|
/**
|
|
3096
3123
|
* Возвращает список ролей ценообразования.
|
|
3097
3124
|
*
|
|
@@ -3171,7 +3198,7 @@ class Ot extends h {
|
|
|
3171
3198
|
);
|
|
3172
3199
|
}
|
|
3173
3200
|
}
|
|
3174
|
-
class
|
|
3201
|
+
class Ut extends ve {
|
|
3175
3202
|
/**
|
|
3176
3203
|
* Возвращает пагинированный список свойств.
|
|
3177
3204
|
*
|
|
@@ -3543,7 +3570,7 @@ class qt extends ve {
|
|
|
3543
3570
|
return this.post(`/internal/catalog/categories/${r}/image`, { image: e });
|
|
3544
3571
|
}
|
|
3545
3572
|
}
|
|
3546
|
-
class
|
|
3573
|
+
class Gt extends h {
|
|
3547
3574
|
/**
|
|
3548
3575
|
* Возвращает данные о рекомендациях указанной категории продуктов.
|
|
3549
3576
|
*
|
|
@@ -3606,7 +3633,7 @@ function Me(n, r, e) {
|
|
|
3606
3633
|
return !1;
|
|
3607
3634
|
}), s;
|
|
3608
3635
|
}
|
|
3609
|
-
var
|
|
3636
|
+
var st = /* @__PURE__ */ ((n) => (n.LastOrder = "last_order", n.Contacts = "contacts", n.PartnerGroups = "partner_groups", n.PreferredDeliveryType = "preferred_delivery_type", n.SalesDirection = "sales_direction", n.Managers = "managers", n))(st || {});
|
|
3610
3637
|
class Te extends B {
|
|
3611
3638
|
/**
|
|
3612
3639
|
* Инициализирует экземпляр класса {@link BankAccount}.
|
|
@@ -3765,7 +3792,7 @@ class ir extends $ {
|
|
|
3765
3792
|
}
|
|
3766
3793
|
}
|
|
3767
3794
|
}
|
|
3768
|
-
class
|
|
3795
|
+
class it extends ir {
|
|
3769
3796
|
/**
|
|
3770
3797
|
* Инициализирует экземпляр класса {@link ContragentPerson}.
|
|
3771
3798
|
*
|
|
@@ -3833,7 +3860,7 @@ class or extends nr {
|
|
|
3833
3860
|
e && (this.kpp = e.kpp ?? "");
|
|
3834
3861
|
}
|
|
3835
3862
|
}
|
|
3836
|
-
class
|
|
3863
|
+
class nt extends or {
|
|
3837
3864
|
/**
|
|
3838
3865
|
* Инициализирует экземпляр класса {@link ContragentUlNr}.
|
|
3839
3866
|
*
|
|
@@ -3869,9 +3896,9 @@ class ge {
|
|
|
3869
3896
|
case T.UlR:
|
|
3870
3897
|
return new or(r);
|
|
3871
3898
|
case T.UlNr:
|
|
3872
|
-
return new
|
|
3899
|
+
return new nt(r);
|
|
3873
3900
|
default:
|
|
3874
|
-
return new
|
|
3901
|
+
return new it(r);
|
|
3875
3902
|
}
|
|
3876
3903
|
}
|
|
3877
3904
|
}
|
|
@@ -3890,7 +3917,7 @@ class Ae extends B {
|
|
|
3890
3917
|
this.isPrimary = e.isPrimary;
|
|
3891
3918
|
}
|
|
3892
3919
|
}
|
|
3893
|
-
class
|
|
3920
|
+
class ot extends F {
|
|
3894
3921
|
/**
|
|
3895
3922
|
* Инициализирует экземпляр класса {@link ContactPersonRelated}.
|
|
3896
3923
|
*
|
|
@@ -4015,7 +4042,7 @@ class Fe extends oe {
|
|
|
4015
4042
|
this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((u) => ge.createInstance(u))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((u) => new Y(u))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((u) => new F(u))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((u) => new me(u))) ?? [], this.channelPrimaryInterest = new rr(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new sr(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new J(e == null ? void 0 : e.preferredDeliveryType), this.primaryDemand = e == null ? void 0 : e.primaryDemand, this.isExcludedFromMsCallsToClients = (e == null ? void 0 : e.isExcludedFromMsCallsToClients) ?? !1, this.preferredWarehouse = e != null && e.preferredWarehouse ? new we(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
|
|
4016
4043
|
}
|
|
4017
4044
|
}
|
|
4018
|
-
class
|
|
4045
|
+
class Mt {
|
|
4019
4046
|
/**
|
|
4020
4047
|
* Инициализирует экземпляр класса {@link ClientsListFilters}.
|
|
4021
4048
|
*
|
|
@@ -4212,7 +4239,7 @@ class cr extends B {
|
|
|
4212
4239
|
this.createdAt = f(e == null ? void 0 : e.createdAt) ? y(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new G(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
|
|
4213
4240
|
}
|
|
4214
4241
|
}
|
|
4215
|
-
class
|
|
4242
|
+
class ct extends $ {
|
|
4216
4243
|
/**
|
|
4217
4244
|
* Инициализирует экземпляр класса {@link ClientAdditionalData}.
|
|
4218
4245
|
*
|
|
@@ -4248,7 +4275,7 @@ class ot extends $ {
|
|
|
4248
4275
|
(s = e.contacts) != null && s.length && (this.contacts = e.contacts.map((o) => new F(o))), e.lastOrder && (this.lastOrder = new cr(e.lastOrder)), (i = e.partnerGroups) != null && i.length && (this.partnerGroups = e.partnerGroups.map((o) => new Y(o))), e.preferredDeliveryType && (this.preferredDeliveryType = new J(e.preferredDeliveryType)), e.salesDirection && (this.salesDirection = new S(e.salesDirection)), e.managers && (this.managers = e.managers.map((o) => new re(o)));
|
|
4249
4276
|
}
|
|
4250
4277
|
}
|
|
4251
|
-
class
|
|
4278
|
+
class lt {
|
|
4252
4279
|
/**
|
|
4253
4280
|
* Инициализирует экземпляр класса {@link DataTablePaginationRequestParams}.
|
|
4254
4281
|
*
|
|
@@ -4266,7 +4293,7 @@ class ct {
|
|
|
4266
4293
|
this.page = (r == null ? void 0 : r.page) ?? 1, this.pageSize = (r == null ? void 0 : r.pageSize) ?? 50;
|
|
4267
4294
|
}
|
|
4268
4295
|
}
|
|
4269
|
-
class
|
|
4296
|
+
class Ft extends lt {
|
|
4270
4297
|
/**
|
|
4271
4298
|
* Инициализирует экземпляр класса {@link DataTablePagination}.
|
|
4272
4299
|
*
|
|
@@ -4297,7 +4324,7 @@ class Mt extends ct {
|
|
|
4297
4324
|
this.itemCount = (e == null ? void 0 : e.itemCount) ?? 0, this.pageCount = (e == null ? void 0 : e.pageCount) ?? 1, this.pageSlot = (e == null ? void 0 : e.pageSlot) ?? 5, this.pageSizes = (e == null ? void 0 : e.pageSizes) ?? [25, 50, 100], this.showSizePicker = (e == null ? void 0 : e.showSizePicker) ?? !0;
|
|
4298
4325
|
}
|
|
4299
4326
|
}
|
|
4300
|
-
class
|
|
4327
|
+
class Bt {
|
|
4301
4328
|
/**
|
|
4302
4329
|
* Инициализирует экземпляр класса {@link ISortRequestParams}.
|
|
4303
4330
|
*
|
|
@@ -4315,7 +4342,7 @@ class Ft {
|
|
|
4315
4342
|
this.field = (r == null ? void 0 : r.field) ?? "", this.direction = (r == null ? void 0 : r.direction) ?? "asc";
|
|
4316
4343
|
}
|
|
4317
4344
|
}
|
|
4318
|
-
class
|
|
4345
|
+
class Ht extends ve {
|
|
4319
4346
|
/**
|
|
4320
4347
|
* Возвращает данные об указанном клиенте.
|
|
4321
4348
|
*
|
|
@@ -4365,7 +4392,7 @@ class Bt extends ve {
|
|
|
4365
4392
|
const s = r.map((i) => i.id);
|
|
4366
4393
|
return this.post("/internal/clients/additional-data", { clients: s, requested_data_types: e }, (i) => {
|
|
4367
4394
|
let o = [];
|
|
4368
|
-
return (i == null ? void 0 : i.data.length) > 0 && (o = i.data.map((c) => new
|
|
4395
|
+
return (i == null ? void 0 : i.data.length) > 0 && (o = i.data.map((c) => new ct(c))), o;
|
|
4369
4396
|
});
|
|
4370
4397
|
}
|
|
4371
4398
|
/**
|
|
@@ -4377,7 +4404,7 @@ class Bt extends ve {
|
|
|
4377
4404
|
getAllClientContacts(r) {
|
|
4378
4405
|
return this.get(`/internal/clients/${r}/contacts/all`, {}, (e) => {
|
|
4379
4406
|
let s = [];
|
|
4380
|
-
return (e == null ? void 0 : e.data.length) > 0 && (s = e.data.map((i) => new
|
|
4407
|
+
return (e == null ? void 0 : e.data.length) > 0 && (s = e.data.map((i) => new ot(i))), s;
|
|
4381
4408
|
});
|
|
4382
4409
|
}
|
|
4383
4410
|
/**
|
|
@@ -5042,7 +5069,7 @@ class Bt extends ve {
|
|
|
5042
5069
|
return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
|
|
5043
5070
|
}
|
|
5044
5071
|
}
|
|
5045
|
-
class
|
|
5072
|
+
class zt extends h {
|
|
5046
5073
|
/**
|
|
5047
5074
|
* Выполняет проверку занят ли указанный номер телефона.
|
|
5048
5075
|
*
|
|
@@ -5056,7 +5083,7 @@ class Ht extends h {
|
|
|
5056
5083
|
});
|
|
5057
5084
|
}
|
|
5058
5085
|
}
|
|
5059
|
-
class
|
|
5086
|
+
class jt extends h {
|
|
5060
5087
|
/**
|
|
5061
5088
|
* Возвращает настройки указанного конфигуратора для указанной категории.
|
|
5062
5089
|
*
|
|
@@ -5127,7 +5154,7 @@ class zt extends h {
|
|
|
5127
5154
|
return this.delete(`internal/catalog/categories/${r.id}/configurators/${(s = r.properties) == null ? void 0 : s.editor}/template/${e}`);
|
|
5128
5155
|
}
|
|
5129
5156
|
}
|
|
5130
|
-
class
|
|
5157
|
+
class Wt {
|
|
5131
5158
|
/**
|
|
5132
5159
|
* Возвращает диапазон дат по умолчанию.
|
|
5133
5160
|
*/
|
|
@@ -5138,7 +5165,7 @@ class jt {
|
|
|
5138
5165
|
nextWorkingDay: { label: "Следующий рабочий день", from: Ir(r), to: Sr(r) },
|
|
5139
5166
|
today: { label: "Сегодня", from: Ve(), to: _r() },
|
|
5140
5167
|
yesterday: { label: "Вчера", from: br(), to: Tr() },
|
|
5141
|
-
tomorrow: { label: "Завтра", from:
|
|
5168
|
+
tomorrow: { label: "Завтра", from: ar(), to: $r() }
|
|
5142
5169
|
};
|
|
5143
5170
|
}
|
|
5144
5171
|
}
|
|
@@ -5183,7 +5210,7 @@ const V = class V {
|
|
|
5183
5210
|
*/
|
|
5184
5211
|
t(V, "linearValues", ["пог.м.", "м.", "м2"]);
|
|
5185
5212
|
let Be = V;
|
|
5186
|
-
class
|
|
5213
|
+
class Et {
|
|
5187
5214
|
/**
|
|
5188
5215
|
* Генерирует и возвращает данные-заглушку неопределённого менеджера.
|
|
5189
5216
|
*/
|
|
@@ -5199,7 +5226,7 @@ class Wt {
|
|
|
5199
5226
|
return r.id === 0 && r.guid === "-undefined-";
|
|
5200
5227
|
}
|
|
5201
5228
|
}
|
|
5202
|
-
class
|
|
5229
|
+
class ut extends se {
|
|
5203
5230
|
/**
|
|
5204
5231
|
* Возвращает {@link Promise} для получения справочника списка менеджеров.
|
|
5205
5232
|
*/
|
|
@@ -5272,7 +5299,7 @@ class lr extends cr {
|
|
|
5272
5299
|
}, 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 = f(e == null ? void 0 : e.pendingAt) ? y(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = f(e == null ? void 0 : e.processedAt) ? y(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;
|
|
5273
5300
|
}
|
|
5274
5301
|
}
|
|
5275
|
-
class
|
|
5302
|
+
class pt extends B {
|
|
5276
5303
|
/**
|
|
5277
5304
|
* Инициализирует экземпляр класса {@link OrderProduct}.
|
|
5278
5305
|
*
|
|
@@ -5355,7 +5382,7 @@ class ut extends B {
|
|
|
5355
5382
|
this.product = new K(e.product), this.quantity = e.quantity, this.currency = e.currency, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.cost = e.cost, this.costRub = e.costRub, this.marker = e.marker, this.height = e.height, this.length = e.length, this.width = e.width, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams, this.sawing = e.sawing;
|
|
5356
5383
|
}
|
|
5357
5384
|
}
|
|
5358
|
-
class
|
|
5385
|
+
class ht extends lr {
|
|
5359
5386
|
/**
|
|
5360
5387
|
* Инициализирует экземпляр класса {@link Order}.
|
|
5361
5388
|
*
|
|
@@ -5395,10 +5422,10 @@ class pt extends lr {
|
|
|
5395
5422
|
* Признак, что разрешена передача заказа в работу без оплаты.
|
|
5396
5423
|
*/
|
|
5397
5424
|
t(this, "isAllowProcessingWithoutPayment");
|
|
5398
|
-
this.products = (e.products ?? []).map((s) => new
|
|
5425
|
+
this.products = (e.products ?? []).map((s) => new pt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ge.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new w(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
|
|
5399
5426
|
}
|
|
5400
5427
|
}
|
|
5401
|
-
class
|
|
5428
|
+
class Vt extends ve {
|
|
5402
5429
|
/**
|
|
5403
5430
|
* Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
|
|
5404
5431
|
*
|
|
@@ -5429,7 +5456,7 @@ class Et extends ve {
|
|
|
5429
5456
|
* @param orderId Идентификатор заказа для которого необходимо вернуть данные.
|
|
5430
5457
|
*/
|
|
5431
5458
|
getOrder(r) {
|
|
5432
|
-
return this.get(`/internal/orders/${r}`, {}, (e) => new
|
|
5459
|
+
return this.get(`/internal/orders/${r}`, {}, (e) => new ht(e.data));
|
|
5433
5460
|
}
|
|
5434
5461
|
}
|
|
5435
5462
|
class De {
|
|
@@ -5462,7 +5489,7 @@ class De {
|
|
|
5462
5489
|
this.client = new oe(r == null ? void 0 : r.client), this.product = new b(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;
|
|
5463
5490
|
}
|
|
5464
5491
|
}
|
|
5465
|
-
const
|
|
5492
|
+
const $e = (n) => {
|
|
5466
5493
|
var r, e, s, i, o;
|
|
5467
5494
|
return n ? vr(
|
|
5468
5495
|
{
|
|
@@ -5479,7 +5506,7 @@ const ae = (n) => {
|
|
|
5479
5506
|
const r = {};
|
|
5480
5507
|
return n.from && (n.from.coefficient || n.from.value) && (r.from = {}, n.from.coefficient && (r.from.priceCoefficientId = n.from.coefficient.id), n.from.value && (r.from.increasePercent = n.from.value)), n.to && (n.to.coefficient || n.to.value) && (r.to = {}, n.to.coefficient && (r.to.priceCoefficientId = n.to.coefficient.id), n.to.value && (r.to.increasePercent = n.to.value)), r;
|
|
5481
5508
|
};
|
|
5482
|
-
class
|
|
5509
|
+
class Jt extends h {
|
|
5483
5510
|
/**
|
|
5484
5511
|
* Возвращает список клиентских цен на продукты в указанном диапазоне цены.
|
|
5485
5512
|
*
|
|
@@ -5494,7 +5521,7 @@ class Vt extends h {
|
|
|
5494
5521
|
`/internal/price/products/${r}/analyze`,
|
|
5495
5522
|
{
|
|
5496
5523
|
...He(e),
|
|
5497
|
-
filters:
|
|
5524
|
+
filters: $e(s)
|
|
5498
5525
|
},
|
|
5499
5526
|
(i) => i.data.map((o) => new De(o))
|
|
5500
5527
|
);
|
|
@@ -5513,7 +5540,7 @@ class Vt extends h {
|
|
|
5513
5540
|
`/internal/price/categories/${r}/analyze`,
|
|
5514
5541
|
{
|
|
5515
5542
|
...He(e),
|
|
5516
|
-
filters:
|
|
5543
|
+
filters: $e(s)
|
|
5517
5544
|
},
|
|
5518
5545
|
(i) => i.data.map((o) => new De(o))
|
|
5519
5546
|
);
|
|
@@ -5534,13 +5561,13 @@ class Vt extends h {
|
|
|
5534
5561
|
`/internal/price/categories/${r}/analyze/square`,
|
|
5535
5562
|
{
|
|
5536
5563
|
...e,
|
|
5537
|
-
filters:
|
|
5564
|
+
filters: $e(s)
|
|
5538
5565
|
},
|
|
5539
5566
|
(i) => i.data.map((o) => new De(o))
|
|
5540
5567
|
);
|
|
5541
5568
|
}
|
|
5542
5569
|
}
|
|
5543
|
-
class
|
|
5570
|
+
class gt {
|
|
5544
5571
|
/**
|
|
5545
5572
|
* Инициализирует экземпляр класса {@link MetaTagItem}.
|
|
5546
5573
|
*
|
|
@@ -5594,10 +5621,10 @@ class ze {
|
|
|
5594
5621
|
*/
|
|
5595
5622
|
t(this, "meta");
|
|
5596
5623
|
var e;
|
|
5597
|
-
this.resourceType = new tr(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
|
|
5624
|
+
this.resourceType = new tr(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 gt(s))) ?? [];
|
|
5598
5625
|
}
|
|
5599
5626
|
}
|
|
5600
|
-
class
|
|
5627
|
+
class Kt extends h {
|
|
5601
5628
|
/**
|
|
5602
5629
|
* Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
|
|
5603
5630
|
*
|
|
@@ -5704,7 +5731,7 @@ const P = fe("__references_private", () => {
|
|
|
5704
5731
|
*/
|
|
5705
5732
|
priceCoefficientsReference: l
|
|
5706
5733
|
};
|
|
5707
|
-
}),
|
|
5734
|
+
}), Qt = fe("references", () => {
|
|
5708
5735
|
const n = v(() => {
|
|
5709
5736
|
const l = P();
|
|
5710
5737
|
return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, h.getInstance(A).getChannelPrimaryInterest().then((g) => {
|
|
@@ -5772,7 +5799,7 @@ const P = fe("__references_private", () => {
|
|
|
5772
5799
|
}).catch(m)), l.deliveryTypeReference;
|
|
5773
5800
|
}), x = v(() => {
|
|
5774
5801
|
const l = P();
|
|
5775
|
-
return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(
|
|
5802
|
+
return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(ut).getManagers().then((g) => {
|
|
5776
5803
|
l.managersList = g;
|
|
5777
5804
|
}).catch(m)), l.managersList;
|
|
5778
5805
|
}), k = v(() => {
|
|
@@ -5861,7 +5888,7 @@ const P = fe("__references_private", () => {
|
|
|
5861
5888
|
*/
|
|
5862
5889
|
priceCoefficientsReference: O
|
|
5863
5890
|
};
|
|
5864
|
-
}),
|
|
5891
|
+
}), mt = fe("__user_state_private", () => {
|
|
5865
5892
|
const n = C({}), r = C(void 0);
|
|
5866
5893
|
return {
|
|
5867
5894
|
/**
|
|
@@ -5873,18 +5900,18 @@ const P = fe("__references_private", () => {
|
|
|
5873
5900
|
*/
|
|
5874
5901
|
currentUser: r
|
|
5875
5902
|
};
|
|
5876
|
-
}),
|
|
5903
|
+
}), Yt = fe("user_state", () => ({
|
|
5877
5904
|
/**
|
|
5878
5905
|
* Данные о текущем пользователе.
|
|
5879
5906
|
*/
|
|
5880
5907
|
currentUser: v(() => {
|
|
5881
|
-
const r =
|
|
5882
|
-
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, h.getInstance(
|
|
5908
|
+
const r = mt();
|
|
5909
|
+
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, h.getInstance(rt).getCurrentUser().then((e) => {
|
|
5883
5910
|
r.currentUser = e;
|
|
5884
5911
|
}).catch(m).finally(m)), r.currentUser;
|
|
5885
5912
|
})
|
|
5886
5913
|
}));
|
|
5887
|
-
class
|
|
5914
|
+
class Xt extends h {
|
|
5888
5915
|
/**
|
|
5889
5916
|
* Возвращает подсказки по адресам.
|
|
5890
5917
|
*
|
|
@@ -5931,7 +5958,7 @@ class Yt extends h {
|
|
|
5931
5958
|
});
|
|
5932
5959
|
}
|
|
5933
5960
|
}
|
|
5934
|
-
class
|
|
5961
|
+
class Zt {
|
|
5935
5962
|
/**
|
|
5936
5963
|
* Инициализирует экземпляр класса {@link FieldValidationResultData}.
|
|
5937
5964
|
*
|
|
@@ -5955,8 +5982,8 @@ class Xt {
|
|
|
5955
5982
|
}
|
|
5956
5983
|
}
|
|
5957
5984
|
export {
|
|
5958
|
-
|
|
5959
|
-
|
|
5985
|
+
Vr as AnyReference,
|
|
5986
|
+
$t as AppBaseConfig,
|
|
5960
5987
|
a as AppConfigProvider,
|
|
5961
5988
|
Te as BankAccount,
|
|
5962
5989
|
ve as BasePaginationProvider,
|
|
@@ -5965,53 +5992,53 @@ export {
|
|
|
5965
5992
|
Or as CartItem,
|
|
5966
5993
|
Nr as CartItemBase,
|
|
5967
5994
|
at as CartProvider,
|
|
5968
|
-
|
|
5995
|
+
St as CatalogProvider,
|
|
5969
5996
|
Je as CatalogableItem,
|
|
5970
5997
|
q as Category,
|
|
5971
5998
|
Ue as CategoryPricingRule,
|
|
5972
5999
|
rr as ChannelPrimaryInterest,
|
|
5973
|
-
|
|
6000
|
+
_t as City,
|
|
5974
6001
|
de as CityWithRegionAndCountry,
|
|
5975
6002
|
Fe as Client,
|
|
5976
|
-
|
|
6003
|
+
ct as ClientAdditionalData,
|
|
5977
6004
|
pe as ClientCategory,
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
6005
|
+
Ht as ClientDataProvider,
|
|
6006
|
+
It as ClientPriceProvider,
|
|
6007
|
+
Lt as ClientPriceTemplateProvider,
|
|
5981
6008
|
K as ClientProduct,
|
|
5982
|
-
|
|
5983
|
-
|
|
6009
|
+
dt as ClientProductCategoryDataProvider,
|
|
6010
|
+
Nt as ClientProductDataProvider,
|
|
5984
6011
|
oe as ClientShortInfo,
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
6012
|
+
st as ClientsAdditionalDataRequestTypeEnum,
|
|
6013
|
+
Mt as ClientsListFilters,
|
|
6014
|
+
jt as ConfiguratorProvider,
|
|
5988
6015
|
be as Contact,
|
|
5989
6016
|
jr as ContactLinks,
|
|
5990
6017
|
F as ContactPerson,
|
|
5991
|
-
|
|
5992
|
-
|
|
6018
|
+
ot as ContactPersonRelated,
|
|
6019
|
+
Jr as ContactPosition,
|
|
5993
6020
|
Ae as ContactRelation,
|
|
5994
6021
|
ir as ContragentBase,
|
|
5995
6022
|
ge as ContragentFactory,
|
|
5996
6023
|
nr as ContragentIc,
|
|
5997
|
-
|
|
5998
|
-
|
|
6024
|
+
it as ContragentPerson,
|
|
6025
|
+
nt as ContragentUlNr,
|
|
5999
6026
|
or as ContragentUlR,
|
|
6000
6027
|
ke as CostSourceEnum,
|
|
6001
6028
|
Q as Country,
|
|
6002
6029
|
he as Currency,
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6030
|
+
Xt as DataSuggestionProvider,
|
|
6031
|
+
Ft as DataTablePagination,
|
|
6032
|
+
lt as DataTablePaginationRequestParams,
|
|
6033
|
+
Bt as DataTableSortRequestParams,
|
|
6034
|
+
Wt as DateTimeProvider,
|
|
6008
6035
|
Hr as DeletableNamedIdentity,
|
|
6009
6036
|
me as DeliveryAddress,
|
|
6010
6037
|
J as DeliveryType,
|
|
6011
|
-
|
|
6038
|
+
Dt as DetailedJwtPayload,
|
|
6012
6039
|
qr as DeviceTypeResolutionConfig,
|
|
6013
6040
|
zr as DiscountShortInfo,
|
|
6014
|
-
|
|
6041
|
+
Zt as FieldValidationResultData,
|
|
6015
6042
|
ie as FilterGroup,
|
|
6016
6043
|
Ge as FilterItem,
|
|
6017
6044
|
Ne as FilterOpEnum,
|
|
@@ -6025,24 +6052,24 @@ export {
|
|
|
6025
6052
|
ue as JwtPayload,
|
|
6026
6053
|
Ce as Manager,
|
|
6027
6054
|
re as ManagerCommon,
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6055
|
+
Et as ManagerDataFactory,
|
|
6056
|
+
ut as ManagerDataProvider,
|
|
6057
|
+
gt as MetaTagItem,
|
|
6031
6058
|
$ as NamedIdentity,
|
|
6032
6059
|
M as Opf,
|
|
6033
6060
|
T as OpfEnum,
|
|
6034
|
-
|
|
6061
|
+
ht as Order,
|
|
6035
6062
|
lr as OrderInfo,
|
|
6036
|
-
|
|
6037
|
-
|
|
6063
|
+
Kr as OrderPaymentStatus,
|
|
6064
|
+
pt as OrderProduct,
|
|
6038
6065
|
cr as OrderShortInfo,
|
|
6039
|
-
|
|
6040
|
-
|
|
6066
|
+
Qr as OrderStatus,
|
|
6067
|
+
Vt as OrdersDataProvider,
|
|
6041
6068
|
Y as PartnerGroup,
|
|
6042
|
-
|
|
6043
|
-
|
|
6069
|
+
Yr as PaymentType,
|
|
6070
|
+
Tt as PreferencesStorageProvider,
|
|
6044
6071
|
De as PriceAnalyze,
|
|
6045
|
-
|
|
6072
|
+
Jt as PriceAnalyzeProvider,
|
|
6046
6073
|
ye as PriceCoefficient,
|
|
6047
6074
|
Ke as PriceCoefficientEnum,
|
|
6048
6075
|
j as PriceTemplate,
|
|
@@ -6050,22 +6077,22 @@ export {
|
|
|
6050
6077
|
X as PriceTemplateClient,
|
|
6051
6078
|
Xe as PriceTemplateICatalogableItem,
|
|
6052
6079
|
Re as PriceTemplateProduct,
|
|
6053
|
-
|
|
6080
|
+
Ot as PriceTemplateProvider,
|
|
6054
6081
|
ee as PricingRole,
|
|
6055
|
-
|
|
6056
|
-
|
|
6082
|
+
qt as PricingRoleProvider,
|
|
6083
|
+
ae as PrimaryCatalogableItem,
|
|
6057
6084
|
b as Product,
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6085
|
+
xt as ProductCategoryDataProvider,
|
|
6086
|
+
kt as ProductDataProvider,
|
|
6087
|
+
Xr as ProductFileType,
|
|
6061
6088
|
Le as ProductPriceCoefficient,
|
|
6062
|
-
|
|
6063
|
-
|
|
6089
|
+
tt as ProductPriceHistory,
|
|
6090
|
+
Ut as PropertiesProvider,
|
|
6064
6091
|
Z as Property,
|
|
6065
6092
|
er as PropertyType,
|
|
6066
6093
|
Br as PropertyTypeEnum,
|
|
6067
6094
|
H as PropertyValue,
|
|
6068
|
-
|
|
6095
|
+
Gt as RecommendationsDataProvider,
|
|
6069
6096
|
qe as RecommendationsList,
|
|
6070
6097
|
w as Reference,
|
|
6071
6098
|
A as ReferenceDataProvider,
|
|
@@ -6074,23 +6101,24 @@ export {
|
|
|
6074
6101
|
S as SalesDirection,
|
|
6075
6102
|
Gr as SentryConfig,
|
|
6076
6103
|
ze as Seo,
|
|
6077
|
-
|
|
6104
|
+
Kt as SeoDataProvider,
|
|
6078
6105
|
sr as SourcePrimaryInterest,
|
|
6079
6106
|
xr as StockCount,
|
|
6080
|
-
|
|
6107
|
+
bt as TemplatesListFilters,
|
|
6081
6108
|
xe as TypedInstanceFactory,
|
|
6082
6109
|
Be as UnitsHelper,
|
|
6083
|
-
|
|
6110
|
+
zt as UnknownClientDataProvider,
|
|
6084
6111
|
Ye as UpdatableNamedIdentity,
|
|
6085
|
-
|
|
6112
|
+
et as User,
|
|
6086
6113
|
Ze as UserCommonInfo,
|
|
6087
|
-
|
|
6114
|
+
rt as UserDataProvider,
|
|
6115
|
+
Wr as UserPricingRole,
|
|
6088
6116
|
G as UserShortInfo,
|
|
6089
|
-
|
|
6117
|
+
Zr as UserTypeEnum,
|
|
6090
6118
|
Mr as VersionConfig,
|
|
6091
6119
|
we as Warehouse,
|
|
6092
6120
|
Me as findCatalogItemByIdRecursive,
|
|
6093
|
-
|
|
6094
|
-
|
|
6121
|
+
Qt as useReferencesStore,
|
|
6122
|
+
Yt as useUserStateStore
|
|
6095
6123
|
};
|
|
6096
6124
|
//# sourceMappingURL=sc-common-lib.js.map
|