@snabcentr/common-lib 1.46.0 → 1.47.0

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.
@@ -1,10 +1,10 @@
1
- var Ze = Object.defineProperty;
2
- var er = (n, r, e) => r in n ? Ze(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
- var t = (n, r, e) => er(n, typeof r != "symbol" ? r + "" : r, e);
4
- import { isUndefined as rr, cloneDeep as tr, noop as m, toLower as sr, isString as C, isNil as Me, isFunction as ir, isEmpty as nr, isArray as or, map as ne, forEach as cr } from "lodash-es";
5
- import { format as Y, addSeconds as lr, parseISO as D, isAfter as pr, startOfToday as $e, parse as E, getDay as ur, startOfTomorrow as Ce, nextMonday as hr, getUnixTime as k, endOfTomorrow as gr, endOfYesterday as mr, startOfYesterday as fr, endOfToday as yr, endOfDay as wr, startOfDay as Cr } from "date-fns";
6
- import vr from "axios";
7
- import { objectToSnake as xe, objectToCamel as Pr } from "ts-case-convert";
1
+ var er = Object.defineProperty;
2
+ var rr = (n, r, e) => r in n ? er(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
+ var t = (n, r, e) => rr(n, typeof r != "symbol" ? r + "" : r, e);
4
+ import { constant as tr, isUndefined as sr, cloneDeep as ir, noop as m, toLower as nr, isString as C, isNil as Me, isFunction as or, isEmpty as cr, isArray as lr, map as ne, forEach as pr } from "lodash-es";
5
+ import { format as Y, addSeconds as ur, parseISO as D, isAfter as hr, startOfToday as $e, parse as E, getDay as gr, startOfTomorrow as Ce, nextMonday as mr, getUnixTime as k, endOfTomorrow as fr, endOfYesterday as yr, startOfYesterday as wr, endOfToday as Cr, endOfDay as vr, startOfDay as Pr } from "date-fns";
6
+ import Rr from "axios";
7
+ import { objectToSnake as xe, objectToCamel as ar } from "ts-case-convert";
8
8
  import { defineStore as ge } from "pinia";
9
9
  import { ref as y, computed as w } from "vue";
10
10
  class F {
@@ -107,6 +107,7 @@ class te extends De {
107
107
  this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1, this.parentCategoryId = e == null ? void 0 : e.parentCategoryId, this.properties = e == null ? void 0 : e.properties, this.type = "category";
108
108
  }
109
109
  }
110
+ var Ge = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n.Retail = "retail", n))(Ge || {});
110
111
  class f extends a {
111
112
  /**
112
113
  * Инициализирует экземпляр класса {@link Reference}.
@@ -127,6 +128,12 @@ class f extends a {
127
128
  }
128
129
  }
129
130
  class me extends f {
131
+ /**
132
+ * Возвращает значение справочника коэффициента розничной цены.
133
+ */
134
+ static getRetailPriceCoefficient() {
135
+ return { id: -2, slug: Ge.Retail, name: "Розничная цена", guid: "", isNewRec: tr(!0) };
136
+ }
130
137
  }
131
138
  class Se {
132
139
  /**
@@ -158,7 +165,7 @@ class Se {
158
165
  this.coefficient = new me(r == null ? void 0 : r.coefficient), this.value = (r == null ? void 0 : r.value) ?? 0, this.cost = (r == null ? void 0 : r.cost) ?? 0, this.percent = (r == null ? void 0 : r.percent) ?? 0, this.readOnly = (r == null ? void 0 : r.readOnly) ?? !0;
159
166
  }
160
167
  }
161
- class Ge {
168
+ class He {
162
169
  /**
163
170
  * Инициализирует экземпляр класса {@link GeoCoordinates}.
164
171
  *
@@ -207,10 +214,10 @@ class fe extends f {
207
214
  * Координаты склада.
208
215
  */
209
216
  t(this, "coordinates");
210
- this.address = (e == null ? void 0 : e.address) ?? "", this.isMain = (e == null ? void 0 : e.isMain) ?? !1, this.deliveryTypes = ((s = e == null ? void 0 : e.deliveryTypes) == null ? void 0 : s.map((i) => new K(i))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new Ge(e == null ? void 0 : e.coordinates);
217
+ this.address = (e == null ? void 0 : e.address) ?? "", this.isMain = (e == null ? void 0 : e.isMain) ?? !1, this.deliveryTypes = ((s = e == null ? void 0 : e.deliveryTypes) == null ? void 0 : s.map((i) => new K(i))) ?? [], this.regions = (e == null ? void 0 : e.regions) ?? [], this.coordinates = new He(e == null ? void 0 : e.coordinates);
211
218
  }
212
219
  }
