@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.
- package/dist/manifest.json +1 -1
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-common-lib.js +5 -14
- package/dist/sc-common-lib.js.map +1 -1
- package/dist/sc-common-lib.umd.cjs +1 -1
- package/dist/sc-common-lib.umd.cjs.map +1 -1
- package/dist/src/clients/classes/clients-list-filters.d.ts +0 -4
- package/dist/src/clients/classes/clients-list-filters.d.ts.map +1 -1
- package/dist/src/clients/interfaces/i-clients-list-filters.d.ts +0 -4
- package/dist/src/clients/interfaces/i-clients-list-filters.d.ts.map +1 -1
- package/dist/src/config/classes/app-base-config.d.ts +2 -2
- package/dist/src/config/classes/app-base-config.d.ts.map +1 -1
- package/dist/src/config/interfaces/i-app-base-config.d.ts +13 -4
- package/dist/src/config/interfaces/i-app-base-config.d.ts.map +1 -1
- package/dist/src/config/interfaces/i-theme.d.ts +10 -0
- package/dist/src/config/interfaces/i-theme.d.ts.map +1 -0
- package/dist/src/config/interfaces/index.d.ts +1 -0
- package/dist/src/config/interfaces/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/release_notes.tmp
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## 1.53.
|
|
1
|
+
## 1.53.3 (2025-05-28)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### removed (1 change)
|
|
4
4
|
|
|
5
|
-
- [#11663:
|
|
5
|
+
- [#11663: Удалён фильтр клиентов hasCostLessThenStop](web_soft/libs/ts/snabcentr-common-lib@2a0283f0bce1ec97d3db61bcbd183a0d403e10dd) ([merge request](web_soft/libs/ts/snabcentr-common-lib!90))
|
|
6
6
|
|
package/dist/sc-common-lib.js
CHANGED
|
@@ -681,10 +681,10 @@ class gt {
|
|
|
681
681
|
*/
|
|
682
682
|
t(this, "dateFormats");
|
|
683
683
|
/**
|
|
684
|
-
* Параметры
|
|
684
|
+
* Параметры тем для различных устройств.
|
|
685
685
|
*/
|
|
686
|
-
t(this, "
|
|
687
|
-
var e, s, i
|
|
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.
|
|
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.
|
|
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;
|