@redneckz/wildless-cms-uni-blocks 0.14.49 → 0.14.51

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 (281) hide show
  1. package/bin/migration-scripts/0.14.31.js +66 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +47 -58
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
  6. package/bundle/components/Bonus/BonusContent.d.ts +7 -3
  7. package/bundle/components/Calculator/CalculatorContent.d.ts +14 -5
  8. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +9 -5
  9. package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
  10. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +7 -3
  11. package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
  12. package/bundle/model/EmptyOptionType.d.ts +1 -3
  13. package/bundle/model/JSXBlock.d.ts +2 -2
  14. package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
  15. package/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  16. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
  17. package/dist/components/Blocks.js +0 -4
  18. package/dist/components/Blocks.js.map +1 -1
  19. package/dist/components/Blocks.mobile.js +0 -4
  20. package/dist/components/Blocks.mobile.js.map +1 -1
  21. package/dist/components/Bonus/Bonus.js +1 -1
  22. package/dist/components/Bonus/Bonus.js.map +1 -1
  23. package/dist/components/Bonus/BonusContent.d.ts +7 -3
  24. package/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  25. package/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  26. package/dist/components/Calculator/CalculatorContent.d.ts +14 -5
  27. package/dist/components/LinkDocs/LinkDocs.js +3 -0
  28. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  29. package/dist/components/LinkDocs/LinkDocsContent.d.ts +9 -5
  30. package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
  31. package/dist/components/ProductBlock/ProductBlock.js +1 -13
  32. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  33. package/dist/components/TariffsTable/TariffsTableCell.js +1 -8
  34. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  35. package/dist/components/TariffsTable/TariffsTableContent.d.ts +7 -3
  36. package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
  37. package/dist/components/TariffsTable/TariffsTableRenderCell.js +14 -14
  38. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  39. package/dist/model/EmptyOptionType.d.ts +1 -3
  40. package/dist/model/JSXBlock.d.ts +2 -2
  41. package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
  42. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  43. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  44. package/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  45. package/dist/ui-kit/BaseTile/BaseTile.js +16 -5
  46. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  47. package/lib/common.css +1 -1
  48. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
  49. package/lib/components/Blocks.js +0 -4
  50. package/lib/components/Blocks.js.map +1 -1
  51. package/lib/components/Blocks.mobile.js +0 -4
  52. package/lib/components/Blocks.mobile.js.map +1 -1
  53. package/lib/components/Bonus/Bonus.js +1 -1
  54. package/lib/components/Bonus/Bonus.js.map +1 -1
  55. package/lib/components/Bonus/BonusContent.d.ts +7 -3
  56. package/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  57. package/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  58. package/lib/components/Calculator/CalculatorContent.d.ts +14 -5
  59. package/lib/components/LinkDocs/LinkDocs.js +3 -0
  60. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  61. package/lib/components/LinkDocs/LinkDocsContent.d.ts +9 -5
  62. package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
  63. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  64. package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +2 -0
  65. package/lib/components/ProductBlock/ProductBlock.js +2 -14
  66. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  67. package/lib/components/TariffsTable/TariffsTableCell.js +2 -9
  68. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  69. package/lib/components/TariffsTable/TariffsTableContent.d.ts +7 -3
  70. package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -1
  71. package/lib/components/TariffsTable/TariffsTableRenderCell.js +13 -12
  72. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  73. package/lib/model/EmptyOptionType.d.ts +1 -3
  74. package/lib/model/JSXBlock.d.ts +2 -2
  75. package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
  76. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  77. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  78. package/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  79. package/lib/ui-kit/BaseTile/BaseTile.js +16 -5
  80. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  81. package/mobile/bundle/bundle.umd.js +47 -58
  82. package/mobile/bundle/bundle.umd.min.js +1 -1
  83. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
  84. package/mobile/bundle/components/Bonus/BonusContent.d.ts +7 -3
  85. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +14 -5
  86. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +9 -5
  87. package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
  88. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +7 -3
  89. package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
  90. package/mobile/bundle/model/EmptyOptionType.d.ts +1 -3
  91. package/mobile/bundle/model/JSXBlock.d.ts +2 -2
  92. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
  93. package/mobile/bundle/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  94. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
  95. package/mobile/dist/components/Blocks.js +0 -4
  96. package/mobile/dist/components/Blocks.js.map +1 -1
  97. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  98. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  99. package/mobile/dist/components/Bonus/BonusContent.d.ts +7 -3
  100. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  101. package/mobile/dist/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  102. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +14 -5
  103. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -0
  104. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  105. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +9 -5
  106. package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
  107. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -13
  108. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  109. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -8
  110. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  111. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +7 -3
  112. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
  113. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +14 -14
  114. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  115. package/mobile/dist/model/EmptyOptionType.d.ts +1 -3
  116. package/mobile/dist/model/JSXBlock.d.ts +2 -2
  117. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
  118. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  119. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  120. package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  121. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +16 -5
  122. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
  123. package/mobile/lib/common.css +1 -1
  124. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +7 -3
  125. package/mobile/lib/components/Blocks.js +0 -4
  126. package/mobile/lib/components/Blocks.js.map +1 -1
  127. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  128. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  129. package/mobile/lib/components/Bonus/BonusContent.d.ts +7 -3
  130. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js +1 -1
  131. package/mobile/lib/components/Calculator/BusinessDepositCalculatorForm.js.map +1 -1
  132. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +14 -5
  133. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -0
  134. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  135. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +9 -5
  136. package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +7 -3
  137. package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -14
  138. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  139. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -9
  140. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  141. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +7 -3
  142. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +5 -2
  143. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +13 -12
  144. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +1 -1
  145. package/mobile/lib/model/EmptyOptionType.d.ts +1 -3
  146. package/mobile/lib/model/JSXBlock.d.ts +2 -2
  147. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +1 -0
  148. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +2 -2
  149. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
  150. package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +1 -0
  151. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +16 -5
  152. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
  153. package/mobile/src/common.css +4 -0
  154. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -3
  155. package/mobile/src/components/Blocks.ts +0 -4
  156. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  157. package/mobile/src/components/Bonus/BonusContent.ts +8 -3
  158. package/mobile/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  159. package/mobile/src/components/Calculator/CalculatorContent.ts +16 -5
  160. package/mobile/src/components/LinkDocs/LinkDocs.tsx +3 -0
  161. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +10 -5
  162. package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +8 -3
  163. package/mobile/src/components/ProductBlock/ProductBlock.tsx +13 -32
  164. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +14 -11
  165. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +8 -3
  166. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +22 -18
  167. package/mobile/src/model/EmptyOptionType.ts +1 -3
  168. package/mobile/src/model/JSXBlock.ts +2 -2
  169. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +5 -1
  170. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +48 -35
  171. package/package.json +1 -1
  172. package/src/common.css +4 -0
  173. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +8 -3
  174. package/src/components/Blocks.mobile.ts +0 -4
  175. package/src/components/Blocks.ts +0 -4
  176. package/src/components/Bonus/Bonus.tsx +1 -1
  177. package/src/components/Bonus/BonusContent.ts +8 -3
  178. package/src/components/Calculator/BusinessDepositCalculatorForm.tsx +1 -1
  179. package/src/components/Calculator/CalculatorContent.ts +16 -5
  180. package/src/components/DepositFiltration/DepositFiltration.fixture.mobile.tsx +5 -5
  181. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +5 -5
  182. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +15 -15
  183. package/src/components/LinkDocs/LinkDocs.tsx +3 -0
  184. package/src/components/LinkDocs/LinkDocsContent.ts +10 -5
  185. package/src/components/MortgageFiltration/MortgageFiltration.fixture.mobile.tsx +8 -8
  186. package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +8 -8
  187. package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +8 -3
  188. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +41 -0
  189. package/src/components/ProductBlock/ProductBlock.fixture.tsx +40 -0
  190. package/src/components/ProductBlock/ProductBlock.tsx +13 -32
  191. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.mobile.tsx +9 -9
  192. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +11 -11
  193. package/src/components/TariffsTable/TariffsTableCell.tsx +14 -11
  194. package/src/components/TariffsTable/TariffsTableContent.ts +8 -3
  195. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +22 -18
  196. package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +3 -3
  197. package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +9 -10
  198. package/src/model/EmptyOptionType.ts +1 -3
  199. package/src/model/JSXBlock.ts +2 -2
  200. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +5 -1
  201. package/src/ui-kit/BaseTile/BaseTile.tsx +48 -35
  202. package/bundle/components/ProductTile/ProductTile.d.ts +0 -5
  203. package/bundle/components/ProductTile/ProductTileContent.d.ts +0 -7
  204. package/bundle/components/Tile/Tile.d.ts +0 -5
  205. package/bundle/components/Tile/TileContent.d.ts +0 -6
  206. package/dist/components/ProductTile/ProductTile.d.ts +0 -5
  207. package/dist/components/ProductTile/ProductTile.js +0 -9
  208. package/dist/components/ProductTile/ProductTile.js.map +0 -1
  209. package/dist/components/ProductTile/ProductTileContent.d.ts +0 -7
  210. package/dist/components/ProductTile/ProductTileContent.js +0 -2
  211. package/dist/components/ProductTile/ProductTileContent.js.map +0 -1
  212. package/dist/components/Tile/Tile.d.ts +0 -5
  213. package/dist/components/Tile/Tile.js +0 -8
  214. package/dist/components/Tile/Tile.js.map +0 -1
  215. package/dist/components/Tile/TileContent.d.ts +0 -6
  216. package/dist/components/Tile/TileContent.js +0 -2
  217. package/dist/components/Tile/TileContent.js.map +0 -1
  218. package/lib/components/ProductTile/ProductTile.d.ts +0 -5
  219. package/lib/components/ProductTile/ProductTile.fixture.d.ts +0 -17
  220. package/lib/components/ProductTile/ProductTile.fixture.mobile.d.ts +0 -16
  221. package/lib/components/ProductTile/ProductTile.js +0 -7
  222. package/lib/components/ProductTile/ProductTile.js.map +0 -1
  223. package/lib/components/ProductTile/ProductTileContent.d.ts +0 -7
  224. package/lib/components/ProductTile/ProductTileContent.js +0 -2
  225. package/lib/components/ProductTile/ProductTileContent.js.map +0 -1
  226. package/lib/components/Tile/Tile.d.ts +0 -5
  227. package/lib/components/Tile/Tile.fixture.d.ts +0 -15
  228. package/lib/components/Tile/Tile.fixture.mobile.d.ts +0 -9
  229. package/lib/components/Tile/Tile.js +0 -6
  230. package/lib/components/Tile/Tile.js.map +0 -1
  231. package/lib/components/Tile/TileContent.d.ts +0 -6
  232. package/lib/components/Tile/TileContent.js +0 -2
  233. package/lib/components/Tile/TileContent.js.map +0 -1
  234. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +0 -5
  235. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +0 -7
  236. package/mobile/bundle/components/Tile/Tile.d.ts +0 -5
  237. package/mobile/bundle/components/Tile/TileContent.d.ts +0 -6
  238. package/mobile/dist/components/ProductTile/ProductTile.d.ts +0 -5
  239. package/mobile/dist/components/ProductTile/ProductTile.js +0 -9
  240. package/mobile/dist/components/ProductTile/ProductTile.js.map +0 -1
  241. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +0 -7
  242. package/mobile/dist/components/ProductTile/ProductTileContent.js +0 -2
  243. package/mobile/dist/components/ProductTile/ProductTileContent.js.map +0 -1
  244. package/mobile/dist/components/Tile/Tile.d.ts +0 -5
  245. package/mobile/dist/components/Tile/Tile.js +0 -8
  246. package/mobile/dist/components/Tile/Tile.js.map +0 -1
  247. package/mobile/dist/components/Tile/TileContent.d.ts +0 -6
  248. package/mobile/dist/components/Tile/TileContent.js +0 -2
  249. package/mobile/dist/components/Tile/TileContent.js.map +0 -1
  250. package/mobile/lib/components/ProductTile/ProductTile.d.ts +0 -5
  251. package/mobile/lib/components/ProductTile/ProductTile.js +0 -7
  252. package/mobile/lib/components/ProductTile/ProductTile.js.map +0 -1
  253. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +0 -7
  254. package/mobile/lib/components/ProductTile/ProductTileContent.js +0 -2
  255. package/mobile/lib/components/ProductTile/ProductTileContent.js.map +0 -1
  256. package/mobile/lib/components/Tile/Tile.d.ts +0 -5
  257. package/mobile/lib/components/Tile/Tile.js +0 -6
  258. package/mobile/lib/components/Tile/Tile.js.map +0 -1
  259. package/mobile/lib/components/Tile/TileContent.d.ts +0 -6
  260. package/mobile/lib/components/Tile/TileContent.js +0 -2
  261. package/mobile/lib/components/Tile/TileContent.js.map +0 -1
  262. package/mobile/src/components/ProductTile/ProductTile.example.json +0 -44
  263. package/mobile/src/components/ProductTile/ProductTile.tsx +0 -40
  264. package/mobile/src/components/ProductTile/ProductTile.ui.json +0 -17
  265. package/mobile/src/components/ProductTile/ProductTileContent.ts +0 -10
  266. package/mobile/src/components/Tile/Tile.example.json +0 -28
  267. package/mobile/src/components/Tile/Tile.tsx +0 -23
  268. package/mobile/src/components/Tile/Tile.ui.json +0 -17
  269. package/mobile/src/components/Tile/TileContent.ts +0 -7
  270. package/src/components/ProductTile/ProductTile.example.json +0 -44
  271. package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +0 -217
  272. package/src/components/ProductTile/ProductTile.fixture.tsx +0 -227
  273. package/src/components/ProductTile/ProductTile.tsx +0 -40
  274. package/src/components/ProductTile/ProductTile.ui.json +0 -17
  275. package/src/components/ProductTile/ProductTileContent.ts +0 -10
  276. package/src/components/Tile/Tile.example.json +0 -28
  277. package/src/components/Tile/Tile.fixture.mobile.tsx +0 -48
  278. package/src/components/Tile/Tile.fixture.tsx +0 -146
  279. package/src/components/Tile/Tile.tsx +0 -23
  280. package/src/components/Tile/Tile.ui.json +0 -17
  281. package/src/components/Tile/TileContent.ts +0 -7
