@snabcentr/client-ui 4.15.1 → 4.16.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.
- package/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.d.ts +8 -0
- package/catalog/price-history/sc-price-history.component.d.ts +4 -0
- package/catalog/sc-catalog.module.d.ts +1 -1
- package/configurators/sandwich/sc-sandwich.component.d.ts +4 -0
- package/configurators/sandwich_m2/sc-sandwich-m2.component.d.ts +8 -0
- package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -6
- package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +22 -18
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +7 -6
- package/esm2022/catalog/price-history/sc-price-history.component.mjs +9 -5
- package/esm2022/catalog/sc-catalog.module.mjs +5 -3
- package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +11 -6
- package/esm2022/configurators/sandwich_m2/sc-sandwich-m2.component.mjs +19 -11
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +6 -14
- package/esm2022/order/order-item/sc-order-item.component.mjs +8 -4
- package/esm2022/order/order-items-list/sc-order-items-list.component.mjs +9 -5
- package/esm2022/validators/step-validator.mjs +4 -4
- package/fesm2022/snabcentr-client-ui.mjs +80 -57
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/order/order-item/sc-order-item.component.d.ts +4 -0
- package/order/order-items-list/sc-order-items-list.component.d.ts +4 -0
- package/package.json +2 -2
- package/release_notes.tmp +4 -2
- package/validators/step-validator.d.ts +1 -2
|
@@ -14,6 +14,10 @@ export declare class ScOrderItemComponent extends AbstractScPriceCard {
|
|
|
14
14
|
* Событие нажатия на кнопку редактирования конфигурации.
|
|
15
15
|
*/
|
|
16
16
|
readonly clickSettings: OutputEmitterRef<void>;
|
|
17
|
+
/**
|
|
18
|
+
* Настройки вывода сумм в рублях.
|
|
19
|
+
*/
|
|
20
|
+
protected readonly moneyFormat: Partial<import("@taiga-ui/core").TuiNumberFormatSettings>;
|
|
17
21
|
/**
|
|
18
22
|
* Сервис диалогового окна предварительного просмотра.
|
|
19
23
|
*/
|
|
@@ -52,6 +52,10 @@ export declare class ScOrderItemsListComponent {
|
|
|
52
52
|
* Признак, что можно редактировать позиции.
|
|
53
53
|
*/
|
|
54
54
|
protected readonly canEdit: import("@angular/core").Signal<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* Настройки вывода сумм в рублях.
|
|
57
|
+
*/
|
|
58
|
+
protected readonly moneyFormat: Partial<import("@taiga-ui/core").TuiNumberFormatSettings>;
|
|
55
59
|
/**
|
|
56
60
|
* Ссылка для автоматического управления уничтожением зависимостей.
|
|
57
61
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snabcentr/client-ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.16.0",
|
|
4
4
|
"author": "Snabcentr Ltd.",
|
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
|
6
6
|
"license": "Commercial",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@maskito/core": "^3.11.1",
|
|
17
17
|
"@ng-web-apis/intersection-observer": "^4.14.0",
|
|
18
18
|
"@ng-web-apis/common": "^4.14.0",
|
|
19
|
-
"@snabcentr/client-core": "^3.
|
|
19
|
+
"@snabcentr/client-core": "^3.23.3",
|
|
20
20
|
"@taiga-ui/addon-charts": "^4.66.0",
|
|
21
21
|
"@taiga-ui/addon-commerce": "^4.66.0",
|
|
22
22
|
"@taiga-ui/cdk": "^4.66.0",
|
package/release_notes.tmp
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
## 4.
|
|
1
|
+
## 4.16.0 (2026-10-05)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### added (1 change)
|
|
4
|
+
|
|
5
|
+
- [#14012: Подключена client-core 3.23.3 с помощником для работы с дробными числами](web_soft/libs/angular/snabcentr-client-ui-lib@16c38063ab06ff242bfa6c8207f4b0670bf1a9f7) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!456))
|
|
4
6
|
|
|
@@ -3,6 +3,5 @@ import { ValidatorFn } from '@angular/forms';
|
|
|
3
3
|
* Проверяет кратность значения.
|
|
4
4
|
*
|
|
5
5
|
* @param step Шаг кратности.
|
|
6
|
-
* @param precision Точность, количество чисел после запятой.
|
|
7
6
|
*/
|
|
8
|
-
export declare function stepValidator(step: number
|
|
7
|
+
export declare function stepValidator(step: number): ValidatorFn;
|