@snabcentr/client-ui 4.14.9 → 4.14.21

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 (572) hide show
  1. package/accordion/index.d.ts +3 -0
  2. package/accordion/sc-accordion-content.directive.d.ts +9 -0
  3. package/accordion/sc-accordion.component.d.ts +56 -0
  4. package/accordion/sc-accordion.module.d.ts +15 -0
  5. package/auth/enums/auth-method.d.ts +13 -0
  6. package/auth/index.d.ts +8 -0
  7. package/auth/interfaces/index.d.ts +2 -0
  8. package/auth/interfaces/sc-bank-account-form-group.d.ts +11 -0
  9. package/auth/interfaces/sc-contact-form-group.d.ts +10 -0
  10. package/auth/sc-auth.module.d.ts +27 -0
  11. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +55 -0
  12. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +45 -0
  13. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +53 -0
  14. package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +113 -0
  15. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +172 -0
  16. package/banner/index.d.ts +2 -0
  17. package/banner/sc-banner.component.d.ts +108 -0
  18. package/banner/sc-banner.module.d.ts +17 -0
  19. package/brands-list/index.d.ts +3 -0
  20. package/brands-list/sc-brand-list-item.d.ts +25 -0
  21. package/brands-list/sc-brands-list.component.d.ts +13 -0
  22. package/brands-list/sc-brands-list.module.d.ts +12 -0
  23. package/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.d.ts +106 -0
  24. package/cart/add-or-editing-cart-item-dialog/index.d.ts +2 -0
  25. package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts +49 -0
  26. package/cart/index.d.ts +2 -0
  27. package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +62 -0
  28. package/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.d.ts +47 -0
  29. package/catalog/catalog-filters/index.d.ts +4 -0
  30. package/catalog/catalog-filters/sc-catalog-filters.component.d.ts +199 -0
  31. package/catalog/catalog-filters/tokens/sc-catalog-products-filters.d.ts +7 -0
  32. package/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.d.ts +5 -0
  33. package/catalog/category-card/sc-category-card.component.d.ts +76 -0
  34. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +23 -0
  35. package/catalog/download-price-list/sc-download-price-list.component.d.ts +38 -0
  36. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +48 -0
  37. package/catalog/index.d.ts +15 -0
  38. package/catalog/input-quantity/sc-input-quantity.component.d.ts +82 -0
  39. package/catalog/notify-when-in-stock-dialog/index.d.ts +2 -0
  40. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +90 -0
  41. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +22 -0
  42. package/catalog/price-card/sc-price-card.component.d.ts +18 -0
  43. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +10 -0
  44. package/catalog/price-history/sc-price-history.component.d.ts +92 -0
  45. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +40 -0
  46. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +47 -0
  47. package/catalog/sc-catalog.module.d.ts +29 -0
  48. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +25 -0
  49. package/catalog/seo-tags/sc-seo-tags.component.d.ts +20 -0
  50. package/configurators/index.d.ts +3 -0
  51. package/configurators/models/index.d.ts +3 -0
  52. package/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.d.ts +22 -0
  53. package/configurators/models/sandwich/sc-i-sandwich-settings.d.ts +18 -0
  54. package/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.d.ts +18 -0
  55. package/configurators/sandwich/index.d.ts +3 -0
  56. package/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.d.ts +8 -0
  57. package/configurators/sandwich/sc-i-new-cart-item-sandwich.d.ts +14 -0
  58. package/configurators/sandwich/sc-sandwich.component.d.ts +186 -0
  59. package/configurators/sandwich_m2/index.d.ts +4 -0
  60. package/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.d.ts +8 -0
  61. package/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.d.ts +23 -0
  62. package/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.d.ts +13 -0
  63. package/configurators/sandwich_m2/sc-sandwich-m2.component.d.ts +275 -0
  64. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +49 -0
  65. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +23 -0
  66. package/contacts/index.d.ts +7 -0
  67. package/contacts/manager-card/sc-manager-card.component.d.ts +22 -0
  68. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +18 -0
  69. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +28 -0
  70. package/contacts/sc-contacts.module.d.ts +28 -0
  71. package/contacts/tokens/index.d.ts +2 -0
  72. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +6 -0
  73. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +5 -0
  74. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +49 -0
  75. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +158 -0
  76. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +66 -0
  77. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +49 -0
  78. package/contragents/index.d.ts +7 -0
  79. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +64 -0
  80. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +129 -0
  81. package/contragents/sc-contragents.module.d.ts +28 -0
  82. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +148 -0
  83. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +50 -0
  84. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +49 -0
  85. package/delivery-address/index.d.ts +4 -0
  86. package/delivery-address/sc-delivery-address.module.d.ts +25 -0
  87. package/dialogs/index.d.ts +1 -0
  88. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +42 -0
  89. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +136 -0
  90. package/directives/address-quality/sc-address-quality.directive.d.ts +23 -0
  91. package/directives/address-quality/sc-address-quality.service.d.ts +122 -0
  92. package/directives/address-quality/sc-i-address-quality-state.d.ts +14 -0
  93. package/directives/index.d.ts +11 -0
  94. package/directives/links/index.d.ts +4 -0
  95. package/directives/links/sc-email-link.directive.d.ts +25 -0
  96. package/directives/links/sc-link-location.d.ts +5 -0
  97. package/directives/links/sc-links.d.ts +7 -0
  98. package/directives/links/sc-tel-link.directive.d.ts +40 -0
  99. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +27 -0
  100. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +10 -0
  101. package/directives/print/sc-print.directive.d.ts +21 -0
  102. package/directives/sc-date-value-transformer.directive.d.ts +8 -0
  103. package/directives/sc-focus-first-invalid-field.directive.d.ts +30 -0
  104. package/directives/sc-null-on-empty-value-transformer.directive.d.ts +8 -0
  105. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +14 -0
  106. package/directives/terminal-link/sc-terminal-link.directive.d.ts +34 -0
  107. package/error-handler/consts/error-change-handler.providers.d.ts +6 -0
  108. package/error-handler/error-block-status/error-block-status.component.d.ts +55 -0
  109. package/error-handler/index.d.ts +4 -0
  110. package/error-handler/interfaces/i-block-error.d.ts +17 -0
  111. package/error-handler/sc-error-handler.component.d.ts +40 -0
  112. package/esm2022/accordion/index.mjs +4 -0
  113. package/esm2022/accordion/sc-accordion-content.directive.mjs +17 -0
  114. package/esm2022/accordion/sc-accordion.component.mjs +92 -0
  115. package/esm2022/accordion/sc-accordion.module.mjs +26 -0
  116. package/esm2022/auth/enums/auth-method.mjs +15 -0
  117. package/esm2022/auth/index.mjs +9 -0
  118. package/esm2022/auth/interfaces/index.mjs +3 -0
  119. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +2 -0
  120. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +2 -0
  121. package/esm2022/auth/sc-auth.module.mjs +103 -0
  122. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +100 -0
  123. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +81 -0
  124. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +89 -0
  125. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +203 -0
  126. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +345 -0
  127. package/esm2022/banner/index.mjs +3 -0
  128. package/esm2022/banner/sc-banner.component.mjs +176 -0
  129. package/esm2022/banner/sc-banner.module.mjs +29 -0
  130. package/esm2022/brands-list/index.mjs +4 -0
  131. package/esm2022/brands-list/sc-brand-list-item.mjs +2 -0
  132. package/esm2022/brands-list/sc-brands-list.component.mjs +24 -0
  133. package/esm2022/brands-list/sc-brands-list.module.mjs +22 -0
  134. package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +233 -0
  135. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +3 -0
  136. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +75 -0
  137. package/esm2022/cart/index.mjs +3 -0
  138. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +110 -0
  139. package/esm2022/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.mjs +59 -0
  140. package/esm2022/catalog/catalog-filters/index.mjs +5 -0
  141. package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +451 -0
  142. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-products-filters.mjs +10 -0
  143. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.mjs +6 -0
  144. package/esm2022/catalog/category-card/sc-category-card.component.mjs +102 -0
  145. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +38 -0
  146. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +56 -0
  147. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +76 -0
  148. package/esm2022/catalog/index.mjs +16 -0
  149. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +190 -0
  150. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +3 -0
  151. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +173 -0
  152. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +35 -0
  153. package/esm2022/catalog/price-card/sc-price-card.component.mjs +71 -0
  154. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +54 -0
  155. package/esm2022/catalog/price-history/sc-price-history.component.mjs +144 -0
  156. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +65 -0
  157. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +61 -0
  158. package/esm2022/catalog/sc-catalog.module.mjs +128 -0
  159. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +42 -0
  160. package/esm2022/catalog/seo-tags/sc-seo-tags.component.mjs +25 -0
  161. package/esm2022/configurators/index.mjs +4 -0
  162. package/esm2022/configurators/models/index.mjs +4 -0
  163. package/esm2022/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.mjs +2 -0
  164. package/esm2022/configurators/models/sandwich/sc-i-sandwich-settings.mjs +2 -0
  165. package/esm2022/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.mjs +2 -0
  166. package/esm2022/configurators/sandwich/index.mjs +4 -0
  167. package/esm2022/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.mjs +14 -0
  168. package/esm2022/configurators/sandwich/sc-i-new-cart-item-sandwich.mjs +2 -0
  169. package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +387 -0
  170. package/esm2022/configurators/sandwich_m2/index.mjs +5 -0
  171. package/esm2022/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.mjs +14 -0
  172. package/esm2022/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.mjs +2 -0
  173. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.mjs +5 -0
  174. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2.component.mjs +569 -0
  175. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +91 -0
  176. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +37 -0
  177. package/esm2022/contacts/index.mjs +8 -0
  178. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +58 -0
  179. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +28 -0
  180. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +38 -0
  181. package/esm2022/contacts/sc-contacts.module.mjs +92 -0
  182. package/esm2022/contacts/tokens/index.mjs +3 -0
  183. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +25 -0
  184. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +9 -0
  185. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +81 -0
  186. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +266 -0
  187. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +79 -0
  188. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +68 -0
  189. package/esm2022/contragents/index.mjs +8 -0
  190. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +72 -0
  191. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +241 -0
  192. package/esm2022/contragents/sc-contragents.module.mjs +121 -0
  193. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +261 -0
  194. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +60 -0
  195. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +68 -0
  196. package/esm2022/delivery-address/index.mjs +5 -0
  197. package/esm2022/delivery-address/sc-delivery-address.module.mjs +96 -0
  198. package/esm2022/dialogs/index.mjs +2 -0
  199. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +73 -0
  200. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +170 -0
  201. package/esm2022/directives/address-quality/sc-address-quality.directive.mjs +40 -0
  202. package/esm2022/directives/address-quality/sc-address-quality.service.mjs +214 -0
  203. package/esm2022/directives/address-quality/sc-i-address-quality-state.mjs +2 -0
  204. package/esm2022/directives/index.mjs +12 -0
  205. package/esm2022/directives/links/index.mjs +5 -0
  206. package/esm2022/directives/links/sc-email-link.directive.mjs +49 -0
  207. package/esm2022/directives/links/sc-link-location.mjs +2 -0
  208. package/esm2022/directives/links/sc-links.mjs +8 -0
  209. package/esm2022/directives/links/sc-tel-link.directive.mjs +79 -0
  210. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +70 -0
  211. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +19 -0
  212. package/esm2022/directives/print/sc-print.directive.mjs +36 -0
  213. package/esm2022/directives/sc-date-value-transformer.directive.mjs +30 -0
  214. package/esm2022/directives/sc-focus-first-invalid-field.directive.mjs +85 -0
  215. package/esm2022/directives/sc-null-on-empty-value-transformer.directive.mjs +30 -0
  216. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +36 -0
  217. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +69 -0
  218. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +10 -0
  219. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +101 -0
  220. package/esm2022/error-handler/index.mjs +5 -0
  221. package/esm2022/error-handler/interfaces/i-block-error.mjs +2 -0
  222. package/esm2022/error-handler/sc-error-handler.component.mjs +58 -0
  223. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +344 -0
  224. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +32 -0
  225. package/esm2022/feedback/index.mjs +4 -0
  226. package/esm2022/feedback/interfaces/index.mjs +2 -0
  227. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +2 -0
  228. package/esm2022/files/directives/index.mjs +3 -0
  229. package/esm2022/files/directives/tree-top.directive.mjs +63 -0
  230. package/esm2022/files/directives/tree.directive.mjs +47 -0
  231. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +18 -0
  232. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +61 -0
  233. package/esm2022/files/files-and-documents.module.mjs +28 -0
  234. package/esm2022/files/index.mjs +6 -0
  235. package/esm2022/files/interfaces/tree-node.mjs +2 -0
  236. package/esm2022/files/services/index.mjs +3 -0
  237. package/esm2022/files/services/tree-icon.service.mjs +49 -0
  238. package/esm2022/files/services/tree-loader.service.mjs +62 -0
  239. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +155 -0
  240. package/esm2022/form-fields/form-fields.module.mjs +66 -0
  241. package/esm2022/form-fields/index.mjs +4 -0
  242. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +235 -0
  243. package/esm2022/icons/index.mjs +2 -0
  244. package/esm2022/icons/sc-client-ui-icons-name.mjs +99 -0
  245. package/esm2022/loader/index.mjs +2 -0
  246. package/esm2022/loader/sc-i-loader.mjs +2 -0
  247. package/esm2022/masks/index.mjs +9 -0
  248. package/esm2022/masks/sc-account-number-mask.mjs +7 -0
  249. package/esm2022/masks/sc-bic-mask.mjs +7 -0
  250. package/esm2022/masks/sc-correspondent-account-mask.mjs +7 -0
  251. package/esm2022/masks/sc-inn-mask.mjs +13 -0
  252. package/esm2022/masks/sc-kpp-mask.mjs +7 -0
  253. package/esm2022/masks/sc-ogrn-mask.mjs +13 -0
  254. package/esm2022/masks/sc-okpo-mask.mjs +13 -0
  255. package/esm2022/masks/sc-phone-verification-code-mask.mjs +7 -0
  256. package/esm2022/methods/index.mjs +2 -0
  257. package/esm2022/methods/sc-get-current-route.mjs +14 -0
  258. package/esm2022/models/i-sc-image.mjs +2 -0
  259. package/esm2022/models/index.mjs +2 -0
  260. package/esm2022/news/index.mjs +4 -0
  261. package/esm2022/news/news-card/sc-news-card.component.mjs +34 -0
  262. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +31 -0
  263. package/esm2022/news/sc-news.module.mjs +25 -0
  264. package/esm2022/noindex-wrapper/directives/index.mjs +2 -0
  265. package/esm2022/noindex-wrapper/directives/sc-noindex.directive.mjs +58 -0
  266. package/esm2022/noindex-wrapper/index.mjs +3 -0
  267. package/esm2022/noindex-wrapper/sc-noindex-wrapper.component.mjs +18 -0
  268. package/esm2022/order/directives/index.mjs +3 -0
  269. package/esm2022/order/directives/sc-order-accessor.directive.mjs +28 -0
  270. package/esm2022/order/directives/sc-order-options.mjs +11 -0
  271. package/esm2022/order/draft/sc-draft.component.mjs +118 -0
  272. package/esm2022/order/index.mjs +14 -0
  273. package/esm2022/order/models/i-new-order-form.mjs +2 -0
  274. package/esm2022/order/models/sc-i-cart-items-by-direction.mjs +22 -0
  275. package/esm2022/order/order-direction-items/sc-order-direction-items.component.mjs +39 -0
  276. package/esm2022/order/order-form/sc-order-form.component.mjs +565 -0
  277. package/esm2022/order/order-form/sc-order-form.config.mjs +7 -0
  278. package/esm2022/order/order-item/sc-order-item.component.mjs +112 -0
  279. package/esm2022/order/order-items-list/sc-order-items-list.component.mjs +212 -0
  280. package/esm2022/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.mjs +75 -0
  281. package/esm2022/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.mjs +75 -0
  282. package/esm2022/order/sc-order.module.mjs +52 -0
  283. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +35 -0
  284. package/esm2022/pages/frequently-asked-questions/sc-faq-query-params.mjs +5 -0
  285. package/esm2022/pages/frequently-asked-questions/sc-faq-question-anchor.mjs +23 -0
  286. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +167 -0
  287. package/esm2022/pages/frequently-asked-questions/sc-get-faq-group-query-params.mjs +14 -0
  288. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +8 -0
  289. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +88 -0
  290. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +123 -0
  291. package/esm2022/pages/index.mjs +11 -0
  292. package/esm2022/pages/news-list/sc-news-list.component.mjs +90 -0
  293. package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +46 -0
  294. package/esm2022/pages/privacy-policy/sc-privacy-policy.component.mjs +30 -0
  295. package/esm2022/pages/public-offer/sc-public-offer.component.mjs +50 -0
  296. package/esm2022/pagination/index.mjs +2 -0
  297. package/esm2022/pagination/sc-pagination-links/sc-pagination-links.component.mjs +99 -0
  298. package/esm2022/pipes/index.mjs +3 -0
  299. package/esm2022/pipes/sc-format-date.mjs +33 -0
  300. package/esm2022/pipes/sc-phone-format.mjs +44 -0
  301. package/esm2022/profile/index.mjs +3 -0
  302. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +174 -0
  303. package/esm2022/profile/sc-profile.module.mjs +73 -0
  304. package/esm2022/providers/cleanup-recaptcha-artifacts.mjs +30 -0
  305. package/esm2022/providers/date-value-transformer/index.mjs +4 -0
  306. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +2 -0
  307. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +26 -0
  308. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +37 -0
  309. package/esm2022/providers/index.mjs +18 -0
  310. package/esm2022/providers/null-on-empty-value-transformer/index.mjs +2 -0
  311. package/esm2022/providers/null-on-empty-value-transformer/sc-null-on-empty-value-transformer.mjs +31 -0
  312. package/esm2022/providers/sc-allow-select-terminated.mjs +8 -0
  313. package/esm2022/providers/sc-banner-duration.mjs +8 -0
  314. package/esm2022/providers/sc-block-incomplete-address.mjs +8 -0
  315. package/esm2022/providers/sc-country-ids.mjs +8 -0
  316. package/esm2022/providers/sc-date-formatter.mjs +15 -0
  317. package/esm2022/providers/sc-date-value-transformer.mjs +12 -0
  318. package/esm2022/providers/sc-debounce-time-default.mjs +9 -0
  319. package/esm2022/providers/sc-dialog-service.providers.mjs +6 -0
  320. package/esm2022/providers/sc-help-notification-close.mjs +9 -0
  321. package/esm2022/providers/sc-help-notification-limit.mjs +8 -0
  322. package/esm2022/providers/sc-hidden-print-elements.token.mjs +10 -0
  323. package/esm2022/providers/sc-max-files-in-form-input.mjs +8 -0
  324. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +8 -0
  325. package/esm2022/providers/sc-page-size-options.mjs +8 -0
  326. package/esm2022/providers/sc-user-providers.mjs +38 -0
  327. package/esm2022/providers/sc-verification-code-timeout.mjs +8 -0
  328. package/esm2022/public-api.mjs +36 -0
  329. package/esm2022/qrcode/index.mjs +3 -0
  330. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +58 -0
  331. package/esm2022/qrcode/sc-qrcode.module.mjs +25 -0
  332. package/esm2022/samples/index.mjs +5 -0
  333. package/esm2022/samples/interfaces/index.mjs +3 -0
  334. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +2 -0
  335. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +2 -0
  336. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +42 -0
  337. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +63 -0
  338. package/esm2022/samples/sc-sample.module.mjs +66 -0
  339. package/esm2022/services/index.mjs +3 -0
  340. package/esm2022/services/print.service.mjs +49 -0
  341. package/esm2022/services/sc-help-notification.service.mjs +100 -0
  342. package/esm2022/share/index.mjs +6 -0
  343. package/esm2022/share/sc-share-dialog-data.mjs +2 -0
  344. package/esm2022/share/sc-share.service.mjs +40 -0
  345. package/esm2022/share/share-button/sc-share-button.component.mjs +99 -0
  346. package/esm2022/share/share-dialog/sc-share-dialog.component.mjs +139 -0
  347. package/esm2022/share/share-messengers-links/sc-share-messengers-links.component.mjs +84 -0
  348. package/esm2022/snabcentr-client-ui.mjs +5 -0
  349. package/esm2022/user/index.mjs +6 -0
  350. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +74 -0
  351. package/esm2022/user/sc-user.module.mjs +86 -0
  352. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +121 -0
  353. package/esm2022/user/user-managers/sc-user-managers.component.mjs +40 -0
  354. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +105 -0
  355. package/esm2022/validators/index.mjs +7 -0
  356. package/esm2022/validators/sc-at-least-one-required-validator.mjs +25 -0
  357. package/esm2022/validators/sc-bic-validator.mjs +10 -0
  358. package/esm2022/validators/sc-correspondent-account-validator.mjs +10 -0
  359. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +17 -0
  360. package/esm2022/validators/sc-phone-validator.mjs +14 -0
  361. package/esm2022/validators/step-validator.mjs +18 -0
  362. package/esm2022/verification/index.mjs +3 -0
  363. package/esm2022/verification/sc-verification.module.mjs +86 -0
  364. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +259 -0
  365. package/feedback/feedback-form/sc-feedback-form.component.d.ts +163 -0
  366. package/feedback/gratitude/sc-gratitude.component.d.ts +20 -0
  367. package/feedback/index.d.ts +3 -0
  368. package/feedback/interfaces/index.d.ts +1 -0
  369. package/feedback/interfaces/sc-feedback-form-config.d.ts +23 -0
  370. package/fesm2022/snabcentr-client-ui.mjs +5826 -4942
  371. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  372. package/files/directives/index.d.ts +2 -0
  373. package/files/directives/tree-top.directive.d.ts +33 -0
  374. package/files/directives/tree.directive.d.ts +35 -0
  375. package/files/file-tree-item/file-tree-item.component.d.ts +9 -0
  376. package/files/files-and-documents/files-and-documents.component.d.ts +27 -0
  377. package/files/files-and-documents.module.d.ts +17 -0
  378. package/files/index.d.ts +5 -0
  379. package/files/interfaces/tree-node.d.ts +29 -0
  380. package/files/services/index.d.ts +2 -0
  381. package/files/services/tree-icon.service.d.ts +23 -0
  382. package/files/services/tree-loader.service.d.ts +43 -0
  383. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +80 -0
  384. package/form-fields/form-fields.module.d.ts +18 -0
  385. package/form-fields/index.d.ts +3 -0
  386. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +107 -0
  387. package/icons/index.d.ts +1 -0
  388. package/icons/sc-client-ui-icons-name.d.ts +4 -0
  389. package/icons/svg-pack/application.svg +1 -1
  390. package/icons/svg-pack/back.svg +1 -1
  391. package/icons/svg-pack/bag.svg +1 -1
  392. package/icons/svg-pack/banknote-arrow-in-top.svg +1 -1
  393. package/icons/svg-pack/catalog/aluminum-systems.svg +1 -1
  394. package/icons/svg-pack/catalog/arm-profile.svg +1 -1
  395. package/icons/svg-pack/catalog/batten.svg +1 -1
  396. package/icons/svg-pack/catalog/brusbox.svg +1 -1
  397. package/icons/svg-pack/catalog/canopy.svg +1 -1
  398. package/icons/svg-pack/catalog/configurator.svg +1 -1
  399. package/icons/svg-pack/catalog/covering-material.svg +1 -1
  400. package/icons/svg-pack/catalog/door-accessories.svg +1 -1
  401. package/icons/svg-pack/catalog/drainage-system.svg +1 -1
  402. package/icons/svg-pack/catalog/fastener.svg +1 -1
  403. package/icons/svg-pack/catalog/finishing-materials.svg +1 -1
  404. package/icons/svg-pack/catalog/fixing-impost.svg +1 -1
  405. package/icons/svg-pack/catalog/flask.svg +1 -1
  406. package/icons/svg-pack/catalog/foam-balloon.svg +1 -1
  407. package/icons/svg-pack/catalog/foam.svg +1 -1
  408. package/icons/svg-pack/catalog/glue.svg +1 -1
  409. package/icons/svg-pack/catalog/handle.svg +1 -1
  410. package/icons/svg-pack/catalog/instrument.svg +1 -1
  411. package/icons/svg-pack/catalog/kve-profile.svg +1 -1
  412. package/icons/svg-pack/catalog/lubricants.svg +1 -1
  413. package/icons/svg-pack/catalog/mosquito-net.svg +1 -1
  414. package/icons/svg-pack/catalog/mounting-accessories.svg +1 -1
  415. package/icons/svg-pack/catalog/net-order.svg +1 -1
  416. package/icons/svg-pack/catalog/panel-1.svg +1 -1
  417. package/icons/svg-pack/catalog/panel.svg +1 -1
  418. package/icons/svg-pack/catalog/polyethylene-film.svg +1 -1
  419. package/icons/svg-pack/catalog/profile-plastic.svg +1 -1
  420. package/icons/svg-pack/catalog/promo-materials.svg +1 -1
  421. package/icons/svg-pack/catalog/psul.svg +1 -1
  422. package/icons/svg-pack/catalog/rehau-profile.svg +1 -1
  423. package/icons/svg-pack/catalog/sandwich-plastic.svg +1 -1
  424. package/icons/svg-pack/catalog/sealer.svg +1 -1
  425. package/icons/svg-pack/catalog/siding-2.svg +1 -1
  426. package/icons/svg-pack/catalog/siding.svg +1 -1
  427. package/icons/svg-pack/catalog/start-finish-profile.svg +1 -1
  428. package/icons/svg-pack/catalog/steam-waterproofing.svg +1 -1
  429. package/icons/svg-pack/catalog/stiz.svg +1 -1
  430. package/icons/svg-pack/catalog/thermometer.svg +1 -1
  431. package/icons/svg-pack/catalog/windowsill.svg +1 -1
  432. package/icons/svg-pack/chart-column-plus.svg +1 -1
  433. package/icons/svg-pack/circle-arrow-in-right.svg +1 -1
  434. package/icons/svg-pack/contacts.svg +1 -1
  435. package/icons/svg-pack/deadline.svg +1 -1
  436. package/icons/svg-pack/file-p.svg +1 -1
  437. package/icons/svg-pack/file-search.svg +1 -1
  438. package/icons/svg-pack/file-w.svg +1 -1
  439. package/icons/svg-pack/file-x.svg +1 -1
  440. package/icons/svg-pack/grid-height-arrow.svg +1 -1
  441. package/icons/svg-pack/grid-width-arrow.svg +1 -1
  442. package/icons/svg-pack/layout-list-tree.svg +1 -1
  443. package/icons/svg-pack/list.svg +1 -1
  444. package/icons/svg-pack/puzzle.svg +1 -1
  445. package/icons/svg-pack/reclamation.svg +1 -1
  446. package/icons/svg-pack/retail-store.svg +1 -1
  447. package/icons/svg-pack/send.svg +1 -1
  448. package/index.d.ts +5 -0
  449. package/loader/index.d.ts +1 -0
  450. package/loader/sc-i-loader.d.ts +9 -0
  451. package/masks/index.d.ts +8 -0
  452. package/masks/sc-account-number-mask.d.ts +5 -0
  453. package/masks/sc-bic-mask.d.ts +5 -0
  454. package/masks/sc-correspondent-account-mask.d.ts +5 -0
  455. package/masks/sc-inn-mask.d.ts +9 -0
  456. package/masks/sc-kpp-mask.d.ts +5 -0
  457. package/masks/sc-ogrn-mask.d.ts +9 -0
  458. package/masks/sc-okpo-mask.d.ts +9 -0
  459. package/masks/sc-phone-verification-code-mask.d.ts +5 -0
  460. package/methods/index.d.ts +1 -0
  461. package/methods/sc-get-current-route.d.ts +8 -0
  462. package/models/i-sc-image.d.ts +17 -0
  463. package/models/index.d.ts +1 -0
  464. package/news/index.d.ts +3 -0
  465. package/news/news-card/sc-news-card.component.d.ts +22 -0
  466. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +16 -0
  467. package/news/sc-news.module.d.ts +15 -0
  468. package/noindex-wrapper/directives/index.d.ts +1 -0
  469. package/noindex-wrapper/directives/sc-noindex.directive.d.ts +29 -0
  470. package/noindex-wrapper/index.d.ts +2 -0
  471. package/noindex-wrapper/sc-noindex-wrapper.component.d.ts +9 -0
  472. package/order/directives/index.d.ts +2 -0
  473. package/order/directives/sc-order-accessor.directive.d.ts +13 -0
  474. package/order/directives/sc-order-options.d.ts +14 -0
  475. package/order/draft/sc-draft.component.d.ts +63 -0
  476. package/order/index.d.ts +13 -0
  477. package/order/models/i-new-order-form.d.ts +39 -0
  478. package/order/models/sc-i-cart-items-by-direction.d.ts +25 -0
  479. package/order/order-direction-items/sc-order-direction-items.component.d.ts +29 -0
  480. package/order/order-form/sc-order-form.component.d.ts +283 -0
  481. package/order/order-form/sc-order-form.config.d.ts +20 -0
  482. package/order/order-item/sc-order-item.component.d.ts +43 -0
  483. package/order/order-items-list/sc-order-items-list.component.d.ts +113 -0
  484. package/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.d.ts +58 -0
  485. package/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.d.ts +55 -0
  486. package/order/sc-order.module.d.ts +18 -0
  487. package/order/sc-payment-status/sc-payment-status.component.d.ts +25 -0
  488. package/package.json +37 -35
  489. package/pages/frequently-asked-questions/sc-faq-query-params.d.ts +4 -0
  490. package/pages/frequently-asked-questions/sc-faq-question-anchor.d.ts +16 -0
  491. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +84 -0
  492. package/pages/frequently-asked-questions/sc-get-faq-group-query-params.d.ts +10 -0
  493. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +5 -0
  494. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +47 -0
  495. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +89 -0
  496. package/pages/index.d.ts +10 -0
  497. package/pages/news-list/sc-news-list.component.d.ts +57 -0
  498. package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +17 -0
  499. package/pages/privacy-policy/sc-privacy-policy.component.d.ts +17 -0
  500. package/pages/public-offer/sc-public-offer.component.d.ts +22 -0
  501. package/pagination/index.d.ts +1 -0
  502. package/pagination/sc-pagination-links/sc-pagination-links.component.d.ts +60 -0
  503. package/pipes/index.d.ts +2 -0
  504. package/pipes/sc-format-date.d.ts +20 -0
  505. package/pipes/sc-phone-format.d.ts +21 -0
  506. package/profile/index.d.ts +2 -0
  507. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +126 -0
  508. package/profile/sc-profile.module.d.ts +23 -0
  509. package/providers/cleanup-recaptcha-artifacts.d.ts +7 -0
  510. package/providers/date-value-transformer/index.d.ts +3 -0
  511. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +9 -0
  512. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +16 -0
  513. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +22 -0
  514. package/providers/index.d.ts +17 -0
  515. package/providers/null-on-empty-value-transformer/index.d.ts +1 -0
  516. package/providers/null-on-empty-value-transformer/sc-null-on-empty-value-transformer.d.ts +21 -0
  517. package/providers/sc-allow-select-terminated.d.ts +5 -0
  518. package/providers/sc-banner-duration.d.ts +5 -0
  519. package/providers/sc-block-incomplete-address.d.ts +5 -0
  520. package/providers/sc-country-ids.d.ts +5 -0
  521. package/providers/sc-date-formatter.d.ts +6 -0
  522. package/providers/sc-date-value-transformer.d.ts +5 -0
  523. package/providers/sc-debounce-time-default.d.ts +5 -0
  524. package/providers/sc-dialog-service.providers.d.ts +45 -0
  525. package/providers/sc-help-notification-close.d.ts +6 -0
  526. package/providers/sc-help-notification-limit.d.ts +5 -0
  527. package/providers/sc-hidden-print-elements.token.d.ts +6 -0
  528. package/providers/sc-max-files-in-form-input.d.ts +5 -0
  529. package/providers/sc-notify-when-in-stock-required-fields.d.ts +5 -0
  530. package/providers/sc-page-size-options.d.ts +5 -0
  531. package/providers/sc-user-providers.d.ts +21 -0
  532. package/providers/sc-verification-code-timeout.d.ts +5 -0
  533. package/public-api.d.ts +35 -0
  534. package/qrcode/index.d.ts +2 -0
  535. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +37 -0
  536. package/qrcode/sc-qrcode.module.d.ts +14 -0
  537. package/release_notes.tmp +2 -16
  538. package/samples/index.d.ts +4 -0
  539. package/samples/interfaces/index.d.ts +2 -0
  540. package/samples/interfaces/sc-i-preview-sample.d.ts +56 -0
  541. package/samples/interfaces/sc-preview-mosquito-config.d.ts +62 -0
  542. package/samples/preview-sample/sc-preview-sample.component.d.ts +30 -0
  543. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +50 -0
  544. package/samples/sc-sample.module.d.ts +19 -0
  545. package/services/index.d.ts +2 -0
  546. package/services/print.service.d.ts +31 -0
  547. package/services/sc-help-notification.service.d.ts +70 -0
  548. package/share/index.d.ts +5 -0
  549. package/share/sc-share-dialog-data.d.ts +13 -0
  550. package/share/sc-share.service.d.ts +19 -0
  551. package/share/share-button/sc-share-button.component.d.ts +78 -0
  552. package/share/share-dialog/sc-share-dialog.component.d.ts +87 -0
  553. package/share/share-messengers-links/sc-share-messengers-links.component.d.ts +49 -0
  554. package/styles/taiga/variables.less +17 -35
  555. package/styles/tailwind/tailwind.scss +14 -56
  556. package/user/index.d.ts +5 -0
  557. package/user/reset-user-password/sc-reset-user-password.component.d.ts +46 -0
  558. package/user/sc-user.module.d.ts +24 -0
  559. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +63 -0
  560. package/user/user-managers/sc-user-managers.component.d.ts +23 -0
  561. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +53 -0
  562. package/validators/index.d.ts +6 -0
  563. package/validators/sc-at-least-one-required-validator.d.ts +10 -0
  564. package/validators/sc-bic-validator.d.ts +8 -0
  565. package/validators/sc-correspondent-account-validator.d.ts +8 -0
  566. package/validators/sc-password-confirm-matching-validator.d.ts +8 -0
  567. package/validators/sc-phone-validator.d.ts +5 -0
  568. package/validators/step-validator.d.ts +7 -0
  569. package/verification/index.d.ts +2 -0
  570. package/verification/sc-verification.module.d.ts +21 -0
  571. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +145 -0
  572. package/types/snabcentr-client-ui.d.ts +0 -6787
