@snabcentr/client-ui 2.6.2 → 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
- package/catalog/categories-list/sc-categories-list.component.d.ts +7 -6
- package/catalog/price-card/sc-price-card.component.d.ts +10 -0
- package/catalog/sc-catalog.module.d.ts +1 -1
- package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +19 -7
- package/esm2022/catalog/categories-list/sc-categories-list.component.mjs +13 -12
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +19 -6
- package/esm2022/catalog/sc-catalog.module.mjs +10 -5
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +16 -2
- package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +15 -27
- package/fesm2022/snabcentr-client-ui.mjs +79 -58
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +5 -14
- package/package.json +1 -1
- package/release_notes.tmp +6 -2
- package/styles/tailwind/tailwind.scss +7 -7
@@ -1,12 +1,12 @@
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
2
|
-
import { ScCartItem, ScProduct
|
2
|
+
import { ScCartItem, ScProduct } from '@snabcentr/client-core';
|
3
3
|
import { TuiPreviewDialogService } from '@taiga-ui/kit';
|
4
|
+
import { AbstractScPriceCard } from '../../directives';
|
4
5
|
import * as i0 from "@angular/core";
|
5
6
|
/**
|
6
7
|
* Компонент карточки элемента заказа.
|
7
8
|
*/
|
8
|
-
export declare class ScOrderItemMobileComponent {
|
9
|
-
readonly unitsHelper: ScUnitsHelper;
|
9
|
+
export declare class ScOrderItemMobileComponent extends AbstractScPriceCard {
|
10
10
|
private readonly previewDialogService;
|
11
11
|
/**
|
12
12
|
* Ссылка на представление спецификации.
|
@@ -16,25 +16,16 @@ export declare class ScOrderItemMobileComponent {
|
|
16
16
|
* Элемент заказа.
|
17
17
|
*/
|
18
18
|
orderItem?: ScCartItem;
|
19
|
-
/**
|
20
|
-
* Событие нажатия на карточку.
|
21
|
-
*/
|
22
|
-
clickCardEvent: EventEmitter<void>;
|
23
19
|
/**
|
24
20
|
* Событие нажатия на дополнительные действия.
|
25
21
|
*/
|
26
22
|
clickActionsEvent: EventEmitter<void>;
|
27
|
-
/**
|
28
|
-
* Хелпер для работы с изображениями товара.
|
29
|
-
*/
|
30
|
-
private readonly imageHelper;
|
31
23
|
/**
|
32
24
|
* Инициирует экземпляр класса {@link ScOrderItemMobileComponent}.
|
33
25
|
*
|
34
|
-
* @param unitsHelper Объект-хэлпер для работы со значениями единиц измерения товара.
|
35
26
|
* @param previewDialogService Сервис диалогового окна предварительного просмотра.
|
36
27
|
*/
|
37
|
-
constructor(
|
28
|
+
constructor(previewDialogService: TuiPreviewDialogService);
|
38
29
|
/**
|
39
30
|
* Продукт элемента заказа.
|
40
31
|
*/
|
@@ -50,5 +41,5 @@ export declare class ScOrderItemMobileComponent {
|
|
50
41
|
*/
|
51
42
|
getCardImage(product: ScProduct): string;
|
52
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemMobileComponent, never>;
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": { "alias": "orderItem"; "required": false; }; }, { "
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": { "alias": "orderItem"; "required": false; }; }, { "clickActionsEvent": "clickActionsEvent"; }, never, never, false, never>;
|
54
45
|
}
|
package/package.json
CHANGED
package/release_notes.tmp
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
## 2.6.
|
1
|
+
## 2.6.4 (2024-11-15)
|
2
|
+
|
3
|
+
### changed (1 change)
|
4
|
+
|
5
|
+
- [#10636: Доработаны ссылки компонентов](web_soft/libs/angular/snabcentr-client-ui-lib@64dbaf15ab1b4c1001e58390ae137f15bebc269e) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!184))
|
2
6
|
|
3
7
|
### fixed (1 change)
|
4
8
|
|
5
|
-
- [#
|
9
|
+
- [#10649: Доработано поведение наведения на плитку товара](web_soft/libs/angular/snabcentr-client-ui-lib@c9f2a2946401b6d9d9f2180f83cac75354da8cf2) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!183))
|
6
10
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
}
|
108
108
|
|
109
109
|
/*
|
110
|
-
! tailwindcss v3.4.
|
110
|
+
! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com
|
111
111
|
*/
|
112
112
|
|
113
113
|
/*
|
@@ -1242,7 +1242,7 @@ video {
|
|
1242
1242
|
|
1243
1243
|
.bg-white {
|
1244
1244
|
--tw-bg-opacity: 1;
|
1245
|
-
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
1245
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
1246
1246
|
}
|
1247
1247
|
|
1248
1248
|
.bg-gradient-to-r {
|
@@ -1477,12 +1477,12 @@ video {
|
|
1477
1477
|
|
1478
1478
|
.\!text-green-500 {
|
1479
1479
|
--tw-text-opacity: 1 !important;
|
1480
|
-
color: rgb(34 197 94 / var(--tw-text-opacity)) !important;
|
1480
|
+
color: rgb(34 197 94 / var(--tw-text-opacity, 1)) !important;
|
1481
1481
|
}
|
1482
1482
|
|
1483
1483
|
.\!text-red-500 {
|
1484
1484
|
--tw-text-opacity: 1 !important;
|
1485
|
-
color: rgb(239 68 68 / var(--tw-text-opacity)) !important;
|
1485
|
+
color: rgb(239 68 68 / var(--tw-text-opacity, 1)) !important;
|
1486
1486
|
}
|
1487
1487
|
|
1488
1488
|
.\!text-tui-base-08 {
|
@@ -1491,12 +1491,12 @@ video {
|
|
1491
1491
|
|
1492
1492
|
.\!text-yellow-500 {
|
1493
1493
|
--tw-text-opacity: 1 !important;
|
1494
|
-
color: rgb(234 179 8 / var(--tw-text-opacity)) !important;
|
1494
|
+
color: rgb(234 179 8 / var(--tw-text-opacity, 1)) !important;
|
1495
1495
|
}
|
1496
1496
|
|
1497
1497
|
.text-black {
|
1498
1498
|
--tw-text-opacity: 1;
|
1499
|
-
color: rgb(0 0 0 / var(--tw-text-opacity));
|
1499
|
+
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
1500
1500
|
}
|
1501
1501
|
|
1502
1502
|
.text-tui-base-05 {
|
@@ -1537,7 +1537,7 @@ video {
|
|
1537
1537
|
|
1538
1538
|
.text-white {
|
1539
1539
|
--tw-text-opacity: 1;
|
1540
|
-
color: rgb(255 255 255 / var(--tw-text-opacity));
|
1540
|
+
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
|
1541
1541
|
}
|
1542
1542
|
|
1543
1543
|
.underline {
|