@snabcentr/client-ui 3.37.9 → 4.1.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.
Files changed (391) hide show
  1. package/fesm2022/snabcentr-client-ui.mjs +3531 -3946
  2. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  3. package/index.d.ts +4351 -3
  4. package/package.json +1 -3
  5. package/release_notes.tmp +5 -5
  6. package/styles/tailwind/tailwind.scss +58 -174
  7. package/accordion/index.d.ts +0 -3
  8. package/accordion/sc-accordion-content.directive.d.ts +0 -9
  9. package/accordion/sc-accordion.component.d.ts +0 -56
  10. package/accordion/sc-accordion.module.d.ts +0 -15
  11. package/auth/enums/auth-method.d.ts +0 -13
  12. package/auth/index.d.ts +0 -8
  13. package/auth/interfaces/api-error-response.d.ts +0 -13
  14. package/auth/interfaces/index.d.ts +0 -3
  15. package/auth/interfaces/sc-bank-account-form-group.d.ts +0 -11
  16. package/auth/interfaces/sc-contact-form-group.d.ts +0 -10
  17. package/auth/sc-auth.module.d.ts +0 -26
  18. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +0 -39
  19. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +0 -41
  20. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +0 -53
  21. package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +0 -106
  22. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +0 -161
  23. package/banner/index.d.ts +0 -2
  24. package/banner/sc-banner.component.d.ts +0 -88
  25. package/banner/sc-banner.module.d.ts +0 -18
  26. package/brands-list/index.d.ts +0 -2
  27. package/brands-list/sc-brands-list.component.d.ts +0 -15
  28. package/brands-list/sc-brands-list.module.d.ts +0 -12
  29. package/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.d.ts +0 -102
  30. package/cart/add-or-editing-cart-item-dialog/index.d.ts +0 -2
  31. package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts +0 -48
  32. package/cart/cart-item/sc-cart-item.component.d.ts +0 -25
  33. package/cart/index.d.ts +0 -3
  34. package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +0 -62
  35. package/catalog/category-card/sc-category-card.component.d.ts +0 -76
  36. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +0 -23
  37. package/catalog/download-price-list/sc-download-price-list.component.d.ts +0 -38
  38. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +0 -48
  39. package/catalog/index.d.ts +0 -12
  40. package/catalog/input-quantity/sc-input-quantity.component.d.ts +0 -82
  41. package/catalog/notify-when-in-stock-dialog/index.d.ts +0 -2
  42. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +0 -90
  43. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +0 -22
  44. package/catalog/price-card/sc-price-card.component.d.ts +0 -18
  45. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +0 -10
  46. package/catalog/price-history/sc-price-history.component.d.ts +0 -88
  47. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +0 -40
  48. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +0 -47
  49. package/catalog/sc-catalog.module.d.ts +0 -29
  50. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +0 -25
  51. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +0 -49
  52. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +0 -23
  53. package/contacts/index.d.ts +0 -7
  54. package/contacts/manager-card/sc-manager-card.component.d.ts +0 -22
  55. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +0 -18
  56. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +0 -28
  57. package/contacts/sc-contacts.module.d.ts +0 -28
  58. package/contacts/tokens/index.d.ts +0 -2
  59. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +0 -6
  60. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +0 -5
  61. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +0 -49
  62. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +0 -161
  63. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +0 -62
  64. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +0 -49
  65. package/contragents/index.d.ts +0 -7
  66. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +0 -64
  67. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +0 -125
  68. package/contragents/sc-contragents.module.d.ts +0 -27
  69. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -141
  70. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +0 -50
  71. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +0 -49
  72. package/delivery-address/index.d.ts +0 -4
  73. package/delivery-address/sc-delivery-address.module.d.ts +0 -26
  74. package/dialogs/index.d.ts +0 -1
  75. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +0 -42
  76. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +0 -136
  77. package/directives/index.d.ts +0 -7
  78. package/directives/links/index.d.ts +0 -4
  79. package/directives/links/sc-email-link.directive.d.ts +0 -25
  80. package/directives/links/sc-link-location.d.ts +0 -5
  81. package/directives/links/sc-links.d.ts +0 -7
  82. package/directives/links/sc-tel-link.directive.d.ts +0 -40
  83. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +0 -18
  84. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
  85. package/directives/sc-date-value-transformer.directive.d.ts +0 -8
  86. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +0 -14
  87. package/directives/terminal-link/sc-terminal-link.directive.d.ts +0 -34
  88. package/error-handler/consts/error-change-handler.providers.d.ts +0 -5
  89. package/error-handler/error-block-status/error-block-status.component.d.ts +0 -37
  90. package/error-handler/index.d.ts +0 -4
  91. package/error-handler/interfaces/i-block-error.d.ts +0 -17
  92. package/error-handler/sc-error-handler.component.d.ts +0 -40
  93. package/esm2022/accordion/index.mjs +0 -4
  94. package/esm2022/accordion/sc-accordion-content.directive.mjs +0 -17
  95. package/esm2022/accordion/sc-accordion.component.mjs +0 -92
  96. package/esm2022/accordion/sc-accordion.module.mjs +0 -26
  97. package/esm2022/auth/enums/auth-method.mjs +0 -15
  98. package/esm2022/auth/index.mjs +0 -9
  99. package/esm2022/auth/interfaces/api-error-response.mjs +0 -2
  100. package/esm2022/auth/interfaces/index.mjs +0 -4
  101. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +0 -2
  102. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +0 -2
  103. package/esm2022/auth/sc-auth.module.mjs +0 -99
  104. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -87
  105. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -86
  106. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -89
  107. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +0 -187
  108. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -333
  109. package/esm2022/banner/index.mjs +0 -3
  110. package/esm2022/banner/sc-banner.component.mjs +0 -143
  111. package/esm2022/banner/sc-banner.module.mjs +0 -30
  112. package/esm2022/brands-list/index.mjs +0 -3
  113. package/esm2022/brands-list/sc-brands-list.component.mjs +0 -24
  114. package/esm2022/brands-list/sc-brands-list.module.mjs +0 -22
  115. package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +0 -233
  116. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +0 -3
  117. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +0 -74
  118. package/esm2022/cart/cart-item/sc-cart-item.component.mjs +0 -74
  119. package/esm2022/cart/index.mjs +0 -4
  120. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
  121. package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
  122. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -38
  123. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +0 -56
  124. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +0 -76
  125. package/esm2022/catalog/index.mjs +0 -13
  126. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -177
  127. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +0 -3
  128. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +0 -173
  129. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +0 -35
  130. package/esm2022/catalog/price-card/sc-price-card.component.mjs +0 -52
  131. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +0 -56
  132. package/esm2022/catalog/price-history/sc-price-history.component.mjs +0 -140
  133. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -65
  134. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +0 -54
  135. package/esm2022/catalog/sc-catalog.module.mjs +0 -125
  136. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
  137. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -91
  138. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -38
  139. package/esm2022/contacts/index.mjs +0 -8
  140. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +0 -58
  141. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +0 -28
  142. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -37
  143. package/esm2022/contacts/sc-contacts.module.mjs +0 -92
  144. package/esm2022/contacts/tokens/index.mjs +0 -3
  145. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -24
  146. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -7
  147. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -81
  148. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -278
  149. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -75
  150. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -69
  151. package/esm2022/contragents/index.mjs +0 -8
  152. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -72
  153. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -242
  154. package/esm2022/contragents/sc-contragents.module.mjs +0 -118
  155. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -250
  156. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +0 -60
  157. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +0 -69
  158. package/esm2022/delivery-address/index.mjs +0 -5
  159. package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -99
  160. package/esm2022/dialogs/index.mjs +0 -2
  161. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -68
  162. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
  163. package/esm2022/directives/index.mjs +0 -8
  164. package/esm2022/directives/links/index.mjs +0 -5
  165. package/esm2022/directives/links/sc-email-link.directive.mjs +0 -49
  166. package/esm2022/directives/links/sc-link-location.mjs +0 -2
  167. package/esm2022/directives/links/sc-links.mjs +0 -8
  168. package/esm2022/directives/links/sc-tel-link.directive.mjs +0 -79
  169. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +0 -43
  170. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
  171. package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
  172. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +0 -31
  173. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +0 -69
  174. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +0 -8
  175. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -76
  176. package/esm2022/error-handler/index.mjs +0 -5
  177. package/esm2022/error-handler/interfaces/i-block-error.mjs +0 -2
  178. package/esm2022/error-handler/sc-error-handler.component.mjs +0 -58
  179. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +0 -344
  180. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +0 -32
  181. package/esm2022/feedback/index.mjs +0 -4
  182. package/esm2022/feedback/interfaces/index.mjs +0 -2
  183. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +0 -2
  184. package/esm2022/files/directives/index.mjs +0 -3
  185. package/esm2022/files/directives/tree-top.directive.mjs +0 -63
  186. package/esm2022/files/directives/tree.directive.mjs +0 -47
  187. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +0 -18
  188. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +0 -61
  189. package/esm2022/files/files-and-documents.module.mjs +0 -28
  190. package/esm2022/files/index.mjs +0 -6
  191. package/esm2022/files/interfaces/tree-node.mjs +0 -2
  192. package/esm2022/files/services/index.mjs +0 -3
  193. package/esm2022/files/services/tree-icon.service.mjs +0 -49
  194. package/esm2022/files/services/tree-loader.service.mjs +0 -62
  195. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -155
  196. package/esm2022/form-fields/form-fields.module.mjs +0 -69
  197. package/esm2022/form-fields/index.mjs +0 -4
  198. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -175
  199. package/esm2022/helpers/index.mjs +0 -2
  200. package/esm2022/helpers/sc-px-converter.mjs +0 -27
  201. package/esm2022/icons/index.mjs +0 -2
  202. package/esm2022/icons/sc-client-ui-icons-name.mjs +0 -99
  203. package/esm2022/loader/index.mjs +0 -2
  204. package/esm2022/loader/sc-i-loader.mjs +0 -2
  205. package/esm2022/masks/index.mjs +0 -8
  206. package/esm2022/masks/sc-account-number-mask.mjs +0 -7
  207. package/esm2022/masks/sc-bic-mask.mjs +0 -7
  208. package/esm2022/masks/sc-correspondent-account-mask.mjs +0 -7
  209. package/esm2022/masks/sc-inn-mask.mjs +0 -13
  210. package/esm2022/masks/sc-kpp-mask.mjs +0 -7
  211. package/esm2022/masks/sc-okpo-mask.mjs +0 -13
  212. package/esm2022/masks/sc-phone-verification-code-mask.mjs +0 -7
  213. package/esm2022/models/i-sc-image.mjs +0 -2
  214. package/esm2022/models/index.mjs +0 -2
  215. package/esm2022/news/index.mjs +0 -4
  216. package/esm2022/news/news-card/sc-news-card.component.mjs +0 -34
  217. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +0 -31
  218. package/esm2022/news/sc-news.module.mjs +0 -26
  219. package/esm2022/order/index.mjs +0 -4
  220. package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +0 -60
  221. package/esm2022/order/sc-order.module.mjs +0 -53
  222. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  223. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +0 -28
  224. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -6
  225. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +0 -59
  226. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +0 -106
  227. package/esm2022/pages/index.mjs +0 -4
  228. package/esm2022/pipes/index.mjs +0 -3
  229. package/esm2022/pipes/sc-format-date.mjs +0 -33
  230. package/esm2022/pipes/sc-phone-format.mjs +0 -44
  231. package/esm2022/profile/index.mjs +0 -3
  232. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -175
  233. package/esm2022/profile/sc-profile.module.mjs +0 -76
  234. package/esm2022/providers/date-value-transformer/index.mjs +0 -4
  235. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +0 -2
  236. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +0 -26
  237. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +0 -37
  238. package/esm2022/providers/index.mjs +0 -12
  239. package/esm2022/providers/sc-allow-select-terminated.mjs +0 -6
  240. package/esm2022/providers/sc-country-ids.mjs +0 -6
  241. package/esm2022/providers/sc-date-formatter.mjs +0 -12
  242. package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
  243. package/esm2022/providers/sc-help-notification-close.mjs +0 -7
  244. package/esm2022/providers/sc-help-notification-limit.mjs +0 -6
  245. package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -6
  246. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -6
  247. package/esm2022/providers/sc-page-size-options.mjs +0 -6
  248. package/esm2022/providers/sc-user-providers.mjs +0 -33
  249. package/esm2022/providers/sc-verification-code-timeout.mjs +0 -6
  250. package/esm2022/public-api.mjs +0 -35
  251. package/esm2022/qrcode/index.mjs +0 -3
  252. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +0 -58
  253. package/esm2022/qrcode/sc-qrcode.module.mjs +0 -25
  254. package/esm2022/samples/index.mjs +0 -5
  255. package/esm2022/samples/interfaces/index.mjs +0 -3
  256. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +0 -2
  257. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +0 -2
  258. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +0 -42
  259. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +0 -63
  260. package/esm2022/samples/sc-sample.module.mjs +0 -68
  261. package/esm2022/services/index.mjs +0 -2
  262. package/esm2022/services/sc-help-notification.service.mjs +0 -90
  263. package/esm2022/share-button/index.mjs +0 -3
  264. package/esm2022/share-button/sc-share-button.component.mjs +0 -35
  265. package/esm2022/share-button/sc-share-button.module.mjs +0 -22
  266. package/esm2022/snabcentr-client-ui.mjs +0 -5
  267. package/esm2022/user/index.mjs +0 -6
  268. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +0 -75
  269. package/esm2022/user/sc-user.module.mjs +0 -89
  270. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -122
  271. package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -42
  272. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -106
  273. package/esm2022/validators/index.mjs +0 -7
  274. package/esm2022/validators/sc-at-least-one-required-validator.mjs +0 -25
  275. package/esm2022/validators/sc-bic-validator.mjs +0 -10
  276. package/esm2022/validators/sc-correspondent-account-validator.mjs +0 -10
  277. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +0 -17
  278. package/esm2022/validators/sc-phone-validator.mjs +0 -14
  279. package/esm2022/validators/step-validator.mjs +0 -18
  280. package/esm2022/verification/index.mjs +0 -4
  281. package/esm2022/verification/providers/index.mjs +0 -3
  282. package/esm2022/verification/providers/sc-phone-approve-code-sender.provider.mjs +0 -12
  283. package/esm2022/verification/providers/sc-phone-approve-code-sender.token.mjs +0 -7
  284. package/esm2022/verification/sc-verification.module.mjs +0 -88
  285. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -277
  286. package/feedback/feedback-form/sc-feedback-form.component.d.ts +0 -163
  287. package/feedback/gratitude/sc-gratitude.component.d.ts +0 -20
  288. package/feedback/index.d.ts +0 -3
  289. package/feedback/interfaces/index.d.ts +0 -1
  290. package/feedback/interfaces/sc-feedback-form-config.d.ts +0 -23
  291. package/files/directives/index.d.ts +0 -2
  292. package/files/directives/tree-top.directive.d.ts +0 -33
  293. package/files/directives/tree.directive.d.ts +0 -35
  294. package/files/file-tree-item/file-tree-item.component.d.ts +0 -9
  295. package/files/files-and-documents/files-and-documents.component.d.ts +0 -27
  296. package/files/files-and-documents.module.d.ts +0 -17
  297. package/files/index.d.ts +0 -5
  298. package/files/interfaces/tree-node.d.ts +0 -29
  299. package/files/services/index.d.ts +0 -2
  300. package/files/services/tree-icon.service.d.ts +0 -23
  301. package/files/services/tree-loader.service.d.ts +0 -43
  302. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -78
  303. package/form-fields/form-fields.module.d.ts +0 -19
  304. package/form-fields/index.d.ts +0 -3
  305. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -73
  306. package/helpers/index.d.ts +0 -1
  307. package/helpers/sc-px-converter.d.ts +0 -15
  308. package/icons/index.d.ts +0 -1
  309. package/icons/sc-client-ui-icons-name.d.ts +0 -4
  310. package/loader/index.d.ts +0 -1
  311. package/loader/sc-i-loader.d.ts +0 -9
  312. package/masks/index.d.ts +0 -7
  313. package/masks/sc-account-number-mask.d.ts +0 -5
  314. package/masks/sc-bic-mask.d.ts +0 -5
  315. package/masks/sc-correspondent-account-mask.d.ts +0 -5
  316. package/masks/sc-inn-mask.d.ts +0 -9
  317. package/masks/sc-kpp-mask.d.ts +0 -5
  318. package/masks/sc-okpo-mask.d.ts +0 -9
  319. package/masks/sc-phone-verification-code-mask.d.ts +0 -5
  320. package/models/i-sc-image.d.ts +0 -17
  321. package/models/index.d.ts +0 -1
  322. package/news/index.d.ts +0 -3
  323. package/news/news-card/sc-news-card.component.d.ts +0 -22
  324. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +0 -16
  325. package/news/sc-news.module.d.ts +0 -16
  326. package/order/index.d.ts +0 -3
  327. package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +0 -39
  328. package/order/sc-order.module.d.ts +0 -19
  329. package/order/sc-payment-status/sc-payment-status.component.d.ts +0 -25
  330. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +0 -18
  331. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +0 -5
  332. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +0 -28
  333. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +0 -79
  334. package/pages/index.d.ts +0 -3
  335. package/pipes/index.d.ts +0 -2
  336. package/pipes/sc-format-date.d.ts +0 -20
  337. package/pipes/sc-phone-format.d.ts +0 -21
  338. package/profile/index.d.ts +0 -2
  339. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +0 -126
  340. package/profile/sc-profile.module.d.ts +0 -24
  341. package/providers/date-value-transformer/index.d.ts +0 -3
  342. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +0 -9
  343. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +0 -16
  344. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +0 -22
  345. package/providers/index.d.ts +0 -11
  346. package/providers/sc-allow-select-terminated.d.ts +0 -5
  347. package/providers/sc-country-ids.d.ts +0 -5
  348. package/providers/sc-date-formatter.d.ts +0 -6
  349. package/providers/sc-date-value-transformer.d.ts +0 -5
  350. package/providers/sc-help-notification-close.d.ts +0 -6
  351. package/providers/sc-help-notification-limit.d.ts +0 -5
  352. package/providers/sc-max-files-in-form-input.d.ts +0 -5
  353. package/providers/sc-notify-when-in-stock-required-fields.d.ts +0 -5
  354. package/providers/sc-page-size-options.d.ts +0 -5
  355. package/providers/sc-user-providers.d.ts +0 -21
  356. package/providers/sc-verification-code-timeout.d.ts +0 -5
  357. package/public-api.d.ts +0 -31
  358. package/qrcode/index.d.ts +0 -2
  359. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +0 -37
  360. package/qrcode/sc-qrcode.module.d.ts +0 -14
  361. package/samples/index.d.ts +0 -4
  362. package/samples/interfaces/index.d.ts +0 -2
  363. package/samples/interfaces/sc-i-preview-sample.d.ts +0 -56
  364. package/samples/interfaces/sc-preview-mosquito-config.d.ts +0 -62
  365. package/samples/preview-sample/sc-preview-sample.component.d.ts +0 -30
  366. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +0 -50
  367. package/samples/sc-sample.module.d.ts +0 -19
  368. package/services/index.d.ts +0 -1
  369. package/services/sc-help-notification.service.d.ts +0 -64
  370. package/share-button/index.d.ts +0 -2
  371. package/share-button/sc-share-button.component.d.ts +0 -22
  372. package/share-button/sc-share-button.module.d.ts +0 -12
  373. package/user/index.d.ts +0 -5
  374. package/user/reset-user-password/sc-reset-user-password.component.d.ts +0 -46
  375. package/user/sc-user.module.d.ts +0 -25
  376. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +0 -63
  377. package/user/user-managers/sc-user-managers.component.d.ts +0 -26
  378. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +0 -53
  379. package/validators/index.d.ts +0 -6
  380. package/validators/sc-at-least-one-required-validator.d.ts +0 -10
  381. package/validators/sc-bic-validator.d.ts +0 -8
  382. package/validators/sc-correspondent-account-validator.d.ts +0 -8
  383. package/validators/sc-password-confirm-matching-validator.d.ts +0 -8
  384. package/validators/sc-phone-validator.d.ts +0 -5
  385. package/validators/step-validator.d.ts +0 -8
  386. package/verification/index.d.ts +0 -3
  387. package/verification/providers/index.d.ts +0 -2
  388. package/verification/providers/sc-phone-approve-code-sender.provider.d.ts +0 -6
  389. package/verification/providers/sc-phone-approve-code-sender.token.d.ts +0 -7
  390. package/verification/sc-verification.module.d.ts +0 -21
  391. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -149
