@snabcentr/client-ui 0.0.0-test

Sign up to get free protection for your applications and to get access to all the features.
Files changed (212) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +9 -0
  3. package/banner/index.d.ts +2 -0
  4. package/banner/sc-banner.component.d.ts +130 -0
  5. package/banner/sc-banner.module.d.ts +17 -0
  6. package/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +77 -0
  7. package/cart/index.d.ts +2 -0
  8. package/cart/sc-cart.module.d.ts +16 -0
  9. package/catalog/category-card/sc-category-card.component.d.ts +68 -0
  10. package/catalog/index.d.ts +7 -0
  11. package/catalog/input-quantity/sc-input-quantity.component.d.ts +75 -0
  12. package/catalog/price-card/sc-price-card.component.d.ts +114 -0
  13. package/catalog/price-history/sc-chart-option.d.ts +7 -0
  14. package/catalog/price-history/sc-i-chart-data-item.d.ts +13 -0
  15. package/catalog/price-history/sc-lang-RU.d.ts +113 -0
  16. package/catalog/price-history/sc-price-history.component.d.ts +73 -0
  17. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +37 -0
  18. package/catalog/sc-catalog.module.d.ts +21 -0
  19. package/catalog/sc-favorite-btn/sc-favorite-btn.component.d.ts +13 -0
  20. package/esm2020/banner/index.mjs +3 -0
  21. package/esm2020/banner/sc-banner.component.mjs +222 -0
  22. package/esm2020/banner/sc-banner.module.mjs +27 -0
  23. package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +119 -0
  24. package/esm2020/cart/index.mjs +3 -0
  25. package/esm2020/cart/sc-cart.module.mjs +58 -0
  26. package/esm2020/catalog/category-card/sc-category-card.component.mjs +109 -0
  27. package/esm2020/catalog/index.mjs +8 -0
  28. package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +154 -0
  29. package/esm2020/catalog/price-card/sc-price-card.component.mjs +154 -0
  30. package/esm2020/catalog/price-history/sc-chart-option.mjs +79 -0
  31. package/esm2020/catalog/price-history/sc-i-chart-data-item.mjs +2 -0
  32. package/esm2020/catalog/price-history/sc-lang-RU.mjs +113 -0
  33. package/esm2020/catalog/price-history/sc-price-history.component.mjs +104 -0
  34. package/esm2020/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +44 -0
  35. package/esm2020/catalog/sc-catalog.module.mjs +88 -0
  36. package/esm2020/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +24 -0
  37. package/esm2020/files/directives/index.mjs +3 -0
  38. package/esm2020/files/directives/tree-top.directive.mjs +63 -0
  39. package/esm2020/files/directives/tree.directive.mjs +47 -0
  40. package/esm2020/files/file-tree-item/file-tree-item.component.mjs +18 -0
  41. package/esm2020/files/files-and-documents.component.mjs +60 -0
  42. package/esm2020/files/files-and-documents.module.mjs +26 -0
  43. package/esm2020/files/index.mjs +6 -0
  44. package/esm2020/files/interfaces/tree-node.mjs +2 -0
  45. package/esm2020/files/services/index.mjs +3 -0
  46. package/esm2020/files/services/tree-icon.service.mjs +48 -0
  47. package/esm2020/files/services/tree-loader.service.mjs +60 -0
  48. package/esm2020/helpers/index.mjs +2 -0
  49. package/esm2020/helpers/sc-px-converter.mjs +27 -0
  50. package/esm2020/helpers/sc-units-helper.mjs +44 -0
  51. package/esm2020/icons/index.mjs +2 -0
  52. package/esm2020/icons/sc-client-ui-icons-name.mjs +107 -0
  53. package/esm2020/loader/index.mjs +2 -0
  54. package/esm2020/loader/sc-i-loader.mjs +2 -0
  55. package/esm2020/news/index.mjs +4 -0
  56. package/esm2020/news/news-card/sc-news-card.component.mjs +31 -0
  57. package/esm2020/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +23 -0
  58. package/esm2020/news/sc-news.module.mjs +24 -0
  59. package/esm2020/order/index.mjs +3 -0
  60. package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +79 -0
  61. package/esm2020/order/sc-order.module.mjs +23 -0
  62. package/esm2020/public-api.mjs +15 -0
  63. package/esm2020/share-button/index.mjs +3 -0
  64. package/esm2020/share-button/sc-share-button.component.mjs +35 -0
  65. package/esm2020/share-button/sc-share-button.module.mjs +22 -0
  66. package/esm2020/snabcentr-client-ui.mjs +5 -0
  67. package/esm2020/tokens/index.mjs +2 -0
  68. package/esm2020/tokens/sc-linear-values-token.mjs +10 -0
  69. package/esm2020/validators/index.mjs +2 -0
  70. package/esm2020/validators/stepValidator.mjs +13 -0
  71. package/fesm2015/snabcentr-client-ui.mjs +1929 -0
  72. package/fesm2015/snabcentr-client-ui.mjs.map +1 -0
  73. package/fesm2020/snabcentr-client-ui.mjs +1901 -0
  74. package/fesm2020/snabcentr-client-ui.mjs.map +1 -0
  75. package/files/directives/index.d.ts +2 -0
  76. package/files/directives/tree-top.directive.d.ts +33 -0
  77. package/files/directives/tree.directive.d.ts +35 -0
  78. package/files/file-tree-item/file-tree-item.component.d.ts +9 -0
  79. package/files/files-and-documents.component.d.ts +27 -0
  80. package/files/files-and-documents.module.d.ts +16 -0
  81. package/files/index.d.ts +5 -0
  82. package/files/interfaces/tree-node.d.ts +29 -0
  83. package/files/services/index.d.ts +2 -0
  84. package/files/services/tree-icon.service.d.ts +23 -0
  85. package/files/services/tree-loader.service.d.ts +43 -0
  86. package/helpers/index.d.ts +1 -0
  87. package/helpers/sc-px-converter.d.ts +15 -0
  88. package/helpers/sc-units-helper.d.ts +28 -0
  89. package/icons/index.d.ts +1 -0
  90. package/icons/sc-client-ui-icons-name.d.ts +5 -0
  91. package/icons/svg-pack/scIconAddProfile.svg +11 -0
  92. package/icons/svg-pack/scIconApplication.svg +11 -0
  93. package/icons/svg-pack/scIconArrowDown.svg +11 -0
  94. package/icons/svg-pack/scIconArrowDownLarge.svg +11 -0
  95. package/icons/svg-pack/scIconArrowDownLargeEnd.svg +12 -0
  96. package/icons/svg-pack/scIconArrowLeft.svg +11 -0
  97. package/icons/svg-pack/scIconArrowReturn.svg +11 -0
  98. package/icons/svg-pack/scIconArrowRight.svg +11 -0
  99. package/icons/svg-pack/scIconArrowUp.svg +11 -0
  100. package/icons/svg-pack/scIconAttention.svg +11 -0
  101. package/icons/svg-pack/scIconBag.svg +11 -0
  102. package/icons/svg-pack/scIconBasket.svg +11 -0
  103. package/icons/svg-pack/scIconBell.svg +11 -0
  104. package/icons/svg-pack/scIconBook.svg +11 -0
  105. package/icons/svg-pack/scIconBubble.svg +11 -0
  106. package/icons/svg-pack/scIconCalendar.svg +11 -0
  107. package/icons/svg-pack/scIconCancel.svg +18 -0
  108. package/icons/svg-pack/scIconCart.svg +11 -0
  109. package/icons/svg-pack/scIconCatalog.svg +16 -0
  110. package/icons/svg-pack/scIconClients.svg +11 -0
  111. package/icons/svg-pack/scIconClip.svg +11 -0
  112. package/icons/svg-pack/scIconClock.svg +11 -0
  113. package/icons/svg-pack/scIconConfigurator.svg +18 -0
  114. package/icons/svg-pack/scIconContacts.svg +11 -0
  115. package/icons/svg-pack/scIconCross.svg +11 -0
  116. package/icons/svg-pack/scIconDeleteProfile.svg +12 -0
  117. package/icons/svg-pack/scIconDone.svg +12 -0
  118. package/icons/svg-pack/scIconDownloading.svg +11 -0
  119. package/icons/svg-pack/scIconEdit.svg +11 -0
  120. package/icons/svg-pack/scIconError.svg +12 -0
  121. package/icons/svg-pack/scIconExcelFile.svg +11 -0
  122. package/icons/svg-pack/scIconEye.svg +11 -0
  123. package/icons/svg-pack/scIconFavorite.svg +11 -0
  124. package/icons/svg-pack/scIconFavoriteFill.svg +11 -0
  125. package/icons/svg-pack/scIconFile.svg +11 -0
  126. package/icons/svg-pack/scIconFilter.svg +11 -0
  127. package/icons/svg-pack/scIconFolder.svg +11 -0
  128. package/icons/svg-pack/scIconFolderOpen.svg +11 -0
  129. package/icons/svg-pack/scIconFolderPlus.svg +11 -0
  130. package/icons/svg-pack/scIconGraph.svg +11 -0
  131. package/icons/svg-pack/scIconHamburger.svg +13 -0
  132. package/icons/svg-pack/scIconHeart.svg +11 -0
  133. package/icons/svg-pack/scIconHeartFill.svg +11 -0
  134. package/icons/svg-pack/scIconHistory.svg +11 -0
  135. package/icons/svg-pack/scIconHome.svg +12 -0
  136. package/icons/svg-pack/scIconImage.svg +11 -0
  137. package/icons/svg-pack/scIconLike.svg +11 -0
  138. package/icons/svg-pack/scIconList.svg +11 -0
  139. package/icons/svg-pack/scIconLocation.svg +11 -0
  140. package/icons/svg-pack/scIconLock.svg +11 -0
  141. package/icons/svg-pack/scIconLockOpen.svg +11 -0
  142. package/icons/svg-pack/scIconLogIn.svg +11 -0
  143. package/icons/svg-pack/scIconLogOut.svg +13 -0
  144. package/icons/svg-pack/scIconLogOut2.svg +13 -0
  145. package/icons/svg-pack/scIconMail.svg +11 -0
  146. package/icons/svg-pack/scIconMinus.svg +11 -0
  147. package/icons/svg-pack/scIconMoney.svg +11 -0
  148. package/icons/svg-pack/scIconMoney2.svg +11 -0
  149. package/icons/svg-pack/scIconNews.svg +11 -0
  150. package/icons/svg-pack/scIconOffer.svg +11 -0
  151. package/icons/svg-pack/scIconPalette.svg +18 -0
  152. package/icons/svg-pack/scIconPdfFile.svg +12 -0
  153. package/icons/svg-pack/scIconPercentage.svg +11 -0
  154. package/icons/svg-pack/scIconPhone.svg +11 -0
  155. package/icons/svg-pack/scIconPlus.svg +11 -0
  156. package/icons/svg-pack/scIconPrice.svg +11 -0
  157. package/icons/svg-pack/scIconProfile.svg +11 -0
  158. package/icons/svg-pack/scIconQRCodeScan.svg +18 -0
  159. package/icons/svg-pack/scIconQuestion.svg +11 -0
  160. package/icons/svg-pack/scIconReclamation.svg +11 -0
  161. package/icons/svg-pack/scIconRefresh.svg +11 -0
  162. package/icons/svg-pack/scIconRepeat.svg +11 -0
  163. package/icons/svg-pack/scIconRequisites.svg +11 -0
  164. package/icons/svg-pack/scIconRocket.svg +18 -0
  165. package/icons/svg-pack/scIconSave.svg +11 -0
  166. package/icons/svg-pack/scIconSearch.svg +12 -0
  167. package/icons/svg-pack/scIconSend.svg +11 -0
  168. package/icons/svg-pack/scIconSettings.svg +11 -0
  169. package/icons/svg-pack/scIconShare.svg +15 -0
  170. package/icons/svg-pack/scIconSocialCopy.svg +13 -0
  171. package/icons/svg-pack/scIconSocialEmail.svg +13 -0
  172. package/icons/svg-pack/scIconSocialFacebook.svg +12 -0
  173. package/icons/svg-pack/scIconSocialInstagram.svg +33 -0
  174. package/icons/svg-pack/scIconSocialQR.svg +12 -0
  175. package/icons/svg-pack/scIconSocialTelegram.svg +20 -0
  176. package/icons/svg-pack/scIconSocialViber.svg +16 -0
  177. package/icons/svg-pack/scIconSocialVk.svg +12 -0
  178. package/icons/svg-pack/scIconSocialWhatsapp.svg +12 -0
  179. package/icons/svg-pack/scIconStar.svg +11 -0
  180. package/icons/svg-pack/scIconSuitcase.svg +11 -0
  181. package/icons/svg-pack/scIconTasks.svg +11 -0
  182. package/icons/svg-pack/scIconTick.svg +11 -0
  183. package/icons/svg-pack/scIconTop.svg +11 -0
  184. package/icons/svg-pack/scIconVerticalThreeDots.svg +11 -0
  185. package/icons/svg-pack/scIconViewGrid.svg +11 -0
  186. package/icons/svg-pack/scIconViewInline.svg +11 -0
  187. package/icons/svg-pack/scIconViewTree.svg +15 -0
  188. package/icons/svg-pack/scIconWallet.svg +11 -0
  189. package/icons/svg-pack/scIconWarning.svg +11 -0
  190. package/icons/svg-pack/scIconWordFile.svg +12 -0
  191. package/index.d.ts +5 -0
  192. package/loader/index.d.ts +1 -0
  193. package/loader/sc-i-loader.d.ts +9 -0
  194. package/news/index.d.ts +3 -0
  195. package/news/news-card/sc-news-card.component.d.ts +22 -0
  196. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +12 -0
  197. package/news/sc-news.module.d.ts +14 -0
  198. package/order/index.d.ts +2 -0
  199. package/order/order-item-mobile/order-item-mobile.component.d.ts +53 -0
  200. package/order/sc-order.module.d.ts +13 -0
  201. package/package.json +62 -0
  202. package/public-api.d.ts +11 -0
  203. package/share-button/index.d.ts +2 -0
  204. package/share-button/sc-share-button.component.d.ts +22 -0
  205. package/share-button/sc-share-button.module.d.ts +12 -0
  206. package/styles/taiga/taiga-tailwind-preset.js +163 -0
  207. package/styles/taiga/variables.less +44 -0
  208. package/styles/tailwind/tailwind.scss +1461 -0
  209. package/tokens/index.d.ts +1 -0
  210. package/tokens/sc-linear-values-token.d.ts +8 -0
  211. package/validators/index.d.ts +1 -0
  212. package/validators/stepValidator.d.ts +7 -0