@@ -1662,7 +1662,7 @@
1662
1662
  });
1663
1663
 
1664
1664
  const Bonus = JSX(({ className = '', title, description, bonusItems = [], align = AlignStyles, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-6xl", ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "mb-xl", isEmbedded: true, title: title, description: description, headlineVersion: "M", align: align }), jsx("div", { className: "flex flex-wrap gap-3xl gap-x-m w-full", children: bonusItems.length > 0
1665
- ? bonusItems.map((_, i) => (jsxs("div", { className: "w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow w-full p-xl sm:p-m border border-gray", children: [jsx("div", { className: "grow", children: jsx(Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1665
+ ? bonusItems.map((_, i) => (jsxs("div", { className: "w-full @xl:w-[48%] sm:space-y-xs flex flex-col grow p-xl sm:p-m border border-gray", children: [jsx("div", { className: "grow", children: jsx(Headline, { title: _?.title, description: _?.description, headlineVersion: "S", isEmbedded: true, align: "text-left" }) }), jsxs("div", { className: "flex justify-center sm:justify-between sm:items-end", children: [jsx("div", { className: "hidden sm:block", children: renderButtonsSection(_?.buttons) }), _.bonusItemContent?.bonusType
1666
1666
  ? renderBonusItemContent(_.bonusItemContent)
1667
1667
  : null] })] }, String(i))))
1668
1668
  : null })] }) })));
@@ -2206,7 +2206,7 @@
2206
2206
  isPartialWithdrawal: false,
2207
2207
  isMonthlyInterestPayment: false,
2208
2208
  });
