@snabcentr/client-ui 5.7.3 → 5.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "5.7.3",
3
+ "version": "5.8.0",
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.11.0",
18
+ "@snabcentr/client-core": "^4.16.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,11 @@
1
- ## 5.7.3 (2026-08-06)
1
+ ## 5.8.0 (2026-08-17)
2
2
 
3
- No changes.
3
+ ### added (2 changes)
4
+
5
+ - [#13633: Добавлен компонент списка новостей с пагинацией через query-параметр...](web_soft/libs/angular/snabcentr-client-ui-lib@c054e811f8c7129e0a0cc01615ff1a92f7384775) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!439))
6
+ - [#13015: Добавлены компоненты оформления заказа для объединения страниц корзины](web_soft/libs/angular/snabcentr-client-ui-lib@bf19e7becdae902d1ef9c31d25dc084fc5a6da6e) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!437))
7
+
8
+ ### fixed (1 change)
9
+
10
+ - [#13577: Исправлена некорректная работа блока фильтров](web_soft/libs/angular/snabcentr-client-ui-lib@88472dffcb45df602d3d79a528b9a8d21997cd22) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!436))
4
11
 
@@ -554,18 +554,6 @@ video {
554
554
  display: none;
555
555
  }
556
556
 
557
- .sr-only {
558
- position: absolute;
559
- width: 1px;
560
- height: 1px;
561
- padding: 0;
562
- margin: -1px;
563
- overflow: hidden;
564
- clip: rect(0, 0, 0, 0);
565
- white-space: nowrap;
566
- border-width: 0;
567
- }
568
-
569
557
  .pointer-events-none {
570
558
  pointer-events: none;
571
559
  }
@@ -800,10 +788,6 @@ video {
800
788
  display: block;
801
789
  }
802
790
 
803
- .inline-block {
804
- display: inline-block;
805
- }
806
-
807
791
  .flex {
808
792
  display: flex;
809
793
  }
@@ -931,6 +915,10 @@ video {
931
915
  max-height: 5rem;
932
916
  }
933
917
 
918
+ .\!min-h-0 {
919
+ min-height: 0px !important;
920
+ }
921
+
934
922
  .min-h-8 {
935
923
  min-height: 2rem;
936
924
  }
@@ -1110,6 +1098,10 @@ video {
1110
1098
  grid-template-columns: repeat(4, minmax(0, 1fr));
1111
1099
  }
1112
1100
 
1101
+ .grid-cols-\[repeat\(auto-fill\2c minmax\(17rem\2c 1fr\)\)\] {
1102
+ grid-template-columns: repeat(auto-fill,minmax(17rem,1fr));
1103
+ }
1104
+
1113
1105
  .flex-col {
1114
1106
  flex-direction: column;
1115
1107
  }
@@ -1427,6 +1419,10 @@ video {
1427
1419
  object-position: right;
1428
1420
  }
1429
1421
 
1422
+ .\!p-0 {
1423
+ padding: 0px !important;
1424
+ }
1425
+
1430
1426
  .\!p-\[0\.4rem\] {
1431
1427
  padding: 0.4rem !important;
1432
1428
  }
@@ -1781,6 +1777,10 @@ video {
1781
1777
  text-decoration-line: line-through;
1782
1778
  }
1783
1779
 
1780
+ .opacity-0 {
1781
+ opacity: 0;
1782
+ }
1783
+
1784
1784
  .opacity-50 {
1785
1785
  opacity: 0.5;
1786
1786
  }
@@ -4851,10 +4851,6 @@ declare class ScPaymentStatusComponent {
4851
4851
  * Наименование query-параметра идентификатора группы часто задаваемых вопросов.
4852
4852
  */
4853
4853
  declare const SC_FAQ_GROUP_QUERY_PARAM = "group";
4854
- /**
4855
- * Наименование query-параметра номера страницы пагинации часто задаваемых вопросов.
4856
- */
4857
- declare const SC_FAQ_PAGE_QUERY_PARAM = "page";
4858
4854
 
4859
4855
  /**
4860
4856
  * Компонент часто задаваемых вопросов.
@@ -4957,10 +4953,6 @@ declare class ScFrequentlyAskedQuestionsWithGroupsComponent {
4957
4953
  * Признак, что приложение запущено на сервере.
4958
4954
  */
4959
4955
  private readonly isServer;
4960
- /**
4961
- * Индекс первой страницы.
4962
- */
4963
- private readonly firstPageIndex;
4964
4956
  /**
4965
4957
  * Количество записей на странице пагинации.
4966
4958
  */
@@ -5015,6 +5007,60 @@ declare class ScFrequentlyAskedQuestionsWithGroupsComponent {
5015
5007
  static ɵcmp: i0.ɵɵComponentDeclaration<ScFrequentlyAskedQuestionsWithGroupsComponent, "sc-frequently-asked-questions-with-groups", never, {}, { "clickSendQuestion": "clickSendQuestion"; }, never, never, true, never>;
5016
5008
  }
5017
5009
 
5010
+ /**
5011
+ * Компонент списка новостей с пагинацией через query-параметр страницы.
5012
+ *
5013
+ * Ссылки пагинации корректно работают при SSR и позволяют поисковым роботам обходить страницы списка.
5014
+ */
5015
+ declare class ScNewsListComponent {
5016
+ /**
5017
+ * Сервис для получения списка новостей.
5018
+ */
5019
+ private readonly newsService;
5020
+ /**
5021
+ * Сервис маршрутизации.
5022
+ */
5023
+ private readonly router;
5024
+ /**
5025
+ * {@link InputSignal} количества записей на странице пагинации.
5026
+ */
5027
+ readonly perPage: InputSignal<number>;
5028
+ /**
5029
+ * {@link Observable} изменения номера страницы пагинации из query-параметров.
5030
+ */
5031
+ protected readonly page$: Observable<number>;
5032
+ /**
5033
+ * {@link Observable} запроса данных списка новостей.
5034
+ */
5035
+ protected readonly request$: Observable<_snabcentr_client_core.ScIPaginate<ScINewsTile> | null>;
5036
+ /**
5037
+ * {@link Observable} изменения количества страниц пагинации.
5038
+ */
5039
+ protected readonly pagesLength$: Observable<number>;
5040
+ /**
5041
+ * {@link Observable} изменения номера страницы пагинации из данных пагинации запроса.
5042
+ */
5043
+ protected readonly currentPage$: Observable<number>;
5044
+ /**
5045
+ * {@link Observable} изменения состояния загрузки данных.
5046
+ */
5047
+ protected readonly loading$: Observable<boolean>;
5048
+ /**
5049
+ * {@link Observable} изменения списка новостей страницы пагинации.
5050
+ */
5051
+ protected readonly data$: Observable<ScINewsTile[] | null>;
5052
+ /**
5053
+ * Событие изменения списка новостей страницы пагинации.
5054
+ */
5055
+ readonly dataChangeEvent: OutputRef<ScINewsTile[]>;
5056
+ /**
5057
+ * Инициализирует экземпляр класса {@link ScNewsListComponent}.
5058
+ */
5059
+ constructor();
5060
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsListComponent, never>;
5061
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsListComponent, "sc-news-list", never, { "perPage": { "alias": "perPage"; "required": false; "isSignal": true; }; }, { "dataChangeEvent": "dataChangeEvent"; }, never, never, true, never>;
5062
+ }
5063
+
5018
5064
  /**
5019
5065
  * Компонент политики обработки персональных данных пользователей сайта.
5020
5066
  */
@@ -6168,5 +6214,5 @@ declare class ScProfileAccordionsContentComponent {
6168
6214
  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>;
6169
6215
  }
6170
6216
 
6171
- 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_FAQ_GROUP_QUERY_PARAM, SC_FAQ_PAGE_QUERY_PARAM, 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, ScPaginationLinksComponent, 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, scGetFaqGroupQueryParams, scPasswordConfirmMatchingValidator, stepValidator, tuiDateValueTransformerDefaultProvider };
6217
+ 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_FAQ_GROUP_QUERY_PARAM, 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, ScNewsListComponent, ScNextInputFocusDirective, ScNoindexDirective, ScNoindexWrapperComponent, ScNotifyWhenInStockDialogComponent, ScOrderAccessorDirective, ScOrderDirectionItemsComponent, ScOrderFormComponent, ScOrderItemComponent, ScOrderItemsByDirection, ScOrderItemsListByDirectionsComponent, ScOrderItemsListByStockComponent, ScOrderItemsListComponent, ScPaginationLinksComponent, 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, scGetFaqGroupQueryParams, scPasswordConfirmMatchingValidator, stepValidator, tuiDateValueTransformerDefaultProvider };
6172
6218
  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 };