@@ -0,0 +1,78 @@
1
+ import { InputSignal, Signal } from '@angular/core';
2
+ import { UrlCreationOptions } from '@angular/router';
3
+ import { TuiSizeL, TuiSizeM, TuiSizeS } from '@taiga-ui/core';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Кнопка "Поделиться": открывает диалоговое окно с вариантами, как поделиться ссылкой.
7
+ *
8
+ * Ссылка формируется из {@link routerPath} относительно маршрутизации приложения, либо берётся из {@link shareUrl},
9
+ * а если не задано ни то, ни другое - используется адрес текущей страницы.
10
+ */
11
+ export declare class ScShareButtonComponent {
12
+ /**
13
+ * {@link InputSignal} заголовка ссылки, которой необходимо поделиться.
14
+ */
15
+ readonly title: InputSignal<string>;
16
+ /**
17
+ * {@link InputSignal} ссылки, которой необходимо поделиться (абсолютной или относительно корня сайта).
18
+ */
19
+ readonly shareUrl: InputSignal<string | undefined>;
20
+ /**
21
+ * {@link InputSignal} команд маршрутизатора, из которых формируется ссылка относительно маршрутизации приложения.
22
+ */
23
+ readonly routerPath: InputSignal<any[] | undefined>;
24
+ /**
25
+ * {@link InputSignal} параметров формирования ссылки из {@link routerPath}.
26
+ */
27
+ readonly routerCreationOptions: InputSignal<UrlCreationOptions | undefined>;
28
+ /**
29
+ * {@link InputSignal} формата внешнего вида кнопки.
30
+ */
31
+ readonly appearance: InputSignal<'primary' | 'secondary' | 'outline' | 'flat'>;
32
+ /**
33
+ * {@link InputSignal} размера кнопки.
34
+ */
35
+ readonly size: InputSignal<TuiSizeL | TuiSizeM | TuiSizeS>;
36
+ /**
37
+ * {@link InputSignal} признака, что подпись "Поделиться" отображается постоянно.
38
+ */
39
+ readonly showLabel: InputSignal<boolean>;
40
+ /**
41
+ * {@link InputSignal} признака, что кнопка раскрывается с появлением подписи "Поделиться" при наведении.
42
+ */
43
+ readonly expandable: InputSignal<boolean>;
44
+ /**
45
+ * Ссылка на объект документа.
46
+ */
47
+ private readonly document;
48
+ /**
49
+ * Сервис маршрутизации.
50
+ */
51
+ private readonly router;
52
+ /**
53
+ * Сервис открытия диалогового окна "Поделиться".
54
+ */
55
+ private readonly shareService;
56
+ /**
57
+ * {@link Signal} ссылки, которой необходимо поделиться, заданной через входные параметры.
58
+ */
59
+ protected readonly href: Signal<string | undefined>;
60
+ /**
61
+ * Возвращает адрес текущей страницы.
62
+ */
63
+ protected get currentUrl(): string;
64
+ /**
65
+ * Обработчик нажатия на кнопку: открывает диалоговое окно "Поделиться".
66
+ *
67
+ * @param event Событие нажатия.
68
+ */
69
+ protected openShareDialog(event: Event): void;
70
+ /**
71
+ * Возвращает абсолютную ссылку.
72
+ *
73
+ * @param url Абсолютная ссылка или ссылка относительно корня сайта.
74
+ */
75
+ private getAbsoluteUrl;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "shareUrl": { "alias": "shareUrl"; "required": false; "isSignal": true; }; "routerPath": { "alias": "routerPath"; "required": false; "isSignal": true; }; "routerCreationOptions": { "alias": "routerCreationOptions"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "expandable": { "alias": "expandable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
78
+ }
@@ -0,0 +1,87 @@
1
+ import { OnInit, Signal } from '@angular/core';
2
+ import { ScITerminalProvider } from '@snabcentr/client-core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Диалоговое окно "Поделиться": варианты, как поделиться ссылкой.
6
+ *
7
+ * На терминале вместо вариантов отображается только QR-код ссылки.
8
+ */
9
+ export declare class ScShareDialogComponent implements OnInit {
10
+ /**
11
+ * Провайдер данных о терминале.
12
+ */
13
+ protected readonly terminal: ScITerminalProvider;
14
+ /**
15
+ * Контекст диалогового окна, в котором открыт компонент.
16
+ */
17
+ private readonly context;
18
+ /**
19
+ * Сервис копирования текста в буфер обмена.
20
+ */
21
+ private readonly clipboard;
22
+ /**
23
+ * Ссылка на объект окна браузера.
24
+ */
25
+ private readonly window;
26
+ /**
27
+ * Сервис уведомлений.
28
+ */
29
+ private readonly alerts;
30
+ /**
31
+ * Сервис для работы с диалоговыми окнами.
32
+ */
33
+ private readonly dialog;
34
+ /**
35
+ * Сервис для сбора метрик о действиях пользователей.
36
+ */
37
+ private readonly userMetrikaService;
38
+ /**
39
+ * {@link Signal} формата отображения вариантов: в строку на широких экранах, списком на узких.
40
+ */
41
+ protected readonly viewMode: Signal<'row' | 'list'>;
42
+ /**
43
+ * Заголовок ссылки, которой необходимо поделиться.
44
+ */
45
+ protected readonly title: string;
46
+ /**
47
+ * Ссылка, которой необходимо поделиться.
48
+ */
49
+ protected readonly shareUrl: string;
50
+ /**
51
+ * Ссылка отправки по Email.
52
+ */
53
+ protected readonly emailLink: string;
54
+ /**
55
+ * Ссылка отправки во ВКонтакте.
56
+ */
57
+ protected readonly vkLink: string;
58
+ /**
59
+ * Ссылка отправки в Telegram.
60
+ */
61
+ protected readonly telegramLink: string;
62
+ /** @inheritDoc */
63
+ ngOnInit(): void;
64
+ /**
65
+ * Открывает окно перехода в социальную сеть.
66
+ *
67
+ * @param shareLink Ссылка перехода в социальную сеть.
68
+ * @param socialMedia Slug социальной сети.
69
+ */
70
+ protected openShareWindow(shareLink: string, socialMedia: string): void;
71
+ /**
72
+ * Копирует ссылку в буфер обмена.
73
+ */
74
+ protected copyShareLink(): void;
75
+ /**
76
+ * Открывает диалоговое окно с QR-кодом ссылки.
77
+ */
78
+ protected showQRCode(): void;
79
+ /**
80
+ * Отправляет метрику выбора варианта "Поделиться".
81
+ *
82
+ * @param shareLinkName Наименование варианта.
83
+ */
84
+ private emitShareClick;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScShareDialogComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScShareDialogComponent, "sc-share-dialog", never, {}, {}, never, never, true, never>;
87
+ }
@@ -0,0 +1,49 @@
1
+ import { InputSignal } from '@angular/core';
2
+ import { TuiSizeXS } from '@taiga-ui/core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Ссылки на мессенджеры контакта по номеру телефона.
6
+ *
7
+ * На терминале вместо перехода в мессенджер отображается QR-код ссылки.
8
+ */
9
+ export declare class ScShareMessengersLinksComponent {
10
+ /**
11
+ * {@link InputSignal} телефона контакта.
12
+ */
13
+ readonly phone: InputSignal<string>;
14
+ /**
15
+ * {@link InputSignal} размера кнопок.
16
+ */
17
+ readonly size: InputSignal<TuiSizeXS>;
18
+ /**
19
+ * Сервис для сбора метрик о действиях пользователей.
20
+ */
21
+ private readonly userMetrikaService;
22
+ /**
23
+ * Ссылка на объект окна браузера.
24
+ */
25
+ private readonly window;
26
+ /**
27
+ * Провайдер данных о терминале.
28
+ */
29
+ private readonly terminal;
30
+ /**
31
+ * Сервис для работы с диалоговыми окнами.
32
+ */
33
+ private readonly dialog;
34
+ /**
35
+ * Открывает окно перехода в мессенджер.
36
+ *
37
+ * @param shareLink Ссылка перехода в мессенджер.
38
+ * @param socialMedia Slug мессенджера.
39
+ */
40
+ protected openShareWindow(shareLink: string, socialMedia: string): void;
41
+ /**
42
+ * Проверяет, что номер телефона подходит для использования в мессенджерах.
43
+ *
44
+ * @param value Номер телефона.
45
+ */
46
+ protected isValidPhoneNumberForMessenger(value: string): boolean;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScShareMessengersLinksComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScShareMessengersLinksComponent, "sc-share-messengers-links", never, { "phone": { "alias": "phone"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
49
+ }
@@ -7,25 +7,26 @@
7
7
  --tui-font-weight-normal: normal;
8
8
  --tui-font-weight-bold: bold;
9
9
  // Heading
10
- --tui-typography-heading-h1: var(--tui-font-weight-bold) 3.125rem/3.5rem var(--tui-font-heading);
11
- --tui-typography-heading-h2: var(--tui-font-weight-bold) 2.75rem/3rem var(--tui-font-heading);
12
- --tui-typography-heading-h3: var(--tui-font-weight-bold) 2.25rem/2.5rem var(--tui-font-heading);
13
- --tui-typography-heading-h4: var(--tui-font-weight-bold) 1.75rem/2rem var(--tui-font-heading);
14
- --tui-typography-heading-h5: var(--tui-font-weight-bold) 1.5rem/1.75rem var(--tui-font-heading);
15
- --tui-typography-heading-h6: var(--tui-font-weight-bold) 1.25rem/1.5rem var(--tui-font-heading);
10
+ --tui-font-heading-1: var(--tui-font-weight-bold) 3.125rem/3.5rem var(--tui-font-heading);
11
+ --tui-font-heading-2: var(--tui-font-weight-bold) 2.75rem/3rem var(--tui-font-heading);
12
+ --tui-font-heading-3: var(--tui-font-weight-bold) 2.25rem/2.5rem var(--tui-font-heading);
13
+ --tui-font-heading-4: var(--tui-font-weight-bold) 1.75rem/2rem var(--tui-font-heading);
14
+ --tui-font-heading-5: var(--tui-font-weight-bold) 1.5rem/1.75rem var(--tui-font-heading);
15
+ --tui-font-heading-6: var(--tui-font-weight-bold) 1.25rem/1.5rem var(--tui-font-heading);
16
16
  // Body
17
- --tui-typography-legacy-body-xl: var(--tui-font-weight-normal) 1.1875rem/1.75rem var(--tui-typography-family-text);
18
- --tui-typography-body-l: var(--tui-font-weight-normal) 1.0625rem/1.75rem var(--tui-typography-family-text);
19
- --tui-typography-body-m: var(--tui-font-weight-normal) 1rem/1.5rem var(--tui-typography-family-text);
20
- --tui-typography-body-s: var(--tui-font-weight-normal) 0.8125rem/1.25rem var(--tui-typography-family-text);
21
- --tui-typography-body-xs: var(--tui-font-weight-normal) 0.6875rem/1rem var(--tui-typography-family-text);
17
+ --tui-font-text-xl: var(--tui-font-weight-normal) 1.1875rem/1.75rem var(--tui-font-text);
18
+ --tui-font-text-l: var(--tui-font-weight-normal) 1.0625rem/1.75rem var(--tui-font-text);
19
+ --tui-font-text-m: var(--tui-font-weight-normal) 1rem/1.5rem var(--tui-font-text);
20
+ --tui-font-text-s: var(--tui-font-weight-normal) 0.8125rem/1.25rem var(--tui-font-text);
21
+ --tui-font-text-xs: var(--tui-font-weight-normal) 0.6875rem/1rem var(--tui-font-text);
22
22
  // Reduced
23
- --tui-typography-ui-l: var(--tui-font-weight-normal) 1.0625rem/1.5rem var(--tui-typography-family-text);
24
- --tui-typography-ui-m: var(--tui-font-weight-normal) 1rem/1.25rem var(--tui-typography-family-text);
25
- --tui-typography-ui-s: var(--tui-font-weight-normal) 0.8125rem/1rem var(--tui-typography-family-text);
26
- --tui-typography-ui-2xs: var(--tui-font-weight-normal) 0.6875rem/0.8125rem var(--tui-typography-family-text);
23
+ --tui-font-text-ui-l: var(--tui-font-weight-normal) 1.0625rem/1.5rem var(--tui-font-text);
24
+ --tui-font-text-ui-m: var(--tui-font-weight-normal) 1rem/1.25rem var(--tui-font-text);
25
+ --tui-font-text-ui-s: var(--tui-font-weight-normal) 0.8125rem/1rem var(--tui-font-text);
26
+ --tui-font-text-ui-xs: var(--tui-font-weight-normal) 0.6875rem/0.8125rem var(--tui-font-text);
27
27
  }
28
28
 
29
+
29
30
  &:root,
30
31
  [tuiTheme='light'] {
31
32
  --tui-background-accent-1: #ffcc40; // primary buttons, background
@@ -36,25 +37,6 @@
36
37
  --tui-background-neutral-1-pressed: #e0e0e0;
37
38
  }
38
39
 
39
- // Прячем встроенные вертикальные кнопки шага у input[tuiInputNumber][step] (появились в Taiga UI 5),
40
- // шаг при этом продолжает работать со стрелок клавиатуры.
41
- tui-textfield {
42
- .t-input-number-buttons.t-input-number-buttons {
43
- display: none !important;
44
- }
45
-
46
- [tuiInputNumber]._with-buttons,
47
- [tuiInputNumber]._with-buttons ~ .t-template {
48
- inline-size: 100% !important;
49
- margin-inline-end: 0 !important;
50
- border-radius: inherit !important;
51
- }
52
-
53
- [tuiInputNumber]._with-buttons ~ .t-content {
54
- margin-inline-end: 0 !important;
55
- }
56
- }
57
-
58
40
  sc-input-quantity {
59
41
  [tuiWrapper][data-appearance='textfield'] {
60
42
  color: inherit !important;
@@ -81,4 +63,4 @@ sc-input-quantity {
81
63
  section.t-buttons {
82
64
  display: none !important;
83
65
  }
84
- }
66
+ }
@@ -554,40 +554,6 @@ video {
554
554
  display: none;
555
555
  }
556
556
 
557
- .container {
558
- width: 100%;
559
- }
560
-
561
- @media (min-width: 640px) {
562
- .container {
563
- max-width: 640px;
564
- }
565
- }
566
-
567
- @media (min-width: 768px) {
568
- .container {
569
- max-width: 768px;
570
- }
571
- }
572
-
573
- @media (min-width: 1024px) {
574
- .container {
575
- max-width: 1024px;
576
- }
577
- }
578
-
579
- @media (min-width: 1280px) {
580
- .container {
581
- max-width: 1280px;
582
- }
583
- }
584
-
585
- @media (min-width: 1536px) {
586
- .container {
587
- max-width: 1536px;
588
- }
589
- }
590
-
591
557
  .pointer-events-none {
592
558
  pointer-events: none;
593
559
  }
@@ -959,22 +925,14 @@ video {
959
925
  max-height: 0px !important;
960
926
  }
961
927
 
962
- .max-h-\[7\.5rem\] {
963
- max-height: 7.5rem;
964
- }
965
-
966
- .\!min-h-0 {
967
- min-height: 0px !important;
928
+ .max-h-20 {
929
+ max-height: 5rem;
968
930
  }
969
931
 
970
932
  .min-h-8 {
971
933
  min-height: 2rem;
972
934
  }
973
935
 
974
- .min-h-\[7\.375rem\] {
975
- min-height: 7.375rem;
976
- }
977
-
978
936
  .\!w-auto {
979
937
  width: auto !important;
980
938
  }
@@ -1475,10 +1433,6 @@ video {
1475
1433
  object-position: right;
1476
1434
  }
1477
1435
 
1478
- .\!p-0 {
1479
- padding: 0px !important;
1480
- }
1481
-
1482
1436
  .\!p-\[0\.4rem\] {
1483
1437
  padding: 0.4rem !important;
1484
1438
  }
@@ -1487,6 +1441,10 @@ video {
1487
1441
  padding: 0.25rem;
1488
1442
  }
1489
1443
 
1444
+ .p-10 {
1445
+ padding: 2.5rem;
1446
+ }
1447
+
1490
1448
  .p-2 {
1491
1449
  padding: 0.5rem;
1492
1450
  }
@@ -1789,6 +1747,10 @@ video {
1789
1747
  color: var(--tui-status-positive);
1790
1748
  }
1791
1749
 
1750
+ .text-tui-status-warning {
1751
+ color: var(--tui-status-warning);
1752
+ }
1753
+
1792
1754
  .text-tui-success-fill {
1793
1755
  color: var(--tui-status-positive);
1794
1756
  }
@@ -1833,10 +1795,6 @@ video {
1833
1795
  text-decoration-line: line-through;
1834
1796
  }
1835
1797
 
1836
- .opacity-0 {
1837
- opacity: 0;
1838
- }
1839
-
1840
1798
  .opacity-50 {
1841
1799
  opacity: 0.5;
1842
1800
  }
@@ -1992,10 +1950,6 @@ video {
1992
1950
  flex-direction: row;
1993
1951
  }
1994
1952
 
1995
- .sm\:flex-wrap {
1996
- flex-wrap: wrap;
1997
- }
1998
-
1999
1953
  .sm\:flex-wrap-reverse {
2000
1954
  flex-wrap: wrap-reverse;
2001
1955
  }
@@ -2047,6 +2001,10 @@ video {
2047
2001
  max-width: none;
2048
2002
  }
2049
2003
 
2004
+ .md\:grid-cols-2 {
2005
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2006
+ }
2007
+
2050
2008
  .md\:flex-row {
2051
2009
  flex-direction: row;
2052
2010
  }
@@ -0,0 +1,5 @@
1
+ export * from './reset-user-password/sc-reset-user-password.component';
2
+ export * from './update-user-info-dialog/sc-update-user-info-dialog.component';
3
+ export * from './user-managers/sc-user-managers.component';
4
+ export * from './user-phone-approve-dialog/sc-user-phone-approve-dialog.component';
5
+ export * from './sc-user.module';
@@ -0,0 +1,46 @@
1
+ import { FormControl, FormGroup } from '@angular/forms';
2
+ import { ScUserService } from '@snabcentr/client-core';
3
+ import { Observable, Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Компонент смены пароля пользователя.
7
+ */
8
+ export declare class ScResetUserPasswordComponent {
9
+ private readonly userService;
10
+ /**
11
+ * Форма для изменения пароля пользователя.
12
+ */
13
+ form: FormGroup<{
14
+ currentPassword: FormControl<null>;
15
+ password: FormControl<null>;
16
+ passwordConfirm: FormControl<null>;
17
+ }>;
18
+ /**
19
+ * {@link Subject} события отправки формы.
20
+ */
21
+ readonly onSubmit: Subject<void>;
22
+ /**
23
+ * {@link Observable} запроса данных аутентификации.
24
+ */
25
+ private readonly request$;
26
+ /**
27
+ * {@link Observable} изменения состояния загрузки данных аутентификации по email.
28
+ */
29
+ readonly loading$: Observable<boolean>;
30
+ /**
31
+ * Сигнал события события смены пароля.
32
+ */
33
+ readonly successResetPassword: Observable<{
34
+ success: boolean;
35
+ } | {
36
+ success: boolean;
37
+ }>;
38
+ /**
39
+ * Инициализирует экземпляр класса {@link ScResetUserPasswordComponent}.
40
+ *
41
+ * @param userService Сервис данных о пользователе.
42
+ */
43
+ constructor(userService: ScUserService);
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScResetUserPasswordComponent, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScResetUserPasswordComponent, "sc-reset-user-password", never, {}, { "successResetPassword": "successResetPassword"; }, never, never, false, never>;
46
+ }
@@ -0,0 +1,24 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./reset-user-password/sc-reset-user-password.component";
3
+ import * as i2 from "./update-user-info-dialog/sc-update-user-info-dialog.component";
4
+ import * as i3 from "./user-phone-approve-dialog/sc-user-phone-approve-dialog.component";
5
+ import * as i4 from "./user-managers/sc-user-managers.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/forms";
8
+ import * as i7 from "@taiga-ui/kit";
9
+ import * as i8 from "@taiga-ui/legacy";
10
+ import * as i9 from "@taiga-ui/core";
11
+ import * as i10 from "../verification/sc-verification.module";
12
+ import * as i11 from "../form-fields/form-fields.module";
13
+ import * as i12 from "../directives/terminal-link/sc-terminal-link.directive";
14
+ import * as i13 from "../directives/links/sc-tel-link.directive";
15
+ import * as i14 from "../directives/links/sc-email-link.directive";
16
+ import * as i15 from "../pipes/sc-phone-format";
17
+ /**
18
+ * Модуль компонентов пользователя.
19
+ */
20
+ export declare class ScUserModule {
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScUserModule, never>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScUserModule, [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.TuiFieldErrorPipe, typeof i8.TuiInputPasswordModule, typeof i9.TuiButton, typeof i9.TuiError, typeof i9.TuiLabel, typeof i8.TuiTextfieldControllerModule, typeof i10.ScVerificationModule, typeof i11.ScFormFieldsModule, typeof i9.TuiLoader, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i7.TuiCheckbox, typeof i9.TuiDataListComponent, typeof i9.TuiDataListDirective, typeof i9.TuiOption, typeof i9.TuiOptionNew, typeof i9.TuiOptionWithValue, typeof i9.TuiOptGroup, typeof i8.TuiSelectModule, typeof i9.TuiLink, typeof i12.ScTerminalLinkDirective, typeof i13.ScTelLinkDirective, typeof i14.ScEmailLinkDirective, typeof i15.ScPhoneFormatPipe, typeof i7.TuiButtonLoading], [typeof i1.ScResetUserPasswordComponent, typeof i2.ScUpdateUserInfoDialogComponent, typeof i3.ScUserPhoneApproveDialogComponent, typeof i4.ScUserManagersComponent]>;
23
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScUserModule>;
24
+ }
@@ -0,0 +1,63 @@
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { ScISuggestionType, ScUser, ScUserMetrikaService, ScUserService } from '@snabcentr/client-core';
4
+ import { TuiDialogContext } from '@taiga-ui/core';
5
+ import { Observable, Subject } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Диалоговое окно изменения данных пользователя.
9
+ */
10
+ export declare class ScUpdateUserInfoDialogComponent implements AfterViewInit {
11
+ readonly user$: Observable<ScUser>;
12
+ private readonly userService;
13
+ private readonly userMetrikaService;
14
+ readonly context?: TuiDialogContext<ScUser, ScUpdateUserInfoDialogComponent> | undefined;
15
+ /**
16
+ * Перечисление типов подсказок.
17
+ */
18
+ readonly suggestionType: typeof ScISuggestionType;
19
+ /**
20
+ * Группа полей ввода формы общих данных пользователя для их редактирования.
21
+ */
22
+ readonly form: FormGroup<{
23
+ name: FormControl<string | null>;
24
+ email: FormControl<string | null>;
25
+ phone: FormControl<string | null>;
26
+ verificationCode: FormControl<string | null>;
27
+ cityId: FormControl<number | null>;
28
+ getNews: FormControl<boolean | null>;
29
+ }>;
30
+ /**
31
+ * Сигнал нажатия на кнопку "Отмена".
32
+ */
33
+ readonly cancelButtonClick: EventEmitter<void>;
34
+ /**
35
+ * Сигнал события успешного обновления данных пользователя.
36
+ */
37
+ readonly successUpdateDate: Observable<ScUser>;
38
+ /**
39
+ * {@link Subject} события отправки формы.
40
+ */
41
+ readonly onSubmit: Subject<void>;
42
+ /**
43
+ * {@link Observable} запроса обновления данных пользователя.
44
+ */
45
+ private readonly request$;
46
+ /**
47
+ * {@link Observable} изменения состояния загрузки данных аутентификации по email.
48
+ */
49
+ readonly loading$: Observable<boolean>;
50
+ /**
51
+ * Инициализирует экземпляр класса {@link ScUpdateUserInfoDialogComponent}.
52
+ *
53
+ * @param user$ Поток данных о текущем пользователе.
54
+ * @param userService Сервис данных о пользователе.
55
+ * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
56
+ * @param context Контекст диалогового окна, в котором открыт компонент.
57
+ */
58
+ constructor(user$: Observable<ScUser>, userService: ScUserService, userMetrikaService: ScUserMetrikaService, context?: TuiDialogContext<ScUser, ScUpdateUserInfoDialogComponent> | undefined);
59
+ /** @inheritdoc */
60
+ ngAfterViewInit(): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScUpdateUserInfoDialogComponent, [null, null, null, { optional: true; }]>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScUpdateUserInfoDialogComponent, "sc-update-user-info-dialog", never, {}, { "cancelButtonClick": "cancelButtonClick"; "successUpdateDate": "successUpdateDate"; }, never, never, false, never>;
63
+ }
@@ -0,0 +1,23 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ScIManager } from '@snabcentr/client-core';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Компонент персональных менеджеров пользователя.
7
+ */
8
+ export declare class ScUserManagersComponent {
9
+ /**
10
+ * Событие нажатия на кнопку QR кода.
11
+ */
12
+ readonly qrClickEvent: EventEmitter<ScIManager>;
13
+ /**
14
+ * Сервис данных о пользователе.
15
+ */
16
+ private readonly userService;
17
+ /**
18
+ * Персональные менеджеры пользователя.
19
+ */
20
+ readonly managers$: Observable<ScIManager[] | undefined>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScUserManagersComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScUserManagersComponent, "sc-user-managers", never, {}, { "qrClickEvent": "qrClickEvent"; }, never, never, false, never>;
23
+ }
@@ -0,0 +1,53 @@
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { FormControl, FormGroup } from '@angular/forms';
3
+ import { ScApprovedData, ScUser, ScUserMetrikaService, ScUserService, ScVerificationService } from '@snabcentr/client-core';
4
+ import { TuiDialogContext } from '@taiga-ui/core';
5
+ import { Observable, Subject } from 'rxjs';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Диалоговое окно подтверждения номера телефона.
9
+ */
10
+ export declare class ScUserPhoneApproveDialogComponent implements AfterViewInit {
11
+ private readonly verificationService;
12
+ private readonly userMetrikaService;
13
+ readonly user$: Observable<ScUser>;
14
+ private readonly userService;
15
+ readonly context?: TuiDialogContext<ScApprovedData, ScUserPhoneApproveDialogComponent> | undefined;
16
+ /**
17
+ * Наличие кода подтверждения у пользователя.
18
+ */
19
+ haveCode: boolean;
20
+ /**
21
+ * Группа полей ввода для подтверждения номера телефона.
22
+ */
23
+ readonly form: FormGroup<{
24
+ phone: FormControl<string | null>;
25
+ verificationCode: FormControl<string | null>;
26
+ }>;
27
+ /**
28
+ * {@link Subject} события отправки формы.
29
+ */
30
+ readonly onSubmit: Subject<void>;
31
+ /**
32
+ * {@link Observable} запроса подтверждения номера телефона.
33
+ */
34
+ private readonly request$;
35
+ /**
36
+ * {@link Observable} изменения состояния запроса подтверждения номера телефона..
37
+ */
38
+ readonly loading$: Observable<boolean>;
39
+ /**
40
+ * Инициализирует экземпляр класса {@link ScUserPhoneApproveDialogComponent}.
41
+ *
42
+ * @param verificationService Сервис верификации.
43
+ * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
44
+ * @param user$ Поток данных о текущем пользователе.
45
+ * @param userService Сервис данных о пользователе.
46
+ * @param context Контекст диалогового окна, в котором открыт компонент.
47
+ */
48
+ constructor(verificationService: ScVerificationService, userMetrikaService: ScUserMetrikaService, user$: Observable<ScUser>, userService: ScUserService, context?: TuiDialogContext<ScApprovedData, ScUserPhoneApproveDialogComponent> | undefined);
49
+ /** @inheritdoc */
50
+ ngAfterViewInit(): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScUserPhoneApproveDialogComponent, [null, null, null, null, { optional: true; }]>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScUserPhoneApproveDialogComponent, "sc-user-phone-approve-dialog", never, {}, {}, never, never, false, never>;
53
+ }
@@ -0,0 +1,6 @@
1
+ export * from './sc-bic-validator';
2
+ export * from './sc-correspondent-account-validator';
3
+ export * from './sc-password-confirm-matching-validator';
4
+ export * from './sc-phone-validator';
5
+ export * from './step-validator';
6
+ export * from './sc-at-least-one-required-validator';
@@ -0,0 +1,10 @@
1
+ import { ValidatorFn } from '@angular/forms';
2
+ /**
3
+ * Проверяет, что хотя бы одно поле из списка заполнено.
4
+ * Поддерживает как отдельные поля, так и группы полей.
5
+ *
6
+ * @param fields Массив полей для проверки. Каждый элемент может быть строкой или массивом строк.
7
+ * @param blockName Имя блока для идентификации ошибки
8
+ * @returns ValidatorFn
9
+ */
10
+ export declare function scAtLeastOneRequiredValidator(fields: Array<string | string[]>, blockName?: string): ValidatorFn;