@snabcentr/client-ui 4.11.3 → 4.11.4

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.
@@ -100,10 +100,12 @@ export class ScAddressesSelectionFieldComponent {
100
100
  .getCityById$(Number(this.cityIdControl.value))
101
101
  .pipe(takeUntilDestroyed(this.destroyRef))
102
102
  .subscribe((city) => {
103
- this.countryControl.patchValue(city.region.country);
104
- this.regionControl.patchValue(city.region);
105
- this.cityControl.patchValue(city);
106
103
  this.canSelectCountry.set(city.region.country.id !== this.russiaCountryId);
104
+ setTimeout(() => {
105
+ this.countryControl.patchValue(city.region.country);
106
+ this.regionControl.patchValue(city.region);
107
+ this.cityControl.patchValue(city);
108
+ });
107
109
  });
108
110
  }
109
111
  this.countryControl.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((country) => {
@@ -152,4 +154,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
152
154
  type: Inject,
153
155
  args: [FormGroupDirective]
154
156
  }] }, { type: i1.ScLocationsService }] });
155
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtYWRkcmVzc2VzLXNlbGVjdGlvbi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jbGllbnQtdWkvZm9ybS1maWVsZHMvYWRkcmVzc2VzLXNlbGVjdGlvbi1maWVsZC9zYy1hZGRyZXNzZXMtc2VsZWN0aW9uLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9mb3JtLWZpZWxkcy9hZGRyZXNzZXMtc2VsZWN0aW9uLWZpZWxkL3NjLWFkZHJlc3Nlcy1zZWxlY3Rpb24tZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJ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AgICAgICAgICAgICAgICAgICB0aGlzLmNvdW50cnlDb250cm9sLnBhdGNoVmFsdWUoY2l0eS5yZWdpb24uY291bnRyeSk7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMucmVnaW9uQ29udHJvbC5wYXRjaFZhbHVlKGNpdHkucmVnaW9uKTtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5jaXR5Q29udHJvbC5wYXRjaFZhbHVlKGNpdHkpO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmNhblNlbGVjdENvdW50cnkuc2V0KGNpdHkucmVnaW9uLmNvdW50cnkuaWQgIT09IHRoaXMucnVzc2lhQ291bnRyeUlkKTtcbiAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuY291bnRyeUNvbnRyb2wudmFsdWVDaGFuZ2VzLnBpcGUodGFrZVVudGlsRGVzdHJveWVkKHRoaXMuZGVzdHJveVJlZikpLnN1YnNjcmliZSgoY291bnRyeSkgPT4ge1xuICAgICAgICAgICAgdGhpcy5yZWdpb25Db250cm9sLnJlc2V0KG51bGwpO1xuICAgICAgICAgICAgdGhpcy5jaXR5Q29udHJvbC5yZXNldChudWxsKTtcbiAgICAgICAgICAgIGlmIChjb3VudHJ5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZWdpb25Db250cm9sLmVuYWJsZSgpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLnJlZ2lvbkNvbnRyb2wuZGlzYWJsZSgpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgdGhpcy5jaXR5Q29udHJvbC5kaXNhYmxlKCk7XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMucmVnaW9uQ29udHJvbC52YWx1ZUNoYW5nZXMucGlwZSh0YWtlVW50aWxEZXN0cm95ZWQodGhpcy5kZXN0cm95UmVmKSkuc3Vic2NyaWJlKChyZWdpb24pID0+IHtcbiAgICAgICAgICAgIHRoaXMuY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ZGl2IGNsYXNzPVwiZ3JpZCBpdGVtcy1zdGFydCBnYXAtNCBzbTpncmlkLWNvbHMtMlwiPlxuICAgIDxsYWJlbCB0dWlMYWJlbD5cbiAgICAgICAg0KDQtdCz0LjQvtC9XG4gICAgICAgIDx0dWktY29tYm8tYm94XG4gICAgICAgICAgICAqdHVpTGV0PVwiKHJlZ2lvbnMkIHwgYXN5bmMpID8/IFtdIGFzIHJlZ2lvbnNcIlxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cInJlZ2lvbkNvbnRyb2xcIlxuICAgICAgICAgICAgW3N0cmluZ2lmeV09XCJzdHJpbmdpZnlcIlxuICAgICAgICA+XG4gICAgICAgICAgICDQoNC10LPQuNC+0L1cbiAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgIHR1aVRleHRmaWVsZExlZ2FjeVxuICAgICAgICAgICAgICAgIGF1dG9jYXBpdGFsaXplPVwib2ZmXCJcbiAgICAgICAgICAgICAgICBhdXRvY29tcGxldGU9XCJvZmZcIlxuICAgICAgICAgICAgICAgIGF1dG9jb3JyZWN0PVwib2ZmXCJcbiAgICAgICAgICAgICAgICBhdXRvY29tcGxldGU9XCJuZXctcGFzc3dvcmRcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIDx0dWktZGF0YS1saXN0LXdyYXBwZXJcbiAgICAgICAgICAgICAgICAqdHVpRGF0YUxpc3RcbiAgICAgICAgICAgICAgICBbaXRlbUNvbnRlbnRdPVwic3RyaW5naWZ5IHwgdHVpU3RyaW5naWZ5Q29udGVudFwiXG4gICAgICAgICAgICAgICAgW2l0ZW1zXT1cInJlZ2lvbnMgfCB0dWlGaWx0ZXJCeUlucHV0XCJcbiAgICAgICAgICAgID48L3R1aS1kYXRhLWxpc3Qtd3JhcHBlcj5cbiAgICAgICAgPC90dWktY29tYm8tYm94PlxuICAgICAgICA8dHVpLWVycm9yXG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwicmVnaW9uQ29udHJvbFwiXG4gICAgICAgICAgICBbZXJyb3JdPVwiW10gfCB0dWlGaWVsZEVycm9yIHwgYXN5bmNcIlxuICAgICAgICA+PC90dWktZXJyb3I+XG4gICAgPC9sYWJlbD5cbiAgICA8bGFiZWwgdHVpTGFiZWw+XG4gICAgICAgINCT0L7RgNC+0LRcbiAgICAgICAgPHR1aS1jb21iby1ib3hcbiAgICAgICAgICAgICp0dWlMZXQ9XCIoY2l0aWVzJCB8IGFzeW5jKSA/PyBbXSBhcyBjaXRpZXNcIlxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImNpdHlDb250cm9sXCJcbiAgICAgICAgICAgIFtzdHJpbmdpZnldPVwic3RyaW5naWZ5XCJcbiAgICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cIm9uU2VsZWN0ZWRDaXR5KCRldmVudClcIlxuICAgICAgICA+XG4gICAgICAgICAgICDQk9C+0YDQvtC0XG4gICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICB0dWlUZXh0ZmllbGRMZWdhY3lcbiAgICAgICAgICAgICAgICBhdXRvY2FwaXRhbGl6ZT1cIm9mZlwiXG4gICAgICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgICAgICBhdXRvY29ycmVjdD1cIm9mZlwiXG4gICAgICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwibmV3LXBhc3N3b3JkXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8dHVpLWRhdGEtbGlzdC13cmFwcGVyXG4gICAgICAgICAgICAgICAgKnR1aURhdGFMaXN0XG4gICAgICAgICAgICAgICAgW2l0ZW1Db250ZW50XT1cInN0cmluZ2lmeSB8IHR1aVN0cmluZ2lmeUNvbnRlbnRcIlxuICAgICAgICAgICAgICAgIFtpdGVtc109XCJjaXRpZXMgfCB0dWlGaWx0ZXJCeUlucHV0XCJcbiAgICAgICAgICAgID48L3R1aS1kYXRhLWxpc3Qtd3JhcHBlcj5cbiAgICAgICAgPC90dWktY29tYm8tYm94PlxuICAgICAgICA8dHVpLWVycm9yXG4gICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiY2l0eUlkQ29udHJvbFwiXG4gICAgICAgICAgICBbZXJyb3JdPVwiW10gfCB0dWlGaWVsZEVycm9yIHwgYXN5bmNcIlxuICAgICAgICA+PC90dWktZXJyb3I+XG4gICAgICAgIDx0dWktZXJyb3JcbiAgICAgICAgICAgICpuZ0lmPVwiY2l0eUlkQ29udHJvbC51bnRvdWNoZWRcIlxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImNpdHlDb250cm9sXCJcbiAgICAgICAgICAgIFtlcnJvcl09XCJbXSB8IHR1aUZpZWxkRXJyb3IgfCBhc3luY1wiXG4gICAgICAgID48L3R1aS1lcnJvcj5cbiAgICA8L2xhYmVsPlxuPC9kaXY+XG4iXX0=
157
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtYWRkcmVzc2VzLXNlbGVjdGlvbi1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jbGllbnQtdWkvZm9ybS1maWVsZHMvYWRkcmVzc2VzLXNlbGVjdGlvbi1maWVsZC9zYy1hZGRyZXNzZXMtc2VsZWN0aW9uLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9mb3JtLWZpZWxkcy9hZGRyZXNzZXMtc2VsZWN0aW9uLWZpZWxkL3NjLWFkZHJlc3Nlcy1zZWxlY3Rpb24tZmllbGQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUdBQW1HO0FBRW5HLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxNQUFN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ZXQoY2l0eS5yZWdpb24uY291bnRyeS5pZCAhPT0gdGhpcy5ydXNzaWFDb3VudHJ5SWQpO1xuICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuY291bnRyeUNvbnRyb2wucGF0Y2hWYWx1ZShjaXR5LnJlZ2lvbi5jb3VudHJ5KTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMucmVnaW9uQ29udHJvbC5wYXRjaFZhbHVlKGNpdHkucmVnaW9uKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuY2l0eUNvbnRyb2wucGF0Y2hWYWx1ZShjaXR5KTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmNvdW50cnlDb250cm9sLnZhbHVlQ2hhbmdlcy5waXBlKHRha2VVbnRpbERlc3Ryb3llZCh0aGlzLmRlc3Ryb3lSZWYpKS5zdWJzY3JpYmUoKGNvdW50cnkpID0+IHtcbiAgICAgICAgICAgIHRoaXMucmVnaW9uQ29udHJvbC5yZXNldChudWxsKTtcbiAgICAgICAgICAgIHRoaXMuY2l0eUNvbnRyb2wucmVzZXQobnVsbCk7XG5cbiAgICAgICAgICAgIGlmIChjb3VudHJ5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5yZWdpb25Db250cm9sLmVuYWJsZSgpO1xuICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLnJlZ2lvbkNvbnRyb2wuZGlzYWJsZSgpO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICB0aGlzLmNpdHlDb250cm9sLmRpc2FibGUoKTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgdGhpcy5yZWdpb25Db250cm9sLnZhbHVlQ2hhbmdlcy5waXBlKHRha2VVbnRpbERlc3Ryb3llZCh0aGlzLmRlc3Ryb3l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Db250cm9sKTtcbiAgICAgICAgfVxuICAgIH1cbn1cbiIsIjxsYWJlbFxuICAgICpuZ0lmPVwiY2FuU2VsZWN0Q291bnRyeSgpXCJcbiAgICB0dWlMYWJlbFxuICAgIGNsYXNzPVwibWItMlwiXG4+XG4gICAg0KHRgtGA0LDQvdCwXG4gICAgPHR1aS1jb21iby1ib3hcbiAgICAgICAgKnR1aUxldD1cIihjb3VudHJpZXMkIHwgYXN5bmMpID8/IFtdIGFzIGNvdW50cmllc1wiXG4gICAgICAgIFtmb3JtQ29udHJvbF09XCJjb3VudHJ5Q29udHJvbFwiXG4gICAgICAgIFtzdHJpbmdpZnldPVwic3RyaW5naWZ5XCJcbiAgICA+XG4gICAgICAgINCh0YLRgNCw0L3QsFxuICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgIHR1aVRleHRmaWVsZExlZ2FjeVxuICAgICAgICAgICAgYXV0b2NhcGl0YWxpemU9XCJvZmZcIlxuICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgIGF1dG9jb3JyZWN0PVwib2ZmXCJcbiAgICAgICAgICAgIGF1dG9jb21wbGV0ZT1cIm5ldy1wYXNzd29yZFwiXG4gICAgICAgIC8+XG4gICAgICAgIDx0dWktZGF0YS1saXN0LXdyYXBwZXJcbiAgICAgICAgICAgICp0dWlEYXRhTGlzdFxuICAgICAgICAgICAgW2l0ZW1Db250ZW50XT1cInN0cmluZ2lmeSB8IHR1aVN0cmluZ2lmeUNvbnRlbnRcIlxuICAgICAgICAgICAgW2l0ZW1zXT1cImNvdW50cmllcyB8IHR1aUZpbHRlckJ5SW5wdXRcIlxuICAgICAgICA+PC90dWktZGF0YS1saXN0LXdyYXBwZXI+XG4gICAgPC90dWktY29tYm8tYm94PlxuICAgIDx0dWktZXJyb3JcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImNvdW50cnlDb250cm9sXCJcbiAgICAgICAgW2Vycm9yXT1cIltdIHwgdHVpRmllbGRFcnJvciB8IGFzeW5jXCJcbiAgICA+PC90dWktZXJyb3I+XG48L2xhYmVsPlxuPGRpdiBjbGFzcz1cImdyaWQgaXRlbXMtc3RhcnQgZ2FwLTQgc206Z3JpZC1jb2xzLTJcIj5cbiAgICA8bGFiZWwgdHVpTGFiZWw+XG4gICAgICAgINCg0LXQs9C40L7QvVxuICAgICAgICA8dHVpLWNvbWJvLWJveFxuICAgICAgICAgICAgKnR1aUxldD1cIihyZWdpb25zJCB8IGFzeW5jKSA/PyBbXSBhcyByZWdpb25zXCJcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJyZWdpb25Db250cm9sXCJcbiAgICAgICAgICAgIFtzdHJpbmdpZnldPVwic3RyaW5naWZ5XCJcbiAgICAgICAgPlxuICAgICAgICAgICAg0KDQtdCz0LjQvtC9XG4gICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICB0dWlUZXh0ZmllbGRMZWdhY3lcbiAgICAgICAgICAgICAgICBhdXRvY2FwaXRhbGl6ZT1cIm9mZlwiXG4gICAgICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgICAgICBhdXRvY29ycmVjdD1cIm9mZlwiXG4gICAgICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwibmV3LXBhc3N3b3JkXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8dHVpLWRhdGEtbGlzdC13cmFwcGVyXG4gICAgICAgICAgICAgICAgKnR1aURhdGFMaXN0XG4gICAgICAgICAgICAgICAgW2l0ZW1Db250ZW50XT1cInN0cmluZ2lmeSB8IHR1aVN0cmluZ2lmeUNvbnRlbnRcIlxuICAgICAgICAgICAgICAgIFtpdGVtc109XCJyZWdpb25zIHwgdHVpRmlsdGVyQnlJbnB1dFwiXG4gICAgICAgICAgICA+PC90dWktZGF0YS1saXN0LXdyYXBwZXI+XG4gICAgICAgIDwvdHVpLWNvbWJvLWJveD5cbiAgICAgICAgPHR1aS1lcnJvclxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cInJlZ2lvbkNvbnRyb2xcIlxuICAgICAgICAgICAgW2Vycm9yXT1cIltdIHwgdHVpRmllbGRFcnJvciB8IGFzeW5jXCJcbiAgICAgICAgPjwvdHVpLWVycm9yPlxuICAgIDwvbGFiZWw+XG4gICAgPGxhYmVsIHR1aUxhYmVsPlxuICAgICAgICDQk9C+0YDQvtC0XG4gICAgICAgIDx0dWktY29tYm8tYm94XG4gICAgICAgICAgICAqdHVpTGV0PVwiKGNpdGllcyQgfCBhc3luYykgPz8gW10gYXMgY2l0aWVzXCJcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJjaXR5Q29udHJvbFwiXG4gICAgICAgICAgICBbc3RyaW5naWZ5XT1cInN0cmluZ2lmeVwiXG4gICAgICAgICAgICAobmdNb2RlbENoYW5nZSk9XCJvblNlbGVjdGVkQ2l0eSgkZXZlbnQpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAg0JPQvtGA0L7QtFxuICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgdHVpVGV4dGZpZWxkTGVnYWN5XG4gICAgICAgICAgICAgICAgYXV0b2NhcGl0YWxpemU9XCJvZmZcIlxuICAgICAgICAgICAgICAgIGF1dG9jb21wbGV0ZT1cIm9mZlwiXG4gICAgICAgICAgICAgICAgYXV0b2NvcnJlY3Q9XCJvZmZcIlxuICAgICAgICAgICAgICAgIGF1dG9jb21wbGV0ZT1cIm5ldy1wYXNzd29yZFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPHR1aS1kYXRhLWxpc3Qtd3JhcHBlclxuICAgICAgICAgICAgICAgICp0dWlEYXRhTGlzdFxuICAgICAgICAgICAgICAgIFtpdGVtQ29udGVudF09XCJzdHJpbmdpZnkgfCB0dWlTdHJpbmdpZnlDb250ZW50XCJcbiAgICAgICAgICAgICAgICBbaXRlbXNdPVwiY2l0aWVzIHwgdHVpRmlsdGVyQnlJbnB1dFwiXG4gICAgICAgICAgICA+PC90dWktZGF0YS1saXN0LXdyYXBwZXI+XG4gICAgICAgIDwvdHVpLWNvbWJvLWJveD5cbiAgICAgICAgPHR1aS1lcnJvclxuICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImNpdHlJZENvbnRyb2xcIlxuICAgICAgICAgICAgW2Vycm9yXT1cIltdIHwgdHVpRmllbGRFcnJvciB8IGFzeW5jXCJcbiAgICAgICAgPjwvdHVpLWVycm9yPlxuICAgICAgICA8dHVpLWVycm9yXG4gICAgICAgICAgICAqbmdJZj1cImNpdHlJZENvbnRyb2wudW50b3VjaGVkXCJcbiAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJjaXR5Q29udHJvbFwiXG4gICAgICAgICAgICBbZXJyb3JdPVwiW10gfCB0dWlGaWVsZEVycm9yIHwgYXN5bmNcIlxuICAgICAgICA+PC90dWktZXJyb3I+XG4gICAgPC9sYWJlbD5cbjwvZGl2PlxuIl19
@@ -2040,10 +2040,12 @@ class ScAddressesSelectionFieldComponent {
2040
2040
  .getCityById$(Number(this.cityIdControl.value))
2041
2041
  .pipe(takeUntilDestroyed(this.destroyRef))
2042
2042
  .subscribe((city) => {
2043
- this.countryControl.patchValue(city.region.country);
2044
- this.regionControl.patchValue(city.region);
2045
- this.cityControl.patchValue(city);
2046
2043
  this.canSelectCountry.set(city.region.country.id !== this.russiaCountryId);
2044
+ setTimeout(() => {
2045
+ this.countryControl.patchValue(city.region.country);
2046
+ this.regionControl.patchValue(city.region);
2047
+ this.cityControl.patchValue(city);
2048
+ });
2047
2049
  });
2048
2050
  }
2049
2051
  this.countryControl.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((country) => {