@snabcentr/common-lib 1.71.2 → 1.71.4
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 +3 -3
- package/dist/sc-common-lib.js +212 -184
- 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/interfaces/i-predefined-properties.d.ts +1 -1
- package/dist/src/catalog/interfaces/i-predefined-properties.d.ts.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
|
@@ -6,7 +6,7 @@ import { merge as xe, isUndefined as vr, isNil as $, noop as w, mapValues as Pr,
|
|
|
6
6
|
import { objectToCamel as Oe, objectToSnake as Me } from "ts-case-convert";
|
|
7
7
|
import { defineStore as Z } from "pinia";
|
|
8
8
|
import { ref as f, markRaw as _r, computed as R } from "vue";
|
|
9
|
-
import { parseISO as C, format as q, isAfter as Sr, startOfToday as er, addSeconds as Ir, addBusinessDays as
|
|
9
|
+
import { parseISO as C, format as q, isAfter as Sr, startOfToday as er, addSeconds as Ir, addBusinessDays as Lr, endOfTomorrow as kr, startOfTomorrow as dr, endOfYesterday as xr, startOfYesterday as Nr, endOfToday as Or, endOfDay as qr, startOfDay as Ur } from "date-fns";
|
|
10
10
|
import Gr from "axios";
|
|
11
11
|
class ie {
|
|
12
12
|
/**
|
|
@@ -111,7 +111,7 @@ class ie {
|
|
|
111
111
|
return s.resourceAccess = e.resource_access, s;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
class
|
|
114
|
+
class dt extends ie {
|
|
115
115
|
/**
|
|
116
116
|
* Инициализирует экземпляр класса {@link DetailedJwtPayload}.
|
|
117
117
|
*
|
|
@@ -348,7 +348,7 @@ class rr extends ne {
|
|
|
348
348
|
this.slug = (e == null ? void 0 : e.slug) ?? "";
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
class
|
|
351
|
+
class Le extends rr {
|
|
352
352
|
/**
|
|
353
353
|
* Инициализирует экземпляр класса {@link PrimaryCatalogableItem}.
|
|
354
354
|
*
|
|
@@ -363,7 +363,7 @@ class de extends rr {
|
|
|
363
363
|
this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
class he extends
|
|
366
|
+
class he extends Le {
|
|
367
367
|
/**
|
|
368
368
|
* Инициализирует экземпляр класса {@link BaseCategory}.
|
|
369
369
|
*
|
|
@@ -556,7 +556,7 @@ class Mr {
|
|
|
556
556
|
this.image = `${e ?? ""}${r.image}`, this.preview = `${e ?? ""}${r.preview}`, this.isDefault = r.isDefault;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
class
|
|
559
|
+
class d extends Fr {
|
|
560
560
|
/**
|
|
561
561
|
* Инициализирует экземпляр класса {@link Product}.
|
|
562
562
|
*
|
|
@@ -643,7 +643,7 @@ class L extends Fr {
|
|
|
643
643
|
t(this, "priceCoefficients");
|
|
644
644
|
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 = y(e == null ? void 0 : e.costDate) ? C(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((u) => new jr(u))) ?? [], this.currencySignature = (e == null ? void 0 : e.currencySignature) ?? "", this.type = "product";
|
|
645
645
|
const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((u) => u.isPrimary));
|
|
646
|
-
s && (this.category = new
|
|
646
|
+
s && (this.category = new Le({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((u) => new Le(u))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((u) => new Mr(u, D.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 = ((p = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : p.map((u) => new qe(u))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
|
|
647
647
|
}
|
|
648
648
|
/**
|
|
649
649
|
* Возвращает признак, что это измеряемый товар.
|
|
@@ -718,7 +718,7 @@ class Hr extends M {
|
|
|
718
718
|
* Признак того, что позиция является дополнительной продажей.
|
|
719
719
|
*/
|
|
720
720
|
t(this, "isAdditionalSale");
|
|
721
|
-
this.product = new
|
|
721
|
+
this.product = new d(e == null ? void 0 : e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new he(), this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && $r(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale;
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
724
|
class Br extends Hr {
|
|
@@ -1016,7 +1016,7 @@ t(k, "instances", {}), /**
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
t(k, "defaultErrorsResponseHandler", w);
|
|
1018
1018
|
let h = k;
|
|
1019
|
-
class
|
|
1019
|
+
class xt extends h {
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Возвращает содержимое корзины указанного клиента.
|
|
1022
1022
|
*
|
|
@@ -1137,7 +1137,7 @@ class B extends he {
|
|
|
1137
1137
|
* Список продуктов категории.
|
|
1138
1138
|
*/
|
|
1139
1139
|
t(this, "products");
|
|
1140
|
-
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new B(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new
|
|
1140
|
+
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new B(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new d(o));
|
|
1141
1141
|
}
|
|
1142
1142
|
}
|
|
1143
1143
|
class ir extends T {
|
|
@@ -1170,7 +1170,7 @@ class Er extends ir {
|
|
|
1170
1170
|
this.deletedAt = y(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt;
|
|
1171
1171
|
}
|
|
1172
1172
|
}
|
|
1173
|
-
class
|
|
1173
|
+
class Nt {
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Возвращает актуальные и не просроченные данные из хранилища.
|
|
1176
1176
|
*
|
|
@@ -1277,7 +1277,7 @@ class z extends ir {
|
|
|
1277
1277
|
this.description = (e == null ? void 0 : e.description) ?? "", this.createdAt = y(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date();
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
|
-
class Q extends
|
|
1280
|
+
class Q extends d {
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Инициализирует экземпляр класса {@link ClientProduct}.
|
|
1283
1283
|
*
|
|
@@ -1363,6 +1363,29 @@ class oe extends T {
|
|
|
1363
1363
|
e && (this.salesDirection = new x(e.salesDirection), this.photo = e.photo, e.contacts && (this.contacts = new Jr(e.contacts)), e.isDefault !== void 0 && (this.isDefault = e.isDefault));
|
|
1364
1364
|
}
|
|
1365
1365
|
}
|
|
1366
|
+
class Kr extends T {
|
|
1367
|
+
/**
|
|
1368
|
+
* Инициализирует экземпляр класса {@link IUserPricingRole}.
|
|
1369
|
+
*
|
|
1370
|
+
* @param data Данные для первоначальной инициализации.
|
|
1371
|
+
*/
|
|
1372
|
+
constructor(e) {
|
|
1373
|
+
super(e);
|
|
1374
|
+
/**
|
|
1375
|
+
* @inheritDoc
|
|
1376
|
+
*/
|
|
1377
|
+
t(this, "description");
|
|
1378
|
+
/**
|
|
1379
|
+
* @inheritDoc
|
|
1380
|
+
*/
|
|
1381
|
+
t(this, "canChangeLowCost");
|
|
1382
|
+
/**
|
|
1383
|
+
* @inheritDoc
|
|
1384
|
+
*/
|
|
1385
|
+
t(this, "parentRoleId");
|
|
1386
|
+
this.description = e.description, this.canChangeLowCost = e.canChangeLowCost, this.parentRoleId = e.parentRoleId;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1366
1389
|
class Ae extends oe {
|
|
1367
1390
|
/**
|
|
1368
1391
|
* Инициализирует экземпляр класса {@link Manager}.
|
|
@@ -1391,10 +1414,14 @@ class Ae extends oe {
|
|
|
1391
1414
|
* Идентификатор супервайзера.
|
|
1392
1415
|
*/
|
|
1393
1416
|
t(this, "supervisorId");
|
|
1394
|
-
|
|
1417
|
+
/**
|
|
1418
|
+
* Данные роли ценообразования менеджера.
|
|
1419
|
+
*/
|
|
1420
|
+
t(this, "pricingRole");
|
|
1421
|
+
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 Kr(e.pricingRole) : void 0;
|
|
1395
1422
|
}
|
|
1396
1423
|
}
|
|
1397
|
-
class
|
|
1424
|
+
class Qr extends he {
|
|
1398
1425
|
/**
|
|
1399
1426
|
* Инициализирует экземпляр класса {@link BaseClientCategory}.
|
|
1400
1427
|
*
|
|
@@ -1425,7 +1452,7 @@ class Kr extends he {
|
|
|
1425
1452
|
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 Ae(e.manager) : void 0;
|
|
1426
1453
|
}
|
|
1427
1454
|
}
|
|
1428
|
-
class fe extends
|
|
1455
|
+
class fe extends Qr {
|
|
1429
1456
|
/**
|
|
1430
1457
|
* Инициализирует экземпляр класса {@link ClientCategory}.
|
|
1431
1458
|
*
|
|
@@ -1633,7 +1660,7 @@ class Te extends nr {
|
|
|
1633
1660
|
* Базовые данные о продукте.
|
|
1634
1661
|
*/
|
|
1635
1662
|
t(this, "product");
|
|
1636
|
-
this.product = new
|
|
1663
|
+
this.product = new d(e == null ? void 0 : e.product);
|
|
1637
1664
|
}
|
|
1638
1665
|
}
|
|
1639
1666
|
class cr extends P {
|
|
@@ -1698,7 +1725,7 @@ class O {
|
|
|
1698
1725
|
this.from = y(r == null ? void 0 : r.from) ? C(r.from) : (r == null ? void 0 : r.from) ?? null, this.to = y(r == null ? void 0 : r.to) ? C(r.to) : (r == null ? void 0 : r.to) ?? null;
|
|
1699
1726
|
}
|
|
1700
1727
|
}
|
|
1701
|
-
class
|
|
1728
|
+
class Ot {
|
|
1702
1729
|
/**
|
|
1703
1730
|
* Инициализирует экземпляр класса {@link TemplatesListFilters}.
|
|
1704
1731
|
*
|
|
@@ -1819,7 +1846,7 @@ class He {
|
|
|
1819
1846
|
this.role = new se(r == null ? void 0 : r.role), this.category = new he(r == null ? void 0 : r.category), this.minCoefficient = new Pe(r == null ? void 0 : r.minCoefficient);
|
|
1820
1847
|
}
|
|
1821
1848
|
}
|
|
1822
|
-
class
|
|
1849
|
+
class Yr {
|
|
1823
1850
|
/**
|
|
1824
1851
|
* Инициализирует экземпляр класса {@link DeviceTypeResolutionConfig}.
|
|
1825
1852
|
*
|
|
@@ -1841,7 +1868,7 @@ class Qr {
|
|
|
1841
1868
|
this.phone = (r == null ? void 0 : r.phone) ?? 360, this.tablet = (r == null ? void 0 : r.tablet) ?? 600, this.laptop = (r == null ? void 0 : r.laptop) ?? 1024;
|
|
1842
1869
|
}
|
|
1843
1870
|
}
|
|
1844
|
-
class
|
|
1871
|
+
class Xr {
|
|
1845
1872
|
/**
|
|
1846
1873
|
* Инициализирует экземпляр класса {@link HttpParamsConfig}.
|
|
1847
1874
|
*
|
|
@@ -1871,7 +1898,7 @@ class Yr {
|
|
|
1871
1898
|
this.portalApiUrl = (r == null ? void 0 : r.portalApiUrl) ?? "", this.priceHistoryApiUrl = (r == null ? void 0 : r.priceHistoryApiUrl) ?? "", this.recommendationsApiUrl = (r == null ? void 0 : r.recommendationsApiUrl) ?? "", this.mediaUrl = (r == null ? void 0 : r.mediaUrl) ?? "", this.responseDataCacheTimeout = (r == null ? void 0 : r.responseDataCacheTimeout) ?? 3 * 60 * 60;
|
|
1872
1899
|
}
|
|
1873
1900
|
}
|
|
1874
|
-
class
|
|
1901
|
+
class Zr {
|
|
1875
1902
|
/**
|
|
1876
1903
|
* Инициализирует экземпляр класса {@link SentryConfig}.
|
|
1877
1904
|
*
|
|
@@ -1916,7 +1943,7 @@ class Xr {
|
|
|
1916
1943
|
}, this.additionalParams = (r == null ? void 0 : r.additionalParams) ?? {};
|
|
1917
1944
|
}
|
|
1918
1945
|
}
|
|
1919
|
-
class
|
|
1946
|
+
class et {
|
|
1920
1947
|
/**
|
|
1921
1948
|
* Инициализирует экземпляр класса {@link VersionConfig}.
|
|
1922
1949
|
*
|
|
@@ -1938,7 +1965,7 @@ class Zr {
|
|
|
1938
1965
|
this.date = y(r == null ? void 0 : r.date) ? C(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";
|
|
1939
1966
|
}
|
|
1940
1967
|
}
|
|
1941
|
-
class
|
|
1968
|
+
class rt {
|
|
1942
1969
|
/**
|
|
1943
1970
|
* Инициализирует экземпляр класса {@link WebSocketConfig}.
|
|
1944
1971
|
*
|
|
@@ -1977,7 +2004,7 @@ class et {
|
|
|
1977
2004
|
this.broadcaster = r.broadcaster ?? "reverb", this.key = r.key ?? "", this.wsHost = r.wsHost ?? "", this.wsPort = r.wsPort ?? 8080, this.wssPort = r.wssPort ?? 8080, this.forceTLS = r.forceTLS ?? !1, this.enabledTransports = r.enabledTransports ?? ["wss"];
|
|
1978
2005
|
}
|
|
1979
2006
|
}
|
|
1980
|
-
class
|
|
2007
|
+
class qt {
|
|
1981
2008
|
/**
|
|
1982
2009
|
* Инициализирует экземпляр класса {@link AppBaseConfig}.
|
|
1983
2010
|
*
|
|
@@ -2021,17 +2048,17 @@ class Ot {
|
|
|
2021
2048
|
*/
|
|
2022
2049
|
t(this, "dateFormats");
|
|
2023
2050
|
var e, s, i;
|
|
2024
|
-
this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new
|
|
2051
|
+
this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Xr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new Yr(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new Zr({
|
|
2025
2052
|
environment: this.environment,
|
|
2026
2053
|
...r == null ? void 0 : r.sentry
|
|
2027
|
-
}), this.urls = r == null ? void 0 : r.urls, this.version = new
|
|
2054
|
+
}), this.urls = r == null ? void 0 : r.urls, this.version = new et(r == null ? void 0 : r.version), this.websocket = r != null && r.websocket ? new rt(r.websocket) : void 0, this.dateFormats = {
|
|
2028
2055
|
api: ((e = r == null ? void 0 : r.dateFormats) == null ? void 0 : e.api) ?? "yyyy-MM-dd HH:mm:ss",
|
|
2029
2056
|
uiDate: ((s = r == null ? void 0 : r.dateFormats) == null ? void 0 : s.uiDate) ?? "dd.MM.yyyy",
|
|
2030
2057
|
uiDateWithTime: ((i = r == null ? void 0 : r.dateFormats) == null ? void 0 : i.uiDateWithTime) ?? "dd.MM.yyyy HH:mm"
|
|
2031
2058
|
};
|
|
2032
2059
|
}
|
|
2033
2060
|
}
|
|
2034
|
-
class
|
|
2061
|
+
class Ut extends h {
|
|
2035
2062
|
/**
|
|
2036
2063
|
* Возвращает данные о результатах поиска категорий и товаров.
|
|
2037
2064
|
*
|
|
@@ -2062,7 +2089,7 @@ class qt extends h {
|
|
|
2062
2089
|
return s && (c += `&category_id=${s}`), i && (c += `&client_id=${i}`), c;
|
|
2063
2090
|
}
|
|
2064
2091
|
}
|
|
2065
|
-
class
|
|
2092
|
+
class Gt extends h {
|
|
2066
2093
|
/**
|
|
2067
2094
|
* Импортирует цены клиента из CSV файла.
|
|
2068
2095
|
*
|
|
@@ -2261,7 +2288,7 @@ class Ut extends h {
|
|
|
2261
2288
|
return this.post(`/internal/clients/${r}/price/commercial-offer/send`, e);
|
|
2262
2289
|
}
|
|
2263
2290
|
}
|
|
2264
|
-
class
|
|
2291
|
+
class jt extends h {
|
|
2265
2292
|
/**
|
|
2266
2293
|
* Возвращает список шаблонов прайс-листа привязанных к клиенту.
|
|
2267
2294
|
*
|
|
@@ -2353,7 +2380,7 @@ class Gt extends h {
|
|
|
2353
2380
|
return this.delete(`/internal/clients/${r}/price/templates/${e}/${s}`);
|
|
2354
2381
|
}
|
|
2355
2382
|
}
|
|
2356
|
-
class
|
|
2383
|
+
class Ft extends h {
|
|
2357
2384
|
/**
|
|
2358
2385
|
* Возвращает список данных о корневых категориях.
|
|
2359
2386
|
*
|
|
@@ -2413,7 +2440,7 @@ class jt extends h {
|
|
|
2413
2440
|
showHidden: s,
|
|
2414
2441
|
withPriceCoefficients: e
|
|
2415
2442
|
},
|
|
2416
|
-
(i) => ue(i.data, (o) => new
|
|
2443
|
+
(i) => ue(i.data, (o) => new d(o))
|
|
2417
2444
|
);
|
|
2418
2445
|
}
|
|
2419
2446
|
/**
|
|
@@ -2445,7 +2472,7 @@ class jt extends h {
|
|
|
2445
2472
|
});
|
|
2446
2473
|
}
|
|
2447
2474
|
}
|
|
2448
|
-
class
|
|
2475
|
+
class Mt extends h {
|
|
2449
2476
|
/**
|
|
2450
2477
|
* Возвращает данные об указанном продукте.
|
|
2451
2478
|
*
|
|
@@ -2455,7 +2482,7 @@ class Ft extends h {
|
|
|
2455
2482
|
* @see /doc/api/internal#/Каталог/api_internal_catalog_products_get
|
|
2456
2483
|
*/
|
|
2457
2484
|
getProductData(r, e = !1) {
|
|
2458
|
-
return this.get(`/internal/catalog/products/${r}`, { withPriceCoefficients: e }, (s) => new
|
|
2485
|
+
return this.get(`/internal/catalog/products/${r}`, { withPriceCoefficients: e }, (s) => new d(s.data));
|
|
2459
2486
|
}
|
|
2460
2487
|
/**
|
|
2461
2488
|
* Возвращает публичные данные об указанном продукте.
|
|
@@ -2463,7 +2490,7 @@ class Ft extends h {
|
|
|
2463
2490
|
* @param productId Идентификатор продукта.
|
|
2464
2491
|
*/
|
|
2465
2492
|
getPublicProductData(r) {
|
|
2466
|
-
return this.get(`/public/catalog/products/${r}`, {}, (e) => new
|
|
2493
|
+
return this.get(`/public/catalog/products/${r}`, {}, (e) => new d(e.data));
|
|
2467
2494
|
}
|
|
2468
2495
|
/**
|
|
2469
2496
|
* Возвращает данные о коэффициентах цен для указанного продукта.
|
|
@@ -2488,14 +2515,14 @@ class Ft extends h {
|
|
|
2488
2515
|
publicSimpleSearch(r, e = 10) {
|
|
2489
2516
|
return new Promise((s, i) => {
|
|
2490
2517
|
this.get(`/public/catalog/search/simple?limit=${e}&term=${r}`).then((o) => {
|
|
2491
|
-
s(o.products.map((c) => new
|
|
2518
|
+
s(o.products.map((c) => new d(c)));
|
|
2492
2519
|
}).catch((o) => {
|
|
2493
2520
|
i(o);
|
|
2494
2521
|
});
|
|
2495
2522
|
});
|
|
2496
2523
|
}
|
|
2497
2524
|
}
|
|
2498
|
-
class
|
|
2525
|
+
class Ht extends h {
|
|
2499
2526
|
/**
|
|
2500
2527
|
* Возвращает список данных о корневых категориях указанного клиента.
|
|
2501
2528
|
*
|
|
@@ -2557,7 +2584,7 @@ class Mt extends h {
|
|
|
2557
2584
|
);
|
|
2558
2585
|
}
|
|
2559
2586
|
}
|
|
2560
|
-
class
|
|
2587
|
+
class Bt extends h {
|
|
2561
2588
|
/**
|
|
2562
2589
|
* Возвращает данные об указанном продукте для указанного клиента.
|
|
2563
2590
|
*
|
|
@@ -2668,7 +2695,7 @@ class De extends h {
|
|
|
2668
2695
|
return e && (u.filters = JSON.stringify((e instanceof le ? e : new le(e)).toPrimitive())), ve(s) || (u.sort = J(s) ? s : [s]), o && (u = { ...u, ...o }), this.get(r, u, c, p);
|
|
2669
2696
|
}
|
|
2670
2697
|
}
|
|
2671
|
-
class
|
|
2698
|
+
class zt extends De {
|
|
2672
2699
|
/**
|
|
2673
2700
|
* Возвращает список шаблонов прайс-листа.
|
|
2674
2701
|
*
|
|
@@ -2872,7 +2899,7 @@ class Bt extends De {
|
|
|
2872
2899
|
);
|
|
2873
2900
|
}
|
|
2874
2901
|
}
|
|
2875
|
-
class
|
|
2902
|
+
class Wt extends h {
|
|
2876
2903
|
/**
|
|
2877
2904
|
* Возвращает список ролей ценообразования.
|
|
2878
2905
|
*
|
|
@@ -2952,7 +2979,7 @@ class zt extends h {
|
|
|
2952
2979
|
);
|
|
2953
2980
|
}
|
|
2954
2981
|
}
|
|
2955
|
-
class
|
|
2982
|
+
class Et extends De {
|
|
2956
2983
|
/**
|
|
2957
2984
|
* Возвращает пагинированный список свойств.
|
|
2958
2985
|
*
|
|
@@ -3354,14 +3381,14 @@ function We(n) {
|
|
|
3354
3381
|
}
|
|
3355
3382
|
}), r;
|
|
3356
3383
|
}
|
|
3357
|
-
var
|
|
3358
|
-
class
|
|
3384
|
+
var tt = /* @__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))(tt || {}), L = /* @__PURE__ */ ((n) => (n.Person = "individual", n.Ic = "entrepreneur", n.UlR = "legal", n.UlNr = "non_resident_legal", n))(L || {});
|
|
3385
|
+
class st extends P {
|
|
3359
3386
|
}
|
|
3360
3387
|
class lr extends P {
|
|
3361
3388
|
}
|
|
3362
|
-
class
|
|
3389
|
+
class Vt extends P {
|
|
3363
3390
|
}
|
|
3364
|
-
class
|
|
3391
|
+
class it extends P {
|
|
3365
3392
|
}
|
|
3366
3393
|
class ye extends T {
|
|
3367
3394
|
/**
|
|
@@ -3390,21 +3417,21 @@ class j extends P {
|
|
|
3390
3417
|
return new j({
|
|
3391
3418
|
id: 1,
|
|
3392
3419
|
guid: "",
|
|
3393
|
-
slug:
|
|
3420
|
+
slug: L.Person,
|
|
3394
3421
|
name: ""
|
|
3395
3422
|
});
|
|
3396
3423
|
}
|
|
3397
3424
|
}
|
|
3398
|
-
class it extends P {
|
|
3399
|
-
}
|
|
3400
3425
|
class nt extends P {
|
|
3401
3426
|
}
|
|
3402
|
-
class X extends P {
|
|
3403
|
-
}
|
|
3404
3427
|
class ot extends P {
|
|
3405
3428
|
}
|
|
3429
|
+
class X extends P {
|
|
3430
|
+
}
|
|
3406
3431
|
class ct extends P {
|
|
3407
3432
|
}
|
|
3433
|
+
class lt extends P {
|
|
3434
|
+
}
|
|
3408
3435
|
class pr extends P {
|
|
3409
3436
|
}
|
|
3410
3437
|
class ur extends P {
|
|
@@ -3440,7 +3467,7 @@ class ke extends M {
|
|
|
3440
3467
|
e && (this.bankName = e.bankName ?? "", this.bic = e.bic ?? "", this.accountNumber = e.accountNumber ?? "", this.correspondentAccount = e.correspondentAccount ?? "", this.currency = new ye(e.currency));
|
|
3441
3468
|
}
|
|
3442
3469
|
}
|
|
3443
|
-
class
|
|
3470
|
+
class de extends T {
|
|
3444
3471
|
/**
|
|
3445
3472
|
* Инициализирует экземпляр класса {@link Contact}.
|
|
3446
3473
|
*
|
|
@@ -3459,7 +3486,7 @@ class Le extends T {
|
|
|
3459
3486
|
this.email = e == null ? void 0 : e.email, this.phone = /^\d+$/.test((e == null ? void 0 : e.phone) ?? "") ? `+${e == null ? void 0 : e.phone}` : e == null ? void 0 : e.phone;
|
|
3460
3487
|
}
|
|
3461
3488
|
}
|
|
3462
|
-
class F extends
|
|
3489
|
+
class F extends de {
|
|
3463
3490
|
/**
|
|
3464
3491
|
* Инициализирует экземпляр класса {@link ContactPerson}.
|
|
3465
3492
|
*
|
|
@@ -3567,7 +3594,7 @@ class hr extends T {
|
|
|
3567
3594
|
}
|
|
3568
3595
|
}
|
|
3569
3596
|
}
|
|
3570
|
-
class
|
|
3597
|
+
class pt extends hr {
|
|
3571
3598
|
/**
|
|
3572
3599
|
* Инициализирует экземпляр класса {@link ContragentPerson}.
|
|
3573
3600
|
*
|
|
@@ -3635,7 +3662,7 @@ class mr extends gr {
|
|
|
3635
3662
|
e && (this.kpp = e.kpp ?? "");
|
|
3636
3663
|
}
|
|
3637
3664
|
}
|
|
3638
|
-
class
|
|
3665
|
+
class ut extends mr {
|
|
3639
3666
|
/**
|
|
3640
3667
|
* Инициализирует экземпляр класса {@link ContragentUlNr}.
|
|
3641
3668
|
*
|
|
@@ -3666,14 +3693,14 @@ class we {
|
|
|
3666
3693
|
*/
|
|
3667
3694
|
static createInstance(r) {
|
|
3668
3695
|
switch (r.opf.slug) {
|
|
3669
|
-
case
|
|
3696
|
+
case L.Ic:
|
|
3670
3697
|
return new gr(r);
|
|
3671
|
-
case
|
|
3698
|
+
case L.UlR:
|
|
3672
3699
|
return new mr(r);
|
|
3673
|
-
case
|
|
3674
|
-
return new
|
|
3700
|
+
case L.UlNr:
|
|
3701
|
+
return new ut(r);
|
|
3675
3702
|
default:
|
|
3676
|
-
return new
|
|
3703
|
+
return new pt(r);
|
|
3677
3704
|
}
|
|
3678
3705
|
}
|
|
3679
3706
|
}
|
|
@@ -3692,7 +3719,7 @@ class be extends M {
|
|
|
3692
3719
|
this.isPrimary = e.isPrimary;
|
|
3693
3720
|
}
|
|
3694
3721
|
}
|
|
3695
|
-
class
|
|
3722
|
+
class ht extends F {
|
|
3696
3723
|
/**
|
|
3697
3724
|
* Инициализирует экземпляр класса {@link ContactPersonRelated}.
|
|
3698
3725
|
*
|
|
@@ -3817,7 +3844,7 @@ class Ee extends ge {
|
|
|
3817
3844
|
this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((p) => we.createInstance(p))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((p) => new X(p))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((p) => new F(p))) ?? [], this.deliveryAddresses = ((c = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : c.map((p) => new Ce(p))) ?? [], this.channelPrimaryInterest = new lr(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new ur(e == null ? void 0 : e.sourcePrimaryInterest), this.preferredDeliveryType = new K(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 Re(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
|
|
3818
3845
|
}
|
|
3819
3846
|
}
|
|
3820
|
-
class
|
|
3847
|
+
class Jt {
|
|
3821
3848
|
/**
|
|
3822
3849
|
* Инициализирует экземпляр класса {@link ClientsListFilters}.
|
|
3823
3850
|
*
|
|
@@ -3913,7 +3940,7 @@ class Vt {
|
|
|
3913
3940
|
*/
|
|
3914
3941
|
t(this, "lastOrder");
|
|
3915
3942
|
var e, s, i, o, c, p;
|
|
3916
|
-
this.id = r == null ? void 0 : r.id, this.name = r == null ? void 0 : r.name, this.alternativeName = r == null ? void 0 : r.alternativeName, this.searchTerm = r == null ? void 0 : r.searchTerm, this.cities = (e = r == null ? void 0 : r.cities) == null ? void 0 : e.map((u) => new je(u)), this.region = new ce(r == null ? void 0 : r.region), this.country = new Y(r == null ? void 0 : r.country), this.phone = r == null ? void 0 : r.phone, this.email = r == null ? void 0 : r.email, this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = new O(r == null ? void 0 : r.createdAt), this.lastLoginDate = new O(r == null ? void 0 : r.lastLoginDate), this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = r != null && r.managers && r.managers.length > 0 ? r.managers.map((u) => new Ae(u)) : [], this.salesDirections = (s = r == null ? void 0 : r.salesDirections) == null ? void 0 : s.map((u) => new x(u)), this.contragentInn = r == null ? void 0 : r.contragentInn, this.contragentType = new j(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new K(r == null ? void 0 : r.preferredDeliveryType), this.partnerGroups = (i = r == null ? void 0 : r.partnerGroups) == null ? void 0 : i.map((u) => new X(u)), this.contact = new
|
|
3943
|
+
this.id = r == null ? void 0 : r.id, this.name = r == null ? void 0 : r.name, this.alternativeName = r == null ? void 0 : r.alternativeName, this.searchTerm = r == null ? void 0 : r.searchTerm, this.cities = (e = r == null ? void 0 : r.cities) == null ? void 0 : e.map((u) => new je(u)), this.region = new ce(r == null ? void 0 : r.region), this.country = new Y(r == null ? void 0 : r.country), this.phone = r == null ? void 0 : r.phone, this.email = r == null ? void 0 : r.email, this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = new O(r == null ? void 0 : r.createdAt), this.lastLoginDate = new O(r == null ? void 0 : r.lastLoginDate), this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = r != null && r.managers && r.managers.length > 0 ? r.managers.map((u) => new Ae(u)) : [], this.salesDirections = (s = r == null ? void 0 : r.salesDirections) == null ? void 0 : s.map((u) => new x(u)), this.contragentInn = r == null ? void 0 : r.contragentInn, this.contragentType = new j(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new K(r == null ? void 0 : r.preferredDeliveryType), this.partnerGroups = (i = r == null ? void 0 : r.partnerGroups) == null ? void 0 : i.map((u) => new X(u)), this.contact = new de(r == null ? void 0 : r.contact), this.lastOrder = {
|
|
3917
3944
|
createdAt: new O((o = r == null ? void 0 : r.lastOrder) == null ? void 0 : o.createdAt),
|
|
3918
3945
|
creator: (c = r == null ? void 0 : r.lastOrder) == null ? void 0 : c.creator,
|
|
3919
3946
|
isApproved: (p = r == null ? void 0 : r.lastOrder) == null ? void 0 : p.isApproved
|
|
@@ -3972,7 +3999,7 @@ class Vt {
|
|
|
3972
3999
|
this.partnerGroups = [];
|
|
3973
4000
|
break;
|
|
3974
4001
|
case "contact":
|
|
3975
|
-
this.contact = new
|
|
4002
|
+
this.contact = new de();
|
|
3976
4003
|
break;
|
|
3977
4004
|
}
|
|
3978
4005
|
return this;
|
|
@@ -4014,7 +4041,7 @@ class fr extends M {
|
|
|
4014
4041
|
this.createdAt = y(e == null ? void 0 : e.createdAt) ? C(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;
|
|
4015
4042
|
}
|
|
4016
4043
|
}
|
|
4017
|
-
class
|
|
4044
|
+
class gt extends T {
|
|
4018
4045
|
/**
|
|
4019
4046
|
* Инициализирует экземпляр класса {@link ClientAdditionalData}.
|
|
4020
4047
|
*
|
|
@@ -4050,7 +4077,7 @@ class ht extends T {
|
|
|
4050
4077
|
(s = e.contacts) != null && s.length && (this.contacts = e.contacts.map((o) => new F(o))), e.lastOrder && (this.lastOrder = new fr(e.lastOrder)), (i = e.partnerGroups) != null && i.length && (this.partnerGroups = e.partnerGroups.map((o) => new X(o))), e.preferredDeliveryType && (this.preferredDeliveryType = new K(e.preferredDeliveryType)), e.salesDirection && (this.salesDirection = new x(e.salesDirection)), e.managers && (this.managers = e.managers.map((o) => new oe(o)));
|
|
4051
4078
|
}
|
|
4052
4079
|
}
|
|
4053
|
-
class
|
|
4080
|
+
class mt {
|
|
4054
4081
|
/**
|
|
4055
4082
|
* Инициализирует экземпляр класса {@link DataTablePaginationRequestParams}.
|
|
4056
4083
|
*
|
|
@@ -4068,7 +4095,7 @@ class gt {
|
|
|
4068
4095
|
this.page = (r == null ? void 0 : r.page) ?? 1, this.pageSize = (r == null ? void 0 : r.pageSize) ?? 50;
|
|
4069
4096
|
}
|
|
4070
4097
|
}
|
|
4071
|
-
class
|
|
4098
|
+
class Kt extends mt {
|
|
4072
4099
|
/**
|
|
4073
4100
|
* Инициализирует экземпляр класса {@link DataTablePagination}.
|
|
4074
4101
|
*
|
|
@@ -4099,7 +4126,7 @@ class Jt extends gt {
|
|
|
4099
4126
|
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;
|
|
4100
4127
|
}
|
|
4101
4128
|
}
|
|
4102
|
-
class
|
|
4129
|
+
class Qt {
|
|
4103
4130
|
/**
|
|
4104
4131
|
* Инициализирует экземпляр класса {@link ISortRequestParams}.
|
|
4105
4132
|
*
|
|
@@ -4117,7 +4144,7 @@ class Kt {
|
|
|
4117
4144
|
this.field = (r == null ? void 0 : r.field) ?? "", this.direction = (r == null ? void 0 : r.direction) ?? "asc";
|
|
4118
4145
|
}
|
|
4119
4146
|
}
|
|
4120
|
-
class
|
|
4147
|
+
class Yt extends De {
|
|
4121
4148
|
/**
|
|
4122
4149
|
* Возвращает данные об указанном клиенте.
|
|
4123
4150
|
*
|
|
@@ -4167,7 +4194,7 @@ class Qt extends De {
|
|
|
4167
4194
|
const s = r.map((i) => i.id);
|
|
4168
4195
|
return this.post("/internal/clients/additional-data", { clients: s, requested_data_types: e }, (i) => {
|
|
4169
4196
|
let o = [];
|
|
4170
|
-
return (i == null ? void 0 : i.data.length) > 0 && (o = i.data.map((c) => new
|
|
4197
|
+
return (i == null ? void 0 : i.data.length) > 0 && (o = i.data.map((c) => new gt(c))), o;
|
|
4171
4198
|
});
|
|
4172
4199
|
}
|
|
4173
4200
|
/**
|
|
@@ -4179,7 +4206,7 @@ class Qt extends De {
|
|
|
4179
4206
|
getAllClientContacts(r) {
|
|
4180
4207
|
return this.get(`/internal/clients/${r}/contacts/all`, {}, (e) => {
|
|
4181
4208
|
let s = [];
|
|
4182
|
-
return (e == null ? void 0 : e.data.length) > 0 && (s = e.data.map((i) => new
|
|
4209
|
+
return (e == null ? void 0 : e.data.length) > 0 && (s = e.data.map((i) => new ht(i))), s;
|
|
4183
4210
|
});
|
|
4184
4211
|
}
|
|
4185
4212
|
/**
|
|
@@ -4323,7 +4350,7 @@ class Qt extends De {
|
|
|
4323
4350
|
let i;
|
|
4324
4351
|
const o = e, c = e, p = e;
|
|
4325
4352
|
switch (e.opf.slug) {
|
|
4326
|
-
case
|
|
4353
|
+
case L.Ic:
|
|
4327
4354
|
i = {
|
|
4328
4355
|
opf: o.opf.slug,
|
|
4329
4356
|
name: o.name,
|
|
@@ -4341,7 +4368,7 @@ class Qt extends De {
|
|
|
4341
4368
|
actual_address: o.actualAddress
|
|
4342
4369
|
};
|
|
4343
4370
|
break;
|
|
4344
|
-
case
|
|
4371
|
+
case L.UlR:
|
|
4345
4372
|
i = {
|
|
4346
4373
|
opf: c.opf.slug,
|
|
4347
4374
|
name: c.name,
|
|
@@ -4360,7 +4387,7 @@ class Qt extends De {
|
|
|
4360
4387
|
actual_address: c.actualAddress
|
|
4361
4388
|
};
|
|
4362
4389
|
break;
|
|
4363
|
-
case
|
|
4390
|
+
case L.UlNr:
|
|
4364
4391
|
i = {
|
|
4365
4392
|
opf: p.opf.slug,
|
|
4366
4393
|
name: p.name,
|
|
@@ -4412,7 +4439,7 @@ class Qt extends De {
|
|
|
4412
4439
|
let i;
|
|
4413
4440
|
const o = e, c = e, p = e;
|
|
4414
4441
|
switch (e.opf.slug) {
|
|
4415
|
-
case
|
|
4442
|
+
case L.Ic:
|
|
4416
4443
|
i = {
|
|
4417
4444
|
opf: o.opf.slug,
|
|
4418
4445
|
name: o.name,
|
|
@@ -4430,7 +4457,7 @@ class Qt extends De {
|
|
|
4430
4457
|
actual_address: o.actualAddress
|
|
4431
4458
|
};
|
|
4432
4459
|
break;
|
|
4433
|
-
case
|
|
4460
|
+
case L.UlR:
|
|
4434
4461
|
i = {
|
|
4435
4462
|
opf: c.opf.slug,
|
|
4436
4463
|
name: c.name,
|
|
@@ -4449,7 +4476,7 @@ class Qt extends De {
|
|
|
4449
4476
|
actual_address: c.actualAddress
|
|
4450
4477
|
};
|
|
4451
4478
|
break;
|
|
4452
|
-
case
|
|
4479
|
+
case L.UlNr:
|
|
4453
4480
|
i = {
|
|
4454
4481
|
opf: p.opf.slug,
|
|
4455
4482
|
name: p.name,
|
|
@@ -4903,7 +4930,7 @@ const E = class E extends h {
|
|
|
4903
4930
|
*/
|
|
4904
4931
|
t(E, "responseDataCache", /* @__PURE__ */ new Map());
|
|
4905
4932
|
let pe = E;
|
|
4906
|
-
class
|
|
4933
|
+
class Xt extends h {
|
|
4907
4934
|
/**
|
|
4908
4935
|
* Выполняет проверку занят ли указанный номер телефона.
|
|
4909
4936
|
*
|
|
@@ -4917,7 +4944,7 @@ class Yt extends h {
|
|
|
4917
4944
|
});
|
|
4918
4945
|
}
|
|
4919
4946
|
}
|
|
4920
|
-
class
|
|
4947
|
+
class Zt extends h {
|
|
4921
4948
|
/**
|
|
4922
4949
|
* Возвращает настройки указанного конфигуратора для указанной категории.
|
|
4923
4950
|
*
|
|
@@ -4927,7 +4954,7 @@ class Xt extends h {
|
|
|
4927
4954
|
*/
|
|
4928
4955
|
getConfiguratorSettings(r) {
|
|
4929
4956
|
var e;
|
|
4930
|
-
return this.get(`internal/catalog/categories/${r.id}/configurators/${(e = r.properties) == null ? void 0 : e.
|
|
4957
|
+
return this.get(`internal/catalog/categories/${r.id}/configurators/${(e = r.properties) == null ? void 0 : e.configurator}/settings`);
|
|
4931
4958
|
}
|
|
4932
4959
|
/**
|
|
4933
4960
|
* Возвращает данные о продукте, который соответствует указанной в запросе конфигурации для указанного конфигуратора.
|
|
@@ -4943,9 +4970,9 @@ class Xt extends h {
|
|
|
4943
4970
|
searchProduct(r, e, s = {}) {
|
|
4944
4971
|
var o;
|
|
4945
4972
|
const i = this.get(
|
|
4946
|
-
`internal/catalog/categories/${r.id}/configurators/${(o = r.properties) == null ? void 0 : o.
|
|
4973
|
+
`internal/catalog/categories/${r.id}/configurators/${(o = r.properties) == null ? void 0 : o.configurator}/product`,
|
|
4947
4974
|
{ params: e },
|
|
4948
|
-
(c) => new
|
|
4975
|
+
(c) => new d(c.data)
|
|
4949
4976
|
);
|
|
4950
4977
|
return i.catch((c) => {
|
|
4951
4978
|
this.errorResponseHandler(c, s);
|
|
@@ -4966,7 +4993,7 @@ class Xt extends h {
|
|
|
4966
4993
|
createTemplate(r, e, s = {}) {
|
|
4967
4994
|
var i;
|
|
4968
4995
|
return this.post(
|
|
4969
|
-
`internal/catalog/categories/${r.id}/configurators/${(i = r.properties) == null ? void 0 : i.
|
|
4996
|
+
`internal/catalog/categories/${r.id}/configurators/${(i = r.properties) == null ? void 0 : i.configurator}/template`,
|
|
4970
4997
|
{ ...e },
|
|
4971
4998
|
// eslint-disable-next-line lodash/prefer-noop, @typescript-eslint/no-empty-function
|
|
4972
4999
|
() => {
|
|
@@ -4985,21 +5012,21 @@ class Xt extends h {
|
|
|
4985
5012
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
|
|
4986
5013
|
removeTemplate(r, e) {
|
|
4987
5014
|
var s;
|
|
4988
|
-
return this.delete(`internal/catalog/categories/${r.id}/configurators/${(s = r.properties) == null ? void 0 : s.
|
|
5015
|
+
return this.delete(`internal/catalog/categories/${r.id}/configurators/${(s = r.properties) == null ? void 0 : s.configurator}/template/${e}`);
|
|
4989
5016
|
}
|
|
4990
5017
|
}
|
|
4991
|
-
class
|
|
5018
|
+
class es {
|
|
4992
5019
|
/**
|
|
4993
5020
|
* Возвращает диапазон дат по умолчанию.
|
|
4994
5021
|
*/
|
|
4995
5022
|
static defaultDateRanges() {
|
|
4996
|
-
const r =
|
|
5023
|
+
const r = Lr(/* @__PURE__ */ new Date(), 1);
|
|
4997
5024
|
return {
|
|
4998
5025
|
// 'Следующий рабочий день' - это значение по-умолчанию
|
|
4999
5026
|
nextWorkingDay: { label: "Следующий рабочий день", from: Ur(r), to: qr(r) },
|
|
5000
5027
|
today: { label: "Сегодня", from: er(), to: Or() },
|
|
5001
5028
|
yesterday: { label: "Вчера", from: Nr(), to: xr() },
|
|
5002
|
-
tomorrow: { label: "Завтра", from:
|
|
5029
|
+
tomorrow: { label: "Завтра", from: dr(), to: kr() }
|
|
5003
5030
|
};
|
|
5004
5031
|
}
|
|
5005
5032
|
}
|
|
@@ -5044,7 +5071,7 @@ const V = class V {
|
|
|
5044
5071
|
*/
|
|
5045
5072
|
t(V, "linearValues", ["пог.м.", "м.", "м2"]);
|
|
5046
5073
|
let Ve = V;
|
|
5047
|
-
class
|
|
5074
|
+
class rs {
|
|
5048
5075
|
/**
|
|
5049
5076
|
* Генерирует и возвращает данные-заглушку неопределённого менеджера.
|
|
5050
5077
|
*/
|
|
@@ -5060,7 +5087,7 @@ class es {
|
|
|
5060
5087
|
return r.id === 0 && r.guid === "-undefined-";
|
|
5061
5088
|
}
|
|
5062
5089
|
}
|
|
5063
|
-
class
|
|
5090
|
+
class ft extends pe {
|
|
5064
5091
|
/**
|
|
5065
5092
|
* Возвращает {@link Promise} для получения справочника списка менеджеров.
|
|
5066
5093
|
*/
|
|
@@ -5133,7 +5160,7 @@ class yr extends fr {
|
|
|
5133
5160
|
}, this.attachedUser = new G(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new x(e == null ? void 0 : e.salesDirection), this.pendingAt = y(e == null ? void 0 : e.pendingAt) ? C(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = y(e == null ? void 0 : e.processedAt) ? C(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;
|
|
5134
5161
|
}
|
|
5135
5162
|
}
|
|
5136
|
-
class
|
|
5163
|
+
class yt extends M {
|
|
5137
5164
|
/**
|
|
5138
5165
|
* Инициализирует экземпляр класса {@link OrderProduct}.
|
|
5139
5166
|
*
|
|
@@ -5216,7 +5243,7 @@ class ft extends M {
|
|
|
5216
5243
|
this.product = new Q(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;
|
|
5217
5244
|
}
|
|
5218
5245
|
}
|
|
5219
|
-
class
|
|
5246
|
+
class wt extends yr {
|
|
5220
5247
|
/**
|
|
5221
5248
|
* Инициализирует экземпляр класса {@link Order}.
|
|
5222
5249
|
*
|
|
@@ -5256,10 +5283,10 @@ class yt extends yr {
|
|
|
5256
5283
|
* Признак, что разрешена передача заказа в работу без оплаты.
|
|
5257
5284
|
*/
|
|
5258
5285
|
t(this, "isAllowProcessingWithoutPayment");
|
|
5259
|
-
this.products = (e.products ?? []).map((s) => new
|
|
5286
|
+
this.products = (e.products ?? []).map((s) => new yt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? we.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new P(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
|
|
5260
5287
|
}
|
|
5261
5288
|
}
|
|
5262
|
-
class
|
|
5289
|
+
class ts extends De {
|
|
5263
5290
|
/**
|
|
5264
5291
|
* Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
|
|
5265
5292
|
*
|
|
@@ -5290,7 +5317,7 @@ class rs extends De {
|
|
|
5290
5317
|
* @param orderId Идентификатор заказа для которого необходимо вернуть данные.
|
|
5291
5318
|
*/
|
|
5292
5319
|
getOrder(r) {
|
|
5293
|
-
return this.get(`/internal/orders/${r}`, {}, (e) => new
|
|
5320
|
+
return this.get(`/internal/orders/${r}`, {}, (e) => new wt(e.data));
|
|
5294
5321
|
}
|
|
5295
5322
|
}
|
|
5296
5323
|
class _e {
|
|
@@ -5320,7 +5347,7 @@ class _e {
|
|
|
5320
5347
|
* Источник клиентской цены.
|
|
5321
5348
|
*/
|
|
5322
5349
|
t(this, "source");
|
|
5323
|
-
this.client = new ge(r == null ? void 0 : r.client), this.product = new
|
|
5350
|
+
this.client = new ge(r == null ? void 0 : r.client), this.product = new d(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) ?? Ge.Product;
|
|
5324
5351
|
}
|
|
5325
5352
|
}
|
|
5326
5353
|
const Se = (n) => {
|
|
@@ -5340,7 +5367,7 @@ const Se = (n) => {
|
|
|
5340
5367
|
const r = {};
|
|
5341
5368
|
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;
|
|
5342
5369
|
};
|
|
5343
|
-
class
|
|
5370
|
+
class ss extends h {
|
|
5344
5371
|
/**
|
|
5345
5372
|
* Возвращает список клиентских цен на продукты в указанном диапазоне цены.
|
|
5346
5373
|
*
|
|
@@ -5401,7 +5428,7 @@ class ts extends h {
|
|
|
5401
5428
|
);
|
|
5402
5429
|
}
|
|
5403
5430
|
}
|
|
5404
|
-
class
|
|
5431
|
+
class Ct {
|
|
5405
5432
|
/**
|
|
5406
5433
|
* Инициализирует экземпляр класса {@link PriceHistoryItem}.
|
|
5407
5434
|
*
|
|
@@ -5451,7 +5478,7 @@ class wt {
|
|
|
5451
5478
|
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = y(r.costDate) ? C(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new ne(r.product) : void 0, this.client = r.client ? new G(r.client) : void 0, this.executor = r.executor ? new G(r.executor) : void 0, this.currency = r.currency ? new ye(r.currency) : void 0;
|
|
5452
5479
|
}
|
|
5453
5480
|
}
|
|
5454
|
-
class
|
|
5481
|
+
class vt extends ne {
|
|
5455
5482
|
/**
|
|
5456
5483
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
5457
5484
|
*
|
|
@@ -5463,10 +5490,10 @@ class Ct extends ne {
|
|
|
5463
5490
|
* @inheritDoc
|
|
5464
5491
|
*/
|
|
5465
5492
|
t(this, "history");
|
|
5466
|
-
this.history = ue(e.history, (s) => new
|
|
5493
|
+
this.history = ue(e.history, (s) => new Ct(s));
|
|
5467
5494
|
}
|
|
5468
5495
|
}
|
|
5469
|
-
class
|
|
5496
|
+
class is extends h {
|
|
5470
5497
|
/**
|
|
5471
5498
|
* Инициализирует экземпляр класса {@link UserAuthDataProvider}.
|
|
5472
5499
|
*/
|
|
@@ -5491,7 +5518,7 @@ class ss extends h {
|
|
|
5491
5518
|
}),
|
|
5492
5519
|
(u) => $(u) || (J(u) || Ze(u)) && ve(u)
|
|
5493
5520
|
);
|
|
5494
|
-
return this.get("/internal/history", s, (u) => ue(u.data, (m) => new
|
|
5521
|
+
return this.get("/internal/history", s, (u) => ue(u.data, (m) => new vt(m)));
|
|
5495
5522
|
}
|
|
5496
5523
|
}
|
|
5497
5524
|
class Ke {
|
|
@@ -5512,7 +5539,7 @@ class Ke {
|
|
|
5512
5539
|
r != null && r.products && (this.products = r.products.map((e) => new ne(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new ne(e)));
|
|
5513
5540
|
}
|
|
5514
5541
|
}
|
|
5515
|
-
class
|
|
5542
|
+
class ns extends h {
|
|
5516
5543
|
/**
|
|
5517
5544
|
* Инициализирует экземпляр класса {@link UserAuthDataProvider}.
|
|
5518
5545
|
*/
|
|
@@ -5573,7 +5600,7 @@ class a extends pe {
|
|
|
5573
5600
|
* и использовать в случае аналогичных запросов.
|
|
5574
5601
|
*/
|
|
5575
5602
|
getReference(r, e = !1) {
|
|
5576
|
-
return this.getTypedDataArrayRequester(
|
|
5603
|
+
return this.getTypedDataArrayRequester(st, `/internal/references/${r}`, e);
|
|
5577
5604
|
}
|
|
5578
5605
|
/**
|
|
5579
5606
|
* Возвращает {@link Promise} для получения справочника данных о канале
|
|
@@ -5586,7 +5613,7 @@ class a extends pe {
|
|
|
5586
5613
|
* Возвращает {@link Promise} для получения справочника должностей контактных лиц.
|
|
5587
5614
|
*/
|
|
5588
5615
|
getContactPositions() {
|
|
5589
|
-
return this.getTypedDataArrayRequester(
|
|
5616
|
+
return this.getTypedDataArrayRequester(it, "/internal/references/contact-position", !0);
|
|
5590
5617
|
}
|
|
5591
5618
|
/**
|
|
5592
5619
|
* Возвращает {@link Promise} для получения справочника списка валют.
|
|
@@ -5611,19 +5638,19 @@ class a extends pe {
|
|
|
5611
5638
|
* Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
|
|
5612
5639
|
*/
|
|
5613
5640
|
getOrderPaymentStatuses() {
|
|
5614
|
-
return this.getTypedDataArrayRequester(
|
|
5641
|
+
return this.getTypedDataArrayRequester(nt, "/public/references/order-payment-status", !0);
|
|
5615
5642
|
}
|
|
5616
5643
|
/**
|
|
5617
5644
|
* Возвращает {@link Promise} для получения справочника данных статусов заказов.
|
|
5618
5645
|
*/
|
|
5619
5646
|
getOrderStatuses() {
|
|
5620
|
-
return this.getTypedDataArrayRequester(
|
|
5647
|
+
return this.getTypedDataArrayRequester(ot, "/public/references/order-status", !0);
|
|
5621
5648
|
}
|
|
5622
5649
|
/**
|
|
5623
5650
|
* Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
|
|
5624
5651
|
*/
|
|
5625
5652
|
getPaymentTypes() {
|
|
5626
|
-
return this.getTypedDataArrayRequester(
|
|
5653
|
+
return this.getTypedDataArrayRequester(ct, "/public/references/payment-type", !0);
|
|
5627
5654
|
}
|
|
5628
5655
|
/**
|
|
5629
5656
|
* Возвращает {@link Promise} для получения справочника типов ресурсов.
|
|
@@ -5695,7 +5722,7 @@ class a extends pe {
|
|
|
5695
5722
|
* Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
|
|
5696
5723
|
*/
|
|
5697
5724
|
getProductFileType() {
|
|
5698
|
-
return this.getTypedDataArrayRequester(
|
|
5725
|
+
return this.getTypedDataArrayRequester(lt, "/public/references/product-file-type", !0);
|
|
5699
5726
|
}
|
|
5700
5727
|
}
|
|
5701
5728
|
const A = Z("__references_private", () => {
|
|
@@ -5774,7 +5801,7 @@ const A = Z("__references_private", () => {
|
|
|
5774
5801
|
*/
|
|
5775
5802
|
priceCoefficientsReference: l
|
|
5776
5803
|
};
|
|
5777
|
-
}),
|
|
5804
|
+
}), os = Z("references", () => {
|
|
5778
5805
|
const n = R(() => {
|
|
5779
5806
|
const l = A();
|
|
5780
5807
|
return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, h.getInstance(a).getChannelPrimaryInterest().then((g) => {
|
|
@@ -5842,7 +5869,7 @@ const A = Z("__references_private", () => {
|
|
|
5842
5869
|
}).catch(w)), l.deliveryTypeReference;
|
|
5843
5870
|
}), b = R(() => {
|
|
5844
5871
|
const l = A();
|
|
5845
|
-
return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(
|
|
5872
|
+
return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, h.getInstance(ft).getManagers().then((g) => {
|
|
5846
5873
|
l.managersList = g;
|
|
5847
5874
|
}).catch(w)), l.managersList;
|
|
5848
5875
|
}), _ = R(() => {
|
|
@@ -5932,7 +5959,7 @@ const A = Z("__references_private", () => {
|
|
|
5932
5959
|
priceCoefficientsReference: U
|
|
5933
5960
|
};
|
|
5934
5961
|
});
|
|
5935
|
-
class
|
|
5962
|
+
class Pt {
|
|
5936
5963
|
/**
|
|
5937
5964
|
* Инициализирует экземпляр класса {@link MetaTagItem}.
|
|
5938
5965
|
*
|
|
@@ -5986,10 +6013,10 @@ class Qe {
|
|
|
5986
6013
|
*/
|
|
5987
6014
|
t(this, "meta");
|
|
5988
6015
|
var e;
|
|
5989
|
-
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
|
|
6016
|
+
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 Pt(s))) ?? [];
|
|
5990
6017
|
}
|
|
5991
6018
|
}
|
|
5992
|
-
class
|
|
6019
|
+
class cs extends h {
|
|
5993
6020
|
/**
|
|
5994
6021
|
* Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
|
|
5995
6022
|
*
|
|
@@ -6020,7 +6047,7 @@ class os extends h {
|
|
|
6020
6047
|
return this.delete(`/internal/seo/${r.slug}/${e}`);
|
|
6021
6048
|
}
|
|
6022
6049
|
}
|
|
6023
|
-
class
|
|
6050
|
+
class ls extends h {
|
|
6024
6051
|
/**
|
|
6025
6052
|
* Возвращает подсказки по адресам.
|
|
6026
6053
|
*
|
|
@@ -6067,8 +6094,8 @@ class cs extends h {
|
|
|
6067
6094
|
});
|
|
6068
6095
|
}
|
|
6069
6096
|
}
|
|
6070
|
-
var
|
|
6071
|
-
class
|
|
6097
|
+
var Rt = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.Guest = "guest", n))(Rt || {});
|
|
6098
|
+
class At extends or {
|
|
6072
6099
|
/**
|
|
6073
6100
|
* Инициализирует экземпляр класса {@link User}.
|
|
6074
6101
|
*
|
|
@@ -6091,7 +6118,7 @@ class Rt extends or {
|
|
|
6091
6118
|
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;
|
|
6092
6119
|
}
|
|
6093
6120
|
}
|
|
6094
|
-
class
|
|
6121
|
+
class ps extends h {
|
|
6095
6122
|
/**
|
|
6096
6123
|
* Инициализирует экземпляр класса {@link UserAuthDataProvider}.
|
|
6097
6124
|
*/
|
|
@@ -6107,16 +6134,16 @@ class ls extends h {
|
|
|
6107
6134
|
return this.get("internal/users/current-tokens").then((r) => r.accessToken);
|
|
6108
6135
|
}
|
|
6109
6136
|
}
|
|
6110
|
-
class
|
|
6137
|
+
class Dt extends h {
|
|
6111
6138
|
/**
|
|
6112
6139
|
* Возвращает данные о текущем пользователе.
|
|
6113
6140
|
*/
|
|
6114
6141
|
// eslint-disable-next-line class-methods-use-this
|
|
6115
6142
|
getCurrentUser() {
|
|
6116
|
-
return this.get("/internal/users/info", {}, (r) => new
|
|
6143
|
+
return this.get("/internal/users/info", {}, (r) => new At(r.data));
|
|
6117
6144
|
}
|
|
6118
6145
|
}
|
|
6119
|
-
const
|
|
6146
|
+
const at = Z("__user_state_private", () => {
|
|
6120
6147
|
const n = f({}), r = f(void 0);
|
|
6121
6148
|
return {
|
|
6122
6149
|
/**
|
|
@@ -6128,20 +6155,20 @@ const Dt = Z("__user_state_private", () => {
|
|
|
6128
6155
|
*/
|
|
6129
6156
|
currentUser: r
|
|
6130
6157
|
};
|
|
6131
|
-
}),
|
|
6158
|
+
}), us = Z("user_state", () => ({
|
|
6132
6159
|
/**
|
|
6133
6160
|
* Данные о текущем пользователе.
|
|
6134
6161
|
*/
|
|
6135
6162
|
currentUser: R(() => {
|
|
6136
|
-
const r =
|
|
6137
|
-
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, h.getInstance(
|
|
6163
|
+
const r = at();
|
|
6164
|
+
return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, h.getInstance(Dt).getCurrentUser().then((e) => {
|
|
6138
6165
|
r.currentUser = e;
|
|
6139
6166
|
}).catch(w).finally(() => {
|
|
6140
6167
|
r.dataLoaderList.currentUser = !1;
|
|
6141
6168
|
})), r.currentUser;
|
|
6142
6169
|
})
|
|
6143
6170
|
}));
|
|
6144
|
-
class
|
|
6171
|
+
class hs {
|
|
6145
6172
|
/**
|
|
6146
6173
|
* Инициализирует экземпляр класса {@link FieldValidationResultData}.
|
|
6147
6174
|
*
|
|
@@ -6165,8 +6192,8 @@ class us {
|
|
|
6165
6192
|
}
|
|
6166
6193
|
}
|
|
6167
6194
|
export {
|
|
6168
|
-
|
|
6169
|
-
|
|
6195
|
+
st as AnyReference,
|
|
6196
|
+
qt as AppBaseConfig,
|
|
6170
6197
|
D as AppConfigProvider,
|
|
6171
6198
|
ke as BankAccount,
|
|
6172
6199
|
De as BasePaginationProvider,
|
|
@@ -6174,140 +6201,141 @@ export {
|
|
|
6174
6201
|
me as Cart,
|
|
6175
6202
|
Br as CartItem,
|
|
6176
6203
|
Hr as CartItemBase,
|
|
6177
|
-
|
|
6178
|
-
|
|
6204
|
+
xt as CartProvider,
|
|
6205
|
+
Ut as CatalogProvider,
|
|
6179
6206
|
rr as CatalogableItem,
|
|
6180
6207
|
B as Category,
|
|
6181
6208
|
He as CategoryPricingRule,
|
|
6182
6209
|
lr as ChannelPrimaryInterest,
|
|
6183
|
-
|
|
6210
|
+
Vt as City,
|
|
6184
6211
|
je as CityWithRegionAndCountry,
|
|
6185
6212
|
Ee as Client,
|
|
6186
|
-
|
|
6213
|
+
gt as ClientAdditionalData,
|
|
6187
6214
|
fe as ClientCategory,
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6215
|
+
Yt as ClientDataProvider,
|
|
6216
|
+
Gt as ClientPriceProvider,
|
|
6217
|
+
jt as ClientPriceTemplateProvider,
|
|
6191
6218
|
Q as ClientProduct,
|
|
6192
|
-
|
|
6193
|
-
|
|
6219
|
+
Ht as ClientProductCategoryDataProvider,
|
|
6220
|
+
Bt as ClientProductDataProvider,
|
|
6194
6221
|
ge as ClientShortInfo,
|
|
6195
|
-
|
|
6196
|
-
|
|
6222
|
+
tt as ClientsAdditionalDataRequestTypeEnum,
|
|
6223
|
+
Jt as ClientsListFilters,
|
|
6197
6224
|
ne as CodedIdentity,
|
|
6198
|
-
|
|
6199
|
-
|
|
6225
|
+
Zt as ConfiguratorProvider,
|
|
6226
|
+
de as Contact,
|
|
6200
6227
|
Jr as ContactLinks,
|
|
6201
6228
|
F as ContactPerson,
|
|
6202
|
-
|
|
6203
|
-
|
|
6229
|
+
ht as ContactPersonRelated,
|
|
6230
|
+
it as ContactPosition,
|
|
6204
6231
|
be as ContactRelation,
|
|
6205
6232
|
hr as ContragentBase,
|
|
6206
6233
|
we as ContragentFactory,
|
|
6207
6234
|
gr as ContragentIc,
|
|
6208
|
-
|
|
6209
|
-
|
|
6235
|
+
pt as ContragentPerson,
|
|
6236
|
+
ut as ContragentUlNr,
|
|
6210
6237
|
mr as ContragentUlR,
|
|
6211
6238
|
Ge as CostSourceEnum,
|
|
6212
6239
|
Y as Country,
|
|
6213
6240
|
ye as Currency,
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6241
|
+
ls as DataSuggestionProvider,
|
|
6242
|
+
Kt as DataTablePagination,
|
|
6243
|
+
mt as DataTablePaginationRequestParams,
|
|
6244
|
+
Qt as DataTableSortRequestParams,
|
|
6245
|
+
es as DateTimeProvider,
|
|
6219
6246
|
Er as DeletableNamedIdentity,
|
|
6220
6247
|
Ce as DeliveryAddress,
|
|
6221
6248
|
K as DeliveryType,
|
|
6222
|
-
|
|
6223
|
-
|
|
6249
|
+
dt as DetailedJwtPayload,
|
|
6250
|
+
Yr as DeviceTypeResolutionConfig,
|
|
6224
6251
|
Vr as DiscountShortInfo,
|
|
6225
|
-
|
|
6252
|
+
hs as FieldValidationResultData,
|
|
6226
6253
|
le as FilterGroup,
|
|
6227
6254
|
Be as FilterItem,
|
|
6228
6255
|
Fe as FilterOpEnum,
|
|
6229
6256
|
sr as GeoCoordinates,
|
|
6230
6257
|
Fr as HiddenCatalogableItem,
|
|
6231
6258
|
pe as HttpCachedRequester,
|
|
6232
|
-
|
|
6259
|
+
Xr as HttpParamsConfig,
|
|
6233
6260
|
h as HttpRequester,
|
|
6234
6261
|
M as Identity,
|
|
6235
6262
|
Mr as Image,
|
|
6236
6263
|
ie as JwtPayload,
|
|
6237
6264
|
Ae as Manager,
|
|
6238
6265
|
oe as ManagerCommon,
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6266
|
+
rs as ManagerDataFactory,
|
|
6267
|
+
ft as ManagerDataProvider,
|
|
6268
|
+
Pt as MetaTagItem,
|
|
6242
6269
|
T as NamedIdentity,
|
|
6243
6270
|
j as Opf,
|
|
6244
|
-
|
|
6245
|
-
|
|
6271
|
+
L as OpfEnum,
|
|
6272
|
+
wt as Order,
|
|
6246
6273
|
yr as OrderInfo,
|
|
6247
|
-
|
|
6248
|
-
|
|
6274
|
+
nt as OrderPaymentStatus,
|
|
6275
|
+
yt as OrderProduct,
|
|
6249
6276
|
fr as OrderShortInfo,
|
|
6250
|
-
|
|
6251
|
-
|
|
6277
|
+
ot as OrderStatus,
|
|
6278
|
+
ts as OrdersDataProvider,
|
|
6252
6279
|
X as PartnerGroup,
|
|
6253
|
-
|
|
6254
|
-
|
|
6280
|
+
ct as PaymentType,
|
|
6281
|
+
Nt as PreferencesStorageProvider,
|
|
6255
6282
|
_e as PriceAnalyze,
|
|
6256
|
-
|
|
6283
|
+
ss as PriceAnalyzeProvider,
|
|
6257
6284
|
Pe as PriceCoefficient,
|
|
6258
6285
|
tr as PriceCoefficientEnum,
|
|
6259
|
-
|
|
6260
|
-
|
|
6286
|
+
is as PriceHistoryDataProvider,
|
|
6287
|
+
Ct as PriceHistoryItem,
|
|
6261
6288
|
z as PriceTemplate,
|
|
6262
6289
|
$e as PriceTemplateCategory,
|
|
6263
6290
|
re as PriceTemplateClient,
|
|
6264
6291
|
nr as PriceTemplateICatalogableItem,
|
|
6265
6292
|
Te as PriceTemplateProduct,
|
|
6266
|
-
|
|
6293
|
+
zt as PriceTemplateProvider,
|
|
6267
6294
|
se as PricingRole,
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6295
|
+
Wt as PricingRoleProvider,
|
|
6296
|
+
Le as PrimaryCatalogableItem,
|
|
6297
|
+
d as Product,
|
|
6298
|
+
Ft as ProductCategoryDataProvider,
|
|
6299
|
+
Mt as ProductDataProvider,
|
|
6300
|
+
lt as ProductFileType,
|
|
6274
6301
|
qe as ProductPriceCoefficient,
|
|
6275
|
-
|
|
6276
|
-
|
|
6302
|
+
vt as ProductPriceHistory,
|
|
6303
|
+
Et as PropertiesProvider,
|
|
6277
6304
|
te as Property,
|
|
6278
6305
|
cr as PropertyType,
|
|
6279
6306
|
Wr as PropertyTypeEnum,
|
|
6280
6307
|
H as PropertyValue,
|
|
6281
|
-
|
|
6308
|
+
ns as RecommendationsDataProvider,
|
|
6282
6309
|
Ke as RecommendationsList,
|
|
6283
6310
|
P as Reference,
|
|
6284
6311
|
a as ReferenceDataProvider,
|
|
6285
6312
|
ce as Region,
|
|
6286
6313
|
pr as ResourceType,
|
|
6287
6314
|
x as SalesDirection,
|
|
6288
|
-
|
|
6315
|
+
Zr as SentryConfig,
|
|
6289
6316
|
Qe as Seo,
|
|
6290
|
-
|
|
6317
|
+
cs as SeoDataProvider,
|
|
6291
6318
|
ur as SourcePrimaryInterest,
|
|
6292
6319
|
jr as StockCount,
|
|
6293
|
-
|
|
6320
|
+
Ot as TemplatesListFilters,
|
|
6294
6321
|
Ue as TypedInstanceFactory,
|
|
6295
6322
|
Ve as UnitsHelper,
|
|
6296
|
-
|
|
6323
|
+
Xt as UnknownClientDataProvider,
|
|
6297
6324
|
ir as UpdatableNamedIdentity,
|
|
6298
|
-
|
|
6299
|
-
|
|
6325
|
+
At as User,
|
|
6326
|
+
ps as UserAuthDataProvider,
|
|
6300
6327
|
or as UserCommonInfo,
|
|
6301
|
-
|
|
6328
|
+
Dt as UserDataProvider,
|
|
6329
|
+
Kr as UserPricingRole,
|
|
6302
6330
|
G as UserShortInfo,
|
|
6303
|
-
|
|
6304
|
-
|
|
6331
|
+
Rt as UserTypeEnum,
|
|
6332
|
+
et as VersionConfig,
|
|
6305
6333
|
Re as Warehouse,
|
|
6306
|
-
|
|
6334
|
+
rt as WebSocketConfig,
|
|
6307
6335
|
ze as findCatalogItemByIdRecursive,
|
|
6308
6336
|
We as flattenCatalogItems,
|
|
6309
6337
|
ae as useAuthStateStore,
|
|
6310
|
-
|
|
6311
|
-
|
|
6338
|
+
os as useReferencesStore,
|
|
6339
|
+
us as useUserStateStore
|
|
6312
6340
|
};
|
|
6313
6341
|
//# sourceMappingURL=sc-common-lib.js.map
|