@snabcentr/client-ui 4.14.8 → 4.14.9

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 (590) hide show
  1. package/fesm2022/snabcentr-client-ui.mjs +3439 -4483
  2. package/fesm2022/snabcentr-client-ui.mjs.map +1 -1
  3. package/icons/svg-pack/application.svg +1 -1
  4. package/icons/svg-pack/back.svg +1 -1
  5. package/icons/svg-pack/bag.svg +1 -1
  6. package/icons/svg-pack/banknote-arrow-in-top.svg +1 -1
  7. package/icons/svg-pack/catalog/aluminum-systems.svg +1 -1
  8. package/icons/svg-pack/catalog/arm-profile.svg +1 -1
  9. package/icons/svg-pack/catalog/batten.svg +1 -1
  10. package/icons/svg-pack/catalog/brusbox.svg +1 -1
  11. package/icons/svg-pack/catalog/canopy.svg +1 -1
  12. package/icons/svg-pack/catalog/configurator.svg +1 -1
  13. package/icons/svg-pack/catalog/covering-material.svg +1 -1
  14. package/icons/svg-pack/catalog/door-accessories.svg +1 -1
  15. package/icons/svg-pack/catalog/drainage-system.svg +1 -1
  16. package/icons/svg-pack/catalog/fastener.svg +1 -1
  17. package/icons/svg-pack/catalog/finishing-materials.svg +1 -1
  18. package/icons/svg-pack/catalog/fixing-impost.svg +1 -1
  19. package/icons/svg-pack/catalog/flask.svg +1 -1
  20. package/icons/svg-pack/catalog/foam-balloon.svg +1 -1
  21. package/icons/svg-pack/catalog/foam.svg +1 -1
  22. package/icons/svg-pack/catalog/glue.svg +1 -1
  23. package/icons/svg-pack/catalog/handle.svg +1 -1
  24. package/icons/svg-pack/catalog/instrument.svg +1 -1
  25. package/icons/svg-pack/catalog/kve-profile.svg +1 -1
  26. package/icons/svg-pack/catalog/lubricants.svg +1 -1
  27. package/icons/svg-pack/catalog/mosquito-net.svg +1 -1
  28. package/icons/svg-pack/catalog/mounting-accessories.svg +1 -1
  29. package/icons/svg-pack/catalog/net-order.svg +1 -1
  30. package/icons/svg-pack/catalog/panel-1.svg +1 -1
  31. package/icons/svg-pack/catalog/panel.svg +1 -1
  32. package/icons/svg-pack/catalog/polyethylene-film.svg +1 -1
  33. package/icons/svg-pack/catalog/profile-plastic.svg +1 -1
  34. package/icons/svg-pack/catalog/promo-materials.svg +1 -1
  35. package/icons/svg-pack/catalog/psul.svg +1 -1
  36. package/icons/svg-pack/catalog/rehau-profile.svg +1 -1
  37. package/icons/svg-pack/catalog/sandwich-plastic.svg +1 -1
  38. package/icons/svg-pack/catalog/sealer.svg +1 -1
  39. package/icons/svg-pack/catalog/siding-2.svg +1 -1
  40. package/icons/svg-pack/catalog/siding.svg +1 -1
  41. package/icons/svg-pack/catalog/start-finish-profile.svg +1 -1
  42. package/icons/svg-pack/catalog/steam-waterproofing.svg +1 -1
  43. package/icons/svg-pack/catalog/stiz.svg +1 -1
  44. package/icons/svg-pack/catalog/thermometer.svg +1 -1
  45. package/icons/svg-pack/catalog/windowsill.svg +1 -1
  46. package/icons/svg-pack/chart-column-plus.svg +1 -1
  47. package/icons/svg-pack/circle-arrow-in-right.svg +1 -1
  48. package/icons/svg-pack/contacts.svg +1 -1
  49. package/icons/svg-pack/deadline.svg +1 -1
  50. package/icons/svg-pack/file-p.svg +1 -1
  51. package/icons/svg-pack/file-search.svg +1 -1
  52. package/icons/svg-pack/file-w.svg +1 -1
  53. package/icons/svg-pack/file-x.svg +1 -1
  54. package/icons/svg-pack/grid-height-arrow.svg +1 -1
  55. package/icons/svg-pack/grid-width-arrow.svg +1 -1
  56. package/icons/svg-pack/layout-list-tree.svg +1 -1
  57. package/icons/svg-pack/list.svg +1 -1
  58. package/icons/svg-pack/puzzle.svg +1 -1
  59. package/icons/svg-pack/reclamation.svg +1 -1
  60. package/icons/svg-pack/retail-store.svg +1 -1
  61. package/icons/svg-pack/send.svg +1 -1
  62. package/package.json +35 -36
  63. package/release_notes.tmp +16 -2
  64. package/styles/taiga/variables.less +35 -17
  65. package/styles/tailwind/tailwind.scss +12 -12
  66. package/types/snabcentr-client-ui.d.ts +6787 -0
  67. package/accordion/index.d.ts +0 -3
  68. package/accordion/sc-accordion-content.directive.d.ts +0 -9
  69. package/accordion/sc-accordion.component.d.ts +0 -56
  70. package/accordion/sc-accordion.module.d.ts +0 -15
  71. package/auth/enums/auth-method.d.ts +0 -13
  72. package/auth/index.d.ts +0 -8
  73. package/auth/interfaces/index.d.ts +0 -2
  74. package/auth/interfaces/sc-bank-account-form-group.d.ts +0 -11
  75. package/auth/interfaces/sc-contact-form-group.d.ts +0 -10
  76. package/auth/sc-auth.module.d.ts +0 -27
  77. package/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.d.ts +0 -55
  78. package/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.d.ts +0 -45
  79. package/auth/sc-sign-in-form/sc-sign-in-form.component.d.ts +0 -53
  80. package/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.d.ts +0 -113
  81. package/auth/sign-up-form/sc-sign-up-form.component.d.ts +0 -172
  82. package/banner/index.d.ts +0 -2
  83. package/banner/sc-banner.component.d.ts +0 -108
  84. package/banner/sc-banner.module.d.ts +0 -17
  85. package/brands-list/index.d.ts +0 -3
  86. package/brands-list/sc-brand-list-item.d.ts +0 -25
  87. package/brands-list/sc-brands-list.component.d.ts +0 -13
  88. package/brands-list/sc-brands-list.module.d.ts +0 -12
  89. 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 -106
  90. package/cart/add-or-editing-cart-item-dialog/index.d.ts +0 -2
  91. package/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.d.ts +0 -49
  92. package/cart/index.d.ts +0 -2
  93. package/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.d.ts +0 -62
  94. package/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.d.ts +0 -47
  95. package/catalog/catalog-filters/index.d.ts +0 -4
  96. package/catalog/catalog-filters/sc-catalog-filters.component.d.ts +0 -199
  97. package/catalog/catalog-filters/tokens/sc-catalog-products-filters.d.ts +0 -7
  98. package/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.d.ts +0 -5
  99. package/catalog/category-card/sc-category-card.component.d.ts +0 -76
  100. package/catalog/cost-with-discount/cost-with-discount.component.d.ts +0 -23
  101. package/catalog/download-price-list/sc-download-price-list.component.d.ts +0 -38
  102. package/catalog/hover-image-carousel/sc-hover-image-carousel.component.d.ts +0 -48
  103. package/catalog/index.d.ts +0 -15
  104. package/catalog/input-quantity/sc-input-quantity.component.d.ts +0 -82
  105. package/catalog/notify-when-in-stock-dialog/index.d.ts +0 -2
  106. package/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.d.ts +0 -90
  107. package/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.d.ts +0 -22
  108. package/catalog/price-card/sc-price-card.component.d.ts +0 -18
  109. package/catalog/price-card-inline/sc-price-card-inline.component.d.ts +0 -10
  110. package/catalog/price-history/sc-price-history.component.d.ts +0 -92
  111. package/catalog/price-list-pagination/sc-price-list-pagination.component.d.ts +0 -40
  112. package/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.d.ts +0 -47
  113. package/catalog/sc-catalog.module.d.ts +0 -29
  114. package/catalog/sc-favorite-button/sc-favorite-button.component.d.ts +0 -25
  115. package/catalog/seo-tags/sc-seo-tags.component.d.ts +0 -20
  116. package/configurators/index.d.ts +0 -3
  117. package/configurators/models/index.d.ts +0 -3
  118. package/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.d.ts +0 -22
  119. package/configurators/models/sandwich/sc-i-sandwich-settings.d.ts +0 -18
  120. package/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.d.ts +0 -18
  121. package/configurators/sandwich/index.d.ts +0 -3
  122. package/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.d.ts +0 -8
  123. package/configurators/sandwich/sc-i-new-cart-item-sandwich.d.ts +0 -14
  124. package/configurators/sandwich/sc-sandwich.component.d.ts +0 -186
  125. package/configurators/sandwich_m2/index.d.ts +0 -4
  126. package/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.d.ts +0 -8
  127. package/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.d.ts +0 -23
  128. package/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.d.ts +0 -13
  129. package/configurators/sandwich_m2/sc-sandwich-m2.component.d.ts +0 -275
  130. package/contacts/add-contact-dialog/sc-add-contact-dialog.component.d.ts +0 -49
  131. package/contacts/contacts-accordion/sc-contacts-accordion.component.d.ts +0 -23
  132. package/contacts/index.d.ts +0 -7
  133. package/contacts/manager-card/sc-manager-card.component.d.ts +0 -22
  134. package/contacts/manager-card-push/sc-manager-card-push.component.d.ts +0 -18
  135. package/contacts/new-contact-form/sc-new-contact-form.component.d.ts +0 -28
  136. package/contacts/sc-contacts.module.d.ts +0 -27
  137. package/contacts/tokens/index.d.ts +0 -2
  138. package/contacts/tokens/sc-manager-qr-handler.token.d.ts +0 -6
  139. package/contacts/tokens/sc-show-help-notification-in-phone-input.token.d.ts +0 -5
  140. package/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.d.ts +0 -49
  141. package/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.d.ts +0 -158
  142. package/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.d.ts +0 -62
  143. package/contragents/contragents-accordion/sc-contragents-accordion.component.d.ts +0 -49
  144. package/contragents/index.d.ts +0 -7
  145. package/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.d.ts +0 -64
  146. package/contragents/new-contragent-form/sc-new-contragent-form.component.d.ts +0 -123
  147. package/contragents/sc-contragents.module.d.ts +0 -27
  148. package/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.d.ts +0 -148
  149. package/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.d.ts +0 -50
  150. package/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.d.ts +0 -49
  151. package/delivery-address/index.d.ts +0 -4
  152. package/delivery-address/sc-delivery-address.module.d.ts +0 -25
  153. package/dialogs/index.d.ts +0 -1
  154. package/dialogs/sc-resource-preview/sc-resource-preview.component.d.ts +0 -42
  155. package/directives/abstract-price-card/abstract-sc-price-card.directive.d.ts +0 -136
  156. package/directives/address-quality/sc-address-quality.directive.d.ts +0 -23
  157. package/directives/address-quality/sc-address-quality.service.d.ts +0 -122
  158. package/directives/address-quality/sc-i-address-quality-state.d.ts +0 -14
  159. package/directives/index.d.ts +0 -11
  160. package/directives/links/index.d.ts +0 -4
  161. package/directives/links/sc-email-link.directive.d.ts +0 -25
  162. package/directives/links/sc-link-location.d.ts +0 -5
  163. package/directives/links/sc-links.d.ts +0 -7
  164. package/directives/links/sc-tel-link.directive.d.ts +0 -40
  165. package/directives/next-input-focus/sc-next-input-focus.directive.d.ts +0 -27
  166. package/directives/next-input-focus/sc-next-input-focus.module.d.ts +0 -10
  167. package/directives/print/sc-print.directive.d.ts +0 -21
  168. package/directives/sc-date-value-transformer.directive.d.ts +0 -8
  169. package/directives/sc-focus-first-invalid-field.directive.d.ts +0 -30
  170. package/directives/select-on-focusin/sc-select-on-focusin.directive.d.ts +0 -14
  171. package/directives/terminal-link/sc-terminal-link.directive.d.ts +0 -34
  172. package/error-handler/consts/error-change-handler.providers.d.ts +0 -6
  173. package/error-handler/error-block-status/error-block-status.component.d.ts +0 -55
  174. package/error-handler/index.d.ts +0 -4
  175. package/error-handler/interfaces/i-block-error.d.ts +0 -17
  176. package/error-handler/sc-error-handler.component.d.ts +0 -40
  177. package/esm2022/accordion/index.mjs +0 -4
  178. package/esm2022/accordion/sc-accordion-content.directive.mjs +0 -17
  179. package/esm2022/accordion/sc-accordion.component.mjs +0 -92
  180. package/esm2022/accordion/sc-accordion.module.mjs +0 -26
  181. package/esm2022/auth/enums/auth-method.mjs +0 -15
  182. package/esm2022/auth/index.mjs +0 -9
  183. package/esm2022/auth/interfaces/index.mjs +0 -3
  184. package/esm2022/auth/interfaces/sc-bank-account-form-group.mjs +0 -2
  185. package/esm2022/auth/interfaces/sc-contact-form-group.mjs +0 -2
  186. package/esm2022/auth/sc-auth.module.mjs +0 -103
  187. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-email/sc-sign-in-form-by-email.component.mjs +0 -100
  188. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form-by-phone/sc-sign-in-form-by-phone.component.mjs +0 -81
  189. package/esm2022/auth/sc-sign-in-form/sc-sign-in-form.component.mjs +0 -89
  190. package/esm2022/auth/sc-simple-sign-up-form/sc-simple-sign-up-form.component.mjs +0 -203
  191. package/esm2022/auth/sign-up-form/sc-sign-up-form.component.mjs +0 -344
  192. package/esm2022/banner/index.mjs +0 -3
  193. package/esm2022/banner/sc-banner.component.mjs +0 -176
  194. package/esm2022/banner/sc-banner.module.mjs +0 -29
  195. package/esm2022/brands-list/index.mjs +0 -4
  196. package/esm2022/brands-list/sc-brand-list-item.mjs +0 -2
  197. package/esm2022/brands-list/sc-brands-list.component.mjs +0 -24
  198. package/esm2022/brands-list/sc-brands-list.module.mjs +0 -22
  199. 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
  200. package/esm2022/cart/add-or-editing-cart-item-dialog/index.mjs +0 -3
  201. package/esm2022/cart/add-or-editing-cart-item-dialog/sc-add-or-editing-cart-item-dialog.component.mjs +0 -75
  202. package/esm2022/cart/index.mjs +0 -3
  203. package/esm2022/cart/sc-cart-add-products-from-csv-dialog/sc-cart-add-products-from-csv-dialog.component.mjs +0 -110
  204. package/esm2022/catalog/catalog-filters/collapsible/sc-catalog-filter-collapsible.component.mjs +0 -59
  205. package/esm2022/catalog/catalog-filters/index.mjs +0 -5
  206. package/esm2022/catalog/catalog-filters/sc-catalog-filters.component.mjs +0 -451
  207. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-products-filters.mjs +0 -10
  208. package/esm2022/catalog/catalog-filters/tokens/sc-catalog-show-products-recursively.mjs +0 -6
  209. package/esm2022/catalog/category-card/sc-category-card.component.mjs +0 -102
  210. package/esm2022/catalog/cost-with-discount/cost-with-discount.component.mjs +0 -38
  211. package/esm2022/catalog/download-price-list/sc-download-price-list.component.mjs +0 -56
  212. package/esm2022/catalog/hover-image-carousel/sc-hover-image-carousel.component.mjs +0 -76
  213. package/esm2022/catalog/index.mjs +0 -16
  214. package/esm2022/catalog/input-quantity/sc-input-quantity.component.mjs +0 -190
  215. package/esm2022/catalog/notify-when-in-stock-dialog/index.mjs +0 -3
  216. package/esm2022/catalog/notify-when-in-stock-dialog/sc-notify-when-in-stock-dialog.component.mjs +0 -173
  217. package/esm2022/catalog/notify-when-in-stock-dialog/sc-product-in-all-warehouses.pipe.mjs +0 -35
  218. package/esm2022/catalog/price-card/sc-price-card.component.mjs +0 -71
  219. package/esm2022/catalog/price-card-inline/sc-price-card-inline.component.mjs +0 -54
  220. package/esm2022/catalog/price-history/sc-price-history.component.mjs +0 -144
  221. package/esm2022/catalog/price-list-pagination/sc-price-list-pagination.component.mjs +0 -65
  222. package/esm2022/catalog/price-warehouse-stock/sc-price-warehouse-stock.component.mjs +0 -61
  223. package/esm2022/catalog/sc-catalog.module.mjs +0 -128
  224. package/esm2022/catalog/sc-favorite-button/sc-favorite-button.component.mjs +0 -42
  225. package/esm2022/catalog/seo-tags/sc-seo-tags.component.mjs +0 -25
  226. package/esm2022/configurators/index.mjs +0 -4
  227. package/esm2022/configurators/models/index.mjs +0 -4
  228. package/esm2022/configurators/models/sandwich/sc-i-configurator-search-product-sandwich.mjs +0 -2
  229. package/esm2022/configurators/models/sandwich/sc-i-sandwich-settings.mjs +0 -2
  230. package/esm2022/configurators/models/sandwich_m2/sc-i-sandwich-m2-settings.mjs +0 -2
  231. package/esm2022/configurators/sandwich/index.mjs +0 -4
  232. package/esm2022/configurators/sandwich/sandwich-skeleton/sc-sandwich-skeleton.component.mjs +0 -14
  233. package/esm2022/configurators/sandwich/sc-i-new-cart-item-sandwich.mjs +0 -2
  234. package/esm2022/configurators/sandwich/sc-sandwich.component.mjs +0 -387
  235. package/esm2022/configurators/sandwich_m2/index.mjs +0 -5
  236. package/esm2022/configurators/sandwich_m2/sandwich-m2-skeleton/sc-sandwich-m2-skeleton.component.mjs +0 -14
  237. package/esm2022/configurators/sandwich_m2/sc-i-new-cart-item-sandwich-m2.mjs +0 -2
  238. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2-item-submit-state.mjs +0 -5
  239. package/esm2022/configurators/sandwich_m2/sc-sandwich-m2.component.mjs +0 -569
  240. package/esm2022/contacts/add-contact-dialog/sc-add-contact-dialog.component.mjs +0 -91
  241. package/esm2022/contacts/contacts-accordion/sc-contacts-accordion.component.mjs +0 -37
  242. package/esm2022/contacts/index.mjs +0 -8
  243. package/esm2022/contacts/manager-card/sc-manager-card.component.mjs +0 -58
  244. package/esm2022/contacts/manager-card-push/sc-manager-card-push.component.mjs +0 -28
  245. package/esm2022/contacts/new-contact-form/sc-new-contact-form.component.mjs +0 -37
  246. package/esm2022/contacts/sc-contacts.module.mjs +0 -89
  247. package/esm2022/contacts/tokens/index.mjs +0 -3
  248. package/esm2022/contacts/tokens/sc-manager-qr-handler.token.mjs +0 -25
  249. package/esm2022/contacts/tokens/sc-show-help-notification-in-phone-input.token.mjs +0 -9
  250. package/esm2022/contragents/add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component.mjs +0 -81
  251. package/esm2022/contragents/add-contragent-dialog/sc-add-contragent-dialog.component.mjs +0 -266
  252. package/esm2022/contragents/contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component.mjs +0 -74
  253. package/esm2022/contragents/contragents-accordion/sc-contragents-accordion.component.mjs +0 -68
  254. package/esm2022/contragents/index.mjs +0 -8
  255. package/esm2022/contragents/new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component.mjs +0 -72
  256. package/esm2022/contragents/new-contragent-form/sc-new-contragent-form.component.mjs +0 -230
  257. package/esm2022/contragents/sc-contragents.module.mjs +0 -118
  258. package/esm2022/delivery-address/add-delivery-address-dialog/sc-add-delivery-address-dialog.component.mjs +0 -261
  259. package/esm2022/delivery-address/delivery-address-accordion/delivery-address-accordion-item/sc-delivery-address-accordion-item.component.mjs +0 -60
  260. package/esm2022/delivery-address/delivery-address-accordion/sc-delivery-address-accordion.component.mjs +0 -68
  261. package/esm2022/delivery-address/index.mjs +0 -5
  262. package/esm2022/delivery-address/sc-delivery-address.module.mjs +0 -96
  263. package/esm2022/dialogs/index.mjs +0 -2
  264. package/esm2022/dialogs/sc-resource-preview/sc-resource-preview.component.mjs +0 -73
  265. package/esm2022/directives/abstract-price-card/abstract-sc-price-card.directive.mjs +0 -170
  266. package/esm2022/directives/address-quality/sc-address-quality.directive.mjs +0 -40
  267. package/esm2022/directives/address-quality/sc-address-quality.service.mjs +0 -214
  268. package/esm2022/directives/address-quality/sc-i-address-quality-state.mjs +0 -2
  269. package/esm2022/directives/index.mjs +0 -12
  270. package/esm2022/directives/links/index.mjs +0 -5
  271. package/esm2022/directives/links/sc-email-link.directive.mjs +0 -49
  272. package/esm2022/directives/links/sc-link-location.mjs +0 -2
  273. package/esm2022/directives/links/sc-links.mjs +0 -8
  274. package/esm2022/directives/links/sc-tel-link.directive.mjs +0 -79
  275. package/esm2022/directives/next-input-focus/sc-next-input-focus.directive.mjs +0 -70
  276. package/esm2022/directives/next-input-focus/sc-next-input-focus.module.mjs +0 -19
  277. package/esm2022/directives/print/sc-print.directive.mjs +0 -36
  278. package/esm2022/directives/sc-date-value-transformer.directive.mjs +0 -30
  279. package/esm2022/directives/sc-focus-first-invalid-field.directive.mjs +0 -85
  280. package/esm2022/directives/select-on-focusin/sc-select-on-focusin.directive.mjs +0 -36
  281. package/esm2022/directives/terminal-link/sc-terminal-link.directive.mjs +0 -69
  282. package/esm2022/error-handler/consts/error-change-handler.providers.mjs +0 -10
  283. package/esm2022/error-handler/error-block-status/error-block-status.component.mjs +0 -101
  284. package/esm2022/error-handler/index.mjs +0 -5
  285. package/esm2022/error-handler/interfaces/i-block-error.mjs +0 -2
  286. package/esm2022/error-handler/sc-error-handler.component.mjs +0 -58
  287. package/esm2022/feedback/feedback-form/sc-feedback-form.component.mjs +0 -334
  288. package/esm2022/feedback/gratitude/sc-gratitude.component.mjs +0 -32
  289. package/esm2022/feedback/index.mjs +0 -4
  290. package/esm2022/feedback/interfaces/index.mjs +0 -2
  291. package/esm2022/feedback/interfaces/sc-feedback-form-config.mjs +0 -2
  292. package/esm2022/files/directives/index.mjs +0 -3
  293. package/esm2022/files/directives/tree-top.directive.mjs +0 -63
  294. package/esm2022/files/directives/tree.directive.mjs +0 -47
  295. package/esm2022/files/file-tree-item/file-tree-item.component.mjs +0 -18
  296. package/esm2022/files/files-and-documents/files-and-documents.component.mjs +0 -61
  297. package/esm2022/files/files-and-documents.module.mjs +0 -28
  298. package/esm2022/files/index.mjs +0 -6
  299. package/esm2022/files/interfaces/tree-node.mjs +0 -2
  300. package/esm2022/files/services/index.mjs +0 -3
  301. package/esm2022/files/services/tree-icon.service.mjs +0 -49
  302. package/esm2022/files/services/tree-loader.service.mjs +0 -62
  303. package/esm2022/form-fields/addresses-selection-field/sc-addresses-selection-field.component.mjs +0 -155
  304. package/esm2022/form-fields/form-fields.module.mjs +0 -66
  305. package/esm2022/form-fields/index.mjs +0 -4
  306. package/esm2022/form-fields/suggestion-field/sc-suggestion-field.component.mjs +0 -234
  307. package/esm2022/icons/index.mjs +0 -2
  308. package/esm2022/icons/sc-client-ui-icons-name.mjs +0 -99
  309. package/esm2022/loader/index.mjs +0 -2
  310. package/esm2022/loader/sc-i-loader.mjs +0 -2
  311. package/esm2022/masks/index.mjs +0 -8
  312. package/esm2022/masks/sc-account-number-mask.mjs +0 -7
  313. package/esm2022/masks/sc-bic-mask.mjs +0 -7
  314. package/esm2022/masks/sc-correspondent-account-mask.mjs +0 -7
  315. package/esm2022/masks/sc-inn-mask.mjs +0 -13
  316. package/esm2022/masks/sc-kpp-mask.mjs +0 -7
  317. package/esm2022/masks/sc-okpo-mask.mjs +0 -13
  318. package/esm2022/masks/sc-phone-verification-code-mask.mjs +0 -7
  319. package/esm2022/methods/index.mjs +0 -2
  320. package/esm2022/methods/sc-get-current-route.mjs +0 -14
  321. package/esm2022/models/i-sc-image.mjs +0 -2
  322. package/esm2022/models/index.mjs +0 -2
  323. package/esm2022/news/index.mjs +0 -4
  324. package/esm2022/news/news-card/sc-news-card.component.mjs +0 -34
  325. package/esm2022/news/news-card-skeleton/sc-news-card-skeleton.component.mjs +0 -31
  326. package/esm2022/news/sc-news.module.mjs +0 -25
  327. package/esm2022/noindex-wrapper/directives/index.mjs +0 -2
  328. package/esm2022/noindex-wrapper/directives/sc-noindex.directive.mjs +0 -58
  329. package/esm2022/noindex-wrapper/index.mjs +0 -3
  330. package/esm2022/noindex-wrapper/sc-noindex-wrapper.component.mjs +0 -18
  331. package/esm2022/order/directives/index.mjs +0 -3
  332. package/esm2022/order/directives/sc-order-accessor.directive.mjs +0 -28
  333. package/esm2022/order/directives/sc-order-options.mjs +0 -11
  334. package/esm2022/order/draft/sc-draft.component.mjs +0 -115
  335. package/esm2022/order/index.mjs +0 -13
  336. package/esm2022/order/models/i-new-order-form.mjs +0 -2
  337. package/esm2022/order/new-order-items/sc-new-order-items.component.mjs +0 -39
  338. package/esm2022/order/order-form/sc-order-form.component.mjs +0 -553
  339. package/esm2022/order/order-form/sc-order-form.config.mjs +0 -7
  340. package/esm2022/order/order-item/sc-order-item.component.mjs +0 -112
  341. package/esm2022/order/order-items-list/sc-order-items-list.component.mjs +0 -211
  342. package/esm2022/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.mjs +0 -75
  343. package/esm2022/order/order-items-list-with-actions/sc-order-items-list-with-actions.component.mjs +0 -53
  344. package/esm2022/order/sc-order.module.mjs +0 -52
  345. package/esm2022/order/sc-payment-status/sc-payment-status.component.mjs +0 -35
  346. package/esm2022/pages/frequently-asked-questions/sc-faq-query-params.mjs +0 -5
  347. package/esm2022/pages/frequently-asked-questions/sc-faq-question-anchor.mjs +0 -23
  348. package/esm2022/pages/frequently-asked-questions/sc-frequently-asked-questions.component.mjs +0 -167
  349. package/esm2022/pages/frequently-asked-questions/sc-get-faq-group-query-params.mjs +0 -14
  350. package/esm2022/pages/frequently-asked-questions/sc-page-size-options.mjs +0 -8
  351. package/esm2022/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.mjs +0 -88
  352. package/esm2022/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.mjs +0 -123
  353. package/esm2022/pages/index.mjs +0 -11
  354. package/esm2022/pages/news-list/sc-news-list.component.mjs +0 -90
  355. package/esm2022/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.mjs +0 -46
  356. package/esm2022/pages/privacy-policy/sc-privacy-policy.component.mjs +0 -30
  357. package/esm2022/pages/public-offer/sc-public-offer.component.mjs +0 -50
  358. package/esm2022/pagination/index.mjs +0 -2
  359. package/esm2022/pagination/sc-pagination-links/sc-pagination-links.component.mjs +0 -99
  360. package/esm2022/pipes/index.mjs +0 -3
  361. package/esm2022/pipes/sc-format-date.mjs +0 -33
  362. package/esm2022/pipes/sc-phone-format.mjs +0 -44
  363. package/esm2022/profile/index.mjs +0 -3
  364. package/esm2022/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.mjs +0 -174
  365. package/esm2022/profile/sc-profile.module.mjs +0 -73
  366. package/esm2022/providers/date-value-transformer/index.mjs +0 -4
  367. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-types.mjs +0 -2
  368. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-end-time.mjs +0 -26
  369. package/esm2022/providers/date-value-transformer/sc-date-value-transformer-with-start-time.mjs +0 -37
  370. package/esm2022/providers/index.mjs +0 -17
  371. package/esm2022/providers/sc-allow-select-terminated.mjs +0 -8
  372. package/esm2022/providers/sc-banner-duration.mjs +0 -8
  373. package/esm2022/providers/sc-block-incomplete-address.mjs +0 -8
  374. package/esm2022/providers/sc-country-ids.mjs +0 -8
  375. package/esm2022/providers/sc-date-formatter.mjs +0 -15
  376. package/esm2022/providers/sc-date-value-transformer.mjs +0 -12
  377. package/esm2022/providers/sc-debounce-time-default.mjs +0 -9
  378. package/esm2022/providers/sc-dialog-service.providers.mjs +0 -6
  379. package/esm2022/providers/sc-help-notification-close.mjs +0 -9
  380. package/esm2022/providers/sc-help-notification-limit.mjs +0 -8
  381. package/esm2022/providers/sc-hidden-print-elements.token.mjs +0 -10
  382. package/esm2022/providers/sc-max-files-in-form-input.mjs +0 -8
  383. package/esm2022/providers/sc-notify-when-in-stock-required-fields.mjs +0 -8
  384. package/esm2022/providers/sc-page-size-options.mjs +0 -8
  385. package/esm2022/providers/sc-user-providers.mjs +0 -38
  386. package/esm2022/providers/sc-verification-code-timeout.mjs +0 -8
  387. package/esm2022/public-api.mjs +0 -37
  388. package/esm2022/qrcode/index.mjs +0 -3
  389. package/esm2022/qrcode/qrcode-dialog/sc-qrcode-dialog.component.mjs +0 -58
  390. package/esm2022/qrcode/sc-qrcode.module.mjs +0 -25
  391. package/esm2022/samples/index.mjs +0 -5
  392. package/esm2022/samples/interfaces/index.mjs +0 -3
  393. package/esm2022/samples/interfaces/sc-i-preview-sample.mjs +0 -2
  394. package/esm2022/samples/interfaces/sc-preview-mosquito-config.mjs +0 -2
  395. package/esm2022/samples/preview-sample/sc-preview-sample.component.mjs +0 -42
  396. package/esm2022/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.mjs +0 -63
  397. package/esm2022/samples/sc-sample.module.mjs +0 -59
  398. package/esm2022/services/index.mjs +0 -4
  399. package/esm2022/services/print.service.mjs +0 -49
  400. package/esm2022/services/sc-help-notification.service.mjs +0 -100
  401. package/esm2022/services/sc-scripts.service.mjs +0 -106
  402. package/esm2022/share/index.mjs +0 -6
  403. package/esm2022/share/sc-share-dialog-data.mjs +0 -2
  404. package/esm2022/share/sc-share.service.mjs +0 -40
  405. package/esm2022/share/share-button/sc-share-button.component.mjs +0 -99
  406. package/esm2022/share/share-dialog/sc-share-dialog.component.mjs +0 -139
  407. package/esm2022/share/share-messengers-links/sc-share-messengers-links.component.mjs +0 -84
  408. package/esm2022/smart-captcha/index.mjs +0 -5
  409. package/esm2022/smart-captcha/interfaces/index.mjs +0 -6
  410. package/esm2022/smart-captcha/interfaces/sc-smart-captcha-api.mjs +0 -2
  411. package/esm2022/smart-captcha/interfaces/sc-smart-captcha-event.mjs +0 -2
  412. package/esm2022/smart-captcha/interfaces/sc-smart-captcha-language.mjs +0 -2
  413. package/esm2022/smart-captcha/interfaces/sc-smart-captcha-render-params.mjs +0 -2
  414. package/esm2022/smart-captcha/interfaces/sc-smart-captcha-settings.mjs +0 -2
  415. package/esm2022/smart-captcha/interfaces/sc-smart-captcha-window.mjs +0 -2
  416. package/esm2022/smart-captcha/sc-smart-captcha.component.mjs +0 -167
  417. package/esm2022/smart-captcha/services/index.mjs +0 -2
  418. package/esm2022/smart-captcha/services/sc-smart-captcha-loader.service.mjs +0 -87
  419. package/esm2022/smart-captcha/tokens/index.mjs +0 -3
  420. package/esm2022/smart-captcha/tokens/sc-smart-captcha-load-timeout.token.mjs +0 -8
  421. package/esm2022/smart-captcha/tokens/sc-smart-captcha-settings.token.mjs +0 -6
  422. package/esm2022/snabcentr-client-ui.mjs +0 -5
  423. package/esm2022/user/index.mjs +0 -6
  424. package/esm2022/user/reset-user-password/sc-reset-user-password.component.mjs +0 -74
  425. package/esm2022/user/sc-user.module.mjs +0 -86
  426. package/esm2022/user/update-user-info-dialog/sc-update-user-info-dialog.component.mjs +0 -121
  427. package/esm2022/user/user-managers/sc-user-managers.component.mjs +0 -40
  428. package/esm2022/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.mjs +0 -105
  429. package/esm2022/validators/index.mjs +0 -7
  430. package/esm2022/validators/sc-at-least-one-required-validator.mjs +0 -25
  431. package/esm2022/validators/sc-bic-validator.mjs +0 -10
  432. package/esm2022/validators/sc-correspondent-account-validator.mjs +0 -10
  433. package/esm2022/validators/sc-password-confirm-matching-validator.mjs +0 -17
  434. package/esm2022/validators/sc-phone-validator.mjs +0 -14
  435. package/esm2022/validators/step-validator.mjs +0 -18
  436. package/esm2022/verification/index.mjs +0 -3
  437. package/esm2022/verification/sc-verification.module.mjs +0 -86
  438. package/esm2022/verification/verification-phone-check-form/sc-verification-phone-check-form.component.mjs +0 -259
  439. package/feedback/feedback-form/sc-feedback-form.component.d.ts +0 -163
  440. package/feedback/gratitude/sc-gratitude.component.d.ts +0 -20
  441. package/feedback/index.d.ts +0 -3
  442. package/feedback/interfaces/index.d.ts +0 -1
  443. package/feedback/interfaces/sc-feedback-form-config.d.ts +0 -23
  444. package/files/directives/index.d.ts +0 -2
  445. package/files/directives/tree-top.directive.d.ts +0 -33
  446. package/files/directives/tree.directive.d.ts +0 -35
  447. package/files/file-tree-item/file-tree-item.component.d.ts +0 -9
  448. package/files/files-and-documents/files-and-documents.component.d.ts +0 -27
  449. package/files/files-and-documents.module.d.ts +0 -17
  450. package/files/index.d.ts +0 -5
  451. package/files/interfaces/tree-node.d.ts +0 -29
  452. package/files/services/index.d.ts +0 -2
  453. package/files/services/tree-icon.service.d.ts +0 -23
  454. package/files/services/tree-loader.service.d.ts +0 -43
  455. package/form-fields/addresses-selection-field/sc-addresses-selection-field.component.d.ts +0 -80
  456. package/form-fields/form-fields.module.d.ts +0 -18
  457. package/form-fields/index.d.ts +0 -3
  458. package/form-fields/suggestion-field/sc-suggestion-field.component.d.ts +0 -107
  459. package/icons/index.d.ts +0 -1
  460. package/icons/sc-client-ui-icons-name.d.ts +0 -4
  461. package/index.d.ts +0 -5
  462. package/loader/index.d.ts +0 -1
  463. package/loader/sc-i-loader.d.ts +0 -9
  464. package/masks/index.d.ts +0 -7
  465. package/masks/sc-account-number-mask.d.ts +0 -5
  466. package/masks/sc-bic-mask.d.ts +0 -5
  467. package/masks/sc-correspondent-account-mask.d.ts +0 -5
  468. package/masks/sc-inn-mask.d.ts +0 -9
  469. package/masks/sc-kpp-mask.d.ts +0 -5
  470. package/masks/sc-okpo-mask.d.ts +0 -9
  471. package/masks/sc-phone-verification-code-mask.d.ts +0 -5
  472. package/methods/index.d.ts +0 -1
  473. package/methods/sc-get-current-route.d.ts +0 -8
  474. package/models/i-sc-image.d.ts +0 -17
  475. package/models/index.d.ts +0 -1
  476. package/news/index.d.ts +0 -3
  477. package/news/news-card/sc-news-card.component.d.ts +0 -22
  478. package/news/news-card-skeleton/sc-news-card-skeleton.component.d.ts +0 -16
  479. package/news/sc-news.module.d.ts +0 -15
  480. package/noindex-wrapper/directives/index.d.ts +0 -1
  481. package/noindex-wrapper/directives/sc-noindex.directive.d.ts +0 -29
  482. package/noindex-wrapper/index.d.ts +0 -2
  483. package/noindex-wrapper/sc-noindex-wrapper.component.d.ts +0 -9
  484. package/order/directives/index.d.ts +0 -2
  485. package/order/directives/sc-order-accessor.directive.d.ts +0 -13
  486. package/order/directives/sc-order-options.d.ts +0 -14
  487. package/order/draft/sc-draft.component.d.ts +0 -60
  488. package/order/index.d.ts +0 -12
  489. package/order/models/i-new-order-form.d.ts +0 -39
  490. package/order/new-order-items/sc-new-order-items.component.d.ts +0 -29
  491. package/order/order-form/sc-order-form.component.d.ts +0 -274
  492. package/order/order-form/sc-order-form.config.d.ts +0 -20
  493. package/order/order-item/sc-order-item.component.d.ts +0 -43
  494. package/order/order-items-list/sc-order-items-list.component.d.ts +0 -112
  495. package/order/order-items-list-by-stock/sc-order-items-list-by-stock.component.d.ts +0 -55
  496. package/order/order-items-list-with-actions/sc-order-items-list-with-actions.component.d.ts +0 -37
  497. package/order/sc-order.module.d.ts +0 -18
  498. package/order/sc-payment-status/sc-payment-status.component.d.ts +0 -25
  499. package/pages/frequently-asked-questions/sc-faq-query-params.d.ts +0 -4
  500. package/pages/frequently-asked-questions/sc-faq-question-anchor.d.ts +0 -16
  501. package/pages/frequently-asked-questions/sc-frequently-asked-questions.component.d.ts +0 -84
  502. package/pages/frequently-asked-questions/sc-get-faq-group-query-params.d.ts +0 -10
  503. package/pages/frequently-asked-questions/sc-page-size-options.d.ts +0 -5
  504. package/pages/frequently-asked-questions-group-selector/sc-frequently-asked-questions-group-selector.component.d.ts +0 -47
  505. package/pages/frequently-asked-questions-with-groups/sc-frequently-asked-questions-with-groups.component.d.ts +0 -89
  506. package/pages/index.d.ts +0 -10
  507. package/pages/news-list/sc-news-list.component.d.ts +0 -57
  508. package/pages/personal-data-processing-policy/sc-personal-data-processing-policy.component.d.ts +0 -17
  509. package/pages/privacy-policy/sc-privacy-policy.component.d.ts +0 -17
  510. package/pages/public-offer/sc-public-offer.component.d.ts +0 -22
  511. package/pagination/index.d.ts +0 -1
  512. package/pagination/sc-pagination-links/sc-pagination-links.component.d.ts +0 -60
  513. package/pipes/index.d.ts +0 -2
  514. package/pipes/sc-format-date.d.ts +0 -20
  515. package/pipes/sc-phone-format.d.ts +0 -21
  516. package/profile/index.d.ts +0 -2
  517. package/profile/sc-profile-accordions-content/sc-profile-accordions-content.component.d.ts +0 -126
  518. package/profile/sc-profile.module.d.ts +0 -23
  519. package/providers/date-value-transformer/index.d.ts +0 -3
  520. package/providers/date-value-transformer/sc-date-value-transformer-types.d.ts +0 -9
  521. package/providers/date-value-transformer/sc-date-value-transformer-with-end-time.d.ts +0 -16
  522. package/providers/date-value-transformer/sc-date-value-transformer-with-start-time.d.ts +0 -22
  523. package/providers/index.d.ts +0 -16
  524. package/providers/sc-allow-select-terminated.d.ts +0 -5
  525. package/providers/sc-banner-duration.d.ts +0 -5
  526. package/providers/sc-block-incomplete-address.d.ts +0 -5
  527. package/providers/sc-country-ids.d.ts +0 -5
  528. package/providers/sc-date-formatter.d.ts +0 -6
  529. package/providers/sc-date-value-transformer.d.ts +0 -5
  530. package/providers/sc-debounce-time-default.d.ts +0 -5
  531. package/providers/sc-dialog-service.providers.d.ts +0 -45
  532. package/providers/sc-help-notification-close.d.ts +0 -6
  533. package/providers/sc-help-notification-limit.d.ts +0 -5
  534. package/providers/sc-hidden-print-elements.token.d.ts +0 -6
  535. package/providers/sc-max-files-in-form-input.d.ts +0 -5
  536. package/providers/sc-notify-when-in-stock-required-fields.d.ts +0 -5
  537. package/providers/sc-page-size-options.d.ts +0 -5
  538. package/providers/sc-user-providers.d.ts +0 -21
  539. package/providers/sc-verification-code-timeout.d.ts +0 -5
  540. package/public-api.d.ts +0 -36
  541. package/qrcode/index.d.ts +0 -2
  542. package/qrcode/qrcode-dialog/sc-qrcode-dialog.component.d.ts +0 -37
  543. package/qrcode/sc-qrcode.module.d.ts +0 -14
  544. package/samples/index.d.ts +0 -4
  545. package/samples/interfaces/index.d.ts +0 -2
  546. package/samples/interfaces/sc-i-preview-sample.d.ts +0 -56
  547. package/samples/interfaces/sc-preview-mosquito-config.d.ts +0 -62
  548. package/samples/preview-sample/sc-preview-sample.component.d.ts +0 -30
  549. package/samples/sc-preview-samples-mosquito/sc-preview-samples-mosquito.component.d.ts +0 -50
  550. package/samples/sc-sample.module.d.ts +0 -18
  551. package/services/index.d.ts +0 -3
  552. package/services/print.service.d.ts +0 -31
  553. package/services/sc-help-notification.service.d.ts +0 -70
  554. package/services/sc-scripts.service.d.ts +0 -51
  555. package/share/index.d.ts +0 -5
  556. package/share/sc-share-dialog-data.d.ts +0 -13
  557. package/share/sc-share.service.d.ts +0 -19
  558. package/share/share-button/sc-share-button.component.d.ts +0 -78
  559. package/share/share-dialog/sc-share-dialog.component.d.ts +0 -87
  560. package/share/share-messengers-links/sc-share-messengers-links.component.d.ts +0 -49
  561. package/smart-captcha/index.d.ts +0 -4
  562. package/smart-captcha/interfaces/index.d.ts +0 -5
  563. package/smart-captcha/interfaces/sc-smart-captcha-api.d.ts +0 -36
  564. package/smart-captcha/interfaces/sc-smart-captcha-event.d.ts +0 -4
  565. package/smart-captcha/interfaces/sc-smart-captcha-language.d.ts +0 -4
  566. package/smart-captcha/interfaces/sc-smart-captcha-render-params.d.ts +0 -16
  567. package/smart-captcha/interfaces/sc-smart-captcha-settings.d.ts +0 -16
  568. package/smart-captcha/interfaces/sc-smart-captcha-window.d.ts +0 -14
  569. package/smart-captcha/sc-smart-captcha.component.d.ts +0 -92
  570. package/smart-captcha/services/index.d.ts +0 -1
  571. package/smart-captcha/services/sc-smart-captcha-loader.service.d.ts +0 -50
  572. package/smart-captcha/tokens/index.d.ts +0 -2
  573. package/smart-captcha/tokens/sc-smart-captcha-load-timeout.token.d.ts +0 -5
  574. package/smart-captcha/tokens/sc-smart-captcha-settings.token.d.ts +0 -6
  575. package/user/index.d.ts +0 -5
  576. package/user/reset-user-password/sc-reset-user-password.component.d.ts +0 -46
  577. package/user/sc-user.module.d.ts +0 -24
  578. package/user/update-user-info-dialog/sc-update-user-info-dialog.component.d.ts +0 -63
  579. package/user/user-managers/sc-user-managers.component.d.ts +0 -23
  580. package/user/user-phone-approve-dialog/sc-user-phone-approve-dialog.component.d.ts +0 -53
  581. package/validators/index.d.ts +0 -6
  582. package/validators/sc-at-least-one-required-validator.d.ts +0 -10
  583. package/validators/sc-bic-validator.d.ts +0 -8
  584. package/validators/sc-correspondent-account-validator.d.ts +0 -8
  585. package/validators/sc-password-confirm-matching-validator.d.ts +0 -8
  586. package/validators/sc-phone-validator.d.ts +0 -5
  587. package/validators/step-validator.d.ts +0 -7
  588. package/verification/index.d.ts +0 -2
  589. package/verification/sc-verification.module.d.ts +0 -21
  590. package/verification/verification-phone-check-form/sc-verification-phone-check-form.component.d.ts +0 -145
