@snabcentr/common-lib 1.79.0 → 1.80.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.
Files changed (28) hide show
  1. package/dist/manifest.json +1 -1
  2. package/dist/sc-common-lib.js +74 -67
  3. package/dist/sc-common-lib.js.map +1 -1
  4. package/dist/sc-common-lib.umd.cjs +1 -1
  5. package/dist/sc-common-lib.umd.cjs.map +1 -1
  6. package/dist/src/catalog/interfaces/i-predefined-properties.d.ts +1 -1
  7. package/dist/src/catalog/interfaces/i-predefined-properties.d.ts.map +1 -1
  8. package/dist/src/config/index.d.ts +0 -1
  9. package/dist/src/config/index.d.ts.map +1 -1
  10. package/dist/src/configurator/interfaces/i-configurator-calculate-params-base.d.ts +6 -0
  11. package/dist/src/configurator/interfaces/i-configurator-calculate-params-base.d.ts.map +1 -0
  12. package/dist/src/configurator/interfaces/i-configurator-calculate-params-sandwich.d.ts +16 -0
  13. package/dist/src/configurator/interfaces/i-configurator-calculate-params-sandwich.d.ts.map +1 -0
  14. package/dist/src/configurator/interfaces/i-configurator-calculate-result-sandwich.d.ts +19 -0
  15. package/dist/src/configurator/interfaces/i-configurator-calculate-result-sandwich.d.ts.map +1 -0
  16. package/dist/src/configurator/interfaces/i-configurator-calculate-sheet-sandwich.d.ts +10 -0
  17. package/dist/src/configurator/interfaces/i-configurator-calculate-sheet-sandwich.d.ts.map +1 -0
  18. package/dist/src/configurator/interfaces/i-sandwich-calculate-item.d.ts +18 -0
  19. package/dist/src/configurator/interfaces/i-sandwich-calculate-item.d.ts.map +1 -0
  20. package/dist/src/configurator/interfaces/index.d.ts +5 -0
  21. package/dist/src/configurator/interfaces/index.d.ts.map +1 -1
  22. package/dist/src/configurator/providers/configurator-provider.d.ts +12 -0
  23. package/dist/src/configurator/providers/configurator-provider.d.ts.map +1 -1
  24. package/package.json +1 -1
  25. package/dist/src/config/functions/index.d.ts +0 -2
  26. package/dist/src/config/functions/index.d.ts.map +0 -1
  27. package/dist/src/config/functions/load-remote-config.d.ts +0 -8
  28. package/dist/src/config/functions/load-remote-config.d.ts.map +0 -1
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-UNs1rwyzu3AB522yXcgcQUFfnip2VjO1vKTdVblKnI/HEdmgZuUQxySbxNtKvU7D"
7
+ "integrity": "sha384-1DEuD753gdIupyzLRLGTRzApqhNgd3XYY2wZZtJLXg488gOM1Dsdzf8BZnPg2lLX"
8
8
  }
9
9
  }
@@ -198,7 +198,7 @@ class Wr {
198
198
  this.portalApiUrl = (r == null ? void 0 : r.portalApiUrl) ?? "", this.mediaUrl = (r == null ? void 0 : r.mediaUrl) ?? "", this.responseDataCacheTimeout = (r == null ? void 0 : r.responseDataCacheTimeout) ?? 3 * 60 * 60;
199
199
  }
200
200
  }
