@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
@@ -1,7 +0,0 @@
1
- import { type AdditionalDescriptionProps } from '../../model/HeadlineType';
2
- import { type UniBlockContent } from '../../model/JSXBlock';
3
- import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
4
- /**
5
- * @title Продуктовая плитка
6
- */
7
- export declare type ProductTileContent = UniBlockContent & BaseProductTileContent & AdditionalDescriptionProps;
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=ProductTileContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductTileContent.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTileContent.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../model/JSXBlock';
2
- import { type TileContent } from './TileContent';
3
- export interface TileProps extends TileContent, UniBlockProps {
4
- }
5
- export declare const Tile: import("@redneckz/uni-jsx").UNIComponent<TileProps, any, any>;
@@ -1,8 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.Tile = void 0;
3
- const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
6
- const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
- exports.Tile = (0, uni_jsx_1.JSX)(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, isFullWidthTitle: false, ...rest }) })));
8
- //# sourceMappingURL=Tile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AAK5C,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,GAAG,GAAG,EAAE,YAAY,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC9E,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,uBAAC,iCAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,KAAK,KACnB,IAAI,GACR,GACW,CAChB,CACF,CAAC"}
@@ -1,6 +0,0 @@
1
- import { type UniBlockContent } from '../../model/JSXBlock';
2
- import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
3
- /**
4
- * @title Плитка
5
- */
6
- export declare type TileContent = UniBlockContent & BaseProductTileContent;
@@ -1,2 +0,0 @@
1
- Object.defineProperty(exports, "__esModule", { value: true });
2
- //# sourceMappingURL=TileContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TileContent.js","sourceRoot":"","sources":["../../../src/components/Tile/TileContent.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../model/JSXBlock';
2
- import { type ProductTileContent } from './ProductTileContent';
3
- export interface ProductTileProps extends ProductTileContent, UniBlockProps {
4
- }
5
- export declare const ProductTile: import("@redneckz/uni-jsx").UNIComponent<ProductTileProps, any, any>;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
4
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
6
- export 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 }) })));
7
- //# sourceMappingURL=ProductTile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAK7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,iBAAiB,GAAG,IAAI,EACxB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,GAAG,IAAI,EACvB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,KAAC,eAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,eAAe,EAC9B,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE,EACzD,gBAAgB,EAAE,gBAAgB,KAC9B,IAAI,YAEP,qBAAqB,CAAC,CAAC,CAAC,CACvB,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,wCAAwC,YACtF,qBAAqB,GACZ,CACb,CAAC,CAAC,CAAC,IAAI,GACQ,GACL,CAChB,CACF,CAAC"}
@@ -1,7 +0,0 @@
1
- import { type AdditionalDescriptionProps } from '../../model/HeadlineType';
2
- import { type UniBlockContent } from '../../model/JSXBlock';
3
- import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
4
- /**
5
- * @title Продуктовая плитка
6
- */
7
- export declare type ProductTileContent = UniBlockContent & BaseProductTileContent & AdditionalDescriptionProps;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=ProductTileContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductTileContent.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTileContent.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { type UniBlockProps } from '../../model/JSXBlock';
2
- import { type TileContent } from './TileContent';
3
- export interface TileProps extends TileContent, UniBlockProps {
4
- }
5
- export declare const Tile: import("@redneckz/uni-jsx").UNIComponent<TileProps, any, any>;
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
- import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
4
- import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
- export 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 }) })));
6
- //# sourceMappingURL=Tile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAKzD,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CACrB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,GAAG,GAAG,EAAE,YAAY,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC9E,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,KAAC,eAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,KAAK,KACnB,IAAI,GACR,GACW,CAChB,CACF,CAAC"}
@@ -1,6 +0,0 @@
1
- import { type UniBlockContent } from '../../model/JSXBlock';
2
- import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
3
- /**
4
- * @title Плитка
5
- */
6
- export declare type TileContent = UniBlockContent & BaseProductTileContent;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=TileContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TileContent.js","sourceRoot":"","sources":["../../../src/components/Tile/TileContent.ts"],"names":[],"mappings":""}
@@ -1,44 +0,0 @@
1
- {
2
- "content": {
3
- "title": "Продуктовая плитка",
4
- "headlineVersion": "S",
5
- "description": "Описание",
6
- "image": {
7
- "format": "webp",
8
- "size": {
9
- "width": 242
10
- }
11
- },
12
- "version": "primary",
13
- "isTabularBenefits": true,
14
- "isFullWidthTitle": true,
15
- "benefits": [
16
- {
17
- "type": "default",
18
- "label": "Преимущество 1",
19
- "description": "Описание"
20
- },
21
- {
22
- "type": "default",
23
- "label": "Преимущество 2",
24
- "description": "Описание"
25
- },
26
- {
27
- "type": "default",
28
- "label": "Преимущество 3",
29
- "description": "Описание"
30
- }
31
- ],
32
- "buttons": [
33
- {
34
- "text": "Кнопка",
35
- "version": "primary"
36
- }
37
- ],
38
- "imageOptions": {
39
- "directionRight": true,
40
- "imageAlign": "end",
41
- "isSecondary": true
42
- }
43
- }
44
- }
@@ -1,40 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { type UniBlockProps } from '../../model/JSXBlock';
3
- import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile';
4
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
- import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
6
- import { type ProductTileContent } from './ProductTileContent';
7
-
8
- export interface ProductTileProps extends ProductTileContent, UniBlockProps {}
9
-
10
- export const ProductTile = JSX<ProductTileProps>(
11
- ({
12
- className,
13
- padding,
14
- headlineVersion = 'S',
15
- isTabularBenefits = true,
16
- additionalDescription,
17
- imageOptions,
18
- isFullWidthTitle = true,
19
- ...rest
20
- }) => (
21
- <BlockWrapper className={className} padding="p-0" {...rest}>
22
- <BaseProductTile
23
- className="h-full"
24
- defaultPadding="p-4xl sm:p-xl"
25
- padding={padding}
26
- headlineVersion={headlineVersion}
27
- isTabularBenefits={isTabularBenefits}
28
- imageOptions={{ isImageSecondary: true, ...imageOptions }}
29
- isFullWidthTitle={isFullWidthTitle}
30
- {...rest}
31
- >
32
- {additionalDescription ? (
33
- <Paragraph size="text-m" font="font-light" color="group-data-primary:text-secondary-text">
34
- {additionalDescription}
35
- </Paragraph>
36
- ) : null}
37
- </BaseProductTile>
38
- </BlockWrapper>
39
- ),
40
- );
@@ -1,17 +0,0 @@
1
- {
2
- "content": {
3
- "benefits": {
4
- "items": {
5
- "__html": {
6
- "ui:widget": "html"
7
- },
8
- "type": {
9
- "ui:widget": "hidden"
10
- }
11
- }
12
- },
13
- "__html": {
14
- "ui:widget": "html"
15
- }
16
- }
17
- }
@@ -1,10 +0,0 @@
1
- import { type AdditionalDescriptionProps } from '../../model/HeadlineType';
2
- import { type UniBlockContent } from '../../model/JSXBlock';
3
- import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
4
-
5
- /**
6
- * @title Продуктовая плитка
7
- */
8
- export type ProductTileContent = UniBlockContent &
9
- BaseProductTileContent &
10
- AdditionalDescriptionProps;
@@ -1,28 +0,0 @@
1
- {
2
- "content": {
3
- "title": "Плитка",
4
- "headlineVersion": "S",
5
- "__html": "<p>Описание</p>",
6
- "image": {
7
- "format": "webp",
8
- "size": {
9
- "format": "webp",
10
- "width": 445
11
- }
12
- },
13
- "isDotted": true,
14
- "listItemSize": "M",
15
- "items": ["Пункт 1", "Пункт 2", "Пункт 3"],
16
- "buttons": [
17
- {
18
- "text": "Кнопка",
19
- "version": "primary"
20
- }
21
- ],
22
- "version": "primary",
23
- "imageOptions": {
24
- "directionRight": true,
25
- "imageAlign": "end"
26
- }
27
- }
28
- }
@@ -1,23 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { type UniBlockProps } from '../../model/JSXBlock';
3
- import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile';
4
- import { BlockWrapper } from '../../ui-kit/BlockWrapper';
5
- import { type TileContent } from './TileContent';
6
-
7
- export interface TileProps extends TileContent, UniBlockProps {}
8
-
9
- export const Tile = JSX<TileProps>(
10
- ({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (
11
- <BlockWrapper className={className} padding="p-0" {...rest}>
12
- <BaseProductTile
13
- className="h-full"
14
- defaultPadding="p-xl"
15
- padding={padding}
16
- headlineVersion={headlineVersion}
17
- listItemSize={listItemSize}
18
- isFullWidthTitle={false}
19
- {...rest}
20
- />
21
- </BlockWrapper>
22
- ),
23
- );
@@ -1,17 +0,0 @@
1
- {
2
- "content": {
3
- "benefits": {
4
- "items": {
5
- "__html": {
6
- "ui:widget": "html"
7
- },
8
- "type": {
9
- "ui:widget": "hidden"
10
- }
11
- }
12
- },
13
- "__html": {
14
- "ui:widget": "html"
15
- }
16
- }
17
- }
@@ -1,7 +0,0 @@
1
- import { type UniBlockContent } from '../../model/JSXBlock';
2
- import { type BaseProductTileContent } from '../../ui-kit/BaseProductTile/BaseProductTileContent';
3
-
4
- /**
5
- * @title Плитка
6
- */
7
- export type TileContent = UniBlockContent & BaseProductTileContent;
@@ -1,44 +0,0 @@
1
- {
2
- "content": {
3
- "title": "Продуктовая плитка",
4
- "headlineVersion": "S",
5
- "description": "Описание",
6
- "image": {
7
- "format": "webp",
8
- "size": {
9
- "width": 242
10
- }
11
- },
12
- "version": "primary",
13
- "isTabularBenefits": true,
14
- "isFullWidthTitle": true,
15
- "benefits": [
16
- {
17
- "type": "default",
18
- "label": "Преимущество 1",
19
- "description": "Описание"
20
- },
21
- {
22
- "type": "default",
23
- "label": "Преимущество 2",
24
- "description": "Описание"
25
- },
26
- {
27
- "type": "default",
28
- "label": "Преимущество 3",
29
- "description": "Описание"
30
- }
31
- ],
32
- "buttons": [
33
- {
34
- "text": "Кнопка",
35
- "version": "primary"
36
- }
37
- ],
38
- "imageOptions": {
39
- "directionRight": true,
40
- "imageAlign": "end",
41
- "isSecondary": true
42
- }
43
- }
44
- }
@@ -1,217 +0,0 @@
1
- import '../../setup-fixture';
2
-
3
- import { type Picture } from '../../model/Picture';
4
- import { type BenefitTextProps } from '../../ui-kit/BenefitItem/renderBenefitText';
5
- import { type ButtonProps } from '../../ui-kit/Button/ButtonProps';
6
- import { ProductTile } from './ProductTile';
7
- import { type ProductTileContent } from './ProductTileContent';
8
-
9
- const imageSize = {
10
- height: 200,
11
- width: 200,
12
- };
13
-
14
- const cardWithMoney: Picture = {
15
- src: 'card-with-diamond.png',
16
- alt: 'Кредиты в РСХБ',
17
- format: 'webp',
18
- size: imageSize,
19
- };
20
-
21
- const letterWithMoney: Picture = {
22
- src: 'letter-with-money.png',
23
- alt: 'Пенсионный кредит в РСХБ',
24
- format: 'webp',
25
- size: imageSize,
26
- };
27
-
28
- const letterWithPhone: Picture = {
29
- src: 'letter-with-phone.png',
30
- alt: 'Пенсионный кредит в РСХБ',
31
- format: 'webp',
32
- size: imageSize,
33
- };
34
-
35
- const building: Picture = {
36
- src: 'building.png',
37
- alt: 'Кредит под залог недвижимости в РСХБ',
38
- format: 'webp',
39
- size: imageSize,
40
- };
41
-
42
- const benefits: BenefitTextProps[] = [
43
- {
44
- type: 'default',
45
- label: 'до 5 млн Р',
46
- description: 'Кредитный лимит',
47
- descriptionClassName: 'text-right',
48
- },
49
- {
50
- type: 'default',
51
- label: 'от 12,5%',
52
- description: 'Процентная ставка',
53
- descriptionClassName: 'text-right',
54
- },
55
- {
56
- type: 'default',
57
- label: 'до 5 лет',
58
- description: 'Срок кредитования',
59
- descriptionClassName: 'text-right',
60
- },
61
- ];
62
-
63
- const benefits2: BenefitTextProps[] = [
64
- {
65
- type: 'default',
66
- label: '1 год',
67
- description: 'срок программы',
68
- },
69
- ];
70
-
71
- const multilineBenefits: BenefitTextProps[] = [
72
- {
73
- type: 'default',
74
- label: 'Широкий',
75
- description: 'выбор платёжных систем',
76
- },
77
- {
78
- type: 'default',
79
- label: 'Специальные',
80
- description: 'условия по снятию наличных условия по снятию наличных',
81
- },
82
- {
83
- type: 'default',
84
- label: '0,5 балла',
85
- description: '«Урожай» за 100 рублей «Урожай» за 100 рублей',
86
- },
87
- ];
88
-
89
- const buttons: ButtonProps[] = [
90
- {
91
- text: 'Подробнее',
92
- href: '/credit-cards',
93
- version: 'secondary',
94
- },
95
- ];
96
-
97
- const buttons2: ButtonProps[] = [
98
- {
99
- href: 'https://rshb.ru',
100
- text: 'Подробнее',
101
- target: '_blank',
102
- version: 'secondary',
103
- },
104
- ];
105
-
106
- const buttons3: ButtonProps[] = [
107
- {
108
- href: 'https://rshb.ru',
109
- text: 'Оформить',
110
- target: '_blank',
111
- version: 'primary',
112
- },
113
- {
114
- href: 'https://rshb.ru',
115
- text: 'Подробнее',
116
- target: '_blank',
117
- version: 'secondary',
118
- },
119
- ];
120
-
121
- export const PRODUCT_TILE: ProductTileContent = {
122
- title: 'Акция! “Кредит На все, что хочется!”',
123
- headlineVersion: 'S',
124
- description: 'Потребительский кредит на любые цели, без залога и поручительства',
125
- benefits,
126
- buttons: buttons,
127
- image: cardWithMoney,
128
- };
129
- export const PRODUCT_PENSION_TILE: ProductTileContent = {
130
- title: 'Кредит пенсионный',
131
- headlineVersion: 'S',
132
- description: 'Для людей в возрасте до 75 лет',
133
- benefits,
134
- buttons: buttons2,
135
- };
136
-
137
- export default {
138
- default: (
139
- <div className="container grid grid-cols-12">
140
- <ProductTile className="col-span-12" {...PRODUCT_TILE} />
141
- </div>
142
- ),
143
- secondary: (
144
- <div className="container grid grid-cols-12">
145
- <ProductTile className="col-span-12" {...PRODUCT_TILE} version="secondary" />
146
- </div>
147
- ),
148
- pension: (
149
- <div className="container grid grid-cols-12">
150
- <ProductTile
151
- className="col-span-12"
152
- title="Акция! “Пенсионный кредит”"
153
- description="Потребительский кредит на любые цели, без залога и поручительства"
154
- benefits={benefits}
155
- buttons={buttons2}
156
- image={letterWithMoney}
157
- />
158
- </div>
159
- ),
160
- 'long-title-benefits-without-image': (
161
- <div className="container grid grid-cols-12">
162
- <ProductTile
163
- className="col-span-12"
164
- title="Кредит пенсионный"
165
- description="Для людей в возрасте до 75 лет"
166
- benefits={multilineBenefits}
167
- buttons={buttons2}
168
- />
169
- </div>
170
- ),
171
- 'credit-card': (
172
- <div className="container grid grid-cols-12">
173
- <ProductTile
174
- className="col-span-12"
175
- title="Кредит под залог недвижимости"
176
- description="Без переоформления залогой недвижимости на банк"
177
- benefits={benefits}
178
- buttons={buttons2}
179
- image={building}
180
- />
181
- </div>
182
- ),
183
- 'pension-credit': (
184
- <div className="container grid grid-cols-12">
185
- <ProductTile
186
- className="col-span-12"
187
- title="Кредит пенсионный"
188
- description="Для людей в возрасте до 75 лет"
189
- benefits={benefits}
190
- buttons={buttons2}
191
- />
192
- </div>
193
- ),
194
- 'with-add-desc': (
195
- <div className="container grid grid-cols-12">
196
- <ProductTile
197
- className="col-span-12"
198
- title="Ипотечное страхование"
199
- description="Финансовая защита заемщиков в случае непредвиденных обстоятельств"
200
- additionalDescription="Страховая сумма и страховой взнос зависит от остатка задолженности по ипотеке"
201
- benefits={benefits2}
202
- buttons={buttons3}
203
- image={letterWithPhone}
204
- />
205
- </div>
206
- ),
207
- 'stretching with long description': (
208
- <div className="container grid grid-cols-12">
209
- <ProductTile
210
- className="col-span-12"
211
- {...PRODUCT_TILE}
212
- benefits={multilineBenefits}
213
- title="Многострочные преимущества"
214
- />
215
- </div>
216
- ),
217
- };