@redneckz/wildless-cms-uni-blocks 0.9.16 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/bin/migration-scripts/0.9.10.js +30 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +405 -246
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/InputControl.d.ts +10 -0
  6. package/bundle/components/ApplicationForm/{WrapperSelect.d.ts → SelectControl.d.ts} +4 -2
  7. package/bundle/components/ApplicationForm/models.d.ts +5 -0
  8. package/bundle/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  9. package/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  10. package/{lib/components/ApplicationForm/renderSelects.d.ts → bundle/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  11. package/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  12. package/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  13. package/bundle/components/ApplicationForm/renderRegion.d.ts +12 -0
  14. package/{dist/components/ApplicationForm/renderBankOffices.d.ts → bundle/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
  15. package/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  16. package/bundle/components/ApplicationForm/useForm.d.ts +14 -0
  17. package/bundle/components/ApplicationForm/validate.d.ts +1 -0
  18. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  19. package/bundle/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  20. package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  21. package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  22. package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  23. package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  24. package/bundle/components/Footer/FooterContent.d.ts +1 -1
  25. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  26. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  27. package/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
  28. package/bundle/components/ProductTile/renderImage.d.ts +1 -1
  29. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  30. package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  31. package/bundle/components/Tile/TileContent.d.ts +2 -0
  32. package/bundle/ui-kit/RichText/RichTextProps.d.ts +2 -2
  33. package/bundle/ui-kit/Select/Select.d.ts +2 -0
  34. package/dist/components/ApplicationForm/ApplicationForm.js +3 -3
  35. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  36. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  37. package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  38. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  39. package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  40. package/dist/components/ApplicationForm/ApplicationFormCredit.js +52 -41
  41. package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  42. package/dist/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  43. package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  44. package/dist/components/ApplicationForm/ApplicationFormWed.js +38 -25
  45. package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  46. package/dist/components/ApplicationForm/InputControl.d.ts +10 -0
  47. package/dist/components/ApplicationForm/InputControl.js +10 -0
  48. package/dist/components/ApplicationForm/InputControl.js.map +1 -0
  49. package/{lib/components/ApplicationForm/WrapperSelect.d.ts → dist/components/ApplicationForm/SelectControl.d.ts} +4 -2
  50. package/dist/components/ApplicationForm/SelectControl.js +14 -0
  51. package/dist/components/ApplicationForm/SelectControl.js.map +1 -0
  52. package/dist/components/ApplicationForm/models.d.ts +5 -0
  53. package/dist/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  54. package/dist/components/ApplicationForm/normalizeSelected.js +5 -0
  55. package/dist/components/ApplicationForm/normalizeSelected.js.map +1 -0
  56. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  57. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +8 -0
  58. package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  59. package/{bundle/components/ApplicationForm/renderSelects.d.ts → dist/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  60. package/dist/components/ApplicationForm/renderAcquiringRegion.js +9 -0
  61. package/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  62. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  63. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +8 -0
  64. package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  65. package/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  66. package/dist/components/ApplicationForm/renderCreditDataOrganization.js +8 -0
  67. package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  68. package/dist/components/ApplicationForm/renderRegion.d.ts +12 -0
  69. package/dist/components/ApplicationForm/renderRegion.js +8 -0
  70. package/dist/components/ApplicationForm/renderRegion.js.map +1 -0
  71. package/{lib/components/ApplicationForm/renderBankOffices.d.ts → dist/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
  72. package/dist/components/ApplicationForm/renderRegionDepartment.js +8 -0
  73. package/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  74. package/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  75. package/dist/components/ApplicationForm/renderWedDataOrganization.js +8 -0
  76. package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  77. package/dist/components/ApplicationForm/useForm.d.ts +14 -0
  78. package/dist/components/ApplicationForm/useForm.js +37 -0
  79. package/dist/components/ApplicationForm/useForm.js.map +1 -0
  80. package/dist/components/ApplicationForm/validate.d.ts +1 -0
  81. package/dist/components/ApplicationForm/validate.js +22 -0
  82. package/dist/components/ApplicationForm/validate.js.map +1 -0
  83. package/dist/components/Blocks.js +4 -0
  84. package/dist/components/Blocks.js.map +1 -1
  85. package/dist/components/Bonus/Bonus.js +5 -3
  86. package/dist/components/Bonus/Bonus.js.map +1 -1
  87. package/dist/components/Carousel/Carousel.js +4 -3
  88. package/dist/components/Carousel/Carousel.js.map +1 -1
  89. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  90. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  91. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  92. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  93. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  94. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  95. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  96. package/dist/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  97. package/dist/components/ExchangeRateOffice/Currencies.js +12 -0
  98. package/dist/components/ExchangeRateOffice/Currencies.js.map +1 -0
  99. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  100. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +16 -0
  101. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  102. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  103. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  104. package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  105. package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  106. package/dist/components/ExchangeRateOffice/renderCurrencies.js +30 -0
  107. package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  108. package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  109. package/dist/components/ExchangeRateOffice/renderTableHeader.js +9 -0
  110. package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  111. package/dist/components/Footer/FooterContent.d.ts +1 -1
  112. package/dist/components/Headline/Headline.js +1 -1
  113. package/dist/components/Headline/Headline.js.map +1 -1
  114. package/dist/components/ProductBlock/ProductBlock.js +2 -3
  115. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  116. package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  117. package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
  118. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  119. package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  120. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  121. package/dist/components/ProductTile/ProductTile.js +4 -2
  122. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  123. package/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  124. package/dist/components/ProductTile/renderImage.d.ts +1 -1
  125. package/dist/components/ProductTile/renderImage.js +3 -2
  126. package/dist/components/ProductTile/renderImage.js.map +1 -1
  127. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  128. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +22 -0
  129. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  130. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  131. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  132. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  133. package/dist/components/RichTextBlock/RichTextBlock.js +2 -2
  134. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  135. package/dist/components/TariffsTable/EmbeddableCellData.js +1 -3
  136. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  137. package/dist/components/Tile/Tile.js +5 -4
  138. package/dist/components/Tile/Tile.js.map +1 -1
  139. package/dist/components/Tile/TileContent.d.ts +2 -0
  140. package/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  141. package/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  142. package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  143. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  144. package/dist/ui-kit/RichText/RichText.js +3 -2
  145. package/dist/ui-kit/RichText/RichText.js.map +1 -1
  146. package/dist/ui-kit/RichText/RichTextProps.d.ts +2 -2
  147. package/dist/ui-kit/Select/Select.d.ts +2 -0
  148. package/dist/ui-kit/Select/Select.js +5 -3
  149. package/dist/ui-kit/Select/Select.js.map +1 -1
  150. package/lib/common.css +1 -1
  151. package/lib/components/ApplicationForm/ApplicationForm.js +3 -3
  152. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  153. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  154. package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  155. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  156. package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  157. package/lib/components/ApplicationForm/ApplicationFormCredit.js +53 -42
  158. package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  159. package/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  160. package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  161. package/lib/components/ApplicationForm/ApplicationFormWed.js +38 -25
  162. package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  163. package/lib/components/ApplicationForm/InputControl.d.ts +10 -0
  164. package/lib/components/ApplicationForm/InputControl.js +8 -0
  165. package/lib/components/ApplicationForm/InputControl.js.map +1 -0
  166. package/{mobile/bundle/components/ApplicationForm/WrapperSelect.d.ts → lib/components/ApplicationForm/SelectControl.d.ts} +4 -2
  167. package/lib/components/ApplicationForm/SelectControl.js +12 -0
  168. package/lib/components/ApplicationForm/SelectControl.js.map +1 -0
  169. package/lib/components/ApplicationForm/models.d.ts +5 -0
  170. package/lib/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  171. package/lib/components/ApplicationForm/normalizeSelected.js +2 -0
  172. package/lib/components/ApplicationForm/normalizeSelected.js.map +1 -0
  173. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  174. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +5 -0
  175. package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  176. package/{mobile/bundle/components/ApplicationForm/renderSelects.d.ts → lib/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  177. package/lib/components/ApplicationForm/renderAcquiringRegion.js +6 -0
  178. package/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  179. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  180. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +5 -0
  181. package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  182. package/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  183. package/lib/components/ApplicationForm/renderCreditDataOrganization.js +5 -0
  184. package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  185. package/lib/components/ApplicationForm/renderRegion.d.ts +12 -0
  186. package/lib/components/ApplicationForm/renderRegion.js +5 -0
  187. package/lib/components/ApplicationForm/renderRegion.js.map +1 -0
  188. package/{bundle/components/ApplicationForm/renderBankOffices.d.ts → lib/components/ApplicationForm/renderRegionDepartment.d.ts} +4 -2
  189. package/lib/components/ApplicationForm/renderRegionDepartment.js +5 -0
  190. package/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  191. package/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  192. package/lib/components/ApplicationForm/renderWedDataOrganization.js +5 -0
  193. package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  194. package/lib/components/ApplicationForm/useForm.d.ts +14 -0
  195. package/lib/components/ApplicationForm/useForm.js +34 -0
  196. package/lib/components/ApplicationForm/useForm.js.map +1 -0
  197. package/lib/components/ApplicationForm/validate.d.ts +1 -0
  198. package/lib/components/ApplicationForm/validate.js +19 -0
  199. package/lib/components/ApplicationForm/validate.js.map +1 -0
  200. package/lib/components/Blocks.js +4 -0
  201. package/lib/components/Blocks.js.map +1 -1
  202. package/lib/components/Bonus/Bonus.js +5 -3
  203. package/lib/components/Bonus/Bonus.js.map +1 -1
  204. package/lib/components/Carousel/Carousel.js +4 -3
  205. package/lib/components/Carousel/Carousel.js.map +1 -1
  206. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  207. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  208. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  209. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  210. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  211. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  212. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  213. package/lib/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  214. package/lib/components/ExchangeRateOffice/Currencies.js +10 -0
  215. package/lib/components/ExchangeRateOffice/Currencies.js.map +1 -0
  216. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  217. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +6 -0
  218. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +14 -0
  219. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  220. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  221. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  222. package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  223. package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  224. package/lib/components/ExchangeRateOffice/renderCurrencies.js +27 -0
  225. package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  226. package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  227. package/lib/components/ExchangeRateOffice/renderTableHeader.js +6 -0
  228. package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  229. package/lib/components/Footer/FooterContent.d.ts +1 -1
  230. package/lib/components/Headline/Headline.js +1 -1
  231. package/lib/components/Headline/Headline.js.map +1 -1
  232. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -1
  233. package/lib/components/ProductBlock/ProductBlock.js +2 -3
  234. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  235. package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  236. package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
  237. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  238. package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  239. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  240. package/lib/components/ProductTile/ProductTile.js +4 -2
  241. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  242. package/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  243. package/lib/components/ProductTile/renderImage.d.ts +1 -1
  244. package/lib/components/ProductTile/renderImage.js +3 -2
  245. package/lib/components/ProductTile/renderImage.js.map +1 -1
  246. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  247. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +6 -0
  248. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +20 -0
  249. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  250. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  251. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  252. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  253. package/lib/components/RichTextBlock/RichTextBlock.fixture.d.ts +3 -0
  254. package/lib/components/RichTextBlock/RichTextBlock.js +2 -2
  255. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  256. package/lib/components/TariffsTable/EmbeddableCellData.js +1 -3
  257. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  258. package/lib/components/Tile/Tile.fixture.d.ts +1 -0
  259. package/lib/components/Tile/Tile.js +5 -4
  260. package/lib/components/Tile/Tile.js.map +1 -1
  261. package/lib/components/Tile/TileContent.d.ts +2 -0
  262. package/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  263. package/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  264. package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  265. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  266. package/lib/ui-kit/RichText/RichText.js +3 -2
  267. package/lib/ui-kit/RichText/RichText.js.map +1 -1
  268. package/lib/ui-kit/RichText/RichTextProps.d.ts +2 -2
  269. package/lib/ui-kit/Select/Select.d.ts +2 -0
  270. package/lib/ui-kit/Select/Select.js +5 -3
  271. package/lib/ui-kit/Select/Select.js.map +1 -1
  272. package/mobile/bundle/bundle.umd.js +7 -7
  273. package/mobile/bundle/bundle.umd.min.js +1 -1
  274. package/mobile/bundle/components/ApplicationForm/InputControl.d.ts +10 -0
  275. package/{dist/components/ApplicationForm/WrapperSelect.d.ts → mobile/bundle/components/ApplicationForm/SelectControl.d.ts} +4 -2
  276. package/mobile/bundle/components/ApplicationForm/models.d.ts +5 -0
  277. package/mobile/bundle/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  278. package/mobile/bundle/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  279. package/{dist/components/ApplicationForm/renderSelects.d.ts → mobile/bundle/components/ApplicationForm/renderAcquiringRegion.d.ts} +4 -2
  280. package/mobile/bundle/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  281. package/mobile/bundle/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  282. package/mobile/bundle/components/ApplicationForm/renderRegion.d.ts +12 -0
  283. package/mobile/bundle/components/ApplicationForm/{renderBankOffices.d.ts → renderRegionDepartment.d.ts} +4 -2
  284. package/mobile/bundle/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  285. package/mobile/bundle/components/ApplicationForm/useForm.d.ts +14 -0
  286. package/mobile/bundle/components/ApplicationForm/validate.d.ts +1 -0
  287. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  288. package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  289. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  290. package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  291. package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  292. package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  293. package/mobile/bundle/components/Footer/FooterContent.d.ts +1 -1
  294. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  295. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  296. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +1 -1
  297. package/mobile/bundle/components/ProductTile/renderImage.d.ts +1 -1
  298. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  299. package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  300. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -0
  301. package/mobile/bundle/ui-kit/RichText/RichTextProps.d.ts +2 -2
  302. package/mobile/bundle/ui-kit/Select/Select.d.ts +2 -0
  303. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +3 -3
  304. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  305. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  306. package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  307. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  308. package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  309. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +52 -41
  310. package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  311. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  312. package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  313. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +38 -25
  314. package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  315. package/mobile/dist/components/ApplicationForm/InputControl.d.ts +10 -0
  316. package/mobile/dist/components/ApplicationForm/InputControl.js +10 -0
  317. package/mobile/dist/components/ApplicationForm/InputControl.js.map +1 -0
  318. package/mobile/dist/components/ApplicationForm/SelectControl.d.ts +13 -0
  319. package/mobile/dist/components/ApplicationForm/SelectControl.js +14 -0
  320. package/mobile/dist/components/ApplicationForm/SelectControl.js.map +1 -0
  321. package/mobile/dist/components/ApplicationForm/models.d.ts +5 -0
  322. package/mobile/dist/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  323. package/mobile/dist/components/ApplicationForm/normalizeSelected.js +5 -0
  324. package/mobile/dist/components/ApplicationForm/normalizeSelected.js.map +1 -0
  325. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  326. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +8 -0
  327. package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  328. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.d.ts +13 -0
  329. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js +9 -0
  330. package/mobile/dist/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  331. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  332. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +8 -0
  333. package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  334. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  335. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +8 -0
  336. package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  337. package/mobile/dist/components/ApplicationForm/renderRegion.d.ts +12 -0
  338. package/mobile/dist/components/ApplicationForm/renderRegion.js +8 -0
  339. package/mobile/dist/components/ApplicationForm/renderRegion.js.map +1 -0
  340. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.d.ts +15 -0
  341. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js +8 -0
  342. package/mobile/dist/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  343. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  344. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +8 -0
  345. package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  346. package/mobile/dist/components/ApplicationForm/useForm.d.ts +14 -0
  347. package/mobile/dist/components/ApplicationForm/useForm.js +37 -0
  348. package/mobile/dist/components/ApplicationForm/useForm.js.map +1 -0
  349. package/mobile/dist/components/ApplicationForm/validate.d.ts +1 -0
  350. package/mobile/dist/components/ApplicationForm/validate.js +22 -0
  351. package/mobile/dist/components/ApplicationForm/validate.js.map +1 -0
  352. package/mobile/dist/components/Bonus/Bonus.js +5 -3
  353. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  354. package/mobile/dist/components/Carousel/Carousel.js +4 -3
  355. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  356. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  357. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  358. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  359. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  360. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  361. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  362. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  363. package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  364. package/mobile/dist/components/ExchangeRateOffice/Currencies.js +12 -0
  365. package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +1 -0
  366. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  367. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +16 -0
  368. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  369. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  370. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  371. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  372. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  373. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +30 -0
  374. package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  375. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  376. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +9 -0
  377. package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  378. package/mobile/dist/components/Footer/FooterContent.d.ts +1 -1
  379. package/mobile/dist/components/Headline/Headline.js +1 -1
  380. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  381. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  382. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  383. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  384. package/mobile/dist/components/ProductTile/ProductTile.js +4 -2
  385. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  386. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +1 -1
  387. package/mobile/dist/components/ProductTile/renderImage.d.ts +1 -1
  388. package/mobile/dist/components/ProductTile/renderImage.js +3 -2
  389. package/mobile/dist/components/ProductTile/renderImage.js.map +1 -1
  390. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  391. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +22 -0
  392. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  393. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  394. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  395. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  396. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +2 -2
  397. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  398. package/mobile/dist/components/Tile/Tile.js +5 -4
  399. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  400. package/mobile/dist/components/Tile/TileContent.d.ts +2 -0
  401. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js +1 -1
  402. package/mobile/dist/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  403. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  404. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  405. package/mobile/dist/ui-kit/RichText/RichText.js +3 -2
  406. package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -1
  407. package/mobile/dist/ui-kit/RichText/RichTextProps.d.ts +2 -2
  408. package/mobile/dist/ui-kit/Select/Select.d.ts +2 -0
  409. package/mobile/dist/ui-kit/Select/Select.js +5 -3
  410. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  411. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +3 -3
  412. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  413. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +47 -40
  414. package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
  415. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +34 -28
  416. package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
  417. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +53 -42
  418. package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
  419. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +24 -17
  420. package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
  421. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +38 -25
  422. package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
  423. package/mobile/lib/components/ApplicationForm/InputControl.d.ts +10 -0
  424. package/mobile/lib/components/ApplicationForm/InputControl.js +8 -0
  425. package/mobile/lib/components/ApplicationForm/InputControl.js.map +1 -0
  426. package/mobile/lib/components/ApplicationForm/SelectControl.d.ts +13 -0
  427. package/mobile/lib/components/ApplicationForm/SelectControl.js +12 -0
  428. package/mobile/lib/components/ApplicationForm/SelectControl.js.map +1 -0
  429. package/mobile/lib/components/ApplicationForm/models.d.ts +5 -0
  430. package/mobile/lib/components/ApplicationForm/normalizeSelected.d.ts +2 -0
  431. package/mobile/lib/components/ApplicationForm/normalizeSelected.js +2 -0
  432. package/mobile/lib/components/ApplicationForm/normalizeSelected.js.map +1 -0
  433. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.d.ts +11 -0
  434. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +5 -0
  435. package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -0
  436. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.d.ts +13 -0
  437. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js +6 -0
  438. package/mobile/lib/components/ApplicationForm/renderAcquiringRegion.js.map +1 -0
  439. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.d.ts +11 -0
  440. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +5 -0
  441. package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -0
  442. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.d.ts +13 -0
  443. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +5 -0
  444. package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -0
  445. package/mobile/lib/components/ApplicationForm/renderRegion.d.ts +12 -0
  446. package/mobile/lib/components/ApplicationForm/renderRegion.js +5 -0
  447. package/mobile/lib/components/ApplicationForm/renderRegion.js.map +1 -0
  448. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.d.ts +15 -0
  449. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js +5 -0
  450. package/mobile/lib/components/ApplicationForm/renderRegionDepartment.js.map +1 -0
  451. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.d.ts +11 -0
  452. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +5 -0
  453. package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -0
  454. package/mobile/lib/components/ApplicationForm/useForm.d.ts +14 -0
  455. package/mobile/lib/components/ApplicationForm/useForm.js +34 -0
  456. package/mobile/lib/components/ApplicationForm/useForm.js.map +1 -0
  457. package/mobile/lib/components/ApplicationForm/validate.d.ts +1 -0
  458. package/mobile/lib/components/ApplicationForm/validate.js +19 -0
  459. package/mobile/lib/components/ApplicationForm/validate.js.map +1 -0
  460. package/mobile/lib/components/Bonus/Bonus.js +5 -3
  461. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  462. package/mobile/lib/components/Carousel/Carousel.js +4 -3
  463. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  464. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  465. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
  466. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  467. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -3
  468. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  469. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
  470. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  471. package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +8 -0
  472. package/mobile/lib/components/ExchangeRateOffice/Currencies.js +10 -0
  473. package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +1 -0
  474. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +5 -0
  475. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +14 -0
  476. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -0
  477. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +36 -0
  478. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +2 -0
  479. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +1 -0
  480. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +3 -0
  481. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +27 -0
  482. package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +1 -0
  483. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +2 -0
  484. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +6 -0
  485. package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +1 -0
  486. package/mobile/lib/components/Footer/FooterContent.d.ts +1 -1
  487. package/mobile/lib/components/Headline/Headline.js +1 -1
  488. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  489. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -2
  490. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
  491. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  492. package/mobile/lib/components/ProductTile/ProductTile.js +4 -2
  493. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  494. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +1 -1
  495. package/mobile/lib/components/ProductTile/renderImage.d.ts +1 -1
  496. package/mobile/lib/components/ProductTile/renderImage.js +3 -2
  497. package/mobile/lib/components/ProductTile/renderImage.js.map +1 -1
  498. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +5 -0
  499. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +20 -0
  500. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -0
  501. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +18 -0
  502. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +2 -0
  503. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +1 -0
  504. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +2 -2
  505. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  506. package/mobile/lib/components/Tile/Tile.js +5 -4
  507. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  508. package/mobile/lib/components/Tile/TileContent.d.ts +2 -0
  509. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js +1 -1
  510. package/mobile/lib/ui-kit/Button/getRegularButtonClasses.js.map +1 -1
  511. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  512. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  513. package/mobile/lib/ui-kit/RichText/RichText.js +3 -2
  514. package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -1
  515. package/mobile/lib/ui-kit/RichText/RichTextProps.d.ts +2 -2
  516. package/mobile/lib/ui-kit/Select/Select.d.ts +2 -0
  517. package/mobile/lib/ui-kit/Select/Select.js +5 -3
  518. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  519. package/mobile/src/common.css +24 -5
  520. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
  521. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +3 -3
  522. package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +52 -102
  523. package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +38 -109
  524. package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +75 -64
  525. package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +44 -31
  526. package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +43 -93
  527. package/mobile/src/components/ApplicationForm/InputControl.tsx +35 -0
  528. package/mobile/src/components/ApplicationForm/SelectControl.tsx +54 -0
  529. package/mobile/src/components/ApplicationForm/models.ts +6 -0
  530. package/mobile/src/components/ApplicationForm/normalizeSelected.ts +4 -0
  531. package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +60 -0
  532. package/{src/components/ApplicationForm/renderSelects.tsx → mobile/src/components/ApplicationForm/renderAcquiringRegion.tsx} +22 -6
  533. package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +60 -0
  534. package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +76 -0
  535. package/mobile/src/components/ApplicationForm/renderRegion.tsx +36 -0
  536. package/{src/components/ApplicationForm/renderBankOffices.tsx → mobile/src/components/ApplicationForm/renderRegionDepartment.tsx} +16 -7
  537. package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +68 -0
  538. package/mobile/src/components/ApplicationForm/useForm.ts +65 -0
  539. package/mobile/src/components/ApplicationForm/validate.ts +22 -0
  540. package/mobile/src/components/Bonus/Bonus.tsx +12 -7
  541. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  542. package/mobile/src/components/Carousel/Carousel.tsx +6 -2
  543. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  544. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
  545. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +5 -10
  546. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  547. package/mobile/src/components/ExchangeRateOffice/Currencies.ts +8 -0
  548. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +32 -0
  549. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +60 -0
  550. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.ui.json +1 -0
  551. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +36 -0
  552. package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +73 -0
  553. package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +11 -0
  554. package/mobile/src/components/Footer/FooterContent.ts +1 -1
  555. package/mobile/src/components/Headline/Headline.tsx +1 -5
  556. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  557. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  558. package/mobile/src/components/ProductTile/ProductTile.tsx +11 -6
  559. package/mobile/src/components/ProductTile/ProductTileContent.ts +1 -1
  560. package/mobile/src/components/ProductTile/renderImage.tsx +3 -2
  561. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
  562. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +82 -0
  563. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
  564. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
  565. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +2 -2
  566. package/mobile/src/components/Tile/Tile.example.json +2 -1
  567. package/mobile/src/components/Tile/Tile.tsx +26 -17
  568. package/mobile/src/components/Tile/TileContent.ts +2 -0
  569. package/mobile/src/ui-kit/Button/getRegularButtonClasses.ts +1 -1
  570. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  571. package/mobile/src/ui-kit/RichText/RichText.tsx +5 -2
  572. package/mobile/src/ui-kit/RichText/RichTextProps.ts +2 -2
  573. package/mobile/src/ui-kit/Select/Select.tsx +19 -4
  574. package/package.json +2 -2
  575. package/src/common.css +24 -5
  576. package/src/components/ApplicationForm/ApplicationForm.example.json +2 -1
  577. package/src/components/ApplicationForm/ApplicationForm.tsx +3 -3
  578. package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +52 -102
  579. package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +38 -109
  580. package/src/components/ApplicationForm/ApplicationFormCredit.tsx +75 -64
  581. package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +44 -31
  582. package/src/components/ApplicationForm/ApplicationFormWed.tsx +43 -93
  583. package/src/components/ApplicationForm/InputControl.tsx +35 -0
  584. package/src/components/ApplicationForm/SelectControl.tsx +54 -0
  585. package/src/components/ApplicationForm/models.ts +6 -0
  586. package/src/components/ApplicationForm/normalizeSelected.ts +4 -0
  587. package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +60 -0
  588. package/{mobile/src/components/ApplicationForm/renderSelects.tsx → src/components/ApplicationForm/renderAcquiringRegion.tsx} +22 -6
  589. package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +60 -0
  590. package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +76 -0
  591. package/src/components/ApplicationForm/renderRegion.tsx +36 -0
  592. package/{mobile/src/components/ApplicationForm/renderBankOffices.tsx → src/components/ApplicationForm/renderRegionDepartment.tsx} +16 -7
  593. package/src/components/ApplicationForm/renderWedDataOrganization.tsx +68 -0
  594. package/src/components/ApplicationForm/useForm.ts +65 -0
  595. package/src/components/ApplicationForm/validate.ts +22 -0
  596. package/src/components/Blocks.ts +4 -0
  597. package/src/components/Bonus/Bonus.tsx +12 -7
  598. package/src/components/Carousel/Carousel.example.json +2 -1
  599. package/src/components/Carousel/Carousel.fixture.tsx +2 -1
  600. package/src/components/Carousel/Carousel.tsx +6 -2
  601. package/src/components/Carousel/CarouselContent.ts +2 -0
  602. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +4 -2
  603. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +5 -10
  604. package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +4 -2
  605. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
  606. package/src/components/ExchangeRateOffice/Currencies.ts +8 -0
  607. package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +32 -0
  608. package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +78 -0
  609. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +60 -0
  610. package/src/components/ExchangeRateOffice/ExchangeRateOffice.ui.json +1 -0
  611. package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +36 -0
  612. package/src/components/ExchangeRateOffice/renderCurrencies.tsx +73 -0
  613. package/src/components/ExchangeRateOffice/renderTableHeader.tsx +11 -0
  614. package/src/components/Footer/FooterContent.ts +1 -1
  615. package/src/components/Headline/Headline.tsx +1 -5
  616. package/src/components/ProductBlock/ProductBlock.fixture.tsx +14 -22
  617. package/src/components/ProductBlock/ProductBlock.tsx +5 -6
  618. package/src/components/ProductBlock/ProductBlockContent.ts +0 -2
  619. package/src/components/ProductBlock/ProductBlockInner.tsx +21 -25
  620. package/src/components/ProductBlock/renderBackwardButton.tsx +1 -1
  621. package/src/components/ProductTile/ProductTile.fixture.tsx +6 -2
  622. package/src/components/ProductTile/ProductTile.tsx +11 -6
  623. package/src/components/ProductTile/ProductTileContent.ts +1 -1
  624. package/src/components/ProductTile/renderImage.tsx +3 -2
  625. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +10 -0
  626. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +37 -0
  627. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +82 -0
  628. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +20 -0
  629. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +22 -0
  630. package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +22 -0
  631. package/src/components/RichTextBlock/RichTextBlock.tsx +2 -2
  632. package/src/components/TariffsTable/EmbeddableCellData.tsx +1 -4
  633. package/src/components/Tile/Tile.example.json +2 -1
  634. package/src/components/Tile/Tile.fixture.tsx +5 -0
  635. package/src/components/Tile/Tile.tsx +26 -17
  636. package/src/components/Tile/TileContent.ts +2 -0
  637. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +14 -0
  638. package/src/ui-kit/Button/getRegularButtonClasses.ts +1 -1
  639. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  640. package/src/ui-kit/RichText/RichText.tsx +5 -2
  641. package/src/ui-kit/RichText/RichTextProps.ts +2 -2
  642. package/src/ui-kit/Select/Select.tsx +19 -4
  643. package/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  644. package/bundle/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  645. package/bundle/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  646. package/dist/components/ApplicationForm/WrapperSelect.js +0 -13
  647. package/dist/components/ApplicationForm/WrapperSelect.js.map +0 -1
  648. package/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  649. package/dist/components/ApplicationForm/normalizeSelectedRegion.js +0 -5
  650. package/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  651. package/dist/components/ApplicationForm/renderBankOffices.js +0 -7
  652. package/dist/components/ApplicationForm/renderBankOffices.js.map +0 -1
  653. package/dist/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  654. package/dist/components/ApplicationForm/renderDataOrganization.js +0 -7
  655. package/dist/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  656. package/dist/components/ApplicationForm/renderSelects.js +0 -8
  657. package/dist/components/ApplicationForm/renderSelects.js.map +0 -1
  658. package/dist/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  659. package/dist/components/ApplicationForm/useFormHandlers.js +0 -11
  660. package/dist/components/ApplicationForm/useFormHandlers.js.map +0 -1
  661. package/lib/components/ApplicationForm/WrapperSelect.js +0 -11
  662. package/lib/components/ApplicationForm/WrapperSelect.js.map +0 -1
  663. package/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  664. package/lib/components/ApplicationForm/normalizeSelectedRegion.js +0 -2
  665. package/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  666. package/lib/components/ApplicationForm/renderBankOffices.js +0 -4
  667. package/lib/components/ApplicationForm/renderBankOffices.js.map +0 -1
  668. package/lib/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  669. package/lib/components/ApplicationForm/renderDataOrganization.js +0 -4
  670. package/lib/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  671. package/lib/components/ApplicationForm/renderSelects.js +0 -5
  672. package/lib/components/ApplicationForm/renderSelects.js.map +0 -1
  673. package/lib/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  674. package/lib/components/ApplicationForm/useFormHandlers.js +0 -8
  675. package/lib/components/ApplicationForm/useFormHandlers.js.map +0 -1
  676. package/mobile/bundle/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  677. package/mobile/bundle/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  678. package/mobile/bundle/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  679. package/mobile/dist/components/ApplicationForm/WrapperSelect.d.ts +0 -11
  680. package/mobile/dist/components/ApplicationForm/WrapperSelect.js +0 -13
  681. package/mobile/dist/components/ApplicationForm/WrapperSelect.js.map +0 -1
  682. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  683. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js +0 -5
  684. package/mobile/dist/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  685. package/mobile/dist/components/ApplicationForm/renderBankOffices.d.ts +0 -13
  686. package/mobile/dist/components/ApplicationForm/renderBankOffices.js +0 -7
  687. package/mobile/dist/components/ApplicationForm/renderBankOffices.js.map +0 -1
  688. package/mobile/dist/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  689. package/mobile/dist/components/ApplicationForm/renderDataOrganization.js +0 -7
  690. package/mobile/dist/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  691. package/mobile/dist/components/ApplicationForm/renderSelects.d.ts +0 -11
  692. package/mobile/dist/components/ApplicationForm/renderSelects.js +0 -8
  693. package/mobile/dist/components/ApplicationForm/renderSelects.js.map +0 -1
  694. package/mobile/dist/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  695. package/mobile/dist/components/ApplicationForm/useFormHandlers.js +0 -11
  696. package/mobile/dist/components/ApplicationForm/useFormHandlers.js.map +0 -1
  697. package/mobile/lib/components/ApplicationForm/WrapperSelect.d.ts +0 -11
  698. package/mobile/lib/components/ApplicationForm/WrapperSelect.js +0 -11
  699. package/mobile/lib/components/ApplicationForm/WrapperSelect.js.map +0 -1
  700. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.d.ts +0 -2
  701. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js +0 -2
  702. package/mobile/lib/components/ApplicationForm/normalizeSelectedRegion.js.map +0 -1
  703. package/mobile/lib/components/ApplicationForm/renderBankOffices.d.ts +0 -13
  704. package/mobile/lib/components/ApplicationForm/renderBankOffices.js +0 -4
  705. package/mobile/lib/components/ApplicationForm/renderBankOffices.js.map +0 -1
  706. package/mobile/lib/components/ApplicationForm/renderDataOrganization.d.ts +0 -14
  707. package/mobile/lib/components/ApplicationForm/renderDataOrganization.js +0 -4
  708. package/mobile/lib/components/ApplicationForm/renderDataOrganization.js.map +0 -1
  709. package/mobile/lib/components/ApplicationForm/renderSelects.d.ts +0 -11
  710. package/mobile/lib/components/ApplicationForm/renderSelects.js +0 -5
  711. package/mobile/lib/components/ApplicationForm/renderSelects.js.map +0 -1
  712. package/mobile/lib/components/ApplicationForm/useFormHandlers.d.ts +0 -9
  713. package/mobile/lib/components/ApplicationForm/useFormHandlers.js +0 -8
  714. package/mobile/lib/components/ApplicationForm/useFormHandlers.js.map +0 -1
  715. package/mobile/src/components/ApplicationForm/WrapperSelect.tsx +0 -32
  716. package/mobile/src/components/ApplicationForm/normalizeSelectedRegion.ts +0 -4
  717. package/mobile/src/components/ApplicationForm/renderDataOrganization.tsx +0 -78
  718. package/mobile/src/components/ApplicationForm/useFormHandlers.ts +0 -18
  719. package/src/components/ApplicationForm/WrapperSelect.tsx +0 -32
  720. package/src/components/ApplicationForm/normalizeSelectedRegion.ts +0 -4
  721. package/src/components/ApplicationForm/renderDataOrganization.tsx +0 -78
  722. package/src/components/ApplicationForm/useFormHandlers.ts +0 -18
@@ -7,12 +7,11 @@ const Breadcrumb_1 = require("../../ui-kit/Breadcrumb");
7
7
  const joinList_1 = require("../../utils/joinList");
8
8
  const ProductBlockInner_1 = require("./ProductBlockInner");
9
9
  const renderBackwardButton_1 = require("./renderBackwardButton");
10
+ const style_1 = require("../../utils/style");
10
11
  const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
11
12
  exports.ProductBlock = (0, uni_jsx_1.JSX)((props) => {
12
13
  const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
13
14
  const buttonVersion = version === 'primary' ? version : 'white';
14
- return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${className}`, version: version, ...rest, children: [backwardButton?.text
15
- ? (0, renderBackwardButton_1.renderBackwardButton)(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
16
- : null, breadcrumbs?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "text-xs-light mb-6", children: (0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("span", { className: `mx-2 ${breadcrumbStyle}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => ((0, jsx_runtime_1.jsx)(Breadcrumb_1.Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { version: version, ...rest })] }));
15
+ return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden p-12 flex flex-col box-border min-h-[454px]', className), version: version, ...rest, children: [backwardButton?.text ? (0, renderBackwardButton_1.renderBackwardButton)(backwardButton, buttonVersion) : null, breadcrumbs?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "text-xs-light mb-6", children: (0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("span", { className: (0, style_1.style)('mx-2', breadcrumbStyle), children: "/" }))(breadcrumbs.map((breadcrumb, i) => ((0, jsx_runtime_1.jsx)(Breadcrumb_1.Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "mt-10", version: version, ...rest })] }));
17
16
  });
18
17
  //# sourceMappingURL=ProductBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components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"}
@@ -1,5 +1,4 @@
1
1
  import type { BulletsProps } from '../../model/Bullets';
2
- import type { Footnote } from '../../model/Footnote';
3
2
  import type { HeadlineProps } from '../../model/HeadlineType';
4
3
  import type { IconVersion } from '../../model/IconVersion';
5
4
  import type { UniBlockContent } from '../../model/JSXBlock';
@@ -9,7 +8,7 @@ import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/But
9
8
  import type { ImageContent } from '../../ui-kit/Img/ImgProps';
10
9
  import type { ListContent } from '../../ui-kit/List/ListContent';
11
10
  import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
12
- export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & Footnote & ImageContent & BulletsProps & {
11
+ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & ImageContent & BulletsProps & {
13
12
  /**
14
13
  * @title Количество преимуществ в строке
15
14
  * @enumNames ["2", "3"]
@@ -10,10 +10,10 @@ const style_1 = require("../../utils/style");
10
10
  const BaseTile_1 = require("../BaseTile/BaseTile");
11
11
  const Headline_1 = require("../Headline/Headline");
12
12
  const renderBenefit_1 = require("./renderBenefit");
13
- exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', directionRight = true, }) => {
13
+ exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, image, __html, items, version = 'primary', isDotted = true, textBlockClassName = '', directionRight = true, }) => {
14
14
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
15
15
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
16
- return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex grow justify-between items-stretch h-full', className), children: [image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `mt-[-50px] ${directionRight ? 'order-2' : ''}`, image: image })) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', textBlockClassName), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col justify-between h-full", children: [(0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [benefitsCount ? ((0, jsx_runtime_1.jsx)("div", { className: benefitsContainerStyles, children: benefits?.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, __html ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? (0, jsx_runtime_1.jsx)("p", { className: "text-m-light pt-12", children: footnote }) : null] })] })] }));
16
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex grow justify-between items-stretch h-full', className), children: [image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: (0, style_1.style)('mt-[-50px]', directionRight ? 'order-2' : ''), image: image })) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', textBlockClassName), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [benefitsCount ? ((0, jsx_runtime_1.jsx)("div", { className: benefitsContainerStyles, children: benefits?.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, __html ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, items?.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] })] })] }));
17
17
  });
18
18
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
19
19
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -1 +1 @@
1
- {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,6CAA0C;AAC1C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,kBAAkB,GAAG,CAAC,EACtB,QAAQ,EACR,eAAe,EACf,OAAO,EACP,QAAQ,EACR,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,EAAE,EACvB,cAAc,GAAG,IAAI,GACtB,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/D,MAAM,uBAAuB,GAAG,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAE/E,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,gDAAgD,EAAE,SAAS,CAAC,aAC/E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,SAAS,EAAE,cAAc,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wCAAwC;IAC1C,CAAC,CAAC,mCACN,EAAE,CAAC"}
1
+ {"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,6CAA0C;AAC1C,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,kBAAkB,GAAG,CAAC,EACtB,QAAQ,EACR,eAAe,EACf,OAAO,EACP,KAAK,EACL,MAAM,EACN,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,EAAE,EACvB,cAAc,GAAG,IAAI,GACtB,EAAE,EAAE;IACH,MAAM,aAAa,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/D,MAAM,uBAAuB,GAAG,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAE/E,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,gDAAgD,EAAE,SAAS,CAAC,aAC/E,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,GAAI,CACvF,CAAC,CAAC,CAAC,IAAI,EACR,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,kBAAkB,CAAC,aACxD,uBAAC,mBAAQ,IACP,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,GACjB,EACF,wBAAC,mBAAQ,IAAC,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,aAC7C,aAAa,CAAC,CAAC,CAAC,CACf,gCAAK,SAAS,EAAE,uBAAuB,YACpC,QAAQ,EAAE,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GACnD,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACxB,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,cAAc,EACxB,KAAK,EAAE,KAAK,EACZ,aAAa,EAAC,UAAU,EACxB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,IACC,IACP,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,kBAAkB,GAAG,CAAC,EAAE,EAAE,CAC5D,cACE,kBAAkB,GAAG,CAAC;IACpB,CAAC,CAAC,wCAAwC;IAC1C,CAAC,CAAC,mCACN,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { ButtonVersion } from '../../model/ButtonVersion';
3
3
  import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
4
- export declare function renderBackwardButton(button: BackwardButtonProps, version: ButtonVersion, className: string): JSX.Element;
4
+ export declare function renderBackwardButton(button: BackwardButtonProps, version: ButtonVersion, className?: string): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,8CAA2C;AAC3C,6CAA0C;AAE1C,SAAgB,oBAAoB,CAClC,MAA2B,EAC3B,OAAsB,EACtB,SAAiB;IAEjB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACtC,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,MAAM,YAAY,GAAG,MAAM,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IAE/D,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,mBAAmB,EAAE,SAAS,CAAC,aACnD,uBAAC,eAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,uBAAC,SAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,IAAI,WAAW,EAAE,EAChF,KAAK,SACL,GACK,EACR,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,eAAM,IAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,GAAI,CACnF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC;AA9BD,oDA8BC"}
1
+ {"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,8CAA2C;AAC3C,6CAA0C;AAE1C,SAAgB,oBAAoB,CAClC,MAA2B,EAC3B,OAAsB,EACtB,SAAkB;IAElB,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;IACtC,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,MAAM,YAAY,GAAG,MAAM,EAAE,IAAI,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;IAE/D,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,mBAAmB,EAAE,SAAS,CAAC,aACnD,uBAAC,eAAM,IACL,OAAO,EAAE,OAAO,EAChB,OAAO,QACP,SAAS,EAAC,mEAAmE,EAC7E,SAAS,EAAE,IAAI,EACf,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEd,uBAAC,SAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,YAAY,EAAE,WAAW,EAAE,YAAY,CAAC,WAAW,IAAI,WAAW,EAAE,EAChF,KAAK,SACL,GACK,EACR,IAAI,CAAC,CAAC,CAAC,CACN,uBAAC,eAAM,IAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,GAAI,CACnF,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC;AA9BD,oDA8BC"}
@@ -10,13 +10,15 @@ const Headline_1 = require("../Headline/Headline");
10
10
  const renderAdditionalDescription_1 = require("./renderAdditionalDescription");
11
11
  const renderBenefit_1 = require("./renderBenefit");
12
12
  const renderImage_1 = require("./renderImage");
13
- exports.ProductTile = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden p-9 box-border relative min-h-[364px]', (0, getTileRightPadding_1.getTileRightPadding)(className), className), ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: (0, style_1.style)('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), (0, renderAdditionalDescription_1.renderAdditionalDescription)(additionalDescription, image), (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'mt-5 z-10 text-l' })] }), (0, renderImage_1.renderImage)(image, isImageOnRightSide)] })));
13
+ exports.ProductTile = (0, uni_jsx_1.JSX)(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, directionRight = true, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden p-9 box-border relative min-h-[364px] flex flex-col justify-between', (0, getTileRightPadding_1.getTileRightPadding)(className), className), ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col', directionRight ? '' : 'items-end'), children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: (0, style_1.style)('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), (0, renderAdditionalDescription_1.renderAdditionalDescription)(additionalDescription, image)] }), (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
14
+ className: (0, style_1.style)('mt-5 text-l', directionRight ? '' : 'justify-end'),
15
+ }), (0, renderImage_1.renderImage)(image, directionRight)] })));
14
16
  function renderBenefits(benefits, image) {
15
17
  if (!benefits.length) {
16
18
  return null;
17
19
  }
18
20
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
19
21
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
20
- return ((0, jsx_runtime_1.jsx)("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit_1.renderBenefit) : null }));
22
+ return ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline', benefitsWidth), children: benefits.length ? benefits.map(renderBenefit_1.renderBenefit) : null }));
21
23
  }
22
24
  //# sourceMappingURL=ProductTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAC1C,yEAAsE;AACtE,mDAAgD;AAEhD,+EAA4E;AAC5E,mDAAgD;AAChD,+CAA4C;AAI/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,kBAAkB,GAAG,IAAI,EACzB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,uDAAuD,EACvD,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAC9B,SAAS,CACV,KACG,IAAI,aAER,iCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,eAAe,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CAAC,aAC3E,uBAAC,mBAAQ,IACP,SAAS,EAAE,IAAA,aAAK,EAAC,2BAA2B,EAAE,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,EACnF,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,EAAE,EAAC,IAAI,EACP,KAAK,EAAC,WAAW,GACjB,EACD,cAAc,CAAC,QAAQ,EAAE,KAAK,CAAC,EAC/B,IAAA,yDAA2B,EAAC,qBAAqB,EAAE,KAAK,CAAC,EACzD,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,IAC7D,EACL,IAAA,yBAAW,EAAC,KAAK,EAAE,kBAAkB,CAAC,IAC1B,CAChB,CACF,CAAC;AAEF,SAAS,cAAc,CAAC,QAAmB,EAAE,KAAe;IAC1D,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;QACpB,OAAO,IAAI,CAAC;KACb;IAED,wGAAwG;IACxG,MAAM,aAAa,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvE,OAAO,CACL,gCACE,SAAS,EAAE,yFAAyF,aAAa,EAAE,YAElH,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,6BAAa,CAAC,CAAC,CAAC,CAAC,IAAI,GACjD,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAC1C,yEAAsE;AACtE,mDAAgD;AAEhD,+EAA4E;AAC5E,mDAAgD;AAChD,+CAA4C;AAI/B,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,cAAc,GAAG,IAAI,EACrB,GAAG,IAAI,EAC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AG,CAAC,6BAAa,CAAC,CAAC,CAAC,CAAC,IAAI,GACjD,CACP,CAAC;AACJ,CAAC"}
@@ -25,6 +25,6 @@ export declare type ProductTileContent = UniBlockContent & HeadlineProps & Addit
25
25
  */
26
26
  benefits?: Benefit[];
27
27
  /** @title Картинка справа/текст слева */
28
- isImageOnRightSide?: boolean;
28
+ directionRight?: boolean;
29
29
  };
30
30
  export {};
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
2
  import type { Picture } from '../../model/Picture';
3
- export declare function renderImage(image?: Picture, isImageOnRightSide?: boolean): JSX.Element | null;
3
+ export declare function renderImage(image?: Picture, directionRight?: boolean): JSX.Element | null;
@@ -2,11 +2,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.renderImage = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const Img_1 = require("../../ui-kit/Img/Img");
5
- function renderImage(image, isImageOnRightSide) {
5
+ const style_1 = require("../../utils/style");
6
+ function renderImage(image, directionRight) {
6
7
  if (!image?.src) {
7
8
  return null;
8
9
  }
9
- return ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: `absolute ${isImageOnRightSide ? 'right-0' : 'left-0'} bottom-0`, image: image }));
10
+ return ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: (0, style_1.style)('absolute', directionRight ? 'right-0' : 'left-0', 'bottom-0'), image: image }));
10
11
  }
