@snabcentr/common-lib 1.53.1 → 1.53.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,6 @@
4
4
  "name": "public-api",
5
5
  "src": "src/public-api.ts",
6
6
  "isEntry": true,
7
- "integrity": "sha384-KU3quesNu9jyCi8+TDA47/ukAc94iYTJqaBLz/lGjIWNfj0wYWQ1+2mz5QKsj6CC"
7
+ "integrity": "sha384-5l/6PKmmZ+ZTFms/MELgsnIm5CxK7RMUxhtpEAJ0H6zbFuB+bD91dp2v5oqhOykP"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
- ## 1.53.1 (2025-05-28)
1
+ ## 1.53.3 (2025-05-28)
2
2
 
3
- ### added (1 change)
3
+ ### removed (1 change)
4
4
 
5
- - [#11663: Добавлен фильтр клиентов hasCostLessThenStop](web_soft/libs/ts/snabcentr-common-lib@73023a106a8f928be7f2f179d084cb29b35a62e3) ([merge request](web_soft/libs/ts/snabcentr-common-lib!87))
5
+ - [#11663: Удалён фильтр клиентов hasCostLessThenStop](web_soft/libs/ts/snabcentr-common-lib@2a0283f0bce1ec97d3db61bcbd183a0d403e10dd) ([merge request](web_soft/libs/ts/snabcentr-common-lib!90))
6
6
 
@@ -681,10 +681,10 @@ class gt {
681
681
  */
682
682
  t(this, "dateFormats");
683
683
  /**
684
- * Параметры темы.
684
+ * Параметры тем для различных устройств.
685
685
  */
686
- t(this, "theme");
687
- var e, s, i, o;
686
+ t(this, "themes");
687
+ var e, s, i;
688
688
  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 Lr(r == null ? void 0 : r.http), this.deviceTypeByResolution = new Sr(r == null ? void 0 : r.deviceTypeByResolution), this.products = {
689
689
  units: {
690
690
  linear: ["пог.м.", "м."],
@@ -698,9 +698,7 @@ class gt {
698
698
  api: ((e = r == null ? void 0 : r.dateFormats) == null ? void 0 : e.api) ?? "yyyy-MM-dd HH:mm:ss",
699
699
  uiDate: ((s = r == null ? void 0 : r.dateFormats) == null ? void 0 : s.uiDate) ?? "dd.MM.yyyy",
700
700
  uiDateWithTime: ((i = r == null ? void 0 : r.dateFormats) == null ? void 0 : i.uiDateWithTime) ?? "dd.MM.yyyy HH:mm"
701
- }, this.theme = {
702
- fontParams: (o = r == null ? void 0 : r.theme) == null ? void 0 : o.fontParams
703
- };
701
+ }, this.themes = r == null ? void 0 : r.themes;
704
702
  }
705
703
  }
706
704
  class ae {
@@ -3879,10 +3877,6 @@ class St {
3879
3877
  * Группа партнеров (направление деятельности).
3880
3878
  */
3881
3879
  t(this, "partnerGroup");
3882
- /**
3883
- * Признак, что у клиента имеются цены ниже стоп-цен.
3884
- */
3885
- t(this, "hasCostLessThenStop");
3886
3880
  /**
3887
3881
  * Данные контактного лица.
3888
3882
  */
@@ -3892,7 +3886,7 @@ class St {
3892
3886
  */
3893
3887
  t(this, "lastOrder");
3894
3888
  var e, s, i;
3895
- this.id = (r == null ? void 0 : r.id) ?? "", this.name = (r == null ? void 0 : r.name) ?? "", this.alternativeName = (r == null ? void 0 : r.alternativeName) ?? "", this.searchTerm = (r == null ? void 0 : r.searchTerm) ?? "", this.city = new le(r == null ? void 0 : r.city), this.region = new ee(r == null ? void 0 : r.region), this.country = new J(r == null ? void 0 : r.country), this.phone = (r == null ? void 0 : r.phone) ?? "", this.email = (r == null ? void 0 : r.email) ?? "", this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = new Q(r == null ? void 0 : r.createdAt), this.lastLoginDate = new Q(r == null ? void 0 : r.lastLoginDate), this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = r != null && r.managers && r.managers.length > 0 ? r.managers.map((o) => new ye(o)) : [], this.salesDirection = new S(r == null ? void 0 : r.salesDirection), this.contragentInn = (r == null ? void 0 : r.contragentInn) ?? "", this.contragentType = new U(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new E(r == null ? void 0 : r.preferredDeliveryType), this.hasCostLessThenStop = r != null && r.hasCostLessThenStop ? !0 : void 0, this.partnerGroup = new G(r == null ? void 0 : r.partnerGroup), this.contact = new be(r == null ? void 0 : r.contact), this.lastOrder = {
3889
+ this.id = (r == null ? void 0 : r.id) ?? "", this.name = (r == null ? void 0 : r.name) ?? "", this.alternativeName = (r == null ? void 0 : r.alternativeName) ?? "", this.searchTerm = (r == null ? void 0 : r.searchTerm) ?? "", this.city = new le(r == null ? void 0 : r.city), this.region = new ee(r == null ? void 0 : r.region), this.country = new J(r == null ? void 0 : r.country), this.phone = (r == null ? void 0 : r.phone) ?? "", this.email = (r == null ? void 0 : r.email) ?? "", this.isActive = r && Object.prototype.hasOwnProperty.call(r, "isActive") ? r == null ? void 0 : r.isActive : !0, this.createdAt = new Q(r == null ? void 0 : r.createdAt), this.lastLoginDate = new Q(r == null ? void 0 : r.lastLoginDate), this.lastLoginDateHasOrder = (r == null ? void 0 : r.lastLoginDateHasOrder) ?? void 0, this.managers = r != null && r.managers && r.managers.length > 0 ? r.managers.map((o) => new ye(o)) : [], this.salesDirection = new S(r == null ? void 0 : r.salesDirection), this.contragentInn = (r == null ? void 0 : r.contragentInn) ?? "", this.contragentType = new U(r == null ? void 0 : r.contragentType), this.preferredDeliveryType = new E(r == null ? void 0 : r.preferredDeliveryType), this.partnerGroup = new G(r == null ? void 0 : r.partnerGroup), this.contact = new be(r == null ? void 0 : r.contact), this.lastOrder = {
3896
3890
  createdAt: new Q((e = r == null ? void 0 : r.lastOrder) == null ? void 0 : e.createdAt),
3897
3891
  creator: (s = r == null ? void 0 : r.lastOrder) == null ? void 0 : s.creator,
3898
3892
  isApproved: (i = r == null ? void 0 : r.lastOrder) == null ? void 0 : i.isApproved
@@ -3950,9 +3944,6 @@ class St {
3950
3944
  case "partnerGroup":
3951
3945
  this.partnerGroup = new G();
3952
3946
  break;
3953
- case "hasCostLessThenStop":
3954
- this.hasCostLessThenStop = void 0;
3955
- break;
3956
3947
  case "contact":
3957
3948
  this.contact = new be();
3958
3949
  break;