@@ -1,136 +0,0 @@
1
- import { EventEmitter, WritableSignal } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { ScCartItem, ScIImage, ScImageHelper, ScProduct, ScUnitsHelper } from '@snabcentr/client-core';
4
- import { Observable } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Директива абстрактной карточки товара.
8
- */
9
- export declare class AbstractScPriceCard {
10
- /**
11
- * Позиция товара в корзине.
12
- *
13
- * TODO: Сделать товар в корзине наблюдаемой переменной после реализации TASK:[#7144].
14
- */
15
- get cartItem(): ScCartItem | undefined;
16
- /**
17
- * Позиция товара в корзине
18
- *
19
- * TODO: Сделать товар в корзине наблюдаемой переменной после реализации TASK:[#7144].
20
- */
21
- set cartItem(value: ScCartItem | undefined);
22
- /**
23
- * Объект товара.
24
- */
25
- get product(): ScProduct | undefined;
26
- /**
27
- * Объект товара.
28
- */
29
- set product(value: ScProduct | undefined);
30
- /**
31
- * Признак того, что этот компонент отображается на мобильном устройстве.
32
- */
33
- readonly isMobile: boolean;
34
- /**
35
- * {@link FormControl} поля ввода количества товара в корзине.
36
- */
37
- quantityControl: FormControl<number | null>;
38
- /**
39
- * Признак, что необходимо отобразить лоадер для поля ввода количества товара.
40
- */
41
- quantityShowLoader: boolean;
42
- /**
43
- * Признак, что необходимо отобразить лоадер для кнопки избранных товаров и категорий.
44
- */
45
- favoriteShowLoader: boolean;
46
- /**
47
- * {@link Observable} изменения статуса авторизации.
48
- */
49
- readonly authStatus$: Observable<boolean>;
50
- /**
51
- * {@link Observable} поиска терма.
52
- */
53
- readonly search$: Observable<string>;
54
- /**
55
- * Признак, что необходимо отобразить поле ввода количества товара.
56
- */
57
- showQuantityControl: boolean;
58
- /**
59
- * Ссылка на страницу товара. Используется именно `href`, так как остановить событие клика для `routerLink` не вышло.
60
- */
61
- href?: string;
62
- /**
63
- * Событие нажатия на кнопку "В избранное".
64
- */
65
- readonly clickFavoriteEvent: EventEmitter<void>;
66
- /**
67
- * Событие нажатия на кнопку "В корзину".
68
- */
69
- readonly clickAddToCartEvent: EventEmitter<ScProduct>;
70
- /**
71
- * Событие нажатия на кнопку очистки количества товара.
72
- */
73
- readonly clickClearEvent: EventEmitter<ScCartItem>;
74
- /**
75
- * Событие нажатия на карточку товара.
76
- */
77
- readonly clickCardEvent: EventEmitter<void>;
78
- /**
79
- * Событие нажатия на историю цен.
80
- */
81
- readonly clickPriceHistoryEvent: EventEmitter<void>;
82
- /**
83
- * {@link Observable} изменения количества товара в корзине.
84
- */
85
- readonly quantityValueChanges: Observable<number | null>;
86
- /**
87
- * Признак, что необходимо автоматичеси выставить фокус на поле ввода колличества товара.
88
- */
89
- readonly autoFocuseQuantityInput: WritableSignal<boolean>;
90
- /**
91
- * Экземпляр класса-помощника для работы со значениями единиц измерения товара.
92
- */
93
- protected readonly unitsHelper: ScUnitsHelper;
94
- /**
95
- * Хелпер для работы с изображениями товара.
96
- */
97
- protected readonly imageHelper: ScImageHelper;
98
- /**
99
- * Путь до изображения 'Товар не найден'.
100
- */
101
- private readonly pathImageNotFound;
102
- /**
103
- * Объект слежения за изменениями.
104
- */
105
- private readonly cdr;
106
- /**
107
- * Объект товара.
108
- */
109
- private _product;
110
- /**
111
- * Позиция товара в корзине.
112
- *
113
- * TODO: Сделать товар в корзине наблюдаемой переменной после реализации TASK:[#7144].
114
- */
115
- private _cartItem;
116
- /**
117
- * Признак, что нужно показать скелетон.
118
- */
119
- get skeletonVisible(): boolean;
120
- /**
121
- * Возвращает данные для preview-изображения карточки товара.
122
- */
123
- getCardImagePreview(): ScIImage;
124
- /**
125
- * Возвращает массив превью-изображений товара.
126
- *
127
- * @param product Объект товара.
128
- */
129
- getCardImagePreviewList(product: ScProduct): ScIImage[];
130
- /**
131
- * Устанавливает компонент в очередь на обновление.
132
- */
133
- markForCheck(): void;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractScPriceCard, never>;
135
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractScPriceCard, never, never, { "cartItem": { "alias": "cartItem"; "required": false; }; "product": { "alias": "product"; "required": false; }; "showQuantityControl": { "alias": "showQuantityControl"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, { "clickFavoriteEvent": "clickFavoriteEvent"; "clickAddToCartEvent": "clickAddToCartEvent"; "clickClearEvent": "clickClearEvent"; "clickCardEvent": "clickCardEvent"; "clickPriceHistoryEvent": "clickPriceHistoryEvent"; "quantityValueChanges": "quantityValueChanges"; }, never, never, false, never>;
136
- }
@@ -1,7 +0,0 @@
1
- export * from './next-input-focus/sc-next-input-focus.directive';
2
- export * from './next-input-focus/sc-next-input-focus.module';
3
- export * from './abstract-price-card/abstract-sc-price-card.directive';
4
- export * from './terminal-link/sc-terminal-link.directive';
5
- export * from './links';
6
- export * from './sc-date-value-transformer.directive';
7
- export * from './select-on-focusin/sc-select-on-focusin.directive';
@@ -1,4 +0,0 @@
1
- export * from './sc-links';
2
- export * from './sc-link-location';
3
- export * from './sc-email-link.directive';
4
- export * from './sc-tel-link.directive';
@@ -1,25 +0,0 @@
1
- import { ScLinkLocation } from './sc-link-location';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Директива, которая управляет свойствами ссылки адреса электронной почты.
5
- */
6
- export declare class ScEmailLinkDirective {
7
- /**
8
- * Ссылка на HTML элемент тега `<a>`.
9
- */
10
- private elementReference;
11
- /**
12
- * Условное название блока где расположена ссылка.
13
- */
14
- linkLocation: ScLinkLocation;
15
- /**
16
- * Сервис для сбора метрик о действиях пользователей.
17
- */
18
- private readonly userMetrikaService;
19
- /**
20
- * Обработчик клика по ссылке.
21
- */
22
- private click;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ScEmailLinkDirective, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScEmailLinkDirective, "a[scEmailLink]", never, { "linkLocation": { "alias": "linkLocation"; "required": true; }; }, {}, never, never, true, never>;
25
- }
@@ -1,5 +0,0 @@
1
- import { TuiLooseUnion } from '@taiga-ui/cdk';
2
- /**
3
- * Тип данных условного названия блока где расположена ссылка.
4
- */
5
- export type ScLinkLocation = TuiLooseUnion<'contact' | 'questions-and-answers' | 'profile' | 'user-managers' | 'manager-card' | 'retails-map' | 'landing' | 'footer' | 'order' | 'vacancies' | 'header'>;
@@ -1,7 +0,0 @@
1
- import { ScPhoneFormatPipe } from '../../pipes/sc-phone-format';
2
- import { ScEmailLinkDirective } from './sc-email-link.directive';
3
- import { ScTelLinkDirective } from './sc-tel-link.directive';
4
- /**
5
- * Список директив ссылок.
6
- */
7
- export declare const ScLinks: readonly [typeof ScTelLinkDirective, typeof ScEmailLinkDirective, typeof ScPhoneFormatPipe];
@@ -1,40 +0,0 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
2
- import { ScLinkLocation } from './sc-link-location';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Директива, которая управляет свойствами ссылки номера телефона для валидации значения номера телефона.
6
- */
7
- export declare class ScTelLinkDirective implements OnChanges {
8
- /**
9
- * Экземпляр базового класса для реализации пользовательского рендеринга.
10
- */
11
- private readonly renderer;
12
- /**
13
- * Ссылка на HTML элемент тега `<a>`.
14
- */
15
- private elementReference;
16
- /**
17
- * Номер телефона, который будет проверен на валидность.
18
- */
19
- tel: string;
20
- /**
21
- * Условное название блока где расположена ссылка.
22
- */
23
- linkLocation: ScLinkLocation;
24
- /**
25
- * Сервис для сбора метрик о действиях пользователей.
26
- */
27
- private readonly userMetrikaService;
28
- /** @inheritDoc */
29
- ngOnChanges(changes: SimpleChanges): void;
30
- /**
31
- * Обработчик клика по ссылке.
32
- */
33
- private click;
34
- /**
35
- * Обновляет состояние ссылки на основе валидности номера телефона.
36
- */
37
- private updateLinkState;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<ScTelLinkDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScTelLinkDirective, "a[scTelLink]", never, { "tel": { "alias": "scTelLink"; "required": true; }; "linkLocation": { "alias": "linkLocation"; "required": true; }; }, {}, never, never, true, never>;
40
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Директива для перехода по нажатию клавиши enter на следующее поле ввода формы.
4
- */
5
- export declare class ScNextInputFocusDirective {
6
- /**
7
- * Все поля ввода внутри формы, на которой применяется данная директива.
8
- */
9
- private focusableElements;
10
- /**
11
- * Слушатель нажатия на клавишу enter. Предотвращает событие submit, выполняет смену фокуса на следующее поле ввода TuiFocusableElementAccessor.
12
- *
13
- * @param event Объект события нажатия на клавишу.
14
- */
15
- onFormKeyDownEnter(event: KeyboardEvent): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ScNextInputFocusDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScNextInputFocusDirective, "form[ScNextInputFocus]", never, {}, {}, ["focusableElements"], never, false, never>;
18
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sc-next-input-focus.directive";
3
- /**
4
- * Модуль директивы для перехода по нажатию клавиши enter на следующее поле ввода формы.
5
- */
6
- export declare class ScNextInputFocusModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ScNextInputFocusModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScNextInputFocusModule, [typeof i1.ScNextInputFocusDirective], never, [typeof i1.ScNextInputFocusDirective]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<ScNextInputFocusModule>;
10
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Директива для преобразования даты в формат "YYYY-MM-DD 23:59:59".
4
- */
5
- export declare class FinishDateTimeTransformerDirective {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<FinishDateTimeTransformerDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<FinishDateTimeTransformerDirective, "tui-input-date[toFinishDateTime]", never, {}, {}, never, never, true, never>;
8
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Директива для обработки события фокуса поля ввода, для последующего выделения содержимого поля ввода.
4
- */
5
- export declare class ScSelectOnFocusinDirective {
6
- /**
7
- * Слушатель и обработчик события `focusin`.
8
- *
9
- * @param target Целевой объект события `focusin`.
10
- */
11
- protected onFocusIn(target: HTMLElement): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ScSelectOnFocusinDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScSelectOnFocusinDirective, "tui-input-number, tui-input, tui-input-phone, tui-input-date, tui-input-password, input[tuiInputNumber]", never, {}, {}, never, never, true, never>;
14
- }
@@ -1,34 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Директива открытия диалогового окна с QRCode для ссылок `tel:` и `mailto:` на терминале.
4
- */
5
- export declare class ScTerminalLinkDirective {
6
- /**
7
- * Ссылка на HTML элемент тега `<a>`.
8
- */
9
- private elementReference;
10
- /**
11
- * Сервис для работы с диалоговыми окнами TuiDialog.
12
- */
13
- private dialog;
14
- /**
15
- * Провайдер данных о терминале.
16
- */
17
- private terminal;
18
- /**
19
- * Обработчик клика по ссылке.
20
- *
21
- * @param event Событие клика.
22
- */
23
- onClick(event: Event): void;
24
- /**
25
- * Открывает диалоговое окно с QR-кодом.
26
- */
27
- openQRCodeDialog(): void;
28
- /**
29
- * Проверяет ведёт ли ссылка на телефон или адрес электронной почты.
30
- */
31
- private isLinkTelOrMail;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ScTerminalLinkDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScTerminalLinkDirective, "a[href]", never, {}, {}, never, never, true, never>;
34
- }
@@ -1,5 +0,0 @@
1
- import { IBlockError } from '../interfaces/i-block-error';
2
- /**
3
- * Токен обработчика смены ошибки.
4
- */
5
- export declare const SC_ERROR_CHANGE_HANDLER: import("@angular/core").InjectionToken<(error: IBlockError) => void>;
@@ -1,37 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { IBlockError } from '../interfaces/i-block-error';
3
- import { ScErrorHandlerComponent } from '../sc-error-handler.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Компонент представления данных об ошибке.
7
- */
8
- export declare class ScErrorBlockStatusComponent {
9
- /**
10
- * Компонент управляющий кодом ошибки отображаемой на странице.
11
- */
12
- protected readonly errorHandlerComponent: ScErrorHandlerComponent;
13
- /**
14
- * Сигнал кода ошибки.
15
- */
16
- protected readonly code: Signal<number | null>;
17
- /**
18
- * Данные об ошибке.
19
- */
20
- protected readonly error: Signal<IBlockError>;
21
- /**
22
- * Создает сигнал изменения строкового представления об ошибке.
23
- */
24
- protected readonly pageErrorChange: import("@angular/core").OutputEmitterRef<IBlockError>;
25
- /**
26
- * Инициализирует экземпляр класса {@link ErrorPageComponent}.
27
- */
28
- constructor();
29
- /**
30
- * Возвращает описание ошибки.
31
- *
32
- * @param code Код ошибки.
33
- */
34
- protected getErrorMessage(code: number | null): IBlockError;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<ScErrorBlockStatusComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<ScErrorBlockStatusComponent, "sc-error-block-status", never, {}, { "pageErrorChange": "pageErrorChange"; }, never, never, true, never>;
37
- }
@@ -1,4 +0,0 @@
1
- export * from './interfaces/i-block-error';
2
- export * from './consts/error-change-handler.providers';
3
- export * from './sc-error-handler.component';
4
- export * from './error-block-status/error-block-status.component';
@@ -1,17 +0,0 @@
1
- /**
2
- * Модель данных ошибки для блока состояния ошибки.
3
- */
4
- export interface IBlockError {
5
- /**
6
- * Код ошибки.
7
- */
8
- code: number;
9
- /**
10
- * Краткое сообщение об ошибке, соответствующее коду ошибки.
11
- */
12
- message: string;
13
- /**
14
- * Развёрнутое описание ошибки.
15
- */
16
- description: string;
17
- }
@@ -1,40 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { IBlockError } from './interfaces/i-block-error';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Компонент для управления кодом ошибки отображаемой на странице.
6
- */
7
- export declare class ScErrorHandlerComponent {
8
- /**
9
- * Сигнал для хранения кода ошибки.
10
- */
11
- protected readonly code: import("@angular/core").WritableSignal<number | null>;
12
- /**
13
- * Сигнал дефолтного передаваемого из вне значения ошибки.
14
- */
15
- defaultCode: import("@angular/core").InputSignal<number | null>;
16
- /**
17
- * Сервис маршрутизации.
18
- */
19
- private readonly router;
20
- /**
21
- * Обработчик изменения ошибки.
22
- */
23
- protected readonly errorChangeHandler: (error: IBlockError) => void;
24
- /**
25
- * Инициирует экземпляр класса {@link ErrorHandlerComponent}.
26
- */
27
- constructor();
28
- /**
29
- * Возвращает текущий сигнал с кодом ошибки.
30
- */
31
- getErrorCode(): Signal<number | null>;
32
- /**
33
- * Устанавливает новый код ошибки.
34
- *
35
- * @param code Новый код ошибки.
36
- */
37
- setErrorCode(code: number): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<ScErrorHandlerComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<ScErrorHandlerComponent, "sc-error-handler", never, { "defaultCode": { "alias": "code"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
40
- }
@@ -1,4 +0,0 @@
1
- export * from './sc-accordion-content.directive';
2
- export * from './sc-accordion.component';
3
- export * from './sc-accordion.module';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jbGllbnQtdWkvYWNjb3JkaW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zYy1hY2NvcmRpb24tY29udGVudC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9zYy1hY2NvcmRpb24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2MtYWNjb3JkaW9uLm1vZHVsZSc7XG4iXX0=
@@ -1,17 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Директива содержимого компонента, позволяющего отображать и скрывать содержимое в разделах.
6
- */
7
- export class ScAccordionContentDirective extends PolymorpheusTemplate {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
9
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ScAccordionContentDirective, selector: "ng-template[scAccordionContent]", usesInheritance: true, ngImport: i0 }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionContentDirective, decorators: [{
12
- type: Directive,
13
- args: [{
14
- selector: 'ng-template[scAccordionContent]',
15
- }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtYWNjb3JkaW9uLWNvbnRlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY2xpZW50LXVpL2FjY29yZGlvbi9zYy1hY2NvcmRpb24tY29udGVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQzs7QUFFOUQ7O0dBRUc7QUFJSCxNQUFNLE9BQU8sMkJBQTRCLFNBQVEsb0JBQTZDOytHQUFqRiwyQkFBMkI7bUdBQTNCLDJCQUEyQjs7NEZBQTNCLDJCQUEyQjtrQkFIdkMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsaUNBQWlDO2lCQUM5QyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgUG9seW1vcnBoZXVzVGVtcGxhdGUgfSBmcm9tICdAdGFpZ2EtdWkvcG9seW1vcnBoZXVzJztcblxuLyoqXG4gKiDQlNC40YDQtdC60YLQuNCy0LAg0YHQvtC00LXRgNC20LjQvNC+0LPQviDQutC+0LzQv9C+0L3QtdC90YLQsCwg0L/QvtC30LLQvtC70Y/RjtGJ0LXQs9C+INC+0YLQvtCx0YDQsNC20LDRgtGMINC4INGB0LrRgNGL0LLQsNGC0Ywg0YHQvtC00LXRgNC20LjQvNC+0LUg0LIg0YDQsNC30LTQtdC70LDRhS5cbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICduZy10ZW1wbGF0ZVtzY0FjY29yZGlvbkNvbnRlbnRdJyxcbn0pXG5leHBvcnQgY2xhc3MgU2NBY2NvcmRpb25Db250ZW50RGlyZWN0aXZlIGV4dGVuZHMgUG9seW1vcnBoZXVzVGVtcGxhdGU8UmVjb3JkPHN0cmluZywgdW5rbm93bj4+IHt9XG4iXX0=
@@ -1,92 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, HostBinding, Input, input, Output, ViewChild } from '@angular/core';
2
- import { TuiAccordionItem } from '@taiga-ui/kit';
3
- import { ScAccordionContentDirective } from './sc-accordion-content.directive';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/common";
6
- import * as i2 from "@taiga-ui/polymorpheus";
7
- import * as i3 from "@taiga-ui/core";
8
- import * as i4 from "@taiga-ui/kit";
9
- /**
10
- * Компонент, позволяющий отображать и скрывать содержимое в разделах.
11
- */
12
- export class ScAccordionComponent {
13
- constructor() {
14
- /**
15
- * Состояние отображения кнопки добавления.
16
- */
17
- this.showAddButton = true;
18
- /**
19
- * Состояние отображения кнопки удаления.
20
- */
21
- this.showDeleteButton = false;
22
- /**
23
- * Состояние отображения стрелки.
24
- */
25
- this.showArrow = true;
26
- /**
27
- * Состояние открытия содержимого компонента.
28
- */
29
- this.open = false;
30
- /**
31
- * Размер элементов {@link TuiAccordionItemComponent}.
32
- */
33
- this.size = 's';
34
- /**
35
- * Состояние отключения кнопок.
36
- */
37
- this.disabledButtons = input(false);
38
- /**
39
- * Событие нажатия на кнопку добавления.
40
- */
41
- this.addButtonClick = new EventEmitter();
42
- /**
43
- * Событие нажатия на кнопку удаления.
44
- */
45
- this.deleteButtonClick = new EventEmitter();
46
- }
47
- /**
48
- * Закрывает акордион.
49
- */
50
- close() {
51
- this.accordion?.close();
52
- }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
54
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: ScAccordionComponent, selector: "sc-accordion", inputs: { showAddButton: { classPropertyName: "showAddButton", publicName: "showAddButton", isSignal: false, isRequired: false, transformFunction: null }, showDeleteButton: { classPropertyName: "showDeleteButton", publicName: "showDeleteButton", isSignal: false, isRequired: false, transformFunction: null }, showArrow: { classPropertyName: "showArrow", publicName: "showArrow", isSignal: false, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: false, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: false, isRequired: false, transformFunction: null }, disabledButtons: { classPropertyName: "disabledButtons", publicName: "disabledButtons", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { addButtonClick: "addButtonClick", deleteButtonClick: "deleteButtonClick" }, host: { properties: { "class._has-add-button": "this.showAddButton", "class._has-delete-button": "this.showDeleteButton", "class._has-arrow": "this.showArrow", "attr.data-size": "this.size" } }, queries: [{ propertyName: "content", first: true, predicate: ScAccordionContentDirective, descendants: true }], viewQueries: [{ propertyName: "accordion", first: true, predicate: TuiAccordionItem, descendants: true }], ngImport: i0, template: "<tui-accordion [rounded]=\"false\">\n <tui-accordion-item\n #accordion\n [size]=\"size\"\n [borders]=\"null\"\n [showArrow]=\"showArrow\"\n [open]=\"open\"\n >\n <div class=\"flex grow justify-between\">\n <div class=\"self-center font-bold\">\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"showAddButton || showDeleteButton\"\n class=\"flex\"\n >\n <ng-container *ngIf=\"showDeleteButton\">\n <button\n tuiIconButton\n size=\"m\"\n type=\"button\"\n [disabled]=\"disabledButtons()\"\n iconStart=\"@tui.trash-2\"\n appearance=\"secondary\"\n (click)=\"$event.stopPropagation(); deleteButtonClick.emit()\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"showAddButton\">\n <button\n tuiIconButton\n size=\"m\"\n type=\"button\"\n [disabled]=\"disabledButtons()\"\n iconStart=\"@tui.plus\"\n appearance=\"secondary\"\n (click)=\"$event.stopPropagation(); addButtonClick.emit()\"\n ></button>\n </ng-container>\n </div>\n </div>\n <ng-template tuiAccordionItemContent>\n <tui-elastic-container *ngIf=\"content\">\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n </tui-elastic-container>\n </ng-template>\n </tui-accordion-item>\n</tui-accordion>\n", styles: ["::ng-deep tui-accordion-item>.t-wrapper .t-header{border-radius:.75rem;flex-direction:row-reverse;min-height:var(--tui-height-m);font:var(--tui-font-text-m);padding:0 .5rem 0 1rem;gap:.75rem;background:var(--tui-background-base-alt)}:host[data-size=s] ::ng-deep tui-accordion-item>.t-wrapper .t-header{padding:0 .5rem 0 1rem;font:var(--tui-font-text-s)}:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper .t-header{padding-left:.75rem}:host._has-add-button ::ng-deep tui-accordion-item>.t-wrapper .t-header,:host._has-delete-button ::ng-deep tui-accordion-item>.t-wrapper .t-header{padding-right:0}::ng-deep tui-accordion-item>.t-wrapper .t-header_hoverable:hover:not([data-mode]){background:var(--tui-background-neutral-1-hover)!important}::ng-deep tui-accordion-item>.t-wrapper .t-header .t-icon{color:var(--tui-text-action)}:host:hover:not([data-mode]) ::ng-deep tui-accordion-item>.t-wrapper .t-header .t-icon{color:var(--tui-text-action)}::ng-deep tui-accordion-item>.t-wrapper .t-title{white-space:normal}:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper .t-title{margin-right:0}::ng-deep tui-accordion-item>.t-wrapper tui-expand>.t-wrapper>.t-content{padding-inline:0!important;padding-block:1rem}:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper tui-expand>.t-wrapper>.t-content,:host[data-size=s]:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper tui-expand>.t-wrapper>.t-content{padding-left:1rem!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }, { kind: "component", type: i4.TuiAccordionItem, selector: "tui-accordion-item", inputs: ["noPadding", "showArrow", "borders", "size", "disabled", "disableHover", "open", "async"], outputs: ["openChange"] }, { kind: "directive", type: i4.TuiAccordionDirective, selector: "tui-accordion", inputs: ["closeOthers"] }, { kind: "directive", type: i4.TuiAccordionItemContent, selector: "ng-template[tuiAccordionItemContent]" }, { kind: "component", type: i4.TuiElasticContainer, selector: "tui-elastic-container" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
55
- }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionComponent, decorators: [{
57
- type: Component,
58
- args: [{ selector: 'sc-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-accordion [rounded]=\"false\">\n <tui-accordion-item\n #accordion\n [size]=\"size\"\n [borders]=\"null\"\n [showArrow]=\"showArrow\"\n [open]=\"open\"\n >\n <div class=\"flex grow justify-between\">\n <div class=\"self-center font-bold\">\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"showAddButton || showDeleteButton\"\n class=\"flex\"\n >\n <ng-container *ngIf=\"showDeleteButton\">\n <button\n tuiIconButton\n size=\"m\"\n type=\"button\"\n [disabled]=\"disabledButtons()\"\n iconStart=\"@tui.trash-2\"\n appearance=\"secondary\"\n (click)=\"$event.stopPropagation(); deleteButtonClick.emit()\"\n ></button>\n </ng-container>\n <ng-container *ngIf=\"showAddButton\">\n <button\n tuiIconButton\n size=\"m\"\n type=\"button\"\n [disabled]=\"disabledButtons()\"\n iconStart=\"@tui.plus\"\n appearance=\"secondary\"\n (click)=\"$event.stopPropagation(); addButtonClick.emit()\"\n ></button>\n </ng-container>\n </div>\n </div>\n <ng-template tuiAccordionItemContent>\n <tui-elastic-container *ngIf=\"content\">\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n </tui-elastic-container>\n </ng-template>\n </tui-accordion-item>\n</tui-accordion>\n", styles: ["::ng-deep tui-accordion-item>.t-wrapper .t-header{border-radius:.75rem;flex-direction:row-reverse;min-height:var(--tui-height-m);font:var(--tui-font-text-m);padding:0 .5rem 0 1rem;gap:.75rem;background:var(--tui-background-base-alt)}:host[data-size=s] ::ng-deep tui-accordion-item>.t-wrapper .t-header{padding:0 .5rem 0 1rem;font:var(--tui-font-text-s)}:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper .t-header{padding-left:.75rem}:host._has-add-button ::ng-deep tui-accordion-item>.t-wrapper .t-header,:host._has-delete-button ::ng-deep tui-accordion-item>.t-wrapper .t-header{padding-right:0}::ng-deep tui-accordion-item>.t-wrapper .t-header_hoverable:hover:not([data-mode]){background:var(--tui-background-neutral-1-hover)!important}::ng-deep tui-accordion-item>.t-wrapper .t-header .t-icon{color:var(--tui-text-action)}:host:hover:not([data-mode]) ::ng-deep tui-accordion-item>.t-wrapper .t-header .t-icon{color:var(--tui-text-action)}::ng-deep tui-accordion-item>.t-wrapper .t-title{white-space:normal}:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper .t-title{margin-right:0}::ng-deep tui-accordion-item>.t-wrapper tui-expand>.t-wrapper>.t-content{padding-inline:0!important;padding-block:1rem}:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper tui-expand>.t-wrapper>.t-content,:host[data-size=s]:host._has-arrow ::ng-deep tui-accordion-item>.t-wrapper tui-expand>.t-wrapper>.t-content{padding-left:1rem!important}\n"] }]
59
- }], propDecorators: { showAddButton: [{
60
- type: Input
61
- }, {
62
- type: HostBinding,
63
- args: ['class._has-add-button']
64
- }], showDeleteButton: [{
65
- type: Input
66
- }, {
67
- type: HostBinding,
68
- args: ['class._has-delete-button']
69
- }], showArrow: [{
70
- type: Input
71
- }, {
72
- type: HostBinding,
73
- args: ['class._has-arrow']
74
- }], open: [{
75
- type: Input
76
- }], size: [{
77
- type: Input
78
- }, {
79
- type: HostBinding,
80
- args: ['attr.data-size']
81
- }], content: [{
82
- type: ContentChild,
83
- args: [ScAccordionContentDirective]
84
- }], accordion: [{
85
- type: ViewChild,
86
- args: [TuiAccordionItem]
87
- }], addButtonClick: [{
88
- type: Output
89
- }], deleteButtonClick: [{
90
- type: Output
91
- }] } });
92
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9hY2NvcmRpb24vc2MtYWNjb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XG4gICAgICAgIFtib3JkZXJzXT1cIm51bGxcIlxuICAgICAgICBbc2hvd0Fycm93XT1cInNob3dBcnJvd1wiXG4gICAgICAgIFtvcGVuXT1cIm9wZW5cIlxuICAgID5cbiAgICAgICAgPGRpdiBjbGFzcz1cImZsZXggZ3JvdyBqdXN0aWZ5LWJldHdlZW5cIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJzZWxmLWNlbnRlciBmb250LWJvbGRcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAqbmdJZj1cInNob3dBZGRCdXR0b24gfHwgc2hvd0RlbGV0ZUJ1dHRvblwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJmbGV4XCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwic2hvd0RlbGV0ZUJ1dHRvblwiPlxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICB0dWlJY29uQnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICBzaXplPVwibVwiXG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZEJ1dHRvbnMoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBpY29uU3RhcnQ9XCJAdHVpLnRyYXNoLTJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgYXBwZWFyYW5jZT1cInNlY29uZGFyeVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiJGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpOyBkZWxldGVCdXR0b25DbGljay5lbWl0KClcIlxuICAgICAgICAgICAgICAgICAgICA+PC9idXR0b24+XG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInNob3dBZGRCdXR0b25cIj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgdHVpSWNvbkJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZT1cIm1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRCdXR0b25zKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgaWNvblN0YXJ0PVwiQHR1aS5wbHVzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJzZWNvbmRhcnlcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIiRldmVudC5zdG9wUHJvcGFnYXRpb24oKTsgYWRkQnV0dG9uQ2xpY2suZW1pdCgpXCJcbiAgICAgICAgICAgICAgICAgICAgPjwvYnV0dG9uPlxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgICAgICA8bmctdGVtcGxhdGUgdHVpQWNjb3JkaW9uSXRlbUNvbnRlbnQ+XG4gICAgICAgICAgICA8dHVpLWVsYXN0aWMtY29udGFpbmVyICpuZ0lmPVwiY29udGVudFwiPlxuICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKnBvbHltb3JwaGV1c091dGxldD1cImNvbnRlbnQgYXMgdGV4dFwiPlxuICAgICAgICAgICAgICAgICAgICB7eyB0ZXh0IH19XG4gICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICA8L3R1aS1lbGFzdGljLWNvbnRhaW5lcj5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICA8L3R1aS1hY2NvcmRpb24taXRlbT5cbjwvdHVpLWFjY29yZGlvbj5cbiJdfQ==
@@ -1,26 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { TuiButton } from '@taiga-ui/core';
4
- import { TuiAccordion, TuiElasticContainer } from '@taiga-ui/kit';
5
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
6
- import { ScAccordionComponent } from './sc-accordion.component';
7
- import { ScAccordionContentDirective } from './sc-accordion-content.directive';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@taiga-ui/kit";
10
- /**
11
- * Модуль для отображение контента разделами, с возможностью скрывать и отображать содержимое.
12
- */
13
- export class ScAccordionModule {
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
15
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionModule, declarations: [ScAccordionComponent, ScAccordionContentDirective], imports: [CommonModule, PolymorpheusTemplate, PolymorpheusOutlet, TuiButton, i1.TuiAccordionItem, i1.TuiAccordionDirective, i1.TuiAccordionItemContent, i1.TuiAccordionItemEagerContent, TuiElasticContainer], exports: [ScAccordionComponent, ScAccordionContentDirective] }); }
16
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionModule, imports: [CommonModule, i1.TuiAccordionItem, TuiElasticContainer] }); }
17
- }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ScAccordionModule, decorators: [{
19
- type: NgModule,
20
- args: [{
21
- declarations: [ScAccordionComponent, ScAccordionContentDirective],
22
- imports: [CommonModule, PolymorpheusTemplate, PolymorpheusOutlet, TuiButton, ...TuiAccordion, TuiElasticContainer],
23
- exports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