2209
- const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, rateParams?.sourceBookDir);
2209
+ const calculatorParams = useBusinessDepositCalculatorParams(userInputParams, rateParams?.rateType && rateParams.sourceBookDir);
2210
2210
  const { income, finalSum, rate, isUnavailableByTerm, depositeName } = calculatorParams;
2211
2211
  return (jsxs("section", { className: style('flex flex-col justify-between @5xl:flex-row gap-m', className), children: [jsxs("div", { className: "flex flex-col gap-y-m sm:max-w-md gap-2xl", children: [renderWantedSumInput({
2212
2212
  title: 'Сумма, ₽',
@@ -2869,17 +2869,35 @@
2869
2869
  isVertical: true,
2870
2870
  })] })] }) })));
2871
2871
 
2872
+ function renderBackwardButton(version, handleClick) {
2873
+ const iconVersion = version === 'primary' ? 'white' : 'black';
2874
+ const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
2875
+ const text = 'Вернуться назад';
2876
+ return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
2877
+ icon: 'ArrowLeftIcon',
2878
+ iconVersion: iconVersion,
2879
+ } }) }), jsx(Button, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
2880
+ }
2881
+
2872
2882
  const imageAlignmentMap = {
2873
2883
  start: '@xl:self-start',
2874
2884
  center: '@xl:self-center',
2875
2885
  end: '@xl:self-end',
2876
2886
  };
