@snabcentr/client-ui 4.2.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) 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/api-error-response.d.ts +13 -0
  8. package/auth/interfaces/index.d.ts +3 -0
  9. package/auth/interfaces/sc-bank-account-form-group.d.ts +11 -0
  10. package/auth/interfaces/sc-contact-form-group.d.ts +10 -0
  11. package/auth/sc-auth.module.d.ts +26 -0
  12. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +39 -0
  13. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +41 -0
  14. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +53 -0
  15. package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +106 -0
  16. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +161 -0
  17. package/banner/index.d.ts +2 -0
  18. package/banner/sc-banner.component.d.ts +88 -0
  19. package/banner/sc-banner.module.d.ts +18 -0
  20. package/brands-list/index.d.ts +2 -0
  21. package/brands-list/sc-brands-list.component.d.ts +15 -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 +102 -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 +48 -0
  26. package/cart/cart-item/sc-cart-item.component.d.ts +25 -0
  27. package/cart/index.d.ts +3 -0
  28. package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +62 -0
  29. package/catalog/category-card/sc-category-card.component.d.ts +76 -0
  30. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +23 -0
  31. package/catalog/download-price-list/sc-download-price-list.component.d.ts +38 -0
  32. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +48 -0
  33. package/catalog/index.d.ts +12 -0
  34. package/catalog/input-quantity/sc-input-quantity.component.d.ts +82 -0
  35. package/catalog/notify-when-in-stock-dialog/index.d.ts +2 -0
  36. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +90 -0
  37. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +22 -0
  38. package/catalog/price-card/sc-price-card.component.d.ts +18 -0
  39. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +10 -0
  40. package/catalog/price-history/sc-price-history.component.d.ts +88 -0
  41. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +40 -0
  42. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +47 -0
  43. package/catalog/sc-catalog.module.d.ts +29 -0
  44. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +25 -0
  45. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +49 -0
  46. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +23 -0
  47. package/contacts/index.d.ts +7 -0
  48. package/contacts/manager-card/sc-manager-card.component.d.ts +22 -0
  49. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +18 -0
  50. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +28 -0
  51. package/contacts/sc-contacts.module.d.ts +28 -0
  52. package/contacts/tokens/index.d.ts +2 -0
  53. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +6 -0
  54. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +5 -0
  55. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +49 -0
  56. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +161 -0
  57. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +62 -0
  58. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +49 -0
  59. package/contragents/index.d.ts +7 -0
  60. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +64 -0
  61. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +125 -0
  62. package/contragents/sc-contragents.module.d.ts +27 -0
  63. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +141 -0
  64. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +50 -0
  65. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +49 -0
  66. package/delivery-address/index.d.ts +4 -0
  67. package/delivery-address/sc-delivery-address.module.d.ts +26 -0
  68. package/dialogs/index.d.ts +1 -0
  69. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +42 -0
  70. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +136 -0
  71. package/directives/index.d.ts +7 -0
  72. package/directives/links/index.d.ts +4 -0
  73. package/directives/links/sc-email-link.directive.d.ts +25 -0
  74. package/directives/links/sc-link-location.d.ts +5 -0
  75. package/directives/links/sc-links.d.ts +7 -0
  76. package/directives/links/sc-tel-link.directive.d.ts +40 -0
  77. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +18 -0
  78. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +10 -0
  79. package/directives/sc-date-value-transformer.directive.d.ts +8 -0
  80. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +14 -0
  81. package/directives/terminal-link/sc-terminal-link.directive.d.ts +34 -0
  82. package/error-handler/consts/error-change-handler.providers.d.ts +5 -0
  83. package/error-handler/error-block-status/error-block-status.component.d.ts +37 -0
  84. package/error-handler/index.d.ts +4 -0
  85. package/error-handler/interfaces/i-block-error.d.ts +17 -0
  86. package/error-handler/sc-error-handler.component.d.ts +40 -0
  87. package/esm2022/accordion/index.mjs +4 -0
  88. package/esm2022/accordion/sc-accordion-content.directive.mjs +17 -0
  89. package/esm2022/accordion/sc-accordion.component.mjs +92 -0
  90. package/esm2022/accordion/sc-accordion.module.mjs +26 -0
  91. package/esm2022/auth/enums/auth-method.mjs +15 -0
  92. package/esm2022/auth/index.mjs +9 -0
  93. package/esm2022/auth/interfaces/api-error-response.mjs +2 -0
  94. package/esm2022/auth/interfaces/index.mjs +4 -0
  95. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +2 -0
  96. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +2 -0
  97. package/esm2022/auth/sc-auth.module.mjs +99 -0
  98. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +87 -0
  99. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +86 -0
  100. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +89 -0
  101. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +187 -0
  102. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +333 -0
  103. package/esm2022/banner/index.mjs +3 -0
  104. package/esm2022/banner/sc-banner.component.mjs +143 -0
  105. package/esm2022/banner/sc-banner.module.mjs +30 -0
  106. package/esm2022/brands-list/index.mjs +3 -0
  107. package/esm2022/brands-list/sc-brands-list.component.mjs +24 -0
  108. package/esm2022/brands-list/sc-brands-list.module.mjs +22 -0
  109. 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
  110. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +3 -0
  111. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +74 -0
  112. package/esm2022/cart/cart-item/sc-cart-item.component.mjs +74 -0
  113. package/esm2022/cart/index.mjs +4 -0
  114. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +110 -0
  115. package/esm2022/catalog/category-card/sc-category-card.component.mjs +102 -0
  116. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +38 -0
  117. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +56 -0
  118. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +76 -0
  119. package/esm2022/catalog/index.mjs +13 -0
  120. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +177 -0
  121. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +3 -0
  122. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +173 -0
  123. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +35 -0
  124. package/esm2022/catalog/price-card/sc-price-card.component.mjs +52 -0
  125. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +56 -0
  126. package/esm2022/catalog/price-history/sc-price-history.component.mjs +140 -0
  127. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +65 -0
  128. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +54 -0
  129. package/esm2022/catalog/sc-catalog.module.mjs +125 -0
  130. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +42 -0
  131. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +91 -0
  132. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +38 -0
  133. package/esm2022/contacts/index.mjs +8 -0
  134. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +58 -0
  135. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +28 -0
  136. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +37 -0
  137. package/esm2022/contacts/sc-contacts.module.mjs +92 -0
  138. package/esm2022/contacts/tokens/index.mjs +3 -0
  139. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +24 -0
  140. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +7 -0
  141. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +81 -0
  142. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +278 -0
  143. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +75 -0
  144. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +69 -0
  145. package/esm2022/contragents/index.mjs +8 -0
  146. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +72 -0
  147. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +242 -0
  148. package/esm2022/contragents/sc-contragents.module.mjs +118 -0
  149. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +250 -0
  150. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +60 -0
  151. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +69 -0
  152. package/esm2022/delivery-address/index.mjs +5 -0
  153. package/esm2022/delivery-address/sc-delivery-address.module.mjs +99 -0
  154. package/esm2022/dialogs/index.mjs +2 -0
  155. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +68 -0
  156. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +170 -0
  157. package/esm2022/directives/index.mjs +8 -0
  158. package/esm2022/directives/links/index.mjs +5 -0
  159. package/esm2022/directives/links/sc-email-link.directive.mjs +49 -0
  160. package/esm2022/directives/links/sc-link-location.mjs +2 -0
  161. package/esm2022/directives/links/sc-links.mjs +8 -0
  162. package/esm2022/directives/links/sc-tel-link.directive.mjs +79 -0
  163. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +43 -0
  164. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +19 -0
  165. package/esm2022/directives/sc-date-value-transformer.directive.mjs +30 -0
  166. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +31 -0
  167. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +69 -0
  168. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +8 -0
  169. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +76 -0
  170. package/esm2022/error-handler/index.mjs +5 -0
  171. package/esm2022/error-handler/interfaces/i-block-error.mjs +2 -0
  172. package/esm2022/error-handler/sc-error-handler.component.mjs +58 -0
  173. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +344 -0
  174. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +32 -0
  175. package/esm2022/feedback/index.mjs +4 -0
  176. package/esm2022/feedback/interfaces/index.mjs +2 -0
  177. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +2 -0
  178. package/esm2022/files/directives/index.mjs +3 -0
  179. package/esm2022/files/directives/tree-top.directive.mjs +63 -0
  180. package/esm2022/files/directives/tree.directive.mjs +47 -0
  181. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +18 -0
  182. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +61 -0
  183. package/esm2022/files/files-and-documents.module.mjs +28 -0
  184. package/esm2022/files/index.mjs +6 -0
  185. package/esm2022/files/interfaces/tree-node.mjs +2 -0
  186. package/esm2022/files/services/index.mjs +3 -0
  187. package/esm2022/files/services/tree-icon.service.mjs +49 -0
  188. package/esm2022/files/services/tree-loader.service.mjs +62 -0
  189. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +155 -0
  190. package/esm2022/form-fields/form-fields.module.mjs +69 -0
  191. package/esm2022/form-fields/index.mjs +4 -0
  192. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +175 -0
  193. package/esm2022/helpers/index.mjs +2 -0
  194. package/esm2022/helpers/sc-px-converter.mjs +27 -0
  195. package/esm2022/icons/index.mjs +2 -0
  196. package/esm2022/icons/sc-client-ui-icons-name.mjs +99 -0
  197. package/esm2022/loader/index.mjs +2 -0
  198. package/esm2022/loader/sc-i-loader.mjs +2 -0
  199. package/esm2022/masks/index.mjs +8 -0
  200. package/esm2022/masks/sc-account-number-mask.mjs +7 -0
  201. package/esm2022/masks/sc-bic-mask.mjs +7 -0
  202. package/esm2022/masks/sc-correspondent-account-mask.mjs +7 -0
  203. package/esm2022/masks/sc-inn-mask.mjs +13 -0
  204. package/esm2022/masks/sc-kpp-mask.mjs +7 -0
  205. package/esm2022/masks/sc-okpo-mask.mjs +13 -0
  206. package/esm2022/masks/sc-phone-verification-code-mask.mjs +7 -0
  207. package/esm2022/models/i-sc-image.mjs +2 -0
  208. package/esm2022/models/index.mjs +2 -0
  209. package/esm2022/news/index.mjs +4 -0
  210. package/esm2022/news/news-card/sc-news-card.component.mjs +34 -0
  211. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +31 -0
  212. package/esm2022/news/sc-news.module.mjs +26 -0
  213. package/esm2022/order/index.mjs +4 -0
  214. package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +60 -0
  215. package/esm2022/order/sc-order.module.mjs +53 -0
  216. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +35 -0
  217. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +28 -0
  218. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +6 -0
  219. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +59 -0
  220. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +106 -0
  221. package/esm2022/pages/index.mjs +6 -0
  222. package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +30 -0
  223. package/esm2022/pages/public-offer/sc-public-offer.component.mjs +32 -0
  224. package/esm2022/pipes/index.mjs +3 -0
  225. package/esm2022/pipes/sc-format-date.mjs +33 -0
  226. package/esm2022/pipes/sc-phone-format.mjs +44 -0
  227. package/esm2022/profile/index.mjs +3 -0
  228. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +175 -0
  229. package/esm2022/profile/sc-profile.module.mjs +76 -0
  230. package/esm2022/providers/date-value-transformer/index.mjs +4 -0
  231. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +2 -0
  232. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +26 -0
  233. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +37 -0
  234. package/esm2022/providers/index.mjs +12 -0
  235. package/esm2022/providers/sc-allow-select-terminated.mjs +6 -0
  236. package/esm2022/providers/sc-country-ids.mjs +6 -0
  237. package/esm2022/providers/sc-date-formatter.mjs +12 -0
  238. package/esm2022/providers/sc-date-value-transformer.mjs +12 -0
  239. package/esm2022/providers/sc-help-notification-close.mjs +7 -0
  240. package/esm2022/providers/sc-help-notification-limit.mjs +6 -0
  241. package/esm2022/providers/sc-max-files-in-form-input.mjs +6 -0
  242. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +6 -0
  243. package/esm2022/providers/sc-page-size-options.mjs +6 -0
  244. package/esm2022/providers/sc-user-providers.mjs +33 -0
  245. package/esm2022/providers/sc-verification-code-timeout.mjs +6 -0
  246. package/esm2022/public-api.mjs +35 -0
  247. package/esm2022/qrcode/index.mjs +3 -0
  248. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +58 -0
  249. package/esm2022/qrcode/sc-qrcode.module.mjs +25 -0
  250. package/esm2022/samples/index.mjs +5 -0
  251. package/esm2022/samples/interfaces/index.mjs +3 -0
  252. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +2 -0
  253. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +2 -0
  254. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +42 -0
  255. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +63 -0
  256. package/esm2022/samples/sc-sample.module.mjs +68 -0
  257. package/esm2022/services/index.mjs +2 -0
  258. package/esm2022/services/sc-help-notification.service.mjs +90 -0
  259. package/esm2022/share-button/index.mjs +3 -0
  260. package/esm2022/share-button/sc-share-button.component.mjs +35 -0
  261. package/esm2022/share-button/sc-share-button.module.mjs +22 -0
  262. package/esm2022/snabcentr-client-ui.mjs +5 -0
  263. package/esm2022/user/index.mjs +6 -0
  264. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +75 -0
  265. package/esm2022/user/sc-user.module.mjs +89 -0
  266. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +122 -0
  267. package/esm2022/user/user-managers/sc-user-managers.component.mjs +42 -0
  268. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +106 -0
  269. package/esm2022/validators/index.mjs +7 -0
  270. package/esm2022/validators/sc-at-least-one-required-validator.mjs +25 -0
  271. package/esm2022/validators/sc-bic-validator.mjs +10 -0
  272. package/esm2022/validators/sc-correspondent-account-validator.mjs +10 -0
  273. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +17 -0
  274. package/esm2022/validators/sc-phone-validator.mjs +14 -0
  275. package/esm2022/validators/step-validator.mjs +18 -0
  276. package/esm2022/verification/index.mjs +4 -0
  277. package/esm2022/verification/providers/index.mjs +3 -0
  278. package/esm2022/verification/providers/sc-phone-approve-code-sender.provider.mjs +12 -0
  279. package/esm2022/verification/providers/sc-phone-approve-code-sender.token.mjs +7 -0
  280. package/esm2022/verification/sc-verification.module.mjs +88 -0
  281. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +277 -0
  282. package/feedback/feedback-form/sc-feedback-form.component.d.ts +163 -0
  283. package/feedback/gratitude/sc-gratitude.component.d.ts +20 -0
  284. package/feedback/index.d.ts +3 -0
  285. package/feedback/interfaces/index.d.ts +1 -0
  286. package/feedback/interfaces/sc-feedback-form-config.d.ts +23 -0
  287. package/fesm2022/snabcentr-client-ui.mjs +3977 -3508
  288. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  289. package/files/directives/index.d.ts +2 -0
  290. package/files/directives/tree-top.directive.d.ts +33 -0
  291. package/files/directives/tree.directive.d.ts +35 -0
  292. package/files/file-tree-item/file-tree-item.component.d.ts +9 -0
  293. package/files/files-and-documents/files-and-documents.component.d.ts +27 -0
  294. package/files/files-and-documents.module.d.ts +17 -0
  295. package/files/index.d.ts +5 -0
  296. package/files/interfaces/tree-node.d.ts +29 -0
  297. package/files/services/index.d.ts +2 -0
  298. package/files/services/tree-icon.service.d.ts +23 -0
  299. package/files/services/tree-loader.service.d.ts +43 -0
  300. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +78 -0
  301. package/form-fields/form-fields.module.d.ts +19 -0
  302. package/form-fields/index.d.ts +3 -0
  303. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +73 -0
  304. package/helpers/index.d.ts +1 -0
  305. package/helpers/sc-px-converter.d.ts +15 -0
  306. package/icons/index.d.ts +1 -0
  307. package/icons/sc-client-ui-icons-name.d.ts +4 -0
  308. package/index.d.ts +3 -4314
  309. package/loader/index.d.ts +1 -0
  310. package/loader/sc-i-loader.d.ts +9 -0
  311. package/masks/index.d.ts +7 -0
  312. package/masks/sc-account-number-mask.d.ts +5 -0
  313. package/masks/sc-bic-mask.d.ts +5 -0
  314. package/masks/sc-correspondent-account-mask.d.ts +5 -0
  315. package/masks/sc-inn-mask.d.ts +9 -0
  316. package/masks/sc-kpp-mask.d.ts +5 -0
  317. package/masks/sc-okpo-mask.d.ts +9 -0
  318. package/masks/sc-phone-verification-code-mask.d.ts +5 -0
  319. package/models/i-sc-image.d.ts +17 -0
  320. package/models/index.d.ts +1 -0
  321. package/news/index.d.ts +3 -0
  322. package/news/news-card/sc-news-card.component.d.ts +22 -0
  323. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +16 -0
  324. package/news/sc-news.module.d.ts +16 -0
  325. package/order/index.d.ts +3 -0
  326. package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +39 -0
  327. package/order/sc-order.module.d.ts +19 -0
  328. package/order/sc-payment-status/sc-payment-status.component.d.ts +25 -0
  329. package/package.json +3 -1
  330. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +18 -0
  331. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +5 -0
  332. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +28 -0
  333. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +79 -0
  334. package/pages/index.d.ts +5 -0
  335. package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +17 -0
  336. package/pages/public-offer/sc-public-offer.component.d.ts +22 -0
  337. package/pipes/index.d.ts +2 -0
  338. package/pipes/sc-format-date.d.ts +20 -0
  339. package/pipes/sc-phone-format.d.ts +21 -0
  340. package/profile/index.d.ts +2 -0
  341. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +126 -0
  342. package/profile/sc-profile.module.d.ts +24 -0
  343. package/providers/date-value-transformer/index.d.ts +3 -0
  344. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +9 -0
  345. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +16 -0
  346. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +22 -0
  347. package/providers/index.d.ts +11 -0
  348. package/providers/sc-allow-select-terminated.d.ts +5 -0
  349. package/providers/sc-country-ids.d.ts +5 -0
  350. package/providers/sc-date-formatter.d.ts +6 -0
  351. package/providers/sc-date-value-transformer.d.ts +5 -0
  352. package/providers/sc-help-notification-close.d.ts +6 -0
  353. package/providers/sc-help-notification-limit.d.ts +5 -0
  354. package/providers/sc-max-files-in-form-input.d.ts +5 -0
  355. package/providers/sc-notify-when-in-stock-required-fields.d.ts +5 -0
  356. package/providers/sc-page-size-options.d.ts +5 -0
  357. package/providers/sc-user-providers.d.ts +21 -0
  358. package/providers/sc-verification-code-timeout.d.ts +5 -0
  359. package/public-api.d.ts +31 -0
  360. package/qrcode/index.d.ts +2 -0
  361. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +37 -0
  362. package/qrcode/sc-qrcode.module.d.ts +14 -0
  363. package/release_notes.tmp +2 -9
  364. package/samples/index.d.ts +4 -0
  365. package/samples/interfaces/index.d.ts +2 -0
  366. package/samples/interfaces/sc-i-preview-sample.d.ts +56 -0
  367. package/samples/interfaces/sc-preview-mosquito-config.d.ts +62 -0
  368. package/samples/preview-sample/sc-preview-sample.component.d.ts +30 -0
  369. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +50 -0
  370. package/samples/sc-sample.module.d.ts +19 -0
  371. package/services/index.d.ts +1 -0
  372. package/services/sc-help-notification.service.d.ts +64 -0
  373. package/share-button/index.d.ts +2 -0
  374. package/share-button/sc-share-button.component.d.ts +22 -0
  375. package/share-button/sc-share-button.module.d.ts +12 -0
  376. package/styles/tailwind/tailwind.scss +180 -0
  377. package/user/index.d.ts +5 -0
  378. package/user/reset-user-password/sc-reset-user-password.component.d.ts +46 -0
  379. package/user/sc-user.module.d.ts +25 -0
  380. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +63 -0
  381. package/user/user-managers/sc-user-managers.component.d.ts +26 -0
  382. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +53 -0
  383. package/validators/index.d.ts +6 -0
  384. package/validators/sc-at-least-one-required-validator.d.ts +10 -0
  385. package/validators/sc-bic-validator.d.ts +8 -0
  386. package/validators/sc-correspondent-account-validator.d.ts +8 -0
  387. package/validators/sc-password-confirm-matching-validator.d.ts +8 -0
  388. package/validators/sc-phone-validator.d.ts +5 -0
  389. package/validators/step-validator.d.ts +8 -0
  390. package/verification/index.d.ts +3 -0
  391. package/verification/providers/index.d.ts +2 -0
  392. package/verification/providers/sc-phone-approve-code-sender.provider.d.ts +6 -0
  393. package/verification/providers/sc-phone-approve-code-sender.token.d.ts +7 -0
  394. package/verification/sc-verification.module.d.ts +21 -0
  395. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +149 -0
