@snabcentr/client-ui 4.0.1 → 4.2.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, ScISuggestionAddress, ScIDeliveryAddress, ScDocumentInfo, ScFilesService, ScIRegion, ScICity, ScISuggestionOrganization, ScNewsTile, ScFaqItem, ScFaqGroup, ScFrequentlyAskedQuestionsService, ScICompanyBaseInfo, 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';
@@ -3260,6 +3260,22 @@ declare class ScFrequentlyAskedQuestionsWithGroupsComponent {
3260
3260
  static ɵcmp: i0.ɵɵComponentDeclaration<ScFrequentlyAskedQuestionsWithGroupsComponent, "sc-frequently-asked-questions-with-groups", never, {}, { "clickSendQuestion": "clickSendQuestion"; }, never, never, true, never>;
3261
3261
  }
3262
3262
 
3263
+ /**
3264
+ * Компонент политики обработки персональных данных пользователей сайта.
3265
+ */
3266
+ declare class ScPersonalDataProcessingPolicyComponent {
3267
+ /**
3268
+ * Данные о компании.
3269
+ */
3270
+ protected readonly companyInfo: Readonly<ScICompanyBaseInfo>;
3271
+ /**
3272
+ * Список ссылок на разделы backend'a.
3273
+ */
3274
+ protected readonly urls: ScIUrls;
3275
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPersonalDataProcessingPolicyComponent, never>;
3276
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPersonalDataProcessingPolicyComponent, "sc-personal-data-processing-policy", never, {}, {}, never, never, true, never>;
3277
+ }
3278
+
3263
3279
  /**
3264
3280
  * Пайп для форматирования даты и времени.
3265
3281
  */
@@ -4296,5 +4312,5 @@ declare class ScProfileAccordionsContentComponent {
4296
4312
  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
4313
  }
4298
4314
 
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 };
4315
+ 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, ScPersonalDataProcessingPolicyComponent, 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
4316
  export type { ApiErrorResponse, IBlockError, 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.2.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,11 @@
1
- ## 4.0.1 (2025-09-05)
1
+ ## 4.2.0 (2025-09-10)
2
2
 
3
- No changes.
3
+ ### fixed (2 changes)
4
+
5
+ - [#12215: Исправлены ошибки данных о компании](web_soft/libs/angular/snabcentr-client-ui-lib@5743d50c1db8471bddb59b595dad7e83cd4ed8e8) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!324))
6
+ - [#12215: Исправлены названия компонентов](web_soft/libs/angular/snabcentr-client-ui-lib@34029e03b497e0ac170fb4a180dbfa61dbbd2a05) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!322))
7
+
8
+ ### changed (1 change)
9
+
10
+ - [#12215: Доработан компонент "Политика обработки персональных данных пользователей сайта"](web_soft/libs/angular/snabcentr-client-ui-lib@bc0d8382b309d99854c13065bd03efe4e1c00e84) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!323))
4
11
 
@@ -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
  }