11
12
  exports.renderImage = renderImage;
12
13
  //# sourceMappingURL=renderImage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderImage.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderImage.tsx"],"names":[],"mappings":";;;AACA,8CAA2C;AAE3C,SAAgB,WAAW,CAAC,KAAe,EAAE,kBAA4B;IACvE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;QACf,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,uBAAC,SAAG,IACF,SAAS,EAAE,YAAY,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,WAAW,EAC3E,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC;AAXD,kCAWC"}
1
+ {"version":3,"file":"renderImage.js","sourceRoot":"","sources":["../../../src/components/ProductTile/renderImage.tsx"],"names":[],"mappings":";;;AACA,8CAA2C;AAC3C,6CAA0C;AAE1C,SAAgB,WAAW,CAAC,KAAe,EAAE,cAAwB;IACnE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;QACf,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,uBAAC,SAAG,IACF,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,UAAU,CAAC,EAC/E,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC;AAXD,kCAWC"}
@@ -0,0 +1,5 @@
1
+ import type { RepresentativeOfficeInfoContent } from './RepresentativeOfficeInfoContent';
2
+ import type { UniBlockProps } from '../../model/JSXBlock';
3
+ export interface RepresentativeOfficeInfoProps extends RepresentativeOfficeInfoContent, UniBlockProps {
4
+ }
5
+ export declare const RepresentativeOfficeInfo: import("@redneckz/uni-jsx").UNIComponent<RepresentativeOfficeInfoProps, any, any>;
@@ -0,0 +1,22 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.RepresentativeOfficeInfo = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
+ const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
7
+ const Heading_1 = require("../../ui-kit/Heading/Heading");
8
+ const Icon_1 = require("../../ui-kit/Icon/Icon");
9
+ const Img_1 = require("../../ui-kit/Img/Img");
10
+ const RichText_1 = require("../../ui-kit/RichText/RichText");
11
+ const Text_1 = require("../../ui-kit/Text/Text");
12
+ const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
13
+ const style_1 = require("../../utils/style");
14
+ exports.RepresentativeOfficeInfo = (0, uni_jsx_1.JSX)(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('box-border text-left p-9', className), version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-full flex justify-between", children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
15
+ ? (0, renderButtonsSection_1.renderButtonsSection)([button], {
16
+ className: 'mb-6',
17
+ })
18
+ : null] })] })));
19
+ const renderIconBlock = (icon) => ((0, jsx_runtime_1.jsxs)("div", { className: "self-end", children: [icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(icon), asSVG: true }) : null] }));
20
+ const renderDescriptionBlock = (__html) => ((0, jsx_runtime_1.jsx)("div", { className: "border-b border-main-divider pb-5 my-5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) }));
21
+ const renderBlock = (blockName, data, iconName) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex mb-4", children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24", asSVG: true }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col first:pb-1", children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m-light", children: blockName }), data ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
22
+ //# sourceMappingURL=RepresentativeOfficeInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RepresentativeOfficeInfo.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAKxC,4DAAyD;AACzD,uEAAoE;AACpE,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAC3C,6DAA0D;AAC1D,iDAA8C;AAC9C,mFAAgF;AAChF,6CAA0C;AAM7B,QAAA,wBAAwB,GAAG,IAAA,aAAG,EACzC,CAAC,EACC,OAAO,EACP,KAAK,EACL,SAAS,EACT,MAAM,EACN,SAAS,GAAG,EAAE,EACd,MAAM,EACN,IAAI,EACJ,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,0BAA0B,EAAE,SAAS,CAAC,EACvD,OAAO,EAAE,OAAO,KACZ,IAAI,aAER,iCAAK,SAAS,EAAC,6BAA6B,aACzC,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAClF,eAAe,CAAC,IAAI,CAAC,IAClB,EACN,iCAAK,SAAS,EAAC,QAAQ,aACpB,MAAM,CAAC,CAAC,CAAC,sBAAsB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAC9C,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,iBAAiB,CAAC,EAChD,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,CAAC,EAC9C,WAAW,CAAC,QAAQ,EAAE,KAAK,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J,IACF,CACP,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
2
+ import type { IconProps } from '../../model/Picture';
3
+ import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
4
+ import type { TitleProps } from '../../model/HeadlineType';
5
+ import type { UniBlockContent } from '../../model/JSXBlock';
6
+ /**
7
+ * @title Блок с информацией о представительстве
8
+ */
9
+ export declare type RepresentativeOfficeInfoContent = UniBlockContent & TitleProps & RichTextProps & IconProps & {
10
+ /** @title Адрес */
11
+ address?: string;
12
+ /** @title Телефон (факс) */
13
+ telephone?: string;
14
+ /** @title E-mail */
15
+ email?: string;
16
+ /** @title Кнопка */
17
+ button?: ButtonWithIconProps;
18
+ };
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=RepresentativeOfficeInfoContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RepresentativeOfficeInfoContent.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts"],"names":[],"mappings":""}
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
6
6
  const RichText_1 = require("../../ui-kit/RichText/RichText");