@@ -0,0 +1 @@
1
+ export * from './sc-i-loader';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Интерфейс для реализации компонентами, отображающими индикатор выполнения запросов.
3
+ */
4
+ export interface ScILoader {
5
+ /**
6
+ * Набор признаков выполнения запросов.
7
+ */
8
+ loadingList: Set<string>;
9
+ }
@@ -0,0 +1,7 @@
1
+ export * from './sc-account-number-mask';
2
+ export * from './sc-bic-mask';
3
+ export * from './sc-correspondent-account-mask';
4
+ export * from './sc-inn-mask';
5
+ export * from './sc-kpp-mask';
6
+ export * from './sc-okpo-mask';
7
+ export * from './sc-phone-verification-code-mask';
@@ -0,0 +1,5 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода номера счета.
4
+ */
5
+ export declare const scAccountNumberMask: MaskitoOptions;
@@ -0,0 +1,5 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода БИК.
4
+ */
5
+ export declare const scBicMask: MaskitoOptions;
@@ -0,0 +1,5 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода номера корреспондентского счета.
4
+ */
5
+ export declare const scCorrespondentAccount: MaskitoOptions;
@@ -0,0 +1,9 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода ИНН индивидуального предпринимателя.
4
+ */
5
+ export declare const scEntrepreneurInnMask: MaskitoOptions;
6
+ /**
7
+ * Маска поля ввода ИНН юридического лица.
8
+ */
9
+ export declare const scLegalInnMask: MaskitoOptions;
@@ -0,0 +1,5 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода КПП.
4
+ */
5
+ export declare const scKppMask: MaskitoOptions;
@@ -0,0 +1,9 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода ОКПО индивидуального предпринимателя.
4
+ */
5
+ export declare const scEntrepreneurOkpoMask: MaskitoOptions;
6
+ /**
7
+ * Маска поля ввода ОКПО юридического лица.
8
+ */
9
+ export declare const scLegalOkpoMask: MaskitoOptions;
@@ -0,0 +1,5 @@
1
+ import { MaskitoOptions } from '@maskito/core';
2
+ /**
3
+ * Маска поля ввода кода подтверждения телефона.
4
+ */
5
+ export declare const scPhoneVerificationCodeMask: MaskitoOptions;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Модель данных изображения.
3
+ */
4
+ export interface IScImage {
5
+ /**
6
+ * Ссылка на изображение в формате по умолчанию.
7
+ */
8
+ defaultFormat: string;
9
+ /**
10
+ * Ссылка на изображение в формате webp.
11
+ */
12
+ webp: string;
13
+ /**
14
+ * Краткое описание изображения, если возникла проблема загрузки.
15
+ */
16
+ alt?: string;
17
+ }
@@ -0,0 +1 @@
1
+ export * from './i-sc-image';
@@ -0,0 +1,3 @@
1
+ export * from './news-card/sc-news-card.component';
2
+ export * from './news-card-skeleton/sc-news-card-skeleton.component';
3
+ export * from './sc-news.module';
@@ -0,0 +1,22 @@
1
+ import { InputSignal } from '@angular/core';
2
+ import { ScNewsTile } from '@snabcentr/client-core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Компонент карточки новости.
6
+ */
7
+ export declare class ScNewsCardComponent {
8
+ /**
9
+ * Данные о новости.
10
+ */
11
+ news: InputSignal<ScNewsTile>;
12
+ /**
13
+ * Ссылка на страницу новости. Используется именно `href`, так как остановить событие клика для `routerLink` не вышло.
14
+ */
15
+ href: InputSignal<string | null>;
16
+ /**
17
+ * Признак того, что этот компонент отображается на мобильном устройстве.
18
+ */
19
+ readonly isMobile: boolean;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardComponent, "sc-news-card", never, { "news": { "alias": "news"; "required": true; "isSignal": true; }; "href": { "alias": "href"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
22
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Компонент скелетона карточки новости.
4
+ */
5
+ export declare class ScNewsCardSkeletonComponent {
6
+ /**
7
+ * Признак, что необходимо отобразить скелетон изображения новости.
8
+ */
9
+ hasImg: boolean;
10
+ /**
11
+ * Признак того, что этот компонент отображается на мобильном устройстве.
12
+ */
13
+ readonly isMobile: boolean;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsCardSkeletonComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScNewsCardSkeletonComponent, "sc-news-card-skeleton", never, { "hasImg": { "alias": "hasImg"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./news-card/sc-news-card.component";
3
+ import * as i2 from "./news-card-skeleton/sc-news-card-skeleton.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/router";
6
+ import * as i5 from "../share-button/sc-share-button.module";
7
+ import * as i6 from "../pipes/sc-format-date";
8
+ import * as i7 from "@snabcentr/client-core";
9
+ /**
10
+ * Модуль работы с новостями.
11
+ */
12
+ export declare class ScNewsModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScNewsModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScNewsModule, [typeof i1.ScNewsCardComponent, typeof i2.ScNewsCardSkeletonComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.ScShareButtonModule, typeof i6.ScFormatDatePipe, typeof i7.ScMediaImageTransformerPipe], [typeof i1.ScNewsCardComponent, typeof i2.ScNewsCardSkeletonComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScNewsModule>;
16
+ }
@@ -0,0 +1,3 @@
1
+ export * from './order-item-mobile/sc-order-item-mobile.component';
2
+ export * from './sc-payment-status/sc-payment-status.component';
3
+ export * from './sc-order.module';
@@ -0,0 +1,39 @@
1
+ import { EventEmitter, InputSignal, Signal } from '@angular/core';
2
+ import { ScCartItem, ScIImage } from '@snabcentr/client-core';
3
+ import { TuiPreviewDialogService } from '@taiga-ui/kit';
4
+ import { AbstractScPriceCard } from '../../directives';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Компонент карточки элемента заказа.
8
+ */
9
+ export declare class ScOrderItemMobileComponent extends AbstractScPriceCard {
10
+ private readonly previewDialogService;
11
+ /**
12
+ * Ссылка на представление спецификации.
13
+ */
14
+ private readonly specificationPreviewRef?;
15
+ /**
16
+ * Элемент заказа.
17
+ */
18
+ readonly orderItem: InputSignal<ScCartItem | undefined>;
19
+ /**
20
+ * Событие нажатия на дополнительные действия.
21
+ */
22
+ clickActionsEvent: EventEmitter<void>;
23
+ /**
24
+ * Изображение товара в заказе.
25
+ */
26
+ readonly cartImage: Signal<ScIImage | undefined>;
27
+ /**
28
+ * Инициирует экземпляр класса {@link ScOrderItemMobileComponent}.
29
+ *
30
+ * @param previewDialogService Сервис диалогового окна предварительного просмотра.
31
+ */
32
+ constructor(previewDialogService: TuiPreviewDialogService);
33
+ /**
34
+ * Отобразить спецификацию.
35
+ */
36
+ showSpecification(): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderItemMobileComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScOrderItemMobileComponent, "sc-order-item-mobile", never, { "orderItem": { "alias": "orderItem"; "required": false; "isSignal": true; }; }, { "clickActionsEvent": "clickActionsEvent"; }, never, never, false, never>;
39
+ }
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./order-item-mobile/sc-order-item-mobile.component";
3
+ import * as i2 from "./sc-payment-status/sc-payment-status.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@taiga-ui/core";
6
+ import * as i5 from "@taiga-ui/layout";
7
+ import * as i6 from "@taiga-ui/kit";
8
+ import * as i7 from "../catalog/sc-catalog.module";
9
+ import * as i8 from "@taiga-ui/polymorpheus";
10
+ import * as i9 from "../catalog/price-warehouse-stock/sc-price-warehouse-stock.component";
11
+ import * as i10 from "../catalog/cost-with-discount/cost-with-discount.component";
12
+ /**
13
+ * Модуль заказов.
14
+ */
15
+ export declare class ScOrderModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScOrderModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScOrderModule, [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent], [typeof i3.CommonModule, typeof i4.TuiLink, typeof i4.TuiButton, typeof i4.TuiIcon, typeof i5.TuiBlockStatusComponent, typeof i5.TuiBlockStatusDirective, typeof i6.TuiPreviewComponent, typeof i6.TuiPreviewTitle, typeof i6.TuiPreviewPagination, typeof i6.TuiPreviewAction, typeof i6.TuiPreviewZoom, typeof i7.ScCatalogModule, typeof i8.PolymorpheusTemplate, typeof i8.PolymorpheusOutlet, typeof i9.ScPriceWarehouseStockComponent, typeof i10.CostWithDiscountComponent], [typeof i1.ScOrderItemMobileComponent, typeof i2.ScPaymentStatusComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScOrderModule>;
19
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Компонент статуса оплаты заказа.
5
+ */
6
+ export declare class ScPaymentStatusComponent {
7
+ /**
8
+ * Признак того, успешна ли прошла оплата, или нет.
9
+ */
10
+ status: 'success' | 'error' | null;
11
+ /**
12
+ * Номер оплаченного заказа.
13
+ */
14
+ orderId: string | null;
15
+ /**
16
+ * Событие нажатия на кнопку "Вернуться к списку заказов".
17
+ */
18
+ backToOrdersClick: EventEmitter<void>;
19
+ /**
20
+ * Событие нажатия на кнопку "На главную".
21
+ */
22
+ backToOrderClick: EventEmitter<void>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPaymentStatusComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPaymentStatusComponent, "sc-payment-status", never, { "status": { "alias": "status"; "required": false; }; "orderId": { "alias": "orderId"; "required": false; }; }, { "backToOrdersClick": "backToOrdersClick"; "backToOrderClick": "backToOrderClick"; }, never, never, false, never>;
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "4.2.0",
3
+ "version": "4.3.0",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -50,6 +50,8 @@
50
50
  },
51
51
  ".": {
52
52
  "types": "./index.d.ts",
53
+ "esm2022": "./esm2022/snabcentr-client-ui.mjs",
54
+ "esm": "./esm2022/snabcentr-client-ui.mjs",
53
55
  "default": "./fesm2022/snabcentr-client-ui.mjs"
54
56
  }
55
57
  }
@@ -0,0 +1,18 @@
1
+ import { InputSignal } from '@angular/core';
2
+ import { ScFaqItem } from '@snabcentr/client-core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Компонент часто задаваемых вопросов.
6
+ */
7
+ export declare class ScFrequentlyAskedQuestionsComponent {
8
+ /**
9
+ * {@link InputSignal} списка группы часто задаваемых вопросов.
10
+ */
11
+ readonly items: InputSignal<ScFaqItem[]>;
12
+ /**
13
+ * {@link InputSignal} отображения загрузки.
14
+ */
15
+ readonly showLoading: InputSignal<boolean>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScFrequentlyAskedQuestionsComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScFrequentlyAskedQuestionsComponent, "sc-frequently-asked-questions", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "showLoading": { "alias": "showLoading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,5 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ /**
3
+ * Токен перечисления размеров страниц пагинации.
4
+ */
5
+ export declare const SC_PAGE_SIZE_OPTIONS: InjectionToken<number[]>;
@@ -0,0 +1,28 @@
1
+ import { InputSignal, OutputRef } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { ScFaqGroup } from '@snabcentr/client-core';
4
+ import { Observable } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Компонент выбора группы часто задаваемых вопросов.
8
+ */
9
+ export declare class ScFrequentlyAskedQuestionsGroupSelectorComponent {
10
+ /**
11
+ * {@link Observable} списка группы часто задаваемых вопросов.
12
+ */
13
+ protected readonly groups$: Observable<ScFaqGroup[]>;
14
+ /**
15
+ * {@link FormControl} выбранной группы.
16
+ */
17
+ protected readonly groupControl: FormControl<ScFaqGroup | null>;
18
+ /**
19
+ * {@link OutputRef} сигнал изменения идентификатора группы.
20
+ */
21
+ readonly groupIdChange: OutputRef<number>;
22
+ /**
23
+ * Формат отображения. 'list' - в виде списка, 'select' в виде выпадающего списка.
24
+ */
25
+ readonly viewMode: InputSignal<'list' | 'select'>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScFrequentlyAskedQuestionsGroupSelectorComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScFrequentlyAskedQuestionsGroupSelectorComponent, "sc-frequently-asked-questions-group-selector", never, { "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; }, { "groupIdChange": "groupIdChange"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1,79 @@
1
+ import { OutputEmitterRef } from '@angular/core';
2
+ import { ScFaqItem, ScFrequentlyAskedQuestionsService } from '@snabcentr/client-core';
3
+ import { Observable, Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Компонент часто задаваемых вопросов с возможностью выбора группы вопросов.
7
+ */
8
+ export declare class ScFrequentlyAskedQuestionsWithGroupsComponent {
9
+ /**
10
+ * {@link Observable} изменения Email для связи по вопросам рекламаций.
11
+ */
12
+ protected readonly frequentlyAskedQuestionsService: ScFrequentlyAskedQuestionsService;
13
+ /**
14
+ * Сервис конвертации данных.
15
+ */
16
+ private readonly convertersService;
17
+ /**
18
+ * Индекс первой страницы.
19
+ */
20
+ private readonly firstPageIndex;
21
+ /**
22
+ * Количество записей на странице пагинации.
23
+ */
24
+ private readonly pageSizeOptions;
25
+ /**
26
+ * {@link BehaviorSubject} изменения количества записей на странице.
27
+ */
28
+ private readonly perPage$;
29
+ /**
30
+ * {@link BehaviorSubject} изменения номера страницы.
31
+ */
32
+ private readonly page$;
33
+ /**
34
+ * {@link BehaviorSubject} изменения идентификатора группы.
35
+ */
36
+ protected readonly groupId$: Subject<number>;
37
+ /**
38
+ * Сигнал нажатия на кнопку "Задать вопрос".
39
+ */
40
+ readonly clickSendQuestion: OutputEmitterRef<void>;
41
+ /**
42
+ * {@link Observable} запроса данных списка заказов.
43
+ */
44
+ private readonly request$;
45
+ /**
46
+ * {@link Observable} изменения общего количества страниц пагинации.
47
+ */
48
+ protected readonly pageCount$: Observable<number>;
49
+ /**
50
+ * {@link Observable} изменения номера страницы пагинации из данных пагинации запроса.
51
+ */
52
+ protected readonly currentPage$: Observable<number>;
53
+ /**
54
+ * {@link Observable} изменения состояния загрузки данных.
55
+ */
56
+ protected readonly isLoading: import("@angular/core").Signal<boolean>;
57
+ /**
58
+ * {@link Observable} изменения списка заказов страницы пагинации.
59
+ */
60
+ protected readonly data$: Observable<ScFaqItem[] | null>;
61
+ /**
62
+ * {@link Observable} изменения формата отображения фильтра групп.
63
+ */
64
+ protected readonly viewMode$: Observable<'list' | 'select'>;
65
+ /**
66
+ * Устанавливает данные пагинации.
67
+ *
68
+ * @param pageIndex Индекс страницы.
69
+ */
70
+ protected paginationChange(pageIndex: number): void;
71
+ /**
72
+ * Устанавливает идентификатор группы.
73
+ *
74
+ * @param id Идентификатор группы.
75
+ */
76
+ protected groupIdChange(id: number): void;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScFrequentlyAskedQuestionsWithGroupsComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScFrequentlyAskedQuestionsWithGroupsComponent, "sc-frequently-asked-questions-with-groups", never, {}, { "clickSendQuestion": "clickSendQuestion"; }, never, never, true, never>;
79
+ }
@@ -0,0 +1,5 @@
1
+ export * from './frequently-asked-questions/sc-frequently-asked-questions.component';
2
+ export * from './frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component';
3
+ export * from './frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component';
4
+ export * from './personal-data-processing-policy/sc-personal-data-processing-policy.component';
5
+ export * from './public-offer/sc-public-offer.component';
@@ -0,0 +1,17 @@
1
+ import { ScICompanyBaseInfo, ScIUrls } from '@snabcentr/client-core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Компонент политики обработки персональных данных пользователей сайта.
5
+ */
6
+ export declare class ScPersonalDataProcessingPolicyComponent {
7
+ /**
8
+ * Данные о компании.
9
+ */
10
+ protected readonly companyInfo: Readonly<ScICompanyBaseInfo>;
11
+ /**
12
+ * Список ссылок приложения.
13
+ */
14
+ protected readonly urls: ScIUrls;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPersonalDataProcessingPolicyComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPersonalDataProcessingPolicyComponent, "sc-personal-data-processing-policy", never, {}, {}, never, never, true, never>;
17
+ }
@@ -0,0 +1,22 @@
1
+ import { InputSignal } from '@angular/core';
2
+ import { ScICompanyBaseInfo, ScIUrls } from '@snabcentr/client-core';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Компонент публичной оферты.
6
+ */
7
+ export declare class ScPublicOfferComponent {
8
+ /**
9
+ * Данные о компании.
10
+ */
11
+ protected readonly companyInfo: Readonly<ScICompanyBaseInfo>;
12
+ /**
13
+ * Список ссылок приложения.
14
+ */
15
+ protected readonly urls: ScIUrls;
16
+ /**
17
+ * Список складов самовывоза компании.
18
+ */
19
+ readonly warehouses: InputSignal<string[]>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPublicOfferComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPublicOfferComponent, "sc-public-offer", never, { "warehouses": { "alias": "warehouses"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
22
+ }
@@ -0,0 +1,2 @@
1
+ export * from './sc-format-date';
2
+ export * from './sc-phone-format';
@@ -0,0 +1,20 @@
1
+ import type { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Пайп для форматирования даты и времени.
5
+ */
6
+ export declare class ScFormatDatePipe implements PipeTransform {
7
+ /**
8
+ * Функция форматирования даты и времени.
9
+ */
10
+ private readonly formatter;
11
+ /**
12
+ * Форматирует строку даты через {@link SC_DATE_FORMATTER}.
13
+ *
14
+ * @param timeString - Строка времени.
15
+ * @returns Форматированная дата и время.
16
+ */
17
+ transform(timeString?: string): string | undefined;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScFormatDatePipe, never>;
19
+ static ɵpipe: i0.ɵɵPipeDeclaration<ScFormatDatePipe, "scFormatDate", true>;
20
+ }
@@ -0,0 +1,21 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Пайп для форматирования номера телефона.
5
+ *
6
+ * Если переданный номер телефона валиден, он будет отформатирован с использованием метода `formatPhoneNumber` сервиса `ScPhoneService`.
7
+ * Если номер невалиден, возвращается исходное значение.
8
+ */
9
+ export declare class ScPhoneFormatPipe implements PipeTransform {
10
+ /**
11
+ * Преобразует строковое значение номера телефона.
12
+ *
13
+ * @param value Строка, содержащая номер телефона.
14
+ * @param format Формат возвращаемого значения. `normal` - удобочитаемое представление номера телефона, `clean` - очищенное от лишних символов представление номера телефона, `cleanWithPlus` - очищенное от лишних символов представление номера телефона с `+` в начале.
15
+ *
16
+ * @returns Отформатированный номер телефона, если он валиден, или исходное значение, если он невалиден.
17
+ */
18
+ transform(value: string, format?: 'normal' | 'clean' | 'cleanWithPlus'): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPhoneFormatPipe, never>;
20
+ static ɵpipe: i0.ɵɵPipeDeclaration<ScPhoneFormatPipe, "scPhoneFormat", true>;
21
+ }
@@ -0,0 +1,2 @@
1
+ export * from './sc-profile-accordions-content/sc-profile-accordions-content.component';
2
+ export * from './sc-profile.module';
@@ -0,0 +1,126 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { ScContragent, ScIBankAccount, ScICityWithRegionAndCountry, ScIContact, ScIDeliveryAddress, ScUser } from '@snabcentr/client-core';
4
+ import { Observable, Subject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Компонент контента профиля пользователя в виде раскрывающихся смысловых блоков.
8
+ */
9
+ export declare class ScProfileAccordionsContentComponent {
10
+ /**
11
+ * Сервис данных о пользователе.
12
+ */
13
+ private readonly userService;
14
+ /**
15
+ * Сервис для работы с контактными лицами..
16
+ */
17
+ private readonly contactsService;
18
+ /**
19
+ * Сервис верификации.
20
+ */
21
+ private readonly verificationService;
22
+ /**
23
+ * Поток данных о текущем пользователе.
24
+ */
25
+ protected readonly user$: Observable<ScUser>;
26
+ /**
27
+ * Поток данных о текущем городе пользователя.
28
+ */
29
+ protected readonly userCity$: Observable<ScICityWithRegionAndCountry>;
30
+ /**
31
+ * {@link FormControl} переключателя 'Я хочу получать рассылку'.
32
+ */
33
+ protected getNewsControl: FormControl<boolean>;
34
+ /**
35
+ * {@link Observable} запроса изменения признака пользователя 'Я хочу получать рассылку'.
36
+ */
37
+ private readonly getNewsRequest$;
38
+ /**
39
+ * {@link Observable} изменения состояния загрузки данных изменения признака пользователя 'Я хочу получать рассылку'.
40
+ */
41
+ protected readonly getNewsLoading$: Observable<boolean>;
42
+ /**
43
+ * {@link Subject} события отправки сообщения для подтверждения адреса электронной почты.
44
+ */
45
+ protected readonly onSendApproveEmail: Subject<string>;
46
+ /**
47
+ * {@link Observable} запроса данных аутентификации.
48
+ */
49
+ private readonly sendApproveEmailRequest$;
50
+ /**
51
+ * {@link Observable} изменения состояния загрузки данных отправки сообщения для подтверждения адреса электронной почты.
52
+ */
53
+ protected readonly approveEmailLoading$: Observable<boolean>;
54
+ /**
55
+ * {@link Observable} изменения состояния признака, отправлено ли сообщение для подтверждения адреса электронной почты.
56
+ */
57
+ protected readonly isSendApproveEmail$: Observable<boolean>;
58
+ /**
59
+ * {@link Observable} изменения списка контактных лиц пользователя.
60
+ */
61
+ protected readonly userContacts$: Observable<ScIContact[] | null>;
62
+ /**
63
+ * Событие нажатия на кнопку редактирование профиля пользователя.
64
+ */
65
+ editProfileClick: EventEmitter<void>;
66
+ /**
67
+ * Событие нажатия на кнопку подтверждения телефона.
68
+ */
69
+ approvePhoneClick: EventEmitter<void>;
70
+ /**
71
+ * Событие нажатия на кнопку добавления контрагента.
72
+ */
73
+ addContragentClick: EventEmitter<void>;
74
+ /**
75
+ * Событие нажатия на кнопку удаления контрагента.
76
+ */
77
+ deleteContragentClick: EventEmitter<ScContragent>;
78
+ /**
79
+ * Событие нажатия на кнопку добавления банковского счёта контрагенту.
80
+ */
81
+ addContragentBankAccountClick: EventEmitter<ScContragent>;
82
+ /**
83
+ * Событие нажатия на кнопку удаления банковского счёта контрагента.
84
+ */
85
+ deleteContragentBankAccountClick: EventEmitter<ScIBankAccount>;
86
+ /**
87
+ * Событие нажатия на кнопку добавления контактного лица контрагенту.
88
+ */
89
+ addContragentContactClick: EventEmitter<ScContragent>;
90
+ /**
91
+ * Событие нажатия на кнопку удаления контактного лица у контрагента.
92
+ */
93
+ deleteContragentContactClick: EventEmitter<{
94
+ contact: ScIContact;
95
+ contragent: ScContragent;
96
+ }>;
97
+ /**
98
+ * Событие нажатия на кнопку добавления адреса доставки клиента.
99
+ */
100
+ addDeliveryAddressClick: EventEmitter<void>;
101
+ /**
102
+ * Событие нажатия на кнопку удаления адреса доставки у клиента.
103
+ */
104
+ deleteDeliveryAddressClick: EventEmitter<ScIDeliveryAddress>;
105
+ /**
106
+ * Событие нажатия на кнопку добавления контактного лица для адреса доставки.
107
+ */
108
+ addDeliveryAddressContactClick: EventEmitter<ScIDeliveryAddress>;
109
+ /**
110
+ * Событие нажатия на кнопку удаления контактного лица у адреса доставки.
111
+ */
112
+ deleteDeliveryAddressContactClick: EventEmitter<{
113
+ contact: ScIContact;
114
+ address: ScIDeliveryAddress;
115
+ }>;
116
+ /**
117
+ * Событие нажатия на кнопку добавления контактного лица клиенту.
118
+ */
119
+ addUserContactClick: EventEmitter<number>;
120
+ /**
121
+ * Событие нажатия на кнопку удаления контактного лица у клиента.
122
+ */
123
+ deleteUserContactClick: EventEmitter<ScIContact>;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScProfileAccordionsContentComponent, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScProfileAccordionsContentComponent, "sc-profile-accordions-content", never, {}, { "editProfileClick": "editProfileClick"; "approvePhoneClick": "approvePhoneClick"; "addContragentClick": "addContragentClick"; "deleteContragentClick": "deleteContragentClick"; "addContragentBankAccountClick": "addContragentBankAccountClick"; "deleteContragentBankAccountClick": "deleteContragentBankAccountClick"; "addContragentContactClick": "addContragentContactClick"; "deleteContragentContactClick": "deleteContragentContactClick"; "addDeliveryAddressClick": "addDeliveryAddressClick"; "deleteDeliveryAddressClick": "deleteDeliveryAddressClick"; "addDeliveryAddressContactClick": "addDeliveryAddressContactClick"; "deleteDeliveryAddressContactClick": "deleteDeliveryAddressContactClick"; "addUserContactClick": "addUserContactClick"; "deleteUserContactClick": "deleteUserContactClick"; }, never, never, false, never>;
126
+ }