@snabcentr/common-lib 1.89.1 → 1.89.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/sc-common-lib.js +171 -139
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/orders/classes/orders-list-filters.d.ts +13 -0
- package/dist/src/orders/classes/orders-list-filters.d.ts.map +1 -1
- package/dist/src/orders/interfaces/i-orders-list-filters.d.ts +14 -0
- package/dist/src/orders/interfaces/i-orders-list-filters.d.ts.map +1 -1
- package/dist/src/references/classes/index.d.ts +1 -0
- package/dist/src/references/classes/index.d.ts.map +1 -1
- package/dist/src/references/classes/reference-data-factory.d.ts +21 -0
- package/dist/src/references/classes/reference-data-factory.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/sc-common-lib.js
CHANGED
|
@@ -2,13 +2,13 @@ var Lr = Object.defineProperty;
|
|
|
2
2
|
var ar = (n, r, e) => r in n ? Lr(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
|
|
3
3
|
var t = (n, r, e) => ar(n, typeof r != "symbol" ? r + "" : r, e);
|
|
4
4
|
import { jwtDecode as ir } from "jwt-decode";
|
|
5
|
-
import { merge as
|
|
5
|
+
import { merge as le, isNil as T, isEmpty as Y, noop as w, mapValues as nr, isArray as H, every as dr, split as xr, isString as v, constant as Or, toUpper as _r, cloneDeep as qr, toLower as Nr, isFunction as Ue, map as ge, forEach as Ur, isDate as xe, omitBy as or, isObject as cr } from "lodash-es";
|
|
6
6
|
import { objectToCamel as He, objectToSnake as Je } from "ts-case-convert";
|
|
7
7
|
import { defineStore as z } from "pinia";
|
|
8
8
|
import { ref as y, markRaw as Hr, computed as A } from "vue";
|
|
9
|
-
import { isAfter as Ee, parseISO as C, startOfToday as Oe, format as U, addSeconds as
|
|
9
|
+
import { isAfter as Ee, parseISO as C, startOfToday as Oe, format as U, addSeconds as Fr, addBusinessDays as jr, endOfTomorrow as Gr, startOfTomorrow as Mr, endOfYesterday as Br, startOfYesterday as zr, endOfToday as Wr, endOfDay as Jr, startOfDay as Er } from "date-fns";
|
|
10
10
|
import Vr, { CanceledError as Kr } from "axios";
|
|
11
|
-
class
|
|
11
|
+
class F {
|
|
12
12
|
/**
|
|
13
13
|
* Инициализирует экземпляр класса {@link JwtPayload}.
|
|
14
14
|
*
|
|
@@ -99,7 +99,7 @@ class j {
|
|
|
99
99
|
* @inheritDoc
|
|
100
100
|
*/
|
|
101
101
|
t(this, "email", "");
|
|
102
|
-
|
|
102
|
+
le(this, r);
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
105
|
* Возвращает данные полезной нагрузки для указанного JWT-токена.
|
|
@@ -107,11 +107,11 @@ class j {
|
|
|
107
107
|
* @param jwtToken JWT-ключ доступа.
|
|
108
108
|
*/
|
|
109
109
|
static getJwtPayload(r) {
|
|
110
|
-
const e = ir(r), s = new
|
|
110
|
+
const e = ir(r), s = new F(He(e));
|
|
111
111
|
return s.resourceAccess = e.resource_access, s;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
class Gt extends
|
|
114
|
+
class Gt extends F {
|
|
115
115
|
/**
|
|
116
116
|
* Инициализирует экземпляр класса {@link DetailedJwtPayload}.
|
|
117
117
|
*
|
|
@@ -143,7 +143,7 @@ class Gt extends j {
|
|
|
143
143
|
* @inheritDoc
|
|
144
144
|
*/
|
|
145
145
|
t(this, "address");
|
|
146
|
-
|
|
146
|
+
le(this, e);
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
149
|
* Возвращает данные полезной нагрузки для указанного JWT-токена.
|
|
@@ -151,7 +151,7 @@ class Gt extends j {
|
|
|
151
151
|
* @param jwtToken JWT-ключ доступа.
|
|
152
152
|
*/
|
|
153
153
|
static getJwtPayload(e) {
|
|
154
|
-
return new
|
|
154
|
+
return new F(He(ir(e)));
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
class Qr {
|
|
@@ -355,7 +355,7 @@ const L = z("common.config", () => {
|
|
|
355
355
|
* @param appConfig Конфигурация приложения.
|
|
356
356
|
*/
|
|
357
357
|
setConfig: (s) => {
|
|
358
|
-
n.value =
|
|
358
|
+
n.value = le(n.value, s);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
});
|
|
@@ -470,7 +470,7 @@ class ye {
|
|
|
470
470
|
}
|
|
471
471
|
function Ve(n) {
|
|
472
472
|
try {
|
|
473
|
-
const r =
|
|
473
|
+
const r = F.getJwtPayload(n);
|
|
474
474
|
return new Date(r.exp * 1e3);
|
|
475
475
|
} catch {
|
|
476
476
|
return;
|
|
@@ -492,7 +492,7 @@ const E = z("common.auth_state_private", () => {
|
|
|
492
492
|
), r = y(void 0), e = y(void 0), s = Hr(/* @__PURE__ */ new Map());
|
|
493
493
|
function i() {
|
|
494
494
|
e.value = void 0, T(n.value) || n.value.then((o) => {
|
|
495
|
-
const c =
|
|
495
|
+
const c = F.getJwtPayload(o);
|
|
496
496
|
e.value = c.exp * 1e3 > Date.now() ? nr(c.resourceAccess, (u) => (u == null ? void 0 : u.roles) ?? []) : void 0;
|
|
497
497
|
}).catch(w);
|
|
498
498
|
}
|
|
@@ -543,7 +543,7 @@ const E = z("common.auth_state_private", () => {
|
|
|
543
543
|
function i(o) {
|
|
544
544
|
const c = E();
|
|
545
545
|
!T(c.jwtToken) && T(c.userPermissions) && c.jwtToken.then((m) => {
|
|
546
|
-
const f =
|
|
546
|
+
const f = F.getJwtPayload(m);
|
|
547
547
|
c.userPermissions = f.exp * 1e3 > Date.now() ? nr(f.resourceAccess, (D) => (D == null ? void 0 : D.roles) ?? []) : void 0;
|
|
548
548
|
}).catch(w);
|
|
549
549
|
const u = H(o) ? o.join(" && ") : o;
|
|
@@ -555,8 +555,8 @@ const E = z("common.auth_state_private", () => {
|
|
|
555
555
|
const D = xr(f, ".");
|
|
556
556
|
if (D.length < 2)
|
|
557
557
|
return !1;
|
|
558
|
-
const [
|
|
559
|
-
return H(W) && W.includes(
|
|
558
|
+
const [se, ie] = D, W = (J = E().userPermissions) == null ? void 0 : J[se];
|
|
559
|
+
return H(W) && W.includes(ie);
|
|
560
560
|
};
|
|
561
561
|
return H(o) ? dr(o, (f) => m(f)) : m(o);
|
|
562
562
|
});
|
|
@@ -631,7 +631,7 @@ class k extends re {
|
|
|
631
631
|
this.name = (e == null ? void 0 : e.name) ?? "";
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
class
|
|
634
|
+
class ue extends k {
|
|
635
635
|
/**
|
|
636
636
|
* Инициализирует экземпляр класса {@link NamedIdentity}.
|
|
637
637
|
*
|
|
@@ -718,7 +718,7 @@ class tt {
|
|
|
718
718
|
this.image = `${e ?? ""}${r.image}`, this.preview = `${e ?? ""}${r.preview}`, this.isDefault = r.isDefault;
|
|
719
719
|
}
|
|
720
720
|
}
|
|
721
|
-
class ur extends
|
|
721
|
+
class ur extends ue {
|
|
722
722
|
/**
|
|
723
723
|
* Инициализирует экземпляр класса {@link CatalogableItem}.
|
|
724
724
|
*
|
|
@@ -767,7 +767,7 @@ class _e extends ur {
|
|
|
767
767
|
this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1;
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
-
class
|
|
770
|
+
class Fe {
|
|
771
771
|
/**
|
|
772
772
|
* Инициализирует экземпляр указанного класса.
|
|
773
773
|
*
|
|
@@ -868,7 +868,7 @@ class Re extends R {
|
|
|
868
868
|
return { id: -2, slug: pr.Retail, name: "Розн. цена", guid: "", isNewRec: Or(!0) };
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
|
-
class
|
|
871
|
+
class je {
|
|
872
872
|
/**
|
|
873
873
|
* Инициализирует экземпляр класса {@link ProductPriceCoefficient}.
|
|
874
874
|
*
|
|
@@ -1101,7 +1101,7 @@ class I extends st {
|
|
|
1101
1101
|
t(this, "priceCoefficients");
|
|
1102
1102
|
this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new Ke(e.unit) : new Ke(), this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.currency = e != null && e.currency ? new x(e.currency) : new x(), this.cost = (e == null ? void 0 : e.cost) ?? 0, this.costRub = (e == null ? void 0 : e.costRub) ?? 0, this.costDate = v(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((h) => new nt(h))) ?? [], this.type = "product";
|
|
1103
1103
|
const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((h) => h.isPrimary));
|
|
1104
|
-
s && (this.category = new _e({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new _e(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new tt(h, L().config.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((h) => new
|
|
1104
|
+
s && (this.category = new _e({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new _e(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new tt(h, L().config.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((h) => new je(h))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
|
|
1105
1105
|
}
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Возвращает признак, что это измеряемый товар.
|
|
@@ -1123,7 +1123,7 @@ class I extends st {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
var Ge = /* @__PURE__ */ ((n) => (n.Discount = "discount", n.PriceTemplate = "price_template", n.ClientPrice = "client_price", n.Product = "product", n))(Ge || {});
|
|
1126
|
-
class
|
|
1126
|
+
class j extends I {
|
|
1127
1127
|
/**
|
|
1128
1128
|
* Инициализирует экземпляр класса {@link ClientProduct}.
|
|
1129
1129
|
*
|
|
@@ -1162,7 +1162,7 @@ class F extends I {
|
|
|
1162
1162
|
this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? Ge.Product, this.discount = e != null && e.discount ? new it(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new K(e.priceTemplate) : void 0, this.isPreviouslyOrdered = e == null ? void 0 : e.isPreviouslyOrdered, this.isRequired = e == null ? void 0 : e.isRequired, this.isFavorite = e == null ? void 0 : e.isFavorite;
|
|
1163
1163
|
}
|
|
1164
1164
|
}
|
|
1165
|
-
class
|
|
1165
|
+
class me extends _e {
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Инициализирует экземпляр класса {@link BaseCategory}.
|
|
1168
1168
|
*
|
|
@@ -1245,7 +1245,7 @@ class gr extends re {
|
|
|
1245
1245
|
* @inheritDoc
|
|
1246
1246
|
*/
|
|
1247
1247
|
t(this, "creatorUser");
|
|
1248
|
-
this.product = new
|
|
1248
|
+
this.product = new j(e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new me(), this.currency = e.currency ? new x(e.currency) : void 0, this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && qr(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale, this.creatorUser = e.creatorUser && new d(e.creatorUser);
|
|
1249
1249
|
}
|
|
1250
1250
|
}
|
|
1251
1251
|
let ot = class extends gr {
|
|
@@ -1472,7 +1472,7 @@ const P = class P {
|
|
|
1472
1472
|
* @param type Тип данных, которыми оперирует метод.
|
|
1473
1473
|
*/
|
|
1474
1474
|
static getInstance(r) {
|
|
1475
|
-
return Object.prototype.hasOwnProperty.call(P.instances, r.name) || (P.instances[r.name] =
|
|
1475
|
+
return Object.prototype.hasOwnProperty.call(P.instances, r.name) || (P.instances[r.name] = Fe.simpleInstanceInitializer(r)), P.instances[r.name];
|
|
1476
1476
|
}
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Конвертирует данные ошибки HTTP запроса в более упрощённую и часто используемую форму.
|
|
@@ -1701,7 +1701,7 @@ class Bt extends p {
|
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
1703
1703
|
var ct = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(ct || {}), lt = /* @__PURE__ */ ((n) => (n.Unknown = "unknown", n.Bool = "bool", n.Integer = "integer", n.Float = "float", n.String = "string", n.Range = "range", n.Json = "json", n.Object = "object", n))(lt || {});
|
|
1704
|
-
class _ extends
|
|
1704
|
+
class _ extends me {
|
|
1705
1705
|
/**
|
|
1706
1706
|
* Инициализирует экземпляр класса {@link Category}.
|
|
1707
1707
|
*
|
|
@@ -1837,7 +1837,7 @@ class Pe extends Me {
|
|
|
1837
1837
|
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 ut(e.pricingRole) : void 0, this.curatedDirections = ((s = e == null ? void 0 : e.curatedDirections) == null ? void 0 : s.map((i) => new Be(i))) ?? [];
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
|
-
class pt extends
|
|
1840
|
+
class pt extends me {
|
|
1841
1841
|
/**
|
|
1842
1842
|
* Инициализирует экземпляр класса {@link BaseClientCategory}.
|
|
1843
1843
|
*
|
|
@@ -1885,7 +1885,7 @@ class we extends pt {
|
|
|
1885
1885
|
* Список продуктов категории.
|
|
1886
1886
|
*/
|
|
1887
1887
|
t(this, "products");
|
|
1888
|
-
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new we(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new
|
|
1888
|
+
this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new we(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new j(o));
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
1891
|
class fr {
|
|
@@ -1918,7 +1918,7 @@ class Se extends fr {
|
|
|
1918
1918
|
* Базовые данные о продукте.
|
|
1919
1919
|
*/
|
|
1920
1920
|
t(this, "productCategory");
|
|
1921
|
-
this.productCategory = new
|
|
1921
|
+
this.productCategory = new me(e == null ? void 0 : e.productCategory);
|
|
1922
1922
|
}
|
|
1923
1923
|
}
|
|
1924
1924
|
class ze extends k {
|
|
@@ -1946,7 +1946,7 @@ class ze extends k {
|
|
|
1946
1946
|
}
|
|
1947
1947
|
class Z extends R {
|
|
1948
1948
|
}
|
|
1949
|
-
class
|
|
1949
|
+
class pe extends R {
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Инициализирует экземпляр класса {@link Region}.
|
|
1952
1952
|
*
|
|
@@ -1972,8 +1972,8 @@ class Ae extends R {
|
|
|
1972
1972
|
/**
|
|
1973
1973
|
* Данные о регионе, в котором расположен город.
|
|
1974
1974
|
*/
|
|
1975
|
-
t(this, "region", new
|
|
1976
|
-
e && (this.region = new
|
|
1975
|
+
t(this, "region", new pe());
|
|
1976
|
+
e && (this.region = new pe(e.region));
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
1979
|
class yr extends k {
|
|
@@ -2015,7 +2015,7 @@ class yr extends k {
|
|
|
2015
2015
|
this.phone = /^\d+$/.test((e == null ? void 0 : e.phone) ?? "") ? `+${e == null ? void 0 : e.phone}` : (e == null ? void 0 : e.phone) ?? "", this.email = (e == null ? void 0 : e.email) ?? "", this.getNews = (e == null ? void 0 : e.getNews) ?? !1, this.salesDirection = e != null && e.salesDirection ? new O(e.salesDirection) : void 0, this.createdAt = v(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = v(e == null ? void 0 : e.lastLoginAt) ? C(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
|
-
class
|
|
2018
|
+
class te extends yr {
|
|
2019
2019
|
/**
|
|
2020
2020
|
* Инициализирует экземпляр класса {@link Client}.
|
|
2021
2021
|
*
|
|
@@ -2064,7 +2064,7 @@ class me extends yr {
|
|
|
2064
2064
|
this.salesDirection = new O(e == null ? void 0 : e.salesDirection), this.debt = (e == null ? void 0 : e.debt) ?? 0, this.alternativeName = (e == null ? void 0 : e.alternativeName) ?? "", this.city = new Ae(e == null ? void 0 : e.city), this.comment = e == null ? void 0 : e.comment, this.isPhoneApproved = (e == null ? void 0 : e.isPhoneApproved) ?? !1, this.isEmailApproved = (e == null ? void 0 : e.isEmailApproved) ?? !1, this.managers = ((s = e == null ? void 0 : e.managers) == null ? void 0 : s.map((o) => new Me(o))) ?? [], this.curators = ((i = e == null ? void 0 : e.curators) == null ? void 0 : i.map((o) => new ze(o))) ?? void 0;
|
|
2065
2065
|
}
|
|
2066
2066
|
}
|
|
2067
|
-
class
|
|
2067
|
+
class ne extends re {
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Инициализирует новый экземпляр класса.
|
|
2070
2070
|
*
|
|
@@ -2088,7 +2088,7 @@ class ie extends re {
|
|
|
2088
2088
|
* Данные шаблона прайс-листа.
|
|
2089
2089
|
*/
|
|
2090
2090
|
t(this, "priceTemplate");
|
|
2091
|
-
this.createdAt = v(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = v(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new
|
|
2091
|
+
this.createdAt = v(e == null ? void 0 : e.createdAt) ? C(e.createdAt) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.deletedAt = v(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt, this.client = new te(e == null ? void 0 : e.client), this.priceTemplate = new K(e == null ? void 0 : e.priceTemplate);
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
2094
|
class ke extends fr {
|
|
@@ -2108,7 +2108,7 @@ class ke extends fr {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
class wr extends R {
|
|
2110
2110
|
}
|
|
2111
|
-
class
|
|
2111
|
+
class oe extends k {
|
|
2112
2112
|
/**
|
|
2113
2113
|
* Инициализирует экземпляр класса {@link Property}.
|
|
2114
2114
|
*
|
|
@@ -2147,7 +2147,7 @@ class V {
|
|
|
2147
2147
|
* Может быть строкой, числом, boolean, диапазоном или JSON объектом.
|
|
2148
2148
|
*/
|
|
2149
2149
|
t(this, "value");
|
|
2150
|
-
this.property = new
|
|
2150
|
+
this.property = new oe(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
2153
|
class S {
|
|
@@ -2232,7 +2232,7 @@ class zt {
|
|
|
2232
2232
|
}), !((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;
|
|
2233
2233
|
}
|
|
2234
2234
|
}
|
|
2235
|
-
class
|
|
2235
|
+
class ce extends k {
|
|
2236
2236
|
/**
|
|
2237
2237
|
* Инициализирует экземпляр класса {@link PricingRole}.
|
|
2238
2238
|
*
|
|
@@ -2286,7 +2286,7 @@ class Qe {
|
|
|
2286
2286
|
* Минимальный коэффициент цены.
|
|
2287
2287
|
*/
|
|
2288
2288
|
t(this, "minCoefficient");
|
|
2289
|
-
this.role = new
|
|
2289
|
+
this.role = new ce(r == null ? void 0 : r.role), this.category = new me(r == null ? void 0 : r.category), this.minCoefficient = new Re(r == null ? void 0 : r.minCoefficient);
|
|
2290
2290
|
}
|
|
2291
2291
|
}
|
|
2292
2292
|
class Wt extends p {
|
|
@@ -2444,7 +2444,7 @@ class Jt extends p {
|
|
|
2444
2444
|
price_coefficient_id: (i = s.coefficient) == null ? void 0 : i.id,
|
|
2445
2445
|
increase_percent: s.value
|
|
2446
2446
|
},
|
|
2447
|
-
(o) => new
|
|
2447
|
+
(o) => new j(o.data)
|
|
2448
2448
|
);
|
|
2449
2449
|
}
|
|
2450
2450
|
/**
|
|
@@ -2456,7 +2456,7 @@ class Jt extends p {
|
|
|
2456
2456
|
* @see /doc/api/internal#/operations/api_internal_client_price_products_remove
|
|
2457
2457
|
*/
|
|
2458
2458
|
removeProductPrice(r, e) {
|
|
2459
|
-
return this.delete(`/internal/clients/${r}/price/products/${e}`, (s) => new
|
|
2459
|
+
return this.delete(`/internal/clients/${r}/price/products/${e}`, (s) => new j(s.data));
|
|
2460
2460
|
}
|
|
2461
2461
|
/**
|
|
2462
2462
|
* Добавляет указанный продукт в список товаров для дополнительных продаж.
|
|
@@ -2531,7 +2531,7 @@ class Et extends p {
|
|
|
2531
2531
|
return this.get(
|
|
2532
2532
|
`/internal/clients/${r}/price/templates`,
|
|
2533
2533
|
{},
|
|
2534
|
-
(e) => e.data.map((s) => new
|
|
2534
|
+
(e) => e.data.map((s) => new ne(s))
|
|
2535
2535
|
);
|
|
2536
2536
|
}
|
|
2537
2537
|
/**
|
|
@@ -2542,7 +2542,7 @@ class Et extends p {
|
|
|
2542
2542
|
* @see /doc/api/internal#/operations/api_internal_client_price_template_get_active
|
|
2543
2543
|
*/
|
|
2544
2544
|
getActiveTemplate(r) {
|
|
2545
|
-
return this.get(`/internal/clients/${r}/price/templates/active`, {}, (e) => new
|
|
2545
|
+
return this.get(`/internal/clients/${r}/price/templates/active`, {}, (e) => new ne(e.data), !0);
|
|
2546
2546
|
}
|
|
2547
2547
|
/**
|
|
2548
2548
|
* Добавляет связь между клиентом и шаблоном прайс-листа.
|
|
@@ -2561,7 +2561,7 @@ class Et extends p {
|
|
|
2561
2561
|
startAt: s.startAt && U(s.startAt, i),
|
|
2562
2562
|
endAt: s.endAt && U(s.endAt, i)
|
|
2563
2563
|
},
|
|
2564
|
-
(o) => new
|
|
2564
|
+
(o) => new ne(o.data),
|
|
2565
2565
|
{},
|
|
2566
2566
|
!0
|
|
2567
2567
|
);
|
|
@@ -2595,7 +2595,7 @@ class Et extends p {
|
|
|
2595
2595
|
startAt: i.startAt && U(i.startAt, o),
|
|
2596
2596
|
endAt: i.endAt && U(i.endAt, o)
|
|
2597
2597
|
},
|
|
2598
|
-
(c) => new
|
|
2598
|
+
(c) => new ne(c.data)
|
|
2599
2599
|
);
|
|
2600
2600
|
}
|
|
2601
2601
|
/**
|
|
@@ -2671,7 +2671,7 @@ class Vt extends p {
|
|
|
2671
2671
|
showHidden: s,
|
|
2672
2672
|
withPriceCoefficients: e
|
|
2673
2673
|
},
|
|
2674
|
-
(i) =>
|
|
2674
|
+
(i) => ge(i.data, (o) => new I(o))
|
|
2675
2675
|
);
|
|
2676
2676
|
}
|
|
2677
2677
|
/**
|
|
@@ -2684,7 +2684,7 @@ class Vt extends p {
|
|
|
2684
2684
|
getCategoryProductsCoefficients(r) {
|
|
2685
2685
|
return this.get(`/internal/catalog/categories/${r}/products/coefficients`, {}, (e) => {
|
|
2686
2686
|
const { data: s } = e;
|
|
2687
|
-
return Ur(s, (i) => i.map((o) => new
|
|
2687
|
+
return Ur(s, (i) => i.map((o) => new je(o))), s;
|
|
2688
2688
|
});
|
|
2689
2689
|
}
|
|
2690
2690
|
/**
|
|
@@ -2734,7 +2734,7 @@ class Kt extends p {
|
|
|
2734
2734
|
return this.get(
|
|
2735
2735
|
`/internal/catalog/products/${r}/coefficients`,
|
|
2736
2736
|
{},
|
|
2737
|
-
(e) =>
|
|
2737
|
+
(e) => ge(e.data, (s) => new je(s))
|
|
2738
2738
|
);
|
|
2739
2739
|
}
|
|
2740
2740
|
/**
|
|
@@ -2811,7 +2811,7 @@ class Qt extends p {
|
|
|
2811
2811
|
showHidden: i,
|
|
2812
2812
|
withPriceCoefficients: s
|
|
2813
2813
|
},
|
|
2814
|
-
(o) =>
|
|
2814
|
+
(o) => ge(o.data, (c) => new j(c))
|
|
2815
2815
|
);
|
|
2816
2816
|
}
|
|
2817
2817
|
}
|
|
@@ -2832,7 +2832,7 @@ class Yt extends p {
|
|
|
2832
2832
|
clientId: e,
|
|
2833
2833
|
withPriceCoefficients: s
|
|
2834
2834
|
},
|
|
2835
|
-
(i) => new
|
|
2835
|
+
(i) => new j(i.data)
|
|
2836
2836
|
);
|
|
2837
2837
|
}
|
|
2838
2838
|
}
|
|
@@ -3127,7 +3127,7 @@ class Xt extends De {
|
|
|
3127
3127
|
return this.get(
|
|
3128
3128
|
`/internal/price/templates/${r}/clients`,
|
|
3129
3129
|
{},
|
|
3130
|
-
(e) => e.data.map((s) => new
|
|
3130
|
+
(e) => e.data.map((s) => new ne(s))
|
|
3131
3131
|
);
|
|
3132
3132
|
}
|
|
3133
3133
|
}
|
|
@@ -3138,7 +3138,7 @@ class Zt extends p {
|
|
|
3138
3138
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_roles_get_list
|
|
3139
3139
|
*/
|
|
3140
3140
|
getRoles() {
|
|
3141
|
-
return this.get("/internal/price/roles", {}, (r) => r.data.map((e) => new
|
|
3141
|
+
return this.get("/internal/price/roles", {}, (r) => r.data.map((e) => new ce(e)));
|
|
3142
3142
|
}
|
|
3143
3143
|
/**
|
|
3144
3144
|
* Добавляет новую роль ценообразования.
|
|
@@ -3148,7 +3148,7 @@ class Zt extends p {
|
|
|
3148
3148
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_roles_create
|
|
3149
3149
|
*/
|
|
3150
3150
|
createRole(r) {
|
|
3151
|
-
return this.post("/internal/price/roles", r, (e) => new
|
|
3151
|
+
return this.post("/internal/price/roles", r, (e) => new ce(e.data));
|
|
3152
3152
|
}
|
|
3153
3153
|
/**
|
|
3154
3154
|
* Возвращает данные роли ценообразования.
|
|
@@ -3158,7 +3158,7 @@ class Zt extends p {
|
|
|
3158
3158
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_roles_get
|
|
3159
3159
|
*/
|
|
3160
3160
|
getRole(r) {
|
|
3161
|
-
return this.get(`/internal/price/roles/${r}`, {}, (e) => new
|
|
3161
|
+
return this.get(`/internal/price/roles/${r}`, {}, (e) => new ce(e.data));
|
|
3162
3162
|
}
|
|
3163
3163
|
/**
|
|
3164
3164
|
* Обновляет данные роли ценообразования.
|
|
@@ -3169,7 +3169,7 @@ class Zt extends p {
|
|
|
3169
3169
|
* @see /doc/api/internal#/operations/api_internal_catalog_price_roles_update
|
|
3170
3170
|
*/
|
|
3171
3171
|
updateRole(r, e) {
|
|
3172
|
-
return this.patch(`/internal/price/roles/${r}`, e, (s) => new
|
|
3172
|
+
return this.patch(`/internal/price/roles/${r}`, e, (s) => new ce(s.data));
|
|
3173
3173
|
}
|
|
3174
3174
|
/**
|
|
3175
3175
|
* Удаляет роль ценообразования.
|
|
@@ -3224,7 +3224,7 @@ class es extends De {
|
|
|
3224
3224
|
getProperties(r, e, s) {
|
|
3225
3225
|
return this.getPaginated("/internal/catalog/properties", r, e, s, {}, (i) => {
|
|
3226
3226
|
const o = { ...i.data };
|
|
3227
|
-
return o.data = o.data.map((c) => new
|
|
3227
|
+
return o.data = o.data.map((c) => new oe(c)), o;
|
|
3228
3228
|
});
|
|
3229
3229
|
}
|
|
3230
3230
|
/**
|
|
@@ -3241,7 +3241,7 @@ class es extends De {
|
|
|
3241
3241
|
...s,
|
|
3242
3242
|
type: e
|
|
3243
3243
|
},
|
|
3244
|
-
(i) => new
|
|
3244
|
+
(i) => new oe(i.data)
|
|
3245
3245
|
);
|
|
3246
3246
|
}
|
|
3247
3247
|
/**
|
|
@@ -3251,7 +3251,7 @@ class es extends De {
|
|
|
3251
3251
|
* @see /doc/api/internal#/operations/api_internal_catalog_properties_get
|
|
3252
3252
|
*/
|
|
3253
3253
|
getProperty(r) {
|
|
3254
|
-
return this.get(`/internal/catalog/properties/${r}`, {}, (e) => new
|
|
3254
|
+
return this.get(`/internal/catalog/properties/${r}`, {}, (e) => new oe(e.data));
|
|
3255
3255
|
}
|
|
3256
3256
|
/**
|
|
3257
3257
|
* Обновляет существующее свойство.
|
|
@@ -3268,7 +3268,7 @@ class es extends De {
|
|
|
3268
3268
|
...i,
|
|
3269
3269
|
type: s
|
|
3270
3270
|
},
|
|
3271
|
-
(o) => new
|
|
3271
|
+
(o) => new oe(o.data)
|
|
3272
3272
|
);
|
|
3273
3273
|
}
|
|
3274
3274
|
/**
|
|
@@ -3641,7 +3641,7 @@ class rs extends p {
|
|
|
3641
3641
|
showHidden: i,
|
|
3642
3642
|
withPriceCoefficients: s
|
|
3643
3643
|
},
|
|
3644
|
-
(o) =>
|
|
3644
|
+
(o) => ge(o.data, (c) => new I(c))
|
|
3645
3645
|
);
|
|
3646
3646
|
}
|
|
3647
3647
|
}
|
|
@@ -3709,6 +3709,25 @@ class Rr extends R {
|
|
|
3709
3709
|
}
|
|
3710
3710
|
class wt extends R {
|
|
3711
3711
|
}
|
|
3712
|
+
class ss {
|
|
3713
|
+
/**
|
|
3714
|
+
* Генерирует и возвращает данные-заглушку неопределённой записи справочника.
|
|
3715
|
+
*
|
|
3716
|
+
* @param Ctor Конструктор конкретного класса справочника.
|
|
3717
|
+
* @param name Название записи.
|
|
3718
|
+
*/
|
|
3719
|
+
static generateUndefinedInstance(r, e = "- Не определён -") {
|
|
3720
|
+
return new r({ id: 0, name: e, slug: "-undefined-" });
|
|
3721
|
+
}
|
|
3722
|
+
/**
|
|
3723
|
+
* Выполняет проверку, является ли указанная запись записью-заглушкой с данными о неопределённой записи справочника.
|
|
3724
|
+
*
|
|
3725
|
+
* @param reference Запись для проверки.
|
|
3726
|
+
*/
|
|
3727
|
+
static isUndefinedInstance(r) {
|
|
3728
|
+
return r.id === 0 && r.slug === "-undefined-";
|
|
3729
|
+
}
|
|
3730
|
+
}
|
|
3712
3731
|
class Pr extends R {
|
|
3713
3732
|
}
|
|
3714
3733
|
class Ar extends R {
|
|
@@ -4056,7 +4075,7 @@ class Ce extends rt {
|
|
|
4056
4075
|
this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new hr(e == null ? void 0 : e.coordinates), this.contacts = ((s = e == null ? void 0 : e.contacts) == null ? void 0 : s.map((i) => new B(i))) ?? [], this.comment = e == null ? void 0 : e.comment, this.operatingHours = e == null ? void 0 : e.operatingHours, this.isOneTime = e == null ? void 0 : e.isOneTime, this.isTransportCompanyAddress = e == null ? void 0 : e.isTransportCompanyAddress;
|
|
4057
4076
|
}
|
|
4058
4077
|
}
|
|
4059
|
-
class er extends
|
|
4078
|
+
class er extends te {
|
|
4060
4079
|
/**
|
|
4061
4080
|
* Инициализирует экземпляр класса {@link Client}.
|
|
4062
4081
|
*
|
|
@@ -4123,7 +4142,7 @@ class br {
|
|
|
4123
4142
|
}), r;
|
|
4124
4143
|
}
|
|
4125
4144
|
}
|
|
4126
|
-
class
|
|
4145
|
+
class is extends br {
|
|
4127
4146
|
/**
|
|
4128
4147
|
* Инициализирует экземпляр класса {@link ClientsListFilters}.
|
|
4129
4148
|
*
|
|
@@ -4224,7 +4243,7 @@ class ss extends br {
|
|
|
4224
4243
|
* @inheritDoc
|
|
4225
4244
|
*/
|
|
4226
4245
|
t(this, "lastOrder");
|
|
4227
|
-
this.id = e == null ? void 0 : e.id, this.name = e == null ? void 0 : e.name, this.alternativeName = e == null ? void 0 : e.alternativeName, this.searchTerm = e == null ? void 0 : e.searchTerm, this.cities = (s = e == null ? void 0 : e.cities) == null ? void 0 : s.map((D) => new Ae(D)), this.region = new
|
|
4246
|
+
this.id = e == null ? void 0 : e.id, this.name = e == null ? void 0 : e.name, this.alternativeName = e == null ? void 0 : e.alternativeName, this.searchTerm = e == null ? void 0 : e.searchTerm, this.cities = (s = e == null ? void 0 : e.cities) == null ? void 0 : s.map((D) => new Ae(D)), this.region = new pe(e == null ? void 0 : e.region), this.country = new Z(e == null ? void 0 : e.country), this.phone = e == null ? void 0 : e.phone, this.email = e == null ? void 0 : e.email, this.isActive = e && Object.prototype.hasOwnProperty.call(e, "isActive") ? e == null ? void 0 : e.isActive : !0, this.createdAt = new S(e == null ? void 0 : e.createdAt), this.lastLoginDate = new S(e == null ? void 0 : e.lastLoginDate), this.lastLoginDateHasOrder = (e == null ? void 0 : e.lastLoginDateHasOrder) ?? void 0, this.managers = ((i = e == null ? void 0 : e.managers) == null ? void 0 : i.map((D) => new Pe(D))) ?? [], this.curators = ((o = e == null ? void 0 : e.curators) == null ? void 0 : o.map((D) => new ze(D))) ?? [], this.salesDirections = (c = e == null ? void 0 : e.salesDirections) == null ? void 0 : c.map((D) => new O(D)), this.contragentInn = e == null ? void 0 : e.contragentInn, this.contragentType = new M(e == null ? void 0 : e.contragentType), this.preferredDeliveryType = e != null && e.preferredDeliveryType ? new N(e == null ? void 0 : e.preferredDeliveryType) : void 0, this.partnerGroups = (u = e == null ? void 0 : e.partnerGroups) == null ? void 0 : u.map((D) => new ee(D)), this.contact = new Ne(e == null ? void 0 : e.contact), this.lastOrder = {
|
|
4228
4247
|
createdAt: new S((h = e == null ? void 0 : e.lastOrder) == null ? void 0 : h.createdAt),
|
|
4229
4248
|
creator: (m = e == null ? void 0 : e.lastOrder) == null ? void 0 : m.creator,
|
|
4230
4249
|
isApproved: (f = e == null ? void 0 : e.lastOrder) == null ? void 0 : f.isApproved
|
|
@@ -4239,7 +4258,7 @@ class ss extends br {
|
|
|
4239
4258
|
this.cities = [];
|
|
4240
4259
|
break;
|
|
4241
4260
|
case "region":
|
|
4242
|
-
this.region = new
|
|
4261
|
+
this.region = new pe();
|
|
4243
4262
|
break;
|
|
4244
4263
|
case "isActive":
|
|
4245
4264
|
this.isActive = !0;
|
|
@@ -4370,7 +4389,7 @@ class At {
|
|
|
4370
4389
|
this.page = (r == null ? void 0 : r.page) ?? 1, this.pageSize = (r == null ? void 0 : r.pageSize) ?? 50;
|
|
4371
4390
|
}
|
|
4372
4391
|
}
|
|
4373
|
-
class
|
|
4392
|
+
class ns extends At {
|
|
4374
4393
|
/**
|
|
4375
4394
|
* Инициализирует экземпляр класса {@link DataTablePagination}.
|
|
4376
4395
|
*
|
|
@@ -4401,7 +4420,7 @@ class is extends At {
|
|
|
4401
4420
|
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;
|
|
4402
4421
|
}
|
|
4403
4422
|
}
|
|
4404
|
-
class
|
|
4423
|
+
class os {
|
|
4405
4424
|
/**
|
|
4406
4425
|
* Инициализирует экземпляр класса {@link ISortRequestParams}.
|
|
4407
4426
|
*
|
|
@@ -4580,7 +4599,7 @@ class a extends De {
|
|
|
4580
4599
|
i,
|
|
4581
4600
|
(c) => {
|
|
4582
4601
|
const u = { ...c.data };
|
|
4583
|
-
return u.data = u.data.map((h) => new
|
|
4602
|
+
return u.data = u.data.map((h) => new te(h)), u;
|
|
4584
4603
|
},
|
|
4585
4604
|
void 0,
|
|
4586
4605
|
o
|
|
@@ -5139,7 +5158,7 @@ const Q = class Q extends p {
|
|
|
5139
5158
|
*/
|
|
5140
5159
|
cacheResponse(e, s) {
|
|
5141
5160
|
Q.responseDataCache.set(e, {
|
|
5142
|
-
validTo:
|
|
5161
|
+
validTo: Fr(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
|
|
5143
5162
|
val: s
|
|
5144
5163
|
});
|
|
5145
5164
|
}
|
|
@@ -5156,7 +5175,7 @@ const Q = class Q extends p {
|
|
|
5156
5175
|
getTypedDataArrayRequester(e, s, i = !1, o = {}) {
|
|
5157
5176
|
const c = s + (Y(o) ? "" : ` >>> ${JSON.stringify(o)}`), u = i ? Q.getCachedResponse(c) : void 0;
|
|
5158
5177
|
return u ? Promise.resolve(u) : this.get(s, o).then((h) => {
|
|
5159
|
-
const m = h.map((f) =>
|
|
5178
|
+
const m = h.map((f) => Fe.instanceInitializer(e, f));
|
|
5160
5179
|
return i && m && this.cacheResponse(s, m), m;
|
|
5161
5180
|
});
|
|
5162
5181
|
}
|
|
@@ -5165,8 +5184,8 @@ const Q = class Q extends p {
|
|
|
5165
5184
|
* Кэш результатов запросов.
|
|
5166
5185
|
*/
|
|
5167
5186
|
t(Q, "responseDataCache", /* @__PURE__ */ new Map());
|
|
5168
|
-
let
|
|
5169
|
-
class
|
|
5187
|
+
let he = Q;
|
|
5188
|
+
class cs extends p {
|
|
5170
5189
|
/**
|
|
5171
5190
|
* Выполняет проверку занят ли указанный номер телефона.
|
|
5172
5191
|
*
|
|
@@ -5180,7 +5199,7 @@ class os extends p {
|
|
|
5180
5199
|
});
|
|
5181
5200
|
}
|
|
5182
5201
|
}
|
|
5183
|
-
class
|
|
5202
|
+
class ls {
|
|
5184
5203
|
/**
|
|
5185
5204
|
* Инициализирует экземпляр класса {@link VersionConfig}.
|
|
5186
5205
|
*
|
|
@@ -5203,7 +5222,7 @@ class cs {
|
|
|
5203
5222
|
}
|
|
5204
5223
|
}
|
|
5205
5224
|
var Dt = /* @__PURE__ */ ((n) => (n.Kozyrek = "kozyrek", n.Mosquitto = "mosquitto", n.Strip = "strip", n.MetalForDoors = "metal_for_doors", n.Sandwich = "sandwich", n))(Dt || {});
|
|
5206
|
-
class
|
|
5225
|
+
class us extends p {
|
|
5207
5226
|
/**
|
|
5208
5227
|
* Возвращает настройки указанного конфигуратора для указанной категории.
|
|
5209
5228
|
*
|
|
@@ -5294,12 +5313,12 @@ class ls extends p {
|
|
|
5294
5313
|
});
|
|
5295
5314
|
}
|
|
5296
5315
|
}
|
|
5297
|
-
class
|
|
5316
|
+
class ps {
|
|
5298
5317
|
/**
|
|
5299
5318
|
* Возвращает диапазон дат по умолчанию.
|
|
5300
5319
|
*/
|
|
5301
5320
|
static defaultDateRanges() {
|
|
5302
|
-
const r =
|
|
5321
|
+
const r = jr(/* @__PURE__ */ new Date(), 1);
|
|
5303
5322
|
return {
|
|
5304
5323
|
// 'Следующий рабочий день' - это значение по-умолчанию
|
|
5305
5324
|
nextWorkingDay: { label: "Следующий рабочий день", from: Er(r), to: Jr(r) },
|
|
@@ -5337,11 +5356,11 @@ class kr {
|
|
|
5337
5356
|
return (e = r.properties) != null && e.lengthStep ? r.properties.lengthStep : !((s = r.properties) != null && s.ignoreMinCountCheck) && ((i = r.properties) != null && i.minCount) ? r.properties.minCount : 0.01;
|
|
5338
5357
|
}
|
|
5339
5358
|
}
|
|
5340
|
-
function
|
|
5359
|
+
function hs(n, r) {
|
|
5341
5360
|
const e = [2, 0, 1, 1, 1, 2];
|
|
5342
5361
|
return r[n % 100 > 4 && n % 100 < 20 ? 2 : e[Math.min(n % 10, 5)]];
|
|
5343
5362
|
}
|
|
5344
|
-
class
|
|
5363
|
+
class gs {
|
|
5345
5364
|
/**
|
|
5346
5365
|
* Генерирует и возвращает данные-заглушку неопределённого менеджера.
|
|
5347
5366
|
*/
|
|
@@ -5357,15 +5376,15 @@ class hs {
|
|
|
5357
5376
|
return r.id === 0 && r.guid === "-undefined-";
|
|
5358
5377
|
}
|
|
5359
5378
|
}
|
|
5360
|
-
class Tt extends
|
|
5379
|
+
class Tt extends he {
|
|
5361
5380
|
/**
|
|
5362
5381
|
* Возвращает {@link Promise} для получения справочника списка менеджеров.
|
|
5363
5382
|
*/
|
|
5364
5383
|
async getManagers() {
|
|
5365
|
-
const r = "/internal/managers", e =
|
|
5384
|
+
const r = "/internal/managers", e = he.getCachedResponse(r);
|
|
5366
5385
|
if (e)
|
|
5367
5386
|
return e;
|
|
5368
|
-
const i = (await this.get(r)).data.map((o) =>
|
|
5387
|
+
const i = (await this.get(r)).data.map((o) => Fe.instanceInitializer(Pe, o));
|
|
5369
5388
|
return this.cacheResponse(r, i), i;
|
|
5370
5389
|
}
|
|
5371
5390
|
}
|
|
@@ -5426,7 +5445,7 @@ class Ir extends Sr {
|
|
|
5426
5445
|
* @inheritDoc
|
|
5427
5446
|
*/
|
|
5428
5447
|
t(this, "isLargeOrder");
|
|
5429
|
-
this.client = new
|
|
5448
|
+
this.client = new te(e == null ? void 0 : e.client), this.payment = {
|
|
5430
5449
|
type: ((s = e == null ? void 0 : e.payment) == null ? void 0 : s.type) ?? -1,
|
|
5431
5450
|
status: ((i = e == null ? void 0 : e.payment) == null ? void 0 : i.status) ?? -1,
|
|
5432
5451
|
onlinePaymentLink: (o = e == null ? void 0 : e.payment) == null ? void 0 : o.onlinePaymentLink
|
|
@@ -5439,7 +5458,7 @@ class Ir extends Sr {
|
|
|
5439
5458
|
}
|
|
5440
5459
|
}
|
|
5441
5460
|
var $t = /* @__PURE__ */ ((n) => (n.New = "new", n.WorkedOut = "worked_out", n.Pending = "pending", n.Completed = "completed", n.Declined = "declined", n.Deleted = "deleted", n))($t || {});
|
|
5442
|
-
class b extends
|
|
5461
|
+
class b extends he {
|
|
5443
5462
|
/**
|
|
5444
5463
|
* Возвращает {@link Promise} для получения данных указанного справочника.
|
|
5445
5464
|
*
|
|
@@ -5544,7 +5563,7 @@ class b extends pe {
|
|
|
5544
5563
|
* @param term Терм поиска.
|
|
5545
5564
|
*/
|
|
5546
5565
|
searchRegion(r) {
|
|
5547
|
-
return this.getTypedDataArrayRequester(
|
|
5566
|
+
return this.getTypedDataArrayRequester(pe, `/internal/references/region-with-country/search?term=${r}`);
|
|
5548
5567
|
}
|
|
5549
5568
|
/**
|
|
5550
5569
|
* Выполняет поиск данных о странах по терму в названии.
|
|
@@ -5586,7 +5605,7 @@ class b extends pe {
|
|
|
5586
5605
|
}
|
|
5587
5606
|
}
|
|
5588
5607
|
const $ = z("common.references_private", () => {
|
|
5589
|
-
const n = y({}), r = y(void 0), e = y(void 0), s = y(void 0), i = y(void 0), o = y(void 0), c = y(void 0), u = y(void 0), h = y(void 0), m = y(void 0), f = y(void 0), D = y(void 0),
|
|
5608
|
+
const n = y({}), r = y(void 0), e = y(void 0), s = y(void 0), i = y(void 0), o = y(void 0), c = y(void 0), u = y(void 0), h = y(void 0), m = y(void 0), f = y(void 0), D = y(void 0), se = y(void 0), ie = y(void 0), W = y(void 0), J = y(void 0), Te = y(void 0), $e = y(void 0), l = y(void 0);
|
|
5590
5609
|
return {
|
|
5591
5610
|
/**
|
|
5592
5611
|
* Список загружаемых/загруженных на данный момент значений.
|
|
@@ -5639,11 +5658,11 @@ const $ = z("common.references_private", () => {
|
|
|
5639
5658
|
/**
|
|
5640
5659
|
* Справочник типов файлов продукктов/категорий.
|
|
5641
5660
|
*/
|
|
5642
|
-
productFileTypeReference:
|
|
5661
|
+
productFileTypeReference: se,
|
|
5643
5662
|
/**
|
|
5644
5663
|
* Справочник типов ресурсов.
|
|
5645
5664
|
*/
|
|
5646
|
-
resourceTypesReference:
|
|
5665
|
+
resourceTypesReference: ie,
|
|
5647
5666
|
/**
|
|
5648
5667
|
* Справочник направлений продаж.
|
|
5649
5668
|
*/
|
|
@@ -5665,7 +5684,7 @@ const $ = z("common.references_private", () => {
|
|
|
5665
5684
|
*/
|
|
5666
5685
|
priceCoefficientsReference: l
|
|
5667
5686
|
};
|
|
5668
|
-
}),
|
|
5687
|
+
}), ms = z("common.references", () => {
|
|
5669
5688
|
const n = A(() => {
|
|
5670
5689
|
const l = $();
|
|
5671
5690
|
return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(b).getChannelPrimaryInterest().then((g) => {
|
|
@@ -5726,12 +5745,12 @@ const $ = z("common.references_private", () => {
|
|
|
5726
5745
|
return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, p.getInstance(b).getSalesDirections().then((g) => {
|
|
5727
5746
|
l.salesDirectionsReference = g;
|
|
5728
5747
|
}).catch(w)), l.salesDirectionsReference;
|
|
5729
|
-
}),
|
|
5748
|
+
}), se = A(() => {
|
|
5730
5749
|
const l = $();
|
|
5731
5750
|
return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance(b).getSourcePrimaryInterest().then((g) => {
|
|
5732
5751
|
l.sourcePrimaryInterestReference = g;
|
|
5733
5752
|
}).catch(w)), l.sourcePrimaryInterestReference;
|
|
5734
|
-
}),
|
|
5753
|
+
}), ie = A(() => {
|
|
5735
5754
|
const l = $();
|
|
5736
5755
|
return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, p.getInstance(b).getDeliveryTypes().then((g) => {
|
|
5737
5756
|
l.deliveryTypeReference = g;
|
|
@@ -5809,11 +5828,11 @@ const $ = z("common.references_private", () => {
|
|
|
5809
5828
|
/**
|
|
5810
5829
|
* Справочник каналов первичного интереса.
|
|
5811
5830
|
*/
|
|
5812
|
-
sourcePrimaryInterestsReference:
|
|
5831
|
+
sourcePrimaryInterestsReference: se,
|
|
5813
5832
|
/**
|
|
5814
5833
|
* Справочник типов доставки.
|
|
5815
5834
|
*/
|
|
5816
|
-
deliveryTypeReference:
|
|
5835
|
+
deliveryTypeReference: ie,
|
|
5817
5836
|
/**
|
|
5818
5837
|
* Список менеджеров.
|
|
5819
5838
|
*/
|
|
@@ -5832,7 +5851,7 @@ const $ = z("common.references_private", () => {
|
|
|
5832
5851
|
priceCoefficientsReference: $e
|
|
5833
5852
|
};
|
|
5834
5853
|
});
|
|
5835
|
-
class
|
|
5854
|
+
class fs extends br {
|
|
5836
5855
|
/**
|
|
5837
5856
|
* Инициализирует экземпляр класса {@link OrdersListFilters}.
|
|
5838
5857
|
*
|
|
@@ -5849,6 +5868,10 @@ class ms extends br {
|
|
|
5849
5868
|
* @inheritDoc
|
|
5850
5869
|
*/
|
|
5851
5870
|
t(this, "clientSearchTerm");
|
|
5871
|
+
/**
|
|
5872
|
+
* @inheritDoc
|
|
5873
|
+
*/
|
|
5874
|
+
t(this, "client");
|
|
5852
5875
|
/**
|
|
5853
5876
|
* @inheritDoc
|
|
5854
5877
|
*/
|
|
@@ -5925,7 +5948,15 @@ class ms extends br {
|
|
|
5925
5948
|
* @inheritDoc
|
|
5926
5949
|
*/
|
|
5927
5950
|
t(this, "isLargeOrder");
|
|
5928
|
-
|
|
5951
|
+
/**
|
|
5952
|
+
* @inheritDoc
|
|
5953
|
+
*/
|
|
5954
|
+
t(this, "isToProcess");
|
|
5955
|
+
/**
|
|
5956
|
+
* @inheritDoc
|
|
5957
|
+
*/
|
|
5958
|
+
t(this, "onlyMyRegions");
|
|
5959
|
+
this.attachedOperators = (s = e == null ? void 0 : e.attachedOperators) == null ? void 0 : s.map((c) => new Cr(c)), this.clientSearchTerm = e == null ? void 0 : e.clientSearchTerm, this.client = e != null && e.client ? new te(e.client) : void 0, this.contragent = e == null ? void 0 : e.contragent, this.createdAt = new S(e == null ? void 0 : e.createdAt), this.creator = e != null && e.creator ? new d(e.creator) : void 0, this.deliveryDate = new S(e == null ? void 0 : e.deliveryDate), this.deliveryAddressSearch = e == null ? void 0 : e.deliveryAddressSearch, this.clientCities = (i = e == null ? void 0 : e.clientCities) == null ? void 0 : i.map((c) => new Ae(c)), this.id = e == null ? void 0 : e.id, this.isApproved = e == null ? void 0 : e.isApproved, this.isApproved1c = e == null ? void 0 : e.isApproved1c, this.isNotInStock = e == null ? void 0 : e.isNotInStock, this.isOnOrder = e == null ? void 0 : e.isOnOrder, this.isLargeOrder = e == null ? void 0 : e.isLargeOrder, this.pendingAt = new S(e == null ? void 0 : e.pendingAt), this.processedAt = new S(e == null ? void 0 : e.processedAt), this.salesDirections = (o = e == null ? void 0 : e.salesDirections) == null ? void 0 : o.map((c) => new O(c)), this.status = e == null ? void 0 : e.status, this.deliveryType = e != null && e.deliveryType ? new N(e.deliveryType) : void 0, this.paymentType = e != null && e.paymentType ? new Rr(e.paymentType) : void 0, this.warehouse = e != null && e.warehouse ? new X(e.warehouse) : void 0, this.isToProcess = e == null ? void 0 : e.isToProcess;
|
|
5929
5960
|
}
|
|
5930
5961
|
/**
|
|
5931
5962
|
* @inheritDoc
|
|
@@ -6025,7 +6056,7 @@ class bt extends gr {
|
|
|
6025
6056
|
* @inheritDoc
|
|
6026
6057
|
*/
|
|
6027
6058
|
t(this, "currency");
|
|
6028
|
-
this.product = new
|
|
6059
|
+
this.product = new j(e.product), this.currency = new x(e.currency), this.cost = e.cost, this.costOne = e.costOne, this.costOneRub = e.costOneRub, this.costRub = e.costRub, this.logicGroupId = e.logicGroupId, this.salesDirection = e.salesDirection, this.specificationImgUrl = e.specificationImgUrl, this.sawing = e.sawing;
|
|
6029
6060
|
}
|
|
6030
6061
|
}
|
|
6031
6062
|
class Le extends Ir {
|
|
@@ -6071,7 +6102,7 @@ class Le extends Ir {
|
|
|
6071
6102
|
this.products = (e.products ?? []).map((s) => new bt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ve.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new R(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
|
|
6072
6103
|
}
|
|
6073
6104
|
}
|
|
6074
|
-
class
|
|
6105
|
+
class ys extends De {
|
|
6075
6106
|
/**
|
|
6076
6107
|
* Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
|
|
6077
6108
|
*
|
|
@@ -6219,7 +6250,7 @@ class ae {
|
|
|
6219
6250
|
* Источник клиентской цены.
|
|
6220
6251
|
*/
|
|
6221
6252
|
t(this, "source");
|
|
6222
|
-
this.client = new
|
|
6253
|
+
this.client = new te(r == null ? void 0 : r.client), this.product = new I(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;
|
|
6223
6254
|
}
|
|
6224
6255
|
}
|
|
6225
6256
|
const de = (n) => {
|
|
@@ -6239,7 +6270,7 @@ const de = (n) => {
|
|
|
6239
6270
|
const r = {};
|
|
6240
6271
|
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;
|
|
6241
6272
|
};
|
|
6242
|
-
class
|
|
6273
|
+
class ws extends p {
|
|
6243
6274
|
/**
|
|
6244
6275
|
* Возвращает список клиентских цен на продукты в указанном диапазоне цены.
|
|
6245
6276
|
*
|
|
@@ -6347,10 +6378,10 @@ class St {
|
|
|
6347
6378
|
* @inheritDoc
|
|
6348
6379
|
*/
|
|
6349
6380
|
t(this, "currency");
|
|
6350
|
-
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = v(r.costDate) ? C(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new
|
|
6381
|
+
this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = v(r.costDate) ? C(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new ue(r.product) : void 0, this.client = r.client ? new d(r.client) : void 0, this.executor = r.executor ? new d(r.executor) : void 0, this.currency = r.currency ? new x(r.currency) : void 0;
|
|
6351
6382
|
}
|
|
6352
6383
|
}
|
|
6353
|
-
class kt extends
|
|
6384
|
+
class kt extends ue {
|
|
6354
6385
|
/**
|
|
6355
6386
|
* Инициализирует экземпляр класса {@link ProductPriceHistory}.
|
|
6356
6387
|
*
|
|
@@ -6362,10 +6393,10 @@ class kt extends le {
|
|
|
6362
6393
|
* @inheritDoc
|
|
6363
6394
|
*/
|
|
6364
6395
|
t(this, "history");
|
|
6365
|
-
this.history =
|
|
6396
|
+
this.history = ge(e.history, (s) => new St(s));
|
|
6366
6397
|
}
|
|
6367
6398
|
}
|
|
6368
|
-
class
|
|
6399
|
+
class vs extends p {
|
|
6369
6400
|
/**
|
|
6370
6401
|
* Возвращает данные об истории изменения цен.
|
|
6371
6402
|
*
|
|
@@ -6376,7 +6407,7 @@ class ws extends p {
|
|
|
6376
6407
|
getProductPriceHistory(r) {
|
|
6377
6408
|
var o, c, u, h, m;
|
|
6378
6409
|
const e = L().config.dateFormats.api, s = or(
|
|
6379
|
-
|
|
6410
|
+
le(r, {
|
|
6380
6411
|
costDate: {
|
|
6381
6412
|
from: xe((o = r.costDate) == null ? void 0 : o.from) ? U(r.costDate.from, e) : (c = r.costDate) == null ? void 0 : c.from,
|
|
6382
6413
|
to: xe((u = r.costDate) == null ? void 0 : u.to) ? U(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
|
|
@@ -6385,7 +6416,7 @@ class ws extends p {
|
|
|
6385
6416
|
(f) => T(f) || (H(f) || cr(f)) && Y(f)
|
|
6386
6417
|
), i = ((m = r.product) == null ? void 0 : m[0]) ?? 0;
|
|
6387
6418
|
return delete s.product, this.get(`/internal/price/products/${i}/history`, s).then((f) => [
|
|
6388
|
-
new kt(
|
|
6419
|
+
new kt(le(f[0], { history: f }))
|
|
6389
6420
|
]);
|
|
6390
6421
|
}
|
|
6391
6422
|
}
|
|
@@ -6404,10 +6435,10 @@ class tr {
|
|
|
6404
6435
|
* Список рекомендованных категорий продуктов.
|
|
6405
6436
|
*/
|
|
6406
6437
|
t(this, "productCategories", []);
|
|
6407
|
-
r != null && r.products && (this.products = r.products.map((e) => new
|
|
6438
|
+
r != null && r.products && (this.products = r.products.map((e) => new ue(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new ue(e)));
|
|
6408
6439
|
}
|
|
6409
6440
|
}
|
|
6410
|
-
class
|
|
6441
|
+
class Cs extends p {
|
|
6411
6442
|
/**
|
|
6412
6443
|
* Возвращает данные о рекомендациях указанной категории продуктов.
|
|
6413
6444
|
*
|
|
@@ -6514,7 +6545,7 @@ class sr {
|
|
|
6514
6545
|
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 It(s))) ?? [], this.tags = r == null ? void 0 : r.tags;
|
|
6515
6546
|
}
|
|
6516
6547
|
}
|
|
6517
|
-
class
|
|
6548
|
+
class Rs extends p {
|
|
6518
6549
|
/**
|
|
6519
6550
|
* Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
|
|
6520
6551
|
*
|
|
@@ -6545,7 +6576,7 @@ class Cs extends p {
|
|
|
6545
6576
|
return this.delete(`/internal/seo/${r.slug}/${e}`);
|
|
6546
6577
|
}
|
|
6547
6578
|
}
|
|
6548
|
-
class
|
|
6579
|
+
class Ps extends p {
|
|
6549
6580
|
/**
|
|
6550
6581
|
* Возвращает подсказки по адресам.
|
|
6551
6582
|
*
|
|
@@ -6616,7 +6647,7 @@ class at extends yr {
|
|
|
6616
6647
|
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;
|
|
6617
6648
|
}
|
|
6618
6649
|
}
|
|
6619
|
-
class
|
|
6650
|
+
class As extends p {
|
|
6620
6651
|
/**
|
|
6621
6652
|
* Инициализирует экземпляр класса {@link UserAuthDataProvider}.
|
|
6622
6653
|
*/
|
|
@@ -6653,7 +6684,7 @@ const xt = z("common.user_state_private", () => {
|
|
|
6653
6684
|
*/
|
|
6654
6685
|
currentUser: r
|
|
6655
6686
|
};
|
|
6656
|
-
}),
|
|
6687
|
+
}), Ds = z("common.user_state", () => ({
|
|
6657
6688
|
/**
|
|
6658
6689
|
* Данные о текущем пользователе.
|
|
6659
6690
|
*/
|
|
@@ -6666,7 +6697,7 @@ const xt = z("common.user_state_private", () => {
|
|
|
6666
6697
|
})), r.currentUser;
|
|
6667
6698
|
})
|
|
6668
6699
|
}));
|
|
6669
|
-
class
|
|
6700
|
+
class Ts {
|
|
6670
6701
|
/**
|
|
6671
6702
|
* Инициализирует экземпляр класса {@link FieldValidationResultData}.
|
|
6672
6703
|
*
|
|
@@ -6710,14 +6741,14 @@ export {
|
|
|
6710
6741
|
a as ClientDataProvider,
|
|
6711
6742
|
Jt as ClientPriceProvider,
|
|
6712
6743
|
Et as ClientPriceTemplateProvider,
|
|
6713
|
-
|
|
6744
|
+
j as ClientProduct,
|
|
6714
6745
|
Qt as ClientProductCategoryDataProvider,
|
|
6715
6746
|
Yt as ClientProductDataProvider,
|
|
6716
|
-
|
|
6747
|
+
te as ClientShortInfo,
|
|
6717
6748
|
ht as ClientsAdditionalDataRequestTypeEnum,
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6749
|
+
is as ClientsListFilters,
|
|
6750
|
+
ue as CodedIdentity,
|
|
6751
|
+
us as ConfiguratorProvider,
|
|
6721
6752
|
Dt as ConfiguratorsEnum,
|
|
6722
6753
|
Ne as Contact,
|
|
6723
6754
|
mr as ContactLinks,
|
|
@@ -6736,32 +6767,32 @@ export {
|
|
|
6736
6767
|
Be as CuratedDirection,
|
|
6737
6768
|
ze as Curator,
|
|
6738
6769
|
x as Currency,
|
|
6739
|
-
|
|
6740
|
-
|
|
6770
|
+
Ps as DataSuggestionProvider,
|
|
6771
|
+
ns as DataTablePagination,
|
|
6741
6772
|
At as DataTablePaginationRequestParams,
|
|
6742
|
-
|
|
6743
|
-
|
|
6773
|
+
os as DataTableSortRequestParams,
|
|
6774
|
+
ps as DateTimeProvider,
|
|
6744
6775
|
rt as DeletableNamedIdentity,
|
|
6745
6776
|
Ce as DeliveryAddress,
|
|
6746
6777
|
N as DeliveryType,
|
|
6747
6778
|
Gt as DetailedJwtPayload,
|
|
6748
6779
|
Qr as DeviceTypeResolutionConfig,
|
|
6749
6780
|
it as DiscountShortInfo,
|
|
6750
|
-
|
|
6781
|
+
Ts as FieldValidationResultData,
|
|
6751
6782
|
G as FilterGroup,
|
|
6752
6783
|
Ye as FilterItem,
|
|
6753
6784
|
We as FilterOpEnum,
|
|
6754
6785
|
hr as GeoCoordinates,
|
|
6755
6786
|
st as HiddenCatalogableItem,
|
|
6756
|
-
|
|
6787
|
+
he as HttpCachedRequester,
|
|
6757
6788
|
Yr as HttpParamsConfig,
|
|
6758
6789
|
p as HttpRequester,
|
|
6759
6790
|
re as Identity,
|
|
6760
6791
|
tt as Image,
|
|
6761
|
-
|
|
6792
|
+
F as JwtPayload,
|
|
6762
6793
|
Pe as Manager,
|
|
6763
6794
|
Me as ManagerCommon,
|
|
6764
|
-
|
|
6795
|
+
gs as ManagerDataFactory,
|
|
6765
6796
|
Tt as ManagerDataProvider,
|
|
6766
6797
|
It as MetaTagItem,
|
|
6767
6798
|
k as NamedIdentity,
|
|
@@ -6776,72 +6807,73 @@ export {
|
|
|
6776
6807
|
Sr as OrderShortInfo,
|
|
6777
6808
|
yt as OrderStatus,
|
|
6778
6809
|
$t as OrderStatusEnum,
|
|
6779
|
-
|
|
6780
|
-
|
|
6810
|
+
ys as OrdersDataProvider,
|
|
6811
|
+
fs as OrdersListFilters,
|
|
6781
6812
|
br as PaginationFiltersBase,
|
|
6782
6813
|
ee as PartnerGroup,
|
|
6783
6814
|
Rr as PaymentType,
|
|
6784
6815
|
ye as PreferencesStorageProvider,
|
|
6785
6816
|
ae as PriceAnalyze,
|
|
6786
|
-
|
|
6817
|
+
ws as PriceAnalyzeProvider,
|
|
6787
6818
|
Re as PriceCoefficient,
|
|
6788
6819
|
pr as PriceCoefficientEnum,
|
|
6789
|
-
|
|
6820
|
+
vs as PriceHistoryDataProvider,
|
|
6790
6821
|
St as PriceHistoryItem,
|
|
6791
6822
|
K as PriceTemplate,
|
|
6792
6823
|
Se as PriceTemplateCategory,
|
|
6793
|
-
|
|
6824
|
+
ne as PriceTemplateClient,
|
|
6794
6825
|
fr as PriceTemplateICatalogableItem,
|
|
6795
6826
|
ke as PriceTemplateProduct,
|
|
6796
6827
|
Xt as PriceTemplateProvider,
|
|
6797
|
-
|
|
6828
|
+
ce as PricingRole,
|
|
6798
6829
|
Zt as PricingRoleProvider,
|
|
6799
6830
|
_e as PrimaryCatalogableItem,
|
|
6800
6831
|
I as Product,
|
|
6801
6832
|
Vt as ProductCategoryDataProvider,
|
|
6802
6833
|
Kt as ProductDataProvider,
|
|
6803
6834
|
wt as ProductFileType,
|
|
6804
|
-
|
|
6835
|
+
je as ProductPriceCoefficient,
|
|
6805
6836
|
kt as ProductPriceHistory,
|
|
6806
6837
|
Ke as ProductUnit,
|
|
6807
6838
|
es as PropertiesProvider,
|
|
6808
|
-
|
|
6839
|
+
oe as Property,
|
|
6809
6840
|
wr as PropertyType,
|
|
6810
6841
|
lt as PropertyTypeEnum,
|
|
6811
6842
|
V as PropertyValue,
|
|
6812
|
-
|
|
6843
|
+
Cs as RecommendationsDataProvider,
|
|
6813
6844
|
tr as RecommendationsList,
|
|
6814
6845
|
R as Reference,
|
|
6846
|
+
ss as ReferenceDataFactory,
|
|
6815
6847
|
b as ReferenceDataProvider,
|
|
6816
|
-
|
|
6848
|
+
pe as Region,
|
|
6817
6849
|
Pr as ResourceType,
|
|
6818
6850
|
O as SalesDirection,
|
|
6819
6851
|
Xr as SentryConfig,
|
|
6820
6852
|
sr as Seo,
|
|
6821
|
-
|
|
6853
|
+
Rs as SeoDataProvider,
|
|
6822
6854
|
Ar as SourcePrimaryInterest,
|
|
6823
6855
|
nt as StockCount,
|
|
6824
6856
|
rs as TemplateProductCategoryDataProvider,
|
|
6825
6857
|
zt as TemplatesListFilters,
|
|
6826
|
-
|
|
6858
|
+
Fe as TypedInstanceFactory,
|
|
6827
6859
|
kr as UnitsHelper,
|
|
6828
|
-
|
|
6860
|
+
cs as UnknownClientDataProvider,
|
|
6829
6861
|
lr as UpdatableNamedIdentity,
|
|
6830
6862
|
at as User,
|
|
6831
|
-
|
|
6863
|
+
As as UserAuthDataProvider,
|
|
6832
6864
|
yr as UserCommonInfo,
|
|
6833
6865
|
dt as UserDataProvider,
|
|
6834
6866
|
ut as UserPricingRole,
|
|
6835
6867
|
d as UserShortInfo,
|
|
6836
6868
|
Lt as UserTypeEnum,
|
|
6837
|
-
|
|
6869
|
+
ls as VersionConfig,
|
|
6838
6870
|
X as Warehouse,
|
|
6839
6871
|
Zr as WebSocketConfig,
|
|
6840
6872
|
Xe as findCatalogItemByIdRecursive,
|
|
6841
6873
|
Ze as flattenCatalogItems,
|
|
6842
|
-
|
|
6874
|
+
hs as pluralize,
|
|
6843
6875
|
be as useAuthStateStore,
|
|
6844
6876
|
L as useBaseConfigStateStore,
|
|
6845
|
-
|
|
6846
|
-
|
|
6877
|
+
ms as useReferencesStore,
|
|
6878
|
+
Ds as useUserStateStore
|
|
6847
6879
|
};
|