@snabcentr/client-ui 3.8.7 → 3.8.9
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/esm2022/samples/ask-to-sample-form/sc-ask-to-sample-form.component.mjs +8 -25
- package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +1 -1
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +3 -3
- package/fesm2022/snabcentr-client-ui.mjs +8 -25
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/release_notes.tmp +2 -6
- package/samples/ask-to-sample-form/sc-ask-to-sample-form.component.d.ts +4 -12
- package/samples/interfaces/sc-i-preview-sample.d.ts +21 -17
package/package.json
CHANGED
package/release_notes.tmp
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
## 3.8.
|
|
1
|
+
## 3.8.9 (2025-01-13)
|
|
2
2
|
|
|
3
3
|
### changed (1 change)
|
|
4
4
|
|
|
5
|
-
- [#
|
|
6
|
-
|
|
7
|
-
### added (1 change)
|
|
8
|
-
|
|
9
|
-
- [#10856: Добавлены и изменены значки](web_soft/libs/angular/snabcentr-client-ui-lib@8b21564237128894e66a5bff3164501a7c00b7f9) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!209))
|
|
5
|
+
- [#10351: Обновлена разметка и модель данных описаний подоконников.](web_soft/libs/angular/snabcentr-client-ui-lib@73aeec5abf0a375028f9bd3a5d0925fef51281b1) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!212))
|
|
10
6
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
1
|
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
2
|
import { ScISuggestionType } from '@snabcentr/client-core';
|
|
4
3
|
import { Observable, Subject } from 'rxjs';
|
|
@@ -6,11 +5,11 @@ import * as i0 from "@angular/core";
|
|
|
6
5
|
/**
|
|
7
6
|
* Компонент формы запроса бесплатного образца.
|
|
8
7
|
*/
|
|
9
|
-
export declare class ScAskToSampleFormComponent
|
|
8
|
+
export declare class ScAskToSampleFormComponent {
|
|
10
9
|
/**
|
|
11
|
-
* Сервис
|
|
10
|
+
* Сервис обратной связи.
|
|
12
11
|
*/
|
|
13
|
-
private readonly
|
|
12
|
+
private readonly feedbackService;
|
|
14
13
|
/**
|
|
15
14
|
* Сервис данных о пользователе.
|
|
16
15
|
*/
|
|
@@ -23,10 +22,6 @@ export declare class ScAskToSampleFormComponent implements OnInit {
|
|
|
23
22
|
* Поле ввода для recaptcha.
|
|
24
23
|
*/
|
|
25
24
|
readonly recaptchaControl: FormControl<string | null>;
|
|
26
|
-
/**
|
|
27
|
-
* Наименование формы, с которой отправляется запрос.
|
|
28
|
-
*/
|
|
29
|
-
formName?: 'order-sample' | 'buy-products';
|
|
30
25
|
/**
|
|
31
26
|
* Группа полей ввода для формы «Пожелания и предложения по улучшению сайта».
|
|
32
27
|
*/
|
|
@@ -34,7 +29,6 @@ export declare class ScAskToSampleFormComponent implements OnInit {
|
|
|
34
29
|
name: FormControl<string | null>;
|
|
35
30
|
phone: FormControl<string | null>;
|
|
36
31
|
email: FormControl<string | null>;
|
|
37
|
-
description: FormControl<string | null>;
|
|
38
32
|
recaptcha: FormControl<null>;
|
|
39
33
|
}>;
|
|
40
34
|
/**
|
|
@@ -53,8 +47,6 @@ export declare class ScAskToSampleFormComponent implements OnInit {
|
|
|
53
47
|
* {@link Observable} изменения состояния загрузки данных.
|
|
54
48
|
*/
|
|
55
49
|
readonly loading$: Observable<boolean>;
|
|
56
|
-
/** @inheritdoc */
|
|
57
|
-
ngOnInit(): void;
|
|
58
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScAskToSampleFormComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScAskToSampleFormComponent, "sc-ask-to-sample-form", never, {
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAskToSampleFormComponent, "sc-ask-to-sample-form", never, {}, {}, never, never, false, never>;
|
|
60
52
|
}
|
|
@@ -22,26 +22,30 @@ export interface ScIPreviewSample {
|
|
|
22
22
|
* Ссылка на изображение в галерее, соответствующее кнопке.
|
|
23
23
|
*/
|
|
24
24
|
carouselItemImage: string;
|
|
25
|
-
}>;
|
|
26
|
-
/**
|
|
27
|
-
* Ссылка на изображение товара в описании.
|
|
28
|
-
*/
|
|
29
|
-
descriptionImageUrl?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Элементы кнопок взаимодействия.
|
|
32
|
-
*/
|
|
33
|
-
actions?: Array<{
|
|
34
25
|
/**
|
|
35
|
-
*
|
|
26
|
+
* Наименование цвета образца.
|
|
36
27
|
*/
|
|
37
|
-
|
|
28
|
+
color: string;
|
|
38
29
|
/**
|
|
39
|
-
*
|
|
30
|
+
* Элементы кнопок взаимодействия.
|
|
40
31
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
32
|
+
actions?: Array<{
|
|
33
|
+
/**
|
|
34
|
+
* Значок элемента взаимодействия.
|
|
35
|
+
*/
|
|
36
|
+
icon: string;
|
|
37
|
+
/**
|
|
38
|
+
* Подпись элемента взаимодействия.
|
|
39
|
+
*/
|
|
40
|
+
label: string;
|
|
41
|
+
/**
|
|
42
|
+
* Обработчик элемента взаимодействия.
|
|
43
|
+
*/
|
|
44
|
+
handler: (...atr: unknown[]) => unknown;
|
|
45
|
+
}>;
|
|
46
46
|
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Ссылка на изображение товара в описании.
|
|
49
|
+
*/
|
|
50
|
+
descriptionImageUrl?: string;
|
|
47
51
|
}
|