@snabcentr/client-ui 3.37.7 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/fesm2022/snabcentr-client-ui.mjs +3524 -3958
  2. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  3. package/index.d.ts +4298 -3
  4. package/package.json +1 -3
  5. package/release_notes.tmp +2 -5
  6. package/styles/tailwind/tailwind.scss +0 -176
  7. package/accordion/index.d.ts +0 -3
  8. package/accordion/sc-accordion-content.directive.d.ts +0 -9
  9. package/accordion/sc-accordion.component.d.ts +0 -56
  10. package/accordion/sc-accordion.module.d.ts +0 -15
  11. package/auth/enums/auth-method.d.ts +0 -13
  12. package/auth/index.d.ts +0 -8
  13. package/auth/interfaces/api-error-response.d.ts +0 -13
  14. package/auth/interfaces/index.d.ts +0 -3
  15. package/auth/interfaces/sc-bank-account-form-group.d.ts +0 -11
  16. package/auth/interfaces/sc-contact-form-group.d.ts +0 -10
  17. package/auth/sc-auth.module.d.ts +0 -26
  18. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +0 -39
  19. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +0 -41
  20. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +0 -53
  21. package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +0 -106
  22. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +0 -161
  23. package/banner/index.d.ts +0 -2
  24. package/banner/sc-banner.component.d.ts +0 -88
  25. package/banner/sc-banner.module.d.ts +0 -18
  26. package/brands-list/index.d.ts +0 -2
  27. package/brands-list/sc-brands-list.component.d.ts +0 -15
  28. package/brands-list/sc-brands-list.module.d.ts +0 -12
  29. package/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.d.ts +0 -102
  30. package/cart/add-or-editing-cart-item-dialog/index.d.ts +0 -2
  31. package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts +0 -48
  32. package/cart/cart-item/sc-cart-item.component.d.ts +0 -25
  33. package/cart/index.d.ts +0 -3
  34. package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +0 -62
  35. package/catalog/category-card/sc-category-card.component.d.ts +0 -76
  36. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +0 -23
  37. package/catalog/download-price-list/sc-download-price-list.component.d.ts +0 -38
  38. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +0 -48
  39. package/catalog/index.d.ts +0 -12
  40. package/catalog/input-quantity/sc-input-quantity.component.d.ts +0 -82
  41. package/catalog/notify-when-in-stock-dialog/index.d.ts +0 -2
  42. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +0 -90
  43. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +0 -22
  44. package/catalog/price-card/sc-price-card.component.d.ts +0 -18
  45. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +0 -10
  46. package/catalog/price-history/sc-price-history.component.d.ts +0 -88
  47. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +0 -40
  48. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +0 -47
  49. package/catalog/sc-catalog.module.d.ts +0 -29
  50. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +0 -25
  51. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +0 -49
  52. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +0 -23
  53. package/contacts/index.d.ts +0 -7
  54. package/contacts/manager-card/sc-manager-card.component.d.ts +0 -22
  55. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +0 -18
  56. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +0 -28
  57. package/contacts/sc-contacts.module.d.ts +0 -28
  58. package/contacts/tokens/index.d.ts +0 -2
  59. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +0 -6
  60. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +0 -5
  61. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +0 -49
  62. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +0 -161
  63. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +0 -62
  64. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +0 -49
  65. package/contragents/index.d.ts +0 -7
  66. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +0 -64
  67. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +0 -125
  68. package/contragents/sc-contragents.module.d.ts +0 -27
  69. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -141
  70. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +0 -50
  71. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +0 -49
  72. package/delivery-address/index.d.ts +0 -4
  73. package/delivery-address/sc-delivery-address.module.d.ts +0 -26
  74. package/dialogs/index.d.ts +0 -1
  75. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +0 -42
  76. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +0 -136
  77. package/directives/index.d.ts +0 -7
  78. package/directives/links/index.d.ts +0 -4
  79. package/directives/links/sc-email-link.directive.d.ts +0 -25
  80. package/directives/links/sc-link-location.d.ts +0 -5
  81. package/directives/links/sc-links.d.ts +0 -7
  82. package/directives/links/sc-tel-link.directive.d.ts +0 -40
  83. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +0 -18
  84. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
  85. package/directives/sc-date-value-transformer.directive.d.ts +0 -8
  86. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +0 -14
  87. package/directives/terminal-link/sc-terminal-link.directive.d.ts +0 -34
  88. package/error-handler/consts/error-change-handler.providers.d.ts +0 -5
  89. package/error-handler/error-block-status/error-block-status.component.d.ts +0 -37
  90. package/error-handler/index.d.ts +0 -4
  91. package/error-handler/interfaces/i-block-error.d.ts +0 -17
  92. package/error-handler/sc-error-handler.component.d.ts +0 -40
  93. package/esm2022/accordion/index.mjs +0 -4
  94. package/esm2022/accordion/sc-accordion-content.directive.mjs +0 -17
  95. package/esm2022/accordion/sc-accordion.component.mjs +0 -92
  96. package/esm2022/accordion/sc-accordion.module.mjs +0 -26
  97. package/esm2022/auth/enums/auth-method.mjs +0 -15
  98. package/esm2022/auth/index.mjs +0 -9
  99. package/esm2022/auth/interfaces/api-error-response.mjs +0 -2
  100. package/esm2022/auth/interfaces/index.mjs +0 -4
  101. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +0 -2
  102. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +0 -2
  103. package/esm2022/auth/sc-auth.module.mjs +0 -99
  104. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -87
  105. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -86
  106. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -89
  107. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +0 -187
  108. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -333
  109. package/esm2022/banner/index.mjs +0 -3
  110. package/esm2022/banner/sc-banner.component.mjs +0 -143
  111. package/esm2022/banner/sc-banner.module.mjs +0 -30
  112. package/esm2022/brands-list/index.mjs +0 -3
  113. package/esm2022/brands-list/sc-brands-list.component.mjs +0 -24
  114. package/esm2022/brands-list/sc-brands-list.module.mjs +0 -22
  115. package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +0 -233
  116. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +0 -3
  117. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +0 -74
  118. package/esm2022/cart/cart-item/sc-cart-item.component.mjs +0 -74
  119. package/esm2022/cart/index.mjs +0 -4
  120. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
  121. package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
  122. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -38
  123. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +0 -56
  124. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +0 -76
  125. package/esm2022/catalog/index.mjs +0 -13
  126. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -177
  127. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +0 -3
  128. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +0 -173
  129. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +0 -35
  130. package/esm2022/catalog/price-card/sc-price-card.component.mjs +0 -52
  131. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +0 -56
  132. package/esm2022/catalog/price-history/sc-price-history.component.mjs +0 -140
  133. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -65
  134. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +0 -54
  135. package/esm2022/catalog/sc-catalog.module.mjs +0 -125
  136. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
  137. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -91
  138. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -38
  139. package/esm2022/contacts/index.mjs +0 -8
  140. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +0 -58
  141. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +0 -28
  142. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -37
  143. package/esm2022/contacts/sc-contacts.module.mjs +0 -92
  144. package/esm2022/contacts/tokens/index.mjs +0 -3
  145. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -24
  146. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -7
  147. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -81
  148. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -278
  149. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -75
  150. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -69
  151. package/esm2022/contragents/index.mjs +0 -8
  152. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -72
  153. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -242
  154. package/esm2022/contragents/sc-contragents.module.mjs +0 -118
  155. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -250
  156. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +0 -60
  157. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +0 -69
  158. package/esm2022/delivery-address/index.mjs +0 -5
  159. package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -99
  160. package/esm2022/dialogs/index.mjs +0 -2
  161. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -68
  162. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
  163. package/esm2022/directives/index.mjs +0 -8
  164. package/esm2022/directives/links/index.mjs +0 -5
  165. package/esm2022/directives/links/sc-email-link.directive.mjs +0 -49
  166. package/esm2022/directives/links/sc-link-location.mjs +0 -2
  167. package/esm2022/directives/links/sc-links.mjs +0 -8
  168. package/esm2022/directives/links/sc-tel-link.directive.mjs +0 -79
  169. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +0 -43
  170. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
  171. package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
  172. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +0 -31
  173. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +0 -69
  174. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +0 -8
  175. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -76
  176. package/esm2022/error-handler/index.mjs +0 -5
  177. package/esm2022/error-handler/interfaces/i-block-error.mjs +0 -2
  178. package/esm2022/error-handler/sc-error-handler.component.mjs +0 -58
  179. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +0 -336
  180. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +0 -32
  181. package/esm2022/feedback/index.mjs +0 -4
  182. package/esm2022/feedback/interfaces/index.mjs +0 -2
  183. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +0 -2
  184. package/esm2022/files/directives/index.mjs +0 -3
  185. package/esm2022/files/directives/tree-top.directive.mjs +0 -63
  186. package/esm2022/files/directives/tree.directive.mjs +0 -47
  187. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +0 -18
  188. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +0 -61
  189. package/esm2022/files/files-and-documents.module.mjs +0 -28
  190. package/esm2022/files/index.mjs +0 -6
  191. package/esm2022/files/interfaces/tree-node.mjs +0 -2
  192. package/esm2022/files/services/index.mjs +0 -3
  193. package/esm2022/files/services/tree-icon.service.mjs +0 -49
  194. package/esm2022/files/services/tree-loader.service.mjs +0 -62
  195. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -155
  196. package/esm2022/form-fields/form-fields.module.mjs +0 -69
  197. package/esm2022/form-fields/index.mjs +0 -4
  198. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -175
  199. package/esm2022/helpers/index.mjs +0 -2
  200. package/esm2022/helpers/sc-px-converter.mjs +0 -27
  201. package/esm2022/icons/index.mjs +0 -2
  202. package/esm2022/icons/sc-client-ui-icons-name.mjs +0 -99
  203. package/esm2022/loader/index.mjs +0 -2
  204. package/esm2022/loader/sc-i-loader.mjs +0 -2
  205. package/esm2022/masks/index.mjs +0 -8
  206. package/esm2022/masks/sc-account-number-mask.mjs +0 -7
  207. package/esm2022/masks/sc-bic-mask.mjs +0 -7
  208. package/esm2022/masks/sc-correspondent-account-mask.mjs +0 -7
  209. package/esm2022/masks/sc-inn-mask.mjs +0 -13
  210. package/esm2022/masks/sc-kpp-mask.mjs +0 -7
  211. package/esm2022/masks/sc-okpo-mask.mjs +0 -13
  212. package/esm2022/masks/sc-phone-verification-code-mask.mjs +0 -7
  213. package/esm2022/models/i-sc-image.mjs +0 -2
  214. package/esm2022/models/index.mjs +0 -2
  215. package/esm2022/news/index.mjs +0 -4
  216. package/esm2022/news/news-card/sc-news-card.component.mjs +0 -34
  217. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +0 -31
  218. package/esm2022/news/sc-news.module.mjs +0 -26
  219. package/esm2022/order/index.mjs +0 -4
  220. package/esm2022/order/order-item-mobile/sc-order-item-mobile.component.mjs +0 -60
  221. package/esm2022/order/sc-order.module.mjs +0 -53
  222. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  223. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +0 -28
  224. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -6
  225. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +0 -59
  226. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +0 -106
  227. package/esm2022/pages/index.mjs +0 -4
  228. package/esm2022/pipes/index.mjs +0 -3
  229. package/esm2022/pipes/sc-format-date.mjs +0 -33
  230. package/esm2022/pipes/sc-phone-format.mjs +0 -44
  231. package/esm2022/profile/index.mjs +0 -3
  232. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -175
  233. package/esm2022/profile/sc-profile.module.mjs +0 -76
  234. package/esm2022/providers/date-value-transformer/index.mjs +0 -4
  235. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +0 -2
  236. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +0 -26
  237. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +0 -37
  238. package/esm2022/providers/index.mjs +0 -12
  239. package/esm2022/providers/sc-allow-select-terminated.mjs +0 -6
  240. package/esm2022/providers/sc-country-ids.mjs +0 -6
  241. package/esm2022/providers/sc-date-formatter.mjs +0 -12
  242. package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
  243. package/esm2022/providers/sc-help-notification-close.mjs +0 -7
  244. package/esm2022/providers/sc-help-notification-limit.mjs +0 -6
  245. package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -6
  246. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -6
  247. package/esm2022/providers/sc-page-size-options.mjs +0 -6
  248. package/esm2022/providers/sc-user-providers.mjs +0 -33
  249. package/esm2022/providers/sc-verification-code-timeout.mjs +0 -6
  250. package/esm2022/public-api.mjs +0 -35
  251. package/esm2022/qrcode/index.mjs +0 -3
  252. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +0 -58
  253. package/esm2022/qrcode/sc-qrcode.module.mjs +0 -25
  254. package/esm2022/samples/index.mjs +0 -5
  255. package/esm2022/samples/interfaces/index.mjs +0 -3
  256. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +0 -2
  257. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +0 -2
  258. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +0 -42
  259. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +0 -63
  260. package/esm2022/samples/sc-sample.module.mjs +0 -68
  261. package/esm2022/services/index.mjs +0 -2
  262. package/esm2022/services/sc-help-notification.service.mjs +0 -90
  263. package/esm2022/share-button/index.mjs +0 -3
  264. package/esm2022/share-button/sc-share-button.component.mjs +0 -35
  265. package/esm2022/share-button/sc-share-button.module.mjs +0 -22
  266. package/esm2022/snabcentr-client-ui.mjs +0 -5
  267. package/esm2022/user/index.mjs +0 -6
  268. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +0 -75
  269. package/esm2022/user/sc-user.module.mjs +0 -89
  270. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -122
  271. package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -42
  272. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -106
  273. package/esm2022/validators/index.mjs +0 -7
  274. package/esm2022/validators/sc-at-least-one-required-validator.mjs +0 -25
  275. package/esm2022/validators/sc-bic-validator.mjs +0 -10
  276. package/esm2022/validators/sc-correspondent-account-validator.mjs +0 -10
  277. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +0 -17
  278. package/esm2022/validators/sc-phone-validator.mjs +0 -14
  279. package/esm2022/validators/step-validator.mjs +0 -18
  280. package/esm2022/verification/index.mjs +0 -4
  281. package/esm2022/verification/providers/index.mjs +0 -3
  282. package/esm2022/verification/providers/sc-phone-approve-code-sender.provider.mjs +0 -12
  283. package/esm2022/verification/providers/sc-phone-approve-code-sender.token.mjs +0 -7
  284. package/esm2022/verification/sc-verification.module.mjs +0 -88
  285. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -277
  286. package/feedback/feedback-form/sc-feedback-form.component.d.ts +0 -159
  287. package/feedback/gratitude/sc-gratitude.component.d.ts +0 -20
  288. package/feedback/index.d.ts +0 -3
  289. package/feedback/interfaces/index.d.ts +0 -1
  290. package/feedback/interfaces/sc-feedback-form-config.d.ts +0 -23
  291. package/files/directives/index.d.ts +0 -2
  292. package/files/directives/tree-top.directive.d.ts +0 -33
  293. package/files/directives/tree.directive.d.ts +0 -35
  294. package/files/file-tree-item/file-tree-item.component.d.ts +0 -9
  295. package/files/files-and-documents/files-and-documents.component.d.ts +0 -27
  296. package/files/files-and-documents.module.d.ts +0 -17
  297. package/files/index.d.ts +0 -5
  298. package/files/interfaces/tree-node.d.ts +0 -29
  299. package/files/services/index.d.ts +0 -2
  300. package/files/services/tree-icon.service.d.ts +0 -23
  301. package/files/services/tree-loader.service.d.ts +0 -43
  302. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -78
  303. package/form-fields/form-fields.module.d.ts +0 -19
  304. package/form-fields/index.d.ts +0 -3
  305. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -73
  306. package/helpers/index.d.ts +0 -1
  307. package/helpers/sc-px-converter.d.ts +0 -15
  308. package/icons/index.d.ts +0 -1
  309. package/icons/sc-client-ui-icons-name.d.ts +0 -4
  310. package/loader/index.d.ts +0 -1
  311. package/loader/sc-i-loader.d.ts +0 -9
  312. package/masks/index.d.ts +0 -7
  313. package/masks/sc-account-number-mask.d.ts +0 -5
  314. package/masks/sc-bic-mask.d.ts +0 -5
  315. package/masks/sc-correspondent-account-mask.d.ts +0 -5
  316. package/masks/sc-inn-mask.d.ts +0 -9
  317. package/masks/sc-kpp-mask.d.ts +0 -5
  318. package/masks/sc-okpo-mask.d.ts +0 -9
  319. package/masks/sc-phone-verification-code-mask.d.ts +0 -5
  320. package/models/i-sc-image.d.ts +0 -17
  321. package/models/index.d.ts +0 -1
  322. package/news/index.d.ts +0 -3
  323. package/news/news-card/sc-news-card.component.d.ts +0 -22
  324. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +0 -16
  325. package/news/sc-news.module.d.ts +0 -16
  326. package/order/index.d.ts +0 -3
  327. package/order/order-item-mobile/sc-order-item-mobile.component.d.ts +0 -39
  328. package/order/sc-order.module.d.ts +0 -19
  329. package/order/sc-payment-status/sc-payment-status.component.d.ts +0 -25
  330. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +0 -18
  331. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +0 -5
  332. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +0 -28
  333. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +0 -79
  334. package/pages/index.d.ts +0 -3
  335. package/pipes/index.d.ts +0 -2
  336. package/pipes/sc-format-date.d.ts +0 -20
  337. package/pipes/sc-phone-format.d.ts +0 -21
  338. package/profile/index.d.ts +0 -2
  339. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +0 -126
  340. package/profile/sc-profile.module.d.ts +0 -24
  341. package/providers/date-value-transformer/index.d.ts +0 -3
  342. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +0 -9
  343. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +0 -16
  344. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +0 -22
  345. package/providers/index.d.ts +0 -11
  346. package/providers/sc-allow-select-terminated.d.ts +0 -5
  347. package/providers/sc-country-ids.d.ts +0 -5
  348. package/providers/sc-date-formatter.d.ts +0 -6
  349. package/providers/sc-date-value-transformer.d.ts +0 -5
  350. package/providers/sc-help-notification-close.d.ts +0 -6
  351. package/providers/sc-help-notification-limit.d.ts +0 -5
  352. package/providers/sc-max-files-in-form-input.d.ts +0 -5
  353. package/providers/sc-notify-when-in-stock-required-fields.d.ts +0 -5
  354. package/providers/sc-page-size-options.d.ts +0 -5
  355. package/providers/sc-user-providers.d.ts +0 -21
  356. package/providers/sc-verification-code-timeout.d.ts +0 -5
  357. package/public-api.d.ts +0 -31
  358. package/qrcode/index.d.ts +0 -2
  359. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +0 -37
  360. package/qrcode/sc-qrcode.module.d.ts +0 -14
  361. package/samples/index.d.ts +0 -4
  362. package/samples/interfaces/index.d.ts +0 -2
  363. package/samples/interfaces/sc-i-preview-sample.d.ts +0 -56
  364. package/samples/interfaces/sc-preview-mosquito-config.d.ts +0 -62
  365. package/samples/preview-sample/sc-preview-sample.component.d.ts +0 -30
  366. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +0 -50
  367. package/samples/sc-sample.module.d.ts +0 -19
  368. package/services/index.d.ts +0 -1
  369. package/services/sc-help-notification.service.d.ts +0 -64
  370. package/share-button/index.d.ts +0 -2
  371. package/share-button/sc-share-button.component.d.ts +0 -22
  372. package/share-button/sc-share-button.module.d.ts +0 -12
  373. package/user/index.d.ts +0 -5
  374. package/user/reset-user-password/sc-reset-user-password.component.d.ts +0 -46
  375. package/user/sc-user.module.d.ts +0 -25
  376. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +0 -63
  377. package/user/user-managers/sc-user-managers.component.d.ts +0 -26
  378. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +0 -53
  379. package/validators/index.d.ts +0 -6
  380. package/validators/sc-at-least-one-required-validator.d.ts +0 -10
  381. package/validators/sc-bic-validator.d.ts +0 -8
  382. package/validators/sc-correspondent-account-validator.d.ts +0 -8
  383. package/validators/sc-password-confirm-matching-validator.d.ts +0 -8
  384. package/validators/sc-phone-validator.d.ts +0 -5
  385. package/validators/step-validator.d.ts +0 -8
  386. package/verification/index.d.ts +0 -3
  387. package/verification/providers/index.d.ts +0 -2
  388. package/verification/providers/sc-phone-approve-code-sender.provider.d.ts +0 -6
  389. package/verification/providers/sc-phone-approve-code-sender.token.d.ts +0 -7
  390. package/verification/sc-verification.module.d.ts +0 -21
  391. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -149
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snabcentr/client-ui",
3
- "version": "3.37.7",
3
+ "version": "4.0.1",
4
4
  "author": "Snabcentr Ltd.",