213
- class Rr {
220
+ class $r {
214
221
  /**
215
222
  * Инициализирует экземпляр класса {@link StockCount}.
216
223
  *
@@ -242,7 +249,7 @@ const W = class W {
242
249
  */
243
250
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
244
251
  static getConfig() {
245
- if (rr(W.config))
252
+ if (sr(W.config))
246
253
  throw new Error("Config is undefined. Please set config by AppConfigProvider.init().");
247
254
  return W.config;
248
255
  }
@@ -265,7 +272,7 @@ const W = class W {
265
272
  */
266
273
  t(W, "config");
267
274
  let N = W;
268
- class ar extends Ue {
275
+ class Dr extends Ue {
269
276
  /**
270
277
  * Инициализирует экземпляр класса {@link HiddenCatalogableItem}.
271
278
  *
@@ -280,7 +287,7 @@ class ar extends Ue {
280
287
  this.isHidden = (e == null ? void 0 : e.isHidden) ?? !1;
281
288
  }
282
289
  }
283
- class $r {
290
+ class Ar {
284
291
  /**
285
292
  * Инициализирует экземпляр класса {@link Image}.
286
293
  *
@@ -303,7 +310,7 @@ class $r {
303
310
  this.image = `${e ?? ""}${r.image}`, this.preview = `${e ?? ""}${r.preview}`, this.isDefault = r.isDefault;
304
311
  }
305
312
  }
306
- class T extends ar {
313
+ class T extends Dr {
307
314
  /**
308
315
  * Инициализирует экземпляр класса {@link Product}.
309
316
  *
@@ -376,9 +383,9 @@ class T extends ar {
376
383
  * Список коэффициентов цен на продукт.
377
384
  */
378
385
  t(this, "priceCoefficients");
379
- 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 = 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((g) => new Rr(g))) ?? [], this.type = "product";
386
+ 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 = 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((g) => new $r(g))) ?? [], this.type = "product";
380
387
  const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((g) => g.isPrimary));
381
- s && (this.category = new De({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((g) => new De(g))), this.images = ((l = e == null ? void 0 : e.images) == null ? void 0 : l.map((g) => new $r(g, N.getConfig().http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.priceCoefficients = ((p = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : p.map((g) => new Se(g))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
388
+ s && (this.category = new De({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((g) => new De(g))), this.images = ((l = e == null ? void 0 : e.images) == null ? void 0 : l.map((g) => new Ar(g, N.getConfig().http.mediaUrl))) ?? [], this.properties = (e == null ? void 0 : e.properties) ?? {}, this.priceCoefficients = ((p = e == null ? void 0 : e.priceCoefficients) == null ? void 0 : p.map((g) => new Se(g))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
382
389
  }
383
390
  /**
384
391
  * Возвращает признак, что это измеряемый товар.
@@ -388,7 +395,7 @@ class T extends ar {
388
395
  return [...e.linear, ...e.square].includes(this.unit);
389
396
  }
390
397
  }
391
- class Dr extends F {
398
+ class Tr extends F {
392
399
  /**
393
400
  * Инициализирует экземпляр класса {@link CartItemBase}.
394
401
  *
@@ -440,10 +447,10 @@ class Dr extends F {
440
447
  * Признак того, что позиция является дополнительной продажей.
441
448
  */
442
449
  t(this, "isAdditionalSale");
443
- this.product = new T(e == null ? void 0 : e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new te(), this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && tr(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale;
450
+ this.product = new T(e == null ? void 0 : e.product), this.quantity = e.quantity ?? 0, this.marker = e.marker, this.category = e.category ?? new te(), this.height = e.height, this.length = e.length, this.width = e.width, this.configurator = e.configurator, this.configuratorParams = e.configuratorParams && ir(e.configuratorParams), this.isAdditionalSale = e.isAdditionalSale;
444
451
  }
445
452
  }
446
- class Ar extends Dr {
453
+ class br extends Tr {
447
454
  /**
448
455
  * Инициализирует экземпляр класса {@link CartItem}.
449
456
  *
@@ -512,10 +519,10 @@ class ie {
512
519
  * Список итоговых сумм по направлениям продаж.
513
520
  */
514
521
  t(this, "directionsSum");
515
- this.items = r.items.map((e) => new Ar(e)), this.resultSum = r.resultSum, this.directionsSum = r.directionsSum;
522
+ this.items = r.items.map((e) => new br(e)), this.resultSum = r.resultSum, this.directionsSum = r.directionsSum;
516
523
  }
517
524
  }
518
- class Tr {
525
+ class _r {
519
526
  /**
520
527
  * Инициализирует экземпляр класса {@link DeviceTypeResolutionConfig}.
521
528
  *
@@ -537,7 +544,7 @@ class Tr {
537
544
  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;
538
545
  }
539
546
  }
540
- class br {
547
+ class Sr {
541
548
  /**
542
549
  * Инициализирует экземпляр класса {@link HttpParamsConfig}.
543
550
  *
@@ -559,7 +566,7 @@ class br {
559
566
  this.apiUri = (r == null ? void 0 : r.apiUri) ?? "", this.mediaUrl = (r == null ? void 0 : r.mediaUrl) ?? "", this.responseDataCacheTimeout = (r == null ? void 0 : r.responseDataCacheTimeout) ?? 3 * 60 * 60;
560
567
  }
561
568
  }
562
- class _r {
569
+ class Lr {
563
570
  /**
564
571
  * Инициализирует экземпляр класса {@link SentryConfig}.
565
572
  *
@@ -604,7 +611,7 @@ class _r {
604
611
  }, this.additionalParams = (r == null ? void 0 : r.additionalParams) ?? {};
605
612
  }
606
613
  }
607
- class Sr {
614
+ class dr {
608
615
  /**
609
616
  * Инициализирует экземпляр класса {@link VersionConfig}.
610
617
  *
@@ -626,7 +633,7 @@ class Sr {
626
633
  this.date = (r == null ? void 0 : r.date) ?? Y(/* @__PURE__ */ new Date(), "dd.MM.yyyy"), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
627
634
  }
628
635
  }
629
- class pt {
636
+ class ht {
630
637
  /**
631
638
  * Инициализирует экземпляр класса {@link AppBaseConfig}.
632
639
  *
@@ -669,16 +676,16 @@ class pt {
669
676
  * Данные о текущем выпуске приложения.
670
677
  */
671
678
  t(this, "version");
672
- this.environment = (r == null ? void 0 : r.environment) ?? "production", this.currentDomain = (r == null ? void 0 : r.currentDomain) ?? "", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new br(r == null ? void 0 : r.http), this.deviceTypeByResolution = new Tr(r == null ? void 0 : r.deviceTypeByResolution), this.products = {
679
+ this.environment = (r == null ? void 0 : r.environment) ?? "production", this.currentDomain = (r == null ? void 0 : r.currentDomain) ?? "", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Sr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new _r(r == null ? void 0 : r.deviceTypeByResolution), this.products = {
673
680
  units: {
674
681
  linear: ["пог.м.", "м."],
675
682
  square: ["м2"]
676
683
  },
677
684
  ...r == null ? void 0 : r.products
678
- }, this.sentry = new _r({
685
+ }, this.sentry = new Lr({
679
686
  environment: this.environment,
680
687
  ...r == null ? void 0 : r.sentry
681
- }), this.urls = r == null ? void 0 : r.urls, this.version = new Sr(r == null ? void 0 : r.version);
688
+ }), this.urls = r == null ? void 0 : r.urls, this.version = new dr(r == null ? void 0 : r.version);
682
689
  }
683
690
  }
684
691
  class Le {
@@ -721,7 +728,7 @@ const b = class b {
721
728
  */
722
729
  t(this, "defaultInstanceNotificationErrorResponseHandler", m);
723
730
  const s = N.getConfig().version;
724
- this.defaultInstanceNotificationErrorResponseHandler = b.baseDefaultNotificationErrorResponseHandler, this.httpClient = vr.create({
731
+ this.defaultInstanceNotificationErrorResponseHandler = b.baseDefaultNotificationErrorResponseHandler, this.httpClient = Rr.create({
725
732
  // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
726
733
  baseURL: r,
727
734
  headers: {
@@ -731,10 +738,10 @@ const b = class b {
731
738
  ...e
732
739
  }
733
740
  }), this.httpClient.interceptors.request.use(
734
- (i) => (i.method && (i.method === "get" && i.params && (i.params = xe(i.params)), ["put", "patch", "post"].includes(sr(i.method)) && i.data && (i.data = xe(i.data))), i),
741
+ (i) => (i.method && (i.method === "get" && i.params && (i.params = xe(i.params)), ["put", "patch", "post"].includes(nr(i.method)) && i.data && (i.data = xe(i.data))), i),
735
742
  (i) => Promise.reject(i)
736
743
  ), this.httpClient.interceptors.response.use(
737
- (i) => (i.data && (i.data = Pr(i.data)), i),
744
+ (i) => (i.data && (i.data = ar(i.data)), i),
738
745
  // Возвращаем изменённую структуру сообщения об ошибке.
739
746
  (i) => b.convertHttpErrorResponse(i)
740
747
  );
@@ -892,7 +899,7 @@ const j = class j extends Ae {
892
899
  */
893
900
  cacheResponse(e, s) {
894
901
  j.responseDataCache.set(e, {
895
- validTo: lr(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
902
+ validTo: ur(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
896
903
  val: s
897
904
  });
898
905
  }
@@ -928,7 +935,7 @@ class u extends Te {
928
935
  (s = r.devMode) != null && s.authBearerToken && (e.Authorization = `Bearer ${(i = r.devMode) == null ? void 0 : i.authBearerToken}`), super(`${r.http.apiUri}/api`, e);
929
936
  }
930
937
  }
931
- class ut extends u {
938
+ class gt extends u {
932
939
  /**
933
940
  * Возвращает содержимое корзины указанного клиента.
934
941
  *
@@ -1031,7 +1038,7 @@ class ut extends u {
1031
1038
  return this.post(`internal/clients/${r.id}/cart/add-products-from-csv`, {}, (e) => new ie(e.data));
1032
1039
  }
1033
1040
  }
1034
- var de = /* @__PURE__ */ ((n) => (n.Discount = "discount", n.PriceTemplate = "price_template", n.ClientPrice = "client_price", n.Product = "product", n))(de || {}), Lr = /* @__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))(Lr || {}), dr = /* @__PURE__ */ ((n) => (n.K0 = "k0", n.K1 = "k1", n.K2 = "k2", n.K3 = "k3", n.K4 = "k4", n))(dr || {});
1041
+ var xr = /* @__PURE__ */ ((n) => (n.m2Cost = "m2Cost", n.percent = "percent", n.value = "value", n))(xr || {}), de = /* @__PURE__ */ ((n) => (n.Discount = "discount", n.PriceTemplate = "price_template", n.ClientPrice = "client_price", n.Product = "product", n))(de || {}), Ir = /* @__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))(Ir || {});
1035
1042
  class q extends te {
1036
1043
  /**
1037
1044
  * Инициализирует экземпляр класса {@link Category}.
@@ -1052,7 +1059,7 @@ class q extends te {
1052
1059
  this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new q(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new T(o));
1053
1060
  }
1054
1061
  }
1055
- class He extends a {
1062
+ class Fe extends a {
1056
1063
  /**
1057
1064
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1058
1065
  *
@@ -1067,7 +1074,7 @@ class He extends a {
1067
1074
  this.updatedAt = e != null && e.updatedAt ? C(e.updatedAt) ? D(e.updatedAt) : e.updatedAt : void 0;
1068
1075
  }
1069
1076
  }
1070
- class xr extends He {
1077
+ class kr extends Fe {
1071
1078
  /**
1072
1079
  * Инициализирует экземпляр класса {@link UpdatableNamedIdentity}.
1073
1080
  *
@@ -1082,7 +1089,7 @@ class xr extends He {
1082
1089
  this.deletedAt = e != null && e.deletedAt ? C(e.deletedAt) ? D(e.deletedAt) : e.deletedAt : void 0;
1083
1090
  }
1084
1091
  }
1085
- class ht {
1092
+ class mt {
1086
1093
  /**
1087
1094
  * Возвращает актуальные и не просроченные данные из хранилища.
1088
1095
  *
@@ -1093,7 +1100,7 @@ class ht {
1093
1100
  if (e)
1094
1101
  try {
1095
1102
  const s = JSON.parse(e);
1096
- if (pr(D(s.availableFor) || $e(), /* @__PURE__ */ new Date()))
1103
+ if (hr(D(s.availableFor) || $e(), /* @__PURE__ */ new Date()))
1097
1104
  return s.data || {};
1098
1105
  } catch {
1099
1106
  localStorage.removeItem(r);
@@ -1131,7 +1138,7 @@ class M extends a {
1131
1138
  this.type = e == null ? void 0 : e.type;
1132
1139
  }
1133
1140
  }
1134
- class Ir extends a {
1141
+ class Nr extends a {
1135
1142
  /**
1136
1143
  * Инициализирует экземпляр класса {@link DiscountShortInfo}.
1137
1144
  *
@@ -1170,7 +1177,7 @@ class Ir extends a {
1170
1177
  this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = e != null && e.publishedAt ? C(e.publishedAt) ? D(e.publishedAt) : e.publishedAt : void 0, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new M(e == null ? void 0 : e.owner), this.deletedAt = e != null && e.deletedAt ? C(e.deletedAt) ? D(e.deletedAt) : e.deletedAt : void 0;
1171
1178
  }
1172
1179
  }
1173
- class B extends He {
1180
+ class B extends Fe {
1174
1181
  /**
1175
1182
  * Инициализирует экземпляр класса {@link PriceTemplate}.
1176
1183
  *
@@ -1225,10 +1232,10 @@ class J extends T {
1225
1232
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
1226
1233
  */
1227
1234
  t(this, "isFavorite");
1228
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? de.Product, this.discount = e != null && e.discount ? new Ir(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new B(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;
1235
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? de.Product, this.discount = e != null && e.discount ? new Nr(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new B(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;
1229
1236
  }
1230
1237
  }
1231
- class kr {
1238
+ class Or {
1232
1239
  /**
1233
1240
  * Инициализирует экземпляр класса {@link ContactLinks}.
1234
1241
  *
@@ -1272,7 +1279,7 @@ class oe extends a {
1272
1279
  * Признак того, что менеджер является основным для клиента.
1273
1280
  */
1274
1281
  t(this, "isDefault");
1275
- e && (this.salesDirection = new _(e.salesDirection), this.photo = e.photo, e.contacts && (this.contacts = new kr(e.contacts)), e.isDefault !== void 0 && (this.isDefault = e.isDefault));
1282
+ e && (this.salesDirection = new _(e.salesDirection), this.photo = e.photo, e.contacts && (this.contacts = new Or(e.contacts)), e.isDefault !== void 0 && (this.isDefault = e.isDefault));
1276
1283
  }
1277
1284
  }
1278
1285
  class ye extends oe {
@@ -1306,7 +1313,7 @@ class ye extends oe {
1306
1313
  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;
1307
1314
  }
1308
1315
  }
1309
- class Nr extends te {
1316
+ class qr extends te {
1310
1317
  /**
1311
1318
  * Инициализирует экземпляр класса {@link BaseClientCategory}.
1312
1319
  *
@@ -1337,7 +1344,7 @@ class Nr extends te {
1337
1344
  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 ye(e.manager) : void 0;
1338
1345
  }
1339
1346
  }
1340
- class ce extends Nr {
1347
+ class ce extends qr {
1341
1348
  /**
1342
1349
  * Инициализирует экземпляр класса {@link ClientCategory}.
1343
1350
  *
@@ -1357,7 +1364,7 @@ class ce extends Nr {
1357
1364
  this.categories = (s = e == null ? void 0 : e.categories) == null ? void 0 : s.map((o) => new ce(o)), this.products = (i = e == null ? void 0 : e.products) == null ? void 0 : i.map((o) => new J(o));
1358
1365
  }
1359
1366
  }
1360
- class Fe {
1367
+ class ze {
1361
1368
  /**
1362
1369
  * Инициализирует экземпляр класса {@link PriceTemplateICatalogableItem}.
1363
1370
  *
@@ -1375,7 +1382,7 @@ class Fe {
1375
1382
  this.coefficient = (r == null ? void 0 : r.coefficient) && new me(r.coefficient), this.increasePercent = r == null ? void 0 : r.increasePercent;
1376
1383
  }
1377
1384
  }
1378
- class ve extends Fe {
1385
+ class ve extends ze {
1379
1386
  /**
1380
1387
  * Инициализирует экземпляр класса {@link PriceTemplateProduct}.
1381
1388
  *
@@ -1422,7 +1429,7 @@ class le extends f {
1422
1429
  e && (this.region = new re(e.region));
1423
1430
  }
1424
1431
  }
1425
- class ze extends a {
1432
+ class Be extends a {
1426
1433
  /**
1427
1434
  * Инициализирует экземпляр класса {@link UserCommonInfo}.
1428
1435
  *
@@ -1461,7 +1468,7 @@ class ze extends a {
1461
1468
  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 _(e.salesDirection) : void 0, this.createdAt = C(e == null ? void 0 : e.createdAt) ? D(e.createdAt) : e == null ? void 0 : e.createdAt, this.lastLoginAt = C(e == null ? void 0 : e.lastLoginAt) ? D(e.lastLoginAt) : e == null ? void 0 : e.lastLoginAt, this.isActive = (e == null ? void 0 : e.isActive) ?? !1;
1462
1469
  }
1463
1470
  }
1464
- class se extends ze {
1471
+ class se extends Be {
1465
1472
  /**
1466
1473
  * Инициализирует экземпляр класса {@link Client}.
1467
1474
  *
@@ -1533,7 +1540,7 @@ class X extends F {
1533
1540
  this.startAt = C(e == null ? void 0 : e.startAt) ? D(e.startAt) : (e == null ? void 0 : e.startAt) ?? /* @__PURE__ */ new Date(), this.endAt = C(e == null ? void 0 : e.endAt) ? D(e.endAt) : (e == null ? void 0 : e.endAt) ?? /* @__PURE__ */ new Date(), this.client = new se(e == null ? void 0 : e.client), this.priceTemplate = new B(e == null ? void 0 : e.priceTemplate);
1534
1541
  }
1535
1542
  }
1536
- class Pe extends Fe {
1543
+ class Pe extends ze {
1537
1544
  /**
1538
1545
  * Инициализирует экземпляр класса {@link PriceTemplateProduct}.
1539
1546
  *
@@ -1548,7 +1555,7 @@ class Pe extends Fe {
1548
1555
  this.product = new T(e == null ? void 0 : e.product);
1549
1556
  }
1550
1557
  }
1551
- class Be extends f {
1558
+ class We extends f {
1552
1559
  }
1553
1560
  class Z extends a {
1554
1561
  /**
@@ -1570,7 +1577,7 @@ class Z extends a {
1570
1577
  * Дополнительные метаданные свойства.
1571
1578
  */
1572
1579
  t(this, "metadata");
1573
- this.type = new Be(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
1580
+ this.type = new We(e == null ? void 0 : e.type), this.description = (e == null ? void 0 : e.description) ?? "", this.metadata = e == null ? void 0 : e.metadata;
1574
1581
  }
1575
1582
  }
1576
1583
  class z {
@@ -1592,13 +1599,13 @@ class z {
1592
1599
  this.property = new Z(r == null ? void 0 : r.property), this.value = (r == null ? void 0 : r.value) ?? "";
1593
1600
  }
1594
1601
  }
1595
- class Or extends f {
1602
+ class Mr extends f {
1596
1603
  }
1597
- class We extends f {
1604
+ class je extends f {
1598
1605
  }
1599
- class gt extends f {
1606
+ class ft extends f {
1600
1607
  }
1601
- class qr extends f {
1608
+ class Ur extends f {
1602
1609
  }
1603
1610
  class pe extends a {
1604
1611
  /**
@@ -1633,20 +1640,20 @@ class U extends f {
1633
1640
  });
1634
1641
  }
1635
1642
  }
1636
- class Mr extends f {
1643
+ class Gr extends f {
1637
1644
  }
1638
- class Ur extends f {
1645
+ class Hr extends f {
1639
1646
  }
1640
1647
  class G extends f {
1641
1648
  }
1642
- class Gr extends f {
1643
- }
1644
- class Hr extends f {
1649
+ class Fr extends f {
1645
1650
  }
1646
- class je extends f {
1651
+ class zr extends f {
1647
1652
  }
1648
1653
  class Ve extends f {
1649
1654
  }
1655
+ class Ee extends f {
1656
+ }
1650
1657
  class R extends u {
1651
1658
  /**
1652
1659
  * Возвращает {@link Promise} для получения данных указанного справочника.
@@ -1656,20 +1663,20 @@ class R extends u {
1656
1663
  * и использовать в случае аналогичных запросов.
1657
1664
  */
1658
1665
  getReference(r, e = !1) {
1659
- return this.getTypedDataArrayRequester(Or, `/internal/references/${r}`, e);
1666
+ return this.getTypedDataArrayRequester(Mr, `/internal/references/${r}`, e);
1660
1667
  }
1661
1668
  /**
1662
1669
  * Возвращает {@link Promise} для получения справочника данных о канале
1663
1670
  * первичного интереса.
1664
1671
  */
1665
1672
  getChannelPrimaryInterest() {
1666
- return this.getTypedDataArrayRequester(We, "/internal/references/channel-primary-interest", !0);
1673
+ return this.getTypedDataArrayRequester(je, "/internal/references/channel-primary-interest", !0);
1667
1674
  }
1668
1675
  /**
1669
1676
  * Возвращает {@link Promise} для получения справочника должностей контактных лиц.
1670
1677
  */
1671
1678
  getContactPositions() {
1672
- return this.getTypedDataArrayRequester(qr, "/internal/references/contact-position", !0);
1679
+ return this.getTypedDataArrayRequester(Ur, "/internal/references/contact-position", !0);
1673
1680
  }
1674
1681
  /**
1675
1682
  * Возвращает {@link Promise} для получения справочника списка валют.
@@ -1694,25 +1701,25 @@ class R extends u {
1694
1701
  * Возвращает {@link Promise} для получения справочника данных статусов оплаты заказов.
1695
1702
  */
1696
1703
  getOrderPaymentStatuses() {
1697
- return this.getTypedDataArrayRequester(Mr, "/public/references/order-payment-status", !0);
1704
+ return this.getTypedDataArrayRequester(Gr, "/public/references/order-payment-status", !0);
1698
1705
  }
1699
1706
  /**
1700
1707
  * Возвращает {@link Promise} для получения справочника данных статусов заказов.
1701
1708
  */
1702
1709
  getOrderStatuses() {
1703
- return this.getTypedDataArrayRequester(Ur, "/public/references/order-status", !0);
1710
+ return this.getTypedDataArrayRequester(Hr, "/public/references/order-status", !0);
1704
1711
  }
1705
1712
  /**
1706
1713
  * Возвращает {@link Promise} для получения справочника данных типов оплаты заказов.
1707
1714
  */
1708
1715
  getPaymentTypes() {
1709
- return this.getTypedDataArrayRequester(Gr, "/public/references/payment-type", !0);
1716
+ return this.getTypedDataArrayRequester(Fr, "/public/references/payment-type", !0);
1710
1717
  }
1711
1718
  /**
1712
1719
  * Возвращает {@link Promise} для получения справочника типов ресурсов.
1713
1720
  */
1714
1721
  getResourceTypes() {
1715
- return this.getTypedDataArrayRequester(je, "/internal/references/resource-type", !0);
1722
+ return this.getTypedDataArrayRequester(Ve, "/internal/references/resource-type", !0);
1716
1723
  }
1717
1724
  /**
1718
1725
  * Возвращает {@link Promise} для получения справочника данных направлений продаж.
@@ -1724,7 +1731,7 @@ class R extends u {
1724
1731
  * Возвращает {@link Promise} для получения справочника данных об источнике первичного интереса.
1725
1732
  */
1726
1733
  getSourcePrimaryInterest() {
1727
- return this.getTypedDataArrayRequester(Ve, "/internal/references/source-primary-interest", !0);
1734
+ return this.getTypedDataArrayRequester(Ee, "/internal/references/source-primary-interest", !0);
1728
1735
  }
1729
1736
  /**
1730
1737
  * Выполняет поиск данных о городах по терму в названии.
@@ -1766,7 +1773,7 @@ class R extends u {
1766
1773
  * Возвращает {@link Promise} для получения справочника типов свойств.
1767
1774
  */
1768
1775
  getPropertyTypes() {
1769
- return this.getTypedDataArrayRequester(Be, "/internal/references/property-type", !0);
1776
+ return this.getTypedDataArrayRequester(We, "/internal/references/property-type", !0);
1770
1777
  }
1771
1778
  /**
1772
1779
  * Возвращает {@link Promise} для получения справочника коэффициентов цен.
@@ -1778,11 +1785,11 @@ class R extends u {
1778
1785
  * Возвращает {@link Promise} для получения справочника типов файлов продуктов/категорий.
1779
1786
  */
1780
1787
  getProductFileType() {
1781
- return this.getTypedDataArrayRequester(Hr, "/public/references/product-file-type", !0);
1788
+ return this.getTypedDataArrayRequester(zr, "/public/references/product-file-type", !0);
1782
1789
  }
1783
1790
  }
1784
- var Fr = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.Guest = "guest", n))(Fr || {});
1785
- class zr extends ze {
1791
+ var Br = /* @__PURE__ */ ((n) => (n.Admin = "admin", n.Manager = "manager", n.Operator = "operator", n.Client = "client", n.Guest = "guest", n))(Br || {});
1792
+ class Wr extends Be {
1786
1793
  /**
1787
1794
  * Инициализирует экземпляр класса {@link User}.
1788
1795
  *
@@ -1805,16 +1812,16 @@ class zr extends ze {
1805
1812
  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;
1806
1813
  }
1807
1814
  }
1808
- class Br extends u {
1815
+ class jr extends u {
1809
1816
  /**
1810
1817
  * Возвращает данные о текущем пользователе.
1811
1818
  */
1812
1819
  // eslint-disable-next-line class-methods-use-this
1813
1820
  getCurrentUser() {
1814
- return this.get("/internal/users/info", {}, (r) => new zr(r.data));
1821
+ return this.get("/internal/users/info", {}, (r) => new Wr(r.data));
1815
1822
  }
1816
1823
  }
1817
- class Wr {
1824
+ class Vr {
1818
1825
  /**
1819
1826
  * Инициализирует экземпляр класса {@link ProductPriceHistory}.
1820
1827
  *
@@ -1935,7 +1942,7 @@ class ke {
1935
1942
  this.role = new ee(r == null ? void 0 : r.role), this.category = new te(r == null ? void 0 : r.category), this.minCoefficient = new me(r == null ? void 0 : r.minCoefficient);
1936
1943
  }
1937
1944
  }
1938
- var jr = /* @__PURE__ */ ((n) => (n.LastOrder = "last_order", n.Contacts = "contacts", n.PartnerGroups = "partner_groups", n.PreferredDeliveryType = "preferred_delivery_type", n))(jr || {});
1945
+ var Er = /* @__PURE__ */ ((n) => (n.LastOrder = "last_order", n.Contacts = "contacts", n.PartnerGroups = "partner_groups", n.PreferredDeliveryType = "preferred_delivery_type", n))(Er || {});
1939
1946
  class be extends F {
1940
1947
  /**
1941
1948
  * Инициализирует экземпляр класса {@link BankAccount}.
@@ -2021,7 +2028,7 @@ class H extends _e {
2021
2028
  this.isPrimary = (e == null ? void 0 : e.isPrimary) ?? !1, this.position = e == null ? void 0 : e.position, this.notDisturb = (e == null ? void 0 : e.notDisturb) ?? !1, this.comment = e == null ? void 0 : e.comment, this.updatedAt = e == null ? void 0 : e.updatedAt, this.deletedAt = e != null && e.deletedAt ? C(e.deletedAt) ? D(e.deletedAt) : e.deletedAt : void 0;
2022
2029
  }
2023
2030
  }
2024
- class Ee extends a {
2031
+ class Ke extends a {
2025
2032
  /**
2026
2033
  * Инициализирует экземпляр класса {@link ContragentBase}.
2027
2034
  *
@@ -2094,7 +2101,7 @@ class Ee extends a {
2094
2101
  }
2095
2102
  }
2096
2103
  }
2097
- class Vr extends Ee {
2104
+ class Kr extends Ke {
2098
2105
  /**
2099
2106
  * Инициализирует экземпляр класса {@link ContragentPerson}.
2100
2107
  *
@@ -2104,7 +2111,7 @@ class Vr extends Ee {
2104
2111
  super(r);
2105
2112
  }
2106
2113
  }
2107
- class Ke extends Ee {
2114
+ class Je extends Ke {
2108
2115
  /**
2109
2116
  * Инициализирует экземпляр класса {@link ContragentIc}.
2110
2117
  *
@@ -2147,7 +2154,7 @@ class Ke extends Ee {
2147
2154
  e && (this.inn = e.inn ?? "", this.okpo = e.okpo ?? "", this.directorName = e.directorName ?? "", this.directorPosition = e.directorPosition ?? "", this.directorActsOn = e.directorActsOn ?? "", this.legalAddress = e.legalAddress ?? "", this.postalAddress = e.postalAddress ?? "", this.actualAddress = e.actualAddress ?? "");
2148
2155
  }
2149
2156
  }
2150
- class Je extends Ke {
2157
+ class Qe extends Je {
2151
2158
  /**
2152
2159
  * Инициализирует экземпляр класса {@link ContragentUlR}.
2153
2160
  *
@@ -2162,7 +2169,7 @@ class Je extends Ke {
2162
2169
  e && (this.kpp = e.kpp ?? "");
2163
2170
  }
2164
2171
  }
2165
- class Er extends Je {
2172
+ class Jr extends Qe {
2166
2173
  /**
2167
2174
  * Инициализирует экземпляр класса {@link ContragentUlNr}.
2168
2175
  *
@@ -2194,13 +2201,13 @@ class ue {
2194
2201
  static createInstance(r) {
2195
2202
  switch (r.opf.slug) {
2196
2203
  case A.Ic:
2197
- return new Ke(r);
2198
- case A.UlR:
2199
2204
  return new Je(r);
2205
+ case A.UlR:
2206
+ return new Qe(r);
2200
2207
  case A.UlNr:
2201
- return new Er(r);
2208
+ return new Jr(r);
2202
2209
  default:
2203
- return new Vr(r);
2210
+ return new Kr(r);
2204
2211
  }
2205
2212
  }
2206
2213
  }
@@ -2219,7 +2226,7 @@ class Re extends F {
2219
2226
  this.isPrimary = e.isPrimary;
2220
2227
  }
2221
2228
  }
2222
- class Kr extends H {
2229
+ class Qr extends H {
2223
2230
  /**
2224
2231
  * Инициализирует экземпляр класса {@link ContactPersonRelated}.
2225
2232
  *
@@ -2247,7 +2254,7 @@ class Kr extends H {
2247
2254
  e.relations && (e.relations.addresses && (this.relations.addresses = e.relations.addresses.map((s) => new Re(s))), e.relations.clients && (this.relations.clients = e.relations.clients.map((s) => new Re(s))), e.relations.contragents && (this.relations.contragents = e.relations.contragents.map((s) => new Re(s))));
2248
2255
  }
2249
2256
  }
2250
- class he extends xr {
2257
+ class he extends kr {
2251
2258
  /**
2252
2259
  * Инициализирует экземпляр класса {@link DeliveryAddress}.
2253
2260
  *
@@ -2284,7 +2291,7 @@ class he extends xr {
2284
2291
  * Признак того, что указанный адрес является адресом транспортной компании.
2285
2292
  */
2286
2293
  t(this, "isTransportCompanyAddress");
2287
- this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new Ge(e == null ? void 0 : e.coordinates), this.contacts = ((s = e == null ? void 0 : e.contacts) == null ? void 0 : s.map((i) => new H(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;
2294
+ this.address = (e == null ? void 0 : e.address) ?? "", this.coordinates = new He(e == null ? void 0 : e.coordinates), this.contacts = ((s = e == null ? void 0 : e.contacts) == null ? void 0 : s.map((i) => new H(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;
2288
2295
  }
2289
2296
  }
2290
2297
  class Ne extends se {
@@ -2341,10 +2348,10 @@ class Ne extends se {
2341
2348
  * Дополнительные данные о клиенте.
2342
2349
  */
2343
2350
  t(this, "extraData");
2344
- this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((p) => ue.createInstance(p))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((p) => new G(p))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((p) => new H(p))) ?? [], this.deliveryAddresses = ((l = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : l.map((p) => new he(p))) ?? [], this.channelPrimaryInterest = new We(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Ve(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 fe(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
2351
+ this.contragents = ((s = e == null ? void 0 : e.contragents) == null ? void 0 : s.map((p) => ue.createInstance(p))) ?? [], this.partnerGroups = ((i = e == null ? void 0 : e.partnerGroups) == null ? void 0 : i.map((p) => new G(p))) ?? [], this.contacts = ((o = e == null ? void 0 : e.contacts) == null ? void 0 : o.map((p) => new H(p))) ?? [], this.deliveryAddresses = ((l = e == null ? void 0 : e.deliveryAddresses) == null ? void 0 : l.map((p) => new he(p))) ?? [], this.channelPrimaryInterest = new je(e == null ? void 0 : e.channelPrimaryInterest), this.sourcePrimaryInterest = new Ee(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 fe(e.preferredWarehouse) : void 0, this.extraData = (e == null ? void 0 : e.extraData) ?? {};
2345
2352
  }
2346
2353
  }
2347
- class mt {
2354
+ class yt {
2348
2355
  /**
2349
2356
  * Инициализирует экземпляр класса {@link ClientsListFilters}.
2350
2357
  *
@@ -2524,11 +2531,11 @@ class mt {
2524
2531
  return Object.keys(this).forEach((l) => {
2525
2532
  const p = this[l];
2526
2533
  // eslint-disable-next-line prettier/prettier
2527
- Me(p) || C(p) && p.trim().length === 0 || ir(p.isNewRec) && p.isNewRec() || (r[l] = p);
2534
+ Me(p) || C(p) && p.trim().length === 0 || or(p.isNewRec) && p.isNewRec() || (r[l] = p);
2528
2535
  }), !((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.lastLoginDate) != null && i.from) && !((o = r == null ? void 0 : r.lastLoginDate) != null && o.to) && delete r.lastLoginDate, r;
2529
2536
  }
2530
2537
  }
2531
- class Qe extends F {
2538
+ class Ye extends F {
2532
2539
  /**
2533
2540
  * Инициализирует экземпляр класса {@link OrderShortInfo}.
2534
2541
  *
@@ -2551,7 +2558,7 @@ class Qe extends F {
2551
2558
  this.createdAt = C(e == null ? void 0 : e.createdAt) ? E(e.createdAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.createdAt) ?? /* @__PURE__ */ new Date(), this.creator = new M(e == null ? void 0 : e.creator), this.isApproved1c = (e == null ? void 0 : e.isApproved1c) ?? !1;
2552
2559
  }
2553
2560
  }
2554
- class Ye extends Qe {
2561
+ class Xe extends Ye {
2555
2562
  /**
2556
2563
  * Инициализирует экземпляр класса {@link OrderInfo}.
2557
2564
  *
@@ -2612,7 +2619,7 @@ class Ye extends Qe {
2612
2619
  }, this.attachedUser = new M(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new _(e == null ? void 0 : e.salesDirection), this.pendingAt = C(e == null ? void 0 : e.pendingAt) ? E(e == null ? void 0 : e.pendingAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.pendingAt) ?? /* @__PURE__ */ new Date(), this.processedAt = C(e == null ? void 0 : e.processedAt) ? E(e == null ? void 0 : e.processedAt, "dd.MM.yyyy HH:mm", /* @__PURE__ */ new Date()) : (e == null ? void 0 : e.processedAt) ?? /* @__PURE__ */ new Date(), this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1;
2613
2620
  }
2614
2621
  }
2615
- class Jr extends F {
2622
+ class Yr extends F {
2616
2623
  /**
2617
2624
  * Инициализирует экземпляр класса {@link OrderProduct}.
2618
2625
  *
@@ -2695,7 +2702,7 @@ class Jr extends F {
2695
2702
  this.product = new J(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;
2696
2703
  }
2697
2704
  }
2698
- class Qr extends Ye {
2705
+ class Xr extends Xe {
2699
2706
  /**
2700
2707
  * Инициализирует экземпляр класса {@link Order}.
2701
2708
  *
@@ -2735,7 +2742,7 @@ class Qr extends Ye {
2735
2742
  * Признак, что разрешена передача заказа в работу без оплаты.
2736
2743
  */
2737
2744
  t(this, "isAllowProcessingWithoutPayment");
2738
- this.products = (e.products ?? []).map((s) => new Jr(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ue.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new f(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
2745
+ this.products = (e.products ?? []).map((s) => new Yr(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ue.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new f(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
2739
2746
  }
2740
2747
  }
2741
2748
  class we extends u {
@@ -2754,12 +2761,12 @@ class we extends u {
2754
2761
  page: (i == null ? void 0 : i.page) ?? 1,
2755
2762
  per_page: (i == null ? void 0 : i.pageSize) ?? (i == null ? void 0 : i.perPage) ?? 10
2756
2763
  };
2757
- return e && (p.filters = JSON.stringify(e)), nr(s) || (or(s) ? s : [s]).forEach((g, v) => {
2764
+ return e && (p.filters = JSON.stringify(e)), cr(s) || (lr(s) ? s : [s]).forEach((g, v) => {
2758
2765
  p[`sort[${v}][field]`] = g.field, p[`sort[${v}][direction]`] = g.direction;
2759
2766
  }), this.get(r, p, o, l);
2760
2767
  }
2761
2768
  }
2762
- class ft extends we {
2769
+ class wt extends we {
2763
2770
  /**
2764
2771
  * Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
2765
2772
  *
@@ -2771,7 +2778,7 @@ class ft extends we {
2771
2778
  getOrders(r, e, s) {
2772
2779
  return this.getPaginated("/internal/orders", r, e ? [e] : void 0, s, (i) => {
2773
2780
  const o = { ...i.data };
2774
- return o.data = o.data.map((l) => new Ye(l)), o;
2781
+ return o.data = o.data.map((l) => new Xe(l)), o;
2775
2782
  });
2776
2783
  }
2777
2784
  /**
@@ -2789,10 +2796,10 @@ class ft extends we {
2789
2796
  * @param orderId Идентификатор заказа для которого необходимо вернуть данные.
2790
2797
  */
2791
2798
  getOrder(r) {
2792
- return this.get(`/internal/orders/${r}`, {}, (e) => new Qr(e.data));
2799
+ return this.get(`/internal/orders/${r}`, {}, (e) => new Xr(e.data));
2793
2800
  }
2794
2801
  }
2795
- class Yr extends a {
2802
+ class Zr extends a {
2796
2803
  /**
2797
2804
  * Инициализирует экземпляр класса {@link ClientAdditionalData}.
2798
2805
  *
@@ -2817,11 +2824,11 @@ class Yr extends a {
2817
2824
  * Данные о последнем заказе клиента.
2818
2825
  */
2819
2826
  t(this, "lastOrder");
2820
- (s = e.contacts) != null && s.length && (this.contacts = e.contacts.map((o) => new H(o))), e.lastOrder && (this.lastOrder = new Qe(e.lastOrder)), (i = e.partnerGroups) != null && i.length && (this.partnerGroups = e.partnerGroups.map((o) => new G(o))), e.preferredDeliveryType && (this.preferredDeliveryType = new K(e.preferredDeliveryType));
2827
+ (s = e.contacts) != null && s.length && (this.contacts = e.contacts.map((o) => new H(o))), e.lastOrder && (this.lastOrder = new Ye(e.lastOrder)), (i = e.partnerGroups) != null && i.length && (this.partnerGroups = e.partnerGroups.map((o) => new G(o))), e.preferredDeliveryType && (this.preferredDeliveryType = new K(e.preferredDeliveryType));
2821
2828
  }
2822
2829
  }
2823
- var Xe = /* @__PURE__ */ ((n) => (n.BeginWith = "bw", n.Contains = "cn", n.Custom = "custom", n.EndsWith = "ew", n.Equals = "eq", n.GreaterOrEqual = "ge", n.GreaterThan = "gt", n.InList = "in", n.LessOrEqual = "le", n.LessThan = "lt", n.NotBeginWith = "bn", n.NotContains = "nc", n.NotEndsWith = "en", n.NotEqual = "ne", n.NotInList = "ni", n.NotNull = "nn", n.Null = "nu", n))(Xe || {});
2824
- class Xr {
2830
+ var Ze = /* @__PURE__ */ ((n) => (n.BeginWith = "bw", n.Contains = "cn", n.Custom = "custom", n.EndsWith = "ew", n.Equals = "eq", n.GreaterOrEqual = "ge", n.GreaterThan = "gt", n.InList = "in", n.LessOrEqual = "le", n.LessThan = "lt", n.NotBeginWith = "bn", n.NotContains = "nc", n.NotEndsWith = "en", n.NotEqual = "ne", n.NotInList = "ni", n.NotNull = "nn", n.Null = "nu", n))(Ze || {});
2831
+ class et {
2825
2832
  /**
2826
2833
  * Инициализирует экземпляр класса {@link DataTablePaginationRequestParams}.
2827
2834
  *
@@ -2845,7 +2852,7 @@ class Xr {
2845
2852
  this.page = (r == null ? void 0 : r.page) ?? 1, this.perPage = (r == null ? void 0 : r.perPage) ?? 50, this.pageSize = (r == null ? void 0 : r.pageSize) ?? this.perPage;
2846
2853
  }
2847
2854
  }
2848
- class yt extends Xr {
2855
+ class Ct extends et {
2849
2856
  /**
2850
2857
  * Инициализирует экземпляр класса {@link DataTablePagination}.
2851
2858
  *
@@ -2876,7 +2883,7 @@ class yt extends Xr {
2876
2883
  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;
2877
2884
  }
2878
2885
  }
2879
- class wt {
2886
+ class vt {
2880
2887
  /**
2881
2888
  * Инициализирует экземпляр класса {@link ISortRequestParams}.
2882
2889
  *
@@ -2894,7 +2901,7 @@ class wt {
2894
2901
  this.field = (r == null ? void 0 : r.field) ?? "", this.direction = (r == null ? void 0 : r.direction) ?? "asc";
2895
2902
  }
2896
2903
  }
2897
- class Ct extends we {
2904
+ class Pt extends we {
2898
2905
  /**
2899
2906
  * Возвращает данные об указанном клиенте.
2900
2907
  *
@@ -2928,7 +2935,7 @@ class Ct extends we {
2928
2935
  return this.getClientsList({
2929
2936
  groupOp: "and",
2930
2937
  groups: [],
2931
- filters: [{ field: "phone", op: Xe.Contains, value: r }]
2938
+ filters: [{ field: "phone", op: Ze.Contains, value: r }]
2932
2939
  });
2933
2940
  }
2934
2941
  /**
@@ -2941,7 +2948,7 @@ class Ct extends we {
2941
2948
  getAdditionalClientsData(r, e) {
2942
2949
  return this.post("/internal/clients/additional-data", { clients: r, requested_data_types: e }, (s) => {
2943
2950
  let i = [];
2944
- return (s == null ? void 0 : s.data.length) > 0 && (i = s.data.map((o) => new Yr(o))), i;
2951
+ return (s == null ? void 0 : s.data.length) > 0 && (i = s.data.map((o) => new Zr(o))), i;
2945
2952
  });
2946
2953
  }
2947
2954
  /**
@@ -2953,7 +2960,7 @@ class Ct extends we {
2953
2960
  getAllClientContacts(r) {
2954
2961
  return this.get(`/internal/clients/${r}/contacts/all`, {}, (e) => {
2955
2962
  let s = [];
2956
- return (e == null ? void 0 : e.data.length) > 0 && (s = e.data.map((i) => new Kr(i))), s;
2963
+ return (e == null ? void 0 : e.data.length) > 0 && (s = e.data.map((i) => new Qr(i))), s;
2957
2964
  });
2958
2965
  }
2959
2966
  /**
@@ -3624,7 +3631,7 @@ class Ct extends we {
3624
3631
  return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
3625
3632
  }
3626
3633
  }
3627
- class vt extends u {
3634
+ class Rt extends u {
3628
3635
  /**
3629
3636
  * Выполняет проверку занят ли указанный номер телефона.
3630
3637
  *
@@ -3668,7 +3675,7 @@ class ae {
3668
3675
  this.client = new se(r == null ? void 0 : r.client), this.product = new T(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) ?? de.Product;
3669
3676
  }
3670
3677
  }
3671
- class Pt extends u {
3678
+ class at extends u {
3672
3679
  /**
3673
3680
  * Возвращает данные о результатах поиска категорий и товаров.
3674
3681
  *
@@ -3699,7 +3706,7 @@ class Pt extends u {
3699
3706
  return s && (l += `&category_id=${s}`), i && (l += `&client_id=${i}`), l;
3700
3707
  }
3701
3708
  }
3702
- class Rt extends u {
3709
+ class $t extends u {
3703
3710
  /**
3704
3711
  * Импортирует цены клиента из CSV файла.
3705
3712
  *
@@ -3886,7 +3893,7 @@ class Rt extends u {
3886
3893
  return this.post(`/internal/clients/${r}/price/commercial-offer/send`, e);
3887
3894
  }
3888
3895
  }
3889
- class at extends u {
3896
+ class Dt extends u {
3890
3897
  /**
3891
3898
  * Возвращает список шаблонов прайс-листа привязанных к клиенту.
3892
3899
  *
@@ -3974,7 +3981,7 @@ class at extends u {
3974
3981
  return this.delete(`/internal/clients/${r}/price/templates/${e}/${s}`);
3975
3982
  }
3976
3983
  }
3977
- class $t extends u {
3984
+ class At extends u {
3978
3985
  /**
3979
3986
  * Возвращает список данных о корневых категориях.
3980
3987
  *
@@ -4047,7 +4054,7 @@ class $t extends u {
4047
4054
  getCategoryProductsCoefficients(r) {
4048
4055
  return this.get(`/internal/catalog/categories/${r}/products/coefficients`, {}, (e) => {
4049
4056
  const { data: s } = e;
4050
- return cr(s, (i) => i.map((o) => new Se(o))), s;
4057
+ return pr(s, (i) => i.map((o) => new Se(o))), s;
4051
4058
  });
4052
4059
  }
4053
4060
  /**
@@ -4066,7 +4073,7 @@ class $t extends u {
4066
4073
  });
4067
4074
  }
4068
4075
  }
4069
- class Dt extends u {
4076
+ class Tt extends u {
4070
4077
  /**
4071
4078
  * Возвращает данные об указанном продукте.
4072
4079
  *
@@ -4110,7 +4117,7 @@ class Dt extends u {
4110
4117
  */
4111
4118
  getProductPriceHistory(r, e) {
4112
4119
  const s = {};
4113
- return Me(e) || (s.clientId = e), this.get(`/internal/price/products/${r}/history`, s, (i) => ne(i.data, (o) => new Wr(o)));
4120
+ return Me(e) || (s.clientId = e), this.get(`/internal/price/products/${r}/history`, s, (i) => ne(i.data, (o) => new Vr(o)));
4114
4121
  }
4115
4122
  /**
4116
4123
  * Выполняет публичный поиск данных о продуктах по терму.
@@ -4128,7 +4135,7 @@ class Dt extends u {
4128
4135
  });
4129
4136
  }
4130
4137
  }
4131
- class At extends u {
4138
+ class bt extends u {
4132
4139
  /**
4133
4140
  * Возвращает список данных о корневых категориях указанного клиента.
4134
4141
  *
@@ -4190,7 +4197,7 @@ class At extends u {
4190
4197
  );
4191
4198
  }
4192
4199
  }
4193
- class Tt extends u {
4200
+ class _t extends u {
4194
4201
  /**
4195
4202
  * Возвращает данные об указанном продукте для указанного клиента.
4196
4203
  *
@@ -4211,7 +4218,7 @@ class Tt extends u {
4211
4218
  );
4212
4219
  }
4213
4220
  }
4214
- class bt extends we {
4221
+ class St extends we {
4215
4222
  /**
4216
4223
  * Возвращает список шаблонов прайс-листа.
4217
4224
  *
@@ -4387,7 +4394,7 @@ class bt extends we {
4387
4394
  );
4388
4395
  }
4389
4396
  }
4390
- class _t extends u {
4397
+ class Lt extends u {
4391
4398
  /**
4392
4399
  * Возвращает список ролей ценообразования.
4393
4400
  *
@@ -4467,7 +4474,7 @@ class _t extends u {
4467
4474
  );
4468
4475
  }
4469
4476
  }
4470
- class St extends we {
4477
+ class dt extends we {
4471
4478
  /**
4472
4479
  * Возвращает пагинированный список свойств.
4473
4480
  *
@@ -4838,7 +4845,7 @@ class St extends we {
4838
4845
  return this.post(`/internal/catalog/categories/${r}/image`, { image: e });
4839
4846
  }
4840
4847
  }
4841
- class Lt extends u {
4848
+ class xt extends u {
4842
4849
  /**
4843
4850
  * Возвращает данные о рекомендациях указанной категории продуктов.
4844
4851
  *
@@ -4880,7 +4887,7 @@ class Lt extends u {
4880
4887
  });
4881
4888
  }
4882
4889
  }
4883
- class dt extends u {
4890
+ class It extends u {
4884
4891
  /**
4885
4892
  * Возвращает список клиентских цен на продукты в указанном диапазоне цены.
4886
4893
  *
@@ -4925,7 +4932,7 @@ class dt extends u {
4925
4932
  );
4926
4933
  }
4927
4934
  }
4928
- class xt extends u {
4935
+ class kt extends u {
4929
4936
  /**
4930
4937
  * Возвращает настройки указанного конфигуратора для указанной категории.
4931
4938
  *
@@ -4996,7 +5003,7 @@ class xt extends u {
4996
5003
  return this.delete(`internal/catalog/categories/${r.id}/configurators/${(s = r.properties) == null ? void 0 : s.editor}/template/${e}`);
4997
5004
  }
4998
5005
  }
4999
- class It {
5006
+ class Nt {
5000
5007
  /**
5001
5008
  * Возвращает Unix Timestamp диапазон дат (в секундах) по умолчанию.
5002
5009
  *
@@ -5006,13 +5013,13 @@ class It {
5006
5013
  * Для пересчета в JavaScript Unix Timestamp значение необходимо умножить на 1000.
5007
5014
  */
5008
5015
  static defaultDateRanges() {
5009
- const r = [0, 6].includes(ur(Ce())) ? hr($e()) : Ce();
5016
+ const r = [0, 6].includes(gr(Ce())) ? mr($e()) : Ce();
5010
5017
  return {
5011
5018
  // 'Следующий рабочий день' - это значение по-умолчанию
5012
- nextWorkingDay: { label: "Следующий рабочий день", from: k(Cr(r)), to: k(wr(r)) },
5013
- today: { label: "Сегодня", from: k($e()), to: k(yr()) },
5014
- yesterday: { label: "Вчера", from: k(fr()), to: k(mr()) },
5015
- tomorrow: { label: "Завтра", from: k(Ce()), to: k(gr()) }
5019
+ nextWorkingDay: { label: "Следующий рабочий день", from: k(Pr(r)), to: k(vr(r)) },
5020
+ today: { label: "Сегодня", from: k($e()), to: k(Cr()) },
5021
+ yesterday: { label: "Вчера", from: k(wr()), to: k(yr()) },
5022
+ tomorrow: { label: "Завтра", from: k(Ce()), to: k(fr()) }
5016
5023
  };
5017
5024
  }
5018
5025
  }
@@ -5057,7 +5064,7 @@ const V = class V {
5057
5064
  */
5058
5065
  t(V, "linearValues", ["пог.м.", "м.", "м2"]);
5059
5066
  let Oe = V;
5060
- class kt {
5067
+ class Ot {
5061
5068
  /**
5062
5069
  * Генерирует и возвращает данные-заглушку неопределённого менеджера.
5063
5070
  */
@@ -5073,7 +5080,7 @@ class kt {
5073
5080
  return r.id === 0 && r.guid === "-undefined-";
5074
5081
  }
5075
5082
  }
5076
- class Zr extends u {
5083
+ class rt extends u {
5077
5084
  /**
5078
5085
  * Возвращает {@link Promise} для получения справочника списка менеджеров.
5079
5086
  */
@@ -5085,7 +5092,7 @@ class Zr extends u {
5085
5092
  });
5086
5093
  }
5087
5094
  }
5088
- class et {
5095
+ class tt {
5089
5096
  /**
5090
5097
  * Инициализирует экземпляр класса {@link MetaTagItem}.
5091
5098
  *
@@ -5139,10 +5146,10 @@ class qe {
5139
5146
  */
5140
5147
  t(this, "meta");
5141
5148
  var e;
5142
- this.resourceType = new je(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 et(s))) ?? [];
5149
+ this.resourceType = new Ve(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 tt(s))) ?? [];
5143
5150
  }
5144
5151
  }
5145
- class Nt extends u {
5152
+ class qt extends u {
5146
5153
  /**
5147
5154
  * Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
5148
5155
  *
@@ -5249,7 +5256,7 @@ const P = ge("__references_private", () => {
5249
5256
  */
5250
5257
  priceCoefficientsReference: c
5251
5258
  };
5252
- }), Ot = ge("references", () => {
5259
+ }), Mt = ge("references", () => {
5253
5260
  const n = w(() => {
5254
5261
  const c = P();
5255
5262
  return !c.channelPrimaryInterestReference && !c.dataLoaderList.channelPrimaryInterestReference && (c.dataLoaderList.channelPrimaryInterestReference = !0, u.getInstance(R).getChannelPrimaryInterest().then((h) => {
@@ -5317,7 +5324,7 @@ const P = ge("__references_private", () => {
5317
5324
  }).catch(m)), c.deliveryTypeReference;
5318
5325
  }), d = w(() => {
5319
5326
  const c = P();
5320
- return !c.managersList && !c.dataLoaderList.managersList && (c.dataLoaderList.managersList = !0, u.getInstance(Zr).getManagers().then((h) => {
5327
+ return !c.managersList && !c.dataLoaderList.managersList && (c.dataLoaderList.managersList = !0, u.getInstance(rt).getManagers().then((h) => {
5321
5328
  c.managersList = h;
5322
5329
  }).catch(m)), c.managersList;
5323
5330
  }), x = w(() => {
@@ -5406,7 +5413,7 @@ const P = ge("__references_private", () => {
5406
5413
  */
5407
5414
  priceCoefficientsReference: O
5408
5415
  };
5409
- }), rt = ge("__user_state_private", () => {
5416
+ }), st = ge("__user_state_private", () => {
5410
5417
  const n = y({}), r = y(void 0);
5411
5418
  return {
5412
5419
  /**
@@ -5418,18 +5425,18 @@ const P = ge("__references_private", () => {
5418
5425
  */
5419
5426
  currentUser: r
5420
5427
  };
5421
- }), qt = ge("user_state", () => ({
5428
+ }), Ut = ge("user_state", () => ({
5422
5429
  /**
5423
5430
  * Данные о текущем пользователе.
5424
5431
  */
5425
5432
  currentUser: w(() => {
5426
- const r = rt();
5427
- return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, u.getInstance(Br).getCurrentUser().then((e) => {
5433
+ const r = st();
5434
+ return !r.currentUser && !r.dataLoaderList.currentUser && (r.dataLoaderList.currentUser = !0, u.getInstance(jr).getCurrentUser().then((e) => {
5428
5435
  r.currentUser = e;
5429
5436
  }).catch(m).finally(m)), r.currentUser;
5430
5437
  })
5431
5438
  }));
5432
- class Mt extends u {
5439
+ class Gt extends u {
5433
5440
  /**
5434
5441
  * Возвращает подсказки по адресам.
5435
5442
  *
@@ -5476,7 +5483,7 @@ class Mt extends u {
5476
5483
  });
5477
5484
  }
5478
5485
  }
5479
- class Ut {
5486
+ class Ht {
5480
5487
  /**
5481
5488
  * Инициализирует экземпляр класса {@link FieldValidationResultData}.
5482
5489
  *
@@ -5500,135 +5507,136 @@ class Ut {
5500
5507
  }
5501
5508
  }
5502
5509
  export {
5503
- Or as AnyReference,
5504
- pt as AppBaseConfig,
5510
+ Mr as AnyReference,
5511
+ ht as AppBaseConfig,
5505
5512
  N as AppConfigProvider,
5506
5513
  be as BankAccount,
5507
5514
  we as BasePaginationProvider,
5515
+ xr as CalculationTypeEnum,
5508
5516
  ie as Cart,
5509
- Ar as CartItem,
5510
- Dr as CartItemBase,
5511
- ut as CartProvider,
5512
- Pt as CatalogProvider,
5517
+ br as CartItem,
5518
+ Tr as CartItemBase,
5519
+ gt as CartProvider,
5520
+ at as CatalogProvider,
5513
5521
  Ue as CatalogableItem,
5514
5522
  q as Category,
5515
5523
  ke as CategoryPricingRule,
5516
- We as ChannelPrimaryInterest,
5517
- gt as City,
5524
+ je as ChannelPrimaryInterest,
5525
+ ft as City,
5518
5526
  le as CityWithRegionAndCountry,
5519
5527
  Ne as Client,
5520
- Yr as ClientAdditionalData,
5528
+ Zr as ClientAdditionalData,
5521
5529
  ce as ClientCategory,
5522
- Ct as ClientDataProvider,
5523
- Rt as ClientPriceProvider,
5524
- at as ClientPriceTemplateProvider,
5530
+ Pt as ClientDataProvider,
5531
+ $t as ClientPriceProvider,
5532
+ Dt as ClientPriceTemplateProvider,
5525
5533
  J as ClientProduct,
5526
- At as ClientProductCategoryDataProvider,
5527
- Tt as ClientProductDataProvider,
5534
+ bt as ClientProductCategoryDataProvider,
5535
+ _t as ClientProductDataProvider,
5528
5536
  se as ClientShortInfo,
5529
- jr as ClientsAdditionalDataRequestTypeEnum,
5530
- mt as ClientsListFilters,
5531
- xt as ConfiguratorProvider,
5537
+ Er as ClientsAdditionalDataRequestTypeEnum,
5538
+ yt as ClientsListFilters,
5539
+ kt as ConfiguratorProvider,
5532
5540
  _e as Contact,
5533
- kr as ContactLinks,
5541
+ Or as ContactLinks,
5534
5542
  H as ContactPerson,
5535
- Kr as ContactPersonRelated,
5536
- qr as ContactPosition,
5543
+ Qr as ContactPersonRelated,
5544
+ Ur as ContactPosition,
5537
5545
  Re as ContactRelation,
5538
- Ee as ContragentBase,
5546
+ Ke as ContragentBase,
5539
5547
  ue as ContragentFactory,
5540
- Ke as ContragentIc,
5541
- Vr as ContragentPerson,
5542
- Er as ContragentUlNr,
5543
- Je as ContragentUlR,
5548
+ Je as ContragentIc,
5549
+ Kr as ContragentPerson,
5550
+ Jr as ContragentUlNr,
5551
+ Qe as ContragentUlR,
5544
5552
  de as CostSourceEnum,
5545
5553
  Q as Country,
5546
5554
  pe as Currency,
5547
- Mt as DataSuggestionProvider,
5548
- yt as DataTablePagination,
5549
- Xr as DataTablePaginationRequestParams,
5550
- wt as DataTableSortRequestParams,
5551
- It as DateTimeProvider,
5552
- xr as DeletableNamedIdentity,
5555
+ Gt as DataSuggestionProvider,
5556
+ Ct as DataTablePagination,
5557
+ et as DataTablePaginationRequestParams,
5558
+ vt as DataTableSortRequestParams,
5559
+ Nt as DateTimeProvider,
5560
+ kr as DeletableNamedIdentity,
5553
5561
  he as DeliveryAddress,
5554
5562
  K as DeliveryType,
5555
- Tr as DeviceTypeResolutionConfig,
5556
- Ir as DiscountShortInfo,
5557
- Ut as FieldValidationResultData,
5558
- Xe as FilterOpEnum,
5559
- Ge as GeoCoordinates,
5560
- ar as HiddenCatalogableItem,
5563
+ _r as DeviceTypeResolutionConfig,
5564
+ Nr as DiscountShortInfo,
5565
+ Ht as FieldValidationResultData,
5566
+ Ze as FilterOpEnum,
5567
+ He as GeoCoordinates,
5568
+ Dr as HiddenCatalogableItem,
5561
5569
  Te as HttpBaseCachedRequester,
5562
5570
  Ae as HttpBaseRequester,
5563
- br as HttpParamsConfig,
5571
+ Sr as HttpParamsConfig,
5564
5572
  u as HttpRequester,
5565
5573
  F as Identity,
5566
- $r as Image,
5574
+ Ar as Image,
5567
5575
  ye as Manager,
5568
5576
  oe as ManagerCommon,
5569
- kt as ManagerDataFactory,
5570
- Zr as ManagerDataProvider,
5571
- et as MetaTagItem,
5577
+ Ot as ManagerDataFactory,
5578
+ rt as ManagerDataProvider,
5579
+ tt as MetaTagItem,
5572
5580
  a as NamedIdentity,
5573
5581
  U as Opf,
5574
5582
  A as OpfEnum,
5575
- Qr as Order,
5576
- Ye as OrderInfo,
5577
- Mr as OrderPaymentStatus,
5578
- Jr as OrderProduct,
5579
- Qe as OrderShortInfo,
5580
- Ur as OrderStatus,
5581
- ft as OrdersDataProvider,
5583
+ Xr as Order,
5584
+ Xe as OrderInfo,
5585
+ Gr as OrderPaymentStatus,
5586
+ Yr as OrderProduct,
5587
+ Ye as OrderShortInfo,
5588
+ Hr as OrderStatus,
5589
+ wt as OrdersDataProvider,
5582
5590
  G as PartnerGroup,
5583
- Gr as PaymentType,
5584
- ht as PreferencesStorageProvider,
5591
+ Fr as PaymentType,
5592
+ mt as PreferencesStorageProvider,
5585
5593
  ae as PriceAnalyze,
5586
- dt as PriceAnalyzeProvider,
5587
- dr as PriceCoefficientEnum,
5594
+ It as PriceAnalyzeProvider,
5595
+ Ge as PriceCoefficientEnum,
5588
5596
  B as PriceTemplate,
5589
5597
  ve as PriceTemplateCategory,
5590
5598
  X as PriceTemplateClient,
5591
- Fe as PriceTemplateICatalogableItem,
5599
+ ze as PriceTemplateICatalogableItem,
5592
5600
  Pe as PriceTemplateProduct,
5593
- bt as PriceTemplateProvider,
5601
+ St as PriceTemplateProvider,
5594
5602
  ee as PricingRole,
5595
- _t as PricingRoleProvider,
5603
+ Lt as PricingRoleProvider,
5596
5604
  De as PrimaryCatalogableItem,
5597
5605
  T as Product,
5598
- $t as ProductCategoryDataProvider,
5599
- Dt as ProductDataProvider,
5600
- Hr as ProductFileType,
5606
+ At as ProductCategoryDataProvider,
5607
+ Tt as ProductDataProvider,
5608
+ zr as ProductFileType,
5601
5609
  Se as ProductPriceCoefficient,
5602
- Wr as ProductPriceHistory,
5603
- St as PropertiesProvider,
5610
+ Vr as ProductPriceHistory,
5611
+ dt as PropertiesProvider,
5604
5612
  Z as Property,
5605
- Be as PropertyType,
5606
- Lr as PropertyTypeEnum,
5613
+ We as PropertyType,
5614
+ Ir as PropertyTypeEnum,
5607
5615
  z as PropertyValue,
5608
- Lt as RecommendationsDataProvider,
5616
+ xt as RecommendationsDataProvider,
5609
5617
  Ie as RecommendationsList,
5610
5618
  f as Reference,
5611
5619
  R as ReferenceDataProvider,
5612
5620
  re as Region,
5613
- je as ResourceType,
5621
+ Ve as ResourceType,
5614
5622
  _ as SalesDirection,
5615
- _r as SentryConfig,
5623
+ Lr as SentryConfig,
5616
5624
  qe as Seo,
5617
- Nt as SeoDataProvider,
5618
- Ve as SourcePrimaryInterest,
5619
- Rr as StockCount,
5625
+ qt as SeoDataProvider,
5626
+ Ee as SourcePrimaryInterest,
5627
+ $r as StockCount,
5620
5628
  Le as TypedInstanceFactory,
5621
5629
  Oe as UnitsHelper,
5622
- vt as UnknownClientDataProvider,
5623
- He as UpdatableNamedIdentity,
5624
- zr as User,
5625
- ze as UserCommonInfo,
5626
- Br as UserDataProvider,
5630
+ Rt as UnknownClientDataProvider,
5631
+ Fe as UpdatableNamedIdentity,
5632
+ Wr as User,
5633
+ Be as UserCommonInfo,
5634
+ jr as UserDataProvider,
5627
5635
  M as UserShortInfo,
5628
- Fr as UserTypeEnum,
5629
- Sr as VersionConfig,
5636
+ Br as UserTypeEnum,
5637
+ dr as VersionConfig,
5630
5638
  fe as Warehouse,
5631
- Ot as useReferencesStore,
5632
- qt as useUserStateStore
5639
+ Mt as useReferencesStore,
5640
+ Ut as useUserStateStore
5633
5641
  };
5634
5642
  //# sourceMappingURL=sc-common-lib.js.map