@snabcentr/client-ui 1.18.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. package/accordion/sc-accordion-content.directive.d.ts +2 -2
  2. package/accordion/sc-accordion.component.d.ts +4 -4
  3. package/accordion/sc-accordion.module.d.ts +2 -2
  4. package/auth/index.d.ts +2 -1
  5. package/auth/interfaces/{ApiErrorResponse.d.ts → api-error-response.d.ts} +1 -3
  6. package/auth/interfaces/index.d.ts +3 -0
  7. package/auth/interfaces/sc-bank-account-form-group.d.ts +11 -0
  8. package/auth/interfaces/sc-contact-form-group.d.ts +10 -0
  9. package/auth/sc-auth.module.d.ts +14 -8
  10. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +5 -9
  11. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +4 -9
  12. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +9 -5
  13. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +153 -0
  14. package/banner/sc-banner.component.d.ts +9 -5
  15. package/banner/sc-banner.module.d.ts +5 -4
  16. package/brands-list/index.d.ts +2 -0
  17. package/brands-list/sc-brands-list.component.d.ts +15 -0
  18. package/brands-list/sc-brands-list.module.d.ts +12 -0
  19. package/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +16 -16
  20. package/cart/sc-cart.module.d.ts +3 -3
  21. package/catalog/categories-list/sc-categories-list.component.d.ts +9 -3
  22. package/catalog/category-card/sc-category-card.component.d.ts +1 -1
  23. package/catalog/input-quantity/sc-input-quantity.component.d.ts +6 -14
  24. package/catalog/price-card/sc-price-card.component.d.ts +11 -105
  25. package/catalog/price-history/sc-price-history.component.d.ts +11 -5
  26. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +10 -5
  27. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +1 -1
  28. package/catalog/sc-catalog.module.d.ts +5 -4
  29. package/catalog/sc-favorite-btn/sc-favorite-btn.component.d.ts +1 -1
  30. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +11 -6
  31. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +1 -1
  32. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +1 -1
  33. package/contacts/sc-contacts.module.d.ts +6 -1
  34. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +3 -3
  35. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +23 -15
  36. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +1 -1
  37. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +1 -1
  38. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +1 -1
  39. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +31 -16
  40. package/contragents/sc-contragents.module.d.ts +6 -4
  41. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +83 -8
  42. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +1 -1
  43. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +1 -1
  44. package/delivery-address/sc-delivery-address.module.d.ts +4 -2
  45. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +107 -0
  46. package/directives/index.d.ts +6 -2
  47. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +18 -0
  48. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +10 -0
  49. package/directives/tel-link/sc-tel-link.directive.d.ts +27 -0
  50. package/directives/tel-link/sc-tel-link.module.d.ts +11 -0
  51. package/directives/terminal-link/sc-terminal-link.directive.d.ts +34 -0
  52. package/esm2022/accordion/sc-accordion-content.directive.mjs +17 -0
  53. package/esm2022/accordion/sc-accordion.component.mjs +88 -0
  54. package/esm2022/accordion/sc-accordion.module.mjs +26 -0
  55. package/esm2022/auth/index.mjs +8 -0
  56. package/esm2022/auth/interfaces/api-error-response.mjs +2 -0
  57. package/esm2022/auth/interfaces/index.mjs +4 -0
  58. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +2 -0
  59. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +2 -0
  60. package/esm2022/auth/sc-auth.module.mjs +98 -0
  61. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +72 -0
  62. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +70 -0
  63. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +89 -0
  64. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +321 -0
  65. package/esm2022/banner/sc-banner.component.mjs +234 -0
  66. package/esm2022/banner/sc-banner.module.mjs +29 -0
  67. package/esm2022/brands-list/index.mjs +3 -0
  68. package/esm2022/brands-list/sc-brands-list.component.mjs +24 -0
  69. package/esm2022/brands-list/sc-brands-list.module.mjs +22 -0
  70. package/esm2022/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +121 -0
  71. package/esm2022/cart/sc-cart.module.mjs +54 -0
  72. package/esm2022/catalog/categories-list/sc-categories-list.component.mjs +92 -0
  73. package/esm2022/catalog/category-card/sc-category-card.component.mjs +120 -0
  74. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +141 -0
  75. package/esm2022/catalog/price-card/sc-price-card.component.mjs +64 -0
  76. package/esm2022/catalog/price-history/sc-price-history.component.mjs +126 -0
  77. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +49 -0
  78. package/{esm2020 → esm2022}/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +6 -6
  79. package/esm2022/catalog/sc-catalog.module.mjs +120 -0
  80. package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +42 -0
  81. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +89 -0
  82. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +38 -0
  83. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +30 -0
  84. package/esm2022/contacts/sc-contacts.module.mjs +88 -0
  85. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +80 -0
  86. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +262 -0
  87. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +75 -0
  88. package/{esm2020 → esm2022}/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +6 -6
  89. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +64 -0
  90. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +220 -0
  91. package/esm2022/contragents/sc-contragents.module.mjs +110 -0
  92. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +230 -0
  93. package/{esm2020 → esm2022}/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +6 -6
  94. package/{esm2020 → esm2022}/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +6 -6
  95. package/esm2022/delivery-address/sc-delivery-address.module.mjs +84 -0
  96. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +131 -0
  97. package/esm2022/directives/index.mjs +7 -0
  98. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +43 -0
  99. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +19 -0
  100. package/esm2022/directives/tel-link/sc-tel-link.directive.mjs +58 -0
  101. package/esm2022/directives/tel-link/sc-tel-link.module.mjs +20 -0
  102. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +69 -0
  103. package/esm2022/files/directives/tree-top.directive.mjs +63 -0
  104. package/{esm2020 → esm2022}/files/directives/tree.directive.mjs +5 -5
  105. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +18 -0
  106. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +60 -0
  107. package/esm2022/files/files-and-documents.module.mjs +27 -0
  108. package/esm2022/files/services/tree-icon.service.mjs +49 -0
  109. package/{esm2020 → esm2022}/files/services/tree-loader.service.mjs +5 -5
  110. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +128 -0
  111. package/esm2022/form-fields/form-fields.module.mjs +69 -0
  112. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +134 -0
  113. package/{esm2020 → esm2022}/helpers/sc-px-converter.mjs +4 -4
  114. package/esm2022/helpers/sc-units-helper.mjs +45 -0
  115. package/{esm2020 → esm2022}/news/news-card/sc-news-card.component.mjs +4 -4
  116. package/{esm2020 → esm2022}/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +4 -4
  117. package/{esm2020 → esm2022}/news/sc-news.module.mjs +5 -5
  118. package/esm2022/order/order-item-mobile/order-item-mobile.component.mjs +80 -0
  119. package/esm2022/order/sc-order.module.mjs +29 -0
  120. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +35 -0
  121. package/esm2022/pipes/index.mjs +2 -0
  122. package/esm2022/pipes/sc-formatted-phone.mjs +34 -0
  123. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +182 -0
  124. package/esm2022/profile/sc-profile.module.mjs +77 -0
  125. package/{esm2020 → esm2022}/providers/index.mjs +1 -2
  126. package/esm2022/providers/scUserProviders.mjs +27 -0
  127. package/esm2022/public-api.mjs +30 -0
  128. package/esm2022/qrcode/index.mjs +3 -0
  129. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +58 -0
  130. package/esm2022/qrcode/sc-qrcode.module.mjs +25 -0
  131. package/esm2022/samples/ask-to-sample-form/sc-ask-to-sample-form.component.mjs +37 -0
  132. package/esm2022/samples/index.mjs +5 -0
  133. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +2 -0
  134. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +83 -0
  135. package/esm2022/samples/sc-sample.module.mjs +59 -0
  136. package/{esm2020 → esm2022}/share-button/sc-share-button.component.mjs +5 -5
  137. package/esm2022/share-button/sc-share-button.module.mjs +22 -0
  138. package/esm2022/user/index.mjs +6 -0
  139. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +71 -0
  140. package/esm2022/user/sc-user.module.mjs +89 -0
  141. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +117 -0
  142. package/esm2022/user/user-managers/sc-user-managers.component.mjs +41 -0
  143. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +102 -0
  144. package/{esm2020 → esm2022}/validators/index.mjs +2 -2
  145. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +17 -0
  146. package/esm2022/validators/stepValidator.mjs +18 -0
  147. package/esm2022/verification/sc-verification.module.mjs +68 -0
  148. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +198 -0
  149. package/fesm2022/snabcentr-client-ui.mjs +5710 -0
  150. package/fesm2022/snabcentr-client-ui.mjs.map +1 -0
  151. package/files/directives/tree-top.directive.d.ts +1 -1
  152. package/files/directives/tree.directive.d.ts +1 -1
  153. package/files/file-tree-item/file-tree-item.component.d.ts +3 -3
  154. package/files/files-and-documents/files-and-documents.component.d.ts +1 -1
  155. package/files/files-and-documents.module.d.ts +1 -1
  156. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +17 -11
  157. package/form-fields/form-fields.module.d.ts +5 -3
  158. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +10 -2
  159. package/helpers/sc-units-helper.d.ts +6 -6
  160. package/news/news-card/sc-news-card.component.d.ts +1 -1
  161. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +1 -1
  162. package/order/order-item-mobile/order-item-mobile.component.d.ts +9 -9
  163. package/order/sc-order.module.d.ts +4 -2
  164. package/order/sc-payment-status/sc-payment-status.component.d.ts +1 -1
  165. package/package.json +42 -45
  166. package/pipes/index.d.ts +1 -0
  167. package/pipes/sc-formatted-phone.d.ts +19 -0
  168. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +3 -3
  169. package/profile/sc-profile.module.d.ts +6 -4
  170. package/providers/index.d.ts +0 -1
  171. package/providers/scUserProviders.d.ts +2 -3
  172. package/public-api.d.ts +4 -0
  173. package/qrcode/index.d.ts +2 -0
  174. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +37 -0
  175. package/qrcode/sc-qrcode.module.d.ts +14 -0
  176. package/samples/ask-to-sample-form/sc-ask-to-sample-form.component.d.ts +18 -0
  177. package/samples/index.d.ts +4 -0
  178. package/samples/interfaces/sc-i-preview-sample.d.ts +47 -0
  179. package/samples/preview-sample/sc-preview-sample.component.d.ts +48 -0
  180. package/samples/sc-sample.module.d.ts +19 -0
  181. package/share-button/sc-share-button.component.d.ts +1 -1
  182. package/share-button/sc-share-button.module.d.ts +1 -1
  183. package/styles/taiga/taiga-tailwind-preset.js +121 -0
  184. package/styles/taiga/variables.less +17 -14
  185. package/styles/tailwind/tailwind.scss +252 -61
  186. package/user/index.d.ts +1 -0
  187. package/user/reset-user-password/sc-reset-user-password.component.d.ts +3 -3
  188. package/user/sc-user.module.d.ts +12 -8
  189. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +13 -9
  190. package/user/user-managers/sc-user-managers.component.d.ts +26 -0
  191. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +13 -8
  192. package/validators/index.d.ts +1 -1
  193. package/validators/{scPasswordConfirmMatchingValidator.d.ts → sc-password-confirm-matching-validator.d.ts} +1 -1
  194. package/verification/sc-verification.module.d.ts +5 -4
  195. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +18 -18
  196. package/directives/carousel-item-hidden/sc-carousel-item-hidden.directive.d.ts +0 -24
  197. package/directives/carousel-item-hidden/sc-carousel-item-hidden.module.d.ts +0 -11
  198. package/esm2020/accordion/sc-accordion-content.directive.mjs +0 -17
  199. package/esm2020/accordion/sc-accordion.component.mjs +0 -88
  200. package/esm2020/accordion/sc-accordion.module.mjs +0 -25
  201. package/esm2020/auth/index.mjs +0 -7
  202. package/esm2020/auth/interfaces/ApiErrorResponse.mjs +0 -2
  203. package/esm2020/auth/sc-auth.module.mjs +0 -79
  204. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -76
  205. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -75
  206. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -71
  207. package/esm2020/banner/sc-banner.component.mjs +0 -232
  208. package/esm2020/banner/sc-banner.module.mjs +0 -26
  209. package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +0 -120
  210. package/esm2020/cart/sc-cart.module.mjs +0 -65
  211. package/esm2020/catalog/categories-list/sc-categories-list.component.mjs +0 -84
  212. package/esm2020/catalog/category-card/sc-category-card.component.mjs +0 -120
  213. package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +0 -163
  214. package/esm2020/catalog/price-card/sc-price-card.component.mjs +0 -175
  215. package/esm2020/catalog/price-history/sc-price-history.component.mjs +0 -114
  216. package/esm2020/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -37
  217. package/esm2020/catalog/sc-catalog.module.mjs +0 -128
  218. package/esm2020/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +0 -41
  219. package/esm2020/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -71
  220. package/esm2020/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -35
  221. package/esm2020/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -28
  222. package/esm2020/contacts/sc-contacts.module.mjs +0 -92
  223. package/esm2020/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -71
  224. package/esm2020/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -249
  225. package/esm2020/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -75
  226. package/esm2020/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -61
  227. package/esm2020/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -183
  228. package/esm2020/contragents/sc-contragents.module.mjs +0 -103
  229. package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -79
  230. package/esm2020/delivery-address/sc-delivery-address.module.mjs +0 -77
  231. package/esm2020/directives/carousel-item-hidden/sc-carousel-item-hidden.directive.mjs +0 -40
  232. package/esm2020/directives/carousel-item-hidden/sc-carousel-item-hidden.module.mjs +0 -21
  233. package/esm2020/directives/index.mjs +0 -3
  234. package/esm2020/files/directives/tree-top.directive.mjs +0 -63
  235. package/esm2020/files/file-tree-item/file-tree-item.component.mjs +0 -18
  236. package/esm2020/files/files-and-documents/files-and-documents.component.mjs +0 -60
  237. package/esm2020/files/files-and-documents.module.mjs +0 -26
  238. package/esm2020/files/services/tree-icon.service.mjs +0 -48
  239. package/esm2020/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -122
  240. package/esm2020/form-fields/form-fields.module.mjs +0 -80
  241. package/esm2020/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -116
  242. package/esm2020/helpers/sc-units-helper.mjs +0 -44
  243. package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +0 -79
  244. package/esm2020/order/sc-order.module.mjs +0 -25
  245. package/esm2020/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  246. package/esm2020/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -177
  247. package/esm2020/profile/sc-profile.module.mjs +0 -80
  248. package/esm2020/providers/productsPagination.mjs +0 -99
  249. package/esm2020/providers/scUserProviders.mjs +0 -30
  250. package/esm2020/public-api.mjs +0 -26
  251. package/esm2020/share-button/sc-share-button.module.mjs +0 -22
  252. package/esm2020/user/index.mjs +0 -5
  253. package/esm2020/user/reset-user-password/sc-reset-user-password.component.mjs +0 -67
  254. package/esm2020/user/sc-user.module.mjs +0 -88
  255. package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -105
  256. package/esm2020/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -91
  257. package/esm2020/validators/scPasswordConfirmMatchingValidator.mjs +0 -17
  258. package/esm2020/validators/stepValidator.mjs +0 -18
  259. package/esm2020/verification/sc-verification.module.mjs +0 -73
  260. package/esm2020/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -184
  261. package/fesm2015/snabcentr-client-ui.mjs +0 -4861
  262. package/fesm2015/snabcentr-client-ui.mjs.map +0 -1
  263. package/fesm2020/snabcentr-client-ui.mjs +0 -4781
  264. package/fesm2020/snabcentr-client-ui.mjs.map +0 -1
  265. package/providers/productsPagination.d.ts +0 -43
  266. /package/{esm2020 → esm2022}/accordion/index.mjs +0 -0
  267. /package/{esm2020 → esm2022}/auth/enums/auth-method.mjs +0 -0
  268. /package/{esm2020 → esm2022}/banner/index.mjs +0 -0
  269. /package/{esm2020 → esm2022}/cart/index.mjs +0 -0
  270. /package/{esm2020 → esm2022}/catalog/index.mjs +0 -0
  271. /package/{esm2020 → esm2022}/contacts/index.mjs +0 -0
  272. /package/{esm2020 → esm2022}/contragents/index.mjs +0 -0
  273. /package/{esm2020 → esm2022}/delivery-address/index.mjs +0 -0
  274. /package/{esm2020 → esm2022}/files/directives/index.mjs +0 -0
  275. /package/{esm2020 → esm2022}/files/index.mjs +0 -0
  276. /package/{esm2020 → esm2022}/files/interfaces/tree-node.mjs +0 -0
  277. /package/{esm2020 → esm2022}/files/services/index.mjs +0 -0
  278. /package/{esm2020 → esm2022}/form-fields/index.mjs +0 -0
  279. /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
  280. /package/{esm2020 → esm2022}/icons/index.mjs +0 -0
  281. /package/{esm2020 → esm2022}/icons/sc-client-ui-icons-name.mjs +0 -0
  282. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  283. /package/{esm2020 → esm2022}/loader/sc-i-loader.mjs +0 -0
  284. /package/{esm2020 → esm2022}/masks/index.mjs +0 -0
  285. /package/{esm2020 → esm2022}/masks/sc-account-number-mask.mjs +0 -0
  286. /package/{esm2020 → esm2022}/masks/sc-bic-mask.mjs +0 -0
  287. /package/{esm2020 → esm2022}/masks/sc-correspondent-account-mask.mjs +0 -0
  288. /package/{esm2020 → esm2022}/masks/sc-inn-mask.mjs +0 -0
  289. /package/{esm2020 → esm2022}/masks/sc-kpp-mask.mjs +0 -0
  290. /package/{esm2020 → esm2022}/masks/sc-okpo-mask.mjs +0 -0
  291. /package/{esm2020 → esm2022}/masks/sc-phone-verification-code-mask.mjs +0 -0
  292. /package/{esm2020 → esm2022}/news/index.mjs +0 -0
  293. /package/{esm2020 → esm2022}/order/index.mjs +0 -0
  294. /package/{esm2020 → esm2022}/profile/index.mjs +0 -0
  295. /package/{esm2020 → esm2022}/share-button/index.mjs +0 -0
  296. /package/{esm2020 → esm2022}/snabcentr-client-ui.mjs +0 -0
  297. /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
  298. /package/{esm2020 → esm2022}/tokens/sc-linear-values-token.mjs +0 -0
  299. /package/{esm2020 → esm2022}/validators/scBicValidator.mjs +0 -0
  300. /package/{esm2020 → esm2022}/validators/scCorrespondentAccountValidator.mjs +0 -0
  301. /package/{esm2020 → esm2022}/verification/index.mjs +0 -0
