@snabcentr/client-ui 4.6.1 → 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 (465) hide show
  1. package/fesm2022/snabcentr-client-ui.mjs +4349 -4761
  2. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  3. package/package.json +35 -36
  4. package/release_notes.tmp +2 -4
  5. package/styles/taiga/variables.less +16 -17
  6. package/styles/tailwind/tailwind.scss +17 -12
  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 -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 -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/index.d.ts +0 -3
  35. package/catalog/catalog-filters/sc-catalog-filters.component.d.ts +0 -102
  36. package/catalog/catalog-filters/tokens/sc-catalog-products-filters.d.ts +0 -7
  37. package/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.d.ts +0 -5
  38. package/catalog/category-card/sc-category-card.component.d.ts +0 -76
  39. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +0 -23
  40. package/catalog/download-price-list/sc-download-price-list.component.d.ts +0 -38
  41. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +0 -48
  42. package/catalog/index.d.ts +0 -15
  43. package/catalog/input-quantity/sc-input-quantity.component.d.ts +0 -82
  44. package/catalog/notify-when-in-stock-dialog/index.d.ts +0 -2
  45. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +0 -90
  46. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +0 -22
  47. package/catalog/price-card/sc-price-card.component.d.ts +0 -18
  48. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +0 -10
  49. package/catalog/price-history/sc-price-history.component.d.ts +0 -88
  50. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +0 -40
  51. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +0 -47
  52. package/catalog/sc-catalog.module.d.ts +0 -29
  53. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +0 -25
  54. package/catalog/seo-tags/sc-seo-tags.component.d.ts +0 -20
  55. package/configurators/index.d.ts +0 -3
  56. package/configurators/models/index.d.ts +0 -3
  57. package/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.d.ts +0 -22
  58. package/configurators/models/sandwich/sc-i-sandwich-settings.d.ts +0 -18
  59. package/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.d.ts +0 -18
  60. package/configurators/sandwich/index.d.ts +0 -3
  61. package/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.d.ts +0 -8
  62. package/configurators/sandwich/sc-i-new-cart-item-sandwich.d.ts +0 -14
  63. package/configurators/sandwich/sc-sandwich.component.d.ts +0 -182
  64. package/configurators/sandwich_m2/index.d.ts +0 -4
  65. package/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.d.ts +0 -8
  66. package/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.d.ts +0 -23
  67. package/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.d.ts +0 -13
  68. package/configurators/sandwich_m2/sc-sandwich-m2.component.d.ts +0 -267
  69. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +0 -49
  70. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +0 -23
  71. package/contacts/index.d.ts +0 -7
  72. package/contacts/manager-card/sc-manager-card.component.d.ts +0 -22
  73. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +0 -18
  74. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +0 -28
  75. package/contacts/sc-contacts.module.d.ts +0 -27
  76. package/contacts/tokens/index.d.ts +0 -2
  77. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +0 -6
  78. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +0 -5
  79. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +0 -49
  80. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +0 -158
  81. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +0 -62
  82. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +0 -49
  83. package/contragents/index.d.ts +0 -7
  84. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +0 -64
  85. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +0 -119
  86. package/contragents/sc-contragents.module.d.ts +0 -26
  87. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -141
  88. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +0 -50
  89. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +0 -49
  90. package/delivery-address/index.d.ts +0 -4
  91. package/delivery-address/sc-delivery-address.module.d.ts +0 -25
  92. package/dialogs/index.d.ts +0 -1
  93. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +0 -42
  94. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +0 -136
  95. package/directives/index.d.ts +0 -9
  96. package/directives/links/index.d.ts +0 -4
  97. package/directives/links/sc-email-link.directive.d.ts +0 -25
  98. package/directives/links/sc-link-location.d.ts +0 -5
  99. package/directives/links/sc-links.d.ts +0 -7
  100. package/directives/links/sc-tel-link.directive.d.ts +0 -40
  101. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +0 -27
  102. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
  103. package/directives/print/sc-print.directive.d.ts +0 -21
  104. package/directives/sc-date-value-transformer.directive.d.ts +0 -8
  105. package/directives/sc-focus-first-invalid-field.directive.d.ts +0 -30
  106. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +0 -14
  107. package/directives/terminal-link/sc-terminal-link.directive.d.ts +0 -34
  108. package/error-handler/consts/error-change-handler.providers.d.ts +0 -6
  109. package/error-handler/error-block-status/error-block-status.component.d.ts +0 -45
  110. package/error-handler/index.d.ts +0 -4
  111. package/error-handler/interfaces/i-block-error.d.ts +0 -17
  112. package/error-handler/sc-error-handler.component.d.ts +0 -40
  113. package/esm2022/accordion/index.mjs +0 -4
  114. package/esm2022/accordion/sc-accordion-content.directive.mjs +0 -17
  115. package/esm2022/accordion/sc-accordion.component.mjs +0 -92
  116. package/esm2022/accordion/sc-accordion.module.mjs +0 -26
  117. package/esm2022/auth/enums/auth-method.mjs +0 -15
  118. package/esm2022/auth/index.mjs +0 -9
  119. package/esm2022/auth/interfaces/index.mjs +0 -3
  120. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +0 -2
  121. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +0 -2
  122. package/esm2022/auth/sc-auth.module.mjs +0 -103
  123. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -100
  124. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -81
  125. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -89
  126. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +0 -203
  127. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -334
  128. package/esm2022/banner/index.mjs +0 -3
  129. package/esm2022/banner/sc-banner.component.mjs +0 -131
  130. package/esm2022/banner/sc-banner.module.mjs +0 -29
  131. package/esm2022/brands-list/index.mjs +0 -3
  132. package/esm2022/brands-list/sc-brands-list.component.mjs +0 -24
  133. package/esm2022/brands-list/sc-brands-list.module.mjs +0 -22
  134. package/esm2022/cart/add-or-editing-cart-item-dialog/add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component.mjs +0 -233
  135. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +0 -3
  136. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +0 -76
  137. package/esm2022/cart/index.mjs +0 -3
  138. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
  139. package/esm2022/catalog/catalog-filters/index.mjs +0 -4
  140. package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +0 -213
  141. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-products-filters.mjs +0 -10
  142. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.mjs +0 -6
  143. package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
  144. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -39
  145. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +0 -56
  146. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +0 -76
  147. package/esm2022/catalog/index.mjs +0 -16
  148. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -189
  149. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +0 -3
  150. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +0 -173
  151. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +0 -35
  152. package/esm2022/catalog/price-card/sc-price-card.component.mjs +0 -73
  153. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +0 -56
  154. package/esm2022/catalog/price-history/sc-price-history.component.mjs +0 -140
  155. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -65
  156. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +0 -61
  157. package/esm2022/catalog/sc-catalog.module.mjs +0 -126
  158. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
  159. package/esm2022/catalog/seo-tags/sc-seo-tags.component.mjs +0 -25
  160. package/esm2022/configurators/index.mjs +0 -4
  161. package/esm2022/configurators/models/index.mjs +0 -4
  162. package/esm2022/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.mjs +0 -2
  163. package/esm2022/configurators/models/sandwich/sc-i-sandwich-settings.mjs +0 -2
  164. package/esm2022/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.mjs +0 -2
  165. package/esm2022/configurators/sandwich/index.mjs +0 -4
  166. package/esm2022/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.mjs +0 -14
  167. package/esm2022/configurators/sandwich/sc-i-new-cart-item-sandwich.mjs +0 -2
  168. package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +0 -382
  169. package/esm2022/configurators/sandwich_m2/index.mjs +0 -5
  170. package/esm2022/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.mjs +0 -14
  171. package/esm2022/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.mjs +0 -2
  172. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.mjs +0 -5
  173. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2.component.mjs +0 -561
  174. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -91
  175. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -37
  176. package/esm2022/contacts/index.mjs +0 -8
  177. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +0 -58
  178. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +0 -28
  179. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -37
  180. package/esm2022/contacts/sc-contacts.module.mjs +0 -89
  181. package/esm2022/contacts/tokens/index.mjs +0 -3
  182. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -25
  183. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -9
  184. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -81
  185. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -266
  186. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -74
  187. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -68
  188. package/esm2022/contragents/index.mjs +0 -8
  189. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -72
  190. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -224
  191. package/esm2022/contragents/sc-contragents.module.mjs +0 -115
  192. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -248
  193. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +0 -60
  194. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +0 -68
  195. package/esm2022/delivery-address/index.mjs +0 -5
  196. package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -96
  197. package/esm2022/dialogs/index.mjs +0 -2
  198. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -68
  199. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
  200. package/esm2022/directives/index.mjs +0 -10
  201. package/esm2022/directives/links/index.mjs +0 -5
  202. package/esm2022/directives/links/sc-email-link.directive.mjs +0 -49
  203. package/esm2022/directives/links/sc-link-location.mjs +0 -2
  204. package/esm2022/directives/links/sc-links.mjs +0 -8
  205. package/esm2022/directives/links/sc-tel-link.directive.mjs +0 -79
  206. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +0 -70
  207. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
  208. package/esm2022/directives/print/sc-print.directive.mjs +0 -36
  209. package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
  210. package/esm2022/directives/sc-focus-first-invalid-field.directive.mjs +0 -85
  211. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +0 -31
  212. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +0 -69
  213. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +0 -10
  214. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -88
  215. package/esm2022/error-handler/index.mjs +0 -5
  216. package/esm2022/error-handler/interfaces/i-block-error.mjs +0 -2
  217. package/esm2022/error-handler/sc-error-handler.component.mjs +0 -58
  218. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +0 -344
  219. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +0 -32
  220. package/esm2022/feedback/index.mjs +0 -4
  221. package/esm2022/feedback/interfaces/index.mjs +0 -2
  222. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +0 -2
  223. package/esm2022/files/directives/index.mjs +0 -3
  224. package/esm2022/files/directives/tree-top.directive.mjs +0 -63
  225. package/esm2022/files/directives/tree.directive.mjs +0 -47
  226. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +0 -18
  227. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +0 -61
  228. package/esm2022/files/files-and-documents.module.mjs +0 -28
  229. package/esm2022/files/index.mjs +0 -6
  230. package/esm2022/files/interfaces/tree-node.mjs +0 -2
  231. package/esm2022/files/services/index.mjs +0 -3
  232. package/esm2022/files/services/tree-icon.service.mjs +0 -49
  233. package/esm2022/files/services/tree-loader.service.mjs +0 -62
  234. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -156
  235. package/esm2022/form-fields/form-fields.module.mjs +0 -66
  236. package/esm2022/form-fields/index.mjs +0 -4
  237. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -174
  238. package/esm2022/icons/index.mjs +0 -2
  239. package/esm2022/icons/sc-client-ui-icons-name.mjs +0 -99
  240. package/esm2022/loader/index.mjs +0 -2
  241. package/esm2022/loader/sc-i-loader.mjs +0 -2
  242. package/esm2022/masks/index.mjs +0 -8
  243. package/esm2022/masks/sc-account-number-mask.mjs +0 -7
  244. package/esm2022/masks/sc-bic-mask.mjs +0 -7
  245. package/esm2022/masks/sc-correspondent-account-mask.mjs +0 -7
  246. package/esm2022/masks/sc-inn-mask.mjs +0 -13
  247. package/esm2022/masks/sc-kpp-mask.mjs +0 -7
  248. package/esm2022/masks/sc-okpo-mask.mjs +0 -13
  249. package/esm2022/masks/sc-phone-verification-code-mask.mjs +0 -7
  250. package/esm2022/methods/index.mjs +0 -2
  251. package/esm2022/methods/sc-get-current-route.mjs +0 -14
  252. package/esm2022/models/i-sc-image.mjs +0 -2
  253. package/esm2022/models/index.mjs +0 -2
  254. package/esm2022/news/index.mjs +0 -4
  255. package/esm2022/news/news-card/sc-news-card.component.mjs +0 -34
  256. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +0 -31
  257. package/esm2022/news/sc-news.module.mjs +0 -26
  258. package/esm2022/noindex-wrapper/directives/index.mjs +0 -2
  259. package/esm2022/noindex-wrapper/directives/sc-noindex.directive.mjs +0 -58
  260. package/esm2022/noindex-wrapper/index.mjs +0 -3
  261. package/esm2022/noindex-wrapper/sc-noindex-wrapper.component.mjs +0 -18
  262. package/esm2022/order/directives/index.mjs +0 -3
  263. package/esm2022/order/directives/sc-order-accessor.directive.mjs +0 -28
  264. package/esm2022/order/directives/sc-order-options.mjs +0 -11
  265. package/esm2022/order/draft/sc-draft.component.mjs +0 -118
  266. package/esm2022/order/index.mjs +0 -10
  267. package/esm2022/order/models/sc-i-cart-items-by-direction.mjs +0 -22
  268. package/esm2022/order/order-item/sc-order-item.component.mjs +0 -108
  269. package/esm2022/order/order-items-list/sc-order-items-list.component.mjs +0 -209
  270. package/esm2022/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.mjs +0 -75
  271. package/esm2022/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.mjs +0 -75
  272. package/esm2022/order/sc-order.module.mjs +0 -52
  273. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  274. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +0 -49
  275. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -8
  276. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +0 -59
  277. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +0 -107
  278. package/esm2022/pages/index.mjs +0 -7
  279. package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +0 -46
  280. package/esm2022/pages/privacy-policy/sc-privacy-policy.component.mjs +0 -30
  281. package/esm2022/pages/public-offer/sc-public-offer.component.mjs +0 -50
  282. package/esm2022/pipes/index.mjs +0 -3
  283. package/esm2022/pipes/sc-format-date.mjs +0 -33
  284. package/esm2022/pipes/sc-phone-format.mjs +0 -44
  285. package/esm2022/profile/index.mjs +0 -3
  286. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -174
  287. package/esm2022/profile/sc-profile.module.mjs +0 -73
  288. package/esm2022/providers/date-value-transformer/index.mjs +0 -4
  289. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +0 -2
  290. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +0 -26
  291. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +0 -37
  292. package/esm2022/providers/index.mjs +0 -16
  293. package/esm2022/providers/sc-allow-select-terminated.mjs +0 -8
  294. package/esm2022/providers/sc-banner-duration.mjs +0 -8
  295. package/esm2022/providers/sc-country-ids.mjs +0 -8
  296. package/esm2022/providers/sc-date-formatter.mjs +0 -15
  297. package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
  298. package/esm2022/providers/sc-debounce-time-default.mjs +0 -9
  299. package/esm2022/providers/sc-dialog-service.providers.mjs +0 -6
  300. package/esm2022/providers/sc-help-notification-close.mjs +0 -9
  301. package/esm2022/providers/sc-help-notification-limit.mjs +0 -8
  302. package/esm2022/providers/sc-hidden-print-elements.token.mjs +0 -10
  303. package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -8
  304. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -8
  305. package/esm2022/providers/sc-page-size-options.mjs +0 -8
  306. package/esm2022/providers/sc-user-providers.mjs +0 -38
  307. package/esm2022/providers/sc-verification-code-timeout.mjs +0 -8
  308. package/esm2022/public-api.mjs +0 -35
  309. package/esm2022/qrcode/index.mjs +0 -3
  310. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +0 -58
  311. package/esm2022/qrcode/sc-qrcode.module.mjs +0 -25
  312. package/esm2022/samples/index.mjs +0 -5
  313. package/esm2022/samples/interfaces/index.mjs +0 -3
  314. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +0 -2
  315. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +0 -2
  316. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +0 -42
  317. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +0 -63
  318. package/esm2022/samples/sc-sample.module.mjs +0 -66
  319. package/esm2022/services/index.mjs +0 -3
  320. package/esm2022/services/print.service.mjs +0 -49
  321. package/esm2022/services/sc-help-notification.service.mjs +0 -100
  322. package/esm2022/share-button/index.mjs +0 -3
  323. package/esm2022/share-button/sc-share-button.component.mjs +0 -35
  324. package/esm2022/share-button/sc-share-button.module.mjs +0 -22
  325. package/esm2022/snabcentr-client-ui.mjs +0 -5
  326. package/esm2022/user/index.mjs +0 -6
  327. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +0 -74
  328. package/esm2022/user/sc-user.module.mjs +0 -86
  329. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -121
  330. package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -40
  331. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -105
  332. package/esm2022/validators/index.mjs +0 -7
  333. package/esm2022/validators/sc-at-least-one-required-validator.mjs +0 -25
  334. package/esm2022/validators/sc-bic-validator.mjs +0 -10
  335. package/esm2022/validators/sc-correspondent-account-validator.mjs +0 -10
  336. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +0 -17
  337. package/esm2022/validators/sc-phone-validator.mjs +0 -14
  338. package/esm2022/validators/step-validator.mjs +0 -18
  339. package/esm2022/verification/index.mjs +0 -3
  340. package/esm2022/verification/sc-verification.module.mjs +0 -86
  341. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -259
  342. package/feedback/feedback-form/sc-feedback-form.component.d.ts +0 -163
  343. package/feedback/gratitude/sc-gratitude.component.d.ts +0 -20
  344. package/feedback/index.d.ts +0 -3
  345. package/feedback/interfaces/index.d.ts +0 -1
  346. package/feedback/interfaces/sc-feedback-form-config.d.ts +0 -23
  347. package/files/directives/index.d.ts +0 -2
  348. package/files/directives/tree-top.directive.d.ts +0 -33
  349. package/files/directives/tree.directive.d.ts +0 -35
  350. package/files/file-tree-item/file-tree-item.component.d.ts +0 -9
  351. package/files/files-and-documents/files-and-documents.component.d.ts +0 -27
  352. package/files/files-and-documents.module.d.ts +0 -17
  353. package/files/index.d.ts +0 -5
  354. package/files/interfaces/tree-node.d.ts +0 -29
  355. package/files/services/index.d.ts +0 -2
  356. package/files/services/tree-icon.service.d.ts +0 -23
  357. package/files/services/tree-loader.service.d.ts +0 -43
  358. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -78
  359. package/form-fields/form-fields.module.d.ts +0 -18
  360. package/form-fields/index.d.ts +0 -3
  361. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -73
  362. package/icons/index.d.ts +0 -1
  363. package/icons/sc-client-ui-icons-name.d.ts +0 -4
  364. package/index.d.ts +0 -5
  365. package/loader/index.d.ts +0 -1
  366. package/loader/sc-i-loader.d.ts +0 -9
  367. package/masks/index.d.ts +0 -7
  368. package/masks/sc-account-number-mask.d.ts +0 -5
  369. package/masks/sc-bic-mask.d.ts +0 -5
  370. package/masks/sc-correspondent-account-mask.d.ts +0 -5
  371. package/masks/sc-inn-mask.d.ts +0 -9
  372. package/masks/sc-kpp-mask.d.ts +0 -5
  373. package/masks/sc-okpo-mask.d.ts +0 -9
  374. package/masks/sc-phone-verification-code-mask.d.ts +0 -5
  375. package/methods/index.d.ts +0 -1
  376. package/methods/sc-get-current-route.d.ts +0 -8
  377. package/models/i-sc-image.d.ts +0 -17
  378. package/models/index.d.ts +0 -1
  379. package/news/index.d.ts +0 -3
  380. package/news/news-card/sc-news-card.component.d.ts +0 -22
  381. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +0 -16
  382. package/news/sc-news.module.d.ts +0 -16
  383. package/noindex-wrapper/directives/index.d.ts +0 -1
  384. package/noindex-wrapper/directives/sc-noindex.directive.d.ts +0 -29
  385. package/noindex-wrapper/index.d.ts +0 -2
  386. package/noindex-wrapper/sc-noindex-wrapper.component.d.ts +0 -9
  387. package/order/directives/index.d.ts +0 -2
  388. package/order/directives/sc-order-accessor.directive.d.ts +0 -13
  389. package/order/directives/sc-order-options.d.ts +0 -14
  390. package/order/draft/sc-draft.component.d.ts +0 -63
  391. package/order/index.d.ts +0 -9
  392. package/order/models/sc-i-cart-items-by-direction.d.ts +0 -25
  393. package/order/order-item/sc-order-item.component.d.ts +0 -39
  394. package/order/order-items-list/sc-order-items-list.component.d.ts +0 -109
  395. package/order/order-items-list-by-directions/sc-order-items-list-by-directions.component.d.ts +0 -58
  396. package/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.d.ts +0 -55
  397. package/order/sc-order.module.d.ts +0 -18
  398. package/order/sc-payment-status/sc-payment-status.component.d.ts +0 -25
  399. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +0 -22
  400. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +0 -5
  401. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +0 -28
  402. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +0 -79
  403. package/pages/index.d.ts +0 -6
  404. package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +0 -17
  405. package/pages/privacy-policy/sc-privacy-policy.component.d.ts +0 -17
  406. package/pages/public-offer/sc-public-offer.component.d.ts +0 -22
  407. package/pipes/index.d.ts +0 -2
  408. package/pipes/sc-format-date.d.ts +0 -20
  409. package/pipes/sc-phone-format.d.ts +0 -21
  410. package/profile/index.d.ts +0 -2
  411. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +0 -126
  412. package/profile/sc-profile.module.d.ts +0 -23
  413. package/providers/date-value-transformer/index.d.ts +0 -3
  414. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +0 -9
  415. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +0 -16
  416. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +0 -22
  417. package/providers/index.d.ts +0 -15
  418. package/providers/sc-allow-select-terminated.d.ts +0 -5
  419. package/providers/sc-banner-duration.d.ts +0 -5
  420. package/providers/sc-country-ids.d.ts +0 -5
  421. package/providers/sc-date-formatter.d.ts +0 -6
  422. package/providers/sc-date-value-transformer.d.ts +0 -5
  423. package/providers/sc-debounce-time-default.d.ts +0 -5
  424. package/providers/sc-dialog-service.providers.d.ts +0 -45
  425. package/providers/sc-help-notification-close.d.ts +0 -6
  426. package/providers/sc-help-notification-limit.d.ts +0 -5
  427. package/providers/sc-hidden-print-elements.token.d.ts +0 -6
  428. package/providers/sc-max-files-in-form-input.d.ts +0 -5
  429. package/providers/sc-notify-when-in-stock-required-fields.d.ts +0 -5
  430. package/providers/sc-page-size-options.d.ts +0 -5
  431. package/providers/sc-user-providers.d.ts +0 -21
  432. package/providers/sc-verification-code-timeout.d.ts +0 -5
  433. package/public-api.d.ts +0 -34
  434. package/qrcode/index.d.ts +0 -2
  435. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +0 -37
  436. package/qrcode/sc-qrcode.module.d.ts +0 -14
  437. package/samples/index.d.ts +0 -4
  438. package/samples/interfaces/index.d.ts +0 -2
  439. package/samples/interfaces/sc-i-preview-sample.d.ts +0 -56
  440. package/samples/interfaces/sc-preview-mosquito-config.d.ts +0 -62
  441. package/samples/preview-sample/sc-preview-sample.component.d.ts +0 -30
  442. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +0 -50
  443. package/samples/sc-sample.module.d.ts +0 -19
  444. package/services/index.d.ts +0 -2
  445. package/services/print.service.d.ts +0 -31
  446. package/services/sc-help-notification.service.d.ts +0 -70
  447. package/share-button/index.d.ts +0 -2
  448. package/share-button/sc-share-button.component.d.ts +0 -22
  449. package/share-button/sc-share-button.module.d.ts +0 -12
  450. package/user/index.d.ts +0 -5
  451. package/user/reset-user-password/sc-reset-user-password.component.d.ts +0 -46
  452. package/user/sc-user.module.d.ts +0 -24
  453. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +0 -63
  454. package/user/user-managers/sc-user-managers.component.d.ts +0 -23
  455. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +0 -53
  456. package/validators/index.d.ts +0 -6
  457. package/validators/sc-at-least-one-required-validator.d.ts +0 -10
  458. package/validators/sc-bic-validator.d.ts +0 -8
  459. package/validators/sc-correspondent-account-validator.d.ts +0 -8
  460. package/validators/sc-password-confirm-matching-validator.d.ts +0 -8
  461. package/validators/sc-phone-validator.d.ts +0 -5
  462. package/validators/step-validator.d.ts +0 -8
  463. package/verification/index.d.ts +0 -2
  464. package/verification/sc-verification.module.d.ts +0 -21
  465. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -145
