@snabcentr/client-ui 3.48.1 → 3.49.2

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.
Files changed (81) hide show
  1. package/auth/sc-auth.module.d.ts +8 -8
  2. package/banner/sc-banner.module.d.ts +2 -3
  3. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +1 -1
  4. package/catalog/sc-catalog.module.d.ts +1 -1
  5. package/contacts/sc-contacts.module.d.ts +12 -13
  6. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +1 -1
  7. package/contragents/sc-contragents.module.d.ts +8 -9
  8. package/delivery-address/sc-delivery-address.module.d.ts +11 -12
  9. package/error-handler/consts/error-change-handler.providers.d.ts +2 -1
  10. package/esm2022/auth/sc-auth.module.mjs +2 -4
  11. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +5 -6
  12. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +2 -1
  13. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +10 -10
  14. package/esm2022/banner/sc-banner.component.mjs +4 -5
  15. package/esm2022/banner/sc-banner.module.mjs +3 -4
  16. package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +2 -2
  17. package/esm2022/cart/cart-item/sc-cart-item.component.mjs +3 -3
  18. package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +2 -3
  19. package/esm2022/catalog/price-history/sc-price-history.component.mjs +7 -7
  20. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +3 -4
  21. package/esm2022/catalog/sc-catalog.module.mjs +2 -4
  22. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +6 -7
  23. package/esm2022/contacts/sc-contacts.module.mjs +1 -4
  24. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +17 -16
  25. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +6 -4
  26. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +4 -5
  27. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +4 -5
  28. package/esm2022/contragents/sc-contragents.module.mjs +1 -4
  29. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +2 -4
  30. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +6 -7
  31. package/esm2022/delivery-address/sc-delivery-address.module.mjs +1 -4
  32. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +2 -2
  33. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +5 -3
  34. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +2 -2
  35. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +6 -7
  36. package/esm2022/form-fields/form-fields.module.mjs +1 -4
  37. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +6 -7
  38. package/esm2022/news/news-card/sc-news-card.component.mjs +1 -1
  39. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +5 -3
  40. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +10 -11
  41. package/esm2022/profile/sc-profile.module.mjs +1 -4
  42. package/esm2022/providers/index.mjs +1 -2
  43. package/esm2022/providers/sc-allow-select-terminated.mjs +5 -3
  44. package/esm2022/providers/sc-banner-duration.mjs +5 -3
  45. package/esm2022/providers/sc-country-ids.mjs +5 -3
  46. package/esm2022/providers/sc-date-formatter.mjs +10 -7
  47. package/esm2022/providers/sc-help-notification-close.mjs +5 -3
  48. package/esm2022/providers/sc-help-notification-limit.mjs +5 -3
  49. package/esm2022/providers/sc-max-files-in-form-input.mjs +5 -3
  50. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +5 -3
  51. package/esm2022/providers/sc-page-size-options.mjs +5 -3
  52. package/esm2022/providers/sc-user-providers.mjs +17 -12
  53. package/esm2022/providers/sc-verification-code-timeout.mjs +5 -3
  54. package/esm2022/public-api.mjs +1 -5
  55. package/esm2022/samples/sc-sample.module.mjs +2 -4
  56. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +4 -5
  57. package/esm2022/user/sc-user.module.mjs +1 -4
  58. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +11 -12
  59. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +7 -8
  60. package/esm2022/verification/sc-verification.module.mjs +2 -4
  61. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +6 -6
  62. package/fesm2022/snabcentr-client-ui.mjs +285 -497
  63. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  64. package/form-fields/form-fields.module.d.ts +4 -5
  65. package/news/news-card/sc-news-card.component.d.ts +2 -2
  66. package/package.json +7 -8
  67. package/profile/sc-profile.module.d.ts +8 -9
  68. package/providers/index.d.ts +0 -1
  69. package/public-api.d.ts +0 -1
  70. package/samples/sc-sample.module.d.ts +1 -1
  71. package/styles/tailwind/tailwind.scss +1 -1
  72. package/user/sc-user.module.d.ts +7 -8
  73. package/verification/sc-verification.module.d.ts +7 -7
  74. package/esm2022/providers/sc-category.providers.mjs +0 -43
  75. package/esm2022/schemas/breadcrumb-list.interface.mjs +0 -2
  76. package/esm2022/schemas/index.mjs +0 -3
  77. package/esm2022/schemas/sc-json-ld-category/sc-json-ld-category.component.mjs +0 -192
  78. package/providers/sc-category.providers.d.ts +0 -11
  79. package/schemas/breadcrumb-list.interface.d.ts +0 -38
  80. package/schemas/index.d.ts +0 -2
  81. package/schemas/sc-json-ld-category/sc-json-ld-category.component.d.ts +0 -63
@@ -1,63 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { ScCategory, ScICompanyBaseInfo, ScIUrls, ScProduct, ScVirtualCategory } from '@snabcentr/client-core';
3
- import { CollectionPage, WithContext } from 'schema-dts';
4
- import { BreadcrumbList } from '../breadcrumb-list.interface';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Компонент для отображения структурированных данных @see [Schema.org](https://schema.org) для страниц каталога.
8
- */
9
- export declare class ScJsonLdCategoryComponent {
10
- /**
11
- * Категория товаров (обычная или виртуальная).
12
- */
13
- readonly category: import("@angular/core").InputSignal<ScCategory | ScVirtualCategory>;
14
- /**
15
- * Список товаров.
16
- */
17
- readonly products: import("@angular/core").InputSignal<ScProduct[] | undefined>;
18
- /**
19
- * Хлебные крошки.
20
- */
21
- readonly breadcrumbs: import("@angular/core").InputSignal<BreadcrumbList | undefined>;
22
- /**
23
- * Пайп для формирования полного URI изображения на media сервере.
24
- */
25
- private readonly mediaImageTransformerPipe;
26
- /**
27
- * Пайп для преобразования идентификатора или slug в идентификатор.
28
- */
29
- private readonly idOrSlugPipe;
30
- /**
31
- * Данные о компании.
32
- */
33
- protected readonly companyInfo: Readonly<ScICompanyBaseInfo>;
34
- /**
35
- * Список ссылок приложения.
36
- */
37
- protected readonly urls: ScIUrls;
38
- /**
39
- * Схема структурированных данных для CollectionPage.
40
- */
41
- readonly schema: Signal<WithContext<CollectionPage>>;
42
- /**
43
- * Проверяет, является ли категория виртуальной.
44
- *
45
- * @param category Категория для проверки.
46
- */
47
- private isVirtualCategory;
48
- /**
49
- * Получает URL для категории.
50
- *
51
- * @param category Категория для получения URL.
52
- */
53
- private getCategoryUrl;
54
- /**
55
- * Создает mainEntity для схемы.
56
- *
57
- * @param category Категория.
58
- * @param products Список товаров.
59
- */
60
- private createMainEntity;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<ScJsonLdCategoryComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<ScJsonLdCategoryComponent, "sc-json-ld-category", never, { "category": { "alias": "category"; "required": true; "isSignal": true; }; "products": { "alias": "products"; "required": false; "isSignal": true; }; "breadcrumbs": { "alias": "breadcrumbs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
63
- }