@snabcentr/client-ui 2.2.1 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/accordion/sc-accordion-content.directive.mjs +3 -3
- package/esm2022/accordion/sc-accordion.component.mjs +3 -3
- package/esm2022/accordion/sc-accordion.module.mjs +4 -4
- package/esm2022/auth/sc-auth.module.mjs +4 -4
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +3 -3
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +3 -3
- package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +3 -3
- package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +3 -3
- package/esm2022/banner/sc-banner.component.mjs +3 -3
- package/esm2022/banner/sc-banner.module.mjs +4 -4
- package/esm2022/brands-list/sc-brands-list.component.mjs +3 -3
- package/esm2022/brands-list/sc-brands-list.module.mjs +4 -4
- package/esm2022/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +3 -3
- package/esm2022/cart/sc-cart.module.mjs +4 -4
- package/esm2022/catalog/categories-list/sc-categories-list.component.mjs +3 -3
- package/esm2022/catalog/category-card/sc-category-card.component.mjs +3 -3
- package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +3 -3
- package/esm2022/catalog/price-card/sc-price-card.component.mjs +3 -3
- package/esm2022/catalog/price-history/sc-price-history.component.mjs +3 -3
- package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +3 -3
- package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +3 -3
- package/esm2022/catalog/sc-catalog.module.mjs +4 -4
- package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +3 -3
- package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +3 -3
- package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +3 -3
- package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +3 -3
- package/esm2022/contacts/sc-contacts.module.mjs +4 -4
- package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +3 -3
- package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +3 -3
- package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +3 -3
- package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +3 -3
- package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +3 -3
- package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +3 -3
- package/esm2022/contragents/sc-contragents.module.mjs +4 -4
- package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +3 -3
- package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +3 -3
- package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +3 -3
- package/esm2022/delivery-address/sc-delivery-address.module.mjs +4 -4
- package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +3 -3
- package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +3 -3
- package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +4 -4
- package/esm2022/directives/tel-link/sc-tel-link.directive.mjs +3 -3
- package/esm2022/directives/tel-link/sc-tel-link.module.mjs +4 -4
- package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +3 -3
- package/esm2022/files/directives/tree-top.directive.mjs +3 -3
- package/esm2022/files/directives/tree.directive.mjs +3 -3
- package/esm2022/files/file-tree-item/file-tree-item.component.mjs +3 -3
- package/esm2022/files/files-and-documents/files-and-documents.component.mjs +3 -3
- package/esm2022/files/files-and-documents.module.mjs +4 -4
- package/esm2022/files/services/tree-icon.service.mjs +3 -3
- package/esm2022/files/services/tree-loader.service.mjs +3 -3
- package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +3 -3
- package/esm2022/form-fields/form-fields.module.mjs +4 -4
- package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +3 -3
- package/esm2022/helpers/sc-px-converter.mjs +3 -3
- package/esm2022/news/news-card/sc-news-card.component.mjs +3 -3
- package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +3 -3
- package/esm2022/news/sc-news.module.mjs +4 -4
- package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +3 -3
- package/esm2022/order/sc-order.module.mjs +4 -4
- package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +3 -3
- package/esm2022/pipes/sc-formatted-phone.mjs +3 -3
- package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +3 -3
- package/esm2022/profile/sc-profile.module.mjs +4 -4
- package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +3 -3
- package/esm2022/qrcode/sc-qrcode.module.mjs +4 -4
- package/esm2022/samples/ask-to-sample-form/sc-ask-to-sample-form.component.mjs +23 -12
- package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +3 -3
- package/esm2022/samples/sc-sample.module.mjs +14 -7
- package/esm2022/share-button/sc-share-button.component.mjs +3 -3
- package/esm2022/share-button/sc-share-button.module.mjs +4 -4
- package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +3 -3
- package/esm2022/user/sc-user.module.mjs +4 -4
- package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +3 -3
- package/esm2022/user/user-managers/sc-user-managers.component.mjs +3 -3
- package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +3 -3
- package/esm2022/verification/sc-verification.module.mjs +4 -4
- package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +3 -3
- package/fesm2022/snabcentr-client-ui.mjs +282 -264
- package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
- package/package.json +17 -24
- package/release_notes.tmp +2 -4
- package/samples/ask-to-sample-form/sc-ask-to-sample-form.component.d.ts +8 -0
- package/samples/sc-sample.module.d.ts +2 -1
- package/styles/tailwind/tailwind.scss +16 -0
package/package.json
CHANGED
@@ -1,42 +1,35 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snabcentr/client-ui",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.4.1",
|
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": ">=18.2.
|
10
|
-
"@angular/compiler": ">=18.2.
|
11
|
-
"@angular/core": ">=18.2.
|
12
|
-
"@angular/forms": ">=18.2.
|
13
|
-
"@angular/platform-browser": ">=18.2.3",
|
9
|
+
"@angular/common": ">=18.2.0",
|
10
|
+
"@angular/compiler": ">=18.2.0",
|
11
|
+
"@angular/core": ">=18.2.0",
|
12
|
+
"@angular/forms": ">=18.2.0",
|
14
13
|
"@maskito/angular": ">=3.0.1",
|
15
14
|
"@maskito/core": ">=3.0.1",
|
16
|
-
"@maskito/kit": ">=3.0.1",
|
17
15
|
"@ng-web-apis/common": ">=4.2.1",
|
18
16
|
"@ng-web-apis/intersection-observer": ">=4.2.1",
|
19
17
|
"@ng-web-apis/storage": ">=4.2.1",
|
20
|
-
"@snabcentr/client-core": ">=2.
|
21
|
-
"@taiga-ui/addon-charts": ">=4.
|
22
|
-
"@taiga-ui/addon-commerce": ">=4.
|
23
|
-
"@taiga-ui/
|
24
|
-
"@taiga-ui/
|
25
|
-
"@taiga-ui/addon-table": ">=4.5.0",
|
26
|
-
"@taiga-ui/cdk": ">=4.5.0",
|
27
|
-
"@taiga-ui/core": ">=4.5.0",
|
28
|
-
"@taiga-ui/dompurify": ">=4.1.6",
|
18
|
+
"@snabcentr/client-core": ">=2.5.1",
|
19
|
+
"@taiga-ui/addon-charts": ">=4.10.0",
|
20
|
+
"@taiga-ui/addon-commerce": ">=4.10.0",
|
21
|
+
"@taiga-ui/cdk": ">=4.10.0",
|
22
|
+
"@taiga-ui/core": ">=4.10.0",
|
29
23
|
"@taiga-ui/event-plugins": ">=4.0.1",
|
30
|
-
"@taiga-ui/
|
31
|
-
"@taiga-ui/
|
32
|
-
"@taiga-ui/
|
33
|
-
"@taiga-ui/
|
34
|
-
"@taiga-ui/
|
35
|
-
"@taiga-ui/
|
36
|
-
"
|
24
|
+
"@taiga-ui/icons": ">=4.10.0",
|
25
|
+
"@taiga-ui/kit": ">=4.10.0",
|
26
|
+
"@taiga-ui/layout": ">=4.10.0",
|
27
|
+
"@taiga-ui/legacy": ">=4.10.0",
|
28
|
+
"@taiga-ui/polymorpheus": ">=4.7.4",
|
29
|
+
"@taiga-ui/styles": ">=4.10.0",
|
30
|
+
"ng-recaptcha-2": ">=14.0.0",
|
37
31
|
"angular8-yandex-maps": ">=18.2.0",
|
38
32
|
"angularx-qrcode": ">=18.0.1",
|
39
|
-
"dompurify": ">=3.1.6",
|
40
33
|
"rxjs": ">=7.8.1",
|
41
34
|
"schema-dts": ">=1.1.2",
|
42
35
|
"zone.js": ">=0.14.0"
|
package/release_notes.tmp
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
## 2.
|
1
|
+
## 2.4.1 (2024-10-11)
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
- [#10426: Доработано отображение отсутствия истории цен](web_soft/libs/angular/snabcentr-client-ui-lib@139da5f26033f1d0b51e0742b65bc7e2f427be2b) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!167))
|
3
|
+
No changes.
|
6
4
|
|
@@ -15,7 +15,14 @@ export declare class ScAskToSampleFormComponent implements OnInit {
|
|
15
15
|
* Сервис информации о пользователе.
|
16
16
|
*/
|
17
17
|
readonly user$: Observable<import("@snabcentr/client-core").ScUser>;
|
18
|
+
/**
|
19
|
+
* Контекст диалогового окна, в котором открыт компонент.
|
20
|
+
*/
|
18
21
|
private readonly context;
|
22
|
+
/**
|
23
|
+
* Поле ввода для recaptcha.
|
24
|
+
*/
|
25
|
+
readonly recaptchaControl: FormControl<string | null>;
|
19
26
|
/**
|
20
27
|
* Наименование формы, с которой отправляется запрос.
|
21
28
|
*/
|
@@ -28,6 +35,7 @@ export declare class ScAskToSampleFormComponent implements OnInit {
|
|
28
35
|
phone: FormControl<string | null>;
|
29
36
|
email: FormControl<string | null>;
|
30
37
|
description: FormControl<string | null>;
|
38
|
+
recaptcha: FormControl<null>;
|
31
39
|
}>;
|
32
40
|
/**
|
33
41
|
* Перечисление типов подсказок.
|
@@ -9,11 +9,12 @@ import * as i7 from "../form-fields/form-fields.module";
|
|
9
9
|
import * as i8 from "@taiga-ui/legacy";
|
10
10
|
import * as i9 from "@taiga-ui/cdk/directives/item";
|
11
11
|
import * as i10 from "@taiga-ui/cdk";
|
12
|
+
import * as i11 from "ng-recaptcha-2";
|
12
13
|
/**
|
13
14
|
* Модуль представления образцов товара.
|
14
15
|
*/
|
15
16
|
export declare class ScPreviewSampleModule {
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleModule, never>;
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScPreviewSampleModule, [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.TuiError, typeof i6.TuiFieldErrorPipe, typeof i7.ScFormFieldsModule, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i9.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i6.TuiAvatar, typeof i10.TuiHovered, typeof i10.TuiLet, typeof i5.TuiButton, typeof i6.TuiButtonLoading, typeof i5.TuiLabel], [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent]>;
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScPreviewSampleModule, [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.TuiError, typeof i6.TuiFieldErrorPipe, typeof i7.ScFormFieldsModule, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i9.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i6.TuiAvatar, typeof i10.TuiHovered, typeof i10.TuiLet, typeof i5.TuiButton, typeof i6.TuiButtonLoading, typeof i5.TuiLabel, typeof i11.RecaptchaFormsModule, typeof i11.RecaptchaModule], [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent]>;
|
18
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<ScPreviewSampleModule>;
|
19
20
|
}
|
@@ -712,6 +712,10 @@ video {
|
|
712
712
|
z-index: 10;
|
713
713
|
}
|
714
714
|
|
715
|
+
.\!-m-2 {
|
716
|
+
margin: -0.5rem !important;
|
717
|
+
}
|
718
|
+
|
715
719
|
.m-1 {
|
716
720
|
margin: 0.25rem;
|
717
721
|
}
|
@@ -903,6 +907,14 @@ video {
|
|
903
907
|
height: 1px;
|
904
908
|
}
|
905
909
|
|
910
|
+
.\!max-h-0 {
|
911
|
+
max-height: 0px !important;
|
912
|
+
}
|
913
|
+
|
914
|
+
.max-h-20 {
|
915
|
+
max-height: 5rem;
|
916
|
+
}
|
917
|
+
|
906
918
|
.max-h-full {
|
907
919
|
max-height: 100%;
|
908
920
|
}
|
@@ -1643,6 +1655,10 @@ video {
|
|
1643
1655
|
transition-duration: 300ms;
|
1644
1656
|
}
|
1645
1657
|
|
1658
|
+
.duration-500 {
|
1659
|
+
transition-duration: 500ms;
|
1660
|
+
}
|
1661
|
+
|
1646
1662
|
.ease-in {
|
1647
1663
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
1648
1664
|
}
|