@@ -1,79 +0,0 @@
1
- import { EventEmitter, InputSignal, QueryList, TemplateRef } from '@angular/core';
2
- import { ScBanner } from '@snabcentr/client-core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Баннер с прокруткой переданных {@link TemplateRef} элементов, и баннеров локации.
6
- */
7
- export declare class ScBannerComponent {
8
- /**
9
- * Признак, что необходимо показывать кнопки навигации.
10
- */
11
- navigateButton: boolean;
12
- /**
13
- * Интервал автоматической смены слайдов в миллисекундах (используйте 0, чтобы отключить автоматическую смену слайда).
14
- */
15
- duration: number;
16
- /**
17
- * Местоположение баннера.
18
- */
19
- bannerLocation: InputSignal<string | undefined>;
20
- /**
21
- * Признак, что компонент должен растягиваться.
22
- */
23
- resizable: boolean;
24
- /**
25
- * Событие загрузки баннеров с количеством полученных баннеров.
26
- */
27
- loadBannersEvent: EventEmitter<number>;
28
- /**
29
- * Событие нажатия на изображение баннера.
30
- */
31
- clickBannerEvent: EventEmitter<ScBanner>;
32
- /**
33
- * Список ссылок на элемент представлений шаблонов.
34
- */
35
- bannersListRef: QueryList<TemplateRef<any>>;
36
- /**
37
- * Свойство, от которого зависит соотношение `:host` компонента.
38
- */
39
- aspectRatio: string;
40
- /**
41
- * Идентификатор текущего баннера.
42
- */
43
- protected currentBannerId: number;
44
- /**
45
- * Сервис для работы с данными о баннерах.
46
- */
47
- private readonly bannerService;
48
- /**
49
- * Сервис для сбора метрик о действиях пользователей.
50
- */
51
- private readonly userMetrikaService;
52
- /**
53
- * Список баннеров.
54
- */
55
- protected readonly banners$: import("rxjs").Observable<ScBanner[]>;
56
- protected readonly banners: import("@angular/core").Signal<ScBanner[]>;
57
- /**
58
- * Общее количество слайдов (баннеры + контент-проекция).
59
- * Используется для отключения автоскролла при 0–1 слайдах, чтобы не вызывать
60
- * tuiClamp с max < min в TuiCarouselComponent.onAutoscroll → updateIndex.
61
- */
62
- readonly totalItems: import("@angular/core").Signal<number>;
63
- /**
64
- * trackBy для *ngFor баннеров: сохраняет узлы при обновлении списка,
65
- * чтобы карусель не видела 0 слайдов между тиками и не вызывала tuiClamp(…, -1).
66
- *
67
- * @param _index Индекс.
68
- * @param banner Данные о баннере.
69
- */
70
- trackByBannerId(_index: number, banner: ScBanner): number;
71
- /**
72
- * Обработчик нажатия на баннер.
73
- *
74
- * @param banner Баннер, по ссылке которого совершён переход.
75
- */
76
- onClick(banner: ScBanner): void;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<ScBannerComponent, "sc-banner", never, { "navigateButton": { "alias": "navigateButton"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "bannerLocation": { "alias": "bannerLocation"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; }; }, { "loadBannersEvent": "loadBannersEvent"; "clickBannerEvent": "clickBannerEvent"; }, ["bannersListRef"], never, false, never>;
79
- }
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sc-banner.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/router";
5
- import * as i4 from "@taiga-ui/core";
6
- import * as i5 from "@taiga-ui/cdk/directives/item";
7
- import * as i6 from "@taiga-ui/kit";
8
- import * as i7 from "@ng-web-apis/intersection-observer";
9
- import * as i8 from "@snabcentr/client-core";
10
- /**
11
- * Модуль баннеров.
12
- */
13
- export declare class ScBannerModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ScBannerModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScBannerModule, [typeof i1.ScBannerComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.TuiButton, typeof i5.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i4.TuiLoader, typeof i7.WaIntersectionObserverDirective, typeof i7.WaIntersectionObservee, typeof i7.WaIntersectionRoot, typeof i8.ScMediaImageTransformerPipe], [typeof i1.ScBannerComponent]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<ScBannerModule>;
17
- }
@@ -1,2 +0,0 @@
1
- export * from './sc-brands-list.component';
2
- export * from './sc-brands-list.module';
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * Компонент списка брэндов.
4
- */
5
- export declare class ScBrandsListComponent {
6
- /**
7
- * Список элементов брендов.
8
- */
9
- items: Array<{
10
- src: string;
11
- alt: string;
12
- }>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ScBrandsListComponent, "sc-brands-list", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
15
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./sc-brands-list.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/cdk";
5
- /**
6
- * Модуль списка брэндов.
7
- */
8
- export declare class ScBrandsListModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<ScBrandsListModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScBrandsListModule, [typeof i1.ScBrandsListComponent], [typeof i2.CommonModule, typeof i3.TuiRepeatTimes], [typeof i1.ScBrandsListComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<ScBrandsListModule>;
12
- }
@@ -1,102 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormControl, FormGroup } from '@angular/forms';
3
- import { ScINewOrderItemBase, ScOrderItem, ScProduct } from '@snabcentr/client-core';
4
- import { Observable } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Компонент добавления / изменения товара в корзине.
8
- */
9
- export declare class ScAddOrEditingCartItemFormComponent implements OnInit {
10
- /**
11
- * Группа полей добавления / изменения товара в корзине.
12
- */
13
- readonly form: FormGroup<{
14
- length?: FormControl<number | null>;
15
- quantity: FormControl<number | null>;
16
- marker: FormControl<string | null>;
17
- }>;
18
- /**
19
- * Данные о товаре.
20
- */
21
- readonly product: import("@angular/core").InputSignal<ScProduct>;
22
- /**
23
- * Признак того, что для указанной категории или продукта действует конфигуратор длины.
24
- */
25
- protected readonly isLengthConfigurator: import("@angular/core").Signal<boolean>;
26
- /**
27
- * Данные о товаре в корзине.
28
- */
29
- readonly orderItem: import("@angular/core").InputSignal<ScOrderItem | undefined>;
30
- /**
31
- * Признак загрузки данных.
32
- */
33
- readonly isLoading: import("@angular/core").InputSignal<boolean>;
34
- /**
35
- * Признак возможности продажи товара на метраж.
36
- */
37
- protected readonly productIsMeasurable: import("@angular/core").Signal<boolean>;
38
- /**
39
- * Кратность количества для товара.
40
- */
41
- protected readonly productMultiplicity: import("@angular/core").Signal<number>;
42
- /**
43
- * Минимальный метраж для товара.
44
- */
45
- protected readonly minLength: import("@angular/core").Signal<number | undefined>;
46
- /**
47
- * Максимальный метраж для товара.
48
- */
49
- protected readonly maxLength: import("@angular/core").Signal<number | undefined>;
50
- /**
51
- * Шаг изменения метража.
52
- */
53
- protected readonly lengthStep: import("@angular/core").Signal<number | undefined>;
54
- /**
55
- * Подсказка по минимальному и максимальному метражу товара.
56
- */
57
- protected readonly lengthHint: import("@angular/core").Signal<string>;
58
- /**
59
- * Итоговая стоимость заказа.
60
- */
61
- protected totalCost$: Observable<number>;
62
- /**
63
- * {@link Output} события добавления товара в корзину.
64
- */
65
- readonly addProduct: import("@angular/core").OutputEmitterRef<ScINewOrderItemBase>;
66
- /**
67
- * {@link Output} события редактирования товара в корзине.
68
- */
69
- readonly editCartItem: import("@angular/core").OutputEmitterRef<Omit<ScINewOrderItemBase, "productId">>;
70
- /**
71
- * Объект-помощник для работы со значениями единиц измерения товара.
72
- */
73
- private readonly unitsHelper;
74
- /**
75
- * Сервис для сбора метрик о действиях пользователей.
76
- */
77
- private readonly userMetrikaService;
78
- /**
79
- * Сервис конвертации данных.
80
- */
81
- private readonly convertersService;
82
- /** @inheritDoc */
83
- ngOnInit(): void;
84
- /**
85
- * Обработчик события шага метража.
86
- *
87
- * @param step Шаг.
88
- */
89
- protected onStepLength(step: number): void;
90
- /**
91
- * Обработчик события шага количества.
92
- *
93
- * @param step Шаг.
94
- */
95
- protected onStepQuantity(step: number): void;
96
- /**
97
- * Обработчик события отправки формы.
98
- */
99
- protected onSubmit(): void;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAddOrEditingCartItemFormComponent, never>;
101
- static ɵcmp: i0.ɵɵComponentDeclaration<ScAddOrEditingCartItemFormComponent, "sc-add-or-editing-cart-item-form", never, { "product": { "alias": "product"; "required": true; "isSignal": true; }; "orderItem": { "alias": "orderItem"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "addProduct": "addProduct"; "editCartItem": "editCartItem"; }, never, never, true, never>;
102
- }
@@ -1,2 +0,0 @@
1
- export * from './add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component';
2
- export * from './sc-add-or-editing-cart-item-dialog.component';
@@ -1,49 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { ScCart, ScINewOrderItemBase, ScIOrderEditorLoader, ScOrderDraft, ScOrderItem, ScProduct } from '@snabcentr/client-core';
3
- import { TuiDialogContext } from '@taiga-ui/core';
4
- import { Observable, Subject } from 'rxjs';
5
- import { ScAddOrEditingCartItemFormComponent } from './add-or-editing-cart-item-form/sc-add-or-editing-cart-item-form.component';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Компонент добавления / изменения товара в корзине.
9
- */
10
- export declare class ScAddOrEditingCartItemDialogComponent {
11
- /**
12
- * Компонент формы добавления / изменения товара в корзине.
13
- */
14
- readonly formComponent: Signal<ScAddOrEditingCartItemFormComponent>;
15
- /**
16
- * {@link Subject} события отправки формы.
17
- */
18
- readonly onSubmit: Subject<ScINewOrderItemBase>;
19
- /**
20
- * {@link Observable} запроса добавления / изменения товара в корзине.
21
- */
22
- readonly submit$: Observable<{} | ScCart | ScOrderDraft>;
23
- /**
24
- * {@link Observable} изменения состояния загрузки данных.
25
- */
26
- readonly loading: Signal<boolean>;
27
- /**
28
- * Контекст диалогового окна.
29
- */
30
- readonly context: TuiDialogContext<boolean, {
31
- product: ScProduct;
32
- orderItem: ScOrderItem | undefined;
33
- orderId: number | undefined;
34
- }>;
35
- /**
36
- * Данные о товаре.
37
- */
38
- readonly product: ScProduct;
39
- /**
40
- * Данные о товаре в корзине.
41
- */
42
- readonly orderItem: ScOrderItem | undefined;
43
- /**
44
- * Сервис получения и редактирования списка товаров заказа (корзина / заказ / черновик = заказ).
45
- */
46
- protected readonly orderService: ScIOrderEditorLoader<ScOrderItem, ScCart | ScOrderDraft>;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<ScAddOrEditingCartItemDialogComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<ScAddOrEditingCartItemDialogComponent, "sc-add-or-editing-cart-item-dialog", never, {}, {}, never, never, true, never>;
49
- }
package/cart/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component';
2
- export * from './add-or-editing-cart-item-dialog';
@@ -1,62 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { TuiDialogContext } from '@taiga-ui/core';
4
- import { Observable, Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * Компонент диалога для добавления товаров в корзину из CSV файла.
8
- */
9
- export declare class ScCartAddProductsFromCsvDialogComponent {
10
- /**
11
- * Контекст диалогового окна, в котором открыт компонент.
12
- */
13
- protected readonly context: TuiDialogContext;
14
- /**
15
- * Сервис для работы с корзиной.
16
- */
17
- private readonly cartService;
18
- /**
19
- * Объект окна.
20
- */
21
- private readonly window;
22
- /**
23
- * {@link Subject} события скачивания цен каталога.
24
- */
25
- protected readonly onDownloadClick: Subject<void>;
26
- /**
27
- * {@link Observable} запроса на скачивание цен каталога.
28
- */
29
- protected readonly downloadRequest$: Observable<Blob | null | undefined>;
30
- /**
31
- * Признак того, что запрос выполняется.
32
- */
33
- protected readonly isDownloadLoading: Signal<boolean>;
34
- /**
35
- * {@link Subject} события отправки формы.
36
- */
37
- protected readonly onSubmit$: Subject<void>;
38
- /**
39
- * {@link Observable} запроса на добавление товаров из CSV файла.
40
- */
41
- protected readonly submitRequest$: Observable<import("@snabcentr/client-core").ScCart | null>;
42
- /**
43
- * Признак того, что запрос на добавление товаров выполняется.
44
- */
45
- protected readonly isSubmitLoading: Signal<boolean>;
46
- /**
47
- * Поле для загрузки файла.
48
- */
49
- protected readonly control: FormControl<File | null>;
50
- /**
51
- * Метод для удаления загруженного файла.
52
- */
53
- protected removeFile(): void;
54
- /**
55
- * Метод для скачивания примера файла.
56
- *
57
- * @param blob Бинарный объект.
58
- */
59
- private downloadExampleFile;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCartAddProductsFromCsvDialogComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCartAddProductsFromCsvDialogComponent, "sc-cart-add-products-from-csv-dialog", never, {}, {}, never, never, true, never>;
62
- }
@@ -1,3 +0,0 @@
1
- export * from './tokens/sc-catalog-products-filters';
2
- export * from './tokens/sc-catalog-show-products-recursively';
3
- export * from './sc-catalog-filters.component';
@@ -1,102 +0,0 @@
1
- import { FormControl, FormGroup } from '@angular/forms';
2
- import { ScCatalogFilter, ScICheckboxFilter, ScPropertyFilters, ScRangeFilter, ScToggleFilter } from '@snabcentr/client-core';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Компонент вывода фильтров каталога.
6
- */
7
- export declare class ScCatalogFiltersComponent {
8
- /**
9
- * Состояние открытия accordion.
10
- */
11
- readonly isOpenAccordion: import("@angular/core").InputSignal<boolean>;
12
- /**
13
- * Сервис для работы с фильтрами каталога.
14
- */
15
- private readonly catalogFilterService;
16
- /**
17
- * Пайп, возвращающий идентификатор или символьное обозначение (slug) исходя из настроек окружения.
18
- */
19
- private readonly idOrSlugPipe;
20
- /**
21
- * Subject для хранения фильтров продуктов.
22
- */
23
- private readonly catalogProductsFilters$;
24
- /**
25
- * Признак необходимости отображать фильтры для вложенных категорий.
26
- */
27
- private readonly isRecursively;
28
- /**
29
- * {@link Observable} фильтров категории.
30
- */
31
- protected readonly filters: import("@angular/core").Signal<ScCatalogFilter[] | undefined>;
32
- /**
33
- * FormGroup для фильтров.
34
- */
35
- readonly form: FormGroup<Record<string, FormControl<string | null> | FormControl<boolean> | FormGroup<Record<string, FormControl<boolean>>> | FormControl<[number, number]>>>;
36
- /**
37
- * Инициализирует экземпляр класса {@link ScCatalogFiltersComponent}.
38
- */
39
- constructor();
40
- /**
41
- * Обновляет состав контролов формы на основе переданных фильтров.
42
- *
43
- * @param filters Массив фильтров для создания контролов.
44
- */
45
- protected updateFormControls(filters: ScCatalogFilter[]): void;
46
- /**
47
- * Преобразует значения формы в объект фильтров свойств.
48
- *
49
- * @param value Значения формы.
50
- * @returns Объект фильтров свойств.
51
- */
52
- protected buildPropertyFilters(value: Partial<Record<string, boolean | string | Record<string, boolean> | [number, number]>> | Record<string, unknown>): ScPropertyFilters;
53
- /**
54
- * Создает контрол формы для фильтра типа checkbox.
55
- *
56
- * Если `isMultiple === false` — возвращает {@link FormControl} строкового идентификатора (логика radio),
57
- * иначе — {@link FormGroup} независимых булевых контролов по идентификаторам значений.
58
- *
59
- * @param checkboxFilter Фильтр типа checkbox.
60
- */
61
- protected createCheckboxFormControl(checkboxFilter: ScICheckboxFilter): FormGroup<Record<string, FormControl<boolean>>> | FormControl<string | null>;
62
- /**
63
- * Создает FormControl для range.
64
- *
65
- * @param rangeFilter Фильтр типа range.
66
- */
67
- protected createRangeFormControl(rangeFilter: ScRangeFilter): FormControl<[number, number]>;
68
- /**
69
- * Создает FormControl для toggle.
70
- *
71
- * @param toggleFilter Фильтр типа toggle.
72
- */
73
- protected createToggleFormControl(toggleFilter: ScToggleFilter): FormControl<boolean>;
74
- /**
75
- * Обрабатывает checkbox фильтр.
76
- *
77
- * @param result Объект результата для заполнения.
78
- * @param filterId Идентификатор фильтра.
79
- * @param controlValue Значение контрола формы.
80
- */
81
- private processCheckboxFilter;
82
- /**
83
- * Обрабатывает range фильтр.
84
- *
85
- * @param result Объект результата для заполнения.
86
- * @param filterId Идентификатор фильтра.
87
- * @param controlValue Значение контрола формы.
88
- * @param controlValue.0 Начальное значение диапазона.
89
- * @param controlValue.1 Конечное значение диапазона.
90
- */
91
- private processRangeFilter;
92
- /**
93
- * Обрабатывает toggle фильтр.
94
- *
95
- * @param result Объект результата для заполнения.
96
- * @param filterId Идентификатор фильтра.
97
- * @param controlValue Значение контрола формы.
98
- */
99
- private processToggleFilter;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCatalogFiltersComponent, never>;
101
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCatalogFiltersComponent, "sc-catalog-filters", never, { "isOpenAccordion": { "alias": "isOpenAccordion"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
102
- }
@@ -1,7 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { ScPropertyFilters } from '@snabcentr/client-core';
3
- import { Subject } from 'rxjs';
4
- /**
5
- * Токен для инъекции {@link Subject} для хранения фильтров продуктов.
6
- */
7
- export declare const SC_CATALOG_PRODUCTS_FILTERS: InjectionToken<Subject<ScPropertyFilters>>;
@@ -1,5 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * Токен для инъекции признака необходимости отображать фильтры для вложенных категорий.
4
- */
5
- export declare const SC_CATALOG_SHOW_PRODUCTS_RECURSIVELY: InjectionToken<boolean>;
@@ -1,76 +0,0 @@
1
- import { ChangeDetectorRef, EventEmitter, InputSignal } from '@angular/core';
2
- import { ScCategory, ScIUrls } from '@snabcentr/client-core';
3
- import { TuiLooseUnion } from '@taiga-ui/cdk';
4
- import { TuiSizeS } from '@taiga-ui/core';
5
- import { Observable } from 'rxjs';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Карточка категории.
9
- */
10
- export declare class ScCategoryCardComponent {
11
- private readonly urls;
12
- private readonly pathImageNotFound;
13
- private readonly cdr;
14
- /**
15
- * Данные о категории.
16
- */
17
- category?: ScCategory;
18
- /**
19
- * Размер карточки категории.
20
- */
21
- size: TuiSizeS;
22
- /**
23
- * Вид отображения карточки.
24
- */
25
- appearance: InputSignal<TuiLooseUnion<'root' | 'normal'>>;
26
- /**
27
- * Признак, что необходимо отобразить лоадер для кнопки избранных товаров и категорий.
28
- */
29
- favoriteShowLoader: boolean;
30
- /**
31
- * {@link Observable} изменения статуса авторизации.
32
- */
33
- readonly authStatus$: Observable<boolean>;
34
- /**
35
- * Признак наведения на карточку.
36
- */
37
- protected isHover: boolean;
38
- /**
39
- * Признак что категория имеет поведение наведения и скрытия названия.
40
- */
41
- enableHover: boolean;
42
- /**
43
- * Признак того, отображается этот компонент на мобильном устройстве или нет.
44
- */
45
- readonly isMobile: boolean;
46
- /**
47
- * Событие нажатия на кнопку избранной категории.
48
- */
49
- clickOnFavoriteEvent: EventEmitter<ScCategory>;
50
- /**
51
- * Ссылка на страницу категории. Используется именно `href`, так как остановить событие клика для `routerLink` не вышло.
52
- */
53
- href?: string;
54
- /**
55
- * Инициализирует экземпляр класса {@link CategoryCardComponent}.
56
- *
57
- * @param urls Список ссылок приложения.
58
- * @param pathImageNotFound Путь до изображения 'Товар не найден'.
59
- * @param cdr Объект для работы с обнаружением изменений.
60
- */
61
- constructor(urls: ScIUrls, pathImageNotFound: string, cdr: ChangeDetectorRef);
62
- /**
63
- * Обработчик события наведения.
64
- *
65
- * @param isHover Признак наведения на карточку.
66
- */
67
- protected onHovered(isHover: boolean): void;
68
- /**
69
- * Устанавливает компонент в очередь на обновление.
70
- *
71
- * @deprecated
72
- */
73
- markForCheck(): void;
74
- static ɵfac: i0.ɵɵFactoryDeclaration<ScCategoryCardComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<ScCategoryCardComponent, "sc-category-card", never, { "category": { "alias": "category"; "required": false; }; "size": { "alias": "size"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "enableHover": { "alias": "enableHover"; "required": false; }; "href": { "alias": "href"; "required": false; }; }, { "clickOnFavoriteEvent": "clickOnFavoriteEvent"; }, never, never, false, never>;
76
- }
@@ -1,23 +0,0 @@
1
- import { ScIWarehouse, ScProduct } from '@snabcentr/client-core';
2
- import { TuiSizeL, TuiSizeS } from '@taiga-ui/core';
3
- import { Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Компонент центы товара с отображением скидки.
7
- */
8
- export declare class CostWithDiscountComponent {
9
- /**
10
- * {@link Observable} изменения выбранного склада.
11
- */
12
- readonly warehouseSelect$: Observable<ScIWarehouse | null>;
13
- /**
14
- * Объект товара.
15
- */
16
- product: ScProduct;
17
- /**
18
- * Размер компонента.
19
- */
20
- size: TuiSizeS | TuiSizeL;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<CostWithDiscountComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<CostWithDiscountComponent, "sc-cost-with-discount", never, { "product": { "alias": "product"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
23
- }
@@ -1,38 +0,0 @@
1
- import { ScMimeTypes } from '@snabcentr/client-core';
2
- import { Subject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Компонент скачивания каталога.
6
- */
7
- export declare class ScDownloadPriceListComponent {
8
- /**
9
- * Идентификатор категории, для которой нужно скачать прайс.
10
- */
11
- categoryId: import("@angular/core").InputSignal<number | undefined>;
12
- /**
13
- * {@link Subject} события скачивания цен каталога.
14
- */
15
- protected readonly onDownload: Subject<ScMimeTypes>;
16
- /**
17
- * {@link Observable} запроса на скачивание цен каталога.
18
- */
19
- protected readonly request$: import("rxjs").Observable<Blob | ScMimeTypes | undefined>;
20
- /**
21
- * Текст подсказки при скачивании.
22
- */
23
- protected readonly pdfLoadingHint: string;
24
- /**
25
- * Сервис для работы с каталогом.
26
- */
27
- private readonly catalogService;
28
- /**
29
- * Объект окна.
30
- */
31
- private readonly window;
32
- /**
33
- * Перечисление MIME-типов.
34
- */
35
- protected readonly mimeTypes: typeof ScMimeTypes;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<ScDownloadPriceListComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<ScDownloadPriceListComponent, "sc-download-price-list", never, { "categoryId": { "alias": "categoryId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
38
- }