7
7
  exports.RichTextBlock = (0, uni_jsx_1.JSX)((props) => {
8
- const { __html, ...rest } = props;
9
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { ...rest, children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) }));
8
+ const { __html, richVersion, ...rest } = props;
9
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { ...rest, children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html, richVersion: richVersion }) }));
10
10
  });
11
11
  //# sourceMappingURL=RichTextBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextBlock.js","sourceRoot":"","sources":["../../../src/components/RichTextBlock/RichTextBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6DAA0D;AAK7C,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAElC,OAAO,CACL,uBAAC,2BAAY,OAAK,IAAI,YACpB,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACf,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"RichTextBlock.js","sourceRoot":"","sources":["../../../src/components/RichTextBlock/RichTextBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6DAA0D;AAK7C,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,KAAK,EAAE,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE/C,OAAO,CACL,uBAAC,2BAAY,OAAK,IAAI,YACpB,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,GAAI,GACzC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -6,9 +6,7 @@ const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection
6
6
  const Img_1 = require("../../ui-kit/Img/Img");
7
7
  const InnerTableButton_1 = require("../../ui-kit/InnerTable/InnerTableButton");
8
8
  const List_1 = require("../../ui-kit/List/List");
9
- const renderButtonsCellData = ({ buttons }) => (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
10
- buttonClassName: 'w-12 h-12',
11
- });
9
+ const renderButtonsCellData = ({ buttons }) => (0, renderButtonsSection_1.renderButtonsSection)(buttons);
12
10
  const renderLabelDescriptionCellData = ({ label, description }) => {
13
11
  const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
14
12
  return ((0, jsx_runtime_1.jsxs)("div", { children: [label ? (0, jsx_runtime_1.jsx)("div", { className: labelClassName, children: label }) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-l-light", children: description }) : null] }));
@@ -1 +1 @@
1
- {"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAE3C,+EAGkD;AAElD,iDAA8C;AAgB9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAC3D,IAAA,2CAAoB,EAAC,OAAO,EAAE;IAC5B,eAAe,EAAE,WAAW;CAC7B,CAAC,CAAC;AAEL,MAAM,8BAA8B,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAwB,EAAE,EAAE;IACtF,MAAM,cAAc,GAAG,eAAe,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAElE,OAAO,CACL,4CACG,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,cAAc,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAC5D,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IACvF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAgB,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAEnG,MAAM,kBAAkB,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE,CAAC,CAC/D,uBAAC,WAAI,IACH,SAAS,EAAC,mDAAmD,EAC7D,QAAQ,EAAE,QAAQ,IAAI,IAAI,KACtB,IAAI,GACR,CACH,CAAC;AAEF,MAAM,mBAAmB,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CACvD,SAAS,CAAC,CAAC,CAAC,CACV,uBAAC,mCAAgB,IACf,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;QACZ,YAAY,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC,CAAC,GACD,CACH,CAAC,CAAC,CAAC,IAAI,CACX,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,qBAAqB;IAC9B,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,gBAAgB,EAAE,8BAA8B;IAChD,KAAK,EAAE,mBAAmB;CAC3B,CAAC"}
1
+ {"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAE3C,+EAGkD;AAElD,iDAA8C;AAgB9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAAC,IAAA,2CAAoB,EAAC,OAAO,CAAC,CAAC;AAE5F,MAAM,8BAA8B,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAwB,EAAE,EAAE;IACtF,MAAM,cAAc,GAAG,eAAe,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAElE,OAAO,CACL,4CACG,KAAK,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAE,cAAc,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EAC5D,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,kCAAkC,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,IACvF,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,EAAE,KAAK,EAAgB,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAEnG,MAAM,kBAAkB,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAa,EAAE,EAAE,CAAC,CAC/D,uBAAC,WAAI,IACH,SAAS,EAAC,mDAAmD,EAC7D,QAAQ,EAAE,QAAQ,IAAI,IAAI,KACtB,IAAI,GACR,CACH,CAAC;AAEF,MAAM,mBAAmB,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CACvD,SAAS,CAAC,CAAC,CAAC,CACV,uBAAC,mCAAgB,IACf,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,GAAG,EAAE;QACZ,YAAY,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,CAAC;IACpC,CAAC,GACD,CACH,CAAC,CAAC,CAAC,IAAI,CACX,CAAC;AAEW,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,qBAAqB;IAC9B,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,gBAAgB,EAAE,8BAA8B;IAChD,KAAK,EAAE,mBAAmB;CAC3B,CAAC"}
@@ -12,8 +12,9 @@ const Tags_1 = require("../../ui-kit/Tags/Tags");
12
12
  const BaseTile_1 = require("../BaseTile/BaseTile");
13
13
  const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
14
14
  const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
15
- exports.Tile = (0, uni_jsx_1.JSX)(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `overflow-hidden p-9 pr-3 box-border ${(0, getTileRightPadding_1.getTileRightPadding)(className)} ${(0, getTileMinHeight_1.getTileMinHeight)(className)} ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
16
- className: 'mt-8',
17
- buttonClassName: 'min-w-[158px]',
18
- }), image: image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-auto ml-7", image: image }) : null, children: [__html ? ((0, jsx_runtime_1.jsx)("div", { className: "max-w-[600px] mt-2.5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, children, (0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? (0, jsx_runtime_1.jsx)(Tags_1.Tags, { tags: tags, className: "mt-5" }) : null] }) })));
15
+ const style_1 = require("../../utils/style");
16
+ exports.Tile = (0, uni_jsx_1.JSX)(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, directionRight = true, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex grow justify-between items-stretch h-full p-9 pr-3 box-border', (0, getTileRightPadding_1.getTileRightPadding)(className), (0, getTileMinHeight_1.getTileMinHeight)(className), className), ...rest, children: [image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: (0, style_1.style)('mt-auto ml-7', directionRight ? 'order-2' : ''), image: image })) : null, (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
17
+ className: 'mt-8',
18
+ buttonClassName: 'min-w-[158px]',
19
+ }), children: (0, jsx_runtime_1.jsxs)("div", { children: [__html ? ((0, jsx_runtime_1.jsx)("div", { className: "max-w-[600px] mt-2.5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, children, (0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? (0, jsx_runtime_1.jsx)(Tags_1.Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
19
20
  //# sourceMappingURL=Tile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,iDAA8C;AAC9C,mDAAgD;AAChD,mEAAgE;AAChE,yEAAsE;AAKzD,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EACC,KAAK,EACL,WAAW,GAAG,IAAI,EAClB,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,YAAY,GAAG,GAAG,EAClB,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IACX,SAAS,EAAE,uCAAuC,IAAA,yCAAmB,EACnE,SAAS,CACV,IAAI,IAAA,mCAAgB,EAAC,SAAS,CAAC,IAAI,SAAS,EAAE,KAC3C,IAAI,YAER,wBAAC,mBAAQ,IACP,KAAK,EACH,KAAK,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EAAE,YAAY,GAC1B,EACD,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,IACxD,GACG,IACE,CAChB,CACF,CAAC"}
@@ -12,4 +12,6 @@ import type { TagsContent } from '../../ui-kit/Tags/TagsContent';
12
12
  */
13
13
  export declare type TileContent = UniBlockContent & HeadingCommonProps & RichTextProps & ListContent & ButtonContent & TagsContent & ImageContent & BulletsProps & {
14
14
  listItemSize?: ListItemSize;
15
+ /** @title Картинка справа/текст слева */
16
+ directionRight?: boolean;
15
17
  };
@@ -3,7 +3,7 @@ exports.getRegularButtonClasses = void 0;
3
3
  const buttonClassNameConstants_1 = require("./buttonClassNameConstants");
4
4
  const getRegularButtonClasses = ({ className, rounded, version, }) => [
5
5
  buttonClassNameConstants_1.buttonStyle,
6
- 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border',
6
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
7
7
  version ? buttonClassNameConstants_1.buttonStyleMap[version] : '',
8
8
  rounded ? 'rounded-full' : 'rounded-md',
9
9
  className,
@@ -1 +1 @@
1
- {"version":3,"file":"getRegularButtonClasses.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/getRegularButtonClasses.ts"],"names":[],"mappings":";;AAAA,yEAAyE;AAGlE,MAAM,uBAAuB,GAAG,CAAC,EACtC,SAAS,EACT,OAAO,EACP,OAAO,GACc,EAAU,EAAE,CACjC;IACE,sCAAW;IACX,2GAA2G;IAC3G,OAAO,CAAC,CAAC,CAAC,yCAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;IACtC,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY;IACvC,SAAS;CACV,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAXD,QAAA,uBAAuB,2BAWtB"}
1
+ {"version":3,"file":"getRegularButtonClasses.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/getRegularButtonClasses.ts"],"names":[],"mappings":";;AAAA,yEAAyE;AAGlE,MAAM,uBAAuB,GAAG,CAAC,EACtC,SAAS,EACT,OAAO,EACP,OAAO,GACc,EAAU,EAAE,CACjC;IACE,sCAAW;IACX,iHAAiH;IACjH,OAAO,CAAC,CAAC,CAAC,yCAAc,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE;IACtC,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY;IACvC,SAAS;CACV,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAXD,QAAA,uBAAuB,2BAWtB"}
@@ -4,12 +4,12 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const style_1 = require("../../utils/style");
5
5
  const Img_1 = require("../Img/Img");
6
6
  const Button_1 = require("./Button");
7
- const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text) ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
7
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
8
8
  exports.renderButtonsSection = renderButtonsSection;
9
9
  const renderButton = (buttonClassName = '') => (button, index) => {
10
10
  const { text, icon, iconRight, version, ...rest } = button || {};
11
11
  const iconVersion = version === 'secondary' ? 'color' : 'white';
12
- return text ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
12
+ return text || icon?.icon ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
13
13
  };
14
14
  const DEFAULT_ICON_W = 24;
15
15
  const renderButtonIcon = (icon) => icon?.icon || icon?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
@@ -1 +1 @@
1
- {"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";;;AACA,6CAA0C;AAC1C,oCAAiC;AACjC,qCAAkC;AAS3B,MAAM,oBAAoB,GAAG,CAClC,OAA6C,EAC7C,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EAC3E,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAChD,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,YAC9E,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AARE,QAAA,oBAAoB,wBAQtB;AAEX,MAAM,YAAY,GAChB,CAAC,eAAe,GAAG,EAAE,EAAE,EAAE,CACzB,CAAC,MAA4B,EAAE,KAAc,EAAE,EAAE;IAC/C,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GA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zC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,uBAAC,SAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,EAC9B,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
@@ -2,8 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.RichText = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const style_1 = require("../../utils/style");
5
6
  exports.RichText = (0, uni_jsx_1.JSX)((props) => {
6
- const { __html = '' } = props;
7
- return (0, jsx_runtime_1.jsx)("div", { className: "md-container", dangerouslySetInnerHTML: { __html } });
7
+ const { __html = '', richVersion = '' } = props;
8
+ return ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }));
8
9
  });
9
10
  //# sourceMappingURL=RichText.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichText.js","sourceRoot":"","sources":["../../../src/ui-kit/RichText/RichText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,KAAK,EAAE,EAAE;IACnD,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAE9B,OAAO,gCAAK,SAAS,EAAC,cAAc,EAAC,uBAAuB,EAAE,EAAE,MAAM,EAAE,GAAI,CAAC;AAC/E,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"RichText.js","sourceRoot":"","sources":["../../../src/ui-kit/RichText/RichText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6CAA0C;AAG7B,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,KAAK,EAAE,EAAE;IACnD,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAEhD,OAAO,CACL,gCAAK,SAAS,EAAE,IAAA,aAAK,EAAC,WAAW,EAAE,cAAc,CAAC,EAAE,uBAAuB,EAAE,EAAE,MAAM,EAAE,GAAI,CAC5F,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -4,8 +4,8 @@ export interface RichTextProps {
4
4
  __html?: HTML;
5
5
  /**
6
6
  * @title Стиль форматированного текста
7
- * @enumNames ["по умолчанию", "в полоску"]
7
+ * @enumNames ["по умолчанию", "Строки разного цвета", "Горизонтальные разделители"]
8
8
  */
9
- richVersion?: '' | 'striped';
9
+ richVersion?: '' | 'striped' | 'horizontal-separator';
10
10
  }
11
11
  export {};
@@ -10,5 +10,7 @@ export declare type SelectProps = LabelProps & {
10
10
  options: OptionProps[];
11
11
  isBorder?: boolean;
12
12
  placeholder?: string;
13
+ valid?: boolean;
14
+ onValidate?: (value: string) => void;
13
15
  };
14
16
  export declare const Select: import("@redneckz/uni-jsx").UNIComponent<SelectProps, any, any>;
@@ -6,7 +6,7 @@ const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
6
6
  const useOutsideClick_1 = require("../../hooks/useOutsideClick");
7
7
  const Text_1 = require("../../ui-kit/Text/Text");
8
8
  const Icon_1 = require("../Icon/Icon");
9
- exports.Select = (0, uni_jsx_1.JSX)(({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '' }) => {
9
+ exports.Select = (0, uni_jsx_1.JSX)(({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '', valid = true, onValidate, }) => {
10
10
  const [selectedItem, setSelectedItem] = (0, hooks_1.useState)(options[0] || { key: '', text: '' });
11
11
  const [isOpen, setIsOpen] = (0, hooks_1.useState)(false);
12
12
  const handleClickOutside = (0, hooks_1.useCallback)(() => setIsOpen(false), []);
@@ -15,13 +15,14 @@ exports.Select = (0, uni_jsx_1.JSX)(({ className = '', isBorder = true, label, o
15
15
  setSelectedItem(option);
16
16
  setIsOpen(false);
17
17
  onChange(option);
18
+ onValidate && onValidate(option.text);
18
19
  };
19
20
  const isSelected = (option) => Boolean(option.key === selectedItem.key);
20
21
  (0, hooks_1.useEffect)(() => {
21
22
  setSelectedItem(value || { key: '', text: '' });
22
23
  }, [value]);
23
24
  return ((0, jsx_runtime_1.jsxs)("div", { className: `${className}`, ref: wrapperRef, children: [label ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-2", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", color: "text-primary-text", font: "font-light", children: label }) })) : null, (0, jsx_runtime_1.jsxs)("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
24
- ${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [(0, jsx_runtime_1.jsx)("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: (0, jsx_runtime_1.jsx)("div", { className: `bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
25
+ ${getBorderStyle(isBorder, valid)}`, onClick: () => setIsOpen(!isOpen), children: [(0, jsx_runtime_1.jsx)("p", { className: "p-4 pr-8 h-14 overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: (0, jsx_runtime_1.jsx)("div", { className: `bg-white text-l max-h-64 overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
25
26
  });
26
27
  const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
27
28
  const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
@@ -29,5 +30,6 @@ const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
29
30
  choiceOption(option);
30
31
  }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [(0, jsx_runtime_1.jsx)("span", { className: "min-h-6", children: option.text }), (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
31
32
  };
32
- const getBorderStyle = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
33
+ const getBorderStyle = (isBorder, valid) => `
34
+ ${isBorder ? 'border rounded-md hover:border-primary-hover' : ''} ${valid ? ' border-gray' : 'border-error'} `;
33
35
  //# sourceMappingURL=Select.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/ui-kit/Select/Select.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAA+E;AAC/E,iEAA8D;AAE9D,iDAA8C;AAC9C,uCAAoC;AAgBvB,QAAA,MAAM,GAAG,IAAA,aAAG,EACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAE,KAAK,EAAE,OAAO,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,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