@snabcentr/common-lib 1.83.0 → 1.84.1

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.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-ZskIJNlNpMe6pAUZBI5sXxthBPbNGlJcK7sWxlRYgW8BOdebHQYEC8X3lnHFxp5C"
7
+ "integrity": "sha384-WEiYlPIKUipRnzlwqL0eksSdYZRyar0FQPdCyXUENdhh2iHfGqkUlbunGdPcveSC"
8
8
  }
9
9
  }
@@ -2,7 +2,7 @@ var Tr = Object.defineProperty;
2
2
  var br = (n, r, e) => r in n ? Tr(n, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[r] = e;
3
3
  var t = (n, r, e) => br(n, typeof r != "symbol" ? r + "" : r, e);
4
4
  import { jwtDecode as sr } from "jwt-decode";
5
- import { merge as ne, isNil as a, isEmpty as K, noop as w, mapValues as ir, isArray as U, every as Sr, split as kr, isString as v, constant as Ir, toUpper as Lr, cloneDeep as dr, toLower as xr, isFunction as Oe, map as pe, forEach as _r, isDate as Le, omitBy as nr, isObject as or } from "lodash-es";
5
+ import { merge as ne, isNil as A, isEmpty as K, noop as w, mapValues as ir, isArray as U, every as Sr, split as kr, isString as v, constant as Ir, toUpper as Lr, cloneDeep as dr, toLower as xr, isFunction as Oe, map as pe, forEach as _r, isDate as Le, omitBy as nr, isObject as or } from "lodash-es";
6
6
  import { objectToCamel as Ne, objectToSnake as We } from "ts-case-convert";
7
7
  import { defineStore as M } from "pinia";
8
8
  import { ref as y, markRaw as qr, computed as D } from "vue";
@@ -379,7 +379,7 @@ class fe {
379
379
  try {
380
380
  const s = JSON.parse(e);
381
381
  if (!s.availableFor || Je(C(s.availableFor) || de(), /* @__PURE__ */ new Date())) {
382
- if (a(s.data) || K(s.data))
382
+ if (A(s.data) || K(s.data))
383
383
  throw new Error("Data is empty");
384
384
  return s.data;
385
385
  }
@@ -401,7 +401,7 @@ class fe {
401
401
  static saveActualDataToStorage(r, e, s) {
402
402
  if (this.isLocalStorageAvailable())
403
403
  try {
404
- if (a(e) || K(e))
404
+ if (A(e) || K(e))
405
405
  throw new Error("Data is empty");
406
406
  const i = JSON.stringify({
407
407
  availableFor: s,
@@ -491,7 +491,7 @@ const W = M("common.auth_state_private", () => {
491
491
  })()
492
492
  ), r = y(void 0), e = y(void 0), s = qr(/* @__PURE__ */ new Map());
493
493
  function i() {
494
- e.value = void 0, a(n.value) || n.value.then((o) => {
494
+ e.value = void 0, A(n.value) || n.value.then((o) => {
495
495
  const c = H.getJwtPayload(o);
496
496
  e.value = c.exp * 1e3 > Date.now() ? ir(c.resourceAccess, (u) => (u == null ? void 0 : u.roles) ?? []) : void 0;
497
497
  }).catch(w);
@@ -518,10 +518,10 @@ const W = M("common.auth_state_private", () => {
518
518
  */
519
519
  recalculateUserPermissions: i
520
520
  };
521
- }), Ae = M("common.auth_state", () => {
521
+ }), ae = M("common.auth_state", () => {
522
522
  const n = D(() => {
523
523
  const o = W();
524
- if (a(o.jwtToken) && !a(o.jwtTokenUpdater)) {
524
+ if (A(o.jwtToken) && !A(o.jwtTokenUpdater)) {
525
525
  const c = o.jwtTokenUpdater();
526
526
  o.jwtToken = c, c.then((u) => {
527
527
  o.jwtToken = Promise.resolve(u), fe.saveActualDataToStorage("sc.token", u, Ee(u)), o.recalculateUserPermissions();
@@ -542,7 +542,7 @@ const W = M("common.auth_state_private", () => {
542
542
  }
543
543
  function i(o) {
544
544
  const c = W();
545
- !a(c.jwtToken) && a(c.userPermissions) && c.jwtToken.then((f) => {
545
+ !A(c.jwtToken) && A(c.userPermissions) && c.jwtToken.then((f) => {
546
546
  const g = H.getJwtPayload(f);
547
547
  c.userPermissions = g.exp * 1e3 > Date.now() ? ir(g.resourceAccess, (b) => (b == null ? void 0 : b.roles) ?? []) : void 0;
548
548
  }).catch(w);
@@ -607,13 +607,13 @@ class Z {
607
607
  * @inheritDoc
608
608
  */
609
609
  t(this, "guid");
610
- this.id = r == null ? void 0 : r.id, a(this.id) && (a(e) ? typeof (r == null ? void 0 : r.id) == "number" ? this.id = -1 : typeof (r == null ? void 0 : r.id) == "string" && (this.id = "") : this.id = e), this.guid = (r == null ? void 0 : r.guid) ?? "";
610
+ this.id = r == null ? void 0 : r.id, A(this.id) && (A(e) ? typeof (r == null ? void 0 : r.id) == "number" ? this.id = -1 : typeof (r == null ? void 0 : r.id) == "string" && (this.id = "") : this.id = e), this.guid = (r == null ? void 0 : r.guid) ?? "";
611
611
  }
612
612
  /**
613
613
  * Возвращает признак, что это новая запись.
614
614
  */
615
615
  isNewRec() {
616
- return typeof this.id == "number" ? this.id === -1 : typeof this.id == "string" ? this.id === "" : a(this.id);
616
+ return typeof this.id == "number" ? this.id === -1 : typeof this.id == "string" ? this.id === "" : A(this.id);
617
617
  }
618
618
  }
619
619
  class T extends Z {
@@ -1356,7 +1356,7 @@ const R = class R {
1356
1356
  // eslint-disable-next-line class-methods-use-this
1357
1357
  t(this, "authRequestInterceptor", async (r) => {
1358
1358
  let e;
1359
- return a(Ae().jwtToken) || (e = await Ae().jwtToken), e && r.headers.set("Authorization", `Bearer ${e}`), r;
1359
+ return A(ae().jwtToken) || (e = await ae().jwtToken), e && r.headers.set("Authorization", `Bearer ${e}`), r;
1360
1360
  });
1361
1361
  /**
1362
1362
  * Перехватчик запроса для вызова пользовательских хуков.
@@ -1380,7 +1380,7 @@ const R = class R {
1380
1380
  t(this, "authErrorsResponseInterceptors", (r) => {
1381
1381
  var s;
1382
1382
  const e = r.rawError ? (s = r.rawError) == null ? void 0 : s.config : void 0;
1383
- return r.status === 401 ? !e || e.__isRetryRequest ? Promise.reject(r) : (Ae().invalidateJwtToken(), e.__isRetryRequest = !0, this.httpClient(e)) : Promise.reject(r);
1383
+ return r.status === 401 ? !e || e.__isRetryRequest ? Promise.reject(r) : (ae().invalidateJwtToken(), e.__isRetryRequest = !0, this.httpClient(e)) : Promise.reject(r);
1384
1384
  });
1385
1385
  /**
1386
1386
  * Перехватчик ответа для вызова пользовательских хуков.
@@ -1469,8 +1469,8 @@ const R = class R {
1469
1469
  */
1470
1470
  static convertHttpErrorResponse(r) {
1471
1471
  var e, s;
1472
- if (a(r) || !a(r.request) || !a(r.response)) {
1473
- const i = a(r) ? {} : r == null ? void 0 : r.response;
1472
+ if (A(r) || !A(r.request) || !A(r.response)) {
1473
+ const i = A(r) ? {} : r == null ? void 0 : r.response;
1474
1474
  return Promise.reject({
1475
1475
  status: (i == null ? void 0 : i.status) ?? 0,
1476
1476
  statusText: (i == null ? void 0 : i.statusText) ?? "Unknown",
@@ -2215,7 +2215,7 @@ class jt {
2215
2215
  return Object.keys(this).forEach((c) => {
2216
2216
  const u = this[c];
2217
2217
  // eslint-disable-next-line prettier/prettier
2218
- a(u) || v(u) && u.trim().length === 0 || Oe(u.isNewRec) && u.isNewRec() || (r[c] = u);
2218
+ A(u) || v(u) && u.trim().length === 0 || Oe(u.isNewRec) && u.isNewRec() || (r[c] = u);
2219
2219
  }), !((e = r == null ? void 0 : r.createdAt) != null && e.from) && !((s = r == null ? void 0 : r.createdAt) != null && s.to) && delete r.createdAt, !((i = r == null ? void 0 : r.updatedAt) != null && i.from) && !((o = r == null ? void 0 : r.updatedAt) != null && o.to) && delete r.updatedAt, r;
2220
2220
  }
2221
2221
  }
@@ -4261,11 +4261,11 @@ class Xt {
4261
4261
  return Object.keys(this).forEach((c) => {
4262
4262
  const u = this[c];
4263
4263
  // eslint-disable-next-line prettier/prettier
4264
- a(u) || v(u) && u.trim().length === 0 || Oe(u.isNewRec) && u.isNewRec() || (r[c] = u);
4264
+ A(u) || v(u) && u.trim().length === 0 || Oe(u.isNewRec) && u.isNewRec() || (r[c] = u);
4265
4265
  }), !((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;
4266
4266
  }
4267
4267
  }
4268
- class ar extends Z {
4268
+ class Ar extends Z {
4269
4269
  /**
4270
4270
  * Инициализирует экземпляр класса {@link OrderShortInfo}.
4271
4271
  *
@@ -4325,7 +4325,7 @@ class wt extends T {
4325
4325
  * @inheritDoc
4326
4326
  */
4327
4327
  t(this, "curators");
4328
- this.contacts = ((s = e.contacts) == null ? void 0 : s.map((u) => new F(u))) ?? void 0, this.lastOrder = e.lastOrder ? new ar(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new X(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new Q(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new O(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new Ge(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new Me(u))) ?? void 0;
4328
+ this.contacts = ((s = e.contacts) == null ? void 0 : s.map((u) => new F(u))) ?? void 0, this.lastOrder = e.lastOrder ? new Ar(e.lastOrder) : void 0, this.partnerGroups = ((i = e.partnerGroups) == null ? void 0 : i.map((u) => new X(u))) ?? void 0, this.preferredDeliveryType = e.preferredDeliveryType ? new Q(e.preferredDeliveryType) : void 0, this.salesDirection = e.salesDirection ? new O(e.salesDirection) : void 0, this.managers = ((o = e.managers) == null ? void 0 : o.map((u) => new Ge(u))) ?? void 0, this.curators = ((c = e.curators) == null ? void 0 : c.map((u) => new Me(u))) ?? void 0;
4329
4329
  }
4330
4330
  }
4331
4331
  class vt {
@@ -5265,7 +5265,7 @@ class is {
5265
5265
  };
5266
5266
  }
5267
5267
  }
5268
- class Ar {
5268
+ class ar {
5269
5269
  /**
5270
5270
  * Возвращает признак, что указанный товар имеет линейную единицу измерения.
5271
5271
  *
@@ -5281,7 +5281,7 @@ class Ar {
5281
5281
  */
5282
5282
  static getProductMultiplicity(r) {
5283
5283
  var e, s;
5284
- return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((s = r.properties) != null && s.minCount) && !Ar.productIsMeasurable(r) ? r.properties.minCount : 1;
5284
+ return !((e = r.properties) != null && e.ignoreMinCountCheck) && ((s = r.properties) != null && s.minCount) && !ar.productIsMeasurable(r) ? r.properties.minCount : 1;
5285
5285
  }
5286
5286
  /**
5287
5287
  * Возвращает кратность длины для указанного товара.
@@ -5325,7 +5325,7 @@ class Rt extends ue {
5325
5325
  return this.cacheResponse(r, i), i;
5326
5326
  }
5327
5327
  }
5328
- class $r extends ar {
5328
+ class $r extends Ar {
5329
5329
  /**
5330
5330
  * Инициализирует экземпляр класса {@link OrderInfo}.
5331
5331
  *
@@ -5378,6 +5378,10 @@ class $r extends ar {
5378
5378
  * @inheritDoc
5379
5379
  */
5380
5380
  t(this, "sum");
5381
+ /**
5382
+ * @inheritDoc
5383
+ */
5384
+ t(this, "isLargeOrder");
5381
5385
  this.client = new ge(e == null ? void 0 : e.client), this.payment = {
5382
5386
  type: ((s = e == null ? void 0 : e.payment) == null ? void 0 : s.type) ?? -1,
5383
5387
  status: ((i = e == null ? void 0 : e.payment) == null ? void 0 : i.status) ?? -1,
@@ -5387,7 +5391,7 @@ class $r extends ar {
5387
5391
  date: v((u = e == null ? void 0 : e.delivery) == null ? void 0 : u.date) ? C(e.delivery.date) : ((h = e == null ? void 0 : e.delivery) == null ? void 0 : h.date) ?? /* @__PURE__ */ new Date(),
5388
5392
  address: (f = e == null ? void 0 : e.delivery) != null && f.address ? new ve(e.delivery.address) : void 0,
5389
5393
  warehouse: (g = e == null ? void 0 : e.delivery) != null && g.warehouse ? new Re(e.delivery.warehouse) : void 0
5390
- }, this.attachedUser = new q(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new O(e == null ? void 0 : e.salesDirection), this.pendingAt = v(e == null ? void 0 : e.pendingAt) ? C(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = v(e == null ? void 0 : e.processedAt) ? C(e.processedAt) : e == null ? void 0 : e.processedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1, this.sum = (e == null ? void 0 : e.sum) ?? 0;
5394
+ }, this.attachedUser = new q(e == null ? void 0 : e.attachedUser), this.status = (e == null ? void 0 : e.status) ?? 0, this.salesDirection = new O(e == null ? void 0 : e.salesDirection), this.pendingAt = v(e == null ? void 0 : e.pendingAt) ? C(e.pendingAt) : e == null ? void 0 : e.pendingAt, this.processedAt = v(e == null ? void 0 : e.processedAt) ? C(e.processedAt) : e == null ? void 0 : e.processedAt, this.isOnOrder = (e == null ? void 0 : e.isOnOrder) ?? !1, this.isNotInStock = (e == null ? void 0 : e.isNotInStock) ?? !1, this.sum = (e == null ? void 0 : e.sum) ?? 0, this.isLargeOrder = (e == null ? void 0 : e.isLargeOrder) ?? !1;
5391
5395
  }
5392
5396
  }
5393
5397
  class Pt extends hr {
@@ -5619,7 +5623,7 @@ const Ie = (n) => {
5619
5623
  salesDirections: (o = n.salesDirections) == null ? void 0 : o.map((c) => c.id),
5620
5624
  hideNotActive: n.hideNotActive
5621
5625
  },
5622
- (c) => a(c) || (U(c) || or(c)) && K(c)
5626
+ (c) => A(c) || (U(c) || or(c)) && K(c)
5623
5627
  ) : {};
5624
5628
  }, er = (n) => {
5625
5629
  const r = {};
@@ -5736,7 +5740,7 @@ class Dt {
5736
5740
  this.cost = r.cost ?? 0, this.isLowCost = r.isLowCost ?? !1, this.isRetail = r.isRetail ?? !1, this.costDate = v(r.costDate) ? C(r.costDate) : r.costDate ?? /* @__PURE__ */ new Date(), this.discountName = r.discountName, this.priceTemplateName = r.priceTemplateName, this.product = r.product ? new oe(r.product) : void 0, this.client = r.client ? new q(r.client) : void 0, this.executor = r.executor ? new q(r.executor) : void 0, this.currency = r.currency ? new d(r.currency) : void 0;
5737
5741
  }
5738
5742
  }
5739
- class at extends oe {
5743
+ class At extends oe {
5740
5744
  /**
5741
5745
  * Инициализирует экземпляр класса {@link ProductPriceHistory}.
5742
5746
  *
@@ -5768,10 +5772,10 @@ class us extends p {
5768
5772
  to: Le((u = r.costDate) == null ? void 0 : u.to) ? N(r.costDate.to, e) : (h = r.costDate) == null ? void 0 : h.to
5769
5773
  }
5770
5774
  }),
5771
- (g) => a(g) || (U(g) || or(g)) && K(g)
5775
+ (g) => A(g) || (U(g) || or(g)) && K(g)
5772
5776
  ), i = ((f = r.product) == null ? void 0 : f[0]) ?? 0;
5773
5777
  return delete s.product, this.get(`/internal/price/products/${i}/history`, s).then((g) => [
5774
- new at(ne(g[0], { history: g }))
5778
+ new At(ne(g[0], { history: g }))
5775
5779
  ]);
5776
5780
  }
5777
5781
  }
@@ -5979,8 +5983,8 @@ class $ extends ue {
5979
5983
  return this.getTypedDataArrayRequester(gt, "/public/references/product-file-type", !0);
5980
5984
  }
5981
5985
  }
5982
- const A = M("common.references_private", () => {
5983
- const n = y({}), r = y(void 0), e = y(void 0), s = y(void 0), i = y(void 0), o = y(void 0), c = y(void 0), u = y(void 0), h = y(void 0), f = y(void 0), g = y(void 0), b = y(void 0), ee = y(void 0), re = y(void 0), B = y(void 0), z = y(void 0), ae = y(void 0), l = y(void 0);
5986
+ const a = M("common.references_private", () => {
5987
+ const n = y({}), r = y(void 0), e = y(void 0), s = y(void 0), i = y(void 0), o = y(void 0), c = y(void 0), u = y(void 0), h = y(void 0), f = y(void 0), g = y(void 0), b = y(void 0), ee = y(void 0), re = y(void 0), B = y(void 0), z = y(void 0), Ae = y(void 0), l = y(void 0);
5984
5988
  return {
5985
5989
  /**
5986
5990
  * Список загружаемых/загруженных на данный момент значений.
@@ -6049,7 +6053,7 @@ const A = M("common.references_private", () => {
6049
6053
  /**
6050
6054
  * Справочник типов свойств.
6051
6055
  */
6052
- propertyTypesReference: ae,
6056
+ propertyTypesReference: Ae,
6053
6057
  /**
6054
6058
  * Справочник коэффициентов цен.
6055
6059
  */
@@ -6057,87 +6061,87 @@ const A = M("common.references_private", () => {
6057
6061
  };
6058
6062
  }), hs = M("common.references", () => {
6059
6063
  const n = D(() => {
6060
- const l = A();
6064
+ const l = a();
6061
6065
  return !l.channelPrimaryInterestReference && !l.dataLoaderList.channelPrimaryInterestReference && (l.dataLoaderList.channelPrimaryInterestReference = !0, p.getInstance($).getChannelPrimaryInterest().then((m) => {
6062
6066
  l.channelPrimaryInterestReference = m;
6063
6067
  }).catch(w)), l.channelPrimaryInterestReference;
6064
6068
  }), r = D(() => {
6065
- const l = A();
6069
+ const l = a();
6066
6070
  return !l.contactPositionsReference && !l.dataLoaderList.contactPositionsReference && (l.dataLoaderList.contactPositionsReference = !0, p.getInstance($).getContactPositions().then((m) => {
6067
6071
  l.contactPositionsReference = m;
6068
6072
  }).catch(w)), l.contactPositionsReference;
6069
6073
  }), e = D(() => {
6070
- const l = A();
6074
+ const l = a();
6071
6075
  return !l.currencyReference && !l.dataLoaderList.currencyReference && (l.dataLoaderList.currencyReference = !0, p.getInstance($).getCurrency().then((m) => {
6072
6076
  l.currencyReference = m;
6073
6077
  }).catch(w)), l.currencyReference;
6074
6078
  }), s = D(() => {
6075
- const l = A();
6079
+ const l = a();
6076
6080
  return !l.opfReference && !l.dataLoaderList.opfReference && (l.dataLoaderList.opfReference = !0, p.getInstance($).getOpf().then((m) => {
6077
6081
  l.opfReference = m;
6078
6082
  }).catch(w)), l.opfReference;
6079
6083
  }), i = D(() => {
6080
- const l = A();
6084
+ const l = a();
6081
6085
  return !l.orderPaymentStatusReference && !l.dataLoaderList.orderPaymentStatusReference && (l.dataLoaderList.orderPaymentStatusReference = !0, p.getInstance($).getOrderPaymentStatuses().then((m) => {
6082
6086
  l.orderPaymentStatusReference = m;
6083
6087
  }).catch(w)), l.orderPaymentStatusReference;
6084
6088
  }), o = D(() => {
6085
- const l = A();
6089
+ const l = a();
6086
6090
  return !l.orderStatusReference && !l.dataLoaderList.orderStatusReference && (l.dataLoaderList.orderStatusReference = !0, p.getInstance($).getOrderStatuses().then((m) => {
6087
6091
  l.orderStatusReference = m;
6088
6092
  }).catch(w)), l.orderStatusReference;
6089
6093
  }), c = D(() => {
6090
- const l = A();
6094
+ const l = a();
6091
6095
  return !l.paymentTypeReference && !l.dataLoaderList.paymentTypeReference && (l.dataLoaderList.paymentTypeReference = !0, p.getInstance($).getPaymentTypes().then((m) => {
6092
6096
  l.paymentTypeReference = m;
6093
6097
  }).catch(w)), l.paymentTypeReference;
6094
6098
  }), u = D(() => {
6095
- const l = A();
6099
+ const l = a();
6096
6100
  return !l.partnerGroupReference && !l.dataLoaderList.partnerGroupReference && (l.dataLoaderList.partnerGroupReference = !0, p.getInstance($).getPartnerGroup().then((m) => {
6097
6101
  l.partnerGroupReference = m;
6098
6102
  }).catch(w)), l.partnerGroupReference;
6099
6103
  }), h = D(() => {
6100
- const l = A();
6104
+ const l = a();
6101
6105
  return !l.productFileTypeReference && !l.dataLoaderList.productFileTypeReference && (l.dataLoaderList.productFileTypeReference = !0, p.getInstance($).getProductFileType().then((m) => {
6102
6106
  l.productFileTypeReference = m;
6103
6107
  }).catch(w)), l.productFileTypeReference;
6104
6108
  }), f = D(() => {
6105
- const l = A();
6109
+ const l = a();
6106
6110
  return !l.resourceTypesReference && !l.dataLoaderList.resourceTypesReference && (l.dataLoaderList.resourceTypesReference = !0, p.getInstance($).getResourceTypes().then((m) => {
6107
6111
  l.resourceTypesReference = m;
6108
6112
  }).catch(w)), l.resourceTypesReference;
6109
6113
  }), g = D(() => {
6110
- const l = A();
6114
+ const l = a();
6111
6115
  return !l.salesDirectionsReference && !l.dataLoaderList.salesDirectionsReference && (l.dataLoaderList.salesDirectionsReference = !0, p.getInstance($).getSalesDirections().then((m) => {
6112
6116
  l.salesDirectionsReference = m;
6113
6117
  }).catch(w)), l.salesDirectionsReference;
6114
6118
  }), b = D(() => {
6115
- const l = A();
6119
+ const l = a();
6116
6120
  return !l.sourcePrimaryInterestReference && !l.dataLoaderList.sourcePrimaryInterestReference && (l.dataLoaderList.sourcePrimaryInterestReference = !0, p.getInstance($).getSourcePrimaryInterest().then((m) => {
6117
6121
  l.sourcePrimaryInterestReference = m;
6118
6122
  }).catch(w)), l.sourcePrimaryInterestReference;
6119
6123
  }), ee = D(() => {
6120
- const l = A();
6124
+ const l = a();
6121
6125
  return !l.deliveryTypeReference && !l.dataLoaderList.deliveryTypeReference && (l.dataLoaderList.deliveryTypeReference = !0, p.getInstance($).getDeliveryTypes().then((m) => {
6122
6126
  l.deliveryTypeReference = m;
6123
6127
  }).catch(w)), l.deliveryTypeReference;
6124
6128
  }), re = D(() => {
6125
- const l = A();
6129
+ const l = a();
6126
6130
  return !l.managersList && !l.dataLoaderList.managersList && (l.dataLoaderList.managersList = !0, p.getInstance(Rt).getManagers().then((m) => {
6127
6131
  l.managersList = m;
6128
6132
  }).catch(w)), l.managersList;
6129
6133
  }), B = D(() => {
6130
- const l = A();
6134
+ const l = a();
6131
6135
  return !l.warehousesReference && !l.dataLoaderList.warehousesReference && (l.dataLoaderList.warehousesReference = !0, p.getInstance($).getWarehouses().then((m) => {
6132
6136
  l.warehousesReference = m;
6133
6137
  }).catch(w)), l.warehousesReference;
6134
6138
  }), z = D(() => {
6135
- const l = A();
6139
+ const l = a();
6136
6140
  return !l.propertyTypesReference && !l.dataLoaderList.propertyTypesReference && (l.dataLoaderList.propertyTypesReference = !0, p.getInstance($).getPropertyTypes().then((m) => {
6137
6141
  l.propertyTypesReference = m;
6138
6142
  }).catch(w)), l.propertyTypesReference;
6139
- }), ae = D(() => {
6140
- const l = A();
6143
+ }), Ae = D(() => {
6144
+ const l = a();
6141
6145
  return !l.priceCoefficientsReference && !l.dataLoaderList.priceCoefficientsReference && (l.dataLoaderList.priceCoefficientsReference = !0, p.getInstance($).getPriceCoefficients().then((m) => {
6142
6146
  l.priceCoefficientsReference = m;
6143
6147
  }).catch(w)), l.priceCoefficientsReference;
@@ -6210,10 +6214,10 @@ const A = M("common.references_private", () => {
6210
6214
  /**
6211
6215
  * Справочник коэффициентов цен.
6212
6216
  */
6213
- priceCoefficientsReference: ae
6217
+ priceCoefficientsReference: Ae
6214
6218
  };
6215
6219
  });
6216
- class At {
6220
+ class at {
6217
6221
  /**
6218
6222
  * Инициализирует экземпляр класса {@link MetaTagItem}.
6219
6223
  *
@@ -6267,7 +6271,7 @@ class tr {
6267
6271
  */
6268
6272
  t(this, "meta");
6269
6273
  var e;
6270
- this.resourceType = new vr(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))) ?? [];
6274
+ this.resourceType = new vr(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))) ?? [];
6271
6275
  }
6272
6276
  }
6273
6277
  class gs extends p {
@@ -6519,7 +6523,7 @@ export {
6519
6523
  Ge as ManagerCommon,
6520
6524
  os as ManagerDataFactory,
6521
6525
  Rt as ManagerDataProvider,
6522
- At as MetaTagItem,
6526
+ at as MetaTagItem,
6523
6527
  T as NamedIdentity,
6524
6528
  G as Opf,
6525
6529
  _ as OpfEnum,
@@ -6528,7 +6532,7 @@ export {
6528
6532
  Pt as OrderItem,
6529
6533
  hr as OrderItemBase,
6530
6534
  ut as OrderPaymentStatus,
6531
- ar as OrderShortInfo,
6535
+ Ar as OrderShortInfo,
6532
6536
  pt as OrderStatus,
6533
6537
  cs as OrdersDataProvider,
6534
6538
  X as PartnerGroup,
@@ -6554,7 +6558,7 @@ export {
6554
6558
  zt as ProductDataProvider,
6555
6559
  gt as ProductFileType,
6556
6560
  He as ProductPriceCoefficient,
6557
- at as ProductPriceHistory,
6561
+ At as ProductPriceHistory,
6558
6562
  Ve as ProductUnit,
6559
6563
  Kt as PropertiesProvider,
6560
6564
  se as Property,
@@ -6576,7 +6580,7 @@ export {
6576
6580
  Qt as TemplateProductCategoryDataProvider,
6577
6581
  jt as TemplatesListFilters,
6578
6582
  Ue as TypedInstanceFactory,
6579
- Ar as UnitsHelper,
6583
+ ar as UnitsHelper,
6580
6584
  rs as UnknownClientDataProvider,
6581
6585
  cr as UpdatableNamedIdentity,
6582
6586
  Tt as User,
@@ -6592,7 +6596,7 @@ export {
6592
6596
  Ye as findCatalogItemByIdRecursive,
6593
6597
  Xe as flattenCatalogItems,
6594
6598
  ns as pluralize,
6595
- Ae as useAuthStateStore,
6599
+ ae as useAuthStateStore,
6596
6600
  k as useBaseConfigStateStore,
6597
6601
  hs as useReferencesStore,
6598
6602
  ys as useUserStateStore