@@ -1,68 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@snabcentr/client-core";
4
- import * as i2 from "@angular/common";
5
- import * as i3 from "../../accordion/sc-accordion.component";
6
- import * as i4 from "../../accordion/sc-accordion-content.directive";
7
- import * as i5 from "@taiga-ui/core";
8
- import * as i6 from "./contragents-accordion-item/sc-contragents-accordion-item.component";
9
- /**
10
- * Компонент контрагента пользователя.
11
- */
12
- export class ScContragentsAccordionComponent {
13
- /**
14
- * Инициализирует экземпляр класса {@link ScContragentsAccordionComponent}.
15
- *
16
- * @param contragentService Сервис работы с контрагентами.
17
- */
18
- constructor(contragentService) {
19
- this.contragentService = contragentService;
20
- /**
21
- * {@link Observable} данных о контрагентах пользователя.
22
- */
23
- this.contragents$ = this.contragentService.contragents$;
24
- /**
25
- * Событие нажатия на кнопку удаления контрагента.
26
- */
27
- this.addContragentClick = new EventEmitter();
28
- /**
29
- * Событие нажатия на кнопку удаления контрагента.
30
- */
31
- this.deleteContragentClick = new EventEmitter();
32
- /**
33
- * Событие нажатия на кнопку добавления банковского счёта контрагенту.
34
- */
35
- this.addContragentBankAccountClick = new EventEmitter();
36
- /**
37
- * Событие нажатия на кнопку удаления банковского счёта контрагента.
38
- */
39
- this.deleteContragentBankAccountClick = new EventEmitter();
40
- /**
41
- * Событие нажатия на кнопку добавления контактного лица контрагенту.
42
- */
43
- this.addContragentContactClick = new EventEmitter();
44
- /**
45
- * Событие нажатия на кнопку удаления контактного лица у контрагента.
46
- */
47
- this.deleteContragentContactClick = new EventEmitter();
48
- }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScContragentsAccordionComponent, deps: [{ token: i1.ScContragentService }], target: i0.ɵɵFactoryTarget.Component }); }
50
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ScContragentsAccordionComponent, selector: "sc-contragents-accordion", outputs: { addContragentClick: "addContragentClick", deleteContragentClick: "deleteContragentClick", addContragentBankAccountClick: "addContragentBankAccountClick", deleteContragentBankAccountClick: "deleteContragentBankAccountClick", addContragentContactClick: "addContragentContactClick", deleteContragentContactClick: "deleteContragentContactClick" }, ngImport: i0, template: "<sc-accordion (addButtonClick)=\"addContragentClick.emit()\">\n \u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u044B\n <ng-template scAccordionContent>\n @let contragents = contragents$ | async;\n <tui-loader\n [overlay]=\"true\"\n [showLoader]=\"contragents === null\"\n >\n <div class=\"flex flex-col gap-2\">\n <ng-container *ngIf=\"!contragents || contragents.length; else contragentsNotExist\">\n <sc-contragents-accordion-item\n *ngFor=\"let contragent of contragents\"\n [contragent]=\"contragent\"\n (deleteContragentClick)=\"deleteContragentClick.emit($event)\"\n (addContragentBankAccountClick)=\"addContragentBankAccountClick.emit($event)\"\n (deleteContragentBankAccountClick)=\"deleteContragentBankAccountClick.emit($event)\"\n (addContragentContactClick)=\"addContragentContactClick.emit($event)\"\n (deleteContragentContactClick)=\"deleteContragentContactClick.emit($event)\"\n ></sc-contragents-accordion-item>\n </ng-container>\n\n <ng-template #contragentsNotExist>\n <tui-notification size=\"l\">\n <div>\n <div class=\"flex flex-wrap gap-2 font-medium\">\u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u044B \u043D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u044B.</div>\n </div>\n </tui-notification>\n </ng-template>\n </div>\n </tui-loader>\n </ng-template>\n</sc-accordion>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.ScAccordionComponent, selector: "sc-accordion", inputs: ["showAddButton", "showDeleteButton", "showArrow", "open", "size", "disabledButtons"], outputs: ["addButtonClick", "deleteButtonClick"] }, { kind: "directive", type: i4.ScAccordionContentDirective, selector: "ng-template[scAccordionContent]" }, { kind: "component", type: i5.TuiLoader, selector: "tui-loader", inputs: ["size", "inheritColor", "overlay", "textContent", "showLoader"] }, { kind: "directive", type: i5.TuiNotification, selector: "tui-notification,a[tuiNotification],button[tuiNotification]", inputs: ["appearance", "icon", "size"] }, { kind: "component", type: i6.ScContragentsAccordionItemComponent, selector: "sc-contragents-accordion-item", inputs: ["contragent"], outputs: ["deleteContragentClick", "addContragentBankAccountClick", "deleteContragentBankAccountClick", "addContragentContactClick", "deleteContragentContactClick"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
- }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScContragentsAccordionComponent, decorators: [{
53
- type: Component,
54
- args: [{ selector: 'sc-contragents-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<sc-accordion (addButtonClick)=\"addContragentClick.emit()\">\n \u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u044B\n <ng-template scAccordionContent>\n @let contragents = contragents$ | async;\n <tui-loader\n [overlay]=\"true\"\n [showLoader]=\"contragents === null\"\n >\n <div class=\"flex flex-col gap-2\">\n <ng-container *ngIf=\"!contragents || contragents.length; else contragentsNotExist\">\n <sc-contragents-accordion-item\n *ngFor=\"let contragent of contragents\"\n [contragent]=\"contragent\"\n (deleteContragentClick)=\"deleteContragentClick.emit($event)\"\n (addContragentBankAccountClick)=\"addContragentBankAccountClick.emit($event)\"\n (deleteContragentBankAccountClick)=\"deleteContragentBankAccountClick.emit($event)\"\n (addContragentContactClick)=\"addContragentContactClick.emit($event)\"\n (deleteContragentContactClick)=\"deleteContragentContactClick.emit($event)\"\n ></sc-contragents-accordion-item>\n </ng-container>\n\n <ng-template #contragentsNotExist>\n <tui-notification size=\"l\">\n <div>\n <div class=\"flex flex-wrap gap-2 font-medium\">\u041A\u043E\u043D\u0442\u0440\u0430\u0433\u0435\u043D\u0442\u044B \u043D\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u044B.</div>\n </div>\n </tui-notification>\n </ng-template>\n </div>\n </tui-loader>\n </ng-template>\n</sc-accordion>\n" }]
55
- }], ctorParameters: () => [{ type: i1.ScContragentService }], propDecorators: { addContragentClick: [{
56
- type: Output
57
- }], deleteContragentClick: [{
58
- type: Output
59
- }], addContragentBankAccountClick: [{
60
- type: Output
61
- }], deleteContragentBankAccountClick: [{
62
- type: Output
63
- }], addContragentContactClick: [{
64
- type: Output
65
- }], deleteContragentContactClick: [{
66
- type: Output
67
- }] } });
68
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtY29udHJhZ2VudHMtYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9jb250cmFnZW50cy9jb250cmFnZW50cy1hY2NvcmRpb24vc2MtY29udHJhZ2VudHMtYWNjb3JkaW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NsaWVudC11aS9jb250cmFnZW50cy9jb250cmFnZW50cy1hY2NvcmRpb24vc2MtY29udHJhZ2VudHMtYWNjb3JkaW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7Ozs7QUFJekY7O0dBRUc7QUFNSCxNQUFNLE9BQU8sK0JBQStCO0lBMEN4Qzs7OztPQUlHO0lBQ0gsWUFBb0MsaUJBQXNDO1FBQXRDLHNCQUFpQixHQUFqQixpQkFBaUIsQ0FBcUI7UUE5QzFFOztXQUVHO1FBQ0ksaUJBQVksR0FBc0MsSUFBSSxDQUFDLGlCQUFpQixDQUFDLFlBQVksQ0FBQztRQUU3Rjs7V0FFRztRQUVJLHVCQUFrQixHQUF1QixJQUFJLFlBQVksRUFBUSxDQUFDO1FBRXpFOztXQUVHO1FBRUksMEJBQXFCLEdBQStCLElBQUksWUFBWSxFQUFnQixDQUF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AgICAgQGxldCBjb250cmFnZW50cyA9IGNvbnRyYWdlbnRzJCB8IGFzeW5jO1xuICAgICAgICA8dHVpLWxvYWRlclxuICAgICAgICAgICAgW292ZXJsYXldPVwidHJ1ZVwiXG4gICAgICAgICAgICBbc2hvd0xvYWRlcl09XCJjb250cmFnZW50cyA9PT0gbnVsbFwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmbGV4IGZsZXgtY29sIGdhcC0yXCI+XG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiFjb250cmFnZW50cyB8fCBjb250cmFnZW50cy5sZW5ndGg7IGVsc2UgY29udHJhZ2VudHNOb3RFeGlzdFwiPlxuICAgICAgICAgICAgICAgICAgICA8c2MtY29udHJhZ2VudHMtYWNjb3JkaW9uLWl0ZW1cbiAgICAgICAgICAgICAgICAgICAgICAgICpuZ0Zvcj1cImxldCBjb250cmFnZW50IG9mIGNvbnRyYWdlbnRzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtjb250cmFnZW50XT1cImNvbnRyYWdlbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGRlbGV0ZUNvbnRyYWdlbnRDbGljayk9XCJkZWxldGVDb250cmFnZW50Q2xpY2suZW1pdCgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChhZGRDb250cmFnZW50QmFua0FjY291bnRDbGljayk9XCJhZGRDb250cmFnZW50QmFua0FjY291bnRDbGljay5lbWl0KCRldmVudClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgKGRlbGV0ZUNvbnRyYWdlbnRCYW5rQWNjb3VudENsaWNrKT1cImRlbGV0ZUNvbnRyYWdlbnRCYW5rQWNjb3VudENsaWNrLmVtaXQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoYWRkQ29udHJhZ2VudENvbnRhY3RDbGljayk9XCJhZGRDb250cmFnZW50Q29udGFjdENsaWNrLmVtaXQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoZGVsZXRlQ29udHJhZ2VudENvbnRhY3RDbGljayk9XCJkZWxldGVDb250cmFnZW50Q29udGFjdENsaWNrLmVtaXQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgID48L3NjLWNvbnRyYWdlbnRzLWFjY29yZGlvbi1pdGVtPlxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuXG4gICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNjb250cmFnZW50c05vdEV4aXN0PlxuICAgICAgICAgICAgICAgICAgICA8dHVpLW5vdGlmaWNhdGlvbiBzaXplPVwibFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiZmxleCBmbGV4LXdyYXAgZ2FwLTIgZm9udC1tZWRpdW1cIj7QmtC+0L3RgtGA0LDQs9C10L3RgtGLINC90LUg0YPQutCw0LfQsNC90YsuPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPC90dWktbm90aWZpY2F0aW9uPlxuICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC90dWktbG9hZGVyPlxuICAgIDwvbmctdGVtcGxhdGU+XG48L3NjLWFjY29yZGlvbj5cbiJdfQ==
@@ -1,8 +0,0 @@
1
- export * from './add-contragent-bank-account-dialog/sc-add-contragent-bank-account-dialog.component';
2
- export * from './add-contragent-dialog/sc-add-contragent-dialog.component';
3
- export * from './contragents-accordion/contragents-accordion-item/sc-contragents-accordion-item.component';
4
- export * from './contragents-accordion/sc-contragents-accordion.component';
5
- export * from './new-contragent-bank-account-form/sc-new-contragent-bank-account-form.component';
6
- export * from './new-contragent-form/sc-new-contragent-form.component';
7
- export * from './sc-contragents.module';
8
- //# sourceMappingURL=data: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nQtZm9ybS9zYy1uZXctY29udHJhZ2VudC1mb3JtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NjLWNvbnRyYWdlbnRzLm1vZHVsZSc7XG4iXX0=
@@ -1,72 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, Input, input } from '@angular/core';
2
- import { ScISuggestionType, ScOpfList } from '@snabcentr/client-core';
3
- import { scAccountNumberMask, scBicMask, scCorrespondentAccount } from '../../masks';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@snabcentr/client-core";
6
- import * as i2 from "@angular/forms";
7
- import * as i3 from "@angular/common";
8
- import * as i4 from "@taiga-ui/core";
9
- import * as i5 from "@taiga-ui/legacy";
10
- import * as i6 from "@taiga-ui/legacy/components/primitive-textfield";
11
- import * as i7 from "@taiga-ui/core/components/data-list";
12
- import * as i8 from "@maskito/angular";
13
- import * as i9 from "../../form-fields/suggestion-field/sc-suggestion-field.component";
14
- import * as i10 from "@taiga-ui/kit";
15
- /**
16
- * Компонент формы банковских реквизитов.
17
- */
18
- export class ScNewContragentBankAccountsFormComponent {
19
- /**
20
- * Инициализирует экземпляр класса {@link ScContragentBankAccountsFormComponent}.
21
- *
22
- * @param referencesService Сервис справочников.
23
- */
24
- constructor(referencesService) {
25
- this.referencesService = referencesService;
26
- /**
27
- * Перечисление типов подсказок.
28
- */
29
- this.suggestionType = ScISuggestionType;
30
- /**
31
- * Маска поля ввода БИК.
32
- */
33
- this.bicMask = scBicMask;
34
- /**
35
- * Маска поля ввода номера счета.
36
- */
37
- this.accountNumberMask = scAccountNumberMask;
38
- /**
39
- * Маска поля ввода номера корреспондентского счета.
40
- */
41
- this.correspondentAccount = scCorrespondentAccount;
42
- /**
43
- * {@link Observable} списка валют.
44
- */
45
- this.currencies$ = this.referencesService.currencies$;
46
- /**
47
- * Организационно-правовая форма.
48
- */
49
- this.opf = input.required();
50
- /**
51
- * Перечисление организационно-правовых форм.
52
- */
53
- this.opfListEnum = ScOpfList;
54
- }
55
- /**
56
- * Возвращает {@link Observable} валюты по идентификатору.
57
- *
58
- * @param currencyId Идентификатор валюты.
59
- */
60
- getCurrencyById$(currencyId) {
61
- return this.referencesService.getCurrencyById$(currencyId);
62
- }
63
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScNewContragentBankAccountsFormComponent, deps: [{ token: i1.ScReferencesService }], target: i0.ɵɵFactoryTarget.Component }); }
64
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ScNewContragentBankAccountsFormComponent, selector: "sc-new-contragent-bank-account-form", inputs: { form: { classPropertyName: "form", publicName: "form", isSignal: false, isRequired: false, transformFunction: null }, opf: { classPropertyName: "opf", publicName: "opf", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div\n [formGroup]=\"form\"\n class=\"flex flex-col gap-3\"\n>\n <label tuiLabel>\n \u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430\n <tui-input formControlName=\"bankName\">\n \u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430\n @if (opfListEnum[opf()] !== opfListEnum.non_resident_legal) {\n <sc-suggestion-field\n *tuiDataList\n [type]=\"suggestionType.bank\"\n />\n }\n </tui-input>\n <tui-error\n formControlName=\"bankName\"\n [error]=\"[] | tuiFieldError | async\"\n ></tui-error>\n </label>\n <label tuiLabel>\n \u0411\u0418\u041A\n <tui-input formControlName=\"bic\">\n \u0411\u0418\u041A\n <input\n tuiTextfieldLegacy\n [maskito]=\"bicMask\"\n autocomplete=\"bic\"\n />\n @if (opfListEnum[opf()] !== opfListEnum.non_resident_legal) {\n <sc-suggestion-field\n *tuiDataList\n [type]=\"suggestionType.bank\"\n />\n }\n </tui-input>\n <tui-error\n formControlName=\"bic\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n <label tuiLabel>\n \u041D\u043E\u043C\u0435\u0440 \u0441\u0447\u0435\u0442\u0430\n <tui-input formControlName=\"accountNumber\">\n \u041D\u043E\u043C\u0435\u0440 \u0441\u0447\u0435\u0442\u0430\n <input\n tuiTextfieldLegacy\n [maskito]=\"accountNumberMask\"\n autocomplete=\"accountNumber\"\n />\n </tui-input>\n <tui-error\n formControlName=\"accountNumber\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n <label tuiLabel>\n \u041A\u043E\u0440\u0440\u0435\u0441\u043F\u043E\u043D\u0434\u0435\u043D\u0442\u0441\u043A\u0438\u0439 \u0441\u0447\u0435\u0442\n <tui-input formControlName=\"correspondentAccount\">\n \u041A\u043E\u0440\u0440\u0435\u0441\u043F\u043E\u043D\u0434\u0435\u043D\u0442\u0441\u043A\u0438\u0439 \u0441\u0447\u0435\u0442\n <input\n tuiTextfieldLegacy\n [maskito]=\"correspondentAccount\"\n autocomplete=\"correspondentAccount\"\n />\n </tui-input>\n <tui-error\n formControlName=\"correspondentAccount\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n <label tuiLabel>\n \u0412\u0430\u043B\u044E\u0442\u0430 \u0440\u0430\u0441\u0447\u0451\u0442\u043E\u0432\n <tui-select\n formControlName=\"currencyId\"\n [valueContent]=\"currencyContent\"\n >\n \u0412\u0430\u043B\u044E\u0442\u0430 \u0440\u0430\u0441\u0447\u0451\u0442\u043E\u0432\n <tui-data-list *tuiDataList>\n <button\n *ngFor=\"let item of currencies$ | async; let index = index\"\n tuiOption\n [value]=\"item.id\"\n >\n {{ item.name }} ({{ item.symbol }})\n </button>\n </tui-data-list>\n </tui-select>\n <ng-template\n #currencyContent\n let-data\n >\n <div>{{ (getCurrencyById$(data) | async)?.name }}</div>\n </ng-template>\n <tui-error\n formControlName=\"currencyId\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4.TuiError, selector: "tui-error", inputs: ["error"] }, { kind: "component", type: i5.TuiSelectComponent, selector: "tui-select", inputs: ["stringify", "identityMatcher", "valueContent"] }, { kind: "directive", type: i5.TuiSelectDirective, selector: "tui-select" }, { kind: "component", type: i6.TuiTextfieldComponent, selector: "input[tuiTextfieldLegacy], textarea[tuiTextfieldLegacy]" }, { kind: "component", type: i4.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "directive", type: i7.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { kind: "component", type: i4.TuiOption, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: ["disabled", "value"] }, { kind: "directive", type: i4.TuiLabel, selector: "label[tuiLabel]" }, { kind: "component", type: i5.TuiInputComponent, selector: "tui-input" }, { kind: "directive", type: i5.TuiInputDirective, selector: "tui-input" }, { kind: "directive", type: i8.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "component", type: i9.ScSuggestionFieldComponent, selector: "sc-suggestion-field", inputs: ["type", "showAddressQuality"], outputs: ["selectedClick"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i10.TuiFieldErrorPipe, name: "tuiFieldError" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
65
- }
66
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScNewContragentBankAccountsFormComponent, decorators: [{
67
- type: Component,
68
- args: [{ selector: 'sc-new-contragent-bank-account-form', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [formGroup]=\"form\"\n class=\"flex flex-col gap-3\"\n>\n <label tuiLabel>\n \u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430\n <tui-input formControlName=\"bankName\">\n \u041D\u0430\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u043D\u043A\u0430\n @if (opfListEnum[opf()] !== opfListEnum.non_resident_legal) {\n <sc-suggestion-field\n *tuiDataList\n [type]=\"suggestionType.bank\"\n />\n }\n </tui-input>\n <tui-error\n formControlName=\"bankName\"\n [error]=\"[] | tuiFieldError | async\"\n ></tui-error>\n </label>\n <label tuiLabel>\n \u0411\u0418\u041A\n <tui-input formControlName=\"bic\">\n \u0411\u0418\u041A\n <input\n tuiTextfieldLegacy\n [maskito]=\"bicMask\"\n autocomplete=\"bic\"\n />\n @if (opfListEnum[opf()] !== opfListEnum.non_resident_legal) {\n <sc-suggestion-field\n *tuiDataList\n [type]=\"suggestionType.bank\"\n />\n }\n </tui-input>\n <tui-error\n formControlName=\"bic\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n <label tuiLabel>\n \u041D\u043E\u043C\u0435\u0440 \u0441\u0447\u0435\u0442\u0430\n <tui-input formControlName=\"accountNumber\">\n \u041D\u043E\u043C\u0435\u0440 \u0441\u0447\u0435\u0442\u0430\n <input\n tuiTextfieldLegacy\n [maskito]=\"accountNumberMask\"\n autocomplete=\"accountNumber\"\n />\n </tui-input>\n <tui-error\n formControlName=\"accountNumber\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n <label tuiLabel>\n \u041A\u043E\u0440\u0440\u0435\u0441\u043F\u043E\u043D\u0434\u0435\u043D\u0442\u0441\u043A\u0438\u0439 \u0441\u0447\u0435\u0442\n <tui-input formControlName=\"correspondentAccount\">\n \u041A\u043E\u0440\u0440\u0435\u0441\u043F\u043E\u043D\u0434\u0435\u043D\u0442\u0441\u043A\u0438\u0439 \u0441\u0447\u0435\u0442\n <input\n tuiTextfieldLegacy\n [maskito]=\"correspondentAccount\"\n autocomplete=\"correspondentAccount\"\n />\n </tui-input>\n <tui-error\n formControlName=\"correspondentAccount\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n <label tuiLabel>\n \u0412\u0430\u043B\u044E\u0442\u0430 \u0440\u0430\u0441\u0447\u0451\u0442\u043E\u0432\n <tui-select\n formControlName=\"currencyId\"\n [valueContent]=\"currencyContent\"\n >\n \u0412\u0430\u043B\u044E\u0442\u0430 \u0440\u0430\u0441\u0447\u0451\u0442\u043E\u0432\n <tui-data-list *tuiDataList>\n <button\n *ngFor=\"let item of currencies$ | async; let index = index\"\n tuiOption\n [value]=\"item.id\"\n >\n {{ item.name }} ({{ item.symbol }})\n </button>\n </tui-data-list>\n </tui-select>\n <ng-template\n #currencyContent\n let-data\n >\n <div>{{ (getCurrencyById$(data) | async)?.name }}</div>\n </ng-template>\n <tui-error\n formControlName=\"currencyId\"\n [error]=\"[] | tuiFieldError | async\"\n />\n </label>\n</div>\n" }]
69
- }], ctorParameters: () => [{ type: i1.ScReferencesService }], propDecorators: { form: [{
70
- type: Input
71
- }] } });
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2MtbmV3LWNvbnRyYWdlbnQtYmFuay1hY2NvdW50LWZvcm0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2xpZW50LXVpL2NvbnRyYWdlbnRzL25ldy1jb250cmFnZW50LWJhbmstYWNjb3VudC1mb3JtL3NjLW5ldy1jb250cmFnZW50LWJhbmstYWNjb3VudC1mb3JtLmNv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JyZW5jeUlkKTtcbiAgICB9XG59XG4iLCI8ZGl2XG4gICAgW2Zvcm1Hcm91cF09XCJmb3JtXCJcbiAgICBjbGFzcz1cImZsZXggZmxleC1jb2wgZ2FwLTNcIlxuPlxuICAgIDxsYWJlbCB0dWlMYWJlbD5cbiAgICAgICAg0J3QsNC40LzQtdC90L7QstCw0L3QuNC1INCx0LDQvdC60LBcbiAgICAgICAgPHR1aS1pbnB1dCBmb3JtQ29udHJvbE5hbWU9XCJiYW5rTmFtZVwiPlxuICAgICAgICAgICAg0J3QsNC40LzQtdC90L7QstCw0L3QuNC1INCx0LDQvdC60LBcbiAgICAgICAgICAgIEBpZiAob3BmTGlzdEVudW1bb3BmKCldICE9PSBvcGZMaXN0RW51bS5ub25fcmVzaWRlbnRfbGVnYWwpIHtcbiAgICAgICAgICAgICAgICA8c2Mtc3VnZ2VzdGlvbi1maWVsZFxuICAgICAgICAgICAgICAgICAgICAqdHVpRGF0YUxpc3RcbiAgICAgICAgICAgICAgICAgICAgW3R5cGVdPVwic3VnZ2VzdGlvblR5cGUuYmFua1wiXG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cbiAgICAgICAgPC90dWktaW5wdXQ+XG4gICAgICAgIDx0dWktZXJyb3JcbiAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImJhbmtOYW1lXCJcbiAgICAgICAgICAgIFtlcnJvcl09XCJbXSB8IHR1aUZpZWxkRXJyb3IgfCBhc3luY1wiXG4gICAgICAgID48L3R1aS1lcnJvcj5cbiAgICA8L2xhYmVsPlxuICAgIDxsYWJlbCB0dWlMYWJlbD5cbiAgICAgICAg0JHQmNCaXG4gICAgICAgIDx0dWktaW5wdXQgZm9ybUNvbnRyb2xOYW1lPVwiYmljXCI+XG4gICAgICAgICAgICDQkdCY0JpcbiAgICAgICAgICAgIDxpbnB1dFxuICAgICAgICAgICAgICAgIHR1aVRleHRmaWVsZExlZ2FjeVxuICAgICAgICAgICAgICAgIFttYXNraXRvXT1cImJpY01hc2tcIlxuICAgICAgICAgICAgICAgIGF1dG9jb21wbGV0ZT1cImJpY1wiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgQGlmIChvcGZMaXN0RW51bVtvcGYoKV0gIT09IG9wZkxpc3RFbnVtLm5vbl9yZXNpZGVudF9sZWdhbCkge1xuICAgICAgICAgICAgICAgIDxzYy1zdWdnZXN0aW9uLWZpZWxkXG4gICAgICAgICAgICAgICAgICAgICp0dWlEYXRhTGlzdFxuICAgICAgICAgICAgICAgICAgICBbdHlwZV09XCJzdWdnZXN0aW9uVHlwZS5iYW5rXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L3R1aS1pbnB1dD5cbiAgICAgICAgPHR1aS1lcnJvclxuICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwiYmljXCJcbiAgICAgICAgICAgIFtlcnJvcl09XCJbXSB8IHR1aUZpZWxkRXJyb3IgfCBhc3luY1wiXG4gICAgICAgIC8+XG4gICAgPC9sYWJlbD5cbiAgICA8bGFiZWwgdHVpTGFiZWw+XG4gICAgICAgINCd0L7QvNC10YAg0YHRh9C10YLQsFxuICAgICAgICA8dHVpLWlucHV0IGZvcm1Db250cm9sTmFtZT1cImFjY291bnROdW1iZXJcIj5cbiAgICAgICAgICAgINCd0L7QvNC10YAg0YHRh9C10YLQsFxuICAgICAgICAgICAgPGlucHV0XG4gICAgICAgICAgICAgICAgdHVpVGV4dGZpZWxkTGVnYWN5XG4gICAgICAgICAgICAgICAgW21hc2tpdG9dPVwiYWNjb3VudE51bWJlck1hc2tcIlxuICAgICAgICAgICAgICAgIGF1dG9jb21wbGV0ZT1cImFjY291bnROdW1iZXJcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC90dWktaW5wdXQ+XG4gICAgICAgIDx0dWktZXJyb3JcbiAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImFjY291bnROdW1iZXJcIlxuICAgICAgICAgICAgW2Vycm9yXT1cIltdIHwgdHVpRmllbGRFcnJvciB8IGFzeW5jXCJcbiAgICAgICAgLz5cbiAgICA8L2xhYmVsPlxuICAgIDxsYWJlbCB0dWlMYWJlbD5cbiAgICAgICAg0JrQvtGA0YDQtdGB0L/QvtC90LTQtdC90YLRgdC60LjQuSDRgdGH0LXRglxuICAgICAgICA8dHVpLWlucHV0IGZvcm1Db250cm9sTmFtZT1cImNvcnJlc3BvbmRlbnRBY2NvdW50XCI+XG4gICAgICAgICAgICDQmtC+0YDRgNC10YHQv9C+0L3QtNC10L3RgtGB0LrQuNC5INGB0YfQtdGCXG4gICAgICAgICAgICA8aW5wdXRcbiAgICAgICAgICAgICAgICB0dWlUZXh0ZmllbGRMZWdhY3lcbiAgICAgICAgICAgICAgICBbbWFza2l0b109XCJjb3JyZXNwb25kZW50QWNjb3VudFwiXG4gICAgICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwiY29ycmVzcG9uZGVudEFjY291bnRcIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC90dWktaW5wdXQ+XG4gICAgICAgIDx0dWktZXJyb3JcbiAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImNvcnJlc3BvbmRlbnRBY2NvdW50XCJcbiAgICAgICAgICAgIFtlcnJvcl09XCJbXSB8IHR1aUZpZWxkRXJyb3IgfCBhc3luY1wiXG4gICAgICAgIC8+XG4gICAgPC9sYWJlbD5cbiAgICA8bGFiZWwgdHVpTGFiZWw+XG4gICAgICAgINCS0LDQu9GO0YLQsCDRgNCw0YHRh9GR0YLQvtCyXG4gICAgICAgIDx0dWktc2VsZWN0XG4gICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJjdXJyZW5jeUlkXCJcbiAgICAgICAgICAgIFt2YWx1ZUNvbnRlbnRdPVwiY3VycmVuY3lDb250ZW50XCJcbiAgICAgICAgPlxuICAgICAgICAgICAg0JLQsNC70Y7RgtCwINGA0LDRgdGH0ZHRgtC+0LJcbiAgICAgICAgICAgIDx0dWktZGF0YS1saXN0ICp0dWlEYXRhTGlzdD5cbiAgICAgICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICpuZ0Zvcj1cImxldCBpdGVtIG9mIGN1cnJlbmNpZXMkIHwgYXN5bmM7IGxldCBpbmRleCA9IGluZGV4XCJcbiAgICAgICAgICAgICAgICAgICAgdHVpT3B0aW9uXG4gICAgICAgICAgICAgICAgICAgIFt2YWx1ZV09XCJpdGVtLmlkXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0ubmFtZSB9fSAoe3sgaXRlbS5zeW1ib2wgfX0pXG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICA8L3R1aS1kYXRhLWxpc3Q+XG4gICAgICAgIDwvdHVpLXNlbGVjdD5cbiAgICAgICAgPG5nLXRlbXBsYXRlXG4gICAgICAgICAgICAjY3VycmVuY3lDb250ZW50XG4gICAgICAgICAgICBsZXQtZGF0YVxuICAgICAgICA+XG4gICAgICAgICAgICA8ZGl2Pnt7IChnZXRDdXJyZW5jeUJ5SWQkKGRhdGEpIHwgYXN5bmMpPy5uYW1lIH19PC9kaXY+XG4gICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgIDx0dWktZXJyb3JcbiAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImN1cnJlbmN5SWRcIlxuICAgICAgICAgICAgW2Vycm9yXT1cIltdIHwgdHVpRmllbGRFcnJvciB8IGFzeW5jXCJcbiAgICAgICAgLz5cbiAgICA8L2xhYmVsPlxuPC9kaXY+XG4iXX0=