@snabcentr/common-lib 4.0.2 → 4.0.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-ubcRFP8DmH2CW0tN46fL/6mrILsRDJGKJ8NHWL0j2MuSAhm6Ond9Oekf+TGqbbzv"
7
+ "integrity": "sha384-QkRQbEZOJNXYD67L0WJllDSQfhHS1b0ZtVVMP7Vu9omRSXCOQvufcl9B/6YQcWJF"
8
8
  }
9
9
  }
@@ -2706,9 +2706,10 @@ var Gn = class e {
2706
2706
  warehouses;
2707
2707
  isLargeOrder;
2708
2708
  isToProcess;
2709
+ userRegions;
2709
2710
  onlyMyRegions;
2710
2711
  constructor(e) {
2711
- super(), this.attachedUsers = e?.attachedUsers?.map((e) => "isActive" in e ? new te(e) : new re(e)), this.clientSearchTerm = e?.clientSearchTerm, this.client = e?.client ? new W(e.client) : void 0, this.contragent = e?.contragent, this.createdAt = new P(e?.createdAt), this.creator = e?.creator ? new I(e.creator) : void 0, this.deliveryDate = new P(e?.deliveryDate), this.deliveryAddressSearch = e?.deliveryAddressSearch, this.clientCities = e?.clientCities?.map((e) => new t(e)), this.id = e?.id, this.isApproved = e?.isApproved, this.isNotInStock = e?.isNotInStock, this.isOnOrder = e?.isOnOrder, this.isLargeOrder = e?.isLargeOrder, this.attachedAt = new P(e?.attachedAt), this.salesDirections = e?.salesDirections?.map((e) => new m(e)), this.status = e?.status, this.statusDetail = e?.statusDetail, this.deliveryType = e?.deliveryType ? new s(e.deliveryType) : void 0, this.paymentType = e?.paymentType ? new oe(e.paymentType) : void 0, this.warehouses = e?.warehouses?.map((e) => new ge(e)), this.isToProcess = e?.isToProcess;
2712
+ super(), this.attachedUsers = e?.attachedUsers?.map((e) => "isActive" in e ? new te(e) : new re(e)), this.clientSearchTerm = e?.clientSearchTerm, this.client = e?.client ? new W(e.client) : void 0, this.contragent = e?.contragent, this.createdAt = new P(e?.createdAt), this.creator = e?.creator ? new I(e.creator) : void 0, this.deliveryDate = new P(e?.deliveryDate), this.deliveryAddressSearch = e?.deliveryAddressSearch, this.clientCities = e?.clientCities?.map((e) => new t(e)), this.id = e?.id, this.isApproved = e?.isApproved, this.isNotInStock = e?.isNotInStock, this.isOnOrder = e?.isOnOrder, this.isLargeOrder = e?.isLargeOrder, this.attachedAt = new P(e?.attachedAt), this.salesDirections = e?.salesDirections?.map((e) => new m(e)), this.status = e?.status, this.statusDetail = e?.statusDetail, this.deliveryType = e?.deliveryType ? new s(e.deliveryType) : void 0, this.paymentType = e?.paymentType ? new oe(e.paymentType) : void 0, this.warehouses = e?.warehouses?.map((e) => new ge(e)), this.isToProcess = e?.isToProcess, this.userRegions = e?.userRegions?.map((e) => new he(e));
2712
2713
  }
2713
2714
  resetFilterValue(e) {
2714
2715
  switch (e) {
@@ -2741,6 +2742,9 @@ var Gn = class e {
2741
2742
  case "warehouses":
2742
2743
  this.warehouses = [];
2743
2744
  break;
2745
+ case "userRegions":
2746
+ this.userRegions = [];
2747
+ break;
2744
2748
  default: this[e] = void 0;
2745
2749
  }
2746
2750
  return this;