2877
- const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className), children: [title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @xl:flex-row gap-3xl', leftImage ? 'self-start' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
2878
- className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), imageSecondaryStyle(isImageSecondary)),
2879
- imageAlign,
2880
- }), renderButtons(buttons)] })] })] })));
2887
+ const BaseTile = JSX(({ className, version = 'primary', defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, isImageAlwaysOnRight = false, isImageSecondary = false, backwardButton, children, }) => {
2888
+ const router = useRouter();
2889
+ const handleClick = useCallback((ev) => {
2890
+ ev?.preventDefault();
2891
+ router.back();
2892
+ }, []);
2893
+ return (jsxs("div", { className: getStyle(padding, defaultPadding, className), children: [backwardButton ? renderBackwardButton(version, handleClick) : null, title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: style('grow relative flex flex-col @xl:flex-row gap-3xl', leftImage ? 'self-start' : ''), children: [renderImageContainer(leftImage, { imageAlign, className: 'mx-auto' }), jsxs("div", { className: style('grid gap-3xl', rightImage ? '@xl:grid-cols-2' : '', leftImage ? '' : 'grow'), children: [jsxs("div", { className: "grow space-y-lg min-w-fit", children: [insetTitle, children] }), renderImageContainer(rightImage, {
2894
+ className: style('@xl:justify-self-end @xl:col-start-2', buttons ? rowSpanStyle(isImageAlwaysOnRight) : '', positionStyle(isImageAlwaysOnRight), imageSecondaryStyle(isImageSecondary)),
2895
+ imageAlign,
2896
+ }), renderButtons(buttons)] })] })] }));
2897
+ });
2898
+ const getStyle = (padding = '', defaultPadding = '', className = '') => style('relative flex flex-col gap-3xl overflow-hidden', padding || defaultPadding, className);
2881
2899
  const rowSpanStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'row-span-2' : '@xl:row-span-2';
