@snabcentr/client-ui 4.0.1 → 4.1.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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _snabcentr_client_core from '@snabcentr/client-core';
2
- import { ScIOrgContact, ScISuggestionType, ScUser, ScOpfList, ScIReferencesTypes, ScSuggestion, ScBanner, ScCartItem, ScProduct, ScUnitsHelper, ScImageHelper, ScIImage, ScINewCartItemBase, ScMimeTypes, ScCategory, ScIWarehouse, ScCatalogService, ScICategoryProductPaginationParams, ScIPaginationMeta, ScIWarehouseStockCount, ScIBankAccount, ScIOpf, ScContragent, ScISalesDirection, ScICurrency, ScICountry, ScIContact, ScConvertersService, ScIContactWithRelations, ScIContactOnDataCreate, ScIContactBase, ScISuggestionAddress, ScIDeliveryAddress, ScDocumentInfo, ScFilesService, ScIRegion, ScICity, ScISuggestionOrganization, ScNewsTile, ScFaqItem, ScFaqGroup, ScFrequentlyAskedQuestionsService, ScICityWithRegionAndCountry, ScFeedbackForms, ScUploadedFile, ScIManager, ScApprovedData, ScVerificationService } from '@snabcentr/client-core';
2
+ import { ScIOrgContact, ScISuggestionType, ScUser, ScOpfList, ScIReferencesTypes, ScSuggestion, ScBanner, ScCartItem, ScProduct, ScUnitsHelper, ScImageHelper, ScIImage, ScINewCartItemBase, ScMimeTypes, ScCategory, ScIWarehouse, ScCatalogService, ScICategoryProductPaginationParams, ScIPaginationMeta, ScIWarehouseStockCount, ScIBankAccount, ScIOpf, ScContragent, ScISalesDirection, ScICurrency, ScICountry, ScIContact, ScConvertersService, ScIContactWithRelations, ScIContactOnDataCreate, ScIContactBase, ScICompanyBaseInfo, ScISuggestionAddress, ScIDeliveryAddress, ScDocumentInfo, ScFilesService, ScIRegion, ScICity, ScISuggestionOrganization, ScNewsTile, ScFaqItem, ScFaqGroup, ScFrequentlyAskedQuestionsService, ScIUrls, ScICityWithRegionAndCountry, ScFeedbackForms, ScUploadedFile, ScIManager, ScApprovedData, ScVerificationService } from '@snabcentr/client-core';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import * as i0 from '@angular/core';
@@ -2347,6 +2347,38 @@ declare class ScManagerCardPushComponent {
2347
2347
  static ɵcmp: i0.ɵɵComponentDeclaration<ScManagerCardPushComponent, "sc-manager-card-push", never, { "manager": { "alias": "manager"; "required": true; "isSignal": true; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
2348
2348
  }
2349
2349
 
2350
+ /**
2351
+ * Юридическая информация о компании.
2352
+ */
2353
+ interface IScCompanyLegalInfo {
2354
+ /**
2355
+ * ОГРН (Основной государственный регистрационный номер).
2356
+ */
2357
+ readonly ogrn: string;
2358
+ /**
2359
+ * ИНН (Идентификационный номер налогоплательщика).
2360
+ */
2361
+ readonly inn: string;
2362
+ /**
2363
+ * Юридический адрес компании.
2364
+ */
2365
+ readonly legalAddress: string;
2366
+ }
2367
+
2368
+ /**
2369
+ * Полная информация о компании, включающая базовую и юридическую информацию.
2370
+ */
2371
+ interface IScCompanyInfo {
2372
+ /**
2373
+ * Базовая информация о компании.
2374
+ */
2375
+ readonly companyBaseInfo: ScICompanyBaseInfo;
2376
+ /**
2377
+ * Юридическая информация о компании.
2378
+ */
2379
+ readonly companyLegalInfo: IScCompanyLegalInfo;
2380
+ }
2381
+
2350
2382
  /**
2351
2383
  * Компонент добавления адреса доставки.
2352
2384
  */
@@ -3260,6 +3292,22 @@ declare class ScFrequentlyAskedQuestionsWithGroupsComponent {
3260
3292
  static ɵcmp: i0.ɵɵComponentDeclaration<ScFrequentlyAskedQuestionsWithGroupsComponent, "sc-frequently-asked-questions-with-groups", never, {}, { "clickSendQuestion": "clickSendQuestion"; }, never, never, true, never>;
3261
3293
  }
3262
3294
 
3295
+ /**
3296
+ * Страница политики обработки персональных данных пользователей сайта.
3297
+ */
3298
+ declare class ScPrivacyPolicyPageComponent {
3299
+ /**
3300
+ * Данные настроек окружения.
3301
+ */
3302
+ protected readonly companyInfo: Readonly<IScCompanyInfo>;
3303
+ /**
3304
+ * Список ссылок на разделы backend'a.
3305
+ */
3306
+ protected readonly urls: ScIUrls;
3307
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPrivacyPolicyPageComponent, never>;
3308
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPrivacyPolicyPageComponent, "sc-privacy-policy-page", never, {}, {}, never, never, true, never>;
3309
+ }
3310
+
3263
3311
  /**
3264
3312
  * Пайп для форматирования даты и времени.
3265
3313
  */
@@ -3543,6 +3591,11 @@ declare const tuiDateValueTransformerDefaultProvider: Provider[];
3543
3591
  */
3544
3592
  declare const SC_NOTIFY_WHEN_IN_STOCK_REQUIRED_FIELDS: InjectionToken<string[]>;
3545
3593
 
3594
+ /**
3595
+ * Токен для получения полной информации о компании.
3596
+ */
3597
+ declare const SC_COMPANY_INFO: InjectionToken<IScCompanyInfo>;
3598
+
3546
3599
  /**
3547
3600
  * Типы доступных полей для форм обратной связи.
3548
3601
  */
@@ -4296,5 +4349,5 @@ declare class ScProfileAccordionsContentComponent {
4296
4349
  static ɵcmp: i0.ɵɵComponentDeclaration<ScProfileAccordionsContentComponent, "sc-profile-accordions-content", never, {}, { "editProfileClick": "editProfileClick"; "approvePhoneClick": "approvePhoneClick"; "addContragentClick": "addContragentClick"; "deleteContragentClick": "deleteContragentClick"; "addContragentBankAccountClick": "addContragentBankAccountClick"; "deleteContragentBankAccountClick": "deleteContragentBankAccountClick"; "addContragentContactClick": "addContragentContactClick"; "deleteContragentContactClick": "deleteContragentContactClick"; "addDeliveryAddressClick": "addDeliveryAddressClick"; "deleteDeliveryAddressClick": "deleteDeliveryAddressClick"; "addDeliveryAddressContactClick": "addDeliveryAddressContactClick"; "deleteDeliveryAddressContactClick": "deleteDeliveryAddressContactClick"; "addUserContactClick": "addUserContactClick"; "deleteUserContactClick": "deleteUserContactClick"; }, never, never, true, never>;
4297
4350
  }
4298
4351
 
4299
- export { AbstractScPriceCard, AuthMethod, CURRENT_COUNTRY_ID, FilesAndDocumentsComponent, FinishDateTimeTransformerDirective, IS_DEFAULT_COUNTRY, MAX_FILES_IN_FORM_INPUT, SC_ALLOW_SELECT_TERMINATED, SC_DATE_FORMATTER, SC_ERROR_CHANGE_HANDLER, SC_HELP_NOTIFICATION_CLOSE, SC_HELP_NOTIFICATION_LIMIT, SC_MANAGER_QR_HANDLER, SC_NOTIFY_WHEN_IN_STOCK_REQUIRED_FIELDS, SC_PAGE_SIZE_OPTIONS, SC_PHONE_APPROVE_CODE_SENDER, SC_PHONE_APPROVE_CODE_SENDER_PROVIDER, SC_SHOW_HELP_NOTIFICATION_IN_PHONE_INPUT, SC_USER_CITY_INFO, SC_USER_INFO, SC_USER_PROVIDERS, SC_VERIFICATION_CODE_TIMEOUT, ScAccordionComponent, ScAccordionContentDirective, ScAddContactDialogComponent, ScAddContragentBankAccountsDialogComponent, ScAddContragentDialogComponent, ScAddDeliveryAddressDialogComponent, ScAddOrEditingCartItemDialogComponent, ScAddOrEditingCartItemFormComponent, ScAddressesSelectionFieldComponent, ScBannerComponent, ScBrandsListComponent, ScCartAddProductsFromCsvDialogComponent, ScCartItemComponent, ScCategoryCardComponent, ScContactsAccordionComponent, ScContragentsAccordionComponent, ScContragentsAccordionItemComponent, ScDeliveryAddressAccordionComponent, ScDeliveryAddressAccordionItemComponent, ScDownloadPriceListComponent, ScEmailLinkDirective, ScErrorBlockStatusComponent, ScErrorHandlerComponent, ScFavoriteButtonComponent, ScFeedbackFormComponent, ScFormatDatePipe, ScFrequentlyAskedQuestionsComponent, ScFrequentlyAskedQuestionsGroupSelectorComponent, ScFrequentlyAskedQuestionsWithGroupsComponent, ScGratitudeComponent, ScHelpNotificationService, ScHoverImageCarouselComponent, ScInputQuantityComponent, ScLinks, ScManagerCardComponent, ScManagerCardPushComponent, ScNewContactFormComponent, ScNewContragentBankAccountsFormComponent, ScNewContragentFormComponent, ScNewsCardComponent, ScNewsCardSkeletonComponent, ScNextInputFocusDirective, ScNotifyWhenInStockDialogComponent, ScOrderItemMobileComponent, ScPaymentStatusComponent, ScPhoneFormatPipe, ScPreviewSampleComponent, ScPreviewSamplesMosquitoComponent, ScPriceCardComponent, ScPriceCardInlineComponent, ScPriceHistoryComponent, ScPriceListPaginationComponent, ScPriceWarehouseStockComponent, ScProductInAllWarehousesPipe, ScProfileAccordionsContentComponent, ScQRCodeDialogComponent, ScResetUserPasswordComponent, ScResourcePreviewComponent, ScSelectOnFocusinDirective, ScShareButtonComponent, ScSignInFormByEmailComponent, ScSignInFormByPhoneComponent, ScSignInFormComponent, ScSignUpFormComponent, ScSimpleSignUpFormComponent, ScSuggestionFieldComponent, ScTelLinkDirective, ScTerminalLinkDirective, ScUpdateUserInfoDialogComponent, ScUserManagersComponent, ScUserPhoneApproveDialogComponent, ScVerificationPhoneCheckFormComponent, TreeDirective, TreeIconService, TreeLoaderService, TreeTopDirective, phoneValidator, scAtLeastOneRequiredValidator, scBicValidator, scClientUiIconsName, scCorrespondentAccountValidator, scPasswordConfirmMatchingValidator, stepValidator, tuiDateValueTransformerDefaultProvider };
4300
- export type { ApiErrorResponse, IBlockError, IScImage, ScBankAccountFormGroup, ScContactFormGroup, ScFeedbackFormConfig, ScFeedbackFormFieldType, ScILoader, ScIPreviewSample, ScLinkLocation, ScPreviewMosquitoConfig, TreeNode };
4352
+ export { AbstractScPriceCard, AuthMethod, CURRENT_COUNTRY_ID, FilesAndDocumentsComponent, FinishDateTimeTransformerDirective, IS_DEFAULT_COUNTRY, MAX_FILES_IN_FORM_INPUT, SC_ALLOW_SELECT_TERMINATED, SC_COMPANY_INFO, SC_DATE_FORMATTER, SC_ERROR_CHANGE_HANDLER, SC_HELP_NOTIFICATION_CLOSE, SC_HELP_NOTIFICATION_LIMIT, SC_MANAGER_QR_HANDLER, SC_NOTIFY_WHEN_IN_STOCK_REQUIRED_FIELDS, SC_PAGE_SIZE_OPTIONS, SC_PHONE_APPROVE_CODE_SENDER, SC_PHONE_APPROVE_CODE_SENDER_PROVIDER, SC_SHOW_HELP_NOTIFICATION_IN_PHONE_INPUT, SC_USER_CITY_INFO, SC_USER_INFO, SC_USER_PROVIDERS, SC_VERIFICATION_CODE_TIMEOUT, ScAccordionComponent, ScAccordionContentDirective, ScAddContactDialogComponent, ScAddContragentBankAccountsDialogComponent, ScAddContragentDialogComponent, ScAddDeliveryAddressDialogComponent, ScAddOrEditingCartItemDialogComponent, ScAddOrEditingCartItemFormComponent, ScAddressesSelectionFieldComponent, ScBannerComponent, ScBrandsListComponent, ScCartAddProductsFromCsvDialogComponent, ScCartItemComponent, ScCategoryCardComponent, ScContactsAccordionComponent, ScContragentsAccordionComponent, ScContragentsAccordionItemComponent, ScDeliveryAddressAccordionComponent, ScDeliveryAddressAccordionItemComponent, ScDownloadPriceListComponent, ScEmailLinkDirective, ScErrorBlockStatusComponent, ScErrorHandlerComponent, ScFavoriteButtonComponent, ScFeedbackFormComponent, ScFormatDatePipe, ScFrequentlyAskedQuestionsComponent, ScFrequentlyAskedQuestionsGroupSelectorComponent, ScFrequentlyAskedQuestionsWithGroupsComponent, ScGratitudeComponent, ScHelpNotificationService, ScHoverImageCarouselComponent, ScInputQuantityComponent, ScLinks, ScManagerCardComponent, ScManagerCardPushComponent, ScNewContactFormComponent, ScNewContragentBankAccountsFormComponent, ScNewContragentFormComponent, ScNewsCardComponent, ScNewsCardSkeletonComponent, ScNextInputFocusDirective, ScNotifyWhenInStockDialogComponent, ScOrderItemMobileComponent, ScPaymentStatusComponent, ScPhoneFormatPipe, ScPreviewSampleComponent, ScPreviewSamplesMosquitoComponent, ScPriceCardComponent, ScPriceCardInlineComponent, ScPriceHistoryComponent, ScPriceListPaginationComponent, ScPriceWarehouseStockComponent, ScPrivacyPolicyPageComponent, ScProductInAllWarehousesPipe, ScProfileAccordionsContentComponent, ScQRCodeDialogComponent, ScResetUserPasswordComponent, ScResourcePreviewComponent, ScSelectOnFocusinDirective, ScShareButtonComponent, ScSignInFormByEmailComponent, ScSignInFormByPhoneComponent, ScSignInFormComponent, ScSignUpFormComponent, ScSimpleSignUpFormComponent, ScSuggestionFieldComponent, ScTelLinkDirective, ScTerminalLinkDirective, ScUpdateUserInfoDialogComponent, ScUserManagersComponent, ScUserPhoneApproveDialogComponent, ScVerificationPhoneCheckFormComponent, TreeDirective, TreeIconService, TreeLoaderService, TreeTopDirective, phoneValidator, scAtLeastOneRequiredValidator, scBicValidator, scClientUiIconsName, scCorrespondentAccountValidator, scPasswordConfirmMatchingValidator, stepValidator, tuiDateValueTransformerDefaultProvider };
4353
+ export type { ApiErrorResponse, IBlockError, IScCompanyInfo, IScCompanyLegalInfo, IScImage, ScBankAccountFormGroup, ScContactFormGroup, ScFeedbackFormConfig, ScFeedbackFormFieldType, ScILoader, ScIPreviewSample, ScLinkLocation, ScPreviewMosquitoConfig, TreeNode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "4.0.1",
3
+ "version": "4.1.0",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
package/release_notes.tmp CHANGED
@@ -1,4 +1,10 @@
1
- ## 4.0.1 (2025-09-05)
1
+ ## 4.1.0 (2025-09-09)
2
2
 
3
- No changes.
3
+ ### added (1 change)
4
+
5
+ - [#12215: Добавлен компонент "Политика обработки персональных данных"](web_soft/libs/angular/snabcentr-client-ui-lib@81b31bce15b1abe83c7653f9f01ad7cd44840946) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!321))
6
+
7
+ ### fixed (1 change)
8
+
9
+ - [#12183: Исправлены тесты](web_soft/libs/angular/snabcentr-client-ui-lib@2b99ec4bdd24026058f7c8e98cb2c16d764635c3) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!320))
4
10
 
@@ -697,6 +697,10 @@ video {
697
697
  margin-left: 0.5rem;
698
698
  }
699
699
 
700
+ .ml-4 {
701
+ margin-left: 1rem;
702
+ }
703
+
700
704
  .mr-2 {
701
705
  margin-right: 0.5rem;
702
706
  }
@@ -848,6 +852,14 @@ video {
848
852
  width: auto !important;
849
853
  }
850
854
 
855
+ .w-1\/4 {
856
+ width: 25%;
857
+ }
858
+
859
+ .w-1\/5 {
860
+ width: 20%;
861
+ }
862
+
851
863
  .w-12 {
852
864
  width: 3rem;
853
865
  }
@@ -884,6 +896,10 @@ video {
884
896
  width: 12.5rem;
885
897
  }
886
898
 
899
+ .w-6\/12 {
900
+ width: 50%;
901
+ }
902
+
887
903
  .w-64 {
888
904
  width: 16rem;
889
905
  }
@@ -905,6 +921,10 @@ video {
905
921
  width: 100%;
906
922
  }
907
923
 
924
+ .min-w-\[44rem\] {
925
+ min-width: 44rem;
926
+ }
927
+
908
928
  .max-w-96 {
909
929
  max-width: 24rem;
910
930
  }
@@ -925,6 +945,10 @@ video {
925
945
  flex-shrink: 0;
926
946
  }
927
947
 
948
+ .flex-grow {
949
+ flex-grow: 1;
950
+ }
951
+
928
952
  .grow {
929
953
  flex-grow: 1;
930
954
  }
@@ -941,6 +965,10 @@ video {
941
965
  table-layout: auto;
942
966
  }
943
967
 
968
+ .table-fixed {
969
+ table-layout: fixed;
970
+ }
971
+
944
972
  .-translate-y-1\/2 {
945
973
  --tw-translate-y: -50%;
946
974
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -966,6 +994,14 @@ video {
966
994
  user-select: none;
967
995
  }
968
996
 
997
+ .list-decimal {
998
+ list-style-type: decimal;
999
+ }
1000
+
1001
+ .list-disc {
1002
+ list-style-type: disc;
1003
+ }
1004
+
969
1005
  .grid-cols-1 {
970
1006
  grid-template-columns: repeat(1, minmax(0, 1fr));
971
1007
  }
@@ -1181,6 +1217,11 @@ video {
1181
1217
  border-style: solid;
1182
1218
  }
1183
1219
 
1220
+ .border-gray-300 {
1221
+ --tw-border-opacity: 1;
1222
+ border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
1223
+ }
1224
+
1184
1225
  .border-tui-base-03 {
1185
1226
  border-color: var(--tui-background-neutral-1-hover);
1186
1227
  }
@@ -1202,6 +1243,11 @@ video {
1202
1243
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
1203
1244
  }
1204
1245
 
1246
+ .bg-gray-50 {
1247
+ --tw-bg-opacity: 1;
1248
+ background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
1249
+ }
1250
+
1205
1251
  .bg-tui-base-02 {
1206
1252
  background-color: var(--tui-background-base-alt);
1207
1253
  }
@@ -1316,6 +1362,11 @@ video {
1316
1362
  padding-right: 0.5rem;
1317
1363
  }
1318
1364
 
1365
+ .px-4 {
1366
+ padding-left: 1rem;
1367
+ padding-right: 1rem;
1368
+ }
1369
+
1319
1370
  .px-6 {
1320
1371
  padding-left: 1.5rem;
1321
1372
  padding-right: 1.5rem;
@@ -1326,6 +1377,11 @@ video {
1326
1377
  padding-bottom: 3.5rem;
1327
1378
  }
1328
1379
 
1380
+ .py-2 {
1381
+ padding-top: 0.5rem;
1382
+ padding-bottom: 0.5rem;
1383
+ }
1384
+
1329
1385
  .py-4\.5 {
1330
1386
  padding-top: 1.125rem;
1331
1387
  padding-bottom: 1.125rem;
@@ -1347,6 +1403,10 @@ video {
1347
1403
  padding-top: 0.5rem;
1348
1404
  }
1349
1405
 
1406
+ .text-left {
1407
+ text-align: left;
1408
+ }
1409
+
1350
1410
  .text-center {
1351
1411
  text-align: center;
1352
1412
  }