@@ -0,0 +1,73 @@
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
+ import { ScPriceHistory } from '@snabcentr/client-core';
3
+ import { ECharts, EChartsOption } from 'echarts';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * График истории цен товара или услуги.
7
+ * TODO: TASK[#7482] Перепроверить возможность использования TuiLineDaysChart.
8
+ */
9
+ export declare class ScPriceHistoryComponent implements OnInit {
10
+ private readonly cdr;
11
+ /**
12
+ * История цен на товар/услугу.
13
+ */
14
+ history: ScPriceHistory;
15
+ /**
16
+ * Максимальная цена товара.
17
+ */
18
+ maxPrice?: number;
19
+ /**
20
+ * Минимальная цена товара.
21
+ */
22
+ minPrice?: number;
23
+ /**
24
+ * Настройки графика.
25
+ */
26
+ initOption: {
27
+ devicePixelRatio?: number;
28
+ renderer?: string;
29
+ width?: number | string;
30
+ height?: number | string;
31
+ locale?: string;
32
+ };
33
+ /**
34
+ * Параметры отрисовки графика истории цены.
35
+ */
36
+ chartOption: EChartsOption;
37
+ /**
38
+ * Данные об истории цены на товар или услугу.
39
+ */
40
+ private data;
41
+ /**
42
+ * Экземпляр {@link ECharts} в шаблоне.
43
+ */
44
+ private eChartsInstance;
45
+ /**
46
+ * Инициализирует экземпляр класса {@link PriceHistoryChartComponent}.
47
+ *
48
+ * @param cdr Объект для работы с обнаружением изменений.
49
+ */
50
+ constructor(cdr: ChangeDetectorRef);
51
+ /** @inheritDoc */
52
+ ngOnInit(): void;
53
+ /**
54
+ * Перехватчик жизненного цикла {@link ECharts}, который вызывается при его инициализации.
55
+ *
56
+ * @param eChartsInstance Экземпляр {@link ECharts}.
57
+ */
58
+ onChartInit(eChartsInstance: ECharts): void;
59
+ /**
60
+ * Устанавливает новые данные {@link PriceHistoryChartComponent.eChartsInstance}.
61
+ */
62
+ private setChartData;
63
+ /**
64
+ * Добавляет значение цены товара в массив истории цен.
65
+ *
66
+ * @param value Цена товара или услуги.
67
+ * @param date Дата установки цены.
68
+ * @param nextDate Следующая дата установки цены.
69
+ */
70
+ private pushDataItem;
71
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPriceHistoryComponent, never>;
72
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPriceHistoryComponent, "sc-price-history", never, { "history": "history"; }, {}, never, never, false>;
73
+ }
@@ -0,0 +1,37 @@
1
+ import { ScIWarehouseStockCount, ScProduct, ScWarehouse, ScWarehouseService } from '@snabcentr/client-core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Компонент информации о наличии товара на складе.
6
+ */
7
+ export declare class ScPriceWarehouseStockComponent {
8
+ private readonly warehouseService;
9
+ /**
10
+ * Строка классов для свойств статусов.
11
+ */
12
+ classList: string;
13
+ /**
14
+ * Информация о товаре/услуге.
15
+ */
16
+ product: ScProduct;
17
+ /**
18
+ * Признак, что необходимо отобразить подсказку по складам.
19
+ */
20
+ withStockHint: boolean;
21
+ /**
22
+ * {@link Observable} изменения выбранного склада.
23
+ */
24
+ warehouseSelect$: Observable<ScWarehouse | null>;
25
+ /**
26
+ * {@link Observable} изменения списка складов.
27
+ */
28
+ stockByWarehouses$?: Observable<[ScWarehouse | undefined, ScIWarehouseStockCount][] | undefined>;
29
+ /**
30
+ * Инициализирует экземпляр класса {@link ScPriceWarehouseStockComponent}.
31
+ *
32
+ * @param warehouseService Сервис для работы со складами.
33
+ */
34
+ constructor(warehouseService: ScWarehouseService);
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPriceWarehouseStockComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPriceWarehouseStockComponent, "sc-price-warehouse-stock", never, { "classList": "classList"; "product": "product"; "withStockHint": "withStockHint"; }, {}, never, never, false>;
37
+ }
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./category-card/sc-category-card.component";
3
+ import * as i2 from "./sc-favorite-btn/sc-favorite-btn.component";
4
+ import * as i3 from "./input-quantity/sc-input-quantity.component";
5
+ import * as i4 from "./price-card/sc-price-card.component";
6
+ import * as i5 from "./price-warehouse-stock/sc-price-warehouse-stock.component";
7
+ import * as i6 from "./price-history/sc-price-history.component";
8
+ import * as i7 from "@angular/common";
9
+ import * as i8 from "@angular/router";
10
+ import * as i9 from "@taiga-ui/core";
11
+ import * as i10 from "@taiga-ui/kit";
12
+ import * as i11 from "@angular/forms";
13
+ import * as i12 from "ngx-echarts";
14
+ /**
15
+ * Модуль каталога.
16
+ */
17
+ export declare class ScCatalogModule {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScCatalogModule, never>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScCatalogModule, [typeof i1.ScCategoryCardComponent, typeof i2.ScFavoriteBtnComponent, typeof i3.ScInputQuantityComponent, typeof i4.ScPriceCardComponent, typeof i5.ScPriceWarehouseStockComponent, typeof i6.ScPriceHistoryComponent], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.TuiButtonModule, typeof i9.TuiSvgModule, typeof i10.TuiIslandModule, typeof i10.TuiInputNumberModule, typeof i9.TuiLabelModule, typeof i9.TuiTextfieldControllerModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i9.TuiHintModule, typeof i9.TuiModeModule, typeof i10.TuiFieldErrorPipeModule, typeof i9.TuiLoaderModule, typeof i9.TuiLinkModule, typeof i10.TuiElasticContainerModule, typeof i12.NgxEchartsModule], [typeof i1.ScCategoryCardComponent, typeof i2.ScFavoriteBtnComponent, typeof i3.ScInputQuantityComponent, typeof i4.ScPriceCardComponent, typeof i5.ScPriceWarehouseStockComponent, typeof i6.ScPriceHistoryComponent]>;
20
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScCatalogModule>;
21
+ }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Компонент кнопки избранных товаров и категорий.
5
+ */
6
+ export declare class ScFavoriteBtnComponent {
7
+ /**
8
+ * Событие нажатия на кнопку.
9
+ */
10
+ clickEvent: EventEmitter<void>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScFavoriteBtnComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScFavoriteBtnComponent, "sc-favorite-btn", never, {}, { "clickEvent": "clickEvent"; }, never, never, false>;
13
+ }
@@ -0,0 +1,3 @@
1
+ export * from './sc-banner.component';
2
+ export * from './sc-banner.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jbGllbnQtdWkvYmFubmVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2MtYmFubmVyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NjLWJhbm5lci5tb2R1bGUnO1xuIl19
@@ -0,0 +1,222 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component, ChangeDetectionStrategy, Input, Output, EventEmitter, ContentChildren, ViewChild, ElementRef, HostBinding, Inject, HostListener, } from '@angular/core';
3
+ import { map, tap, shareReplay, filter, switchMap, interval, takeUntil, Subject } from 'rxjs';
4
+ import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';
5
+ import { IntersectionObserverService } from '@ng-web-apis/intersection-observer';
6
+ import { tuiFadeIn } from '@taiga-ui/core';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "@snabcentr/client-core";
9
+ import * as i2 from "../helpers";
10
+ import * as i3 from "@angular/common";
11
+ import * as i4 from "@taiga-ui/core";
12
+ import * as i5 from "@angular/material/core";
13
+ import * as i6 from "@taiga-ui/kit";
14
+ import * as i7 from "@taiga-ui/cdk";
15
+ import * as i8 from "@ng-web-apis/intersection-observer";
16
+ /**
17
+ * Баннер с прокруткой переданных {@link TemplateRef} элементов, и баннеров локации.
18
+ */
19
+ let ScBannerComponent = class ScBannerComponent {
20
+ /**
21
+ * Инициализирует экземпляр класса {@link ScBannerComponent}.
22
+ *
23
+ * @param cdr Объект для работы с обнаружением изменений.
24
+ * @param bannerService Сервис для работы с баннерами.
25
+ * @param pxConverter Класс хэлпер для конвертации пикселей.
26
+ */
27
+ constructor(cdr, bannerService, entries$, element, pxConverter) {
28
+ this.cdr = cdr;
29
+ this.bannerService = bannerService;
30
+ this.entries$ = entries$;
31
+ this.element = element;
32
+ this.pxConverter = pxConverter;
33
+ /**
34
+ * Признак, что необходимо показывать кнопки навигации.
35
+ */
36
+ this.navigateButton = true;
37
+ /**
38
+ * Интервал показа слайдов в миллисекундах.
39
+ */
40
+ this.playerInterval = 5000;
41
+ /**
42
+ * Признак, что прокрутка выключена.
43
+ */
44
+ this.disabled = false;
45
+ /**
46
+ * Признак, что компонент должен растягиваться.
47
+ */
48
+ this.resizable = true;
49
+ /**
50
+ * Событие загрузки баннеров с количеством полученных баннеров.
51
+ */
52
+ this.loadBannersEvent = new EventEmitter();
53
+ /**
54
+ * Событие нажатия на изображение баннера.
55
+ */
56
+ this.clickBannerEvent = new EventEmitter();
57
+ /**
58
+ * Идентификатор текущего баннера.
59
+ */
60
+ this.currentBannerId = 0;
61
+ /**
62
+ * {@link Subject} изменения состояния таймера.
63
+ */
64
+ this.toggleTimer$ = new Subject();
65
+ /**
66
+ * Признак, что необходимо показывать кнопки старта видео баннера.
67
+ */
68
+ this.showPlayBtn = false;
69
+ /**
70
+ * {@link Observable} Обновления списка баннеров.
71
+ */
72
+ this.banners$ = this.bannerService.banners$.pipe(map((banners) => banners.filter((banner) => banner.location === this.bannerLocation).reverse()), tap((banners) => {
73
+ if (banners.length) {
74
+ if (this.resizable) {
75
+ this.width = `100%`;
76
+ }
77
+ else {
78
+ this.height = `${this.pxConverter.pxToRem(banners[0].height)}rem`;
79
+ this.width = `${this.pxConverter.pxToRem(banners[0].width)}rem`;
80
+ }
81
+ this.aspectRatio = `${banners[0].width} / ${banners[0].height}`;
82
+ this.banners = banners;
83
+ this.toggleTimer$.next(true);
84
+ }
85
+ this.loadBannersEvent.emit(banners.length);
86
+ }), shareReplay(1));
87
+ /**
88
+ * Список баннеров.
89
+ */
90
+ this.banners = [];
91
+ /**
92
+ * Свойство, от которого зависит высота `:host` компонента.
93
+ */
94
+ this.height = 'auto';
95
+ /**
96
+ * Свойство, от которого зависит ширина `:host` компонента.
97
+ */
98
+ this.width = '';
99
+ /**
100
+ * Свойство, от которого зависит соотношение `:host` компонента.
101
+ */
102
+ this.aspectRatio = '';
103
+ /**
104
+ * Обработчик события mouseenter.
105
+ *
106
+ * @private
107
+ */
108
+ this.mouseEnterHandler = () => this.toggleTimer$.next(false);
109
+ /**
110
+ * Обработчик события mouseleave.
111
+ *
112
+ * @private
113
+ */
114
+ this.mouseLeaveHandler = () => this.toggleTimer$.next(true);
115
+ }
116
+ /**
117
+ * Свойство, от которого зависит наличие класса `!hidden` у `:host` компонента.
118
+ */
119
+ get isHidden() {
120
+ return !this.banners || this.bannersListRef.length + this.banners.length === 0;
121
+ }
122
+ /** @inheritDoc */
123
+ ngAfterViewInit() {
124
+ this.toggleTimer$
125
+ .pipe(filter((toggle) => toggle), switchMap(() => interval(this.playerInterval).pipe(takeUntil(this.toggleTimer$))), filter(() => !this.disabled && (this.banners?.[this.currentBannerId]?.mediaType === 'image' || this.showPlayBtn)), untilDestroyed(this))
126
+ .subscribe(() => this.onNextBanner());
127
+ // Отслеживание пересечения компонента с экраном пользователя.
128
+ // Если баннера не находится в поле видимости пользователя, то он перестаёт переключатся, а видео останавливается.
129
+ this.entries$.pipe(map((entries) => entries.find((item) => item.target === this.element.nativeElement))).subscribe((entry) => {
130
+ this.toggleTimer$.next(!!entry?.isIntersecting);
131
+ });
132
+ }
133
+ /**
134
+ * Переключает на предыдущий баннер.
135
+ */
136
+ onPreviousBanner() {
137
+ const previous = this.currentBannerId - 1;
138
+ this.currentBannerId = previous < 0 ? this.bannersListRef.length + (this.banners?.length ?? 0) - 1 : previous;
139
+ this.cdr.markForCheck();
140
+ }
141
+ /**
142
+ * Переключает на следующий баннер.
143
+ */
144
+ onNextBanner() {
145
+ const next = this.currentBannerId + 1;
146
+ this.currentBannerId = next === this.bannersListRef.length + (this.banners?.length ?? 0) ? 0 : next;
147
+ this.cdr.markForCheck();
148
+ }
149
+ /**
150
+ * Переключает на следующий баннер.
151
+ */
152
+ onEndedVideo() {
153
+ this.onNextBanner();
154
+ this.toggleTimer$.next(true);
155
+ this.showPlayBtn = true;
156
+ }
157
+ /**
158
+ * Обработчик нажатия на баннер, генерирующий событие {@link clickBannerImgEvent}.
159
+ *
160
+ * @param banner Баннер, по ссылке которого совершён переход.
161
+ */
162
+ onClick(banner) {
163
+ if (banner.url) {
164
+ this.clickBannerEvent.emit(banner);
165
+ }
166
+ }
167
+ };
168
+ ScBannerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScBannerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.ScBannerService }, { token: IntersectionObserverService }, { token: ElementRef }, { token: i2.ScPxConverter }], target: i0.ɵɵFactoryTarget.Component });
169
+ ScBannerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: ScBannerComponent, selector: "sc-banner", inputs: { navigateButton: "navigateButton", playerInterval: "playerInterval", disabled: "disabled", bannerLocation: "bannerLocation", resizable: "resizable" }, outputs: { loadBannersEvent: "loadBannersEvent", clickBannerEvent: "clickBannerEvent" }, host: { listeners: { "mouseenter": "mouseEnterHandler()", "mouseleave": "mouseLeaveHandler()" }, properties: { "class.!hidden": "this.isHidden", "style.height": "this.height", "style.width": "this.width", "style.aspect-ratio": "this.aspectRatio" } }, providers: [IntersectionObserverService], queries: [{ propertyName: "bannersListRef", predicate: ["banner"] }], viewQueries: [{ propertyName: "videoRef", first: true, predicate: ["videoPlayer"], descendants: true }], ngImport: i0, template: "<ng-container *tuiLet=\"banners$ | async\">\n <tui-carousel class=\"bg-white w-full h-full shadow-sc-2 rounded-xl overflow-hidden\" [(index)]=\"currentBannerId\">\n <ng-container *ngFor=\"let banner of banners; let index = index\">\n <a\n *tuiItem\n (click)=\"onClick(banner)\"\n [style.aspect-ratio]=\"aspectRatio\"\n [attr.href]=\"banner.url ? banner.url : null\"\n target=\"_blank\"\n [title]=\"banner.title\"\n class=\"relative\"\n >\n <ng-container [ngSwitch]=\"banner.mediaType\">\n <ng-container *ngSwitchCase=\"'video'\">\n <video\n #videoPlayer\n (suspend)=\"showPlayBtn = true\"\n (play)=\"showPlayBtn = false\"\n [src]=\"banner.mediaFile\"\n (ended)=\"onEndedVideo()\"\n (mouseover)=\"videoPlayer.pause()\"\n (mouseout)=\"videoPlayer.play()\"\n class=\"object-cover h-full\"\n muted\n autoplay\n ></video>\n <button\n *ngIf=\"showPlayBtn\"\n tuiIconButton\n [@tuiFadeIn]=\"200\"\n matRipple\n (click)=\"$event.preventDefault(); videoPlayer.play()\"\n size=\"s\"\n appearance=\"secondary\"\n class=\"!absolute left-8 bottom-4\"\n >\n <i class=\"icon-refresh text-black\"></i>\n </button>\n </ng-container>\n\n <img *ngSwitchCase=\"'image'\" [src]=\"banner.mediaFile\" alt=\"\u0411\u0430\u043D\u043D\u0435\u0440\" class=\"object-cover h-full\" />\n </ng-container>\n </a>\n </ng-container>\n <ng-container *ngFor=\"let item of bannersListRef\">\n <div *tuiItem [style.height]=\"height\" [style.width]=\"width\" [style.aspect-ratio]=\"aspectRatio\" class=\"overflow-hidden\">\n <ng-container [ngTemplateOutlet]=\"item\"></ng-container>\n </div>\n </ng-container>\n </tui-carousel>\n</ng-container>\n<div *ngIf=\"navigateButton && !disabled && this.banners && (this.bannersListRef.length + this.banners.length) > 1\" tuiMode=\"onLight\" class=\"flex items-center\">\n <button tuiIconButton icon=\"tuiIconChevronLeftLarge\" size=\"m\" shape=\"rounded\" appearance=\"flat\" (click)=\"onPreviousBanner()\" class=\"!absolute left-2\"></button>\n <button tuiIconButton icon=\"tuiIconChevronRightLarge\" size=\"m\" shape=\"rounded\" appearance=\"flat\" (click)=\"onNextBanner()\" class=\"!absolute right-2\"></button>\n</div>\n", styles: [":host{--tui-carousel-padding: 0;display:flex;position:relative}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i4.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { kind: "directive", type: i5.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "component", type: i6.TuiCarouselComponent, selector: "tui-carousel", inputs: ["draggable", "itemsCount", "index"], outputs: ["indexChange"] }, { kind: "directive", type: i6.TuiCarouselDirective, selector: "tui-carousel", inputs: ["duration", "index"] }, { kind: "directive", type: i7.TuiItemDirective, selector: "[tuiItem]" }, { kind: "directive", type: i4.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }, { kind: "directive", type: i7.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], animations: [tuiFadeIn], changeDetection: i0.ChangeDetectionStrategy.OnPush });
170
+ ScBannerComponent = __decorate([
171
+ UntilDestroy({ checkProperties: true })
172
+ ], ScBannerComponent);
173
+ export { ScBannerComponent };
174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScBannerComponent, decorators: [{
175
+ type: Component,
176
+ args: [{ selector: 'sc-banner', changeDetection: ChangeDetectionStrategy.OnPush, providers: [IntersectionObserverService], animations: [tuiFadeIn], template: "<ng-container *tuiLet=\"banners$ | async\">\n <tui-carousel class=\"bg-white w-full h-full shadow-sc-2 rounded-xl overflow-hidden\" [(index)]=\"currentBannerId\">\n <ng-container *ngFor=\"let banner of banners; let index = index\">\n <a\n *tuiItem\n (click)=\"onClick(banner)\"\n [style.aspect-ratio]=\"aspectRatio\"\n [attr.href]=\"banner.url ? banner.url : null\"\n target=\"_blank\"\n [title]=\"banner.title\"\n class=\"relative\"\n >\n <ng-container [ngSwitch]=\"banner.mediaType\">\n <ng-container *ngSwitchCase=\"'video'\">\n <video\n #videoPlayer\n (suspend)=\"showPlayBtn = true\"\n (play)=\"showPlayBtn = false\"\n [src]=\"banner.mediaFile\"\n (ended)=\"onEndedVideo()\"\n (mouseover)=\"videoPlayer.pause()\"\n (mouseout)=\"videoPlayer.play()\"\n class=\"object-cover h-full\"\n muted\n autoplay\n ></video>\n <button\n *ngIf=\"showPlayBtn\"\n tuiIconButton\n [@tuiFadeIn]=\"200\"\n matRipple\n (click)=\"$event.preventDefault(); videoPlayer.play()\"\n size=\"s\"\n appearance=\"secondary\"\n class=\"!absolute left-8 bottom-4\"\n >\n <i class=\"icon-refresh text-black\"></i>\n </button>\n </ng-container>\n\n <img *ngSwitchCase=\"'image'\" [src]=\"banner.mediaFile\" alt=\"\u0411\u0430\u043D\u043D\u0435\u0440\" class=\"object-cover h-full\" />\n </ng-container>\n </a>\n </ng-container>\n <ng-container *ngFor=\"let item of bannersListRef\">\n <div *tuiItem [style.height]=\"height\" [style.width]=\"width\" [style.aspect-ratio]=\"aspectRatio\" class=\"overflow-hidden\">\n <ng-container [ngTemplateOutlet]=\"item\"></ng-container>\n </div>\n </ng-container>\n </tui-carousel>\n</ng-container>\n<div *ngIf=\"navigateButton && !disabled && this.banners && (this.bannersListRef.length + this.banners.length) > 1\" tuiMode=\"onLight\" class=\"flex items-center\">\n <button tuiIconButton icon=\"tuiIconChevronLeftLarge\" size=\"m\" shape=\"rounded\" appearance=\"flat\" (click)=\"onPreviousBanner()\" class=\"!absolute left-2\"></button>\n <button tuiIconButton icon=\"tuiIconChevronRightLarge\" size=\"m\" shape=\"rounded\" appearance=\"flat\" (click)=\"onNextBanner()\" class=\"!absolute right-2\"></button>\n</div>\n", styles: [":host{--tui-carousel-padding: 0;display:flex;position:relative}\n"] }]
177
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.ScBannerService }, { type: i8.IntersectionObserverService, decorators: [{
178
+ type: Inject,
179
+ args: [IntersectionObserverService]
180
+ }] }, { type: i0.ElementRef, decorators: [{
181
+ type: Inject,
182
+ args: [ElementRef]
183
+ }] }, { type: i2.ScPxConverter }]; }, propDecorators: { navigateButton: [{
184
+ type: Input
185
+ }], playerInterval: [{
186
+ type: Input
187
+ }], disabled: [{
188
+ type: Input
189
+ }], bannerLocation: [{
190
+ type: Input
191
+ }], resizable: [{
192
+ type: Input
193
+ }], loadBannersEvent: [{
194
+ type: Output
195
+ }], clickBannerEvent: [{
196
+ type: Output
197
+ }], bannersListRef: [{
198
+ type: ContentChildren,
199
+ args: ['banner']
200
+ }], videoRef: [{
201
+ type: ViewChild,
202
+ args: ['videoPlayer']
203
+ }], isHidden: [{
204
+ type: HostBinding,
205
+ args: ['class.!hidden']
206
+ }], height: [{
207
+ type: HostBinding,
208
+ args: ['style.height']
209
+ }], width: [{
210
+ type: HostBinding,
211
+ args: ['style.width']
212
+ }], aspectRatio: [{
213
+ type: HostBinding,
214
+ args: ['style.aspect-ratio']
215
+ }], mouseEnterHandler: [{
216
+ type: HostListener,
217
+ args: ['mouseenter']
218
+ }], mouseLeaveHandler: [{
219
+ type: HostListener,
220
+ args: ['mouseleave']
221
+ }] } });
222
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtYmFubmVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9iYW5uZXIvc2MtYmFubmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9iYW5uZXIvc2MtYmFubmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0gsU0FBUyxFQUNULHVCQUF1QixFQUV2QixLQUFLLEVBQ0wsTUFBTSxFQUNOLFlBQVksRUFDWixlQUFlLEVBR2YsU0FBUyxFQUNULFVBQVUsRUFDVixXQUFXLEVBRVgsTUFBTSxFQUNOLFlBQVksR0FDZixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQWMsR0FBRyxFQUFFLEdBQUcsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsU0FBUyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUUxRyxPQUFPLEVBQUUsWUFBWSxFQUFFLGNBQWMsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ3JFLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLG9DQUFvQyxDQUF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25seSB0b2dnbGVUaW1lciQ6IFN1YmplY3Q8Ym9vbGVhbj4gPSBuZXcgU3ViamVjdDxib29sZWFuPigpO1xuXG4gICAgLyoqXG4gICAgICog0J/RgNC40LfQvdCw0LosINGH0YLQviDQvdC10L7QsdGF0L7QtNC40LzQviDQv9C+0LrQsNC30YvQstCw0YLRjCDQutC90L7Qv9C60Lgg0YHRgtCw0YDRgtCwINCy0LjQtNC10L4g0LHQsNC90L3QtdGA0LAuXG4gICAgICovXG4gICAgcHVibGljIHNob3dQbGF5QnRuOiBib29sZWFuID0gZmFsc2U7XG5cbiAgICAvKipcbiAgICAgKiB7QGxpbmsgT2JzZXJ2YWJsZX0g0J7QsdC90L7QstC70LXQvdC40Y8g0YHQv9C40YHQutCwINCx0LDQvdC90LXRgNC+0LIuXG4gICAgICovXG4gICAgcHVibGljIHJlYWRvbmx5IGJhbm5lcnMkOiBPYnNlcnZhYmxlPFNjQmFubmVyW10+ID0gdGhpcy5iYW5uZXJTZXJ2aWNlLmJhbm5lcnMkLnBpcGUoXG4gICAgICAgIG1hcCgoYmFubmVycykgPT4gYmFubmVycy5maWx0ZXIoKGJhbm5lcikgPT4gYmFubmVyLmxvY2F0aW9uID09PSB0aGlzLmJhbm5lckxvY2F0aW9uKS5yZXZlcnNlKCkpLFxuICAgICAgICB0YXAoKGJhbm5lcnMpID0+IHtcbiAgICAgICAgICAgIGlmIChiYW5uZXJzLmxlbmd0aCkge1xuICAgICAgICAgICAgICAgIGlmICh0aGlzLnJlc2l6YWJsZSkge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLndpZHRoID0gYDEwMCVgO1xuICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuaGVpZ2h0ID0gYCR7dGhpcy5weENvbnZlcnRlci5weFRvUmVtKGJhbm5lcnNbMF0uaGVpZ2h0KX1yZW1gO1xuICAgICAgICAgICAgICAgICAgICB0aGlzLndpZHRoID0gYCR7dGhpcy5weENvbn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LXJhdGlvXT1cImFzcGVjdFJhdGlvXCJcbiAgICAgICAgICAgICAgICBbYXR0ci5ocmVmXT1cImJhbm5lci51cmwgPyBiYW5uZXIudXJsIDogbnVsbFwiXG4gICAgICAgICAgICAgICAgdGFyZ2V0PVwiX2JsYW5rXCJcbiAgICAgICAgICAgICAgICBbdGl0bGVdPVwiYmFubmVyLnRpdGxlXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInJlbGF0aXZlXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIFtuZ1N3aXRjaF09XCJiYW5uZXIubWVkaWFUeXBlXCI+XG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nU3dpdGNoQ2FzZT1cIid2aWRlbydcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx2aWRlb1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICN2aWRlb1BsYXllclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzdXNwZW5kKT1cInNob3dQbGF5QnRuID0gdHJ1ZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKHBsYXkpPVwic2hvd1BsYXlCdG4gPSBmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW3NyY109XCJiYW5uZXIubWVkaWFGaWxlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoZW5kZWQpPVwib25FbmRlZFZpZGVvKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIChtb3VzZW92ZXIpPVwidmlkZW9QbGF5ZXIucGF1c2UoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKG1vdXNlb3V0KT1cInZpZGVvUGxheWVyLnBsYXkoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJvYmplY3QtY292ZXIgaC1mdWxsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtdXRlZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGF1dG9wbGF5XG4gICAgICAgICAgICAgICAgICAgICAgICA+PC92aWRlbz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAqbmdJZj1cInNob3dQbGF5QnRuXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0dWlJY29uQnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgW0B0dWlGYWRlSW5dPVwiMjAwXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBtYXRSaXBwbGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnByZXZlbnREZWZhdWx0KCk7IHZpZGVvUGxheWVyLnBsYXkoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZT1cInNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJzZWNvbmRhcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiIWFic29sdXRlIGxlZnQtOCBib3R0b20tNFwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGkgY2xhc3M9XCJpY29uLXJlZnJlc2ggdGV4dC1ibGFja1wiPjwvaT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cblxuICAgICAgICAgICAgICAgICAgICA8aW1nICpuZ1N3aXRjaENhc2U9XCInaW1hZ2UnXCIgW3NyY109XCJiYW5uZXIubWVkaWFGaWxlXCIgYWx0PVwi0JHQsNC90L3QtdGAXCIgY2xhc3M9XCJvYmplY3QtY292ZXIgaC1mdWxsXCIgLz5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvYT5cbiAgICAgICAgPC9uZy1jb250YWluZ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bGF0XCIgKGNsaWNrKT1cIm9uTmV4dEJhbm5lcigpXCIgY2xhc3M9XCIhYWJzb2x1dGUgcmlnaHQtMlwiPjwvYnV0dG9uPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,27 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ScBannerComponent } from './sc-banner.component';
4
+ import { RouterModule } from '@angular/router';
5
+ import { TuiButtonModule, TuiLoaderModule, TuiModeModule } from '@taiga-ui/core';
6
+ import { MatRippleModule } from '@angular/material/core';
7
+ import { TuiCarouselModule } from '@taiga-ui/kit';
8
+ import { IntersectionObserverModule } from '@ng-web-apis/intersection-observer';
9
+ import { TuiLetModule } from '@taiga-ui/cdk';
10
+ import * as i0 from "@angular/core";
11
+ /**
12
+ * Модуль баннеров.
13
+ */
14
+ export class ScBannerModule {
15
+ }
16
+ ScBannerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScBannerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
17
+ ScBannerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: ScBannerModule, declarations: [ScBannerComponent], imports: [CommonModule, RouterModule, TuiButtonModule, MatRippleModule, TuiCarouselModule, TuiModeModule, TuiLoaderModule, IntersectionObserverModule, TuiLetModule], exports: [ScBannerComponent] });
18
+ ScBannerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScBannerModule, imports: [CommonModule, RouterModule, TuiButtonModule, MatRippleModule, TuiCarouselModule, TuiModeModule, TuiLoaderModule, IntersectionObserverModule, TuiLetModule] });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: ScBannerModule, decorators: [{
20
+ type: NgModule,
21
+ args: [{
22
+ declarations: [ScBannerComponent],
23
+ imports: [CommonModule, RouterModule, TuiButtonModule, MatRippleModule, TuiCarouselModule, TuiModeModule, TuiLoaderModule, IntersectionObserverModule, TuiLetModule],
24
+ exports: [ScBannerComponent],
25
+ }]
26
+ }] });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtYmFubmVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9iYW5uZXIvc2MtYmFubmVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxlQUFlLEVBQUUsYUFBYSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDakYsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQ3pELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUNoRixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUU3Qzs7R0FFRztBQU1ILE1BQU0sT0FBTyxjQUFjOzsyR0FBZCxjQUFjOzRHQUFkLGNBQWMsaUJBSlIsaUJBQWlCLGFBQ3RCLFlBQVksRUFBRSxZQUFZLEVBQUUsZUFBZSxFQUFFLGVBQWUsRUFBRSxpQkFBaUIsRUF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