@snabcentr/client-ui 3.35.0 → 3.37.0
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/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +2 -0
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +26 -12
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +23 -9
- package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +3 -3
- package/esm2022/verification/index.mjs +2 -1
- package/esm2022/verification/providers/index.mjs +3 -0
- package/esm2022/verification/providers/sc-phone-approve-code-sender.provider.mjs +12 -0
- package/esm2022/verification/providers/sc-phone-approve-code-sender.token.mjs +7 -0
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +27 -9
- package/fesm2022/snabcentr-client-ui.mjs +93 -32
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/release_notes.tmp +3 -3
- package/verification/index.d.ts +1 -0
- package/verification/providers/index.d.ts +2 -0
- package/verification/providers/sc-phone-approve-code-sender.provider.d.ts +6 -0
- package/verification/providers/sc-phone-approve-code-sender.token.d.ts +7 -0
- package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +4 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.37.0",
|
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": "^
|
18
|
+
"@snabcentr/client-core": "^3.0.0",
|
19
19
|
"@taiga-ui/addon-charts": "^4.41.0",
|
20
20
|
"@taiga-ui/addon-commerce": "^4.41.0",
|
21
21
|
"@taiga-ui/cdk": "^4.41.0",
|
package/release_notes.tmp
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
## 3.
|
1
|
+
## 3.37.0 (2025-08-05)
|
2
2
|
|
3
|
-
###
|
3
|
+
### added (1 change)
|
4
4
|
|
5
|
-
- [#
|
5
|
+
- [#11982: Обновлены компоненты аутентификации для поддержки нового API Keycloak.](web_soft/libs/angular/snabcentr-client-ui-lib@e354d9b75eff1fda7ad6dcaa25031e4588a5212b) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!304))
|
6
6
|
|
package/verification/index.d.ts
CHANGED
@@ -0,0 +1,7 @@
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
2
|
+
import { Observable } from 'rxjs';
|
3
|
+
/**
|
4
|
+
* Токен для получения кода подтверждения телефона.
|
5
|
+
* Позволяет подключать внешнюю логику получения кода подтверждения.
|
6
|
+
*/
|
7
|
+
export declare const SC_PHONE_APPROVE_CODE_SENDER: InjectionToken<(phoneNumber: string) => Observable<void>>;
|
package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts
CHANGED
@@ -23,6 +23,10 @@ export declare class ScVerificationPhoneCheckFormComponent implements OnInit {
|
|
23
23
|
* Сервис верификации.
|
24
24
|
*/
|
25
25
|
protected readonly verificationService: ScVerificationService;
|
26
|
+
/**
|
27
|
+
* Функция отправки кода подтверждения телефона.
|
28
|
+
*/
|
29
|
+
protected readonly sendPhoneApproveCode: (phoneNumber: string) => Observable<void>;
|
26
30
|
/**
|
27
31
|
* Директива c `FormGroup` из DOM.
|
28
32
|
*/
|