201
- class Er {
201
+ class Jr {
202
202
  /**
203
203
  * Инициализирует экземпляр класса {@link SentryConfig}.
204
204
  *
@@ -243,7 +243,7 @@ class Er {
243
243
  }, this.additionalParams = (r == null ? void 0 : r.additionalParams) ?? {};
244
244
  }
245
245
  }
246
- class Jr {
246
+ class Er {
247
247
  /**
248
248
  * Инициализирует экземпляр класса {@link WebSocketConfig}.
249
249
  *
@@ -326,10 +326,10 @@ class Vr {
326
326
  */
327
327
  t(this, "dateFormats");
328
328
  var e, s, i;
329
- this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Wr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new zr(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new Er({
329
+ this.environment = (r == null ? void 0 : r.environment) ?? "production", this.devMode = (r == null ? void 0 : r.devMode) ?? {}, this.http = new Wr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new zr(r == null ? void 0 : r.deviceTypeByResolution), this.sentry = new Jr({
330
330
  environment: this.environment,
331
331
  ...r == null ? void 0 : r.sentry
332
- }), this.tableDefaultHeightCoefficient = (r == null ? void 0 : r.tableDefaultHeightCoefficient) ?? 0.7, this.urls = r == null ? void 0 : r.urls, this.websocket = r != null && r.websocket ? new Jr(r.websocket) : void 0, this.dateFormats = {
332
+ }), this.tableDefaultHeightCoefficient = (r == null ? void 0 : r.tableDefaultHeightCoefficient) ?? 0.7, this.urls = r == null ? void 0 : r.urls, this.websocket = r != null && r.websocket ? new Er(r.websocket) : void 0, this.dateFormats = {
333
333
  api: ((e = r == null ? void 0 : r.dateFormats) == null ? void 0 : e.api) ?? "yyyy-MM-dd HH:mm:ss",
334
334
  uiDate: ((s = r == null ? void 0 : r.dateFormats) == null ? void 0 : s.uiDate) ?? "dd.MM.yyyy",
335
335
  uiDateWithTime: ((i = r == null ? void 0 : r.dateFormats) == null ? void 0 : i.uiDateWithTime) ?? "dd.MM.yyyy HH:mm"
@@ -468,7 +468,7 @@ class me {
468
468
  }
469
469
  }
470
470
  }
471
- function Ee(n) {
471
+ function Je(n) {
472
472
  try {
473
473
  const r = O.getJwtPayload(n);
474
474
  return new Date(r.exp * 1e3);
@@ -524,7 +524,7 @@ const B = j("common.auth_state_private", () => {
524
524
  if (A(o.jwtToken) && !A(o.jwtTokenUpdater)) {
525
525
  const c = o.jwtTokenUpdater();
526
526
  o.jwtToken = c, c.then((u) => {
527
- o.jwtToken = Promise.resolve(u), me.saveActualDataToStorage("sc.token", u, Ee(u)), o.recalculateUserPermissions();
527
+ o.jwtToken = Promise.resolve(u), me.saveActualDataToStorage("sc.token", u, Je(u)), o.recalculateUserPermissions();
528
528
  }).catch(w);
529
529
  }
530
530
  return o.jwtToken;
@@ -534,7 +534,7 @@ const B = j("common.auth_state_private", () => {
534
534
  }
535
535
  function e(o) {
536
536
  const c = B();
537
- c.jwtToken = Promise.resolve(o), me.saveActualDataToStorage("sc.token", o, Ee(o)), c.recalculateUserPermissions();
537
+ c.jwtToken = Promise.resolve(o), me.saveActualDataToStorage("sc.token", o, Je(o)), c.recalculateUserPermissions();
538
538
  }
539
539
  function s() {
540
540
  const o = B();
@@ -930,7 +930,7 @@ class N extends a {
930
930
  e && (this.signature = e.signature ?? "", this.code = e.code, this.symbol = e.symbol ?? "", this.precision = e.precision);
931
931
  }
932
932
  }
933
- class Je extends a {
933
+ class Ee extends a {
934
934
  /**
935
935
  * Инициализирует экземпляр класса {@link ProductUnit}.
936
936
  *
@@ -1034,7 +1034,7 @@ class S extends Xr {
1034
1034
  * Список коэффициентов цен на продукт.
1035
1035
  */
1036
1036
  t(this, "priceCoefficients");
1037
- this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new Je(e.unit) : new Je(), this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.currency = e != null && e.currency ? new N(e.currency) : new N(), 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 Kr(h))) ?? [], this.type = "product";
1037
+ this.supplierSku = e == null ? void 0 : e.supplierSku, this.unit = e != null && e.unit ? new Ee(e.unit) : new Ee(), this.pack = e == null ? void 0 : e.pack, this.minCount = e == null ? void 0 : e.minCount, this.currency = e != null && e.currency ? new N(e.currency) : new N(), 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 Kr(h))) ?? [], this.type = "product";
1038
1038
  const s = (e == null ? void 0 : e.category) ?? ((o = e == null ? void 0 : e.categories) == null ? void 0 : o.find((h) => h.isPrimary));
1039
1039
  s && (this.category = new xe({ ...s, isPrimary: !0 }), this.categories = [this.category]), e != null && e.categories && (this.categories = e.categories.map((h) => new xe(h))), this.images = ((c = e == null ? void 0 : e.images) == null ? void 0 : c.map((h) => new Yr(h, k().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 Ne(h))) ?? [], e && "codeNumber" in e && !e.code && (this.code = e == null ? void 0 : e.codeNumber);
1040
1040
  }
@@ -1644,7 +1644,7 @@ class st extends a {
1644
1644
  this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.isLowPriceAllowed = (e == null ? void 0 : e.isLowPriceAllowed) ?? !1, this.publishedAt = v(e == null ? void 0 : e.publishedAt) ? C(e.publishedAt) : e == null ? void 0 : e.publishedAt, this.description = (e == null ? void 0 : e.description) ?? void 0, this.percent = (e == null ? void 0 : e.percent) ?? 0, this.owner = new d(e == null ? void 0 : e.owner), this.deletedAt = v(e == null ? void 0 : e.deletedAt) ? C(e.deletedAt) : e == null ? void 0 : e.deletedAt;
1645
1645
  }
1646
1646
  }
1647
- class E extends pr {
1647
+ class J extends pr {
1648
1648
  /**
1649
1649
  * Инициализирует экземпляр класса {@link PriceTemplate}.
1650
1650
  *
@@ -1699,7 +1699,7 @@ class Y extends S {
1699
1699
  * Признак того, что указанный продукт входит в список избранных продуктов клиента.
1700
1700
  */
1701
1701
  t(this, "isFavorite");
1702
- this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? He.Product, this.discount = e != null && e.discount ? new st(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new E(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;
1702
+ this.costCoefficient = (e == null ? void 0 : e.costCoefficient) ?? 0, this.costSource = (e == null ? void 0 : e.costSource) ?? He.Product, this.discount = e != null && e.discount ? new st(e.discount) : void 0, this.priceTemplate = e != null && e.priceTemplate ? new J(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;
1703
1703
  }
1704
1704
  }
1705
1705
  class hr {
@@ -2069,7 +2069,7 @@ class te extends G {
2069
2069
  * Данные шаблона прайс-листа.
2070
2070
  */
2071
2071
  t(this, "priceTemplate");
2072
- 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 he(e == null ? void 0 : e.client), this.priceTemplate = new E(e == null ? void 0 : e.priceTemplate);
2072
+ 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 he(e == null ? void 0 : e.client), this.priceTemplate = new J(e == null ? void 0 : e.priceTemplate);
2073
2073
  }
2074
2074
  }
2075
2075
  class ae extends gr {
@@ -2920,7 +2920,7 @@ class Wt extends De {
2920
2920
  getTemplateList(r, e, s) {
2921
2921
  return this.getPaginated("/internal/price/templates", r, e, s, {}, (i) => {
2922
2922
  const o = { ...i.data };
2923
- return o.data = o.data.map((c) => new E(c)), o;
2923
+ return o.data = o.data.map((c) => new J(c)), o;
2924
2924
  });
2925
2925
  }
2926
2926
  /**
@@ -2933,7 +2933,7 @@ class Wt extends De {
2933
2933
  * @see /doc/api/internal#/operations/api_internal_catalog_price_template_create
2934
2934
  */
2935
2935
  createTemplate(r, e = {}) {
2936
- return this.post("/internal/price/templates", r, (s) => new E(s.data), e);
2936
+ return this.post("/internal/price/templates", r, (s) => new J(s.data), e);
2937
2937
  }
2938
2938
  /**
2939
2939
  * Возвращает данные о шаблоне прайс-листа.
@@ -2943,7 +2943,7 @@ class Wt extends De {
2943
2943
  * @see /doc/api/internal#/operations/api_internal_catalog_price_template_get
2944
2944
  */
2945
2945
  getTemplate(r) {
2946
- return this.get(`/internal/price/templates/${r}`, {}, (e) => new E(e.data));
2946
+ return this.get(`/internal/price/templates/${r}`, {}, (e) => new J(e.data));
2947
2947
  }
2948
2948
  /**
2949
2949
  * Изменяет данные о шаблоне прайс-листа.
@@ -2956,7 +2956,7 @@ class Wt extends De {
2956
2956
  * @see /doc/api/internal#/operations/api_internal_catalog_price_template_update
2957
2957
  */
2958
2958
  updateTemplate(r, e, s = {}) {
2959
- return this.patch(`/internal/price/templates/${r}`, e, (i) => new E(i.data), s);
2959
+ return this.patch(`/internal/price/templates/${r}`, e, (i) => new J(i.data), s);
2960
2960
  }
2961
2961
  /**
2962
2962
  * Удаляет данные о шаблоне прайс-листа.
@@ -3111,7 +3111,7 @@ class Wt extends De {
3111
3111
  );
3112
3112
  }
3113
3113
  }
3114
- class Et extends p {
3114
+ class Jt extends p {
3115
3115
  /**
3116
3116
  * Возвращает список ролей ценообразования.
3117
3117
  *
@@ -3191,7 +3191,7 @@ class Et extends p {
3191
3191
  );
3192
3192
  }
3193
3193
  }
3194
- class Jt extends De {
3194
+ class Et extends De {
3195
3195
  /**
3196
3196
  * Возвращает пагинированный список свойств.
3197
3197
  *
@@ -4995,7 +4995,7 @@ class I extends De {
4995
4995
  return this.get(`/internal/clients/${r.id}/verification/email?email=${r.email}`);
4996
4996
  }
4997
4997
  }
4998
- const J = class J extends p {
4998
+ const E = class E extends p {
4999
4999
  /**
5000
5000
  * Инициализирует экземпляр класса {@link HttpCachedRequester}.
5001
5001
  */
@@ -5015,7 +5015,7 @@ const J = class J extends p {
5015
5015
  */
5016
5016
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
5017
5017
  static getCachedResponse(e) {
5018
- const s = J.responseDataCache.get(e);
5018
+ const s = E.responseDataCache.get(e);
5019
5019
  if (s && s.validTo > /* @__PURE__ */ new Date())
5020
5020
  return s.val;
5021
5021
  }
@@ -5026,7 +5026,7 @@ const J = class J extends p {
5026
5026
  * @param data Данные для кэширования.
5027
5027
  */
5028
5028
  cacheResponse(e, s) {
5029
- J.responseDataCache.set(e, {
5029
+ E.responseDataCache.set(e, {
5030
5030
  validTo: qr(/* @__PURE__ */ new Date(), this.responseDataCacheTimeout),
5031
5031
  val: s
5032
5032
  });
@@ -5042,7 +5042,7 @@ const J = class J extends p {
5042
5042
  */
5043
5043
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters
5044
5044
  getTypedDataArrayRequester(e, s, i = !1, o = {}) {
5045
- const c = s + (K(o) ? "" : ` >>> ${JSON.stringify(o)}`), u = i ? J.getCachedResponse(c) : void 0;
5045
+ const c = s + (K(o) ? "" : ` >>> ${JSON.stringify(o)}`), u = i ? E.getCachedResponse(c) : void 0;
5046
5046
  return u ? Promise.resolve(u) : this.get(s, o).then((h) => {
5047
5047
  const f = h.map((g) => Ue.instanceInitializer(e, g));
5048
5048
  return i && f && this.cacheResponse(s, f), f;
@@ -5052,8 +5052,8 @@ const J = class J extends p {
5052
5052
  /**
5053
5053
  * Кэш результатов запросов.
5054
5054
  */
5055
- t(J, "responseDataCache", /* @__PURE__ */ new Map());
5056
- let ue = J;
5055
+ t(E, "responseDataCache", /* @__PURE__ */ new Map());
5056
+ let ue = E;
5057
5057
  class Xt extends p {
5058
5058
  /**
5059
5059
  * Выполняет проверку занят ли указанный номер телефона.
@@ -5068,15 +5068,7 @@ class Xt extends p {
5068
5068
  });
5069
5069
  }
5070
5070
  }
5071
- function Zt(n = "/config.json") {
5072
- const r = fetch(n).then((e) => e.ok ? e.json() : (console.error(new Error(`Ошибка загрузки ${n}: ${e.statusText}`)), new Promise((s) => {
5073
- s({});
5074
- })));
5075
- return r.catch((e) => {
5076
- console.error(e);
5077
- }), r;
5078
- }
5079
- class es {
5071
+ class Zt {
5080
5072
  /**
5081
5073
  * Инициализирует экземпляр класса {@link VersionConfig}.
5082
5074
  *
@@ -5098,7 +5090,7 @@ class es {
5098
5090
  this.date = v(r == null ? void 0 : r.date) ? C(r.date) : (r == null ? void 0 : r.date) ?? /* @__PURE__ */ new Date(), this.name = (r == null ? void 0 : r.name) ?? "", this.version = (r == null ? void 0 : r.version) ?? "0.0.0";
5099
5091
  }
5100
5092
  }
5101
- class rs extends p {
5093
+ class es extends p {
5102
5094
  /**
5103
5095
  * Возвращает настройки указанного конфигуратора для указанной категории.
5104
5096
  *
@@ -5172,8 +5164,24 @@ class rs extends p {
5172
5164
  var i;
5173
5165
  return this.delete(`internal/catalog/categories/${r.id}/configurators/${(i = r.properties) == null ? void 0 : i.configurator}/template/${s}?client_id=${e}`);
5174
5166
  }
5167
+ /**
5168
+ * Выполняет расчет, через указанный конфигуратор с переданными параметрами.
5169
+ *
5170
+ * @param category Данные о категории.
5171
+ * @param clientId Идентификатор клиента.
5172
+ * @param params Параметры запроса расчета конфигуратора.
5173
+ *
5174
+ * @see /doc/api/internal#/Каталог/api_public_catalog_categories_category_configurator_calculate
5175
+ */
5176
+ calculate(r, e, s) {
5177
+ var i;
5178
+ return this.get(`internal/catalog/categories/${r.id}/configurators/${(i = r.properties) == null ? void 0 : i.configurator}/calculate`, {
5179
+ client_id: e,
5180
+ ...s
5181
+ });
5182
+ }
5175
5183
  }
5176
- class ts {
5184
+ class rs {
5177
5185
  /**
5178
5186
  * Возвращает диапазон дат по умолчанию.
5179
5187
  */
@@ -5216,7 +5224,7 @@ class Ar {
5216
5224
  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;
5217
5225
  }
5218
5226
  }
5219
- class ss {
5227
+ class ts {
5220
5228
  /**
5221
5229
  * Генерирует и возвращает данные-заглушку неопределённого менеджера.
5222
5230
  */
@@ -5439,7 +5447,7 @@ class Ze extends $r {
5439
5447
  this.products = (e.products ?? []).map((s) => new Pt(s)), this.invoices = e.invoices ?? [], this.comment = e.comment, this.image = e.image, this.contragent = e.contragent ? ye.createInstance(e.contragent) : void 0, this.barcode = e.barcode, this.orderSource = e.orderSource ? new R(e.orderSource) : void 0, this.isAllowProcessingWithoutPayment = e.isAllowProcessingWithoutPayment;
5440
5448
  }
5441
5449
  }
5442
- class is extends De {
5450
+ class ss extends De {
5443
5451
  /**
5444
5452
  * Возвращает данные о заказах, удовлетворяющих указанным параметрам поиска.
5445
5453
  *
@@ -5550,7 +5558,7 @@ const ke = (n) => {
5550
5558
  const r = {};
5551
5559
  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;
5552
5560
  };
5553
- class ns extends p {
5561
+ class is extends p {
5554
5562
  /**
5555
5563
  * Возвращает список клиентских цен на продукты в указанном диапазоне цены.
5556
5564
  *
@@ -5676,7 +5684,7 @@ class Dt extends oe {
5676
5684
  this.history = ve(e.history, (s) => new Rt(s));
5677
5685
  }
5678
5686
  }
5679
- class os extends p {
5687
+ class ns extends p {
5680
5688
  /**
5681
5689
  * Возвращает данные об истории изменения цен.
5682
5690
  *
@@ -5718,7 +5726,7 @@ class rr {
5718
5726
  r != null && r.products && (this.products = r.products.map((e) => new oe(e))), r != null && r.productCategories && (this.productCategories = r.productCategories.map((e) => new oe(e)));
5719
5727
  }
5720
5728
  }
5721
- class cs extends p {
5729
+ class os extends p {
5722
5730
  /**
5723
5731
  * Возвращает данные о рекомендациях указанной категории продуктов.
5724
5732
  *
@@ -5980,7 +5988,7 @@ const $ = j("common.references_private", () => {
5980
5988
  */
5981
5989
  priceCoefficientsReference: l
5982
5990
  };
5983
- }), ls = j("common.references", () => {
5991
+ }), cs = j("common.references", () => {
5984
5992
  const n = D(() => {
5985
5993
  const l = $();
5986
5994
  return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance(T).getChannelPrimaryInterest().then((m) => {
@@ -6195,7 +6203,7 @@ class tr {
6195
6203
  this.resourceType = new wr(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 At(s))) ?? [];
6196
6204
  }
6197
6205
  }
6198
- class us extends p {
6206
+ class ls extends p {
6199
6207
  /**
6200
6208
  * Возвращает {@link Promise} для получения данных о SEO-параметрах указанного ресурса.
6201
6209
  *
@@ -6226,7 +6234,7 @@ class us extends p {
6226
6234
  return this.delete(`/internal/seo/${r.slug}/${e}`);
6227
6235
  }
6228
6236
  }
6229
- class ps extends p {
6237
+ class us extends p {
6230
6238
  /**
6231
6239
  * Возвращает подсказки по адресам.
6232
6240
  *
@@ -6297,7 +6305,7 @@ class Tt extends mr {
6297
6305
  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;
6298
6306
  }
6299
6307
  }
6300
- class hs extends p {
6308
+ class ps extends p {
6301
6309
  /**
6302
6310
  * Инициализирует экземпляр класса {@link UserAuthDataProvider}.
6303
6311
  */
@@ -6334,7 +6342,7 @@ const bt = j("common.user_state_private", () => {
6334
6342
  */
6335
6343
  currentUser: r
6336
6344
  };
6337
- }), gs = j("common.user_state", () => ({
6345
+ }), hs = j("common.user_state", () => ({
6338
6346
  /**
6339
6347
  * Данные о текущем пользователе.
6340
6348
  */
@@ -6347,7 +6355,7 @@ const bt = j("common.user_state_private", () => {
6347
6355
  })), r.currentUser;
6348
6356
  })
6349
6357
  }));
6350
- class ms {
6358
+ class gs {
6351
6359
  /**
6352
6360
  * Инициализирует экземпляр класса {@link FieldValidationResultData}.
6353
6361
  *
@@ -6400,7 +6408,7 @@ export {
6400
6408
  ot as ClientsAdditionalDataRequestTypeEnum,
6401
6409
  Kt as ClientsListFilters,
6402
6410
  oe as CodedIdentity,
6403
- rs as ConfiguratorProvider,
6411
+ es as ConfiguratorProvider,
6404
6412
  _e as Contact,
6405
6413
  hr as ContactLinks,
6406
6414
  H as ContactPerson,
@@ -6418,18 +6426,18 @@ export {
6418
6426
  Ge as CuratedDirection,
6419
6427
  Fe as Curator,
6420
6428
  N as Currency,
6421
- ps as DataSuggestionProvider,
6429
+ us as DataSuggestionProvider,
6422
6430
  Qt as DataTablePagination,
6423
6431
  vt as DataTablePaginationRequestParams,
6424
6432
  Yt as DataTableSortRequestParams,
6425
- ts as DateTimeProvider,
6433
+ rs as DateTimeProvider,
6426
6434
  Qr as DeletableNamedIdentity,
6427
6435
  we as DeliveryAddress,
6428
6436
  Q as DeliveryType,
6429
6437
  Ot as DetailedJwtPayload,
6430
6438
  zr as DeviceTypeResolutionConfig,
6431
6439
  st as DiscountShortInfo,
6432
- ms as FieldValidationResultData,
6440
+ gs as FieldValidationResultData,
6433
6441
  le as FilterGroup,
6434
6442
  Ke as FilterItem,
6435
6443
  Be as FilterOpEnum,
@@ -6443,7 +6451,7 @@ export {
6443
6451
  O as JwtPayload,
6444
6452
  Re as Manager,
6445
6453
  je as ManagerCommon,
6446
- ss as ManagerDataFactory,
6454
+ ts as ManagerDataFactory,
6447
6455
  Ct as ManagerDataProvider,
6448
6456
  At as MetaTagItem,
6449
6457
  a as NamedIdentity,
@@ -6455,24 +6463,24 @@ export {
6455
6463
  Pt as OrderProduct,
6456
6464
  Dr as OrderShortInfo,
6457
6465
  pt as OrderStatus,
6458
- is as OrdersDataProvider,
6466
+ ss as OrdersDataProvider,
6459
6467
  Z as PartnerGroup,
6460
6468
  ht as PaymentType,
6461
6469
  me as PreferencesStorageProvider,
6462
6470
  Se as PriceAnalyze,
6463
- ns as PriceAnalyzeProvider,
6471
+ is as PriceAnalyzeProvider,
6464
6472
  Ce as PriceCoefficient,
6465
6473
  lr as PriceCoefficientEnum,
6466
- os as PriceHistoryDataProvider,
6474
+ ns as PriceHistoryDataProvider,
6467
6475
  Rt as PriceHistoryItem,
6468
- E as PriceTemplate,
6476
+ J as PriceTemplate,
6469
6477
  Te as PriceTemplateCategory,
6470
6478
  te as PriceTemplateClient,
6471
6479
  gr as PriceTemplateICatalogableItem,
6472
6480
  ae as PriceTemplateProduct,
6473
6481
  Wt as PriceTemplateProvider,
6474
6482
  ie as PricingRole,
6475
- Et as PricingRoleProvider,
6483
+ Jt as PricingRoleProvider,
6476
6484
  xe as PrimaryCatalogableItem,
6477
6485
  S as Product,
6478
6486
  Ft as ProductCategoryDataProvider,
@@ -6480,22 +6488,22 @@ export {
6480
6488
  gt as ProductFileType,
6481
6489
  Ne as ProductPriceCoefficient,
6482
6490
  Dt as ProductPriceHistory,
6483
- Je as ProductUnit,
6484
- Jt as PropertiesProvider,
6491
+ Ee as ProductUnit,
6492
+ Et as PropertiesProvider,
6485
6493
  se as Property,
6486
6494
  fr as PropertyType,
6487
6495
  tt as PropertyTypeEnum,
6488
6496
  z as PropertyValue,
6489
- cs as RecommendationsDataProvider,
6497
+ os as RecommendationsDataProvider,
6490
6498
  rr as RecommendationsList,
6491
6499
  R as Reference,
6492
6500
  T as ReferenceDataProvider,
6493
6501
  ce as Region,
6494
6502
  wr as ResourceType,
6495
6503
  _ as SalesDirection,
6496
- Er as SentryConfig,
6504
+ Jr as SentryConfig,
6497
6505
  tr as Seo,
6498
- us as SeoDataProvider,
6506
+ ls as SeoDataProvider,
6499
6507
  vr as SourcePrimaryInterest,
6500
6508
  Kr as StockCount,
6501
6509
  Ut as TemplatesListFilters,
@@ -6504,20 +6512,19 @@ export {
6504
6512
  Xt as UnknownClientDataProvider,
6505
6513
  pr as UpdatableNamedIdentity,
6506
6514
  Tt as User,
6507
- hs as UserAuthDataProvider,
6515
+ ps as UserAuthDataProvider,
6508
6516
  mr as UserCommonInfo,
6509
6517
  at as UserDataProvider,
6510
6518
  it as UserPricingRole,
6511
6519
  d as UserShortInfo,
6512
6520
  $t as UserTypeEnum,
6513
- es as VersionConfig,
6521
+ Zt as VersionConfig,
6514
6522
  Pe as Warehouse,
6515
- Jr as WebSocketConfig,
6523
+ Er as WebSocketConfig,
6516
6524
  Qe as findCatalogItemByIdRecursive,
6517
6525
  Ye as flattenCatalogItems,
6518
- Zt as loadRemoteConfig,
6519
6526
  $e as useAuthStateStore,
6520
6527
  k as useBaseConfigStateStore,
6521
- ls as useReferencesStore,
6522
- gs as useUserStateStore
6528
+ cs as useReferencesStore,
6529
+ hs as useUserStateStore
6523
6530
  };