@snabcentr/client-ui 4.6.6 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (469) hide show
  1. package/fesm2022/snabcentr-client-ui.mjs +3362 -4046
  2. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  3. package/package.json +35 -36
  4. package/release_notes.tmp +2 -14
  5. package/styles/taiga/variables.less +16 -17
  6. package/styles/tailwind/tailwind.scss +0 -8
  7. package/types/snabcentr-client-ui.d.ts +5704 -0
  8. package/accordion/index.d.ts +0 -3
  9. package/accordion/sc-accordion-content.directive.d.ts +0 -9
  10. package/accordion/sc-accordion.component.d.ts +0 -56
  11. package/accordion/sc-accordion.module.d.ts +0 -15
  12. package/auth/enums/auth-method.d.ts +0 -13
  13. package/auth/index.d.ts +0 -8
  14. package/auth/interfaces/index.d.ts +0 -2
  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 -27
  18. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +0 -55
  19. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +0 -45
  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 -113
  22. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +0 -166
  23. package/banner/index.d.ts +0 -2
  24. package/banner/sc-banner.component.d.ts +0 -79
  25. package/banner/sc-banner.module.d.ts +0 -17
  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 -98
  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 -49
  32. package/cart/index.d.ts +0 -2
  33. package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +0 -62
  34. package/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.d.ts +0 -47
  35. package/catalog/catalog-filters/index.d.ts +0 -4
  36. package/catalog/catalog-filters/sc-catalog-filters.component.d.ts +0 -180
  37. package/catalog/catalog-filters/tokens/sc-catalog-products-filters.d.ts +0 -7
  38. package/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.d.ts +0 -5
  39. package/catalog/category-card/sc-category-card.component.d.ts +0 -76
  40. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +0 -23
  41. package/catalog/download-price-list/sc-download-price-list.component.d.ts +0 -38
  42. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +0 -48
  43. package/catalog/index.d.ts +0 -15
  44. package/catalog/input-quantity/sc-input-quantity.component.d.ts +0 -82
  45. package/catalog/notify-when-in-stock-dialog/index.d.ts +0 -2
  46. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +0 -90
  47. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +0 -22
  48. package/catalog/price-card/sc-price-card.component.d.ts +0 -18
  49. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +0 -10
  50. package/catalog/price-history/sc-price-history.component.d.ts +0 -88
  51. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +0 -40
  52. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +0 -47
  53. package/catalog/sc-catalog.module.d.ts +0 -29
  54. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +0 -25
  55. package/catalog/seo-tags/sc-seo-tags.component.d.ts +0 -20
  56. package/configurators/index.d.ts +0 -3
  57. package/configurators/models/index.d.ts +0 -3
  58. package/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.d.ts +0 -22
  59. package/configurators/models/sandwich/sc-i-sandwich-settings.d.ts +0 -18
  60. package/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.d.ts +0 -18
  61. package/configurators/sandwich/index.d.ts +0 -3
  62. package/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.d.ts +0 -8
  63. package/configurators/sandwich/sc-i-new-cart-item-sandwich.d.ts +0 -14
  64. package/configurators/sandwich/sc-sandwich.component.d.ts +0 -182
  65. package/configurators/sandwich_m2/index.d.ts +0 -4
  66. package/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.d.ts +0 -8
  67. package/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.d.ts +0 -23
  68. package/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.d.ts +0 -13
  69. package/configurators/sandwich_m2/sc-sandwich-m2.component.d.ts +0 -267
  70. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +0 -49
  71. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +0 -23
  72. package/contacts/index.d.ts +0 -7
  73. package/contacts/manager-card/sc-manager-card.component.d.ts +0 -22
  74. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +0 -18
  75. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +0 -28
  76. package/contacts/sc-contacts.module.d.ts +0 -27
  77. package/contacts/tokens/index.d.ts +0 -2
  78. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +0 -6
  79. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +0 -5
  80. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +0 -49
  81. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +0 -158
  82. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +0 -62
  83. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +0 -49
  84. package/contragents/index.d.ts +0 -7
  85. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +0 -64
  86. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +0 -119
  87. package/contragents/sc-contragents.module.d.ts +0 -26
  88. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -141
  89. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +0 -50
  90. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +0 -49
  91. package/delivery-address/index.d.ts +0 -4
  92. package/delivery-address/sc-delivery-address.module.d.ts +0 -25
  93. package/dialogs/index.d.ts +0 -1
  94. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +0 -42
  95. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +0 -136
  96. package/directives/index.d.ts +0 -9
  97. package/directives/links/index.d.ts +0 -4
  98. package/directives/links/sc-email-link.directive.d.ts +0 -25
  99. package/directives/links/sc-link-location.d.ts +0 -5
  100. package/directives/links/sc-links.d.ts +0 -7
  101. package/directives/links/sc-tel-link.directive.d.ts +0 -40
  102. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +0 -27
  103. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
  104. package/directives/print/sc-print.directive.d.ts +0 -21
  105. package/directives/sc-date-value-transformer.directive.d.ts +0 -8
  106. package/directives/sc-focus-first-invalid-field.directive.d.ts +0 -30
  107. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +0 -14
  108. package/directives/terminal-link/sc-terminal-link.directive.d.ts +0 -34
  109. package/error-handler/consts/error-change-handler.providers.d.ts +0 -6
  110. package/error-handler/error-block-status/error-block-status.component.d.ts +0 -45
  111. package/error-handler/index.d.ts +0 -4
  112. package/error-handler/interfaces/i-block-error.d.ts +0 -17
  113. package/error-handler/sc-error-handler.component.d.ts +0 -40
  114. package/esm2022/accordion/index.mjs +0 -4
  115. package/esm2022/accordion/sc-accordion-content.directive.mjs +0 -17
  116. package/esm2022/accordion/sc-accordion.component.mjs +0 -92
  117. package/esm2022/accordion/sc-accordion.module.mjs +0 -26
  118. package/esm2022/auth/enums/auth-method.mjs +0 -15
  119. package/esm2022/auth/index.mjs +0 -9
  120. package/esm2022/auth/interfaces/index.mjs +0 -3
  121. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +0 -2
  122. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +0 -2
  123. package/esm2022/auth/sc-auth.module.mjs +0 -103
  124. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -100
  125. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -81
  126. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -89
  127. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +0 -203
  128. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -334
  129. package/esm2022/banner/index.mjs +0 -3
  130. package/esm2022/banner/sc-banner.component.mjs +0 -131
  131. package/esm2022/banner/sc-banner.module.mjs +0 -29
  132. package/esm2022/brands-list/index.mjs +0 -3
  133. package/esm2022/brands-list/sc-brands-list.component.mjs +0 -24
  134. package/esm2022/brands-list/sc-brands-list.module.mjs +0 -22
  135. 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 -229
  136. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +0 -3
  137. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +0 -75
  138. package/esm2022/cart/index.mjs +0 -3
  139. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
  140. package/esm2022/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.mjs +0 -59
  141. package/esm2022/catalog/catalog-filters/index.mjs +0 -5
  142. package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +0 -402
  143. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-products-filters.mjs +0 -10
  144. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.mjs +0 -6
  145. package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
  146. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -39
  147. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +0 -56
  148. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +0 -76
  149. package/esm2022/catalog/index.mjs +0 -16
  150. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -189
  151. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +0 -3
  152. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +0 -173
  153. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +0 -35
  154. package/esm2022/catalog/price-card/sc-price-card.component.mjs +0 -73
  155. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +0 -56
  156. package/esm2022/catalog/price-history/sc-price-history.component.mjs +0 -140
  157. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -65
  158. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +0 -61
  159. package/esm2022/catalog/sc-catalog.module.mjs +0 -126
  160. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
  161. package/esm2022/catalog/seo-tags/sc-seo-tags.component.mjs +0 -25
  162. package/esm2022/configurators/index.mjs +0 -4
  163. package/esm2022/configurators/models/index.mjs +0 -4
  164. package/esm2022/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.mjs +0 -2
  165. package/esm2022/configurators/models/sandwich/sc-i-sandwich-settings.mjs +0 -2
  166. package/esm2022/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.mjs +0 -2
  167. package/esm2022/configurators/sandwich/index.mjs +0 -4
  168. package/esm2022/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.mjs +0 -14
  169. package/esm2022/configurators/sandwich/sc-i-new-cart-item-sandwich.mjs +0 -2
  170. package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +0 -382
  171. package/esm2022/configurators/sandwich_m2/index.mjs +0 -5
  172. package/esm2022/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.mjs +0 -14
  173. package/esm2022/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.mjs +0 -2
  174. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.mjs +0 -5
  175. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2.component.mjs +0 -561
  176. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -91
  177. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -37
  178. package/esm2022/contacts/index.mjs +0 -8
  179. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +0 -58
  180. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +0 -28
  181. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -37
  182. package/esm2022/contacts/sc-contacts.module.mjs +0 -89
  183. package/esm2022/contacts/tokens/index.mjs +0 -3
  184. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -25
  185. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -9
  186. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -81
  187. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -266
  188. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -74
  189. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -68
  190. package/esm2022/contragents/index.mjs +0 -8
  191. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -72
  192. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -224
  193. package/esm2022/contragents/sc-contragents.module.mjs +0 -115
  194. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -248
  195. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +0 -60
  196. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +0 -68
  197. package/esm2022/delivery-address/index.mjs +0 -5
  198. package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -96
  199. package/esm2022/dialogs/index.mjs +0 -2
  200. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -73
  201. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
  202. package/esm2022/directives/index.mjs +0 -10
  203. package/esm2022/directives/links/index.mjs +0 -5
  204. package/esm2022/directives/links/sc-email-link.directive.mjs +0 -49
  205. package/esm2022/directives/links/sc-link-location.mjs +0 -2
  206. package/esm2022/directives/links/sc-links.mjs +0 -8
  207. package/esm2022/directives/links/sc-tel-link.directive.mjs +0 -79
  208. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +0 -70
  209. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
  210. package/esm2022/directives/print/sc-print.directive.mjs +0 -36
  211. package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
  212. package/esm2022/directives/sc-focus-first-invalid-field.directive.mjs +0 -85
  213. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +0 -31
  214. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +0 -69
  215. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +0 -10
  216. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -88
  217. package/esm2022/error-handler/index.mjs +0 -5
  218. package/esm2022/error-handler/interfaces/i-block-error.mjs +0 -2
  219. package/esm2022/error-handler/sc-error-handler.component.mjs +0 -58
  220. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +0 -344
  221. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +0 -32
  222. package/esm2022/feedback/index.mjs +0 -4
  223. package/esm2022/feedback/interfaces/index.mjs +0 -2
  224. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +0 -2
  225. package/esm2022/files/directives/index.mjs +0 -3
  226. package/esm2022/files/directives/tree-top.directive.mjs +0 -63
  227. package/esm2022/files/directives/tree.directive.mjs +0 -47
  228. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +0 -18
  229. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +0 -61
  230. package/esm2022/files/files-and-documents.module.mjs +0 -28
  231. package/esm2022/files/index.mjs +0 -6
  232. package/esm2022/files/interfaces/tree-node.mjs +0 -2
  233. package/esm2022/files/services/index.mjs +0 -3
  234. package/esm2022/files/services/tree-icon.service.mjs +0 -49
  235. package/esm2022/files/services/tree-loader.service.mjs +0 -62
  236. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -156
  237. package/esm2022/form-fields/form-fields.module.mjs +0 -66
  238. package/esm2022/form-fields/index.mjs +0 -4
  239. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -174
  240. package/esm2022/icons/index.mjs +0 -2
  241. package/esm2022/icons/sc-client-ui-icons-name.mjs +0 -99
  242. package/esm2022/loader/index.mjs +0 -2
  243. package/esm2022/loader/sc-i-loader.mjs +0 -2
  244. package/esm2022/masks/index.mjs +0 -8
  245. package/esm2022/masks/sc-account-number-mask.mjs +0 -7
  246. package/esm2022/masks/sc-bic-mask.mjs +0 -7
  247. package/esm2022/masks/sc-correspondent-account-mask.mjs +0 -7
  248. package/esm2022/masks/sc-inn-mask.mjs +0 -13
  249. package/esm2022/masks/sc-kpp-mask.mjs +0 -7
  250. package/esm2022/masks/sc-okpo-mask.mjs +0 -13
  251. package/esm2022/masks/sc-phone-verification-code-mask.mjs +0 -7
  252. package/esm2022/methods/index.mjs +0 -2
  253. package/esm2022/methods/sc-get-current-route.mjs +0 -14
  254. package/esm2022/models/i-sc-image.mjs +0 -2
  255. package/esm2022/models/index.mjs +0 -2
  256. package/esm2022/news/index.mjs +0 -4
  257. package/esm2022/news/news-card/sc-news-card.component.mjs +0 -34
  258. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +0 -31
  259. package/esm2022/news/sc-news.module.mjs +0 -26
  260. package/esm2022/noindex-wrapper/directives/index.mjs +0 -2
  261. package/esm2022/noindex-wrapper/directives/sc-noindex.directive.mjs +0 -58
  262. package/esm2022/noindex-wrapper/index.mjs +0 -3
  263. package/esm2022/noindex-wrapper/sc-noindex-wrapper.component.mjs +0 -18
  264. package/esm2022/order/directives/index.mjs +0 -3
  265. package/esm2022/order/directives/sc-order-accessor.directive.mjs +0 -28
  266. package/esm2022/order/directives/sc-order-options.mjs +0 -11
  267. package/esm2022/order/draft/sc-draft.component.mjs +0 -118
  268. package/esm2022/order/index.mjs +0 -10
  269. package/esm2022/order/models/sc-i-cart-items-by-direction.mjs +0 -22
  270. package/esm2022/order/order-item/sc-order-item.component.mjs +0 -108
  271. package/esm2022/order/order-items-list/sc-order-items-list.component.mjs +0 -208
  272. package/esm2022/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.mjs +0 -75
  273. package/esm2022/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.mjs +0 -75
  274. package/esm2022/order/sc-order.module.mjs +0 -52
  275. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  276. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +0 -49
  277. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -8
  278. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +0 -59
  279. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +0 -107
  280. package/esm2022/pages/index.mjs +0 -7
  281. package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +0 -46
  282. package/esm2022/pages/privacy-policy/sc-privacy-policy.component.mjs +0 -30
  283. package/esm2022/pages/public-offer/sc-public-offer.component.mjs +0 -50
  284. package/esm2022/pipes/index.mjs +0 -3
  285. package/esm2022/pipes/sc-format-date.mjs +0 -33
  286. package/esm2022/pipes/sc-phone-format.mjs +0 -44
  287. package/esm2022/profile/index.mjs +0 -3
  288. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -174
  289. package/esm2022/profile/sc-profile.module.mjs +0 -73
  290. package/esm2022/providers/cleanup-recaptcha-artifacts.mjs +0 -30
  291. package/esm2022/providers/date-value-transformer/index.mjs +0 -4
  292. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +0 -2
  293. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +0 -26
  294. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +0 -37
  295. package/esm2022/providers/index.mjs +0 -17
  296. package/esm2022/providers/sc-allow-select-terminated.mjs +0 -8
  297. package/esm2022/providers/sc-banner-duration.mjs +0 -8
  298. package/esm2022/providers/sc-country-ids.mjs +0 -8
  299. package/esm2022/providers/sc-date-formatter.mjs +0 -15
  300. package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
  301. package/esm2022/providers/sc-debounce-time-default.mjs +0 -9
  302. package/esm2022/providers/sc-dialog-service.providers.mjs +0 -6
  303. package/esm2022/providers/sc-help-notification-close.mjs +0 -9
  304. package/esm2022/providers/sc-help-notification-limit.mjs +0 -8
  305. package/esm2022/providers/sc-hidden-print-elements.token.mjs +0 -10
  306. package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -8
  307. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -8
  308. package/esm2022/providers/sc-page-size-options.mjs +0 -8
  309. package/esm2022/providers/sc-user-providers.mjs +0 -38
  310. package/esm2022/providers/sc-verification-code-timeout.mjs +0 -8
  311. package/esm2022/public-api.mjs +0 -35
  312. package/esm2022/qrcode/index.mjs +0 -3
  313. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +0 -58
  314. package/esm2022/qrcode/sc-qrcode.module.mjs +0 -25
  315. package/esm2022/samples/index.mjs +0 -5
  316. package/esm2022/samples/interfaces/index.mjs +0 -3
  317. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +0 -2
  318. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +0 -2
  319. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +0 -42
  320. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +0 -63
  321. package/esm2022/samples/sc-sample.module.mjs +0 -66
  322. package/esm2022/services/index.mjs +0 -3
  323. package/esm2022/services/print.service.mjs +0 -49
  324. package/esm2022/services/sc-help-notification.service.mjs +0 -100
  325. package/esm2022/share-button/index.mjs +0 -3
  326. package/esm2022/share-button/sc-share-button.component.mjs +0 -35
  327. package/esm2022/share-button/sc-share-button.module.mjs +0 -22
  328. package/esm2022/snabcentr-client-ui.mjs +0 -5
  329. package/esm2022/user/index.mjs +0 -6
  330. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +0 -74
  331. package/esm2022/user/sc-user.module.mjs +0 -86
  332. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -121
  333. package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -40
  334. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -105
  335. package/esm2022/validators/index.mjs +0 -7
  336. package/esm2022/validators/sc-at-least-one-required-validator.mjs +0 -25
  337. package/esm2022/validators/sc-bic-validator.mjs +0 -10
  338. package/esm2022/validators/sc-correspondent-account-validator.mjs +0 -10
  339. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +0 -17
  340. package/esm2022/validators/sc-phone-validator.mjs +0 -14
  341. package/esm2022/validators/step-validator.mjs +0 -18
  342. package/esm2022/verification/index.mjs +0 -3
  343. package/esm2022/verification/sc-verification.module.mjs +0 -86
  344. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -259
  345. package/feedback/feedback-form/sc-feedback-form.component.d.ts +0 -163
  346. package/feedback/gratitude/sc-gratitude.component.d.ts +0 -20
  347. package/feedback/index.d.ts +0 -3
  348. package/feedback/interfaces/index.d.ts +0 -1
  349. package/feedback/interfaces/sc-feedback-form-config.d.ts +0 -23
  350. package/files/directives/index.d.ts +0 -2
  351. package/files/directives/tree-top.directive.d.ts +0 -33
  352. package/files/directives/tree.directive.d.ts +0 -35
  353. package/files/file-tree-item/file-tree-item.component.d.ts +0 -9
  354. package/files/files-and-documents/files-and-documents.component.d.ts +0 -27
  355. package/files/files-and-documents.module.d.ts +0 -17
  356. package/files/index.d.ts +0 -5
  357. package/files/interfaces/tree-node.d.ts +0 -29
  358. package/files/services/index.d.ts +0 -2
  359. package/files/services/tree-icon.service.d.ts +0 -23
  360. package/files/services/tree-loader.service.d.ts +0 -43
  361. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -78
  362. package/form-fields/form-fields.module.d.ts +0 -18
  363. package/form-fields/index.d.ts +0 -3
  364. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -73
  365. package/icons/index.d.ts +0 -1
  366. package/icons/sc-client-ui-icons-name.d.ts +0 -4
  367. package/index.d.ts +0 -5
  368. package/loader/index.d.ts +0 -1
  369. package/loader/sc-i-loader.d.ts +0 -9
  370. package/masks/index.d.ts +0 -7
  371. package/masks/sc-account-number-mask.d.ts +0 -5
  372. package/masks/sc-bic-mask.d.ts +0 -5
  373. package/masks/sc-correspondent-account-mask.d.ts +0 -5
  374. package/masks/sc-inn-mask.d.ts +0 -9
  375. package/masks/sc-kpp-mask.d.ts +0 -5
  376. package/masks/sc-okpo-mask.d.ts +0 -9
  377. package/masks/sc-phone-verification-code-mask.d.ts +0 -5
  378. package/methods/index.d.ts +0 -1
  379. package/methods/sc-get-current-route.d.ts +0 -8
  380. package/models/i-sc-image.d.ts +0 -17
  381. package/models/index.d.ts +0 -1
  382. package/news/index.d.ts +0 -3
  383. package/news/news-card/sc-news-card.component.d.ts +0 -22
  384. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +0 -16
  385. package/news/sc-news.module.d.ts +0 -16
  386. package/noindex-wrapper/directives/index.d.ts +0 -1
  387. package/noindex-wrapper/directives/sc-noindex.directive.d.ts +0 -29
  388. package/noindex-wrapper/index.d.ts +0 -2
  389. package/noindex-wrapper/sc-noindex-wrapper.component.d.ts +0 -9
  390. package/order/directives/index.d.ts +0 -2
  391. package/order/directives/sc-order-accessor.directive.d.ts +0 -13
  392. package/order/directives/sc-order-options.d.ts +0 -14
  393. package/order/draft/sc-draft.component.d.ts +0 -63
  394. package/order/index.d.ts +0 -9
  395. package/order/models/sc-i-cart-items-by-direction.d.ts +0 -25
  396. package/order/order-item/sc-order-item.component.d.ts +0 -39
  397. package/order/order-items-list/sc-order-items-list.component.d.ts +0 -109
  398. package/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.d.ts +0 -58
  399. package/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.d.ts +0 -55
  400. package/order/sc-order.module.d.ts +0 -18
  401. package/order/sc-payment-status/sc-payment-status.component.d.ts +0 -25
  402. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +0 -22
  403. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +0 -5
  404. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +0 -28
  405. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +0 -79
  406. package/pages/index.d.ts +0 -6
  407. package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +0 -17
  408. package/pages/privacy-policy/sc-privacy-policy.component.d.ts +0 -17
  409. package/pages/public-offer/sc-public-offer.component.d.ts +0 -22
  410. package/pipes/index.d.ts +0 -2
  411. package/pipes/sc-format-date.d.ts +0 -20
  412. package/pipes/sc-phone-format.d.ts +0 -21
  413. package/profile/index.d.ts +0 -2
  414. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +0 -126
  415. package/profile/sc-profile.module.d.ts +0 -23
  416. package/providers/cleanup-recaptcha-artifacts.d.ts +0 -7
  417. package/providers/date-value-transformer/index.d.ts +0 -3
  418. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +0 -9
  419. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +0 -16
  420. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +0 -22
  421. package/providers/index.d.ts +0 -16
  422. package/providers/sc-allow-select-terminated.d.ts +0 -5
  423. package/providers/sc-banner-duration.d.ts +0 -5
  424. package/providers/sc-country-ids.d.ts +0 -5
  425. package/providers/sc-date-formatter.d.ts +0 -6
  426. package/providers/sc-date-value-transformer.d.ts +0 -5
  427. package/providers/sc-debounce-time-default.d.ts +0 -5
  428. package/providers/sc-dialog-service.providers.d.ts +0 -45
  429. package/providers/sc-help-notification-close.d.ts +0 -6
  430. package/providers/sc-help-notification-limit.d.ts +0 -5
  431. package/providers/sc-hidden-print-elements.token.d.ts +0 -6
  432. package/providers/sc-max-files-in-form-input.d.ts +0 -5
  433. package/providers/sc-notify-when-in-stock-required-fields.d.ts +0 -5
  434. package/providers/sc-page-size-options.d.ts +0 -5
  435. package/providers/sc-user-providers.d.ts +0 -21
  436. package/providers/sc-verification-code-timeout.d.ts +0 -5
  437. package/public-api.d.ts +0 -34
  438. package/qrcode/index.d.ts +0 -2
  439. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +0 -37
  440. package/qrcode/sc-qrcode.module.d.ts +0 -14
  441. package/samples/index.d.ts +0 -4
  442. package/samples/interfaces/index.d.ts +0 -2
  443. package/samples/interfaces/sc-i-preview-sample.d.ts +0 -56
  444. package/samples/interfaces/sc-preview-mosquito-config.d.ts +0 -62
  445. package/samples/preview-sample/sc-preview-sample.component.d.ts +0 -30
  446. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +0 -50
  447. package/samples/sc-sample.module.d.ts +0 -19
  448. package/services/index.d.ts +0 -2
  449. package/services/print.service.d.ts +0 -31
  450. package/services/sc-help-notification.service.d.ts +0 -70
  451. package/share-button/index.d.ts +0 -2
  452. package/share-button/sc-share-button.component.d.ts +0 -22
  453. package/share-button/sc-share-button.module.d.ts +0 -12
  454. package/user/index.d.ts +0 -5
  455. package/user/reset-user-password/sc-reset-user-password.component.d.ts +0 -46
  456. package/user/sc-user.module.d.ts +0 -24
  457. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +0 -63
  458. package/user/user-managers/sc-user-managers.component.d.ts +0 -23
  459. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +0 -53
  460. package/validators/index.d.ts +0 -6
  461. package/validators/sc-at-least-one-required-validator.d.ts +0 -10
  462. package/validators/sc-bic-validator.d.ts +0 -8
  463. package/validators/sc-correspondent-account-validator.d.ts +0 -8
  464. package/validators/sc-password-confirm-matching-validator.d.ts +0 -8
  465. package/validators/sc-phone-validator.d.ts +0 -5
  466. package/validators/step-validator.d.ts +0 -8
  467. package/verification/index.d.ts +0 -2
  468. package/verification/sc-verification.module.d.ts +0 -21
  469. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -145
