@snabcentr/client-ui 3.21.0 → 3.23.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.
Files changed (37) hide show
  1. package/auth/sc-auth.module.d.ts +1 -1
  2. package/cart/index.d.ts +1 -0
  3. package/cart/sc-car-add-products-from-csv-dialog/sc-car-add-products-from-csv-dialog.component.d.ts +62 -0
  4. package/contacts/sc-contacts.module.d.ts +1 -1
  5. package/contragents/sc-contragents.module.d.ts +1 -1
  6. package/delivery-address/sc-delivery-address.module.d.ts +1 -1
  7. package/esm2022/auth/sc-auth.module.mjs +2 -2
  8. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +1 -1
  9. package/esm2022/banner/sc-banner.component.mjs +1 -1
  10. package/esm2022/cart/index.mjs +2 -1
  11. package/esm2022/cart/sc-car-add-products-from-csv-dialog/sc-car-add-products-from-csv-dialog.component.mjs +110 -0
  12. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +2 -2
  13. package/esm2022/contacts/sc-contacts.module.mjs +2 -2
  14. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +1 -1
  15. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +1 -1
  16. package/esm2022/contragents/sc-contragents.module.mjs +2 -2
  17. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +1 -1
  18. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +1 -1
  19. package/esm2022/delivery-address/sc-delivery-address.module.mjs +2 -2
  20. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +1 -1
  21. package/esm2022/form-fields/form-fields.module.mjs +2 -2
  22. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +1 -1
  23. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +2 -2
  24. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +1 -1
  25. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +2 -2
  26. package/esm2022/user/sc-user.module.mjs +2 -2
  27. package/esm2022/verification/sc-verification.module.mjs +22 -6
  28. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +14 -7
  29. package/fesm2022/snabcentr-client-ui.mjs +156 -40
  30. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  31. package/form-fields/form-fields.module.d.ts +1 -1
  32. package/package.json +4 -1
  33. package/release_notes.tmp +3 -3
  34. package/styles/tailwind/tailwind.scss +8 -0
  35. package/user/sc-user.module.d.ts +1 -1
  36. package/verification/sc-verification.module.d.ts +3 -1
  37. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +5 -0
@@ -14,6 +14,6 @@ import * as i10 from "@maskito/angular";
14
14
  */
