@snabcentr/client-ui 3.8.3 → 3.8.5

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.

Potentially problematic release.


This version of @snabcentr/client-ui might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "3.8.3",
3
+ "version": "3.8.5",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -0,0 +1,2 @@
1
+ export * from './questions-and-answers/questions-and-answers.component';
2
+ export * from './questions-and-answers/sc-i-qa-info';
@@ -0,0 +1,18 @@
1
+ import { Observable } from 'rxjs';
2
+ import { ScIQAInfo } from './sc-i-qa-info';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Компонент "Вопросы-ответы".
6
+ */
7
+ export declare class QuestionsAndAnswersComponent {
8
+ /**
9
+ * {@link Observable} изменения Email для связи по вопросам рекламаций.
10
+ */
11
+ protected readonly reclamationsEmail$: Observable<string | undefined>;
12
+ /**
13
+ * Данные для страницы "Вопросы-ответы"
14
+ */
15
+ protected readonly data: ScIQAInfo;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuestionsAndAnswersComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuestionsAndAnswersComponent, "app-questions-and-answers", never, {}, {}, never, never, true, never>;
18
+ }
@@ -11,9 +11,11 @@ export declare class ScFormatePhonePipe implements PipeTransform {
11
11
  * Преобразует строковое значение номера телефона.
12
12
  *
13
13
  * @param value Строка, содержащая номер телефона.
14
+ * @param format Формат возвращаемого значения. `normal` - удобочитаемое представление номера телефона, `clean` - очищенное от лишних символов представление номера телефона, `cleanWithPlus` - очищенное от лишних символов представление номера телефона с `+` в начале.
15
+ *
14
16
  * @returns Отформатированный номер телефона, если он валиден, или исходное значение, если он невалиден.
15
17
  */
16
- transform(value: string): string;
18
+ transform(value: string, format?: 'normal' | 'clean' | 'cleanWithPlus'): string;
17
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ScFormatePhonePipe, never>;
18
20
  static ɵpipe: i0.ɵɵPipeDeclaration<ScFormatePhonePipe, "scFormatePhone", true>;
19
21
  }
package/public-api.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './loader';
16
16
  export * from './brands-list';
17
17
  export * from './news';
18
18
  export * from './order';
19
+ export * from './pages';
19
20
  export * from './pipes';
20
21
  export * from './samples';
21
22
  export * from './providers';
package/release_notes.tmp CHANGED
@@ -1,6 +1,6 @@
1
- ## 3.8.3 (2024-12-24)
1
+ ## 3.8.5 (2024-12-26)
2
2
 
3
- ### fixed (1 change)
3
+ ### changed (1 change)
4
4
 
5
- - [#10731: Исправлена ошибка отображения страницы 404](web_soft/libs/angular/snabcentr-client-ui-lib@f08beaa68919c1af48b4aa2bda66c30762ec8b45) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!206))
5
+ - [#10899: Доработан pipe для форматирования номера телефона.](web_soft/libs/angular/snabcentr-client-ui-lib@dadaba214f46dd95a015e2435ffa4d6312568932) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!208))
6
6