@@ -1,9 +1,9 @@
1
- import { PolymorpheusTemplate } from '@tinkoff/ng-polymorpheus';
1
+ import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
4
  * Директива содержимого компонента, позволяющего отображать и скрывать содержимое в разделах.
5
5
  */
6
6
  export declare class ScAccordionContentDirective extends PolymorpheusTemplate<Record<string, unknown>> {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<ScAccordionContentDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScAccordionContentDirective, "ng-template[scAccordionContent]", never, {}, {}, never, never, false>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ScAccordionContentDirective, "ng-template[scAccordionContent]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { ScAccordionContentDirective } from './sc-accordion-content.directive';
3
2
  import { TuiSizeS } from '@taiga-ui/core';
4
- import { TuiAccordionItemComponent } from '@taiga-ui/kit';
3
+ import { TuiAccordionItem } from '@taiga-ui/kit';
4
+ import { ScAccordionContentDirective } from './sc-accordion-content.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Компонент, позволяющий отображать и скрывать содержимое в разделах.
@@ -34,7 +34,7 @@ export declare class ScAccordionComponent {
34
34
  /**
35
35
  * Ссылка на шаблон превью-просмотра в разметке.
36
36
  */
37
- readonly accordion?: TuiAccordionItemComponent;
37
+ readonly accordion?: TuiAccordionItem;
38
38
  /**
39
39
  * Событие нажатия на кнопку добавления.
40
40
  */
@@ -48,5 +48,5 @@ export declare class ScAccordionComponent {
48
48
  */
49
49
  close(): void;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<ScAccordionComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<ScAccordionComponent, "sc-accordion", never, { "showAddButton": "showAddButton"; "showDeleteButton": "showDeleteButton"; "showArrow": "showArrow"; "open": "open"; "size": "size"; }, { "addButtonClick": "addButtonClick"; "deleteButtonClick": "deleteButtonClick"; }, ["content"], ["*"], false>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScAccordionComponent, "sc-accordion", never, { "showAddButton": { "alias": "showAddButton"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "open": { "alias": "open"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "addButtonClick": "addButtonClick"; "deleteButtonClick": "deleteButtonClick"; }, ["content"], ["*"], false, never>;
52
52
  }
@@ -2,7 +2,7 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./sc-accordion.component";
3
3
  import * as i2 from "./sc-accordion-content.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "@tinkoff/ng-polymorpheus";
5
+ import * as i4 from "@taiga-ui/polymorpheus";
6
6
  import * as i5 from "@taiga-ui/core";
7
7
  import * as i6 from "@taiga-ui/kit";
8
8
  /**
@@ -10,6 +10,6 @@ import * as i6 from "@taiga-ui/kit";
10
10
  */
11
11
  export declare class ScAccordionModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ScAccordionModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScAccordionModule, [typeof i1.ScAccordionComponent, typeof i2.ScAccordionContentDirective], [typeof i3.CommonModule, typeof i4.PolymorpheusModule, typeof i5.TuiButtonModule, typeof i6.TuiAccordionModule, typeof i5.TuiModeModule, typeof i6.TuiElasticContainerModule], [typeof i1.ScAccordionComponent, typeof i2.ScAccordionContentDirective]>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScAccordionModule, [typeof i1.ScAccordionComponent, typeof i2.ScAccordionContentDirective], [typeof i3.CommonModule, typeof i4.PolymorpheusTemplate, typeof i4.PolymorpheusOutlet, typeof i5.TuiButton, typeof i6.TuiAccordionItem, typeof i6.TuiAccordionDirective, typeof i6.TuiAccordionItemContent, typeof i6.TuiAccordionItemEagerContent, typeof i6.TuiElasticContainer], [typeof i1.ScAccordionComponent, typeof i2.ScAccordionContentDirective]>;
14
14
  static ɵinj: i0.ɵɵInjectorDeclaration<ScAccordionModule>;
15
15
  }
package/auth/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './sc-sign-in-form/sc-sign-in-form.component';
2
2
  export * from './sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component';
3
3
  export * from './sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component';
4
+ export * from './sign-up-form/sc-sign-up-form.component';
4
5
  export * from './enums/auth-method';
5
- export * from './interfaces/ApiErrorResponse';
6
+ export * from './interfaces';
6
7
  export * from './sc-auth.module';
@@ -9,7 +9,5 @@ export interface ApiErrorResponse {
9
9
  /**
10
10
  * Подробное описание каждой ошибки. Содержит список полей с детальным описанием ошибок валидации для каждого поля.
11
11
  */
12
- errors: {
13
- [key: string]: string[];
14
- };
12
+ errors?: Record<string, string[]>;
15
13
  }
@@ -0,0 +1,3 @@
1
+ export * from './api-error-response';
2
+ export * from './sc-bank-account-form-group';
3
+ export * from './sc-contact-form-group';
@@ -0,0 +1,11 @@
1
+ import { FormControl, FormGroup } from '@angular/forms';
2
+ /**
3
+ * Модель данных полей формы банковского аккаунта.
4
+ */
5
+ export type ScBankAccountFormGroup = FormGroup<{
6
+ bankName: FormControl<string | null>;
7
+ bic: FormControl<string | null>;
8
+ accountNumber: FormControl<string | null>;
9
+ correspondentAccount: FormControl<string | null>;
10
+ currencyId: FormControl<number | null>;
11
+ }>;
@@ -0,0 +1,10 @@
1
+ import { FormControl, FormGroup } from '@angular/forms';
2
+ /**
3
+ * Модель данных полей формы контактного лица.
4
+ */
5
+ export type ScContactFormGroup = FormGroup<{
6
+ name: FormControl<string | null>;
7
+ phone: FormControl<string | null>;
8
+ email: FormControl<string | null>;
9
+ position: FormControl<string | null>;
10
+ }>;
@@ -2,18 +2,24 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./sc-sign-in-form/sc-sign-in-form.component";
3
3
  import * as i2 from "./sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component";
4
4
  import * as i3 from "./sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "@taiga-ui/kit";
8
- import * as i7 from "@taiga-ui/core";
9
- import * as i8 from "@taiga-ui/cdk";
10
- import * as i9 from "@maskito/angular";
11
- import * as i10 from "../verification/sc-verification.module";
5
+ import * as i4 from "./sign-up-form/sc-sign-up-form.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@taiga-ui/legacy";
9
+ import * as i8 from "@taiga-ui/core";
10
+ import * as i9 from "@taiga-ui/kit";
11
+ import * as i10 from "@taiga-ui/cdk";
12
+ import * as i11 from "@maskito/angular";
13
+ import * as i12 from "../verification/sc-verification.module";
14
+ import * as i13 from "../form-fields/form-fields.module";
15
+ import * as i14 from "@taiga-ui/core/components/data-list";
16
+ import * as i15 from "../contragents/sc-contragents.module";
17
+ import * as i16 from "../contacts/sc-contacts.module";
12
18
  /**
13
19
  * Модуль аутентификации.
14
20
  */
15
21
  export declare class ScAuthModule {
16
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ScAuthModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScAuthModule, [typeof i1.ScSignInFormComponent, typeof i2.ScSignInFormByPhoneComponent, typeof i3.ScSignInFormByEmailComponent], [typeof i4.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.TuiInputPasswordModule, typeof i6.TuiInputModule, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLinkModule, typeof i7.TuiButtonModule, typeof i7.TuiLabelModule, typeof i7.TuiModeModule, typeof i6.TuiFieldErrorPipeModule, typeof i7.TuiErrorModule, typeof i8.TuiLetModule, typeof i7.TuiLoaderModule, typeof i6.TuiInputPhoneModule, typeof i9.MaskitoModule, typeof i10.ScVerificationModule], [typeof i1.ScSignInFormComponent, typeof i2.ScSignInFormByPhoneComponent, typeof i3.ScSignInFormByEmailComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScAuthModule, [typeof i1.ScSignInFormComponent, typeof i2.ScSignInFormByPhoneComponent, typeof i3.ScSignInFormByEmailComponent, typeof i4.ScSignUpFormComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiInputPasswordModule, typeof i7.TuiInputModule, typeof i7.TuiTextfieldControllerModule, typeof i8.TuiLink, typeof i8.TuiButton, typeof i8.TuiLabel, typeof i9.TuiFieldErrorPipe, typeof i8.TuiError, typeof i10.TuiLet, typeof i8.TuiLoader, typeof i7.TuiInputPhoneModule, typeof i11.MaskitoDirective, typeof i12.ScVerificationModule, typeof i13.ScFormFieldsModule, typeof i8.TuiDataListComponent, typeof i8.TuiDataListDirective, typeof i8.TuiOption, typeof i8.TuiOptGroup, typeof i9.TuiCheckbox, typeof i9.TuiElasticContainer, typeof i9.TuiDataListWrapperComponent, typeof i9.TuiDataListGroupWrapperComponent, typeof i14.TuiDataListDirective, typeof i7.TuiSelectModule, typeof i15.ScContragentsModule, typeof i16.ScContactsModule, typeof i9.TuiStepperComponent, typeof i9.TuiStep, typeof i10.TuiRepeatTimes, typeof i9.TuiButtonLoading], [typeof i1.ScSignInFormComponent, typeof i2.ScSignInFormByPhoneComponent, typeof i3.ScSignInFormByEmailComponent, typeof i4.ScSignUpFormComponent]>;
18
24
  static ɵinj: i0.ɵɵInjectorDeclaration<ScAuthModule>;
19
25
  }
@@ -1,14 +1,13 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { FormGroup } from '@angular/forms';
3
- import { ScAuthService, ScUserMetrikaService } from '@snabcentr/client-core';
3
+ import { ScAuthService } from '@snabcentr/client-core';
4
4
  import { Observable, Subject } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Компонент аутентификации по адресу электронной почты и паролю.
8
8
  */
9
- export declare class ScSignInFormByEmailComponent implements OnInit {
9
+ export declare class ScSignInFormByEmailComponent {
10
10
  private readonly authService;
11
- private readonly userMetrikaService;
12
11
  /**
13
12
  * Группа полей ввода для формы «Вход на сайт».
14
13
  */
@@ -33,11 +32,8 @@ export declare class ScSignInFormByEmailComponent implements OnInit {
33
32
  * Инициализирует экземпляр класса {@link ScSignInFormByEmailComponent}.
34
33
  *
35
34
  * @param authService Сервис аутентификации.
36
- * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
37
35
  */
38
- constructor(authService: ScAuthService, userMetrikaService: ScUserMetrikaService);
39
- /** @inheritDoc */
40
- ngOnInit(): void;
36
+ constructor(authService: ScAuthService);
41
37
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSignInFormByEmailComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormByEmailComponent, "sc-sign-in-form-by-email", never, {}, { "forgotPassword": "forgotPassword"; }, never, never, false>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormByEmailComponent, "sc-sign-in-form-by-email", never, {}, { "forgotPassword": "forgotPassword"; }, never, never, false, never>;
43
39
  }
@@ -1,14 +1,12 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { FormControl, FormGroup } from '@angular/forms';
3
- import { ScAuthService, ScUserMetrikaService } from '@snabcentr/client-core';
2
+ import { ScAuthService } from '@snabcentr/client-core';
4
3
  import { Observable, Subject } from 'rxjs';
5
4
  import * as i0 from "@angular/core";
6
5
  /**
7
6
  * Компонент аутентификации по номеру телефона и коду подтверждения.
8
7
  */
9
- export declare class ScSignInFormByPhoneComponent implements OnInit {
8
+ export declare class ScSignInFormByPhoneComponent {
10
9
  private readonly authService;
11
- private readonly userMetrikaService;
12
10
  /**
13
11
  * Наличие кода подтверждения у пользователя.
14
12
  */
@@ -36,11 +34,8 @@ export declare class ScSignInFormByPhoneComponent implements OnInit {
36
34
  * Инициализирует экземпляр класса {@link ScSignInFormByPhoneComponent}.
37
35
  *
38
36
  * @param authService Сервис аутентификации.
39
- * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
40
37
  */
41
- constructor(authService: ScAuthService, userMetrikaService: ScUserMetrikaService);
42
- /** @inheritDoc */
43
- ngOnInit(): void;
38
+ constructor(authService: ScAuthService);
44
39
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSignInFormByPhoneComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormByPhoneComponent, "sc-sign-in-form-by-phone", never, {}, {}, never, never, false>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormByPhoneComponent, "sc-sign-in-form-by-phone", never, {}, {}, never, never, false, never>;
46
41
  }
@@ -1,13 +1,14 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ScAuthService } from '@snabcentr/client-core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ScAuthService, ScUserMetrikaService } from '@snabcentr/client-core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { AuthMethod } from '../enums/auth-method';
5
5
  import * as i0 from "@angular/core";
6
6
  /**
7
7
  * Компонент аутентификации пользователя.
8
8
  */
9
- export declare class ScSignInFormComponent {
9
+ export declare class ScSignInFormComponent implements OnInit {
10
10
  private readonly authService;
11
+ private readonly userMetrikaService;
11
12
  /**
12
13
  * Выбранный способ аутентификации.
13
14
  */
@@ -32,8 +33,11 @@ export declare class ScSignInFormComponent {
32
33
  * Инициализирует экземпляр класса {@link ScSignInFormComponent}.
33
34
  *
34
35
  * @param authService Сервис аутентификации.
36
+ * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
35
37
  */
36
- constructor(authService: ScAuthService);
38
+ constructor(authService: ScAuthService, userMetrikaService: ScUserMetrikaService);
39
+ /** @inheritDoc */
40
+ ngOnInit(): void;
37
41
  /**
38
42
  * Осуществляет переключение способов аутентификации.
39
43
  *
@@ -45,5 +49,5 @@ export declare class ScSignInFormComponent {
45
49
  */
46
50
  onForgotPassword(): void;
47
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ScSignInFormComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormComponent, "sc-sign-in-form", never, { "authMethod": "authMethod"; }, { "forgotPassword": "forgotPassword"; "signUp": "signUp"; "successAuth": "successAuth"; }, never, never, false>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormComponent, "sc-sign-in-form", never, { "authMethod": { "alias": "authMethod"; "required": false; }; }, { "forgotPassword": "forgotPassword"; "signUp": "signUp"; "successAuth": "successAuth"; }, never, never, false, never>;
49
53
  }
@@ -0,0 +1,153 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormArray, FormControl, FormGroup } from '@angular/forms';
3
+ import { ScAuthService, ScConvertersService, ScIReferencesTypes, ScISuggestionType, ScOpfList, ScReferencesService, ScSuggestion, ScUserMetrikaService, ScUserService } from '@snabcentr/client-core';
4
+ import { Observable, Subject } from 'rxjs';
5
+ import { ScContactFormGroup } from '../interfaces';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Компонент формы регистрация пользователя.
9
+ */
10
+ export declare class ScSignUpFormComponent implements OnInit {
11
+ private readonly userService;
12
+ private readonly authService;
13
+ private readonly referencesService;
14
+ private readonly convertersService;
15
+ private readonly userMetrikaService;
16
+ /**
17
+ * Поле ввода организационно-правовых форм.
18
+ */
19
+ opfControl: FormControl<keyof typeof ScOpfList | null>;
20
+ /**
21
+ * Группа полей ввода для формы регистрации.
22
+ */
23
+ form: FormGroup<{
24
+ name: FormControl<string | null>;
25
+ email: FormControl<string | null>;
26
+ phone: FormControl<string | null>;
27
+ verificationCode: FormControl<string | null>;
28
+ cityId: FormControl<number | null>;
29
+ password: FormControl<string | null>;
30
+ passwordConfirm: FormControl<string | null>;
31
+ getNews: FormControl<boolean | null>;
32
+ acceptRules: FormControl<boolean | null>;
33
+ contragent: FormGroup<any>;
34
+ }>;
35
+ /**
36
+ * Перечисление типов подсказок.
37
+ */
38
+ readonly suggestionType: typeof ScISuggestionType;
39
+ /**
40
+ * Перечисление организационно-правовых форм.
41
+ */
42
+ readonly opfListEnum: typeof ScOpfList;
43
+ /**
44
+ * {@link Subject} события отправки формы.
45
+ */
46
+ readonly onSubmit: Subject<void>;
47
+ /**
48
+ * {@link Observable} запроса данных регистрации.
49
+ */
50
+ private readonly request$;
51
+ /**
52
+ * Индекс этапа.
53
+ */
54
+ stepIndex: number;
55
+ /**
56
+ * {@link Observable} изменения состояния загрузки данных.
57
+ */
58
+ readonly loading$: Observable<boolean>;
59
+ /**
60
+ * Сигнал события аутентификации после успешной регистрации.
61
+ */
62
+ readonly successAuth: Observable<boolean>;
63
+ /**
64
+ * Список этапов регистрации.
65
+ */
66
+ readonly steps: string[];
67
+ /**
68
+ * Инициализирует экземпляр класса {@link ScSignUpFormComponent}.
69
+ *
70
+ * @param userService Сервис данных о пользователе.
71
+ * @param authService Сервис аутентификации.
72
+ * @param referencesService Сервис справочников.
73
+ * @param convertersService Сервис конвертации данных.
74
+ * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
75
+ */
76
+ constructor(userService: ScUserService, authService: ScAuthService, referencesService: ScReferencesService, convertersService: ScConvertersService, userMetrikaService: ScUserMetrikaService);
77
+ /**
78
+ * Список групп полей банковских реквизитов.
79
+ */
80
+ get bankAccounts(): FormArray<ReturnType<ScSignUpFormComponent['createBankAccountGroup']>>;
81
+ /**
82
+ * Список групп полей контактных лиц.
83
+ */
84
+ get contacts(): FormArray<ReturnType<ScSignUpFormComponent['createContactGroup']>>;
85
+ /** @inheritDoc */
86
+ ngOnInit(): void;
87
+ /**
88
+ * Проверяет, может ли пользователь перейти к следующему шагу регистрации.
89
+ * При проверке каждого этапа регистрации последовательно проверяется корректность заполнения данных на предыдущих этапах.
90
+ *
91
+ * @param index Индекс этапа для которого нужно проверить валидность.
92
+ * @returns Выводит значение `boolean` на основании {@link index}.
93
+ */
94
+ canNextStep(index: number): boolean;
95
+ /**
96
+ * Выполняет навигацию по форме регистрации.
97
+ *
98
+ * @param delta Значение, на которое необходимо выполнить навигацию.
99
+ */
100
+ navigate(delta: number): void;
101
+ /**
102
+ * Создаёт базового контрагента для клиента физического лица.
103
+ *
104
+ * @param formValue Значение формы при регистрации
105
+ */
106
+ private createBaseContragent;
107
+ /**
108
+ * Возвращает {@link Observable} список организационно-правовых форм.
109
+ */
110
+ getOpf$(): Observable<Array<ScIReferencesTypes<ScOpfList, typeof ScOpfList>>>;
111
+ /**
112
+ * Возвращает {@link Observable} организационно-правовой формы, соответствующий символьному обозначению (slug) на входе.
113
+ *
114
+ * @param slug Символьное обозначение (slug).
115
+ */
116
+ getOpfBySlug$(slug: keyof typeof ScOpfList): Observable<ScIReferencesTypes<ScOpfList, typeof ScOpfList> | undefined>;
117
+ /**
118
+ * Создаёт группу полей банковских реквизитов.
119
+ */
120
+ private createBankAccountGroup;
121
+ /**
122
+ * Добавляет Банковские реквизиты.
123
+ */
124
+ addBankAccountGroup(): void;
125
+ /**
126
+ * Удаляет банковские реквизиты.
127
+ *
128
+ * @param index Индекс банковских реквизитов.
129
+ */
130
+ removeBankAccountGroup(index: number): void;
131
+ /**
132
+ * Создаёт группу полей контактного лица.
133
+ */
134
+ createContactGroup(): ScContactFormGroup;
135
+ /**
136
+ * Обработчик выбора адреса доставки.
137
+ *
138
+ * @param suggestion Объект подсказки ареса.
139
+ */
140
+ onSelectedOrganization(suggestion: ScSuggestion): void;
141
+ /**
142
+ * Добавляет контактное лицо контрагента.
143
+ */
144
+ addContactGroup(): void;
145
+ /**
146
+ * Удаляет контактное лицо контрагента.
147
+ *
148
+ * @param index Индекс контактного лица.
149
+ */
150
+ removeContactGroup(index: number): void;
151
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScSignUpFormComponent, never>;
152
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScSignUpFormComponent, "sc-sign-up-form", never, {}, { "successAuth": "successAuth"; }, never, never, false, never>;
153
+ }
@@ -50,6 +50,10 @@ export declare class ScBannerComponent implements AfterViewInit {
50
50
  * Ссылка на {@link HTMLVideoElement} элемента отображения видео.
51
51
  */
52
52
  private videoRef;
53
+ /**
54
+ * Ссылка для автоматического управления уничтожением зависимостей.
55
+ */
56
+ private destroyRef;
53
57
  /**
54
58
  * Идентификатор текущего баннера.
55
59
  */
@@ -70,10 +74,6 @@ export declare class ScBannerComponent implements AfterViewInit {
70
74
  * Список баннеров.
71
75
  */
72
76
  banners?: ScBanner[];
73
- /**
74
- * Свойство, от которого зависит наличие класса `!hidden` у `:host` компонента.
75
- */
76
- private get isHidden();
77
77
  /**
78
78
  * Свойство, от которого зависит высота `:host` компонента.
79
79
  */
@@ -105,6 +105,10 @@ export declare class ScBannerComponent implements AfterViewInit {
105
105
  * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
106
106
  */
107
107
  constructor(cdr: ChangeDetectorRef, bannerService: ScBannerService, entries$: IntersectionObserverService, element: ElementRef<Element>, pxConverter: ScPxConverter, userMetrikaService: ScUserMetrikaService);
108
+ /**
109
+ * Свойство, от которого зависит наличие класса `!hidden` у `:host` компонента.
110
+ */
111
+ private get isHidden();
108
112
  /** @inheritDoc */
109
113
  ngAfterViewInit(): void;
110
114
  /**
@@ -126,5 +130,5 @@ export declare class ScBannerComponent implements AfterViewInit {
126
130
  */
127
131
  onClick(banner: ScBanner): void;
128
132
  static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerComponent, never>;
129
- static ɵcmp: i0.ɵɵComponentDeclaration<ScBannerComponent, "sc-banner", never, { "navigateButton": "navigateButton"; "playerInterval": "playerInterval"; "disabled": "disabled"; "bannerLocation": "bannerLocation"; "resizable": "resizable"; }, { "loadBannersEvent": "loadBannersEvent"; "clickBannerEvent": "clickBannerEvent"; }, ["bannersListRef"], never, false>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScBannerComponent, "sc-banner", never, { "navigateButton": { "alias": "navigateButton"; "required": false; }; "playerInterval": { "alias": "playerInterval"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "bannerLocation": { "alias": "bannerLocation"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "loadBannersEvent": "loadBannersEvent"; "clickBannerEvent": "clickBannerEvent"; }, ["bannersListRef"], never, false, never>;
130
134
  }
@@ -3,14 +3,15 @@ import * as i1 from "./sc-banner.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/router";
5
5
  import * as i4 from "@taiga-ui/core";
6
- import * as i5 from "@taiga-ui/kit";
7
- import * as i6 from "@ng-web-apis/intersection-observer";
8
- import * as i7 from "@taiga-ui/cdk";
6
+ import * as i5 from "@taiga-ui/cdk/directives/item";
7
+ import * as i6 from "@taiga-ui/kit";
8
+ import * as i7 from "@ng-web-apis/intersection-observer";
9
+ import * as i8 from "@taiga-ui/cdk";
9
10
  /**
10
11
  * Модуль баннеров.
11
12
  */
12
13
  export declare class ScBannerModule {
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScBannerModule, [typeof i1.ScBannerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TuiButtonModule, typeof i5.TuiCarouselModule, typeof i4.TuiModeModule, typeof i4.TuiLoaderModule, typeof i6.IntersectionObserverModule, typeof i7.TuiLetModule], [typeof i1.ScBannerComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScBannerModule, [typeof i1.ScBannerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TuiButton, typeof i5.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i4.TuiLoader, typeof i7.WaIntersectionObserverDirective, typeof i7.WaIntersectionObservee, typeof i7.WaIntersectionRoot, typeof i8.TuiLet], [typeof i1.ScBannerComponent]>;
15
16
  static ɵinj: i0.ɵɵInjectorDeclaration<ScBannerModule>;
16
17
  }
@@ -0,0 +1,2 @@
1
+ export * from './sc-brands-list.component';
2
+ export * from './sc-brands-list.module';
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Компонент списка брэндов.
4
+ */
5
+ export declare class ScBrandsListComponent {
6
+ /**
7
+ * Список элементов брендов.
8
+ */
9
+ items: Array<{
10
+ src: string;
11
+ alt: string;
12
+ }>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScBrandsListComponent, "sc-brands-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./sc-brands-list.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@taiga-ui/cdk";
5
+ /**
6
+ * Модуль списка брэндов.
7
+ */
8
+ export declare class ScBrandsListModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScBrandsListModule, [typeof i1.ScBrandsListComponent], [typeof i2.CommonModule, typeof i3.TuiRepeatTimes], [typeof i1.ScBrandsListComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScBrandsListModule>;
12
+ }
@@ -1,22 +1,26 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { ScCartItem, ScIUrls, ScProduct } from '@snabcentr/client-core';
4
+ import { TuiPreviewDialogService } from '@taiga-ui/kit';
4
5
  import { Observable } from 'rxjs';
5
- import { TuiPreviewDialogService } from '@taiga-ui/addon-preview';
6
- import { UnitsHelper } from '../../helpers/sc-units-helper';
6
+ import { ScUnitsHelper } from '../../helpers/sc-units-helper';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
9
  * Компонент карточки элемента корзины.
10
10
  */
11
11
  export declare class ScCartItemMobileComponent implements OnInit {
12
- readonly unitsHelper: UnitsHelper;
12
+ readonly unitsHelper: ScUnitsHelper;
13
13
  private readonly previewDialogService;
14
14
  private readonly urls;
15
15
  private readonly pathImageNotFound;
16
16
  /**
17
17
  * Элемент корзины.
18
18
  */
19
- private _cartItem?;
19
+ set cartItem(data: ScCartItem | undefined);
20
+ /**
21
+ * Элемент корзины.
22
+ */
23
+ get cartItem(): ScCartItem | undefined;
20
24
  /**
21
25
  * Ссылка на представление спецификации.
22
26
  */
@@ -25,14 +29,6 @@ export declare class ScCartItemMobileComponent implements OnInit {
25
29
  * {@link FormControl} поля ввода количества товара в корзине.
26
30
  */
27
31
  quantityControl: FormControl<number | null>;
28
- /**
29
- * Элемент корзины.
30
- */
31
- set cartItem(data: ScCartItem | undefined);
32
- /**
33
- * Элемент корзины.
34
- */
35
- get cartItem(): ScCartItem | undefined;
36
32
  /**
37
33
  * {@link Observable} изменения количества товара в корзине.
38
34
  */
@@ -50,9 +46,9 @@ export declare class ScCartItemMobileComponent implements OnInit {
50
46
  */
51
47
  clickCardEvent: EventEmitter<void>;
52
48
  /**
53
- * Продукт элемента корзины.
49
+ * Элемент корзины.
54
50
  */
55
- get product(): ScProduct | undefined;
51
+ private _cartItem?;
56
52
  /**
57
53
  * Инициирует экземпляр класса {@link ScCartItemMobileComponent}.
58
54
  *
@@ -61,7 +57,11 @@ export declare class ScCartItemMobileComponent implements OnInit {
61
57
  * @param urls Список ссылок на разделы backend'a.
62
58
  * @param pathImageNotFound Путь до изображения 'Товар не найден'.
63
59
  */
64
- constructor(unitsHelper: UnitsHelper, previewDialogService: TuiPreviewDialogService, urls: ScIUrls, pathImageNotFound: string);
60
+ constructor(unitsHelper: ScUnitsHelper, previewDialogService: TuiPreviewDialogService, urls: ScIUrls, pathImageNotFound: string);
61
+ /**
62
+ * Продукт элемента корзины.
63
+ */
64
+ get product(): ScProduct | undefined;
65
65
  /** @inheritDoc */
66
66
  ngOnInit(): void;
67
67
  /**
@@ -73,5 +73,5 @@ export declare class ScCartItemMobileComponent implements OnInit {
73
73
  */
74
74
  getCardImage(): string;
75
75
  static ɵfac: i0.ɵɵFactoryDeclaration<ScCartItemMobileComponent, never>;
76
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCartItemMobileComponent, "sc-cart-item-mobile", never, { "cartItem": "cartItem"; }, { "quantityValueChanges": "quantityValueChanges"; "clickDeleteEvent": "clickDeleteEvent"; "clickSettingsEvent": "clickSettingsEvent"; "clickCardEvent": "clickCardEvent"; }, never, never, false>;
76
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScCartItemMobileComponent, "sc-cart-item-mobile", never, { "cartItem": { "alias": "cartItem"; "required": false; }; }, { "quantityValueChanges": "quantityValueChanges"; "clickDeleteEvent": "clickDeleteEvent"; "clickSettingsEvent": "clickSettingsEvent"; "clickCardEvent": "clickCardEvent"; }, never, never, false, never>;
77
77
  }
@@ -5,13 +5,13 @@ import * as i3 from "@taiga-ui/core";
5
5
  import * as i4 from "../catalog/sc-catalog.module";
6
6
  import * as i5 from "@taiga-ui/addon-commerce";
7
7
  import * as i6 from "@angular/forms";
8
- import * as i7 from "@taiga-ui/addon-preview";
9
- import * as i8 from "@tinkoff/ng-polymorpheus";
8
+ import * as i7 from "@taiga-ui/kit";
9
+ import * as i8 from "@taiga-ui/polymorpheus";
10
10
  /**
11
11
  * Модуль корзины.
12
12
  */
13
13
  export declare class ScCartModule {
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<ScCartModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScCartModule, [typeof i1.ScCartItemMobileComponent], [typeof i2.CommonModule, typeof i3.TuiLinkModule, typeof i4.ScCatalogModule, typeof i3.TuiButtonModule, typeof i5.TuiCurrencyPipeModule, typeof i3.TuiFormatNumberPipeModule, typeof i3.TuiModeModule, typeof i3.TuiSvgModule, typeof i3.TuiHintModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiPreviewModule, typeof i8.PolymorpheusModule], [typeof i1.ScCartItemMobileComponent]>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScCartModule, [typeof i1.ScCartItemMobileComponent], [typeof i2.CommonModule, typeof i3.TuiLink, typeof i4.ScCatalogModule, typeof i3.TuiButton, typeof i5.TuiCurrencyPipe, typeof i3.TuiFormatNumberPipe, typeof i3.TuiIcon, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiPreviewComponent, typeof i7.TuiPreviewTitle, typeof i7.TuiPreviewPagination, typeof i7.TuiPreviewAction, typeof i7.TuiPreviewZoom, typeof i8.PolymorpheusTemplate, typeof i8.PolymorpheusOutlet], [typeof i1.ScCartItemMobileComponent]>;
16
16
  static ɵinj: i0.ɵɵInjectorDeclaration<ScCartModule>;
17
17
  }