@redneckz/wildless-cms-uni-blocks 0.14.854 → 0.14.855

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 (389) hide show
  1. package/bin/migration-scripts/0.14.850.js +70 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +55 -107
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  6. package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  7. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  8. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -68
  9. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  10. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  11. package/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  12. package/bundle/components/TariffsTable/renderCell.d.ts +2 -0
  13. package/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
  14. package/bundle/model/onClick.d.ts +3 -0
  15. package/bundle/model/onClose.d.ts +3 -0
  16. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
  17. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  18. package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
  19. package/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  20. package/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
  21. package/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  22. package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  23. package/dist/components/TariffsTable/TariffsTable.js +4 -11
  24. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  25. package/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  26. package/dist/components/TariffsTable/TariffsTableCell.js +14 -4
  27. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  28. package/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -68
  29. package/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  30. package/dist/components/TariffsTable/TariffsTableRow.js +6 -10
  31. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  32. package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  33. package/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  34. package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  35. package/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  36. package/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
  37. package/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  38. package/dist/components/TariffsTable/dataFixture.js +1 -14
  39. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  40. package/dist/components/TariffsTable/renderCell.d.ts +2 -0
  41. package/dist/components/TariffsTable/renderCell.js +15 -0
  42. package/dist/components/TariffsTable/renderCell.js.map +1 -0
  43. package/dist/components/TariffsTable/renderHeader.d.ts +2 -0
  44. package/dist/components/TariffsTable/renderHeader.js +10 -0
  45. package/dist/components/TariffsTable/renderHeader.js.map +1 -0
  46. package/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  47. package/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
  48. package/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  49. package/dist/model/onClick.d.ts +3 -0
  50. package/dist/model/onClick.js +2 -0
  51. package/dist/model/onClick.js.map +1 -0
  52. package/dist/model/onClose.d.ts +3 -0
  53. package/dist/model/onClose.js +2 -0
  54. package/dist/model/onClose.js.map +1 -0
  55. package/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
  56. package/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  57. package/dist/ui-kit/InnerTable/InnerTable.js +2 -3
  58. package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  59. package/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
  60. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  61. package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
  62. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  63. package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  64. package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  65. package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  66. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
  67. package/lib/common.css +1 -1
  68. package/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  69. package/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
  70. package/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  71. package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  72. package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +3 -1
  73. package/lib/components/TariffsTable/TariffsTable.js +4 -11
  74. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  75. package/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  76. package/lib/components/TariffsTable/TariffsTableCell.js +14 -4
  77. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  78. package/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -68
  79. package/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  80. package/lib/components/TariffsTable/TariffsTableRow.js +6 -10
  81. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  82. package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  83. package/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
  84. package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  85. package/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  86. package/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
  87. package/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  88. package/lib/components/TariffsTable/dataFixture.js +1 -14
  89. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  90. package/lib/components/TariffsTable/renderCell.d.ts +2 -0
  91. package/lib/components/TariffsTable/renderCell.js +12 -0
  92. package/lib/components/TariffsTable/renderCell.js.map +1 -0
  93. package/lib/components/TariffsTable/renderHeader.d.ts +2 -0
  94. package/lib/components/TariffsTable/renderHeader.js +7 -0
  95. package/lib/components/TariffsTable/renderHeader.js.map +1 -0
  96. package/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  97. package/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
  98. package/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  99. package/lib/model/onClick.d.ts +3 -0
  100. package/lib/model/onClick.js +2 -0
  101. package/lib/model/onClick.js.map +1 -0
  102. package/lib/model/onClose.d.ts +3 -0
  103. package/lib/model/onClose.js +2 -0
  104. package/lib/model/onClose.js.map +1 -0
  105. package/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
  106. package/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  107. package/lib/ui-kit/InnerTable/InnerTable.js +2 -3
  108. package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  109. package/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
  110. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  111. package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
  112. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  113. package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  114. package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  115. package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  116. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
  117. package/mobile/bundle/bundle.umd.js +45 -122
  118. package/mobile/bundle/bundle.umd.min.js +1 -1
  119. package/mobile/bundle/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  120. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
  121. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  122. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +2 -68
  123. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  124. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  125. package/mobile/bundle/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  126. package/mobile/bundle/components/TariffsTable/renderCell.d.ts +2 -0
  127. package/mobile/bundle/components/TariffsTable/renderHeader.d.ts +2 -0
  128. package/mobile/bundle/model/onClick.d.ts +3 -0
  129. package/mobile/bundle/model/onClose.d.ts +3 -0
  130. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
  131. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  132. package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
  133. package/mobile/dist/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  134. package/mobile/dist/components/TariffsTable/TableCarouselContainer.js +1 -1
  135. package/mobile/dist/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  136. package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
  137. package/mobile/dist/components/TariffsTable/TariffsTable.js +4 -11
  138. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  139. package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  140. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +14 -4
  141. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  142. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +2 -68
  143. package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  144. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +6 -10
  145. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  146. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  147. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +3 -3
  148. package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  149. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  150. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js +1 -9
  151. package/mobile/dist/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  152. package/mobile/dist/components/TariffsTable/dataFixture.js +1 -14
  153. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  154. package/mobile/dist/components/TariffsTable/renderCell.d.ts +2 -0
  155. package/mobile/dist/components/TariffsTable/renderCell.js +15 -0
  156. package/mobile/dist/components/TariffsTable/renderCell.js.map +1 -0
  157. package/mobile/dist/components/TariffsTable/renderHeader.d.ts +2 -0
  158. package/mobile/dist/components/TariffsTable/renderHeader.js +10 -0
  159. package/mobile/dist/components/TariffsTable/renderHeader.js.map +1 -0
  160. package/mobile/dist/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  161. package/mobile/dist/components/TariffsTable/renderInnerTableCell.js +1 -0
  162. package/mobile/dist/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  163. package/mobile/dist/model/onClick.d.ts +3 -0
  164. package/mobile/dist/model/onClick.js +2 -0
  165. package/mobile/dist/model/onClick.js.map +1 -0
  166. package/mobile/dist/model/onClose.d.ts +3 -0
  167. package/mobile/dist/model/onClose.js +2 -0
  168. package/mobile/dist/model/onClose.js.map +1 -0
  169. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js +1 -1
  170. package/mobile/dist/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  171. package/mobile/dist/ui-kit/InnerTable/InnerTable.js +2 -3
  172. package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -1
  173. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +4 -6
  174. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  175. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
  176. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  177. package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  178. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  179. package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  180. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
  181. package/mobile/lib/common.css +1 -1
  182. package/mobile/lib/components/TariffsTable/TableCarouselContainer.d.ts +0 -2
  183. package/mobile/lib/components/TariffsTable/TableCarouselContainer.js +1 -1
  184. package/mobile/lib/components/TariffsTable/TableCarouselContainer.js.map +1 -1
  185. package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
  186. package/mobile/lib/components/TariffsTable/TariffsTable.js +4 -11
  187. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  188. package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +10 -8
  189. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -4
  190. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  191. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +2 -68
  192. package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +0 -2
  193. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +6 -10
  194. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  195. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +2 -1
  196. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +2 -2
  197. package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -1
  198. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.d.ts +1 -6
  199. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js +2 -10
  200. package/mobile/lib/components/TariffsTable/TariffsTableWrapper.js.map +1 -1
  201. package/mobile/lib/components/TariffsTable/dataFixture.js +1 -14
  202. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  203. package/mobile/lib/components/TariffsTable/renderCell.d.ts +2 -0
  204. package/mobile/lib/components/TariffsTable/renderCell.js +12 -0
  205. package/mobile/lib/components/TariffsTable/renderCell.js.map +1 -0
  206. package/mobile/lib/components/TariffsTable/renderHeader.d.ts +2 -0
  207. package/mobile/lib/components/TariffsTable/renderHeader.js +7 -0
  208. package/mobile/lib/components/TariffsTable/renderHeader.js.map +1 -0
  209. package/mobile/lib/components/TariffsTable/renderInnerTableCell.d.ts +0 -0
  210. package/mobile/lib/components/TariffsTable/renderInnerTableCell.js +1 -0
  211. package/mobile/lib/components/TariffsTable/renderInnerTableCell.js.map +1 -0
  212. package/mobile/lib/model/onClick.d.ts +3 -0
  213. package/mobile/lib/model/onClick.js +2 -0
  214. package/mobile/lib/model/onClick.js.map +1 -0
  215. package/mobile/lib/model/onClose.d.ts +3 -0
  216. package/mobile/lib/model/onClose.js +2 -0
  217. package/mobile/lib/model/onClose.js.map +1 -0
  218. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js +1 -1
  219. package/mobile/lib/retail/components/DraftDialog/DraftActionButton.js.map +1 -1
  220. package/mobile/lib/ui-kit/InnerTable/InnerTable.js +2 -3
  221. package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -1
  222. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +4 -6
  223. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  224. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +2 -3
  225. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  226. package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +2 -4
  227. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
  228. package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
  229. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -1
  230. package/mobile/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
  231. package/mobile/src/components/TariffsTable/TariffsTable.example.json +1 -34
  232. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -13
  233. package/mobile/src/components/TariffsTable/TariffsTable.ui.json +0 -3
  234. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
  235. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +7 -84
  236. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
  237. package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
  238. package/mobile/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
  239. package/mobile/src/components/TariffsTable/dataFixture.tsx +9 -22
  240. package/mobile/src/components/TariffsTable/renderCell.tsx +42 -0
  241. package/mobile/src/components/TariffsTable/renderHeader.tsx +19 -0
  242. package/mobile/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
  243. package/mobile/src/model/onClick.ts +3 -0
  244. package/mobile/src/model/onClose.ts +3 -0
  245. package/mobile/src/retail/components/DraftDialog/DraftActionButton.tsx +5 -3
  246. package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +2 -6
  247. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
  248. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -4
  249. package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
  250. package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  251. package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +1 -1
  252. package/package.json +1 -1
  253. package/src/components/TariffsTable/TableCarouselContainer.tsx +3 -10
  254. package/src/components/TariffsTable/TariffsTable.example.json +1 -34
  255. package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +28 -2
  256. package/src/components/TariffsTable/TariffsTable.tsx +6 -13
  257. package/src/components/TariffsTable/TariffsTable.ui.json +0 -3
  258. package/src/components/TariffsTable/TariffsTableCell.tsx +37 -35
  259. package/src/components/TariffsTable/TariffsTableContent.ts +7 -84
  260. package/src/components/TariffsTable/TariffsTableRow.tsx +9 -49
  261. package/src/components/TariffsTable/TariffsTableRowContainer.tsx +7 -13
  262. package/src/components/TariffsTable/TariffsTableWrapper.tsx +5 -25
  263. package/src/components/TariffsTable/dataFixture.tsx +9 -22
  264. package/src/components/TariffsTable/renderCell.tsx +42 -0
  265. package/src/components/TariffsTable/renderHeader.tsx +19 -0
  266. package/src/components/TariffsTable/renderInnerTableCell.tsx +0 -0
  267. package/src/model/onClick.ts +3 -0
  268. package/src/model/onClose.ts +3 -0
  269. package/src/retail/components/DraftDialog/DraftActionButton.tsx +5 -3
  270. package/src/ui-kit/InnerTable/InnerTable.fixture.mobile.tsx +1 -4
  271. package/src/ui-kit/InnerTable/InnerTable.fixture.tsx +1 -4
  272. package/src/ui-kit/InnerTable/InnerTable.tsx +2 -6
  273. package/src/ui-kit/InnerTable/InnerTableBody.tsx +19 -21
  274. package/src/ui-kit/InnerTable/InnerTableButton.tsx +2 -4
  275. package/src/ui-kit/InnerTable/InnerTableProps.ts +2 -4
  276. package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +1 -1
  277. package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +1 -1
  278. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  279. package/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
  280. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  281. package/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  282. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  283. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  284. package/bundle/components/TariffsTable/constants.d.ts +0 -4
  285. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  286. package/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
  287. package/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  288. package/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
  289. package/dist/components/TariffsTable/TableTileHeader.js +0 -8
  290. package/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
  291. package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  292. package/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
  293. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  294. package/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  295. package/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
  296. package/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  297. package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  298. package/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
  299. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  300. package/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  301. package/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
  302. package/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  303. package/dist/components/TariffsTable/constants.d.ts +0 -4
  304. package/dist/components/TariffsTable/constants.js +0 -7
  305. package/dist/components/TariffsTable/constants.js.map +0 -1
  306. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  307. package/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
  308. package/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  309. package/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
  310. package/lib/components/TariffsTable/TableTileHeader.js +0 -6
  311. package/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
  312. package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  313. package/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
  314. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  315. package/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  316. package/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
  317. package/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  318. package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  319. package/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
  320. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  321. package/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  322. package/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
  323. package/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  324. package/lib/components/TariffsTable/constants.d.ts +0 -4
  325. package/lib/components/TariffsTable/constants.js +0 -5
  326. package/lib/components/TariffsTable/constants.js.map +0 -1
  327. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  328. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +0 -2
  329. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  330. package/mobile/bundle/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  331. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  332. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  333. package/mobile/bundle/components/TariffsTable/constants.d.ts +0 -4
  334. package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  335. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +0 -25
  336. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  337. package/mobile/dist/components/TariffsTable/TableTileHeader.d.ts +0 -2
  338. package/mobile/dist/components/TariffsTable/TableTileHeader.js +0 -8
  339. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +0 -1
  340. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  341. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +0 -8
  342. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  343. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  344. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js +0 -41
  345. package/mobile/dist/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  346. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  347. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +0 -17
  348. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  349. package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  350. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +0 -7
  351. package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  352. package/mobile/dist/components/TariffsTable/constants.d.ts +0 -4
  353. package/mobile/dist/components/TariffsTable/constants.js +0 -7
  354. package/mobile/dist/components/TariffsTable/constants.js.map +0 -1
  355. package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +0 -20
  356. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +0 -23
  357. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +0 -1
  358. package/mobile/lib/components/TariffsTable/TableTileHeader.d.ts +0 -2
  359. package/mobile/lib/components/TariffsTable/TableTileHeader.js +0 -6
  360. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +0 -1
  361. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +0 -2
  362. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +0 -6
  363. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +0 -1
  364. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.d.ts +0 -12
  365. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js +0 -39
  366. package/mobile/lib/components/TariffsTable/TariffsTableRenderCell.js.map +0 -1
  367. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +0 -6
  368. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +0 -15
  369. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +0 -1
  370. package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +0 -2
  371. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +0 -5
  372. package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +0 -1
  373. package/mobile/lib/components/TariffsTable/constants.d.ts +0 -4
  374. package/mobile/lib/components/TariffsTable/constants.js +0 -5
  375. package/mobile/lib/components/TariffsTable/constants.js.map +0 -1
  376. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
  377. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +0 -15
  378. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
  379. package/mobile/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
  380. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
  381. package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
  382. package/mobile/src/components/TariffsTable/constants.ts +0 -4
  383. package/src/components/TariffsTable/EmbeddableCellData.tsx +0 -79
  384. package/src/components/TariffsTable/TableTileHeader.tsx +0 -15
  385. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +0 -14
  386. package/src/components/TariffsTable/TariffsTableRenderCell.tsx +0 -83
  387. package/src/components/TariffsTable/TariffsTableTileCell.tsx +0 -33
  388. package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -13
  389. package/src/components/TariffsTable/constants.ts +0 -4