15
15
  export declare class ScFormFieldsModule {
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ScFormFieldsModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScFormFieldsModule, [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TuiInputModule, typeof i5.TuiTextfieldControllerModule, typeof i6.TuiLabel, typeof i7.TuiLet, typeof i8.TuiFieldErrorPipe, typeof i6.TuiError, typeof i6.TuiDataListComponent, typeof i6.TuiDataListDirective, typeof i6.TuiOption, typeof i6.TuiOptGroup, typeof i6.TuiLoader, typeof i5.TuiComboBoxModule, typeof i8.TuiDataListWrapperComponent, typeof i8.TuiDataListGroupWrapperComponent, typeof i9.TuiDataListDirective, typeof i8.TuiFilterByInputPipe, typeof i8.TuiStringifyContentPipe, typeof i5.TuiInputPhoneModule, typeof i6.TuiButton, typeof i10.MaskitoDirective], [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScFormFieldsModule, [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TuiInputModule, typeof i5.TuiTextfieldControllerModule, typeof i6.TuiLabel, typeof i7.TuiLet, typeof i8.TuiFieldErrorPipe, typeof i6.TuiError, typeof i6.TuiDataListComponent, typeof i6.TuiDataListDirective, typeof i6.TuiOption, typeof i6.TuiOptionNew, typeof i6.TuiOptionWithValue, typeof i6.TuiOptGroup, typeof i6.TuiLoader, typeof i5.TuiComboBoxModule, typeof i8.TuiDataListWrapperComponent, typeof i8.TuiDataListGroupWrapperComponent, typeof i9.TuiDataListDirective, typeof i8.TuiFilterByInputPipe, typeof i8.TuiStringifyContentPipe, typeof i5.TuiInputPhoneModule, typeof i6.TuiButton, typeof i10.MaskitoDirective], [typeof i1.ScAddressesSelectionFieldComponent, typeof i2.ScSuggestionFieldComponent]>;
18
18
  static ɵinj: i0.ɵɵInjectorDeclaration<ScFormFieldsModule>;
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "3.21.0",
3
+ "version": "3.23.0",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -25,10 +25,13 @@
25
25
  "@taiga-ui/kit": "^4.24.0",
26
26
  "@taiga-ui/layout": "^4.24.0",
27
27
  "@taiga-ui/legacy": "^4.24.0",
28
+ "@taiga-ui/i18n": "^4.24.0",
28
29
  "@taiga-ui/polymorpheus": "^4.7.4",
30
+ "@taiga-ui/experimental": "^4.24.0",
29
31
  "@taiga-ui/styles": "^4.24.0",
30
32
  "ng-recaptcha-2": "^14.0.0",
31
33
  "angular8-yandex-maps": "^18.2.0",
34
+ "libphonenumber-js": "^1.11.0",
32
35
  "angularx-qrcode": "^18.0.2",
33
36
  "lodash-es": "^4.17.21",
34
37
  "rxjs": "^7.8.1",
package/release_notes.tmp CHANGED
@@ -1,6 +1,6 @@
1
- ## 3.21.0 (2025-04-25)
1
+ ## 3.23.0 (2025-04-30)
2
2
 
3
- ### changed (1 change)
3
+ ### added (1 change)
4
4
 
5
- - [#11503: Доработана форма добавления контрагента-нерезидента и исправлена ошибка регистрации](web_soft/libs/angular/snabcentr-client-ui-lib@0e46702bc8d0d9ab111b236c849c893e8d0492a3) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!267))
5
+ - [#11505: Добавлен компонент для загрузки товаров в корзину из CSV.](web_soft/libs/angular/snabcentr-client-ui-lib@45cf33d7ae5cd2395a599ef1c23992f2a59bd11e) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!269))
6
6
 
@@ -779,6 +779,10 @@ video {
779
779
  margin-top: 1rem;
780
780
  }
781
781
 
782
+ .mt-8 {
783
+ margin-top: 2rem;
784
+ }
785
+
782
786
  .line-clamp-3 {
783
787
  overflow: hidden;
784
788
  display: -webkit-box;
@@ -995,6 +999,10 @@ video {
995
999
  flex-shrink: 1;
996
1000
  }
997
1001
 
1002
+ .shrink {
1003
+ flex-shrink: 1;
1004
+ }
1005
+
998
1006
  .shrink-0 {
999
1007
  flex-shrink: 0;
1000
1008
  }
@@ -20,6 +20,6 @@ import * as i16 from "../pipes/sc-phone-format";
20
20
  */
21
21
  export declare class ScUserModule {
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ScUserModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipe, typeof i8.TuiInputPasswordModule, typeof i9.TuiButton, typeof i9.TuiError, typeof i9.TuiLabel, typeof i8.TuiTextfieldControllerModule, typeof i10.TuiLet, typeof i11.ScVerificationModule, typeof i12.ScFormFieldsModule, typeof i9.TuiLoader, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i7.TuiCheckbox, typeof i9.TuiDataListComponent, typeof i9.TuiDataListDirective, typeof i9.TuiOption, typeof i9.TuiOptGroup, typeof i8.TuiSelectModule, typeof i9.TuiLink, typeof i13.ScTerminalLinkDirective, typeof i14.ScTelLinkDirective, typeof i15.ScEmailLinkDirective, typeof i16.ScPhoneFormatPipe, typeof i7.TuiButtonLoading], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipe, typeof i8.TuiInputPasswordModule, typeof i9.TuiButton, typeof i9.TuiError, typeof i9.TuiLabel, typeof i8.TuiTextfieldControllerModule, typeof i10.TuiLet, typeof i11.ScVerificationModule, typeof i12.ScFormFieldsModule, typeof i9.TuiLoader, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i7.TuiCheckbox, typeof i9.TuiDataListComponent, typeof i9.TuiDataListDirective, typeof i9.TuiOption, typeof i9.TuiOptionNew, typeof i9.TuiOptionWithValue, typeof i9.TuiOptGroup, typeof i8.TuiSelectModule, typeof i9.TuiLink, typeof i13.ScTerminalLinkDirective, typeof i14.ScTelLinkDirective, typeof i15.ScEmailLinkDirective, typeof i16.ScPhoneFormatPipe, typeof i7.TuiButtonLoading], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
24
24
  static ɵinj: i0.ɵɵInjectorDeclaration<ScUserModule>;
25
25
  }
@@ -8,11 +8,13 @@ import * as i6 from "@taiga-ui/kit";
8
8
  import * as i7 from "@taiga-ui/cdk";
9
9
  import * as i8 from "@maskito/angular";
10
10
  import * as i9 from "../contacts/manager-card/sc-manager-card.component";
11
+ import * as i10 from "@taiga-ui/experimental";
12
+ import * as i11 from "@taiga-ui/core/components/label";
11
13
  /**
12
14
  * Модуль отправки кодов подтверждения (номера телефона, адреса эл. почты и т.д.).
13
15
  */
14
16
  export declare class ScVerificationModule {
15
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ScVerificationModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScVerificationModule, [typeof i1.ScVerificationPhoneCheckFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TuiInputPasswordModule, typeof i4.TuiInputModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiLink, typeof i5.TuiButton, typeof i5.TuiLabel, typeof i6.TuiFieldErrorPipe, typeof i5.TuiError, typeof i7.TuiLet, typeof i5.TuiLoader, typeof i4.TuiInputPhoneModule, typeof i8.MaskitoDirective, typeof i6.TuiButtonLoading, typeof i9.ScManagerCardComponent, typeof i5.TuiTitle, typeof i5.TuiIcon, typeof i6.TuiPushComponent, typeof i6.TuiPushAlert, typeof i6.TuiPushDirective], [typeof i1.ScVerificationPhoneCheckFormComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScVerificationModule, [typeof i1.ScVerificationPhoneCheckFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TuiInputPasswordModule, typeof i4.TuiInputModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiLink, typeof i5.TuiButton, typeof i5.TuiLabel, typeof i6.TuiFieldErrorPipe, typeof i5.TuiError, typeof i7.TuiLet, typeof i5.TuiLoader, typeof i4.TuiInputPhoneModule, typeof i8.MaskitoDirective, typeof i6.TuiButtonLoading, typeof i9.ScManagerCardComponent, typeof i5.TuiTitle, typeof i5.TuiIcon, typeof i6.TuiPushComponent, typeof i6.TuiPushAlert, typeof i6.TuiPushDirective, typeof i10.TuiInputPhoneInternational, typeof i11.TuiLabel, typeof i5.TuiSelect, typeof i5.TuiTextfieldComponent, typeof i5.TuiTextfieldDirective, typeof i5.TuiTextfieldOptionsDirective, typeof i5.TuiTextfieldDropdownDirective, typeof i6.TuiSortCountriesPipe], [typeof i1.ScVerificationPhoneCheckFormComponent]>;
17
19
  static ɵinj: i0.ɵɵInjectorDeclaration<ScVerificationModule>;
18
20
  }
@@ -3,6 +3,7 @@ import { InputSignal, ModelSignal, OnInit, OutputEmitterRef, Signal } from '@ang
3
3
  import { FormControl, FormGroup, FormGroupDirective } from '@angular/forms';
4
4
  import { MaskitoOptions } from '@maskito/core';
5
5
  import { ScIOrgContact, ScVerificationService } from '@snabcentr/client-core';
6
+ import type { TuiCountryIsoCode } from '@taiga-ui/i18n';
6
7
  import { Observable, Subject } from 'rxjs';
7
8
  import { ScHelpNotificationService } from '../../services';
8
9
  import * as i0 from "@angular/core";
@@ -42,6 +43,10 @@ export declare class ScVerificationPhoneCheckFormComponent implements OnInit {
42
43
  * Признак, следует ли проверять, подтверждён ли телефон в системе. При `true` будет вызывать ошибку при наличии телефона в системе без подтверждения.
43
44
  */
44
45
  readonly shouldBeConfirmed: InputSignal<boolean | undefined>;
46
+ /**
47
+ * Список стран.
48
+ */
49
+ protected readonly countries: readonly TuiCountryIsoCode[];
45
50
  /**
46
51
  * Сервис для отображения Push-уведомлений с контактами для помощи клиенту.
47
52
  */