@@ -1,119 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { FormArray, FormControl, FormGroup } from '@angular/forms';
3
- import { ScICountry, ScIReferencesTypes, ScISuggestionType, ScOpfList } from '@snabcentr/client-core';
4
- import { Observable } from 'rxjs';
5
- import { ScContactFormGroup } from '../../auth/interfaces';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Форма создания нового контрагента.
9
- */
10
- export declare class ScNewContragentFormComponent implements OnInit, OnDestroy {
11
- /**
12
- * Сервис справочников.
13
- */
14
- private readonly referencesService;
15
- /**
16
- * Сервис для получения списков стран, регионов, городов.
17
- */
18
- private readonly locationsService;
19
- /**
20
- * Директива c `FormGroup` из DOM.
21
- */
22
- private readonly formGroupDirective;
23
- /**
24
- * Поле выбора организационно-правовой формы.
25
- */
26
- opfControl?: FormControl<keyof typeof ScOpfList | null>;
27
- /**
28
- * Группа полей данных о контрагенте - индивидуальном предпринимателе.
29
- */
30
- private readonly entrepreneurGroup;
31
- /**
32
- * Группа полей данных о контрагенте - юридическом лице.
33
- */
34
- private readonly legalGroup;
35
- /**
36
- * Группа полей данных о контрагенте - юридическом лице нерезиденте.
37
- */
38
- private readonly nonResidentLegalGroup;
39
- /**
40
- * Форма для создания нового контрагента физического лица.
41
- */
42
- readonly form: FormGroup<{
43
- name: FormControl<string | null>;
44
- opf: FormControl<"individual" | "entrepreneur" | "legal" | "non_resident_legal" | null>;
45
- contacts: FormArray<ScContactFormGroup>;
46
- }>;
47
- /**
48
- * Перечисление типов подсказок.
49
- */
50
- protected readonly suggestionType: typeof ScISuggestionType;
51
- /**
52
- * {@link Observable} выбора ОПФ.
53
- */
54
- protected readonly selectOpf$: Observable<keyof typeof ScOpfList>;
55
- /**
56
- * Маска поля ввода КПП.
57
- */
58
- protected readonly kppMask: import("@maskito/core").MaskitoOptions;
59
- /**
60
- * Перечисление организационно-правовых форм.
61
- */
62
- protected readonly opfListEnum: typeof ScOpfList;
63
- /**
64
- * Ссылка для автоматического управления уничтожением зависимостей.
65
- */
66
- private destroyRef;
67
- /**
68
- * Возвращает {@link Observable} списка стран.
69
- */
70
- protected readonly countries$: Observable<ScICountry[]>;
71
- /**
72
- * Возвращает {@link Observable} списка идентификаторов стран.
73
- */
74
- protected readonly countriesId$: Observable<number[]>;
75
- /**
76
- * Маска поля ввода ИНН.
77
- *
78
- * @param opf Организационно-правовая форма.
79
- */
80
- protected readonly innMask: (opf: keyof typeof ScOpfList) => import("@maskito/core").MaskitoOptions;
81
- /**
82
- * Маска поля ввода ОКПО.
83
- *
84
- * @param opf Организационно-правовая форма.
85
- */
86
- protected readonly okpoMask: (opf: keyof typeof ScOpfList) => import("@maskito/core").MaskitoOptions;
87
- /**
88
- * Функция преобразования объекта сортировки в значение, отображаемое в поле ввода.
89
- *
90
- * @param items Список стран.
91
- */
92
- protected readonly stringify: (items: readonly ScICountry[]) => (id: number) => string;
93
- /**
94
- * Родительская `FormGroup`.
95
- */
96
- get parentForm(): FormGroup | undefined;
97
- /** @inheritDoc */
98
- ngOnInit(): void;
99
- /** @inheritDoc */
100
- ngOnDestroy(): void;
101
- /**
102
- * Возвращает {@link Observable} список организационно-правовых форм..
103
- */
104
- protected getOpf$(): Observable<Array<ScIReferencesTypes<ScOpfList, keyof typeof ScOpfList>>>;
105
- /**
106
- * Возвращает {@link Observable} организационно-правовой формы, соответствующий символьному обозначению (slug) на входе.
107
- *
108
- * @param slug Символьное обозначение (slug).
109
- */
110
- protected getOpfBySlug$(slug: keyof typeof ScOpfList): Observable<ScIReferencesTypes<ScOpfList, keyof typeof ScOpfList> | undefined>;
111
- /**
112
- * Возвращает {@link Observable} страны по идентификатору.
113
- *
114
- * @param countryId — Идентификатор страны.
115
- */
116
- protected getCountryNameById$(countryId: number): Observable<string | undefined>;
117
- static ɵfac: i0.ɵɵFactoryDeclaration<ScNewContragentFormComponent, never>;
118
- static ɵcmp: i0.ɵɵComponentDeclaration<ScNewContragentFormComponent, "sc-new-contragent-form", never, { "opfControl": { "alias": "opfControl"; "required": false; }; }, {}, never, never, false, never>;
119
- }
@@ -1,26 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./contragents-accordion/sc-contragents-accordion.component";
3
- import * as i2 from "./contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component";
4
- import * as i3 from "./new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component";
5
- import * as i4 from "./add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component";
6
- import * as i5 from "./add-contragent-dialog/sc-add-contragent-dialog.component";
7
- import * as i6 from "./new-contragent-form/sc-new-contragent-form.component";
8
- import * as i7 from "@angular/forms";
9
- import * as i8 from "@angular/common";
10
- import * as i9 from "../accordion/sc-accordion.module";
11
- import * as i10 from "@taiga-ui/core";
12
- import * as i11 from "../contacts/sc-contacts.module";
13
- import * as i12 from "@taiga-ui/kit";
14
- import * as i13 from "@taiga-ui/legacy";
15
- import * as i14 from "@taiga-ui/core/components/data-list";
16
- import * as i15 from "@maskito/angular";
17
- import * as i16 from "../form-fields/form-fields.module";
18
- import * as i17 from "@taiga-ui/cdk/directives/item";
19
- /**
20
- * Модуль для отображение контента разделами, с возможностью скрывать и отображать содержимое.
21
- */
22
- export declare class ScContragentsModule {
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ScContragentsModule, never>;
24
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScContragentsModule, [typeof i1.ScContragentsAccordionComponent, typeof i2.ScContragentsAccordionItemComponent, typeof i3.ScNewContragentBankAccountsFormComponent, typeof i4.ScAddContragentBankAccountsDialogComponent, typeof i5.ScAddContragentDialogComponent, typeof i6.ScNewContragentFormComponent], [typeof i7.FormsModule, typeof i7.ReactiveFormsModule, typeof i8.CommonModule, typeof i9.ScAccordionModule, typeof i10.TuiButton, typeof i10.TuiLoader, typeof i10.TuiNotification, typeof i11.ScContactsModule, typeof i12.TuiFieldErrorPipe, typeof i10.TuiError, typeof i13.TuiSelectModule, typeof i10.TuiDataListComponent, typeof i10.TuiDataListDirective, typeof i10.TuiOption, typeof i10.TuiOptionNew, typeof i10.TuiOptionWithValue, typeof i10.TuiOptGroup, typeof i12.TuiDataListWrapperComponent, typeof i12.TuiDataListGroupWrapperComponent, typeof i14.TuiDataListDirective, typeof i10.TuiLabel, typeof i13.TuiInputModule, typeof i13.TuiInputPhoneModule, typeof i15.MaskitoDirective, typeof i16.ScFormFieldsModule, typeof i12.TuiElasticContainer, typeof i17.TuiItem, typeof i12.TuiCarouselComponent, typeof i12.TuiCarouselDirective, typeof i12.TuiCarouselAutoscroll, typeof i12.TuiCarouselButtons, typeof i12.TuiCarouselScroll, typeof i12.TuiButtonLoading, typeof i13.TuiComboBoxModule, typeof i12.TuiStringifyContentPipe, typeof i12.TuiFilterByInputPipe, typeof i12.TuiStepperComponent, typeof i12.TuiStep], [typeof i1.ScContragentsAccordionComponent, typeof i3.ScNewContragentBankAccountsFormComponent, typeof i4.ScAddContragentBankAccountsDialogComponent, typeof i5.ScAddContragentDialogComponent, typeof i6.ScNewContragentFormComponent]>;
25
- static ɵinj: i0.ɵɵInjectorDeclaration<ScContragentsModule>;
26
- }
@@ -1,141 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { FormControl, FormGroup } from '@angular/forms';
3
- import { ScConvertersService, ScDeliveryAddressService, ScIOrgContact, ScISuggestionAddress, ScISuggestionType, ScSuggestion, ScUserMetrikaService } from '@snabcentr/client-core';
4
- import { TuiDialogContext } from '@taiga-ui/core';
5
- import { TuiCountryIsoCode } from '@taiga-ui/i18n';
6
- import { YaReadyEvent } from 'angular8-yandex-maps';
7
- import { Observable, Subject } from 'rxjs';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * Компонент добавления адреса доставки.
11
- */
12
- export declare class ScAddDeliveryAddressDialogComponent implements AfterViewInit {
13
- private readonly deliveryAddressService;
14
- private readonly userMetrikaService;
15
- readonly context: TuiDialogContext<void, void>;
16
- private readonly convertersService;
17
- /**
18
- * Округляет координаты до 6 цифр после запятой.
19
- *
20
- * @param coords Координаты точки.
21
- */
22
- private static roundCoordinate;
23
- /**
24
- * Ссылка для автоматического управления уничтожением зависимостей.
25
- */
26
- private destroyRef;
27
- /**
28
- * Признак того, отображается этот компонент на мобильном устройстве или нет.
29
- */
30
- readonly isMobile: boolean;
31
- /**
32
- * Перечисление типов подсказок.
33
- */
34
- readonly suggestionType: typeof ScISuggestionType;
35
- /**
36
- * {@link Subject} события отправки формы.
37
- */
38
- readonly onSubmit$: Subject<void>;
39
- /**
40
- * Координаты центра карты по умолчанию.
41
- */
42
- readonly defaultCenterMap: number[];
43
- /**
44
- * Масштаб карты по умолчанию.
45
- */
46
- readonly defaultZoomMap: number;
47
- /**
48
- * {@link Observable} данных контактов дл помощи.
49
- */
50
- protected readonly userHelpContacts$: Observable<ScIOrgContact[]>;
51
- /**
52
- * Признак того, что текущая страна является верной.
53
- */
54
- protected readonly isDefaultCountry: Observable<boolean>;
55
- /**
56
- * Список стран.
57
- */
58
- protected readonly countries: readonly TuiCountryIsoCode[];
59
- /**
60
- * {@link Observable} запроса данных добавления адрес доставки.
61
- */
62
- private readonly request$;
63
- /**
64
- * {@link Observable} изменения состояния загрузки данных.
65
- */
66
- readonly loading$: Observable<boolean>;
67
- /**
68
- * Группа с полями адресов.
69
- */
70
- addressControl: FormControl<ScISuggestionAddress | string | null>;
71
- /**
72
- * Настройки карты.
73
- */
74
- options: ymaps.IMapOptions;
75
- /**
76
- * Форма для создания адреса доставки.
77
- */
78
- readonly form: FormGroup<{
79
- address: FormControl<string | ScISuggestionAddress | null>;
80
- coordinates: FormGroup<{
81
- lat: FormControl<number | null>;
82
- long: FormControl<number | null>;
83
- }>;
84
- contact: FormGroup<{
85
- name: FormControl<string | null>;
86
- phone: FormControl<string | null>;
87
- email: FormControl<string | null>;
88
- position: FormControl<string | null>;
89
- }>;
90
- }>;
91
- /**
92
- * Точка адреса на карте.
93
- */
94
- addressPlacemark?: ymaps.Placemark;
95
- /**
96
- * Яндекс карта.
97
- */
98
- yaMap?: ymaps.Map;
99
- /**
100
- * Инициализирует экземпляр класса {@link ScAddDeliveryAddressDialogComponent}.
101
- *
102
- * @param deliveryAddressService Сервис работы с адресами доставки.
103
- * @param userMetrikaService Сервис для сбора метрик о действиях пользователей.
104
- * @param context Контекст диалогового окна, в котором открыт компонент.
105
- * @param convertersService Сервис конвертации данных.
106
- */
107
- constructor(deliveryAddressService: ScDeliveryAddressService, userMetrikaService: ScUserMetrikaService, context: TuiDialogContext<void, void>, convertersService: ScConvertersService);
108
- /** @inheritdoc */
109
- ngAfterViewInit(): void;
110
- /**
111
- * Обработчик загрузки карты на странице.
112
- *
113
- * @param target Экземпляр целевого объекта.
114
- * @param target.target Экземпляр целевого объекта.
115
- */
116
- onMapReadyHandle({ target }: YaReadyEvent<ymaps.Map>): void;
117
- /**
118
- * Обработчик выбора адреса доставки.
119
- *
120
- * @param suggestion Объект подсказки ареса.
121
- */
122
- onSelectedAddress(suggestion: ScSuggestion): void;
123
- /**
124
- * Устанавливает {@link addressPlacemark} точку на определённые координаты.
125
- *
126
- * @param coords Координаты точки.
127
- */
128
- private setGeoCoordinates;
129
- /**
130
- * Устанавливает {@link addressPlacemark} точку на определённые координаты.
131
- */
132
- private removeGeoCoordinates;
133
- /**
134
- * Создаёт объект точки и устанавливает события для него.
135
- *
136
- * @param coords Координаты точки.
137
- */
138
- private createPlacemark;
139
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAddDeliveryAddressDialogComponent, never>;
140
- static ɵcmp: i0.ɵɵComponentDeclaration<ScAddDeliveryAddressDialogComponent, "sc-add-delivery-address-dialog", never, {}, {}, never, never, false, never>;
141
- }
@@ -1,50 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { ScDeliveryAddressService, ScIContact, ScIDeliveryAddress } from '@snabcentr/client-core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Компонент адреса доставки.
7
- */
8
- export declare class ScDeliveryAddressAccordionItemComponent implements OnInit {
9
- private readonly deliveryAddressService;
10
- /**
11
- * Адрес доставки.
12
- */
13
- deliveryAddress: ScIDeliveryAddress;
14
- /**
15
- * Список банковских счетов контрагента.
16
- */
17
- contacts$?: Observable<ScIContact[] | null>;
18
- /**
19
- * Событие нажатия на кнопку удаления адреса доставки.
20
- */
21
- deleteDeliveryAddressClick: EventEmitter<ScIDeliveryAddress>;
22
- /**
23
- * Событие нажатия на кнопку добавления контактного лица адресу доставки.
24
- */
25
- addDeliveryAddressContactClick: EventEmitter<ScIDeliveryAddress>;
26
- /**
27
- * Событие нажатия на кнопку удаления контактного лица адреса доставки.
28
- */
29
- deleteDeliveryAddressContactClick: EventEmitter<{
30
- contact: ScIContact;
31
- address: ScIDeliveryAddress;
32
- }>;
33
- /**
34
- * Инициализирует экземпляр класса {@link ScDeliveryAddressAccordionItemComponent}.
35
- *
36
- * @param deliveryAddressService Сервис работы с адресами доставки.
37
- */
38
- constructor(deliveryAddressService: ScDeliveryAddressService);
39
- /** @inheritDoc */
40
- ngOnInit(): void;
41
- /**
42
- * Обработчик нажатия на кнопку удаления контактного лица у адреса доставки.
43
- *
44
- * @param contact Контактное лицо.
45
- * @param address Адрес доставки клиента.
46
- */
47
- onDeleteContragentContactClick(contact: ScIContact, address: ScIDeliveryAddress): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<ScDeliveryAddressAccordionItemComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ScDeliveryAddressAccordionItemComponent, "sc-delivery-address-accordion-item", never, { "deliveryAddress": { "alias": "deliveryAddress"; "required": false; }; }, { "deleteDeliveryAddressClick": "deleteDeliveryAddressClick"; "addDeliveryAddressContactClick": "addDeliveryAddressContactClick"; "deleteDeliveryAddressContactClick": "deleteDeliveryAddressContactClick"; }, never, never, false, never>;
50
- }
@@ -1,49 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { ScDeliveryAddressService, ScIContact, ScIDeliveryAddress, ScIOrgContact } from '@snabcentr/client-core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Компонент адресов доставки.
7
- */
8
- export declare class ScDeliveryAddressAccordionComponent {
9
- private readonly deliveryAddressService;
10
- /**
11
- * {@link Observable} данных адресов доставки.
12
- */
13
- deliveryAddress$: Observable<ScIDeliveryAddress[] | null>;
14
- /**
15
- * Событие нажатия на кнопку добавления адреса доставки клиента.
16
- */
17
- addDeliveryAddressClick: EventEmitter<void>;
18
- /**
19
- * Событие нажатия на кнопку удаления адреса доставки клиента.
20
- */
21
- deleteDeliveryAddressClick: EventEmitter<ScIDeliveryAddress>;
22
- /**
23
- * Событие нажатия на кнопку добавления контактного лица для адреса доставки.
24
- */
25
- addDeliveryAddressContactClick: EventEmitter<ScIDeliveryAddress>;
26
- /**
27
- * Событие нажатия на кнопку удаления контактного лица у адреса доставки.
28
- */
29
- deleteDeliveryAddressContactClick: EventEmitter<{
30
- contact: ScIContact;
31
- address: ScIDeliveryAddress;
32
- }>;
33
- /**
34
- * {@link Observable} данных контактов дл помощи.
35
- */
36
- protected readonly userHelpContacts$: Observable<ScIOrgContact[]>;
37
- /**
38
- * Признак того, что текущая страна пользователя верной.
39
- */
40
- protected readonly isDefaultCountry: Observable<boolean>;
41
- /**
42
- * Инициализирует экземпляр класса {@link ScDeliveryAddressAccordionComponent}.
43
- *
44
- * @param deliveryAddressService Сервис работы с адресами доставки.
45
- */
46
- constructor(deliveryAddressService: ScDeliveryAddressService);
47
- static ɵfac: i0.ɵɵFactoryDeclaration<ScDeliveryAddressAccordionComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<ScDeliveryAddressAccordionComponent, "sc-delivery-address-accordion", never, {}, { "addDeliveryAddressClick": "addDeliveryAddressClick"; "deleteDeliveryAddressClick": "deleteDeliveryAddressClick"; "addDeliveryAddressContactClick": "addDeliveryAddressContactClick"; "deleteDeliveryAddressContactClick": "deleteDeliveryAddressContactClick"; }, never, never, false, never>;
49
- }
@@ -1,4 +0,0 @@
1
- export * from './add-delivery-address-dialog/sc-add-delivery-address-dialog.component';
2
- export * from './delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component';
3
- export * from './delivery-address-accordion/sc-delivery-address-accordion.component';
4
- export * from './sc-delivery-address.module';
@@ -1,25 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./delivery-address-accordion/sc-delivery-address-accordion.component";
3
- import * as i2 from "./delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component";
4
- import * as i3 from "./add-delivery-address-dialog/sc-add-delivery-address-dialog.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "../accordion/sc-accordion.module";
7
- import * as i6 from "@taiga-ui/core";
8
- import * as i7 from "../contacts/sc-contacts.module";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "@taiga-ui/kit";
11
- import * as i10 from "@taiga-ui/legacy";
12
- import * as i11 from "../form-fields/form-fields.module";
13
- import * as i12 from "angular8-yandex-maps";
14
- import * as i13 from "../contacts/manager-card/sc-manager-card.component";
15
- import * as i14 from "@taiga-ui/experimental";
16
- import * as i15 from "@taiga-ui/cdk/directives/item";
17
- import * as i16 from "@taiga-ui/core/components/label";
18
- /**
19
- * Модуль для отображение адресов доставки разделами, с возможностью скрывать и отображать содержимое.
20
- */
21
- export declare class ScDeliveryAddressModule {
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ScDeliveryAddressModule, never>;
23
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScDeliveryAddressModule, [typeof i1.ScDeliveryAddressAccordionComponent, typeof i2.ScDeliveryAddressAccordionItemComponent, typeof i3.ScAddDeliveryAddressDialogComponent], [typeof i4.CommonModule, typeof i5.ScAccordionModule, typeof i6.TuiButton, typeof i6.TuiLoader, typeof i6.TuiNotification, typeof i7.ScContactsModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i6.TuiLabel, typeof i9.TuiFieldErrorPipe, typeof i6.TuiError, typeof i10.TuiInputModule, typeof i10.TuiInputPhoneModule, typeof i11.ScFormFieldsModule, typeof i6.TuiDataListComponent, typeof i6.TuiDataListDirective, typeof i6.TuiOption, typeof i6.TuiOptionNew, typeof i6.TuiOptionWithValue, typeof i6.TuiOptGroup, typeof i12.AngularYandexMapsModule, typeof i9.TuiElasticContainer, typeof i9.TuiButtonLoading, typeof i9.TuiPushComponent, typeof i9.TuiPushAlert, typeof i9.TuiPushDirective, typeof i6.TuiIcon, typeof i13.ScManagerCardComponent, typeof i14.TuiInputPhoneInternational, typeof i15.TuiItem, typeof i16.TuiLabel, typeof i6.TuiSelect, typeof i6.TuiTextfieldComponent, typeof i6.TuiTextfieldDirective, typeof i6.TuiTextfieldOptionsDirective, typeof i6.TuiTextfieldDropdownDirective, typeof i6.TuiTextfieldMultiComponent, typeof i9.TuiSortCountriesPipe], [typeof i1.ScDeliveryAddressAccordionComponent, typeof i3.ScAddDeliveryAddressDialogComponent]>;
24
- static ɵinj: i0.ɵɵInjectorDeclaration<ScDeliveryAddressModule>;
25
- }
@@ -1 +0,0 @@
1
- export * from './sc-resource-preview/sc-resource-preview.component';
@@ -1,42 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { TuiDialogContext } from '@taiga-ui/core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Компонент представления ресурсов.
6
- */
7
- export declare class ScResourcePreviewComponent implements OnDestroy {
8
- /**
9
- * Название файла из URL.
10
- */
11
- protected readonly name: string;
12
- /**
13
- * Путь к ресурсу.
14
- */
15
- protected readonly src?: string;
16
- /**
17
- * MIME type файла {@link HTMLSourceElement}.
18
- */
19
- protected readonly type?: string;
20
- /**
21
- * Контекст диалогового окна, в котором открыт компонент.
22
- */
23
- protected readonly context: TuiDialogContext | null;
24
- /**
25
- * Таймер автоматического включения проигрывателя.
26
- */
27
- private playAttempt?;
28
- /**
29
- * Проверяет что MIME type ресурса подходит для `<video>`.
30
- */
31
- protected isVideoResource: () => boolean | undefined;
32
- /**
33
- * Обработчик события готовности видео к запуску.
34
- *
35
- * @param videoElement HTML элемент видео.
36
- */
37
- protected onCanPlay(videoElement: HTMLVideoElement): void;
38
- /** @inheritDoc */
39
- ngOnDestroy(): void;
40
- static ɵfac: i0.ɵɵFactoryDeclaration<ScResourcePreviewComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<ScResourcePreviewComponent, "sc-resource-preview", never, {}, {}, never, never, true, never>;
42
- }
@@ -1,136 +0,0 @@
1
- import { EventEmitter, WritableSignal } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { ScIImage, ScImageHelper, ScOrderItem, ScProduct, ScUnitsHelper } from '@snabcentr/client-core';
4
- import { Observable } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Директива абстрактной карточки товара.
8
- */
9
- export declare class AbstractScPriceCard {
10
- /**
11
- * Позиция товара в корзине.
12
- *
13
- * TODO: Сделать товар в корзине наблюдаемой переменной после реализации TASK:[#7144].
14
- */
15
- get orderItem(): ScOrderItem | undefined;
16
- /**
17
- * Позиция товара в корзине
18
- *
19
- * TODO: Сделать товар в корзине наблюдаемой переменной после реализации TASK:[#7144].
20
- */
21
- set orderItem(value: ScOrderItem | undefined);
22
- /**
23
- * Объект товара.
24
- */
25
- get product(): ScProduct | undefined;
26
- /**
27
- * Объект товара.
28
- */
29
- set product(value: ScProduct | undefined);
30
- /**
31
- * Признак того, что этот компонент отображается на мобильном устройстве.
32
- */
33
- readonly isMobile: boolean;
34
- /**
35
- * {@link FormControl} поля ввода количества товара в корзине.
36
- */
37
- quantityControl: FormControl<number | null>;
38
- /**
39
- * Признак, что необходимо отобразить лоадер для поля ввода количества товара.
40
- */
41
- readonly showLoader: WritableSignal<boolean>;
42
- /**
43
- * Признак, что необходимо отобразить лоадер для кнопки избранных товаров и категорий.
44
- */
45
- readonly favoriteShowLoader: WritableSignal<boolean>;
46
- /**
47
- * {@link Observable} изменения статуса авторизации.
48
- */
49
- readonly authStatus$: Observable<boolean>;
50
- /**
51
- * {@link Observable} поиска терма.
52
- */
53
- readonly search$: Observable<string>;
54
- /**
55
- * Признак, что необходимо отобразить поле ввода количества товара.
56
- */
57
- showQuantityControl: boolean;
58
- /**
59
- * Ссылка на страницу товара. Используется именно `href`, так как остановить событие клика для `routerLink` не вышло.
60
- */
61
- href?: string;
62
- /**
63
- * Событие нажатия на кнопку "В избранное".
64
- */
65
- readonly clickFavoriteEvent: EventEmitter<void>;
66
- /**
67
- * Событие нажатия на кнопку "В корзину".
68
- */
69
- readonly clickAddToCartEvent: EventEmitter<ScProduct>;
70
- /**
71
- * Событие нажатия на кнопку очистки количества товара.
72
- */
73
- readonly clickClearEvent: EventEmitter<ScOrderItem>;
74
- /**
75
- * Событие нажатия на карточку товара.
76
- */
77
- readonly clickCardEvent: EventEmitter<void>;
78
- /**
79
- * Событие нажатия на историю цен.
80
- */
81
- readonly clickPriceHistoryEvent: EventEmitter<void>;
82
- /**
83
- * {@link Observable} изменения количества товара в корзине.
84
- */
85
- readonly quantityValueChanges: Observable<number | null>;
86
- /**
87
- * Признак, что необходимо автоматичеси выставить фокус на поле ввода колличества товара.
88
- */
89
- readonly autoFocuseQuantityInput: WritableSignal<boolean>;
90
- /**
91
- * Класс-помощник для работы со значениями единиц измерения товара.
92
- */
93
- protected readonly ScUnitsHelper: typeof ScUnitsHelper;
94
- /**
95
- * Хелпер для работы с изображениями товара.
96
- */
97
- protected readonly imageHelper: ScImageHelper;
98
- /**
99
- * Путь до изображения 'Товар не найден'.
100
- */
101
- private readonly pathImageNotFound;
102
- /**
103
- * Объект слежения за изменениями.
104
- */
105
- private readonly cdr;
106
- /**
107
- * Объект товара.
108
- */
109
- private _product;
110
- /**
111
- * Позиция товара в корзине.
112
- *
113
- * TODO: Сделать товар в корзине наблюдаемой переменной после реализации TASK:[#7144].
114
- */
115
- private _orderItem;
116
- /**
117
- * Признак, что нужно показать скелетон.
118
- */
119
- get skeletonVisible(): boolean;
120
- /**
121
- * Возвращает данные для preview-изображения карточки товара.
122
- */
123
- getCardImagePreview(): ScIImage;
124
- /**
125
- * Возвращает массив превью-изображений товара.
126
- *
127
- * @param product Объект товара.
128
- */
129
- getCardImagePreviewList(product: ScProduct): ScIImage[];
130
- /**
131
- * Устанавливает компонент в очередь на обновление.
132
- */
133
- markForCheck(): void;
134
- static ɵfac: i0.ɵɵFactoryDeclaration<AbstractScPriceCard, never>;
135
- static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractScPriceCard, never, never, { "orderItem": { "alias": "orderItem"; "required": false; }; "product": { "alias": "product"; "required": false; }; "showQuantityControl": { "alias": "showQuantityControl"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, { "clickFavoriteEvent": "clickFavoriteEvent"; "clickAddToCartEvent": "clickAddToCartEvent"; "clickClearEvent": "clickClearEvent"; "clickCardEvent": "clickCardEvent"; "clickPriceHistoryEvent": "clickPriceHistoryEvent"; "quantityValueChanges": "quantityValueChanges"; }, never, never, false, never>;
136
- }
@@ -1,9 +0,0 @@
1
- export * from './abstract-price-card/abstract-sc-price-card.directive';
2
- export * from './links';
3
- export * from './next-input-focus/sc-next-input-focus.directive';
4
- export * from './next-input-focus/sc-next-input-focus.module';
5
- export * from './print/sc-print.directive';
6
- export * from './sc-date-value-transformer.directive';
7
- export * from './sc-focus-first-invalid-field.directive';
8
- export * from './select-on-focusin/sc-select-on-focusin.directive';
9
- export * from './terminal-link/sc-terminal-link.directive';
@@ -1,4 +0,0 @@
1
- export * from './sc-links';
2
- export * from './sc-link-location';
3
- export * from './sc-email-link.directive';
4
- export * from './sc-tel-link.directive';
@@ -1,25 +0,0 @@
1
- import { ScLinkLocation } from './sc-link-location';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * Директива, которая управляет свойствами ссылки адреса электронной почты.
5
- */
6
- export declare class ScEmailLinkDirective {
7
- /**
8
- * Ссылка на HTML элемент тега `<a>`.
9
- */
10
- private elementReference;
11
- /**
12
- * Условное название блока где расположена ссылка.
13
- */
14
- linkLocation: ScLinkLocation;
15
- /**
16
- * Сервис для сбора метрик о действиях пользователей.
17
- */
18
- private readonly userMetrikaService;
19
- /**
20
- * Обработчик клика по ссылке.
21
- */
22
- private click;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<ScEmailLinkDirective, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<ScEmailLinkDirective, "a[scEmailLink]", never, { "linkLocation": { "alias": "linkLocation"; "required": true; }; }, {}, never, never, true, never>;
25
- }
@@ -1,5 +0,0 @@
1
- import { TuiLooseUnion } from '@taiga-ui/cdk';
2
- /**
3
- * Тип данных условного названия блока где расположена ссылка.
4
- */
5
- export type ScLinkLocation = TuiLooseUnion<'contact' | 'questions-and-answers' | 'profile' | 'user-managers' | 'manager-card' | 'retails-map' | 'landing' | 'footer' | 'order' | 'vacancies' | 'header'>;