2882
- const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'justify-self-end col-start-2 self-center' : '';
2900
+ const positionStyle = (isImageAlwaysOnRight) => isImageAlwaysOnRight ? 'col-start-2 self-center' : '';
2883
2901
  const renderButtons = (buttons) => buttons ? jsx("div", { className: "self-end", children: buttons }) : null;
2884
2902
  const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('shrink-1/2 justify-self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2885
2903
  const imageSecondaryStyle = (isImageSecondary) => isImageSecondary ? 'hidden @xl:block' : '';
@@ -2957,11 +2975,11 @@
2957
2975
  const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
2958
2976
  const renderTag = (tag, key) => (jsx("div", { className: "p-xs border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m", font: "font-light", children: tag }) }, String(key)));
2959
2977
 
2960
- const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle, items, isDotted = true, priceList = [], listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'center', directionRight = true, isImageAlwaysOnRight, isImageSecondary = false, } = {}, children, }) => {
2978
+ const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle, items, isDotted = true, priceList = [], listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'center', directionRight = true, isImageAlwaysOnRight, isImageSecondary = false, } = {}, backwardButton, children, }) => {
2961
2979
  const img = image?.src ? jsx(Img, { image: image }) : null;
2962
2980
  const headline = renderHeadline({ title, description, headlineVersion, align });
2963
2981
  const filteredBenefits = benefits?.filter((_) => _?.type === 'rte' || 'label' in _ || 'description' in _);
2964
- return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { title: headline } : { insetTitle: headline }), ...leftOrRightImage(img, directionRight), isImageSecondary: isImageSecondary, imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col sm:gap-xl gap-4xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, priceList?.length ? jsx(PriceList, { priceList: priceList }) : null, renderTags(tags)] }) }));
2982
+ return (jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { title: headline } : { insetTitle: headline }), ...leftOrRightImage(img, directionRight), isImageSecondary: isImageSecondary, imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), backwardButton: backwardButton, children: jsxs("div", { className: "flex flex-col sm:gap-xl gap-4xl", children: [filteredBenefits?.length ? (jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, priceList?.length ? jsx(PriceList, { priceList: priceList }) : null, renderTags(tags)] }) }));
2965
2983
  });
