@snabcentr/client-ui 3.3.1 → 3.4.6
Sign up to get free protection for your applications and to get access to all the features.
- package/banner/sc-banner.component.d.ts +1 -1
- package/catalog/category-card/sc-category-card.component.d.ts +3 -7
- package/catalog/cost-with-discount/cost-with-discount.component.d.ts +2 -2
- package/catalog/index.d.ts +1 -2
- package/catalog/price-card/sc-price-card.component.d.ts +6 -2
- package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +2 -2
- package/catalog/sc-catalog.module.d.ts +13 -14
- package/catalog/{sc-favorite-btn/sc-favorite-btn.component.d.ts → sc-favorite-button/sc-favorite-button.component.d.ts} +3 -3
- package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +1 -1
- package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +2 -2
- package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +2 -2
- package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +3 -3
- package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +1 -1
- package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +2 -2
- package/esm2022/accordion/sc-accordion-content.directive.mjs +4 -4
- package/esm2022/accordion/sc-accordion.component.mjs +4 -4
- package/esm2022/accordion/sc-accordion.module.mjs +5 -5
- package/esm2022/auth/sc-auth.module.mjs +5 -5
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +5 -4
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +5 -4
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +4 -4
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +8 -5
- package/esm2022/banner/sc-banner.component.mjs +8 -6
- package/esm2022/banner/sc-banner.module.mjs +5 -5
- package/esm2022/brands-list/sc-brands-list.component.mjs +4 -4
- package/esm2022/brands-list/sc-brands-list.module.mjs +5 -5
- package/esm2022/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +4 -4
- package/esm2022/cart/sc-cart.module.mjs +5 -5
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +10 -15
- package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +5 -5
- package/esm2022/catalog/hover-image-carousel/hover-image-carousel.component.mjs +4 -4
- package/esm2022/catalog/index.mjs +2 -3
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +5 -5
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +21 -6
- package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +6 -6
- package/esm2022/catalog/price-history/sc-price-history.component.mjs +4 -4
- package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +4 -4
- package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +6 -6
- package/esm2022/catalog/sc-catalog.module.mjs +6 -11
- package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +42 -0
- package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +5 -4
- package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +6 -6
- package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +5 -5
- package/esm2022/contacts/sc-contacts.module.mjs +5 -5
- package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +5 -4
- package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +9 -6
- package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +5 -5
- package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +6 -6
- package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +5 -5
- package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +13 -8
- package/esm2022/contragents/sc-contragents.module.mjs +5 -5
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +7 -6
- package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +6 -6
- package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +6 -6
- package/esm2022/delivery-address/sc-delivery-address.module.mjs +5 -5
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +4 -4
- package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +4 -4
- package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +5 -5
- package/esm2022/directives/tel-link/sc-tel-link.directive.mjs +4 -4
- package/esm2022/directives/tel-link/sc-tel-link.module.mjs +5 -5
- package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +4 -4
- package/esm2022/files/directives/tree-top.directive.mjs +4 -4
- package/esm2022/files/directives/tree.directive.mjs +5 -5
- package/esm2022/files/file-tree-item/file-tree-item.component.mjs +4 -4
- package/esm2022/files/files-and-documents/files-and-documents.component.mjs +4 -4
- package/esm2022/files/files-and-documents.module.mjs +5 -5
- package/esm2022/files/services/tree-icon.service.mjs +4 -4
- package/esm2022/files/services/tree-loader.service.mjs +7 -5
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +16 -7
- package/esm2022/form-fields/form-fields.module.mjs +5 -5
- package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +4 -4
- package/esm2022/helpers/sc-px-converter.mjs +5 -5
- package/esm2022/masks/sc-account-number-mask.mjs +2 -2
- package/esm2022/masks/sc-bic-mask.mjs +2 -2
- package/esm2022/masks/sc-correspondent-account-mask.mjs +2 -2
- package/esm2022/masks/sc-inn-mask.mjs +3 -3
- package/esm2022/masks/sc-kpp-mask.mjs +2 -2
- package/esm2022/masks/sc-okpo-mask.mjs +3 -3
- package/esm2022/masks/sc-phone-verification-code-mask.mjs +2 -2
- package/esm2022/news/news-card/sc-news-card.component.mjs +4 -4
- package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +4 -4
- package/esm2022/news/sc-news.module.mjs +5 -5
- package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +4 -4
- package/esm2022/order/sc-order.module.mjs +5 -5
- package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +5 -5
- package/esm2022/pipes/sc-formatted-phone.mjs +4 -4
- package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +6 -6
- package/esm2022/profile/sc-profile.module.mjs +5 -5
- package/esm2022/providers/index.mjs +2 -2
- package/esm2022/providers/sc-user-providers.mjs +27 -0
- package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +4 -4
- package/esm2022/qrcode/sc-qrcode.module.mjs +5 -5
- package/esm2022/samples/ask-to-sample-form/sc-ask-to-sample-form.component.mjs +5 -5
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +5 -5
- package/esm2022/samples/sc-sample.module.mjs +5 -5
- package/esm2022/share-button/sc-share-button.component.mjs +4 -4
- package/esm2022/share-button/sc-share-button.module.mjs +5 -5
- package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +9 -5
- package/esm2022/user/sc-user.module.mjs +5 -5
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +6 -5
- package/esm2022/user/user-managers/sc-user-managers.component.mjs +4 -4
- package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +7 -6
- package/esm2022/validators/index.mjs +4 -4
- package/esm2022/validators/sc-bic-validator.mjs +10 -0
- package/esm2022/validators/sc-correspondent-account-validator.mjs +10 -0
- package/esm2022/validators/step-validator.mjs +18 -0
- package/esm2022/verification/sc-verification.module.mjs +5 -5
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +5 -5
- package/fesm2022/snabcentr-client-ui.mjs +387 -421
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/files/directives/tree.directive.d.ts +6 -6
- package/files/services/tree-loader.service.d.ts +1 -1
- package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -1
- package/news/news-card/sc-news-card.component.d.ts +1 -1
- package/package.json +28 -27
- package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +2 -2
- package/providers/index.d.ts +1 -1
- package/release_notes.tmp +14 -2
- package/samples/ask-to-sample-form/sc-ask-to-sample-form.component.d.ts +1 -1
- package/styles/tailwind/tailwind.scss +15 -102
- package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +1 -1
- package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +1 -1
- package/validators/index.d.ts +3 -3
- package/validators/{scBicValidator.d.ts → sc-bic-validator.d.ts} +3 -0
- package/validators/{scCorrespondentAccountValidator.d.ts → sc-correspondent-account-validator.d.ts} +3 -0
- package/catalog/categories-list/sc-categories-list.component.d.ts +0 -54
- package/esm2022/catalog/categories-list/sc-categories-list.component.mjs +0 -93
- package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +0 -42
- package/esm2022/providers/scUserProviders.mjs +0 -27
- package/esm2022/validators/scBicValidator.mjs +0 -7
- package/esm2022/validators/scCorrespondentAccountValidator.mjs +0 -7
- package/esm2022/validators/stepValidator.mjs +0 -18
- /package/providers/{scUserProviders.d.ts → sc-user-providers.d.ts} +0 -0
- /package/validators/{stepValidator.d.ts → step-validator.d.ts} +0 -0
@@ -11,12 +11,6 @@ export declare class TreeDirective {
|
|
11
11
|
* Карта данных дерева.
|
12
12
|
*/
|
13
13
|
map: Map<TreeNode, boolean>;
|
14
|
-
/**
|
15
|
-
* Инициализирует экземпляр класса {@link TreeDirective}.
|
16
|
-
*
|
17
|
-
* @param service Сервис для работы с деревом.
|
18
|
-
*/
|
19
|
-
constructor(service: TuiTreeService<TreeNode>);
|
20
14
|
/**
|
21
15
|
* Проверяет указанный элемент дерева на наличие дочерних элементов и возвращает массив дочерних элементов, если они есть, либо пустой массив.
|
22
16
|
*
|
@@ -24,6 +18,12 @@ export declare class TreeDirective {
|
|
24
18
|
* @returns Возвращает массив типа TreeNode[].
|
25
19
|
*/
|
26
20
|
childrenHandler: TuiHandler<TreeNode, readonly TreeNode[]>;
|
21
|
+
/**
|
22
|
+
* Инициализирует экземпляр класса {@link TreeDirective}.
|
23
|
+
*
|
24
|
+
* @param service Сервис для работы с деревом.
|
25
|
+
*/
|
26
|
+
constructor(service: TuiTreeService<TreeNode>);
|
27
27
|
/**
|
28
28
|
* Обрабатывает нажатие на указанный элемент дерева.
|
29
29
|
*
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ScFilesService } from '@snabcentr/client-core';
|
2
2
|
import { TuiTreeLoader } from '@taiga-ui/kit';
|
3
3
|
import { Observable } from 'rxjs';
|
4
|
-
import { TreeIconService } from './tree-icon.service';
|
5
4
|
import { TreeNode } from '../interfaces/tree-node';
|
5
|
+
import { TreeIconService } from './tree-icon.service';
|
6
6
|
import * as i0 from "@angular/core";
|
7
7
|
/**
|
8
8
|
* Сервис для асинхронного раскрытия вложенности.
|
@@ -62,7 +62,6 @@ export declare class ScAddressesSelectionFieldComponent implements OnInit {
|
|
62
62
|
/**
|
63
63
|
* Заполнение полей банковских реквизитов на основе выбранной подсказки.
|
64
64
|
*
|
65
|
-
* @param suggestion Объект подсказки по банку.
|
66
65
|
* @param city Идентификатор записи города.
|
67
66
|
*/
|
68
67
|
onSelectedCity(city: ScICity | null): void;
|
package/package.json
CHANGED
@@ -1,39 +1,40 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.4.6",
|
4
4
|
"author": "Snabcentr Ltd.",
|
5
5
|
"repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
|
6
6
|
"license": "Commercial",
|
7
7
|
"description": "Snabcentr client UI package.",
|
8
8
|
"peerDependencies": {
|
9
|
-
"@angular/common": "
|
10
|
-
"@angular/compiler": "
|
11
|
-
"@angular/core": "
|
12
|
-
"@angular/forms": "
|
13
|
-
"@
|
14
|
-
"@maskito/
|
15
|
-
"@
|
16
|
-
"@
|
17
|
-
"@
|
18
|
-
"@taiga-ui/addon-
|
19
|
-
"@taiga-ui/
|
20
|
-
"@taiga-ui/
|
21
|
-
"@taiga-ui/
|
22
|
-
"@taiga-ui/
|
23
|
-
"@taiga-ui/
|
24
|
-
"@taiga-ui/
|
25
|
-
"@taiga-ui/
|
26
|
-
"@taiga-ui/
|
27
|
-
"@taiga-ui/
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
9
|
+
"@angular/common": "^18.2.12",
|
10
|
+
"@angular/compiler": "^18.2.12",
|
11
|
+
"@angular/core": "^18.2.12",
|
12
|
+
"@angular/forms": "^18.2.12",
|
13
|
+
"@angular/router": "^18.2.12",
|
14
|
+
"@maskito/angular": "^3.2.0",
|
15
|
+
"@maskito/core": "^3.2.0",
|
16
|
+
"@ng-web-apis/intersection-observer": "^4.11.1",
|
17
|
+
"@snabcentr/client-core": "^2.10.3",
|
18
|
+
"@taiga-ui/addon-charts": "^4.16.0",
|
19
|
+
"@taiga-ui/addon-commerce": "^4.16.0",
|
20
|
+
"@taiga-ui/cdk": "^4.16.0",
|
21
|
+
"@taiga-ui/core": "^4.16.0",
|
22
|
+
"@taiga-ui/event-plugins": "^4.3.1",
|
23
|
+
"@taiga-ui/icons": "^4.16.0",
|
24
|
+
"@taiga-ui/kit": "^4.16.0",
|
25
|
+
"@taiga-ui/layout": "^4.16.0",
|
26
|
+
"@taiga-ui/legacy": "^4.16.0",
|
27
|
+
"@taiga-ui/polymorpheus": "^4.7.4",
|
28
|
+
"@taiga-ui/styles": "^4.16.0",
|
29
|
+
"ng-recaptcha-2": "^14.0.0",
|
30
|
+
"angular8-yandex-maps": "^18.2.0",
|
31
|
+
"angularx-qrcode": "^18.0.2",
|
32
|
+
"rxjs": "^7.8.1",
|
33
|
+
"schema-dts": "^1.1.2",
|
34
|
+
"zone.js": "~0.14.10"
|
34
35
|
},
|
35
36
|
"dependencies": {
|
36
|
-
"tslib": "
|
37
|
+
"tslib": "^2.8.1"
|
37
38
|
},
|
38
39
|
"sideEffects": false,
|
39
40
|
"module": "fesm2022/snabcentr-client-ui.mjs",
|
@@ -108,14 +108,14 @@ export declare class ScProfileAccordionsContentComponent {
|
|
108
108
|
/**
|
109
109
|
* Инициализирует экземпляр класса {@link ScProfileComponent}.
|
110
110
|
*
|
111
|
-
* @param user$ Поток
|
111
|
+
* @param user$ Поток данных о текущем пользователе.
|
112
112
|
* @param locationsService Сервис для получения списков стран, регионов, городов.
|
113
113
|
* @param userService Сервис данных о пользователе.
|
114
114
|
* @param verificationService Сервис верификации.
|
115
115
|
*/
|
116
116
|
constructor(user$: Observable<ScUser>, locationsService: ScLocationsService, userService: ScUserService, verificationService: ScVerificationService);
|
117
117
|
/**
|
118
|
-
* Создает запрос получения
|
118
|
+
* Создает запрос получения данных о городе текущего пользователя по идентификатору города.
|
119
119
|
*
|
120
120
|
* @param cityId Идентификатор записи города.
|
121
121
|
*/
|
package/providers/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from './
|
1
|
+
export * from './sc-user-providers';
|
package/release_notes.tmp
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
-
## 3.
|
1
|
+
## 3.4.6 (2024-11-26)
|
2
2
|
|
3
|
-
|
3
|
+
### fixed (1 change)
|
4
|
+
|
5
|
+
- [#10710: Исправлено выравнивание контента в плитке товара](web_soft/libs/angular/snabcentr-client-ui-lib@8cf75ffdcfcbe392757856704e009d3f96856ca8) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!192))
|
6
|
+
|
7
|
+
### added (1 change)
|
8
|
+
|
9
|
+
- [#10694: Добавлен фон горизонтальной плитки товара при наведении](web_soft/libs/angular/snabcentr-client-ui-lib@86e652628879584326ee46f16a541bb19932bf64) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!193))
|
10
|
+
|
11
|
+
### changed (3 changes)
|
12
|
+
|
13
|
+
- [#10693, #10698: Доработаны карточки товара](web_soft/libs/angular/snabcentr-client-ui-lib@677bc07cfb9639c5db5a75d514d9ca0337572f15) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!191))
|
14
|
+
- [#10489: Удалён компонент списка категорий, доработана карточка категорий](web_soft/libs/angular/snabcentr-client-ui-lib@dbda0009e6a87f427e56b713d923f4120ba90cd4) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!190))
|
15
|
+
- [#10501: Доработан appearance кнопок удаления товара в плитках, добавлен...](web_soft/libs/angular/snabcentr-client-ui-lib@aa85a6ac3ea474e8bba774984ab1d04db04f7e18) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!189))
|
4
16
|
|
@@ -12,7 +12,7 @@ export declare class ScAskToSampleFormComponent implements OnInit {
|
|
12
12
|
*/
|
13
13
|
private readonly samplesService;
|
14
14
|
/**
|
15
|
-
* Сервис
|
15
|
+
* Сервис данных о пользователе.
|
16
16
|
*/
|
17
17
|
readonly user$: Observable<import("@snabcentr/client-core").ScUser>;
|
18
18
|
/**
|
@@ -746,6 +746,10 @@ video {
|
|
746
746
|
margin-bottom: 2rem;
|
747
747
|
}
|
748
748
|
|
749
|
+
.mb-auto {
|
750
|
+
margin-bottom: auto;
|
751
|
+
}
|
752
|
+
|
749
753
|
.ml-2 {
|
750
754
|
margin-left: 0.5rem;
|
751
755
|
}
|
@@ -754,14 +758,6 @@ video {
|
|
754
758
|
margin-right: 0.5rem;
|
755
759
|
}
|
756
760
|
|
757
|
-
.mr-auto {
|
758
|
-
margin-right: auto;
|
759
|
-
}
|
760
|
-
|
761
|
-
.mt-1 {
|
762
|
-
margin-top: 0.25rem;
|
763
|
-
}
|
764
|
-
|
765
761
|
.mt-2 {
|
766
762
|
margin-top: 0.5rem;
|
767
763
|
}
|
@@ -781,10 +777,6 @@ video {
|
|
781
777
|
display: inline;
|
782
778
|
}
|
783
779
|
|
784
|
-
.\!flex {
|
785
|
-
display: flex !important;
|
786
|
-
}
|
787
|
-
|
788
780
|
.flex {
|
789
781
|
display: flex;
|
790
782
|
}
|
@@ -833,11 +825,6 @@ video {
|
|
833
825
|
height: 1.5rem;
|
834
826
|
}
|
835
827
|
|
836
|
-
.size-8 {
|
837
|
-
width: 2rem;
|
838
|
-
height: 2rem;
|
839
|
-
}
|
840
|
-
|
841
828
|
.size-full {
|
842
829
|
width: 100%;
|
843
830
|
height: 100%;
|
@@ -851,18 +838,10 @@ video {
|
|
851
838
|
height: 1rem !important;
|
852
839
|
}
|
853
840
|
|
854
|
-
.\!h-8 {
|
855
|
-
height: 2rem !important;
|
856
|
-
}
|
857
|
-
|
858
841
|
.h-10 {
|
859
842
|
height: 2.5rem;
|
860
843
|
}
|
861
844
|
|
862
|
-
.h-11 {
|
863
|
-
height: 2.75rem;
|
864
|
-
}
|
865
|
-
|
866
845
|
.h-12 {
|
867
846
|
height: 3rem;
|
868
847
|
}
|
@@ -911,8 +890,8 @@ video {
|
|
911
890
|
max-height: 100%;
|
912
891
|
}
|
913
892
|
|
914
|
-
|
915
|
-
|
893
|
+
.min-h-8 {
|
894
|
+
min-height: 2rem;
|
916
895
|
}
|
917
896
|
|
918
897
|
.w-12 {
|
@@ -1029,14 +1008,6 @@ video {
|
|
1029
1008
|
resize: both;
|
1030
1009
|
}
|
1031
1010
|
|
1032
|
-
.grid-cols-\[repeat\(auto-fill\2c minmax\(21rem\2c 1fr\)\)\] {
|
1033
|
-
grid-template-columns: repeat(auto-fill,minmax(21rem,1fr));
|
1034
|
-
}
|
1035
|
-
|
1036
|
-
.\!flex-col {
|
1037
|
-
flex-direction: column !important;
|
1038
|
-
}
|
1039
|
-
|
1040
1011
|
.flex-col {
|
1041
1012
|
flex-direction: column;
|
1042
1013
|
}
|
@@ -1210,18 +1181,10 @@ video {
|
|
1210
1181
|
background-color: var(--tui-background-base-alt);
|
1211
1182
|
}
|
1212
1183
|
|
1213
|
-
.bg-tui-base-03 {
|
1214
|
-
background-color: var(--tui-background-neutral-1-hover);
|
1215
|
-
}
|
1216
|
-
|
1217
1184
|
.bg-tui-base-04 {
|
1218
1185
|
background-color: var(--tui-border-normal);
|
1219
1186
|
}
|
1220
1187
|
|
1221
|
-
.bg-tui-primary {
|
1222
|
-
background-color: var(--tui-background-accent-1);
|
1223
|
-
}
|
1224
|
-
|
1225
1188
|
.bg-white {
|
1226
1189
|
--tw-bg-opacity: 1;
|
1227
1190
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
@@ -1307,21 +1270,11 @@ video {
|
|
1307
1270
|
padding-right: 0.5rem;
|
1308
1271
|
}
|
1309
1272
|
|
1310
|
-
.px-3 {
|
1311
|
-
padding-left: 0.75rem;
|
1312
|
-
padding-right: 0.75rem;
|
1313
|
-
}
|
1314
|
-
|
1315
1273
|
.px-6 {
|
1316
1274
|
padding-left: 1.5rem;
|
1317
1275
|
padding-right: 1.5rem;
|
1318
1276
|
}
|
1319
1277
|
|
1320
|
-
.py-1\.5 {
|
1321
|
-
padding-top: 0.375rem;
|
1322
|
-
padding-bottom: 0.375rem;
|
1323
|
-
}
|
1324
|
-
|
1325
1278
|
.py-4\.5 {
|
1326
1279
|
padding-top: 1.125rem;
|
1327
1280
|
padding-bottom: 1.125rem;
|
@@ -1343,10 +1296,6 @@ video {
|
|
1343
1296
|
padding-top: 0.5rem;
|
1344
1297
|
}
|
1345
1298
|
|
1346
|
-
.text-left {
|
1347
|
-
text-align: left;
|
1348
|
-
}
|
1349
|
-
|
1350
1299
|
.text-center {
|
1351
1300
|
text-align: center;
|
1352
1301
|
}
|
@@ -1365,11 +1314,6 @@ video {
|
|
1365
1314
|
font-weight: 800 !important;
|
1366
1315
|
}
|
1367
1316
|
|
1368
|
-
.\!text-sm {
|
1369
|
-
font-size: 0.875rem !important;
|
1370
|
-
line-height: 1.25rem !important;
|
1371
|
-
}
|
1372
|
-
|
1373
1317
|
.\!text-xl {
|
1374
1318
|
font-size: 1.25rem !important;
|
1375
1319
|
line-height: 1.75rem !important;
|
@@ -1431,6 +1375,11 @@ video {
|
|
1431
1375
|
line-height: 1.25rem;
|
1432
1376
|
}
|
1433
1377
|
|
1378
|
+
.text-xl {
|
1379
|
+
font-size: 1.25rem;
|
1380
|
+
line-height: 1.75rem;
|
1381
|
+
}
|
1382
|
+
|
1434
1383
|
.text-xs {
|
1435
1384
|
font-size: 0.75rem;
|
1436
1385
|
line-height: 1rem;
|
@@ -1505,10 +1454,6 @@ video {
|
|
1505
1454
|
color: rgb(0 0 0 / var(--tw-text-opacity, 1));
|
1506
1455
|
}
|
1507
1456
|
|
1508
|
-
.text-tui-base-05 {
|
1509
|
-
color: var(--tui-border-hover);
|
1510
|
-
}
|
1511
|
-
|
1512
1457
|
.text-tui-base-07 {
|
1513
1458
|
color: var(--tui-background-accent-opposite-pressed);
|
1514
1459
|
}
|
@@ -1585,14 +1530,6 @@ video {
|
|
1585
1530
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1586
1531
|
}
|
1587
1532
|
|
1588
|
-
.ring-tui-base-05 {
|
1589
|
-
--tw-ring-color: var(--tui-border-hover);
|
1590
|
-
}
|
1591
|
-
|
1592
|
-
.ring-tui-primary {
|
1593
|
-
--tw-ring-color: var(--tui-background-accent-1);
|
1594
|
-
}
|
1595
|
-
|
1596
1533
|
.blur {
|
1597
1534
|
--tw-blur: blur(8px);
|
1598
1535
|
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
@@ -1640,10 +1577,6 @@ video {
|
|
1640
1577
|
transition-duration: 150ms;
|
1641
1578
|
}
|
1642
1579
|
|
1643
|
-
.duration-150 {
|
1644
|
-
transition-duration: 150ms;
|
1645
|
-
}
|
1646
|
-
|
1647
1580
|
.duration-500 {
|
1648
1581
|
transition-duration: 500ms;
|
1649
1582
|
}
|
@@ -1664,6 +1597,10 @@ video {
|
|
1664
1597
|
k: string;
|
1665
1598
|
}
|
1666
1599
|
|
1600
|
+
.hover\:bg-tui-background-neutral-1:hover {
|
1601
|
+
background-color: var(--tui-background-neutral-1);
|
1602
|
+
}
|
1603
|
+
|
1667
1604
|
@media (min-width: 640px) {
|
1668
1605
|
.sm\:mr-9 {
|
1669
1606
|
margin-right: 2.25rem;
|
@@ -1765,28 +1702,4 @@ video {
|
|
1765
1702
|
.lg\:gap-4 {
|
1766
1703
|
gap: 1rem;
|
1767
1704
|
}
|
1768
|
-
}
|
1769
|
-
|
1770
|
-
@media (hover: hover) {
|
1771
|
-
.hover-hover\:hover\:ring-2:hover {
|
1772
|
-
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1773
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1774
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1775
|
-
}
|
1776
|
-
|
1777
|
-
.group:hover .hover-hover\:group-hover\:text-tui-primary {
|
1778
|
-
color: var(--tui-background-accent-1);
|
1779
|
-
}
|
1780
|
-
}
|
1781
|
-
|
1782
|
-
@media (hover: none) {
|
1783
|
-
.hover-none\:active\:ring-2:active {
|
1784
|
-
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1785
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1786
|
-
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1787
|
-
}
|
1788
|
-
|
1789
|
-
.group:active .hover-none\:group-active\:text-tui-primary {
|
1790
|
-
color: var(--tui-background-accent-1);
|
1791
|
-
}
|
1792
1705
|
}
|
@@ -50,7 +50,7 @@ export declare class ScUpdateUserInfoDialogComponent implements AfterViewInit {
|
|
50
50
|
/**
|
51
51
|
* Инициализирует экземпляр класса {@link ScUpdateUserInfoDialogComponent}.
|
52
52
|
*
|
53
|
-
* @param user$ Поток
|
53
|
+
* @param user$ Поток данных о текущем пользователе.
|
54
54
|
* @param userService Сервис данных о пользователе.
|
55
55
|
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
56
56
|
* @param context Контекст диалогового окна, в котором открыт компонент.
|
@@ -41,7 +41,7 @@ export declare class ScUserPhoneApproveDialogComponent implements AfterViewInit
|
|
41
41
|
*
|
42
42
|
* @param verificationService Сервис верификации.
|
43
43
|
* @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
|
44
|
-
* @param user$ Поток
|
44
|
+
* @param user$ Поток данных о текущем пользователе.
|
45
45
|
* @param userService Сервис данных о пользователе.
|
46
46
|
* @param context Контекст диалогового окна, в котором открыт компонент.
|
47
47
|
*/
|
package/validators/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
1
|
+
export * from './sc-bic-validator';
|
2
|
+
export * from './sc-correspondent-account-validator';
|
3
3
|
export * from './sc-password-confirm-matching-validator';
|
4
|
-
export * from './
|
4
|
+
export * from './step-validator';
|
@@ -1,54 +0,0 @@
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
2
|
-
import { UrlTree } from '@angular/router';
|
3
|
-
import { ScFavoriteService, ScITerminalProvider, ScIUrls } from '@snabcentr/client-core';
|
4
|
-
import * as i0 from "@angular/core";
|
5
|
-
/**
|
6
|
-
* Компонент списка категорий.
|
7
|
-
*/
|
8
|
-
export declare class ScCategoriesListComponent<T extends object> implements OnInit {
|
9
|
-
private readonly urls;
|
10
|
-
readonly terminal: ScITerminalProvider;
|
11
|
-
private readonly favoriteService;
|
12
|
-
private readonly cdr;
|
13
|
-
/**
|
14
|
-
* Список категорий.
|
15
|
-
*/
|
16
|
-
categories: T[] | undefined | null;
|
17
|
-
/**
|
18
|
-
* Признак того, отображается этот компонент на мобильном устройстве или нет.
|
19
|
-
*/
|
20
|
-
readonly isMobile: boolean;
|
21
|
-
/**
|
22
|
-
* Ссылка для автоматического управления уничтожением зависимостей.
|
23
|
-
*/
|
24
|
-
private destroyRef;
|
25
|
-
/**
|
26
|
-
* Функция получения `routerLink` из объекта {@link T}.
|
27
|
-
*/
|
28
|
-
getRouterLink: (data: T) => string | any[] | UrlTree | null | undefined;
|
29
|
-
/**
|
30
|
-
* Инициализирует экземпляр класса {@link ScCategoriesListComponent}.
|
31
|
-
*
|
32
|
-
* @param urls объект информации о базовом списке ссылок приложения.
|
33
|
-
* @param terminal Данные о запуске приложения на терминале.
|
34
|
-
* @param favoriteService Сервис для работы с корзиной.
|
35
|
-
* @param cdr Объект для работы с обнаружением изменений.
|
36
|
-
*/
|
37
|
-
constructor(urls: ScIUrls, terminal: ScITerminalProvider, favoriteService: ScFavoriteService, cdr: ChangeDetectorRef);
|
38
|
-
/** @inheritDoc */
|
39
|
-
ngOnInit(): void;
|
40
|
-
/**
|
41
|
-
* Возвращает путь до изображения на сервере.
|
42
|
-
*
|
43
|
-
* @param imgPath путь, где хранится изображение.
|
44
|
-
*/
|
45
|
-
getCategoryImage(imgPath: string): string;
|
46
|
-
/**
|
47
|
-
* Проверяет наличие хотя бы одного изображения.
|
48
|
-
*
|
49
|
-
* @param categories Список категорий.
|
50
|
-
*/
|
51
|
-
checkImagesExists(categories: any[]): boolean;
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScCategoriesListComponent<any>, never>;
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScCategoriesListComponent<any>, "sc-categories-list", never, { "categories": { "alias": "categories"; "required": false; }; "getRouterLink": { "alias": "getRouterLink"; "required": false; }; }, {}, never, never, false, never>;
|
54
|
-
}
|