@snabcentr/client-ui 1.13.0 → 1.14.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.
Potentially problematic release.
This version of @snabcentr/client-ui might be problematic. Click here for more details.
- package/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +9 -5
- package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +15 -17
- package/esm2020/order/order-item-mobile/sc-order-item-mobile.component.mjs +15 -19
- package/fesm2015/snabcentr-client-ui.mjs +24 -32
- package/fesm2015/snabcentr-client-ui.mjs.map +1 -1
- package/fesm2020/snabcentr-client-ui.mjs +24 -30
- package/fesm2020/snabcentr-client-ui.mjs.map +1 -1
- package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +9 -7
- package/package.json +2 -2
- package/release_notes.tmp +7 -5
- package/styles/tailwind/tailwind.scss +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
-
import { ScCartItem,
|
2
|
+
import { ScCartItem, ScProduct, ScUnitsHelper } from '@snabcentr/client-core';
|
3
3
|
import { TuiPreviewDialogService } from '@taiga-ui/addon-preview';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
/**
|
@@ -8,8 +8,6 @@ import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ScOrderItemMobileComponent {
|
9
9
|
readonly unitsHelper: ScUnitsHelper;
|
10
10
|
private readonly previewDialogService;
|
11
|
-
private readonly urls;
|
12
|
-
private readonly pathImageNotFound;
|
13
11
|
/**
|
14
12
|
* Ссылка на представление спецификации.
|
15
13
|
*/
|
@@ -26,15 +24,17 @@ export declare class ScOrderItemMobileComponent {
|
|
26
24
|
* Событие нажатия на дополнительные действия.
|
27
25
|
*/
|
28
26
|
clickActionsEvent: EventEmitter<void>;
|
27
|
+
/**
|
28
|
+
* Хелпер для работы с изображениями товара.
|
29
|
+
*/
|
30
|
+
private readonly imageHelper;
|
29
31
|
/**
|
30
32
|
* Инициирует экземпляр класса {@link ScOrderItemMobileComponent}.
|
31
33
|
*
|
32
34
|
* @param unitsHelper Объект-хэлпер для работы со значениями единиц измерения товара.
|
33
35
|
* @param previewDialogService Сервис диалогового окна предварительного просмотра.
|
34
|
-
* @param urls Список ссылок на разделы backend'a.
|
35
|
-
* @param pathImageNotFound Путь до изображения 'Товар не найден'.
|
36
36
|
*/
|
37
|
-
constructor(unitsHelper: ScUnitsHelper, previewDialogService: TuiPreviewDialogService
|
37
|
+
constructor(unitsHelper: ScUnitsHelper, previewDialogService: TuiPreviewDialogService);
|
38
38
|
/**
|
39
39
|
* Продукт элемента заказа.
|
40
40
|
*/
|
@@ -45,8 +45,10 @@ export declare class ScOrderItemMobileComponent {
|
|
45
45
|
showSpecification(): void;
|
46
46
|
/**
|
47
47
|
* Возвращает ссылку на изображение карточки товара.
|
48
|
+
*
|
49
|
+
* @param product Позиция товара/услуги.
|
48
50
|
*/
|
49
|
-
getCardImage(): string;
|
51
|
+
getCardImage(product: ScProduct): string;
|
50
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemMobileComponent, never>;
|
51
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": "orderItem"; }, { "clickCardEvent": "clickCardEvent"; "clickActionsEvent": "clickActionsEvent"; }, never, never, false>;
|
52
54
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.14.0",
|
4
4
|
"author": "Snabcentr Ltd.",
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
6
6
|
"license": "Commercial",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"@ng-web-apis/intersection-observer": ">=3.2.0",
|
20
20
|
"@ng-web-apis/storage": ">=3.0.6",
|
21
21
|
"@ngneat/until-destroy": ">=9.2.3",
|
22
|
-
"@snabcentr/client-core": "
|
22
|
+
"@snabcentr/client-core": "^1.11.0",
|
23
23
|
"ng-recaptcha": ">=10.0.0",
|
24
24
|
"angular8-yandex-maps": ">=14.0.4",
|
25
25
|
"angularx-qrcode": ">=14.0.0",
|
package/release_notes.tmp
CHANGED
@@ -1,10 +1,12 @@
|
|
1
|
-
## 1.
|
1
|
+
## 1.14.0 (2024-10-22)
|
2
2
|
|
3
|
-
### added (1 change)
|
3
|
+
### added, fixed, changed, deprecated, removed, security, performance, other (1 change)
|
4
4
|
|
5
|
-
- [#
|
5
|
+
- [#9538: Исправлена вёрстка товаров в корзине, файлов и документов.](web_soft/libs/angular/snabcentr-client-ui-lib@c0e93f408c424f59e1d1def2fc6d2b4583cc0003) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!170))
|
6
6
|
|
7
|
-
###
|
7
|
+
### changed (3 changes)
|
8
8
|
|
9
|
-
- [#
|
9
|
+
- [#9538: Доработана палитра и значки](web_soft/libs/angular/snabcentr-client-ui-lib@38639c15c03116640be7f34de5b5c16d28ea87d8) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!162))
|
10
|
+
- [#9538: Обновлены зависимости](web_soft/libs/angular/snabcentr-client-ui-lib@e44ffe88aef088cfde6aebcf060a78d58cfffa98) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!159))
|
11
|
+
- [#9538: Обновлены библиотеки Angular до 18 и Taiga-UI до 4.5.0](web_soft/libs/angular/snabcentr-client-ui-lib@2946ae34059d89ffc305aabc0cc3ae21382fffa7) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!155))
|
10
12
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
}
|
108
108
|
|
109
109
|
/*
|
110
|
-
! tailwindcss v3.4.
|
110
|
+
! tailwindcss v3.4.14 | MIT License | https://tailwindcss.com
|
111
111
|
*/
|
112
112
|
|
113
113
|
/*
|
@@ -550,7 +550,7 @@ video {
|
|
550
550
|
|
551
551
|
/* Make elements with the HTML hidden attribute stay hidden by default */
|
552
552
|
|
553
|
-
[hidden] {
|
553
|
+
[hidden]:where(:not([hidden="until-found"])) {
|
554
554
|
display: none;
|
555
555
|
}
|
556
556
|
|