5
5
  "repository": "https://gitlab.snabcentr.met/web/angular/snabcentr-client-ui-lib",
6
6
  "license": "Commercial",
@@ -50,8 +50,6 @@
50
50
  },
51
51
  ".": {
52
52
  "types": "./index.d.ts",
53
- "esm2022": "./esm2022/snabcentr-client-ui.mjs",
54
- "esm": "./esm2022/snabcentr-client-ui.mjs",
55
53
  "default": "./fesm2022/snabcentr-client-ui.mjs"
56
54
  }
57
55
  }
package/release_notes.tmp CHANGED
@@ -1,7 +1,4 @@
1
- ## 3.37.7 (2025-08-18)
1
+ ## 4.0.1 (2025-09-05)
2
2
 
3
- ### fixed (2 changes)
4
-
5
- - [#12073: Доработана логика отображения уведомлений контактов. При любых ошибках...](web_soft/libs/angular/snabcentr-client-ui-lib@de29ea680cd128444ef927b79a50b9f0581f7909) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!313))
6
- - [#12103: Доработаны компоненты для избавления от ошибки цикличности DI](web_soft/libs/angular/snabcentr-client-ui-lib@a57b7a175874799bec6ac6bb3ac3a489090970ec) ([merge request](web_soft/libs/angular/snabcentr-client-ui-lib!312))
3
+ No changes.
7
4
 
@@ -554,72 +554,10 @@ 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
- .sr-only {
592
- position: absolute;
593
- width: 1px;
594
- height: 1px;
595
- padding: 0;
596
- margin: -1px;
597
- overflow: hidden;
598
- clip: rect(0, 0, 0, 0);
599
- white-space: nowrap;
600
- border-width: 0;
601
- }
602
-
603
557
  .pointer-events-none {
604
558
  pointer-events: none;
605
559
  }
606
560
 
607
- .\!visible {
608
- visibility: visible !important;
609
- }
610
-
611
- .visible {
612
- visibility: visible;
613
- }
614
-
615
- .invisible {
616
- visibility: hidden;
617
- }
618
-
619
- .collapse {
620
- visibility: collapse;
621
- }
622
-
623
561
  .static {
624
562
  position: static;
625
563
  }
@@ -640,10 +578,6 @@ video {
640
578
  position: relative;
641
579
  }
642
580
 
643
- .sticky {
644
- position: sticky;
645
- }
646
-
647
581
  .-left-1 {
648
582
  left: -0.25rem;
649
583
  }
@@ -684,10 +618,6 @@ video {
684
618
  top: 50%;
685
619
  }
686
620
 
687
- .isolate {
688
- isolation: isolate;
689
- }
690
-
691
621
  .-z-10 {
692
622
  z-index: -10;
693
623
  }
@@ -794,10 +724,6 @@ video {
794
724
  display: block;
795
725
  }
796
726
 
797
- .inline {
798
- display: inline;
799
- }
800
-
801
727
  .flex {
802
728
  display: flex;
803
729
  }
@@ -814,10 +740,6 @@ video {
814
740
  display: grid;
815
741
  }
816
742
 
817
- .contents {
818
- display: contents;
819
- }
820
-
821
743
  .\!hidden {
822
744
  display: none !important;
823
745
  }
@@ -999,10 +921,6 @@ video {
999
921
  flex-shrink: 1;
1000
922
  }
1001
923
 
1002
- .shrink {
1003
- flex-shrink: 1;
1004
- }
1005
-
1006
924
  .shrink-0 {
1007
925
  flex-shrink: 0;
1008
926
  }
@@ -1048,10 +966,6 @@ video {
1048
966
  user-select: none;
1049
967
  }
1050
968
 
1051
- .resize {
1052
- resize: both;
1053
- }
1054
-
1055
969
  .grid-cols-1 {
1056
970
  grid-template-columns: repeat(1, minmax(0, 1fr));
1057
971
  }
@@ -1207,12 +1121,6 @@ video {
1207
1121
  overflow: hidden;
1208
1122
  }
1209
1123
 
1210
- .truncate {
1211
- overflow: hidden;
1212
- text-overflow: ellipsis;
1213
- white-space: nowrap;
1214
- }
1215
-
1216
1124
  .\!whitespace-normal {
1217
1125
  white-space: normal !important;
1218
1126
  }
@@ -1376,10 +1284,6 @@ video {
1376
1284
  padding: 0.25rem;
1377
1285
  }
1378
1286
 
1379
- .p-10 {
1380
- padding: 2.5rem;
1381
- }
1382
-
1383
1287
  .p-2 {
1384
1288
  padding: 0.5rem;
1385
1289
  }
@@ -1595,27 +1499,6 @@ video {
1595
1499
  font-weight: 500;
1596
1500
  }
1597
1501
 
1598
- .uppercase {
1599
- text-transform: uppercase;
1600
- }
1601
-
1602
- .lowercase {
1603
- text-transform: lowercase;
1604
- }
1605
-
1606
- .capitalize {
1607
- text-transform: capitalize;
1608
- }
1609
-
1610
- .italic {
1611
- font-style: italic;
1612
- }
1613
-
1614
- .ordinal {
1615
- --tw-ordinal: ordinal;
1616
- font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
1617
- }
1618
-
1619
1502
  .leading-1\.15 {
1620
1503
  line-height: 1.15;
1621
1504
  }
@@ -1688,14 +1571,6 @@ video {
1688
1571
  text-decoration-line: underline !important;
1689
1572
  }
1690
1573
 
1691
- .underline {
1692
- text-decoration-line: underline;
1693
- }
1694
-
1695
- .overline {
1696
- text-decoration-line: overline;
1697
- }
1698
-
1699
1574
  .line-through {
1700
1575
  text-decoration-line: line-through;
1701
1576
  }
@@ -1708,12 +1583,6 @@ video {
1708
1583
  opacity: 0.9;
1709
1584
  }
1710
1585
 
1711
- .shadow {
1712
- --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
1713
- --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
1714
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
1715
- }
1716
-
1717
1586
  .shadow-sc {
1718
1587
  --tw-shadow: 2px 7px 20px 1px rgba(0, 0, 0, 0.1);
1719
1588
  --tw-shadow-colored: 2px 7px 20px 1px var(--tw-shadow-color);
@@ -1736,12 +1605,6 @@ video {
1736
1605
  outline-style: solid;
1737
1606
  }
1738
1607
 
1739
- .ring {
1740
- --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1741
- --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1742
- box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1743
- }
1744
-
1745
1608
  .blur {
1746
1609
  --tw-blur: blur(8px);
1747
1610
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
@@ -1757,58 +1620,19 @@ video {
1757
1620
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1758
1621
  }
1759
1622
 
1760
- .invert {
1761
- --tw-invert: invert(100%);
1762
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1763
- }
1764
-
1765
1623
  .saturate-0 {
1766
1624
  --tw-saturate: saturate(0);
1767
1625
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1768
1626
  }
1769
1627
 
1770
- .sepia {
1771
- --tw-sepia: sepia(100%);
1772
- filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1773
- }
1774
-
1775
1628
  .filter {
1776
1629
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1777
1630
  }
1778
1631
 
1779
- .backdrop-filter {
1780
- -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
1781
- backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
1782
- }
1783
-
1784
- .transition {
1785
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
1786
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1787
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1788
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1789
- transition-duration: 150ms;
1790
- }
1791
-
1792
1632
  .duration-500 {
1793
1633
  transition-duration: 500ms;
1794
1634
  }
1795
1635
 
1796
- .ease-in {
1797
- transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
1798
- }
1799
-
1800
- .ease-in-out {
1801
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1802
- }
1803
-
1804
- .ease-out {
1805
- transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
1806
- }
1807
-
1808
- .\[k\:string\] {
1809
- k: string;
1810
- }
1811
-
1812
1636
  .hover\:bg-tui-background-neutral-1:hover {
1813
1637
  background-color: var(--tui-background-neutral-1);
1814
1638
  }
@@ -1,3 +0,0 @@
1
- export * from './sc-accordion-content.directive';
2
- export * from './sc-accordion.component';
3
- export * from './sc-accordion.module';
@@ -1,9 +0,0 @@
1
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Директива содержимого компонента, позволяющего отображать и скрывать содержимое в разделах.
5
- */
6
- export declare class ScAccordionContentDirective extends PolymorpheusTemplate<Record<string, unknown>> {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAccordionContentDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScAccordionContentDirective, "ng-template[scAccordionContent]", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,56 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { TuiSizeS } from '@taiga-ui/core';
3
- import { TuiAccordionItem } from '@taiga-ui/kit';
4
- import { ScAccordionContentDirective } from './sc-accordion-content.directive';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Компонент, позволяющий отображать и скрывать содержимое в разделах.
8
- */
9
- export declare class ScAccordionComponent {
10
- /**
11
- * Состояние отображения кнопки добавления.
12
- */
13
- showAddButton: boolean;
14
- /**
15
- * Состояние отображения кнопки удаления.
16
- */
17
- showDeleteButton: boolean;
18
- /**
19
- * Состояние отображения стрелки.
20
- */
21
- showArrow: boolean;
22
- /**
23
- * Состояние открытия содержимого компонента.
24
- */
25
- open: boolean;
26
- /**
27
- * Размер элементов {@link TuiAccordionItemComponent}.
28
- */
29
- size: TuiSizeS;
30
- /**
31
- * Состояние отключения кнопок.
32
- */
33
- readonly disabledButtons: import("@angular/core").InputSignal<boolean>;
34
- /**
35
- * Дочерний элемент контента.
36
- */
37
- protected readonly content?: ScAccordionContentDirective;
38
- /**
39
- * Ссылка на шаблон превью-просмотра в разметке.
40
- */
41
- readonly accordion?: TuiAccordionItem;
42
- /**
43
- * Событие нажатия на кнопку добавления.
44
- */
45
- addButtonClick: EventEmitter<void>;
46
- /**
47
- * Событие нажатия на кнопку удаления.
48
- */
49
- deleteButtonClick: EventEmitter<void>;
50
- /**
51
- * Закрывает акордион.
52
- */
53
- close(): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAccordionComponent, never>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<ScAccordionComponent, "sc-accordion", never, { "showAddButton": { "alias": "showAddButton"; "required": false; }; "showDeleteButton": { "alias": "showDeleteButton"; "required": false; }; "showArrow": { "alias": "showArrow"; "required": false; }; "open": { "alias": "open"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabledButtons": { "alias": "disabledButtons"; "required": false; "isSignal": true; }; }, { "addButtonClick": "addButtonClick"; "deleteButtonClick": "deleteButtonClick"; }, ["content"], ["*"], false, never>;
56
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sc-accordion.component";
3
- import * as i2 from "./sc-accordion-content.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/core";
7
- import * as i6 from "@taiga-ui/kit";
8
- /**
9
- * Модуль для отображение контента разделами, с возможностью скрывать и отображать содержимое.
10
- */
11
- export declare class ScAccordionModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAccordionModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScAccordionModule, [typeof i1.ScAccordionComponent, typeof i2.ScAccordionContentDirective], [typeof i3.CommonModule, typeof i4.PolymorpheusTemplate, typeof i4.PolymorpheusOutlet, typeof i5.TuiButton, typeof i6.TuiAccordionItem, typeof i6.TuiAccordionDirective, typeof i6.TuiAccordionItemContent, typeof i6.TuiAccordionItemEagerContent, typeof i6.TuiElasticContainer], [typeof i1.ScAccordionComponent, typeof i2.ScAccordionContentDirective]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<ScAccordionModule>;
15
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Перечисление типов аутентификации.
3
- */
4
- export declare enum AuthMethod {
5
- /**
6
- * Аутентификация по номеру телефона и коду подтверждения.
7
- */
8
- byPhone = "by_phone",
9
- /**
10
- * Аутентификация по логину и паролю.
11
- */
12
- byEmail = "by_email"
13
- }
package/auth/index.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export * from './sc-simple-sign-up-form/sc-simple-sign-up-form.component';
2
- export * from './sc-sign-in-form/sc-sign-in-form.component';
3
- export * from './sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component';
4
- export * from './sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component';
5
- export * from './sign-up-form/sc-sign-up-form.component';
6
- export * from './enums/auth-method';
7
- export * from './interfaces';
8
- export * from './sc-auth.module';
@@ -1,13 +0,0 @@
1
- /**
2
- * Данные об ошибках валидации API запросов.
3
- */
4
- export interface ApiErrorResponse {
5
- /**
6
- * Обобщённое сообщение об ошибке.
7
- */
8
- message: string;
9
- /**
10
- * Подробное описание каждой ошибки. Содержит список полей с детальным описанием ошибок валидации для каждого поля.
11
- */
12
- errors?: Record<string, string[]>;
13
- }
@@ -1,3 +0,0 @@
1
- export * from './api-error-response';
2
- export * from './sc-bank-account-form-group';
3
- export * from './sc-contact-form-group';
@@ -1,11 +0,0 @@
1
- import { FormControl, FormGroup } from '@angular/forms';
2
- /**
3
- * Модель данных полей формы банковского аккаунта.
4
- */
5
- export type ScBankAccountFormGroup = FormGroup<{
6
- bankName: FormControl<string | null>;
7
- bic: FormControl<string | null>;
8
- accountNumber: FormControl<string | null>;
9
- correspondentAccount: FormControl<string | null>;
10
- currencyId: FormControl<number | null>;
11
- }>;
@@ -1,10 +0,0 @@
1
- import { FormControl, FormGroup } from '@angular/forms';
2
- /**
3
- * Модель данных полей формы контактного лица.
4
- */
5
- export type ScContactFormGroup = FormGroup<{
6
- name: FormControl<string | null>;
7
- phone: FormControl<string | null>;
8
- email: FormControl<string | null>;
9
- position: FormControl<string | null>;
10
- }>;
@@ -1,26 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sc-sign-in-form/sc-sign-in-form.component";
3
- import * as i2 from "./sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component";
4
- import * as i3 from "./sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component";
5
- import * as i4 from "./sign-up-form/sc-sign-up-form.component";
6
- import * as i5 from "./sc-simple-sign-up-form/sc-simple-sign-up-form.component";
7
- import * as i6 from "@angular/common";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "@taiga-ui/legacy";
10
- import * as i9 from "@taiga-ui/core";
11
- import * as i10 from "@taiga-ui/kit";
12
- import * as i11 from "@taiga-ui/cdk";
13
- import * as i12 from "@maskito/angular";
14
- import * as i13 from "../verification/sc-verification.module";
15
- import * as i14 from "../form-fields/form-fields.module";
16
- import * as i15 from "@taiga-ui/core/components/data-list";
17
- import * as i16 from "../contragents/sc-contragents.module";
18
- import * as i17 from "../contacts/sc-contacts.module";
19
- /**
20
- * Модуль аутентификации.
21
- */
22
- export declare class ScAuthModule {
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAuthModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScAuthModule, [typeof i1.ScSignInFormComponent, typeof i2.ScSignInFormByPhoneComponent, typeof i3.ScSignInFormByEmailComponent, typeof i4.ScSignUpFormComponent, typeof i5.ScSimpleSignUpFormComponent], [typeof i6.CommonModule, typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.TuiInputPasswordModule, typeof i8.TuiInputModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiLink, typeof i9.TuiButton, typeof i9.TuiLabel, typeof i10.TuiFieldErrorPipe, typeof i9.TuiError, typeof i11.TuiLet, typeof i9.TuiLoader, typeof i8.TuiInputPhoneModule, typeof i12.MaskitoDirective, typeof i13.ScVerificationModule, typeof i14.ScFormFieldsModule, typeof i9.TuiDataListComponent, typeof i9.TuiDataListDirective, typeof i9.TuiOption, typeof i9.TuiOptionNew, typeof i9.TuiOptionWithValue, typeof i9.TuiOptGroup, typeof i10.TuiCheckbox, typeof i10.TuiElasticContainer, typeof i10.TuiDataListWrapperComponent, typeof i10.TuiDataListGroupWrapperComponent, typeof i15.TuiDataListDirective, typeof i8.TuiSelectModule, typeof i16.ScContragentsModule, typeof i17.ScContactsModule, typeof i10.TuiStepperComponent, typeof i10.TuiStep, typeof i11.TuiRepeatTimes, typeof i10.TuiButtonLoading], [typeof i1.ScSignInFormComponent, typeof i2.ScSignInFormByPhoneComponent, typeof i3.ScSignInFormByEmailComponent, typeof i4.ScSignUpFormComponent, typeof i5.ScSimpleSignUpFormComponent]>;
25
- static ɵinj: i0.ɵɵInjectorDeclaration<ScAuthModule>;
26
- }
@@ -1,39 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { ScAuthService } from '@snabcentr/client-core';
4
- import { Observable, Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Компонент аутентификации по адресу электронной почты и паролю.
8
- */
9
- export declare class ScSignInFormByEmailComponent {
10
- private readonly authService;
11
- /**
12
- * Группа полей ввода для формы «Вход на сайт».
13
- */
14
- readonly formByEmail: FormGroup;
15
- /**
16
- * {@link Subject} события отправки формы.
17
- */
18
- readonly onSubmit: Subject<void>;
19
- /**
20
- * {@link Observable} запроса данных аутентификации.
21
- */
22
- private readonly emailRequest$;
23
- /**
24
- * {@link Observable} изменения состояния загрузки данных аутентификации по email.
25
- */
26
- readonly loadingEmailAuth$: Observable<boolean>;
27
- /**
28
- * Сигнал нажатия на кнопку "Забыли пароль".
29
- */
30
- readonly forgotPassword: EventEmitter<void>;
31
- /**
32
- * Инициализирует экземпляр класса {@link ScSignInFormByEmailComponent}.
33
- *
34
- * @param authService Сервис аутентификации.
35
- */
36
- constructor(authService: ScAuthService);
37
- static ɵfac: i0.ɵɵFactoryDeclaration<ScSignInFormByEmailComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormByEmailComponent, "sc-sign-in-form-by-email", never, {}, { "forgotPassword": "forgotPassword"; }, never, never, false, never>;
39
- }
@@ -1,41 +0,0 @@
1
- import { FormControl, FormGroup } from '@angular/forms';
2
- import { ScAuthService } from '@snabcentr/client-core';
3
- import { Observable, Subject } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Компонент аутентификации по номеру телефона и коду подтверждения.
7
- */
8
- export declare class ScSignInFormByPhoneComponent {
9
- private readonly authService;
10
- /**
11
- * Наличие кода подтверждения у пользователя.
12
- */
13
- haveCode: boolean;
14
- /**
15
- * Группа полей ввода для формы «Вход на сайт».
16
- */
17
- readonly form: FormGroup<{
18
- phone: FormControl<string | null>;
19
- verificationCode: FormControl<string | null>;
20
- }>;
21
- /**
22
- * {@link Subject} события отправки формы.
23
- */
24
- readonly onSubmit: Subject<void>;
25
- /**
26
- * {@link Observable} запроса данных аутентификации.
27
- */
28
- private readonly request$;
29
- /**
30
- * {@link Observable} изменения состояния загрузки данных аутентификации по номеру телефона.
31
- */
32
- readonly loading$: Observable<boolean>;
33
- /**
34
- * Инициализирует экземпляр класса {@link ScSignInFormByPhoneComponent}.
35
- *
36
- * @param authService Сервис аутентификации.
37
- */
38
- constructor(authService: ScAuthService);
39
- static ɵfac: i0.ɵɵFactoryDeclaration<ScSignInFormByPhoneComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormByPhoneComponent, "sc-sign-in-form-by-phone", never, {}, {}, never, never, false, never>;
41
- }
@@ -1,53 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { ScAuthService, ScUserMetrikaService } from '@snabcentr/client-core';
3
- import { Observable } from 'rxjs';
4
- import { AuthMethod } from '../enums/auth-method';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Компонент аутентификации пользователя.
8
- */
9
- export declare class ScSignInFormComponent implements OnInit {
10
- private readonly authService;
11
- private readonly userMetrikaService;
12
- /**
13
- * Выбранный способ аутентификации.
14
- */
15
- authMethod: AuthMethod;
16
- /**
17
- * Перечисление способов аутентификации.
18
- */
19
- method: typeof AuthMethod;
20
- /**
21
- * Сигнал нажатия на кнопку "Забыли пароль".
22
- */
23
- readonly forgotPassword: EventEmitter<void>;
24
- /**
25
- * Сигнал нажатия на кнопку "Зарегистрироваться".
26
- */
27
- readonly signUp: EventEmitter<void>;
28
- /**
29
- * Сигнал события аутентификации.
30
- */
31
- readonly successAuth: Observable<boolean>;
32
- /**
33
- * Инициализирует экземпляр класса {@link ScSignInFormComponent}.
34
- *
35
- * @param authService Сервис аутентификации.
36
- * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
37
- */
38
- constructor(authService: ScAuthService, userMetrikaService: ScUserMetrikaService);
39
- /** @inheritDoc */
40
- ngOnInit(): void;
41
- /**
42
- * Осуществляет переключение способов аутентификации.
43
- *
44
- * @param authMethod Выбранный способ аутентификации.
45
- */
46
- switchAuth(authMethod: AuthMethod): void;
47
- /**
48
- * Обрабатывает нажатие на кнопку "Забыли пароль" и выдает сигнал об этом.
49
- */
50
- onForgotPassword(): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<ScSignInFormComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<ScSignInFormComponent, "sc-sign-in-form", never, { "authMethod": { "alias": "authMethod"; "required": false; }; }, { "forgotPassword": "forgotPassword"; "signUp": "signUp"; "successAuth": "successAuth"; }, never, never, false, never>;
53
- }