@snabcentr/client-ui 4.1.0 → 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, ScICompanyBaseInfo, ScISuggestionAddress, ScIDeliveryAddress, ScDocumentInfo, ScFilesService, ScIRegion, ScICity, ScISuggestionOrganization, ScNewsTile, ScFaqItem, ScFaqGroup, ScFrequentlyAskedQuestionsService, ScIUrls, 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';
@@ -2347,38 +2347,6 @@ 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
-
2382
2350
  /**
2383
2351
  * Компонент добавления адреса доставки.
2384
2352
  */
@@ -3293,19 +3261,19 @@ declare class ScFrequentlyAskedQuestionsWithGroupsComponent {
3293
3261
  }
3294
3262
 
3295
3263
  /**
3296
- * Страница политики обработки персональных данных пользователей сайта.
3264
+ * Компонент политики обработки персональных данных пользователей сайта.
3297
3265
  */
3298
- declare class ScPrivacyPolicyPageComponent {
3266
+ declare class ScPersonalDataProcessingPolicyComponent {
3299
3267
  /**
3300
- * Данные настроек окружения.
3268
+ * Данные о компании.
3301
3269
  */
3302
- protected readonly companyInfo: Readonly<IScCompanyInfo>;
3270
+ protected readonly companyInfo: Readonly<ScICompanyBaseInfo>;
3303
3271
  /**
3304
3272
  * Список ссылок на разделы backend'a.
3305
3273
  */
3306
3274
  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>;
3275
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPersonalDataProcessingPolicyComponent, never>;
3276
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPersonalDataProcessingPolicyComponent, "sc-personal-data-processing-policy", never, {}, {}, never, never, true, never>;
3309
3277
  }
3310
3278
 
3311
3279
  /**
@@ -3591,11 +3559,6 @@ declare const tuiDateValueTransformerDefaultProvider: Provider[];
3591
3559
  */
3592
3560
  declare const SC_NOTIFY_WHEN_IN_STOCK_REQUIRED_FIELDS: InjectionToken<string[]>;
3593
3561
 
3594
- /**
3595
- * Токен для получения полной информации о компании.
3596
- */
3597
- declare const SC_COMPANY_INFO: InjectionToken<IScCompanyInfo>;
3598
-
3599
3562
  /**
3600
3563
  * Типы доступных полей для форм обратной связи.
3601
3564
  */
@@ -4349,5 +4312,5 @@ declare class ScProfileAccordionsContentComponent {
4349
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>;
4350
4313
  }
4351
4314
 
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 };
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 };
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.1.0",
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,10 +1,11 @@
1
- ## 4.1.0 (2025-09-09)
1
+ ## 4.2.0 (2025-09-10)
2
2
 
3
- ### added (1 change)
3
+ ### fixed (2 changes)
4
4
 
5
- - [#12215: Добавлен компонент "Политика обработки персональных данных"](web_soft/libs/angular/snabcentr-client-ui-lib@81b31bce15b1abe83c7653f9f01ad7cd44840946) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!321))
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))
6
7
 
7
- ### fixed (1 change)
8
+ ### changed (1 change)
8
9
 
9
- - [#12183: Исправлены тесты](web_soft/libs/angular/snabcentr-client-ui-lib@2b99ec4bdd24026058f7c8e98cb2c16d764635c3) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!320))
10
+ - [#12215: Доработан компонент "Политика обработки персональных данных пользователей сайта"](web_soft/libs/angular/snabcentr-client-ui-lib@bc0d8382b309d99854c13065bd03efe4e1c00e84) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!323))
10
11