@snabcentr/client-ui 5.5.1 → 5.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "5.5.1",
3
+ "version": "5.6.1",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -15,7 +15,7 @@
15
15
  "@maskito/core": "^5.0.0",
16
16
  "@ng-web-apis/intersection-observer": "^5.0.0",
17
17
  "@ng-web-apis/common": "^5.0.0",
18
- "@snabcentr/client-core": "^4.10.0",
18
+ "@snabcentr/client-core": "^4.11.0",
19
19
  "@taiga-ui/addon-charts": "^5.9.0",
20
20
  "@taiga-ui/addon-commerce": "^5.9.0",
21
21
  "@taiga-ui/cdk": "^5.9.0",
package/release_notes.tmp CHANGED
@@ -1,4 +1,6 @@
1
- ## 5.5.1 (2026-07-23)
1
+ ## 5.6.1 (2026-07-28)
2
2
 
3
- No changes.
3
+ ### fixed (1 change)
4
+
5
+ - [#13620: Исправлена работа фильтров каталога](web_soft/libs/angular/snabcentr-client-ui-lib@eb0c83435f0b6a39e676b809f62502eedea4a2d6) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!429))
4
6
 
@@ -2097,10 +2097,11 @@ declare class ScCatalogFiltersComponent {
2097
2097
  */
2098
2098
  private processCheckboxFilter;
2099
2099
  /**
2100
- * Обрабатывает range фильтр.
2100
+ * Обрабатывает range фильтр: границы «от»/«до» независимы, на сервер уходит только та, что отличается от дефолта
2101
+ * ({@link ScRangeFilter.selectedMin}/{@link ScRangeFilter.selectedMax} либо min/max). Если обе равны дефолтам — фильтр не добавляется.
2101
2102
  *
2102
2103
  * @param result Объект результата для заполнения.
2103
- * @param filterId Идентификатор фильтра.
2104
+ * @param rangeFilter Метафильтр range (границы и выбранные значения по умолчанию).
2104
2105
  * @param range Значение контрола формы (объект с границами).
2105
2106
  * @param range.from Начальное значение диапазона.
2106
2107
  * @param range.to Конечное значение диапазона.
@@ -3992,6 +3993,28 @@ interface ScILoader {
3992
3993
  loadingList: Set<string>;
3993
3994
  }
3994
3995
 
3996
+ /**
3997
+ * Элемент списка брендов.
3998
+ */
3999
+ interface ScBrandListItem {
4000
+ /**
4001
+ * URL изображения бренда.
4002
+ */
4003
+ src: string;
4004
+ /**
4005
+ * Альтернативный текст изображения.
4006
+ */
4007
+ alt: string;
4008
+ /**
4009
+ * Ширина изображения в пикселях.
4010
+ */
4011
+ width: number;
4012
+ /**
4013
+ * Высота изображения в пикселях.
4014
+ */
4015
+ height: number;
4016
+ }
4017
+
3995
4018
  /**
3996
4019
  * Компонент списка брэндов.
3997
4020
  */
@@ -3999,10 +4022,7 @@ declare class ScBrandsListComponent {
3999
4022
  /**
4000
4023
  * Список элементов брендов.
4001
4024
  */
4002
- items: Array<{
4003
- src: string;
4004
- alt: string;
4005
- }>;
4025
+ items: ScBrandListItem[];
4006
4026
  /**
4007
4027
  * Возвращает массив заданной длины для итерации.
4008
4028
  *
@@ -6053,4 +6073,4 @@ declare class ScProfileAccordionsContentComponent {
6053
6073
  }
6054
6074
 
6055
6075
  export { AbstractScPriceCard, AuthMethod, CURRENT_COUNTRY_ID, CostWithDiscountComponent, FilesAndDocumentsComponent, FinishDateTimeTransformerDirective, IDLE_ITEM_STATE, IS_DEFAULT_COUNTRY, MAX_FILES_IN_FORM_INPUT, SC_ALLOW_SELECT_TERMINATED, SC_BANNER_DURATION, SC_CATALOG_PRODUCTS_FILTERS, SC_CATALOG_SHOW_PRODUCTS_RECURSIVELY, SC_DATE_FORMATTER, SC_DEBOUNCE_TIME_DEFAULT, SC_DIALOG_SERVICE_TOKEN, SC_ERROR_CHANGE_HANDLER, SC_HELP_NOTIFICATION_CLOSE, SC_HELP_NOTIFICATION_LIMIT, SC_HIDDEN_PRINT_ELEMENTS, SC_MANAGER_QR_HANDLER, SC_NOTIFY_WHEN_IN_STOCK_REQUIRED_FIELDS, SC_ORDER_FORM_CONFIG, SC_ORDER_OPTIONS, SC_PAGE_SIZE_OPTIONS, 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, ScCatalogFilterCollapsibleComponent, ScCatalogFiltersComponent, ScCategoryCardComponent, ScContactsAccordionComponent, ScContragentsAccordionComponent, ScContragentsAccordionItemComponent, ScDeliveryAddressAccordionComponent, ScDeliveryAddressAccordionItemComponent, ScDownloadPriceListComponent, ScDraftComponent, ScEmailLinkDirective, ScErrorBlockStatusComponent, ScErrorHandlerComponent, ScFavoriteButtonComponent, ScFeedbackFormComponent, ScFocusFirstInvalidFieldDirective, ScFormatDatePipe, ScFrequentlyAskedQuestionsComponent, ScFrequentlyAskedQuestionsGroupSelectorComponent, ScFrequentlyAskedQuestionsWithGroupsComponent, ScGratitudeComponent, ScHelpNotificationService, ScHoverImageCarouselComponent, ScInputQuantityComponent, ScLinks, ScManagerCardComponent, ScManagerCardPushComponent, ScNewContactFormComponent, ScNewContragentBankAccountsFormComponent, ScNewContragentFormComponent, ScNewsCardComponent, ScNewsCardSkeletonComponent, ScNextInputFocusDirective, ScNoindexDirective, ScNoindexWrapperComponent, ScNotifyWhenInStockDialogComponent, ScOrderAccessorDirective, ScOrderDirectionItemsComponent, ScOrderFormComponent, ScOrderItemComponent, ScOrderItemsByDirection, ScOrderItemsListByDirectionsComponent, ScOrderItemsListByStockComponent, ScOrderItemsListComponent, ScPaymentStatusComponent, ScPersonalDataProcessingPolicyComponent, ScPhoneFormatPipe, ScPreviewSampleComponent, ScPreviewSamplesMosquitoComponent, ScPriceCardComponent, ScPriceCardInlineComponent, ScPriceHistoryComponent, ScPriceListPaginationComponent, ScPriceWarehouseStockComponent, ScPrintDirective, ScPrintService, ScPrivacyPolicyComponent, ScProductInAllWarehousesPipe, ScProfileAccordionsContentComponent, ScPublicOfferComponent, ScQRCodeDialogComponent, ScResetUserPasswordComponent, ScResourcePreviewComponent, ScSandwichComponent, ScSandwichM2Component, ScSandwichM2SkeletonComponent, ScSandwichSkeletonComponent, ScSelectOnFocusinDirective, ScSeoTagsComponent, ScShareButtonComponent, ScSignInFormByEmailComponent, ScSignInFormByPhoneComponent, ScSignInFormComponent, ScSignUpFormComponent, ScSimpleSignUpFormComponent, ScSuggestionFieldComponent, ScTelLinkDirective, ScTerminalLinkDirective, ScUpdateUserInfoDialogComponent, ScUserManagersComponent, ScUserPhoneApproveDialogComponent, ScVerificationPhoneCheckFormComponent, TreeDirective, TreeIconService, TreeLoaderService, TreeTopDirective, cleanupRecaptchaArtifacts, phoneValidator, scAtLeastOneRequiredValidator, scBicValidator, scClientUiIconsName, scCorrespondentAccountValidator, scGetCurrentRoute, scPasswordConfirmMatchingValidator, stepValidator, tuiDateValueTransformerDefaultProvider };
6056
- export type { ApiErrorResponse, IBlockError, INewOrderForm, IScDialogService, IScImage, ScBankAccountFormGroup, ScContactFormGroup, ScFeedbackFormConfig, ScFeedbackFormFieldType, ScIConfiguratorSearchProductSandwich, ScILoader, ScINewCartItemSandwich, ScINewCartItemSandwichM2, ScIOrderFormConfig, ScIPreviewSample, ScISandwichM2Settings, ScISandwichSettings, ScLinkLocation, ScOrderOptions, ScPreviewMosquitoConfig, ScSandwichM2ItemSubmitState, TreeNode };
6076
+ export type { ApiErrorResponse, IBlockError, INewOrderForm, IScDialogService, IScImage, ScBankAccountFormGroup, ScBrandListItem, ScContactFormGroup, ScFeedbackFormConfig, ScFeedbackFormFieldType, ScIConfiguratorSearchProductSandwich, ScILoader, ScINewCartItemSandwich, ScINewCartItemSandwichM2, ScIOrderFormConfig, ScIPreviewSample, ScISandwichM2Settings, ScISandwichSettings, ScLinkLocation, ScOrderOptions, ScPreviewMosquitoConfig, ScSandwichM2ItemSubmitState, TreeNode };