@@ -1,83 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
3
- import { type TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
4
- import { EmbeddableCellData } from './EmbeddableCellData';
5
- import { type TariffTableContentProps } from './TariffsTableCell';
6
- import { type CellDef } from './TariffsTableContent';
7
-
8
- interface TariffTableCellInnerProps extends TariffTableContentProps {
9
- cellIdx: number;
10
- rowIdx: number;
11
- }
12
-
13
- interface RenderCellProps {
14
- cell: CellDef;
15
- cellProps: CellProps;
16
- }
17
-
18
- interface CellProps {
19
- isVisible?: boolean;
20
- cellIdx: number;
21
- rowIdx: number;
22
- fieldIdx: number;
23
- displayTable: (props: TariffsTableInnerContent) => void;
24
- }
25
-
26
- export interface RenderCellInnerProps extends TariffTableCellInnerProps {
27
- cell: CellDef;
28
- fieldIdx: number;
29
- }
30
-
31
- export const RenderCellInner = JSX<RenderCellInnerProps>(
32
- ({
33
- cell,
34
- fieldIdx,
35
- rowIdx,
36
- cellIdx,
37
- setTableInner,
38
- tableInner,
39
- openTableInnerIdx,
40
- setOpenTableInnerIdx,
41
- }) => {
42
- const [isVisible, setVisibility] = useState(true);
43
-
44
- useEffect(() => {
45
- if (cellIdx !== openTableInnerIdx || !tableInner) {
46
- setVisibility(true);
47
- }
48
- }, [tableInner, openTableInnerIdx]);
49
-
50
- const displayTable = (props: TariffsTableInnerContent) => {
51
- setVisibility(false);
52
- setOpenTableInnerIdx(cellIdx);
53
- setTableInner(props);
54
- };
55
-
56
- return renderCell({
57
- cell,
58
- cellProps: {
59
- rowIdx,
60
- cellIdx,
61
- fieldIdx,
62
- displayTable,
63
- isVisible,
64
- },
65
- });
66
- },
67
- );
68
-
69
- const renderCell = ({ cell, cellProps }: RenderCellProps) => {
70
- if (!cell) {
71
- return null;
72
- }
73
-
74
- const { tableCellType: type, ...rest } = cell;
75
-
76
- if (!type || !(type in EmbeddableCellData)) {
77
- return null;
78
- }
79
-
80
- const EmbeddableCellInner = EmbeddableCellData[type];
81
-
82
- return <EmbeddableCellInner {...cellProps} {...rest} />;
83
- };
@@ -1,33 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { type VNode } from '../../model/VNode';
3
- import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
4
- import { EmbeddableCellData } from './EmbeddableCellData';
5
- import { TableTileHeader } from './TableTileHeader';
6
- import { type CellDef, type TariffsTableTile } from './TariffsTableContent';
7
-
8
- export interface TariffsTableTileCellProps extends UniBlockProps {
9
- tile?: TariffsTableTile;
10
- }
11
-
12
- export const TariffsTableTileCell = JSX<TariffsTableTileCellProps>(({ tile, ...rest }) => (
13
- <div className="h-full">
14
- <TableTileHeader title={tile?.header?.title} />
15
- {tile?.data?.length
16
- ? tile.data.map((cell, i) => (
17
- <div key={String(i)} className="mb-xs">
18
- {renderCell(cell, rest)}
19
- </div>
20
- ))
21
- : null}
22
- </div>
23
- ));
24
-
25
- function renderCell(cell: CellDef, props: UniBlockProps): VNode {
26
- if (!cell || !cell.tableCellType || !(cell.tableCellType in EmbeddableCellData)) {
27
- return null;
28
- }
29
-
30
- const EmbeddableCellInner = EmbeddableCellData[cell.tableCellType];
31
-
32
- return <EmbeddableCellInner displayTable={() => null} isVisible={true} {...cell} {...props} />;
33
- }
@@ -1,13 +0,0 @@
1
- import { JSX } from '@redneckz/uni-jsx';
2
- import { type TariffsTableProps } from './TariffsTableContent';
3
- import { TariffsTableTileCell } from './TariffsTableTileCell';
4
-
5
- export const TariffsTableVertical = JSX<TariffsTableProps>(({ tiles, ...rest }) =>
6
- tiles?.length ? (
7
- <div className="flex flex-col gap-s">
8
- {tiles.map((tile, i) => (
9
- <TariffsTableTileCell key={String(i)} tile={tile} {...rest} />
10
- ))}
11
- </div>
12
- ) : null,
13
- );
@@ -1,4 +0,0 @@
1
- export const dividerStyle = '@4xl:border-main-divider @4xl:border-b';
2
- export const firstCellStyle = 'w-80 flex-shrink-0';
3
- export const COLS_LENGTH_FOR_SCROLL = 2;
4
- export const COLUMN_WIDTH = 4 * 80 + 40; // w-80 + pl-10 = 360px