@snabcentr/client-ui 1.18.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. package/accordion/sc-accordion-content.directive.d.ts +2 -2
  2. package/accordion/sc-accordion.component.d.ts +4 -4
  3. package/accordion/sc-accordion.module.d.ts +2 -2
  4. package/auth/index.d.ts +2 -1
  5. package/auth/interfaces/{ApiErrorResponse.d.ts → api-error-response.d.ts} +1 -3
  6. package/auth/interfaces/index.d.ts +3 -0
  7. package/auth/interfaces/sc-bank-account-form-group.d.ts +11 -0
  8. package/auth/interfaces/sc-contact-form-group.d.ts +10 -0
  9. package/auth/sc-auth.module.d.ts +14 -8
  10. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +5 -9
  11. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +4 -9
  12. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +9 -5
  13. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +153 -0
  14. package/banner/sc-banner.component.d.ts +9 -5
  15. package/banner/sc-banner.module.d.ts +5 -4
  16. package/brands-list/index.d.ts +2 -0
  17. package/brands-list/sc-brands-list.component.d.ts +15 -0
  18. package/brands-list/sc-brands-list.module.d.ts +12 -0
  19. package/cart/cart-item-mobile/sc-cart-item-mobile.component.d.ts +16 -16
  20. package/cart/sc-cart.module.d.ts +3 -3
  21. package/catalog/categories-list/sc-categories-list.component.d.ts +9 -3
  22. package/catalog/category-card/sc-category-card.component.d.ts +1 -1
  23. package/catalog/input-quantity/sc-input-quantity.component.d.ts +6 -14
  24. package/catalog/price-card/sc-price-card.component.d.ts +11 -105
  25. package/catalog/price-history/sc-price-history.component.d.ts +11 -5
  26. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +10 -5
  27. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +1 -1
  28. package/catalog/sc-catalog.module.d.ts +5 -4
  29. package/catalog/sc-favorite-btn/sc-favorite-btn.component.d.ts +1 -1
  30. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +11 -6
  31. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +1 -1
  32. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +1 -1
  33. package/contacts/sc-contacts.module.d.ts +6 -1
  34. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +3 -3
  35. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +23 -15
  36. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +1 -1
  37. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +1 -1
  38. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +1 -1
  39. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +31 -16
  40. package/contragents/sc-contragents.module.d.ts +6 -4
  41. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +83 -8
  42. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +1 -1
  43. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +1 -1
  44. package/delivery-address/sc-delivery-address.module.d.ts +4 -2
  45. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +107 -0
  46. package/directives/index.d.ts +6 -2
  47. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +18 -0
  48. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +10 -0
  49. package/directives/tel-link/sc-tel-link.directive.d.ts +27 -0
  50. package/directives/tel-link/sc-tel-link.module.d.ts +11 -0
  51. package/directives/terminal-link/sc-terminal-link.directive.d.ts +34 -0
  52. package/esm2022/accordion/sc-accordion-content.directive.mjs +17 -0
  53. package/esm2022/accordion/sc-accordion.component.mjs +88 -0
  54. package/esm2022/accordion/sc-accordion.module.mjs +26 -0
  55. package/esm2022/auth/index.mjs +8 -0
  56. package/esm2022/auth/interfaces/api-error-response.mjs +2 -0
  57. package/esm2022/auth/interfaces/index.mjs +4 -0
  58. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +2 -0
  59. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +2 -0
  60. package/esm2022/auth/sc-auth.module.mjs +98 -0
  61. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +72 -0
  62. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +70 -0
  63. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +89 -0
  64. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +321 -0
  65. package/esm2022/banner/sc-banner.component.mjs +234 -0
  66. package/esm2022/banner/sc-banner.module.mjs +29 -0
  67. package/esm2022/brands-list/index.mjs +3 -0
  68. package/esm2022/brands-list/sc-brands-list.component.mjs +24 -0
  69. package/esm2022/brands-list/sc-brands-list.module.mjs +22 -0
  70. package/esm2022/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +121 -0
  71. package/esm2022/cart/sc-cart.module.mjs +54 -0
  72. package/esm2022/catalog/categories-list/sc-categories-list.component.mjs +92 -0
  73. package/esm2022/catalog/category-card/sc-category-card.component.mjs +120 -0
  74. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +141 -0
  75. package/esm2022/catalog/price-card/sc-price-card.component.mjs +64 -0
  76. package/esm2022/catalog/price-history/sc-price-history.component.mjs +126 -0
  77. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +49 -0
  78. package/{esm2020 → esm2022}/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +6 -6
  79. package/esm2022/catalog/sc-catalog.module.mjs +120 -0
  80. package/esm2022/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +42 -0
  81. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +89 -0
  82. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +38 -0
  83. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +30 -0
  84. package/esm2022/contacts/sc-contacts.module.mjs +88 -0
  85. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +80 -0
  86. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +262 -0
  87. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +75 -0
  88. package/{esm2020 → esm2022}/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +6 -6
  89. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +64 -0
  90. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +220 -0
  91. package/esm2022/contragents/sc-contragents.module.mjs +110 -0
  92. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +230 -0
  93. package/{esm2020 → esm2022}/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +6 -6
  94. package/{esm2020 → esm2022}/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +6 -6
  95. package/esm2022/delivery-address/sc-delivery-address.module.mjs +84 -0
  96. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +131 -0
  97. package/esm2022/directives/index.mjs +7 -0
  98. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +43 -0
  99. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +19 -0
  100. package/esm2022/directives/tel-link/sc-tel-link.directive.mjs +58 -0
  101. package/esm2022/directives/tel-link/sc-tel-link.module.mjs +20 -0
  102. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +69 -0
  103. package/esm2022/files/directives/tree-top.directive.mjs +63 -0
  104. package/{esm2020 → esm2022}/files/directives/tree.directive.mjs +5 -5
  105. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +18 -0
  106. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +60 -0
  107. package/esm2022/files/files-and-documents.module.mjs +27 -0
  108. package/esm2022/files/services/tree-icon.service.mjs +49 -0
  109. package/{esm2020 → esm2022}/files/services/tree-loader.service.mjs +5 -5
  110. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +128 -0
  111. package/esm2022/form-fields/form-fields.module.mjs +69 -0
  112. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +134 -0
  113. package/{esm2020 → esm2022}/helpers/sc-px-converter.mjs +4 -4
  114. package/esm2022/helpers/sc-units-helper.mjs +45 -0
  115. package/{esm2020 → esm2022}/news/news-card/sc-news-card.component.mjs +4 -4
  116. package/{esm2020 → esm2022}/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +4 -4
  117. package/{esm2020 → esm2022}/news/sc-news.module.mjs +5 -5
  118. package/esm2022/order/order-item-mobile/order-item-mobile.component.mjs +80 -0
  119. package/esm2022/order/sc-order.module.mjs +29 -0
  120. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +35 -0
  121. package/esm2022/pipes/index.mjs +2 -0
  122. package/esm2022/pipes/sc-formatted-phone.mjs +34 -0
  123. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +182 -0
  124. package/esm2022/profile/sc-profile.module.mjs +77 -0
  125. package/{esm2020 → esm2022}/providers/index.mjs +1 -2
  126. package/esm2022/providers/scUserProviders.mjs +27 -0
  127. package/esm2022/public-api.mjs +30 -0
  128. package/esm2022/qrcode/index.mjs +3 -0
  129. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +58 -0
  130. package/esm2022/qrcode/sc-qrcode.module.mjs +25 -0
  131. package/esm2022/samples/ask-to-sample-form/sc-ask-to-sample-form.component.mjs +37 -0
  132. package/esm2022/samples/index.mjs +5 -0
  133. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +2 -0
  134. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +83 -0
  135. package/esm2022/samples/sc-sample.module.mjs +59 -0
  136. package/{esm2020 → esm2022}/share-button/sc-share-button.component.mjs +5 -5
  137. package/esm2022/share-button/sc-share-button.module.mjs +22 -0
  138. package/esm2022/user/index.mjs +6 -0
  139. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +71 -0
  140. package/esm2022/user/sc-user.module.mjs +89 -0
  141. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +117 -0
  142. package/esm2022/user/user-managers/sc-user-managers.component.mjs +41 -0
  143. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +102 -0
  144. package/{esm2020 → esm2022}/validators/index.mjs +2 -2
  145. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +17 -0
  146. package/esm2022/validators/stepValidator.mjs +18 -0
  147. package/esm2022/verification/sc-verification.module.mjs +68 -0
  148. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +198 -0
  149. package/fesm2022/snabcentr-client-ui.mjs +5710 -0
  150. package/fesm2022/snabcentr-client-ui.mjs.map +1 -0
  151. package/files/directives/tree-top.directive.d.ts +1 -1
  152. package/files/directives/tree.directive.d.ts +1 -1
  153. package/files/file-tree-item/file-tree-item.component.d.ts +3 -3
  154. package/files/files-and-documents/files-and-documents.component.d.ts +1 -1
  155. package/files/files-and-documents.module.d.ts +1 -1
  156. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +17 -11
  157. package/form-fields/form-fields.module.d.ts +5 -3
  158. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +10 -2
  159. package/helpers/sc-units-helper.d.ts +6 -6
  160. package/news/news-card/sc-news-card.component.d.ts +1 -1
  161. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +1 -1
  162. package/order/order-item-mobile/order-item-mobile.component.d.ts +9 -9
  163. package/order/sc-order.module.d.ts +4 -2
  164. package/order/sc-payment-status/sc-payment-status.component.d.ts +1 -1
  165. package/package.json +42 -45
  166. package/pipes/index.d.ts +1 -0
  167. package/pipes/sc-formatted-phone.d.ts +19 -0
  168. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +3 -3
  169. package/profile/sc-profile.module.d.ts +6 -4
  170. package/providers/index.d.ts +0 -1
  171. package/providers/scUserProviders.d.ts +2 -3
  172. package/public-api.d.ts +4 -0
  173. package/qrcode/index.d.ts +2 -0
  174. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +37 -0
  175. package/qrcode/sc-qrcode.module.d.ts +14 -0
  176. package/samples/ask-to-sample-form/sc-ask-to-sample-form.component.d.ts +18 -0
  177. package/samples/index.d.ts +4 -0
  178. package/samples/interfaces/sc-i-preview-sample.d.ts +47 -0
  179. package/samples/preview-sample/sc-preview-sample.component.d.ts +48 -0
  180. package/samples/sc-sample.module.d.ts +19 -0
  181. package/share-button/sc-share-button.component.d.ts +1 -1
  182. package/share-button/sc-share-button.module.d.ts +1 -1
  183. package/styles/taiga/taiga-tailwind-preset.js +121 -0
  184. package/styles/taiga/variables.less +17 -14
  185. package/styles/tailwind/tailwind.scss +252 -61
  186. package/user/index.d.ts +1 -0
  187. package/user/reset-user-password/sc-reset-user-password.component.d.ts +3 -3
  188. package/user/sc-user.module.d.ts +12 -8
  189. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +13 -9
  190. package/user/user-managers/sc-user-managers.component.d.ts +26 -0
  191. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +13 -8
  192. package/validators/index.d.ts +1 -1
  193. package/validators/{scPasswordConfirmMatchingValidator.d.ts → sc-password-confirm-matching-validator.d.ts} +1 -1
  194. package/verification/sc-verification.module.d.ts +5 -4
  195. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +18 -18
  196. package/directives/carousel-item-hidden/sc-carousel-item-hidden.directive.d.ts +0 -24
  197. package/directives/carousel-item-hidden/sc-carousel-item-hidden.module.d.ts +0 -11
  198. package/esm2020/accordion/sc-accordion-content.directive.mjs +0 -17
  199. package/esm2020/accordion/sc-accordion.component.mjs +0 -88
  200. package/esm2020/accordion/sc-accordion.module.mjs +0 -25
  201. package/esm2020/auth/index.mjs +0 -7
  202. package/esm2020/auth/interfaces/ApiErrorResponse.mjs +0 -2
  203. package/esm2020/auth/sc-auth.module.mjs +0 -79
  204. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -76
  205. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -75
  206. package/esm2020/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -71
  207. package/esm2020/banner/sc-banner.component.mjs +0 -232
  208. package/esm2020/banner/sc-banner.module.mjs +0 -26
  209. package/esm2020/cart/cart-item-mobile/sc-cart-item-mobile.component.mjs +0 -120
  210. package/esm2020/cart/sc-cart.module.mjs +0 -65
  211. package/esm2020/catalog/categories-list/sc-categories-list.component.mjs +0 -84
  212. package/esm2020/catalog/category-card/sc-category-card.component.mjs +0 -120
  213. package/esm2020/catalog/input-quantity/sc-input-quantity.component.mjs +0 -163
  214. package/esm2020/catalog/price-card/sc-price-card.component.mjs +0 -175
  215. package/esm2020/catalog/price-history/sc-price-history.component.mjs +0 -114
  216. package/esm2020/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -37
  217. package/esm2020/catalog/sc-catalog.module.mjs +0 -128
  218. package/esm2020/catalog/sc-favorite-btn/sc-favorite-btn.component.mjs +0 -41
  219. package/esm2020/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -71
  220. package/esm2020/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -35
  221. package/esm2020/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -28
  222. package/esm2020/contacts/sc-contacts.module.mjs +0 -92
  223. package/esm2020/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -71
  224. package/esm2020/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -249
  225. package/esm2020/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -75
  226. package/esm2020/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -61
  227. package/esm2020/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -183
  228. package/esm2020/contragents/sc-contragents.module.mjs +0 -103
  229. package/esm2020/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -79
  230. package/esm2020/delivery-address/sc-delivery-address.module.mjs +0 -77
  231. package/esm2020/directives/carousel-item-hidden/sc-carousel-item-hidden.directive.mjs +0 -40
  232. package/esm2020/directives/carousel-item-hidden/sc-carousel-item-hidden.module.mjs +0 -21
  233. package/esm2020/directives/index.mjs +0 -3
  234. package/esm2020/files/directives/tree-top.directive.mjs +0 -63
  235. package/esm2020/files/file-tree-item/file-tree-item.component.mjs +0 -18
  236. package/esm2020/files/files-and-documents/files-and-documents.component.mjs +0 -60
  237. package/esm2020/files/files-and-documents.module.mjs +0 -26
  238. package/esm2020/files/services/tree-icon.service.mjs +0 -48
  239. package/esm2020/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -122
  240. package/esm2020/form-fields/form-fields.module.mjs +0 -80
  241. package/esm2020/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -116
  242. package/esm2020/helpers/sc-units-helper.mjs +0 -44
  243. package/esm2020/order/order-item-mobile/order-item-mobile.component.mjs +0 -79
  244. package/esm2020/order/sc-order.module.mjs +0 -25
  245. package/esm2020/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  246. package/esm2020/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -177
  247. package/esm2020/profile/sc-profile.module.mjs +0 -80
  248. package/esm2020/providers/productsPagination.mjs +0 -99
  249. package/esm2020/providers/scUserProviders.mjs +0 -30
  250. package/esm2020/public-api.mjs +0 -26
  251. package/esm2020/share-button/sc-share-button.module.mjs +0 -22
  252. package/esm2020/user/index.mjs +0 -5
  253. package/esm2020/user/reset-user-password/sc-reset-user-password.component.mjs +0 -67
  254. package/esm2020/user/sc-user.module.mjs +0 -88
  255. package/esm2020/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -105
  256. package/esm2020/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -91
  257. package/esm2020/validators/scPasswordConfirmMatchingValidator.mjs +0 -17
  258. package/esm2020/validators/stepValidator.mjs +0 -18
  259. package/esm2020/verification/sc-verification.module.mjs +0 -73
  260. package/esm2020/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -184
  261. package/fesm2015/snabcentr-client-ui.mjs +0 -4861
  262. package/fesm2015/snabcentr-client-ui.mjs.map +0 -1
  263. package/fesm2020/snabcentr-client-ui.mjs +0 -4781
  264. package/fesm2020/snabcentr-client-ui.mjs.map +0 -1
  265. package/providers/productsPagination.d.ts +0 -43
  266. /package/{esm2020 → esm2022}/accordion/index.mjs +0 -0
  267. /package/{esm2020 → esm2022}/auth/enums/auth-method.mjs +0 -0
  268. /package/{esm2020 → esm2022}/banner/index.mjs +0 -0
  269. /package/{esm2020 → esm2022}/cart/index.mjs +0 -0
  270. /package/{esm2020 → esm2022}/catalog/index.mjs +0 -0
  271. /package/{esm2020 → esm2022}/contacts/index.mjs +0 -0
  272. /package/{esm2020 → esm2022}/contragents/index.mjs +0 -0
  273. /package/{esm2020 → esm2022}/delivery-address/index.mjs +0 -0
  274. /package/{esm2020 → esm2022}/files/directives/index.mjs +0 -0
  275. /package/{esm2020 → esm2022}/files/index.mjs +0 -0
  276. /package/{esm2020 → esm2022}/files/interfaces/tree-node.mjs +0 -0
  277. /package/{esm2020 → esm2022}/files/services/index.mjs +0 -0
  278. /package/{esm2020 → esm2022}/form-fields/index.mjs +0 -0
  279. /package/{esm2020 → esm2022}/helpers/index.mjs +0 -0
  280. /package/{esm2020 → esm2022}/icons/index.mjs +0 -0
  281. /package/{esm2020 → esm2022}/icons/sc-client-ui-icons-name.mjs +0 -0
  282. /package/{esm2020 → esm2022}/loader/index.mjs +0 -0
  283. /package/{esm2020 → esm2022}/loader/sc-i-loader.mjs +0 -0
  284. /package/{esm2020 → esm2022}/masks/index.mjs +0 -0
  285. /package/{esm2020 → esm2022}/masks/sc-account-number-mask.mjs +0 -0
  286. /package/{esm2020 → esm2022}/masks/sc-bic-mask.mjs +0 -0
  287. /package/{esm2020 → esm2022}/masks/sc-correspondent-account-mask.mjs +0 -0
  288. /package/{esm2020 → esm2022}/masks/sc-inn-mask.mjs +0 -0
  289. /package/{esm2020 → esm2022}/masks/sc-kpp-mask.mjs +0 -0
  290. /package/{esm2020 → esm2022}/masks/sc-okpo-mask.mjs +0 -0
  291. /package/{esm2020 → esm2022}/masks/sc-phone-verification-code-mask.mjs +0 -0
  292. /package/{esm2020 → esm2022}/news/index.mjs +0 -0
  293. /package/{esm2020 → esm2022}/order/index.mjs +0 -0
  294. /package/{esm2020 → esm2022}/profile/index.mjs +0 -0
  295. /package/{esm2020 → esm2022}/share-button/index.mjs +0 -0
  296. /package/{esm2020 → esm2022}/snabcentr-client-ui.mjs +0 -0
  297. /package/{esm2020 → esm2022}/tokens/index.mjs +0 -0
  298. /package/{esm2020 → esm2022}/tokens/sc-linear-values-token.mjs +0 -0
  299. /package/{esm2020 → esm2022}/validators/scBicValidator.mjs +0 -0
  300. /package/{esm2020 → esm2022}/validators/scCorrespondentAccountValidator.mjs +0 -0
  301. /package/{esm2020 → esm2022}/verification/index.mjs +0 -0
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Модель данных образцов товара.
3
+ */
4
+ export interface ScIPreviewSample {
5
+ /**
6
+ * Заголовок.
7
+ */
8
+ title: string;
9
+ /**
10
+ * Описание (подзаголовок).
11
+ */
12
+ description: string;
13
+ /**
14
+ * Экземпляры образцов.
15
+ */
16
+ items?: Array<{
17
+ /**
18
+ * Ссылка на изображение кнопки переключателя.
19
+ */
20
+ buttonImageUrl: string;
21
+ /**
22
+ * Ссылка на изображение в галерее, соответствующее кнопке.
23
+ */
24
+ carouselItemImage: string;
25
+ }>;
26
+ /**
27
+ * Ссылка на изображение товара в описании.
28
+ */
29
+ descriptionImageUrl?: string;
30
+ /**
31
+ * Элементы кнопок взаимодействия.
32
+ */
33
+ actions?: Array<{
34
+ /**
35
+ * Значок элемента взаимодействия.
36
+ */
37
+ icon: string;
38
+ /**
39
+ * Подпись элемента взаимодействия.
40
+ */
41
+ label: string;
42
+ /**
43
+ * Обработчик элемента взаимодействия.
44
+ */
45
+ handler: (...atr: unknown[]) => unknown;
46
+ }>;
47
+ }
@@ -0,0 +1,48 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ScIPreviewSample } from '../interfaces/sc-i-preview-sample';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Компонент представления образцов товара.
6
+ */
7
+ export declare class ScPreviewSampleComponent {
8
+ /**
9
+ * Индекс элемента в галерее.
10
+ */
11
+ index: number;
12
+ /**
13
+ * {@link EventEmitter} изменения индекса элемента в галерее.
14
+ */
15
+ readonly indexChange: EventEmitter<number>;
16
+ /**
17
+ * Объект данных товара.
18
+ */
19
+ sample: ScIPreviewSample;
20
+ /**
21
+ * Признак, что необходимо отображать переключатели на карусели.
22
+ */
23
+ isShowCarouselSwitches: boolean;
24
+ /**
25
+ * Признак, что при горизонтальном отображении компонент должен быть развёрнут.
26
+ */
27
+ isReverse: boolean;
28
+ /**
29
+ * {@link Observable} изменения индекса элемента в галерее для автоматического переключения по таймеру.
30
+ */
31
+ indexChangeInterval: import("rxjs").Observable<number>;
32
+ /**
33
+ * Переключает на предыдущее изображение в галерее.
34
+ */
35
+ onPrevious(): void;
36
+ /**
37
+ * Переключает на следующее изображение в галерее.
38
+ */
39
+ onNext(): void;
40
+ /**
41
+ * Обработчик изменения индекса элемента в галерее.
42
+ *
43
+ * @param index Индекс элемента в галерее.
44
+ */
45
+ onChangeIndex(index: number): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScPreviewSampleComponent, "sc-preview-sample", never, { "index": { "alias": "index"; "required": false; }; "sample": { "alias": "sample"; "required": false; }; "isShowCarouselSwitches": { "alias": "isShowCarouselSwitches"; "required": false; }; "isReverse": { "alias": "isReverse"; "required": false; }; }, { "indexChange": "indexChange"; }, never, never, false, never>;
48
+ }
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./preview-sample/sc-preview-sample.component";
3
+ import * as i2 from "./ask-to-sample-form/sc-ask-to-sample-form.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@taiga-ui/core";
7
+ import * as i6 from "@taiga-ui/kit";
8
+ import * as i7 from "../form-fields/form-fields.module";
9
+ import * as i8 from "@taiga-ui/legacy";
10
+ import * as i9 from "@taiga-ui/cdk/directives/item";
11
+ import * as i10 from "@taiga-ui/cdk";
12
+ /**
13
+ * Модуль представления образцов товара.
14
+ */
15
+ export declare class ScPreviewSampleModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ScPreviewSampleModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScPreviewSampleModule, [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.TuiError, typeof i6.TuiFieldErrorPipe, typeof i7.ScFormFieldsModule, typeof i8.TuiInputModule, typeof i8.TuiInputPhoneModule, typeof i9.TuiItem, typeof i6.TuiCarouselComponent, typeof i6.TuiCarouselDirective, typeof i6.TuiCarouselAutoscroll, typeof i6.TuiCarouselButtons, typeof i6.TuiCarouselScroll, typeof i6.TuiAvatar, typeof i10.TuiHovered, typeof i10.TuiLet, typeof i5.TuiButton, typeof i5.TuiLabel], [typeof i1.ScPreviewSampleComponent, typeof i2.ScAskToSampleFormComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<ScPreviewSampleModule>;
19
+ }
@@ -18,5 +18,5 @@ export declare class ScShareButtonComponent {
18
18
  */
19
19
  clickShareEvent: EventEmitter<void>;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "appearance": "appearance"; "size": "size"; }, { "clickShareEvent": "clickShareEvent"; }, never, never, false>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ScShareButtonComponent, "sc-share-button", never, { "appearance": { "alias": "appearance"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, { "clickShareEvent": "clickShareEvent"; }, never, never, false, never>;
22
22
  }
@@ -7,6 +7,6 @@ import * as i3 from "@taiga-ui/core";
7
7
  */
8
8
  export declare class ScShareButtonModule {
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<ScShareButtonModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScShareButtonModule, [typeof i1.ScShareButtonComponent], [typeof i2.CommonModule, typeof i3.TuiButtonModule], [typeof i1.ScShareButtonComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ScShareButtonModule, [typeof i1.ScShareButtonComponent], [typeof i2.CommonModule, typeof i3.TuiButton], [typeof i1.ScShareButtonComponent]>;
11
11
  static ɵinj: i0.ɵɵInjectorDeclaration<ScShareButtonModule>;
12
12
  }
@@ -7,10 +7,131 @@ module.exports = {
7
7
  'tui-heading': 'var(--tui-font-heading)',
8
8
  'tui-text': 'var(--tui-font-text)',
9
9
  },
10
+ fontSize: {
11
+ h1: [
12
+ '3.125rem',
13
+ {
14
+ lineHeight: '3.5rem',
15
+ fontWeight: '800',
16
+ },
17
+ ],
18
+ h2: [
19
+ '2.75rem',
20
+ {
21
+ lineHeight: '3rem',
22
+ fontWeight: '800',
23
+ },
24
+ ],
25
+ h3: [
26
+ '2.25rem',
27
+ {
28
+ lineHeight: '2.5rem',
29
+ fontWeight: '800',
30
+ },
31
+ ],
32
+ h4: [
33
+ '1.75rem',
34
+ {
35
+ lineHeight: '2rem',
36
+ fontWeight: '800',
37
+ },
38
+ ],
39
+ h5: [
40
+ '1.5rem',
41
+ {
42
+ lineHeight: '1.75rem',
43
+ fontWeight: '800',
44
+ },
45
+ ],
46
+ h6: [
47
+ '1.25rem',
48
+ {
49
+ lineHeight: '1.5rem',
50
+ fontWeight: '800',
51
+ },
52
+ ],
53
+ 'body-xl-bold': [
54
+ '1.1875rem',
55
+ {
56
+ lineHeight: '1.75rem',
57
+ fontWeight: ' 800',
58
+ },
59
+ ],
60
+ 'body-xl': [
61
+ '1.1875rem',
62
+ {
63
+ lineHeight: '1.75rem',
64
+ fontWeight: '500',
65
+ },
66
+ ],
67
+ 'body-l-bold': [
68
+ '1.0625rem',
69
+ {
70
+ lineHeight: '1.75rem',
71
+ fontWeight: ' 800',
72
+ },
73
+ ],
74
+ 'body-l': [
75
+ '1.0625rem',
76
+ {
77
+ lineHeight: '1.75rem',
78
+ fontWeight: '500',
79
+ },
80
+ ],
81
+ 'body-m-bold': [
82
+ '0.9375rem',
83
+ {
84
+ lineHeight: '1.5rem',
85
+ fontWeight: ' 800',
86
+ },
87
+ ],
88
+ 'body-m': [
89
+ '0.9375rem',
90
+ {
91
+ lineHeight: '1.5rem',
92
+ fontWeight: '500',
93
+ },
94
+ ],
95
+ 'body-s-bold': [
96
+ '0.8125rem',
97
+ {
98
+ lineHeight: '1.25rem',
99
+ fontWeight: ' 800',
100
+ },
101
+ ],
102
+ 'body-s': [
103
+ '0.8125rem',
104
+ {
105
+ lineHeight: '1.25rem',
106
+ fontWeight: '500',
107
+ },
108
+ ],
109
+ 'body-xs-bold': [
110
+ '0.6875rem',
111
+ {
112
+ lineHeight: '1rem',
113
+ fontWeight: ' 800',
114
+ },
115
+ ],
116
+ 'body-xs': [
117
+ '0.6875rem',
118
+ {
119
+ lineHeight: '1rem',
120
+ fontWeight: '500',
121
+ },
122
+ ],
123
+ },
10
124
  boxShadow: {
11
125
  'sc-1': '0px 5px 20px 0px rgba(0, 0, 0, 0.10)',
12
126
  'sc-2': '0px 2px 3px 0px rgba(0, 0, 0, 0.10)',
13
127
  'sc-border-inner': 'inset 0 0 0 0.0625rem',
128
+ 'tui-shadow': 'var(--tui-shadow)',
129
+ 'tui-shadow-hover': 'var(--tui-shadow-hover)',
130
+ 'tui-shadow-dropdown': 'var(--tui-shadow-dropdown)',
131
+ 'tui-shadow-modal': 'var(--tui-shadow-modal)',
132
+ 'tui-shadow-sidebar': 'var(--tui-shadow-sidebar)',
133
+ 'tui-shadow-navigation': 'var(--tui-shadow-navigation)',
134
+ 'tui-shadow-sheet': 'var(--tui-shadow-sheet)',
14
135
  },
15
136
  borderRadius: {
16
137
  'tui-radius-xs': 'var(--tui-radius-xs)',
@@ -1,17 +1,20 @@
1
1
  :root {
2
- // Sizes
3
- --tui-skeleton-radius: var(--tui-radius-m);
4
- // Base colors
5
- --tui-primary: #ffcc40; // primary buttons, background
6
- --tui-primary-hover: #ffe49b; // primary buttons hover
7
- --tui-primary-active: #ffbb00; // primary buttons pressed
8
- --tui-clear: rgba(246, 246, 246, 1); // translucent dark fill
9
- --tui-clear-disabled: rgb(230, 229, 229); // translucent dark fill disabled
10
- --tui-clear-hover: rgba(238, 239, 239, 1); // translucent dark fill hover
11
- --tui-clear-active: rgba(224, 223, 224, 1); // translucent dark fill pressed
12
- --tui-clear-inverse: rgba(255, 255, 255, 0.16); // translucent light fill
13
- --tui-clear-inverse-hover: rgba(255, 255, 255, 0.24); // translucent light fill hover
14
- --tui-clear-inverse-active: rgba(255, 255, 255, 0.4); // translucent light fill pressed
2
+ // Sizes
3
+ --tui-skeleton-radius: var(--tui-radius-m);
4
+ // Base colors
5
+ --tui-background-accent-1: #ffcc40; // primary buttons, background
6
+ --tui-background-accent-1-hover: #ffe49b; // primary buttons hover
7
+ --tui-background-accent-1-pressed: #ffbb00; // primary buttons pressed
8
+ --tui-background-neutral-1: #f4f4f4; // primary buttons, background
9
+ --tui-background-neutral-1-hover: #ececec; // primary buttons hover
10
+ --tui-background-neutral-1-pressed: #e0e0e0; // primary buttons pressed
11
+ --tui-background-neutral-1: rgba(246, 246, 246, 1); // translucent dark fill
12
+ --tui-background-neutral-1: rgb(230, 229, 229); // translucent dark fill disabled
13
+ --tui-background-neutral-1-hover: rgba(238, 239, 239, 1); // translucent dark fill hover
14
+ --tui-background-neutral-1-pressed: rgba(224, 223, 224, 1); // translucent dark fill pressed
15
+ --tui-background-neutral-1: rgba(255, 255, 255, 0.16); // translucent light fill
16
+ --tui-background-neutral-1-hover: rgba(255, 255, 255, 0.24); // translucent light fill hover
17
+ --tui-background-neutral-1-pressed: rgba(255, 255, 255, 0.4); // translucent light fill pressed
15
18
  }
16
19
 
17
20
  sc-input-quantity {
@@ -29,7 +32,7 @@ sc-input-quantity {
29
32
  }
30
33
 
31
34
  &._invalid {
32
- color: var(--tui-error-fill) !important;
35
+ color: var(--tui-status-negative) !important;
33
36
  }
34
37
 
35
38
  input {