@snabcentr/client-ui 3.27.2 → 3.27.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.
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +3 -3
- package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +3 -3
- package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +3 -3
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +26 -8
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +1 -1
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +3 -3
- package/fesm2022/snabcentr-client-ui.mjs +38 -21
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +17 -9
- package/package.json +2 -2
- package/release_notes.tmp +4 -7
@@ -9,30 +9,38 @@ import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
10
10
|
private readonly formGroupDirective;
|
11
11
|
private readonly locationsService;
|
12
|
+
/**
|
13
|
+
* Флаг возможности выбора страны.
|
14
|
+
*/
|
15
|
+
readonly canSelectCountry: import("@angular/core").ModelSignal<boolean>;
|
16
|
+
/**
|
17
|
+
* Идентификатор текущей страны системы.
|
18
|
+
*/
|
19
|
+
private readonly russiaCountryId;
|
12
20
|
/**
|
13
21
|
* FormControl для поля страны.
|
14
22
|
*/
|
15
|
-
countryControl: FormControl<ScICountry | null>;
|
23
|
+
protected readonly countryControl: FormControl<ScICountry | null>;
|
16
24
|
/**
|
17
25
|
* FormControl для поля региона.
|
18
26
|
*/
|
19
|
-
regionControl: FormControl<ScIRegion | null>;
|
27
|
+
protected readonly regionControl: FormControl<ScIRegion | null>;
|
20
28
|
/**
|
21
29
|
* FormControl для поля города.
|
22
30
|
*/
|
23
|
-
cityControl: FormControl<ScICity | null>;
|
31
|
+
protected cityControl: FormControl<ScICity | null>;
|
24
32
|
/**
|
25
33
|
* {@link Observable} изменения списка стран.
|
26
34
|
*/
|
27
|
-
countries$: Observable<ScICountry[] | null>;
|
35
|
+
protected countries$: Observable<ScICountry[] | null>;
|
28
36
|
/**
|
29
37
|
* {@link Observable} изменения списка регионов.
|
30
38
|
*/
|
31
|
-
regions$: Observable<ScIRegion[] | null>;
|
39
|
+
protected regions$: Observable<ScIRegion[] | null>;
|
32
40
|
/**
|
33
41
|
* {@link Observable} изменения списка городов.
|
34
42
|
*/
|
35
|
-
cities$: Observable<ScICity[] | null>;
|
43
|
+
protected cities$: Observable<ScICity[] | null>;
|
36
44
|
/**
|
37
45
|
* Ссылка для автоматического управления уничтожением зависимостей.
|
38
46
|
*/
|
@@ -43,7 +51,7 @@ export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
|
43
51
|
* @param item Выбранный объект выпадающего списка.
|
44
52
|
* @param item.name Название страны/региона/города, которое будет отображено в поле.
|
45
53
|
*/
|
46
|
-
readonly stringify: (item: {
|
54
|
+
protected readonly stringify: (item: {
|
47
55
|
name: string;
|
48
56
|
}) => string;
|
49
57
|
/**
|
@@ -64,7 +72,7 @@ export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
|
64
72
|
*
|
65
73
|
* @param city Идентификатор записи города.
|
66
74
|
*/
|
67
|
-
onSelectedCity(city: ScICity | null): void;
|
75
|
+
protected onSelectedCity(city: ScICity | null): void;
|
68
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScAddressesSelectionFieldComponent, [{ skipSelf: true; }, null]>;
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddressesSelectionFieldComponent, "sc-addresses-selection-field", never, {}, {}, never, never, false, never>;
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAddressesSelectionFieldComponent, "sc-addresses-selection-field", never, { "canSelectCountry": { "alias": "canSelectCountry"; "required": false; "isSignal": true; }; }, { "canSelectCountry": "canSelectCountryChange"; }, never, never, false, never>;
|
70
78
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "3.27.
|
3
|
+
"version": "3.27.4",
|
4
4
|
"author": "Snabcentr Ltd.",
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
6
6
|
"license": "Commercial",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"@maskito/core": "^3.2.0",
|
16
16
|
"@ng-web-apis/intersection-observer": "^4.11.1",
|
17
17
|
"@ng-web-apis/common": "^4.11.1",
|
18
|
-
"@snabcentr/client-core": "^2.
|
18
|
+
"@snabcentr/client-core": "^2.50.0",
|
19
19
|
"@taiga-ui/addon-charts": "^4.24.0",
|
20
20
|
"@taiga-ui/addon-commerce": "^4.24.0",
|
21
21
|
"@taiga-ui/cdk": "^4.24.0",
|
package/release_notes.tmp
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
## 3.27.
|
1
|
+
## 3.27.4 (2025-05-22)
|
2
2
|
|
3
|
-
###
|
3
|
+
### fixed (2 changes)
|
4
4
|
|
5
|
-
- [#
|
6
|
-
|
7
|
-
### fixed (1 change)
|
8
|
-
|
9
|
-
- [#11579: Исправлена ошибка зависимостей из-за которой не работает новый API обратной связи](web_soft/libs/angular/snabcentr-client-ui-lib@0b862762ab54253beac2f922b49d2fd841a00ab7) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!276))
|
5
|
+
- [#11637: Исправлено некорректное форматирование даты.](web_soft/libs/angular/snabcentr-client-ui-lib@d5a5c67938920d9c5cd80dea7d0b48a099223b45) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!278))
|
6
|
+
- [#11618: Исправлена ошибка при выборе типа клиента "ИП". ](web_soft/libs/angular/snabcentr-client-ui-lib@19510a1996479f103b5ea731cb87da0519c6717d) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!277))
|
10
7
|
|