2966
2984
  const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
2967
2985
  const renderTags = (tags) => (tags?.length ? jsx(Tags, { tags: tags }) : null);
@@ -3065,8 +3083,8 @@
3065
3083
  const HeaderCell = JSX(({ icon, image, title, subtitle, isFillGradient }) => (jsxs("div", { className: "space-y-4", role: "columnheader", children: [icon ? (jsx(Img, { className: "h-16 w-16 min-w-16 min-h-16", image: icon, width: "64", height: "64" })) : null, image?.src && (jsx("div", { children: jsx(Img, { image: image }) })), title ? (jsx(Heading, { headingType: "h4", className: headingStyle(isFillGradient), title: title })) : null, subtitle ? jsx("div", { className: subtitleStyle(isFillGradient), children: subtitle }) : null] })));
3066
3084
 
3067
3085
  const cellWrapperStyle = `box-border flex flex-col`;
3068
- const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => (jsx("div", { className: cellWrapperStyle, role: "cell", children: jsx("div", { className: style('h-full', dividerStyle$1), children: cell.map(renderCellInner$1(isFillGradient, rowHeader)) }) })));
3069
- const renderCellInner$1 = (isFillGradient, rowHeader) => ({ label, description }, i) => (jsxs("div", { className: "flex justify-between text-s py-s", children: [jsx("div", { className: `${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: rowHeader }), jsxs("div", { className: "basis-1/2", children: [label ? (jsx("div", { className: style('text-right', isFillGradient ? 'text-white' : ''), children: label })) : null, description ? (jsx("div", { className: style('text-right', isFillGradient ? 'text-white/80' : 'text-secondary-text'), children: description })) : null] })] }, String(i)));
3086
+ const TableCell = JSX(({ cell, rowHeader, isFillGradient = false }) => (jsx("div", { className: cellWrapperStyle, role: "cell", children: jsx("div", { className: style('h-full', dividerStyle$1), children: cell.map(renderCellInner(isFillGradient, rowHeader)) }) })));
3087
+ const renderCellInner = (isFillGradient, rowHeader) => ({ label, description }, i) => (jsxs("div", { className: "flex justify-between text-s py-s", children: [jsx("div", { className: `${isFillGradient ? 'text-white/80' : 'text-secondary-text'}`, children: rowHeader }), jsxs("div", { className: "basis-1/2", children: [label ? (jsx("div", { className: style('text-right', isFillGradient ? 'text-white' : ''), children: label })) : null, description ? (jsx("div", { className: style('text-right', isFillGradient ? 'text-white/80' : 'text-secondary-text'), children: description })) : null] })] }, String(i)));
3070
3088
 
3071
3089
  const TableColumn = JSX(({ header, columnData, visibleRowLength = 0, isFillGradient, showRow, onToggleColumn }) => {
3072
3090
  const columnDataView = columnData?.slice(0, showRow ? columnData.length : visibleRowLength);
@@ -3646,6 +3664,9 @@
3646
3664
  return (jsxs(BlockWrapper, { className: style('space-y-lg', className), defaultPadding: "p-6xl", ...rest, children: [jsx(Headline, { title: title, description: description, align: align, headlineVersion: "M", as: "h2", isEmbedded: true }), documents?.length ? (jsx("div", { className: style('grid gap-xl', columnsMode === 'double' ? '@md:grid-cols-2' : 'grid-cols-1', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map(renderLinkDocItem(router, icon)) })) : null] }));
3647
3665
  });
3648
3666
  const renderLinkDocItem = (router, icon) => (docBlockDef, i) => {
3667
+ if (docBlockDef?.docType === '') {
3668
+ return null;
3669
+ }
3649
3670
  const href = docBlockDef?.docType === 'Attachment'
3650
3671
  ? adjustHref(router)(docBlockDef?.attachment?.src)
3651
3672
  : docBlockDef?.href;
@@ -4279,33 +4300,12 @@
4279
4300
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-xs bg-secondary-light" }, String(index)));
4280
4301
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
4281
4302
 
4282
- function renderBackwardButton(version, handleClick) {
4283
- const iconVersion = version === 'primary' ? 'white' : 'black';
4284
- const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
4285
- const text = 'Вернуться назад';
4286
- return (jsxs("div", { className: "hidden sm:flex items-center gap-s", children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
4287
- icon: 'ArrowLeftIcon',
4288
- iconVersion: iconVersion,
4289
- } }) }), jsx(Button, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick })] }));
4290
- }
4291
-
4292
- const ProductBlock = JSX(({ className, padding, backwardButton, showBorder, ...rest }) => {
4293
- const router = useRouter();
4294
- const handleClick = useCallback((ev) => {
4295
- ev?.preventDefault();
4296
- router.back();
4297
- }, []);
4298
- return (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', getBorderStyle(showBorder), className), defaultPadding: "p-6xl", padding: padding, ...rest, children: [backwardButton
4299
- ? renderBackwardButton(!rest.version || rest.version === 'primary' ? 'primary' : 'white', handleClick)
4300
- : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] }));
4301
- });
4303
+ const ProductBlock = JSX(({ className, padding, showBorder, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', getBorderStyle(showBorder), className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: "p-6xl", padding: padding, className: "grow h-full", ...rest }) })));
4302
4304
 
4303
4305
  const ProductGallery = JSX(({ className, padding, slides = [], ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden relative', className), padding: padding, ...rest, children: jsx(SwipeListControl, { gap: 0, padding: 0, children: slides
4304
4306
  .map((s) => s.productBlock)
4305
4307
  .map((_, i) => (jsx("div", { className: "box-border h-full", children: jsx(BaseProductTile, { className: "px-5 h-full", headlineVersion: "L", ..._, ...rest }) }, String(i)))) }) })));
4306
4308
 
4307
- const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, isFullWidthTitle = true, ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isImageSecondary: true, ...imageOptions }, isFullWidthTitle: isFullWidthTitle, ...rest, children: additionalDescription ? (jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
4308
-
4309
4309
  const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: jsx(Img, { image: icon }) })) : null, title ? jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock({
4310
4310
  label: 'Адрес',
4311
4311
  data: address,
@@ -5053,7 +5053,7 @@
5053
5053
  Table: renderInnerTableCellData,
5054
5054
  };
5055
5055
 
5056
- const renderCellInner = ({ rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => (cell, i) => {
5056
+ const RenderCellInner = JSX(({ cell, fieldIdx, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
5057
5057
  const [isVisible, setVisibility] = useState(true);
5058
5058
  useEffect(() => {
5059
5059
  if (cellIdx !== openTableInnerIdx || !tableInner) {
@@ -5065,17 +5065,17 @@
5065
5065
  setOpenTableInnerIdx(cellIdx);
5066
5066
  setTableInner(props);
5067
5067
  };
5068
- return (jsx("div", { children: renderCell({
5069
- cell,
5070
- cellProps: {
5071
- rowIdx,
5072
- cellIdx,
5073
- fieldIdx: i,
5074
- displayTable,
5075
- isVisible,
5076
- },
5077
- }) }, String(i)));
5078
- };
5068
+ return renderCell({
5069
+ cell,
5070
+ cellProps: {
5071
+ rowIdx,
5072
+ cellIdx,
5073
+ fieldIdx,
5074
+ displayTable,
5075
+ isVisible,
5076
+ },
5077
+ });
5078
+ });
5079
5079
  const renderCell = ({ cell, cellProps }) => {
5080
5080
  if (!cell) {
5081
5081
  return null;
@@ -5090,14 +5090,7 @@
5090
5090
 
5091
5091
  const TariffsTableCell = JSX(({ cells, rowIdx, cellIdx, setTableInner, tableInner, openTableInnerIdx, setOpenTableInnerIdx, }) => {
5092
5092
  return (jsx("div", { className: "w-80 flex-grow flex flex-col gap-m @4xl:gap-lg", role: "cell", children: cells?.length
5093
- ? cells.map(renderCellInner({
5094
- rowIdx,
5095
- cellIdx,
5096
- setTableInner,
5097
- tableInner,
5098
- openTableInnerIdx,
5099
- setOpenTableInnerIdx,
5100
- }))
5093
+ ? cells.map((_, i) => (jsx(RenderCellInner, { cell: _, fieldIdx: i, rowIdx: rowIdx, cellIdx: cellIdx, setTableInner: setTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: setOpenTableInnerIdx }, String(i))))
5101
5094
  : null }));
5102
5095
  });
5103
5096
 
@@ -5201,8 +5194,6 @@
5201
5194
  return (jsx("ul", { className: style('text-secondary-text group-data-secondary:text-white/80', listStyle), children: items.map((_, i) => (jsx("li", { children: jsx(Text, { size: "text-s", font: "font-light", children: _ }) }, `listItem-${i}`))) }));
5202
5195
  };
5203
5196
 
5204
- const Tile = JSX(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, isFullWidthTitle: false, ...rest }) })));
5205
-
5206
5197
  const Blocks = {
5207
5198
  ApplicationForm,
5208
5199
  BenefitsBlock,
@@ -5234,7 +5225,6 @@
5234
5225
  Placeholder,
5235
5226
  ProductBlock,
5236
5227
  ProductGallery,
5237
- ProductTile,
5238
5228
  RepresentativeOfficeInfo,
5239
5229
  RichTextBlock,
5240
5230
  RollupItem,
@@ -5244,7 +5234,6 @@
5244
5234
  Tabs,
5245
5235
  TariffsTable,
5246
5236
  TextBlock,
5247
- Tile,
5248
5237
  VerticalLayout,
5249
5238
  };
5250
5239
 
@@ -5438,7 +5427,7 @@
5438
5427
 
5439
5428
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5440
5429
 
5441
- const packageVersion = "0.14.48";
5430
+ const packageVersion = "0.14.50";
5442
5431
 
5443
5432
  exports.Blocks = Blocks;
5444
5433
  exports.ContentPage = ContentPage;