@snabcentr/client-ui 1.6.2 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/contacts/sc-contacts.module.d.ts +3 -1
- package/directives/index.d.ts +1 -0
- package/directives/tel-link/sc-tel-link.directive.d.ts +27 -0
- package/directives/tel-link/sc-tel-link.module.d.ts +11 -0
- package/esm2020/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +5 -3
- package/esm2020/contacts/sc-contacts.module.mjs +9 -7
- package/esm2020/directives/index.mjs +2 -1
- package/esm2020/directives/tel-link/sc-tel-link.directive.mjs +58 -0
- package/esm2020/directives/tel-link/sc-tel-link.module.mjs +20 -0
- package/esm2020/form-fields/suggestion-field/sc-suggestion-field.component.mjs +16 -7
- package/esm2020/pipes/index.mjs +2 -0
- package/esm2020/pipes/sc-formatted-phone.mjs +34 -0
- package/esm2020/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +7 -5
- package/esm2020/profile/sc-profile.module.mjs +8 -7
- package/esm2020/public-api.mjs +2 -1
- package/esm2020/user/sc-user.module.mjs +7 -6
- package/esm2020/user/user-managers/sc-user-managers.component.mjs +5 -3
- package/fesm2015/snabcentr-client-ui.mjs +140 -29
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
- package/fesm2020/snabcentr-client-ui.mjs +139 -28
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
- package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +4 -0
- package/package.json +1 -1
- package/pipes/index.d.ts +1 -0
- package/pipes/sc-formatted-phone.d.ts +19 -0
- package/profile/sc-profile.module.d.ts +2 -1
- package/public-api.d.ts +1 -0
- package/styles/tailwind/tailwind.scss +1 -1
- package/user/sc-user.module.d.ts +2 -1
@@ -29,6 +29,10 @@ export declare class ScSuggestionFieldComponent implements OnInit {
|
|
29
29
|
* Перечисление типов подсказок.
|
30
30
|
*/
|
31
31
|
readonly suggestionType: typeof ScISuggestionType;
|
32
|
+
/**
|
33
|
+
* Компонент обёртка выпадающего списка.
|
34
|
+
*/
|
35
|
+
private readonly host;
|
32
36
|
/**
|
33
37
|
* Инициализирует экземпляр класса {@link ScSuggestionFieldComponent}.
|
34
38
|
*
|
package/package.json
CHANGED
package/pipes/index.d.ts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './sc-formatted-phone';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* Пайп для форматирования номера телефона.
|
5
|
+
*
|
6
|
+
* Если переданный номер телефона валиден, он будет отформатирован с использованием метода `formatPhoneNumber` сервиса `ScPhoneService`.
|
7
|
+
* Если номер невалиден, возвращается исходное значение.
|
8
|
+
*/
|
9
|
+
export declare class ScFormatePhonePipe implements PipeTransform {
|
10
|
+
/**
|
11
|
+
* Преобразует строковое значение номера телефона.
|
12
|
+
*
|
13
|
+
* @param value Строка, содержащая номер телефона.
|
14
|
+
* @returns Отформатированный номер телефона, если он валиден, или исходное значение, если он невалиден.
|
15
|
+
*/
|
16
|
+
transform(value: string): string;
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScFormatePhonePipe, never>;
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ScFormatePhonePipe, "scFormatePhone", true>;
|
19
|
+
}
|
@@ -11,11 +11,12 @@ import * as i9 from "@taiga-ui/kit";
|
|
11
11
|
import * as i10 from "@angular/forms";
|
12
12
|
import * as i11 from "../contacts/sc-contacts.module";
|
13
13
|
import * as i12 from "../directives/terminal-link/sc-terminal-link.directive";
|
14
|
+
import * as i13 from "../directives/tel-link/sc-tel-link.module";
|
14
15
|
/**
|
15
16
|
* Модуль профиля пользователя.
|
16
17
|
*/
|
17
18
|
export declare class ScProfileModule {
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScProfileModule, never>;
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScProfileModule, [typeof i1.ScProfileAccordionsContentComponent], [typeof i2.CommonModule, typeof i3.ScUserModule, typeof i4.ScAccordionModule, typeof i5.ScContragentsModule, typeof i6.ScDeliveryAddressModule, typeof i7.TuiLoaderModule, typeof i8.TuiLetModule, typeof i7.TuiLinkModule, typeof
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScProfileModule, [typeof i1.ScProfileAccordionsContentComponent], [typeof i2.CommonModule, typeof i3.ScUserModule, typeof i4.ScAccordionModule, typeof i5.ScContragentsModule, typeof i6.ScDeliveryAddressModule, typeof i7.TuiLoaderModule, typeof i8.TuiLetModule, typeof i7.TuiLinkModule, typeof i9.TuiCheckboxLabeledModule, typeof i7.TuiSvgModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i7.TuiLoaderModule, typeof i7.TuiButtonModule, typeof i11.ScContactsModule, typeof i12.ScTerminalLinkDirective, typeof i13.ScTelLinkModule], [typeof i1.ScProfileAccordionsContentComponent]>;
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScProfileModule>;
|
21
22
|
}
|
package/public-api.d.ts
CHANGED
package/user/sc-user.module.d.ts
CHANGED
@@ -11,11 +11,12 @@ import * as i9 from "@taiga-ui/cdk";
|
|
11
11
|
import * as i10 from "../verification/sc-verification.module";
|
12
12
|
import * as i11 from "../form-fields/form-fields.module";
|
13
13
|
import * as i12 from "../directives/terminal-link/sc-terminal-link.directive";
|
14
|
+
import * as i13 from "../directives/tel-link/sc-tel-link.module";
|
14
15
|
/**
|
15
16
|
* Модуль компонентов пользователя.
|
16
17
|
*/
|
17
18
|
export declare class ScUserModule {
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScUserModule, never>;
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipeModule, typeof i7.TuiInputPasswordModule, typeof i8.TuiButtonModule, typeof i8.TuiErrorModule, typeof i8.TuiLabelModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiLetModule, typeof i10.ScVerificationModule, typeof i11.ScFormFieldsModule, typeof i8.TuiLoaderModule, typeof i7.TuiInputModule, typeof i7.TuiInputPhoneModule, typeof i7.TuiCheckboxModule, typeof i7.TuiCheckboxLabeledModule, typeof i8.TuiDataListModule, typeof i7.TuiSelectModule, typeof i8.TuiLinkModule, typeof
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipeModule, typeof i7.TuiInputPasswordModule, typeof i8.TuiButtonModule, typeof i8.TuiErrorModule, typeof i8.TuiLabelModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiLetModule, typeof i10.ScVerificationModule, typeof i11.ScFormFieldsModule, typeof i8.TuiLoaderModule, typeof i7.TuiInputModule, typeof i7.TuiInputPhoneModule, typeof i7.TuiCheckboxModule, typeof i7.TuiCheckboxLabeledModule, typeof i8.TuiDataListModule, typeof i7.TuiSelectModule, typeof i8.TuiLinkModule, typeof i12.ScTerminalLinkDirective, typeof i13.ScTelLinkModule], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScUserModule>;
|
21
22
|
}
|