@alfalab/core-components-table 2.10.9 → 2.10.10-snapshot-1393ffa

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 (659) hide show
  1. package/component.js +19 -18
  2. package/component.js.map +1 -0
  3. package/components/index.js +19 -18
  4. package/components/index.js.map +1 -0
  5. package/components/pagination/Component.js +8 -9
  6. package/components/pagination/Component.js.map +1 -0
  7. package/components/pagination/index.css +15 -36
  8. package/components/pagination/index.js +3 -2
  9. package/components/pagination/index.js.map +1 -0
  10. package/components/pagination/index.module.css.js +8 -0
  11. package/components/pagination/index.module.css.js.map +1 -0
  12. package/components/pagination/select-field/index.css +5 -27
  13. package/components/pagination/select-field/index.js +3 -4
  14. package/components/pagination/select-field/index.js.map +1 -0
  15. package/components/pagination/select-field/index.module.css.js +8 -0
  16. package/components/pagination/select-field/index.module.css.js.map +1 -0
  17. package/components/table/Component.js +11 -12
  18. package/components/table/Component.js.map +1 -0
  19. package/components/table/index.css +12 -33
  20. package/components/table/index.js +3 -2
  21. package/components/table/index.js.map +1 -0
  22. package/components/table/index.module.css.js +8 -0
  23. package/components/table/index.module.css.js.map +1 -0
  24. package/components/table/utils.js +3 -2
  25. package/components/table/utils.js.map +1 -0
  26. package/components/table-context/index.js +1 -0
  27. package/components/table-context/index.js.map +1 -0
  28. package/components/tbody/Component.js +3 -4
  29. package/components/tbody/Component.js.map +1 -0
  30. package/components/tbody/index.css +1 -24
  31. package/components/tbody/index.js +3 -2
  32. package/components/tbody/index.js.map +1 -0
  33. package/components/tbody/index.module.css.js +8 -0
  34. package/components/tbody/index.module.css.js.map +1 -0
  35. package/components/tcell/Component.js +7 -8
  36. package/components/tcell/Component.js.map +1 -0
  37. package/components/tcell/index.css +11 -32
  38. package/components/tcell/index.js +3 -2
  39. package/components/tcell/index.js.map +1 -0
  40. package/components/tcell/index.module.css.js +8 -0
  41. package/components/tcell/index.module.css.js.map +1 -0
  42. package/components/texpandable-row/Component.js +7 -8
  43. package/components/texpandable-row/Component.js.map +1 -0
  44. package/components/texpandable-row/index.css +5 -27
  45. package/components/texpandable-row/index.js +3 -2
  46. package/components/texpandable-row/index.js.map +1 -0
  47. package/components/texpandable-row/index.module.css.js +8 -0
  48. package/components/texpandable-row/index.module.css.js.map +1 -0
  49. package/components/thead/Component.js +4 -5
  50. package/components/thead/Component.js.map +1 -0
  51. package/components/thead/index.css +8 -29
  52. package/components/thead/index.js +3 -2
  53. package/components/thead/index.js.map +1 -0
  54. package/components/thead/index.module.css.js +8 -0
  55. package/components/thead/index.module.css.js.map +1 -0
  56. package/components/thead-cell/Component.js +6 -7
  57. package/components/thead-cell/Component.js.map +1 -0
  58. package/components/thead-cell/index.css +14 -35
  59. package/components/thead-cell/index.js +3 -2
  60. package/components/thead-cell/index.js.map +1 -0
  61. package/components/thead-cell/index.module.css.js +8 -0
  62. package/components/thead-cell/index.module.css.js.map +1 -0
  63. package/components/trow/Component.js +6 -7
  64. package/components/trow/Component.js.map +1 -0
  65. package/components/trow/index.css +11 -32
  66. package/components/trow/index.js +3 -2
  67. package/components/trow/index.js.map +1 -0
  68. package/components/trow/index.module.css.js +8 -0
  69. package/components/trow/index.module.css.js.map +1 -0
  70. package/components/tsortable-head-cell/Component.js +12 -13
  71. package/components/tsortable-head-cell/Component.js.map +1 -0
  72. package/components/tsortable-head-cell/index.css +10 -36
  73. package/components/tsortable-head-cell/index.js +3 -2
  74. package/components/tsortable-head-cell/index.js.map +1 -0
  75. package/components/tsortable-head-cell/index.module.css.js +8 -0
  76. package/components/tsortable-head-cell/index.module.css.js.map +1 -0
  77. package/components/tsortable-head-cell/sort-icon-asc.js +1 -0
  78. package/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
  79. package/components/tsortable-head-cell/sort-icon-desc.js +1 -0
  80. package/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
  81. package/components/tsortable-head-cell/sort-icon-unset.js +1 -0
  82. package/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
  83. package/cssm/component.js +19 -18
  84. package/cssm/component.js.map +1 -0
  85. package/cssm/components/index.js +19 -18
  86. package/cssm/components/index.js.map +1 -0
  87. package/cssm/components/pagination/Component.js +7 -6
  88. package/cssm/components/pagination/Component.js.map +1 -0
  89. package/cssm/components/pagination/index.js +3 -2
  90. package/cssm/components/pagination/index.js.map +1 -0
  91. package/cssm/components/pagination/index.module.css +8 -28
  92. package/cssm/components/pagination/select-field/index.js +3 -2
  93. package/cssm/components/pagination/select-field/index.js.map +1 -0
  94. package/cssm/components/pagination/select-field/index.module.css +3 -24
  95. package/cssm/components/table/Component.js +5 -4
  96. package/cssm/components/table/Component.js.map +1 -0
  97. package/cssm/components/table/index.js +3 -2
  98. package/cssm/components/table/index.js.map +1 -0
  99. package/cssm/components/table/index.module.css +7 -27
  100. package/cssm/components/table/utils.js +3 -2
  101. package/cssm/components/table/utils.js.map +1 -0
  102. package/cssm/components/table-context/index.js +1 -0
  103. package/cssm/components/table-context/index.js.map +1 -0
  104. package/cssm/components/tbody/Component.js +1 -0
  105. package/cssm/components/tbody/Component.js.map +1 -0
  106. package/cssm/components/tbody/index.js +3 -2
  107. package/cssm/components/tbody/index.js.map +1 -0
  108. package/cssm/components/tbody/index.module.css +1 -23
  109. package/cssm/components/tcell/Component.js +5 -4
  110. package/cssm/components/tcell/Component.js.map +1 -0
  111. package/cssm/components/tcell/index.js +3 -2
  112. package/cssm/components/tcell/index.js.map +1 -0
  113. package/cssm/components/tcell/index.module.css +7 -27
  114. package/cssm/components/texpandable-row/Component.js +3 -2
  115. package/cssm/components/texpandable-row/Component.js.map +1 -0
  116. package/cssm/components/texpandable-row/index.js +3 -2
  117. package/cssm/components/texpandable-row/index.js.map +1 -0
  118. package/cssm/components/texpandable-row/index.module.css +2 -23
  119. package/cssm/components/thead/Component.js +1 -0
  120. package/cssm/components/thead/Component.js.map +1 -0
  121. package/cssm/components/thead/index.js +3 -2
  122. package/cssm/components/thead/index.js.map +1 -0
  123. package/cssm/components/thead/index.module.css +4 -24
  124. package/cssm/components/thead-cell/Component.js +3 -2
  125. package/cssm/components/thead-cell/Component.js.map +1 -0
  126. package/cssm/components/thead-cell/index.js +3 -2
  127. package/cssm/components/thead-cell/index.js.map +1 -0
  128. package/cssm/components/thead-cell/index.module.css +7 -27
  129. package/cssm/components/trow/Component.js +1 -0
  130. package/cssm/components/trow/Component.js.map +1 -0
  131. package/cssm/components/trow/index.js +3 -2
  132. package/cssm/components/trow/index.js.map +1 -0
  133. package/cssm/components/trow/index.module.css +5 -25
  134. package/cssm/components/tsortable-head-cell/Component.js +8 -7
  135. package/cssm/components/tsortable-head-cell/Component.js.map +1 -0
  136. package/cssm/components/tsortable-head-cell/index.js +3 -2
  137. package/cssm/components/tsortable-head-cell/index.js.map +1 -0
  138. package/cssm/components/tsortable-head-cell/index.module.css +4 -29
  139. package/cssm/components/tsortable-head-cell/sort-icon-asc.js +1 -0
  140. package/cssm/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
  141. package/cssm/components/tsortable-head-cell/sort-icon-desc.js +1 -0
  142. package/cssm/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
  143. package/cssm/components/tsortable-head-cell/sort-icon-unset.js +1 -0
  144. package/cssm/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
  145. package/cssm/index.js +1 -0
  146. package/cssm/index.js.map +1 -0
  147. package/{component.d.ts → cssm/src/component.d.ts} +8 -9
  148. package/cssm/src/components/index.d.ts +9 -0
  149. package/{esm → cssm/src}/components/pagination/Component.d.ts +3 -4
  150. package/cssm/src/components/pagination/index.d.ts +1 -0
  151. package/cssm/src/components/pagination/select-field/index.d.ts +2 -0
  152. package/cssm/{components → src/components}/table/Component.d.ts +3 -6
  153. package/cssm/src/components/table/index.d.ts +1 -0
  154. package/cssm/src/components/table/utils.d.ts +3 -0
  155. package/cssm/src/components/table-context/index.d.ts +17 -0
  156. package/{esm → cssm/src}/components/tbody/Component.d.ts +3 -6
  157. package/cssm/src/components/tbody/index.d.ts +1 -0
  158. package/cssm/{components → src/components}/tcell/Component.d.ts +3 -6
  159. package/cssm/src/components/tcell/index.d.ts +1 -0
  160. package/cssm/src/components/texpandable-row/Component.d.ts +22 -0
  161. package/cssm/src/components/texpandable-row/index.d.ts +1 -0
  162. package/{esm → cssm/src}/components/thead/Component.d.ts +3 -6
  163. package/cssm/src/components/thead/index.d.ts +1 -0
  164. package/{components → cssm/src/components}/thead-cell/Component.d.ts +4 -7
  165. package/cssm/src/components/thead-cell/index.d.ts +1 -0
  166. package/{esm → cssm/src}/components/trow/Component.d.ts +6 -8
  167. package/cssm/src/components/trow/index.d.ts +1 -0
  168. package/cssm/src/components/tsortable-head-cell/Component.d.ts +8 -0
  169. package/cssm/src/components/tsortable-head-cell/index.d.ts +1 -0
  170. package/cssm/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
  171. package/cssm/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
  172. package/cssm/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
  173. package/cssm/src/index.d.ts +1 -0
  174. package/cssm/src/typings.d.ts +1 -0
  175. package/cssm/src/utils.d.ts +2 -0
  176. package/cssm/typings.js +1 -0
  177. package/cssm/typings.js.map +1 -0
  178. package/cssm/utils.js +1 -0
  179. package/cssm/utils.js.map +1 -0
  180. package/esm/component.js +1 -0
  181. package/esm/component.js.map +1 -0
  182. package/esm/components/index.js +1 -0
  183. package/esm/components/index.js.map +1 -0
  184. package/esm/components/pagination/Component.js +2 -3
  185. package/esm/components/pagination/Component.js.map +1 -0
  186. package/esm/components/pagination/index.css +15 -36
  187. package/esm/components/pagination/index.js +1 -0
  188. package/esm/components/pagination/index.js.map +1 -0
  189. package/esm/components/pagination/index.module.css.js +6 -0
  190. package/esm/components/pagination/index.module.css.js.map +1 -0
  191. package/esm/components/pagination/select-field/index.css +5 -27
  192. package/esm/components/pagination/select-field/index.js +2 -3
  193. package/esm/components/pagination/select-field/index.js.map +1 -0
  194. package/esm/components/pagination/select-field/index.module.css.js +6 -0
  195. package/esm/components/pagination/select-field/index.module.css.js.map +1 -0
  196. package/esm/components/table/Component.js +2 -3
  197. package/esm/components/table/Component.js.map +1 -0
  198. package/esm/components/table/index.css +12 -33
  199. package/esm/components/table/index.js +1 -0
  200. package/esm/components/table/index.js.map +1 -0
  201. package/esm/components/table/index.module.css.js +6 -0
  202. package/esm/components/table/index.module.css.js.map +1 -0
  203. package/esm/components/table/utils.js +1 -0
  204. package/esm/components/table/utils.js.map +1 -0
  205. package/esm/components/table-context/index.js +1 -0
  206. package/esm/components/table-context/index.js.map +1 -0
  207. package/esm/components/tbody/Component.js +2 -3
  208. package/esm/components/tbody/Component.js.map +1 -0
  209. package/esm/components/tbody/index.css +1 -24
  210. package/esm/components/tbody/index.js +1 -0
  211. package/esm/components/tbody/index.js.map +1 -0
  212. package/esm/components/tbody/index.module.css.js +6 -0
  213. package/esm/components/tbody/index.module.css.js.map +1 -0
  214. package/esm/components/tcell/Component.js +2 -3
  215. package/esm/components/tcell/Component.js.map +1 -0
  216. package/esm/components/tcell/index.css +11 -32
  217. package/esm/components/tcell/index.js +1 -0
  218. package/esm/components/tcell/index.js.map +1 -0
  219. package/esm/components/tcell/index.module.css.js +6 -0
  220. package/esm/components/tcell/index.module.css.js.map +1 -0
  221. package/esm/components/texpandable-row/Component.js +2 -3
  222. package/esm/components/texpandable-row/Component.js.map +1 -0
  223. package/esm/components/texpandable-row/index.css +5 -27
  224. package/esm/components/texpandable-row/index.js +1 -0
  225. package/esm/components/texpandable-row/index.js.map +1 -0
  226. package/esm/components/texpandable-row/index.module.css.js +6 -0
  227. package/esm/components/texpandable-row/index.module.css.js.map +1 -0
  228. package/esm/components/thead/Component.js +2 -3
  229. package/esm/components/thead/Component.js.map +1 -0
  230. package/esm/components/thead/index.css +8 -29
  231. package/esm/components/thead/index.js +1 -0
  232. package/esm/components/thead/index.js.map +1 -0
  233. package/esm/components/thead/index.module.css.js +6 -0
  234. package/esm/components/thead/index.module.css.js.map +1 -0
  235. package/esm/components/thead-cell/Component.js +2 -3
  236. package/esm/components/thead-cell/Component.js.map +1 -0
  237. package/esm/components/thead-cell/index.css +14 -35
  238. package/esm/components/thead-cell/index.js +1 -0
  239. package/esm/components/thead-cell/index.js.map +1 -0
  240. package/esm/components/thead-cell/index.module.css.js +6 -0
  241. package/esm/components/thead-cell/index.module.css.js.map +1 -0
  242. package/esm/components/trow/Component.js +2 -3
  243. package/esm/components/trow/Component.js.map +1 -0
  244. package/esm/components/trow/index.css +11 -32
  245. package/esm/components/trow/index.js +1 -0
  246. package/esm/components/trow/index.js.map +1 -0
  247. package/esm/components/trow/index.module.css.js +6 -0
  248. package/esm/components/trow/index.module.css.js.map +1 -0
  249. package/esm/components/tsortable-head-cell/Component.js +2 -3
  250. package/esm/components/tsortable-head-cell/Component.js.map +1 -0
  251. package/esm/components/tsortable-head-cell/index.css +10 -36
  252. package/esm/components/tsortable-head-cell/index.js +1 -0
  253. package/esm/components/tsortable-head-cell/index.js.map +1 -0
  254. package/esm/components/tsortable-head-cell/index.module.css.js +6 -0
  255. package/esm/components/tsortable-head-cell/index.module.css.js.map +1 -0
  256. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -0
  257. package/esm/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
  258. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -0
  259. package/esm/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
  260. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -0
  261. package/esm/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
  262. package/esm/index.js +1 -0
  263. package/esm/index.js.map +1 -0
  264. package/esm/{component.d.ts → src/component.d.ts} +8 -9
  265. package/esm/src/components/index.d.ts +9 -0
  266. package/{cssm → esm/src}/components/pagination/Component.d.ts +3 -4
  267. package/esm/src/components/pagination/index.d.ts +1 -0
  268. package/esm/src/components/pagination/select-field/index.d.ts +2 -0
  269. package/{components → esm/src/components}/table/Component.d.ts +3 -6
  270. package/esm/src/components/table/index.d.ts +1 -0
  271. package/esm/src/components/table/utils.d.ts +3 -0
  272. package/esm/src/components/table-context/index.d.ts +17 -0
  273. package/{cssm → esm/src}/components/tbody/Component.d.ts +3 -6
  274. package/esm/src/components/tbody/index.d.ts +1 -0
  275. package/{components → esm/src/components}/tcell/Component.d.ts +3 -6
  276. package/esm/src/components/tcell/index.d.ts +1 -0
  277. package/esm/src/components/texpandable-row/Component.d.ts +22 -0
  278. package/esm/src/components/texpandable-row/index.d.ts +1 -0
  279. package/{modern → esm/src}/components/thead/Component.d.ts +3 -6
  280. package/esm/src/components/thead/index.d.ts +1 -0
  281. package/esm/{components → src/components}/thead-cell/Component.d.ts +4 -7
  282. package/esm/src/components/thead-cell/index.d.ts +1 -0
  283. package/{modern → esm/src}/components/trow/Component.d.ts +6 -8
  284. package/esm/src/components/trow/index.d.ts +1 -0
  285. package/esm/src/components/tsortable-head-cell/Component.d.ts +8 -0
  286. package/esm/src/components/tsortable-head-cell/index.d.ts +1 -0
  287. package/esm/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
  288. package/esm/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
  289. package/esm/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
  290. package/esm/src/index.d.ts +1 -0
  291. package/esm/src/typings.d.ts +1 -0
  292. package/esm/src/utils.d.ts +2 -0
  293. package/esm/typings.js +1 -0
  294. package/esm/typings.js.map +1 -0
  295. package/esm/utils.js +1 -0
  296. package/esm/utils.js.map +1 -0
  297. package/index.js +1 -0
  298. package/index.js.map +1 -0
  299. package/modern/component.js +1 -0
  300. package/modern/component.js.map +1 -0
  301. package/modern/components/index.js +1 -0
  302. package/modern/components/index.js.map +1 -0
  303. package/modern/components/pagination/Component.js +2 -3
  304. package/modern/components/pagination/Component.js.map +1 -0
  305. package/modern/components/pagination/index.css +15 -36
  306. package/modern/components/pagination/index.js +1 -0
  307. package/modern/components/pagination/index.js.map +1 -0
  308. package/modern/components/pagination/index.module.css.js +6 -0
  309. package/modern/components/pagination/index.module.css.js.map +1 -0
  310. package/modern/components/pagination/select-field/index.css +5 -27
  311. package/modern/components/pagination/select-field/index.js +2 -3
  312. package/modern/components/pagination/select-field/index.js.map +1 -0
  313. package/modern/components/pagination/select-field/index.module.css.js +6 -0
  314. package/modern/components/pagination/select-field/index.module.css.js.map +1 -0
  315. package/modern/components/table/Component.js +2 -3
  316. package/modern/components/table/Component.js.map +1 -0
  317. package/modern/components/table/index.css +12 -33
  318. package/modern/components/table/index.js +1 -0
  319. package/modern/components/table/index.js.map +1 -0
  320. package/modern/components/table/index.module.css.js +6 -0
  321. package/modern/components/table/index.module.css.js.map +1 -0
  322. package/modern/components/table/utils.js +1 -0
  323. package/modern/components/table/utils.js.map +1 -0
  324. package/modern/components/table-context/index.js +1 -0
  325. package/modern/components/table-context/index.js.map +1 -0
  326. package/modern/components/tbody/Component.js +2 -3
  327. package/modern/components/tbody/Component.js.map +1 -0
  328. package/modern/components/tbody/index.css +1 -24
  329. package/modern/components/tbody/index.js +1 -0
  330. package/modern/components/tbody/index.js.map +1 -0
  331. package/modern/components/tbody/index.module.css.js +6 -0
  332. package/modern/components/tbody/index.module.css.js.map +1 -0
  333. package/modern/components/tcell/Component.js +2 -3
  334. package/modern/components/tcell/Component.js.map +1 -0
  335. package/modern/components/tcell/index.css +11 -32
  336. package/modern/components/tcell/index.js +1 -0
  337. package/modern/components/tcell/index.js.map +1 -0
  338. package/modern/components/tcell/index.module.css.js +6 -0
  339. package/modern/components/tcell/index.module.css.js.map +1 -0
  340. package/modern/components/texpandable-row/Component.js +2 -3
  341. package/modern/components/texpandable-row/Component.js.map +1 -0
  342. package/modern/components/texpandable-row/index.css +5 -27
  343. package/modern/components/texpandable-row/index.js +1 -0
  344. package/modern/components/texpandable-row/index.js.map +1 -0
  345. package/modern/components/texpandable-row/index.module.css.js +6 -0
  346. package/modern/components/texpandable-row/index.module.css.js.map +1 -0
  347. package/modern/components/thead/Component.js +2 -3
  348. package/modern/components/thead/Component.js.map +1 -0
  349. package/modern/components/thead/index.css +8 -29
  350. package/modern/components/thead/index.js +1 -0
  351. package/modern/components/thead/index.js.map +1 -0
  352. package/modern/components/thead/index.module.css.js +6 -0
  353. package/modern/components/thead/index.module.css.js.map +1 -0
  354. package/modern/components/thead-cell/Component.js +2 -3
  355. package/modern/components/thead-cell/Component.js.map +1 -0
  356. package/modern/components/thead-cell/index.css +14 -35
  357. package/modern/components/thead-cell/index.js +1 -0
  358. package/modern/components/thead-cell/index.js.map +1 -0
  359. package/modern/components/thead-cell/index.module.css.js +6 -0
  360. package/modern/components/thead-cell/index.module.css.js.map +1 -0
  361. package/modern/components/trow/Component.js +2 -3
  362. package/modern/components/trow/Component.js.map +1 -0
  363. package/modern/components/trow/index.css +11 -32
  364. package/modern/components/trow/index.js +1 -0
  365. package/modern/components/trow/index.js.map +1 -0
  366. package/modern/components/trow/index.module.css.js +6 -0
  367. package/modern/components/trow/index.module.css.js.map +1 -0
  368. package/modern/components/tsortable-head-cell/Component.js +2 -3
  369. package/modern/components/tsortable-head-cell/Component.js.map +1 -0
  370. package/modern/components/tsortable-head-cell/index.css +10 -36
  371. package/modern/components/tsortable-head-cell/index.js +1 -0
  372. package/modern/components/tsortable-head-cell/index.js.map +1 -0
  373. package/modern/components/tsortable-head-cell/index.module.css.js +6 -0
  374. package/modern/components/tsortable-head-cell/index.module.css.js.map +1 -0
  375. package/modern/components/tsortable-head-cell/sort-icon-asc.js +1 -0
  376. package/modern/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
  377. package/modern/components/tsortable-head-cell/sort-icon-desc.js +1 -0
  378. package/modern/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
  379. package/modern/components/tsortable-head-cell/sort-icon-unset.js +1 -0
  380. package/modern/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
  381. package/modern/index.js +1 -0
  382. package/modern/index.js.map +1 -0
  383. package/{cssm → modern/src}/component.d.ts +8 -9
  384. package/modern/src/components/index.d.ts +9 -0
  385. package/{components → modern/src/components}/pagination/Component.d.ts +3 -4
  386. package/modern/src/components/pagination/index.d.ts +1 -0
  387. package/modern/src/components/pagination/select-field/index.d.ts +2 -0
  388. package/{esm → modern/src}/components/table/Component.d.ts +3 -6
  389. package/modern/src/components/table/index.d.ts +1 -0
  390. package/modern/src/components/table/utils.d.ts +3 -0
  391. package/modern/src/components/table-context/index.d.ts +17 -0
  392. package/modern/{components → src/components}/tbody/Component.d.ts +3 -6
  393. package/modern/src/components/tbody/index.d.ts +1 -0
  394. package/{esm → modern/src}/components/tcell/Component.d.ts +3 -6
  395. package/modern/src/components/tcell/index.d.ts +1 -0
  396. package/modern/src/components/texpandable-row/Component.d.ts +22 -0
  397. package/modern/src/components/texpandable-row/index.d.ts +1 -0
  398. package/{components → modern/src/components}/thead/Component.d.ts +3 -6
  399. package/modern/src/components/thead/index.d.ts +1 -0
  400. package/{cssm → modern/src}/components/thead-cell/Component.d.ts +4 -7
  401. package/modern/src/components/thead-cell/index.d.ts +1 -0
  402. package/{cssm → modern/src}/components/trow/Component.d.ts +6 -8
  403. package/modern/src/components/trow/index.d.ts +1 -0
  404. package/modern/src/components/tsortable-head-cell/Component.d.ts +8 -0
  405. package/modern/src/components/tsortable-head-cell/index.d.ts +1 -0
  406. package/modern/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
  407. package/modern/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
  408. package/modern/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
  409. package/modern/src/index.d.ts +1 -0
  410. package/modern/src/typings.d.ts +1 -0
  411. package/modern/src/utils.d.ts +2 -0
  412. package/modern/typings.js +1 -0
  413. package/modern/typings.js.map +1 -0
  414. package/modern/utils.js +1 -0
  415. package/modern/utils.js.map +1 -0
  416. package/moderncssm/component.js +1 -0
  417. package/moderncssm/component.js.map +1 -0
  418. package/moderncssm/components/index.js +1 -0
  419. package/moderncssm/components/index.js.map +1 -0
  420. package/moderncssm/components/pagination/Component.js +1 -0
  421. package/moderncssm/components/pagination/Component.js.map +1 -0
  422. package/moderncssm/components/pagination/index.js +1 -0
  423. package/moderncssm/components/pagination/index.js.map +1 -0
  424. package/moderncssm/components/pagination/index.module.css +0 -2
  425. package/moderncssm/components/pagination/select-field/index.js +1 -0
  426. package/moderncssm/components/pagination/select-field/index.js.map +1 -0
  427. package/moderncssm/components/pagination/select-field/index.module.css +0 -2
  428. package/moderncssm/components/table/Component.js +1 -0
  429. package/moderncssm/components/table/Component.js.map +1 -0
  430. package/moderncssm/components/table/index.js +1 -0
  431. package/moderncssm/components/table/index.js.map +1 -0
  432. package/moderncssm/components/table/index.module.css +0 -4
  433. package/moderncssm/components/table/utils.js +1 -0
  434. package/moderncssm/components/table/utils.js.map +1 -0
  435. package/moderncssm/components/table-context/index.js +1 -0
  436. package/moderncssm/components/table-context/index.js.map +1 -0
  437. package/moderncssm/components/tbody/Component.js +1 -0
  438. package/moderncssm/components/tbody/Component.js.map +1 -0
  439. package/moderncssm/components/tbody/index.js +1 -0
  440. package/moderncssm/components/tbody/index.js.map +1 -0
  441. package/moderncssm/components/tbody/index.module.css +0 -2
  442. package/moderncssm/components/tcell/Component.js +1 -0
  443. package/moderncssm/components/tcell/Component.js.map +1 -0
  444. package/moderncssm/components/tcell/index.js +1 -0
  445. package/moderncssm/components/tcell/index.js.map +1 -0
  446. package/moderncssm/components/tcell/index.module.css +0 -2
  447. package/moderncssm/components/texpandable-row/Component.js +1 -0
  448. package/moderncssm/components/texpandable-row/Component.js.map +1 -0
  449. package/moderncssm/components/texpandable-row/index.js +1 -0
  450. package/moderncssm/components/texpandable-row/index.js.map +1 -0
  451. package/moderncssm/components/texpandable-row/index.module.css +0 -2
  452. package/moderncssm/components/thead/Component.js +1 -0
  453. package/moderncssm/components/thead/Component.js.map +1 -0
  454. package/moderncssm/components/thead/index.js +1 -0
  455. package/moderncssm/components/thead/index.js.map +1 -0
  456. package/moderncssm/components/thead/index.module.css +0 -2
  457. package/moderncssm/components/thead-cell/Component.js +1 -0
  458. package/moderncssm/components/thead-cell/Component.js.map +1 -0
  459. package/moderncssm/components/thead-cell/index.js +1 -0
  460. package/moderncssm/components/thead-cell/index.js.map +1 -0
  461. package/moderncssm/components/thead-cell/index.module.css +0 -2
  462. package/moderncssm/components/trow/Component.js +1 -0
  463. package/moderncssm/components/trow/Component.js.map +1 -0
  464. package/moderncssm/components/trow/index.js +1 -0
  465. package/moderncssm/components/trow/index.js.map +1 -0
  466. package/moderncssm/components/trow/index.module.css +1 -3
  467. package/moderncssm/components/tsortable-head-cell/Component.js +1 -0
  468. package/moderncssm/components/tsortable-head-cell/Component.js.map +1 -0
  469. package/moderncssm/components/tsortable-head-cell/index.js +1 -0
  470. package/moderncssm/components/tsortable-head-cell/index.js.map +1 -0
  471. package/moderncssm/components/tsortable-head-cell/index.module.css +0 -7
  472. package/moderncssm/components/tsortable-head-cell/sort-icon-asc.js +1 -0
  473. package/moderncssm/components/tsortable-head-cell/sort-icon-asc.js.map +1 -0
  474. package/moderncssm/components/tsortable-head-cell/sort-icon-desc.js +1 -0
  475. package/moderncssm/components/tsortable-head-cell/sort-icon-desc.js.map +1 -0
  476. package/moderncssm/components/tsortable-head-cell/sort-icon-unset.js +1 -0
  477. package/moderncssm/components/tsortable-head-cell/sort-icon-unset.js.map +1 -0
  478. package/moderncssm/index.js +1 -0
  479. package/moderncssm/index.js.map +1 -0
  480. package/{modern → moderncssm/src}/component.d.ts +8 -9
  481. package/moderncssm/src/components/index.d.ts +9 -0
  482. package/{modern → moderncssm/src}/components/pagination/Component.d.ts +3 -4
  483. package/moderncssm/src/components/pagination/index.d.ts +1 -0
  484. package/moderncssm/src/components/pagination/select-field/index.d.ts +2 -0
  485. package/{modern → moderncssm/src}/components/table/Component.d.ts +3 -6
  486. package/moderncssm/src/components/table/index.d.ts +1 -0
  487. package/moderncssm/src/components/table/utils.d.ts +3 -0
  488. package/moderncssm/src/components/table-context/index.d.ts +17 -0
  489. package/{components → moderncssm/src/components}/tbody/Component.d.ts +3 -6
  490. package/moderncssm/src/components/tbody/index.d.ts +1 -0
  491. package/{modern → moderncssm/src}/components/tcell/Component.d.ts +3 -6
  492. package/moderncssm/src/components/tcell/index.d.ts +1 -0
  493. package/moderncssm/src/components/texpandable-row/Component.d.ts +22 -0
  494. package/moderncssm/src/components/texpandable-row/index.d.ts +1 -0
  495. package/{cssm → moderncssm/src}/components/thead/Component.d.ts +3 -6
  496. package/moderncssm/src/components/thead/index.d.ts +1 -0
  497. package/{modern → moderncssm/src}/components/thead-cell/Component.d.ts +4 -7
  498. package/moderncssm/src/components/thead-cell/index.d.ts +1 -0
  499. package/{components → moderncssm/src/components}/trow/Component.d.ts +6 -8
  500. package/moderncssm/src/components/trow/index.d.ts +1 -0
  501. package/moderncssm/src/components/tsortable-head-cell/Component.d.ts +8 -0
  502. package/moderncssm/src/components/tsortable-head-cell/index.d.ts +1 -0
  503. package/moderncssm/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
  504. package/moderncssm/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
  505. package/moderncssm/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
  506. package/moderncssm/src/index.d.ts +1 -0
  507. package/moderncssm/src/typings.d.ts +1 -0
  508. package/moderncssm/src/utils.d.ts +2 -0
  509. package/moderncssm/typings.js +1 -0
  510. package/moderncssm/typings.js.map +1 -0
  511. package/moderncssm/utils.js +1 -0
  512. package/moderncssm/utils.js.map +1 -0
  513. package/package.json +6 -6
  514. package/src/component.d.ts +41 -0
  515. package/src/components/index.d.ts +9 -0
  516. package/src/components/pagination/Component.d.ts +25 -0
  517. package/src/components/pagination/index.d.ts +1 -0
  518. package/src/components/pagination/select-field/index.d.ts +2 -0
  519. package/src/components/table/Component.d.ts +69 -0
  520. package/src/components/table/index.d.ts +1 -0
  521. package/src/components/table/utils.d.ts +3 -0
  522. package/src/components/table-context/index.d.ts +17 -0
  523. package/src/components/tbody/Component.d.ts +21 -0
  524. package/src/components/tbody/index.d.ts +1 -0
  525. package/src/components/tcell/Component.d.ts +16 -0
  526. package/src/components/tcell/index.d.ts +1 -0
  527. package/src/components/texpandable-row/Component.d.ts +22 -0
  528. package/src/components/texpandable-row/index.d.ts +1 -0
  529. package/src/components/thead/Component.d.ts +16 -0
  530. package/src/components/thead/index.d.ts +1 -0
  531. package/src/components/thead-cell/Component.d.ts +25 -0
  532. package/src/components/thead-cell/index.d.ts +1 -0
  533. package/src/components/trow/Component.d.ts +48 -0
  534. package/src/components/trow/index.d.ts +1 -0
  535. package/src/components/tsortable-head-cell/Component.d.ts +8 -0
  536. package/src/components/tsortable-head-cell/index.d.ts +1 -0
  537. package/src/components/tsortable-head-cell/sort-icon-asc.d.ts +2 -0
  538. package/src/components/tsortable-head-cell/sort-icon-desc.d.ts +2 -0
  539. package/src/components/tsortable-head-cell/sort-icon-unset.d.ts +2 -0
  540. package/src/index.d.ts +1 -0
  541. package/src/typings.d.ts +1 -0
  542. package/src/utils.d.ts +2 -0
  543. package/typings.js +1 -0
  544. package/typings.js.map +1 -0
  545. package/utils.js +1 -0
  546. package/utils.js.map +1 -0
  547. package/components/index.d.ts +0 -9
  548. package/components/pagination/index.d.ts +0 -1
  549. package/components/pagination/select-field/index.d.ts +0 -3
  550. package/components/table/index.d.ts +0 -1
  551. package/components/table/utils.d.ts +0 -5
  552. package/components/table-context/index.d.ts +0 -20
  553. package/components/tbody/index.d.ts +0 -1
  554. package/components/tcell/index.d.ts +0 -1
  555. package/components/texpandable-row/Component.d.ts +0 -25
  556. package/components/texpandable-row/index.d.ts +0 -1
  557. package/components/thead/index.d.ts +0 -1
  558. package/components/thead-cell/index.d.ts +0 -1
  559. package/components/trow/index.d.ts +0 -1
  560. package/components/tsortable-head-cell/Component.d.ts +0 -10
  561. package/components/tsortable-head-cell/index.d.ts +0 -1
  562. package/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
  563. package/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
  564. package/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
  565. package/cssm/components/index.d.ts +0 -9
  566. package/cssm/components/pagination/index.d.ts +0 -1
  567. package/cssm/components/pagination/select-field/index.d.ts +0 -3
  568. package/cssm/components/table/index.d.ts +0 -1
  569. package/cssm/components/table/utils.d.ts +0 -5
  570. package/cssm/components/table-context/index.d.ts +0 -20
  571. package/cssm/components/tbody/index.d.ts +0 -1
  572. package/cssm/components/tcell/index.d.ts +0 -1
  573. package/cssm/components/texpandable-row/Component.d.ts +0 -25
  574. package/cssm/components/texpandable-row/index.d.ts +0 -1
  575. package/cssm/components/thead/index.d.ts +0 -1
  576. package/cssm/components/thead-cell/index.d.ts +0 -1
  577. package/cssm/components/trow/index.d.ts +0 -1
  578. package/cssm/components/tsortable-head-cell/Component.d.ts +0 -10
  579. package/cssm/components/tsortable-head-cell/index.d.ts +0 -1
  580. package/cssm/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
  581. package/cssm/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
  582. package/cssm/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
  583. package/cssm/index.d.ts +0 -1
  584. package/cssm/typings.d.ts +0 -2
  585. package/cssm/utils.d.ts +0 -4
  586. package/esm/components/index.d.ts +0 -9
  587. package/esm/components/pagination/index.d.ts +0 -1
  588. package/esm/components/pagination/select-field/index.d.ts +0 -3
  589. package/esm/components/table/index.d.ts +0 -1
  590. package/esm/components/table/utils.d.ts +0 -5
  591. package/esm/components/table-context/index.d.ts +0 -20
  592. package/esm/components/tbody/index.d.ts +0 -1
  593. package/esm/components/tcell/index.d.ts +0 -1
  594. package/esm/components/texpandable-row/Component.d.ts +0 -25
  595. package/esm/components/texpandable-row/index.d.ts +0 -1
  596. package/esm/components/thead/index.d.ts +0 -1
  597. package/esm/components/thead-cell/index.d.ts +0 -1
  598. package/esm/components/trow/index.d.ts +0 -1
  599. package/esm/components/tsortable-head-cell/Component.d.ts +0 -10
  600. package/esm/components/tsortable-head-cell/index.d.ts +0 -1
  601. package/esm/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
  602. package/esm/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
  603. package/esm/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
  604. package/esm/index.d.ts +0 -1
  605. package/esm/typings.d.ts +0 -2
  606. package/esm/utils.d.ts +0 -4
  607. package/index.d.ts +0 -1
  608. package/modern/components/index.d.ts +0 -9
  609. package/modern/components/pagination/index.d.ts +0 -1
  610. package/modern/components/pagination/select-field/index.d.ts +0 -3
  611. package/modern/components/table/index.d.ts +0 -1
  612. package/modern/components/table/utils.d.ts +0 -5
  613. package/modern/components/table-context/index.d.ts +0 -20
  614. package/modern/components/tbody/index.d.ts +0 -1
  615. package/modern/components/tcell/index.d.ts +0 -1
  616. package/modern/components/texpandable-row/Component.d.ts +0 -25
  617. package/modern/components/texpandable-row/index.d.ts +0 -1
  618. package/modern/components/thead/index.d.ts +0 -1
  619. package/modern/components/thead-cell/index.d.ts +0 -1
  620. package/modern/components/trow/index.d.ts +0 -1
  621. package/modern/components/tsortable-head-cell/Component.d.ts +0 -10
  622. package/modern/components/tsortable-head-cell/index.d.ts +0 -1
  623. package/modern/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
  624. package/modern/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
  625. package/modern/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
  626. package/modern/index.d.ts +0 -1
  627. package/modern/typings.d.ts +0 -2
  628. package/modern/utils.d.ts +0 -4
  629. package/moderncssm/component.d.ts +0 -42
  630. package/moderncssm/components/index.d.ts +0 -9
  631. package/moderncssm/components/pagination/Component.d.ts +0 -26
  632. package/moderncssm/components/pagination/index.d.ts +0 -1
  633. package/moderncssm/components/pagination/select-field/index.d.ts +0 -3
  634. package/moderncssm/components/table/Component.d.ts +0 -72
  635. package/moderncssm/components/table/index.d.ts +0 -1
  636. package/moderncssm/components/table/utils.d.ts +0 -5
  637. package/moderncssm/components/table-context/index.d.ts +0 -20
  638. package/moderncssm/components/tbody/Component.d.ts +0 -24
  639. package/moderncssm/components/tbody/index.d.ts +0 -1
  640. package/moderncssm/components/tcell/Component.d.ts +0 -19
  641. package/moderncssm/components/tcell/index.d.ts +0 -1
  642. package/moderncssm/components/texpandable-row/Component.d.ts +0 -25
  643. package/moderncssm/components/texpandable-row/index.d.ts +0 -1
  644. package/moderncssm/components/thead/Component.d.ts +0 -19
  645. package/moderncssm/components/thead/index.d.ts +0 -1
  646. package/moderncssm/components/thead-cell/Component.d.ts +0 -28
  647. package/moderncssm/components/thead-cell/index.d.ts +0 -1
  648. package/moderncssm/components/trow/Component.d.ts +0 -50
  649. package/moderncssm/components/trow/index.d.ts +0 -1
  650. package/moderncssm/components/tsortable-head-cell/Component.d.ts +0 -10
  651. package/moderncssm/components/tsortable-head-cell/index.d.ts +0 -1
  652. package/moderncssm/components/tsortable-head-cell/sort-icon-asc.d.ts +0 -5
  653. package/moderncssm/components/tsortable-head-cell/sort-icon-desc.d.ts +0 -5
  654. package/moderncssm/components/tsortable-head-cell/sort-icon-unset.d.ts +0 -5
  655. package/moderncssm/index.d.ts +0 -1
  656. package/moderncssm/typings.d.ts +0 -2
  657. package/moderncssm/utils.d.ts +0 -4
  658. package/typings.d.ts +0 -2
  659. package/utils.d.ts +0 -4
package/component.js CHANGED
@@ -2,25 +2,26 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_table_Component = require('./components/table/Component.js');
6
- var components_pagination_Component = require('./components/pagination/Component.js');
7
- var components_thead_Component = require('./components/thead/Component.js');
8
- var components_theadCell_Component = require('./components/thead-cell/Component.js');
9
- var components_tsortableHeadCell_Component = require('./components/tsortable-head-cell/Component.js');
10
- var components_tbody_Component = require('./components/tbody/Component.js');
11
- var components_tcell_Component = require('./components/tcell/Component.js');
12
- var components_trow_Component = require('./components/trow/Component.js');
13
- var components_texpandableRow_Component = require('./components/texpandable-row/Component.js');
5
+ var Component = require('./components/table/Component.js');
6
+ var Component$1 = require('./components/pagination/Component.js');
7
+ var Component$7 = require('./components/thead/Component.js');
8
+ var Component$6 = require('./components/thead-cell/Component.js');
9
+ var Component$5 = require('./components/tsortable-head-cell/Component.js');
10
+ var Component$8 = require('./components/tbody/Component.js');
11
+ var Component$4 = require('./components/tcell/Component.js');
12
+ var Component$3 = require('./components/trow/Component.js');
13
+ var Component$2 = require('./components/texpandable-row/Component.js');
14
14
 
15
- var Table = Object.assign(components_table_Component.Table, {
16
- TBody: components_tbody_Component.TBody,
17
- THead: components_thead_Component.THead,
18
- THeadCell: components_theadCell_Component.THeadCell,
19
- TSortableHeadCell: components_tsortableHeadCell_Component.TSortableHeadCell,
20
- TCell: components_tcell_Component.TCell,
21
- TRow: components_trow_Component.TRow,
22
- TExpandableRow: components_texpandableRow_Component.TExpandableRow,
23
- Pagination: components_pagination_Component.Pagination,
15
+ var Table = Object.assign(Component.Table, {
16
+ TBody: Component$8.TBody,
17
+ THead: Component$7.THead,
18
+ THeadCell: Component$6.THeadCell,
19
+ TSortableHeadCell: Component$5.TSortableHeadCell,
20
+ TCell: Component$4.TCell,
21
+ TRow: Component$3.TRow,
22
+ TExpandableRow: Component$2.TExpandableRow,
23
+ Pagination: Component$1.Pagination,
24
24
  });
25
25
 
26
26
  exports.Table = Table;
27
+ //# sourceMappingURL=component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component.js","sources":["../src/component.tsx"],"sourcesContent":["import {\n Pagination,\n Table as TableComponent,\n TBody,\n TCell,\n TExpandableRow,\n THead,\n THeadCell,\n TRow,\n TSortableHeadCell,\n} from './components';\n\nexport const Table = Object.assign(TableComponent, {\n TBody,\n THead,\n THeadCell,\n TSortableHeadCell,\n TCell,\n TRow,\n TExpandableRow,\n Pagination,\n});\n"],"names":["TableComponent","TBody","THead","THeadCell","TSortableHeadCell","TCell","TRow","TExpandableRow","Pagination"],"mappings":";;;;;;;;;;;;;;IAYa,KAAK,GAAG,MAAM,CAAC,MAAM,CAACA,eAAc,EAAE;AAC/C,IAAA,KAAK,EAAAC,iBAAA;AACL,IAAA,KAAK,EAAAC,iBAAA;AACL,IAAA,SAAS,EAAAC,qBAAA;AACT,IAAA,iBAAiB,EAAAC,6BAAA;AACjB,IAAA,KAAK,EAAAC,iBAAA;AACL,IAAA,IAAI,EAAAC,gBAAA;AACJ,IAAA,cAAc,EAAAC,0BAAA;AACd,IAAA,UAAU,EAAAC,sBAAA;AACb,CAAA;;;;"}
@@ -2,24 +2,25 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_table_Component = require('./table/Component.js');
6
- var components_pagination_Component = require('./pagination/Component.js');
7
- var components_thead_Component = require('./thead/Component.js');
8
- var components_theadCell_Component = require('./thead-cell/Component.js');
9
- var components_tsortableHeadCell_Component = require('./tsortable-head-cell/Component.js');
10
- var components_tbody_Component = require('./tbody/Component.js');
11
- var components_tcell_Component = require('./tcell/Component.js');
12
- var components_trow_Component = require('./trow/Component.js');
13
- var components_texpandableRow_Component = require('./texpandable-row/Component.js');
5
+ var Component = require('./table/Component.js');
6
+ var Component$1 = require('./pagination/Component.js');
7
+ var Component$2 = require('./thead/Component.js');
8
+ var Component$3 = require('./thead-cell/Component.js');
9
+ var Component$4 = require('./tsortable-head-cell/Component.js');
10
+ var Component$5 = require('./tbody/Component.js');
11
+ var Component$6 = require('./tcell/Component.js');
12
+ var Component$7 = require('./trow/Component.js');
13
+ var Component$8 = require('./texpandable-row/Component.js');
14
14
 
15
15
 
16
16
 
17
- exports.Table = components_table_Component.Table;
18
- exports.Pagination = components_pagination_Component.Pagination;
19
- exports.THead = components_thead_Component.THead;
20
- exports.THeadCell = components_theadCell_Component.THeadCell;
21
- exports.TSortableHeadCell = components_tsortableHeadCell_Component.TSortableHeadCell;
22
- exports.TBody = components_tbody_Component.TBody;
23
- exports.TCell = components_tcell_Component.TCell;
24
- exports.TRow = components_trow_Component.TRow;
25
- exports.TExpandableRow = components_texpandableRow_Component.TExpandableRow;
17
+ exports.Table = Component.Table;
18
+ exports.Pagination = Component$1.Pagination;
19
+ exports.THead = Component$2.THead;
20
+ exports.THeadCell = Component$3.THeadCell;
21
+ exports.TSortableHeadCell = Component$4.TSortableHeadCell;
22
+ exports.TBody = Component$5.TBody;
23
+ exports.TCell = Component$6.TCell;
24
+ exports.TRow = Component$7.TRow;
25
+ exports.TExpandableRow = Component$8.TExpandableRow;
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,20 +7,18 @@ var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var coreComponentsPagination = require('@alfalab/core-components-pagination');
9
9
  var desktop = require('@alfalab/core-components-select/desktop');
10
- var components_tableContext_index = require('../table-context/index.js');
11
- var components_pagination_selectField_index = require('./select-field/index.js');
10
+ var index = require('../table-context/index.js');
11
+ var index$1 = require('./select-field/index.js');
12
+ var index_module = require('./index.module.css.js');
12
13
 
13
14
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
14
15
 
15
16
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
17
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
18
 
18
- var styles = {"component":"table__component_14767","pagesWrapper":"table__pagesWrapper_14767","tag":"table__tag_14767","tagActive":"table__tagActive_14767","pagination":"table__pagination_14767","menu":"table__menu_14767","option":"table__option_14767"};
19
- require('./index.css')
20
-
21
19
  var Pagination = function (_a) {
22
20
  var _b = _a.perPage, perPage = _b === void 0 ? 25 : _b, _c = _a.possiblePerPage, possiblePerPage = _c === void 0 ? [25, 50, 100] : _c, _d = _a.onPerPageChange, onPerPageChange = _d === void 0 ? function () { return null; } : _d, _e = _a.hidePerPageSelect, hidePerPageSelect = _e === void 0 ? false : _e, pagesCount = _a.pagesCount, _f = _a.onPageChange, onPageChange = _f === void 0 ? function () { return null; } : _f, className = _a.className, dataTestId = _a.dataTestId, restPaginationProps = tslib.__rest(_a, ["perPage", "possiblePerPage", "onPerPageChange", "hidePerPageSelect", "pagesCount", "onPageChange", "className", "dataTestId"]);
23
- var wrapperRef = React.useContext(components_tableContext_index.TableContext).wrapperRef;
21
+ var wrapperRef = React.useContext(index.TableContext).wrapperRef;
24
22
  var options = React.useMemo(function () {
25
23
  return Array.from(new Set(possiblePerPage.concat(perPage)))
26
24
  .sort(function (a, b) { return a - b; })
@@ -41,9 +39,10 @@ var Pagination = function (_a) {
41
39
  }
42
40
  }, 0);
43
41
  }, [onPageChange, wrapperRef]);
44
- return (React__default.default.createElement("div", { className: cn__default.default(styles.component, className), "data-test-id": dataTestId },
45
- hidePerPageSelect === false && (React__default.default.createElement(desktop.SelectDesktop, { options: options, selected: perPage.toString(), onChange: handlePerPageChange, preventFlip: false, size: 's', className: styles.select, optionsListClassName: styles.menu, optionClassName: styles.option, Field: components_pagination_selectField_index.CustomSelectField })),
46
- pagesCount > 1 && (React__default.default.createElement(coreComponentsPagination.Pagination, tslib.__assign({ pagesCount: pagesCount, onPageChange: handlePageChange, className: styles.pagination }, restPaginationProps)))));
42
+ return (React__default.default.createElement("div", { className: cn__default.default(index_module.component, className), "data-test-id": dataTestId },
43
+ hidePerPageSelect === false && (React__default.default.createElement(desktop.SelectDesktop, { options: options, selected: perPage.toString(), onChange: handlePerPageChange, preventFlip: false, size: 's', className: index_module.select, optionsListClassName: index_module.menu, optionClassName: index_module.option, Field: index$1.CustomSelectField })),
44
+ pagesCount > 1 && (React__default.default.createElement(coreComponentsPagination.Pagination, tslib.__assign({ pagesCount: pagesCount, onPageChange: handlePageChange, className: index_module.pagination }, restPaginationProps)))));
47
45
  };
48
46
 
49
47
  exports.Pagination = Pagination;
48
+ //# sourceMappingURL=Component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.js","sources":["../../../src/components/pagination/Component.tsx"],"sourcesContent":["import React, { FC, useCallback, useContext, useMemo } from 'react';\nimport cn from 'classnames';\n\nimport {\n Pagination as CorePagination,\n PaginationProps as CorePaginationProps,\n} from '@alfalab/core-components-pagination';\nimport { SelectDesktop, SelectDesktopProps } from '@alfalab/core-components-select/desktop';\nimport { BaseSelectChangePayload } from '@alfalab/core-components-select/shared';\n\nimport { TableContext } from '../table-context';\n\nimport { CustomSelectField } from './select-field';\n\nimport styles from './index.module.css';\n\nexport type PaginationProps = CorePaginationProps & {\n /**\n * Количество строк на страницу\n */\n perPage?: number;\n\n /**\n * Возможные варианты разбивки\n */\n possiblePerPage?: number[];\n\n /**\n * Обработчик переключения perPage\n */\n onPerPageChange?: (perPage: number) => void;\n\n /**\n * Скрывает переключатель количества строк на страницу\n */\n hidePerPageSelect?: boolean;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n};\n\nexport const Pagination: FC<PaginationProps> = ({\n perPage = 25,\n possiblePerPage = [25, 50, 100],\n onPerPageChange = () => null,\n hidePerPageSelect = false,\n pagesCount,\n onPageChange = () => null,\n className,\n dataTestId,\n ...restPaginationProps\n}) => {\n const { wrapperRef } = useContext(TableContext);\n\n const options = useMemo(\n () =>\n Array.from(new Set<number>(possiblePerPage.concat(perPage)))\n .sort((a, b) => a - b)\n .map((value) => ({\n key: value.toString(),\n content: `Показывать по ${value}`,\n })),\n [perPage, possiblePerPage],\n );\n\n const handlePerPageChange: SelectDesktopProps['onChange'] = useCallback(\n ({ selected }: BaseSelectChangePayload) => {\n onPerPageChange(Number(selected?.key));\n },\n [onPerPageChange],\n );\n\n const handlePageChange = useCallback(\n (pageIndex: number) => {\n onPageChange(pageIndex);\n\n setTimeout(() => {\n if (wrapperRef.current) {\n wrapperRef.current.scrollIntoView();\n }\n }, 0);\n },\n [onPageChange, wrapperRef],\n );\n\n return (\n <div className={cn(styles.component, className)} data-test-id={dataTestId}>\n {hidePerPageSelect === false && (\n <SelectDesktop\n options={options}\n selected={perPage.toString()}\n onChange={handlePerPageChange}\n preventFlip={false}\n size='s'\n className={styles.select}\n optionsListClassName={styles.menu}\n optionClassName={styles.option}\n Field={CustomSelectField}\n />\n )}\n\n {pagesCount > 1 && (\n <CorePagination\n pagesCount={pagesCount}\n onPageChange={handlePageChange}\n className={styles.pagination}\n {...restPaginationProps}\n />\n )}\n </div>\n );\n};\n"],"names":["__rest","useContext","TableContext","useMemo","useCallback","React","cn","styles","SelectDesktop","CustomSelectField","CorePagination","__assign"],"mappings":";;;;;;;;;;;;;;;;;;AA2CO,IAAM,UAAU,GAAwB,UAAC,EAU/C,EAAA;AATG,IAAA,IAAA,EAAY,GAAA,EAAA,CAAA,OAAA,EAAZ,OAAO,GAAA,EAAA,KAAA,MAAA,GAAG,EAAE,GAAA,EAAA,EACZ,EAAA,GAAA,EAAA,CAAA,eAA+B,EAA/B,eAAe,GAAG,EAAA,KAAA,MAAA,GAAA,CAAC,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,GAAA,EAAA,EAC/B,EAA4B,GAAA,EAAA,CAAA,eAAA,EAA5B,eAAe,GAAA,EAAA,KAAA,MAAA,GAAG,YAAM,EAAA,OAAA,IAAI,CAAA,EAAA,GAAA,EAAA,EAC5B,EAAA,GAAA,EAAA,CAAA,iBAAyB,EAAzB,iBAAiB,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,GAAA,EAAA,EACzB,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,EAAA,GAAA,EAAA,CAAA,YAAyB,EAAzB,YAAY,GAAG,EAAA,KAAA,MAAA,GAAA,YAAA,EAAM,OAAA,IAAI,CAAJ,EAAI,GAAA,EAAA,EACzB,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,UAAU,GAAA,EAAA,CAAA,UAAA,EACP,mBAAmB,GAAAA,YAAA,CAAA,EAAA,EATsB,+HAU/C,CADyB;AAEd,IAAA,IAAA,UAAU,GAAKC,gBAAU,CAACC,kBAAY,CAAC,WAA7B;IAElB,IAAM,OAAO,GAAGC,aAAO,CACnB,YAAA;AACI,QAAA,OAAA,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAS,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACtD,aAAA,IAAI,CAAC,UAAC,CAAC,EAAE,CAAC,EAAA,EAAK,OAAA,CAAC,GAAG,CAAC,CAAL,EAAK;AACpB,aAAA,GAAG,CAAC,UAAC,KAAK,EAAA,EAAK,QAAC;AACb,YAAA,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE;YACrB,OAAO,EAAE,4EAAiB,CAAA,MAAA,CAAA,KAAK,CAAE;SACpC,EAAC,EAAA,CAAC;AALP,KAKO,EACX,CAAC,OAAO,EAAE,eAAe,CAAC,CAC7B;AAED,IAAA,IAAM,mBAAmB,GAAmCC,iBAAW,CACnE,UAAC,EAAqC,EAAA;AAAnC,QAAA,IAAA,QAAQ,GAAA,EAAA,CAAA,QAAA;AACP,QAAA,eAAe,CAAC,MAAM,CAAC,QAAQ,KAAR,IAAA,IAAA,QAAQ,KAAR,MAAA,GAAA,MAAA,GAAA,QAAQ,CAAE,GAAG,CAAC,CAAC;AAC1C,KAAC,EACD,CAAC,eAAe,CAAC,CACpB;AAED,IAAA,IAAM,gBAAgB,GAAGA,iBAAW,CAChC,UAAC,SAAiB,EAAA;QACd,YAAY,CAAC,SAAS,CAAC;AAEvB,QAAA,UAAU,CAAC,YAAA;YACP,IAAI,UAAU,CAAC,OAAO,EAAE;AACpB,gBAAA,UAAU,CAAC,OAAO,CAAC,cAAc,EAAE;AACtC;SACJ,EAAE,CAAC,CAAC;AACT,KAAC,EACD,CAAC,YAAY,EAAE,UAAU,CAAC,CAC7B;AAED,IAAA,QACIC,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,SAAS,EAAE,SAAS,CAAC,kBAAgB,UAAU,EAAA;QACpE,iBAAiB,KAAK,KAAK,KACxBF,sBAAA,CAAA,aAAA,CAACG,qBAAa,EACV,EAAA,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,EAC5B,QAAQ,EAAE,mBAAmB,EAC7B,WAAW,EAAE,KAAK,EAClB,IAAI,EAAC,GAAG,EACR,SAAS,EAAED,YAAM,CAAC,MAAM,EACxB,oBAAoB,EAAEA,YAAM,CAAC,IAAI,EACjC,eAAe,EAAEA,YAAM,CAAC,MAAM,EAC9B,KAAK,EAAEE,yBAAiB,EAAA,CAC1B,CACL;QAEA,UAAU,GAAG,CAAC,KACXJ,sBAAA,CAAA,aAAA,CAACK,mCAAc,EAAAC,cAAA,CAAA,EACX,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,gBAAgB,EAC9B,SAAS,EAAEJ,YAAM,CAAC,UAAU,EACxB,EAAA,mBAAmB,CACzB,CAAA,CACL,CACC;AAEd;;;;"}
@@ -1,39 +1,18 @@
1
- /* hash: 1aqre */
2
- :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
- } /* deprecated */ :root {
4
- --color-light-neutral-400: #d2d3d9; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
1
+ :root {
2
+ --color-light-neutral-400: #d2d3d9;
7
3
  } :root {
8
-
9
- /* Hard */
10
-
11
- /* Up */
12
-
13
- /* Hard up */
14
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
15
-
16
- /* новые значения, используйте их */
17
- } :root { /* deprecated */
18
- --gap-2xs: 4px; /* deprecated */
19
- --gap-xs: 8px; /* deprecated */ /* deprecated */ /* deprecated */
20
- --gap-m: 16px; /* deprecated */ /* deprecated */
21
- --gap-xl: 24px; /* deprecated */
22
- --gap-2xl: 32px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
23
-
24
- /* новые значения, используйте их */
25
-
26
- /* no-unit может приводить к проблемам в calc (#1559) */
27
- /* stylelint-disable-next-line length-zero-no-unit */
4
+ --gap-2xs: 4px;
5
+ --gap-xs: 8px;
6
+ --gap-m: 16px;
7
+ --gap-xl: 24px;
8
+ --gap-2xl: 32px;
28
9
  --gap-0: 0px;
29
10
  --gap-4: var(--gap-2xs);
30
11
  --gap-8: var(--gap-xs);
31
12
  --gap-16: var(--gap-m);
32
13
  --gap-24: var(--gap-xl);
33
14
  --gap-32: var(--gap-2xl);
34
- } :root {
35
- } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
36
- } /* сбрасывает синюю подсветку при нажатии */ .table__component_14767 {
15
+ } .table__component_12rll {
37
16
  position: sticky;
38
17
  left: var(--gap-0);
39
18
  display: flex;
@@ -43,21 +22,21 @@
43
22
  padding: var(--gap-24) var(--gap-16) var(--gap-32);
44
23
  border-top: 1px solid var(--color-light-neutral-400);
45
24
  box-sizing: border-box;
46
- } .table__pagesWrapper_14767 {
25
+ } .table__pagesWrapper_12rll {
47
26
  display: flex;
48
- } .table__tag_14767.table__tag_14767 {
27
+ } .table__tag_12rll.table__tag_12rll {
49
28
  flex-shrink: 0;
50
29
  margin-right: var(--gap-8);
51
30
  padding: var(--gap-0) var(--gap-8);
52
31
  min-width: 32px
53
- } .table__tag_14767.table__tag_14767:last-child {
32
+ } .table__tag_12rll.table__tag_12rll:last-child {
54
33
  margin-right: var(--gap-0);
55
- } .table__tag_14767.table__tag_14767.table__tagActive_14767 {
34
+ } .table__tag_12rll.table__tag_12rll.table__tagActive_12rll {
56
35
  cursor: default;
57
- } .table__pagination_14767 {
36
+ } .table__pagination_12rll {
58
37
  margin-left: auto;
59
- } .table__menu_14767 {
38
+ } .table__menu_12rll {
60
39
  margin: var(--gap-4) var(--gap-0);
61
- } .table__option_14767 {
40
+ } .table__option_12rll {
62
41
  min-width: 208px;
63
42
  }
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var components_pagination_Component = require('./Component.js');
5
+ var Component = require('./Component.js');
6
6
 
7
7
 
8
8
 
9
- exports.Pagination = components_pagination_Component.Pagination;
9
+ exports.Pagination = Component.Pagination;
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ require('./index.css');
4
+
5
+ var styles = {"component":"table__component_12rll","pagination":"table__pagination_12rll","menu":"table__menu_12rll","option":"table__option_12rll"};
6
+
7
+ module.exports = styles;
8
+ //# sourceMappingURL=index.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.css.js","sources":["../../src/components/pagination/index.module.css"],"sourcesContent":["@import '../../../../vars/src/index.css';\n\n.component {\n position: sticky;\n left: var(--gap-0);\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n width: 100%;\n padding: var(--gap-24) var(--gap-16) var(--gap-32);\n border-top: 1px solid var(--color-light-neutral-400);\n box-sizing: border-box;\n}\n\n.pagesWrapper {\n display: flex;\n}\n\n.tag.tag {\n flex-shrink: 0;\n margin-right: var(--gap-8);\n padding: var(--gap-0) var(--gap-8);\n min-width: 32px;\n\n &:last-child {\n margin-right: var(--gap-0);\n }\n\n &.tagActive {\n cursor: default;\n }\n}\n\n.pagination {\n margin-left: auto;\n}\n\n.menu {\n margin: var(--gap-4) var(--gap-0);\n}\n\n.option {\n min-width: 208px;\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,WAAW,CAAC,wBAAwB,CAA0G,YAAY,CAAC,yBAAyB,CAAC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,CAAC,qBAAqB,CAAC;;;;"}
@@ -1,31 +1,9 @@
1
- /* hash: u8op1 */
2
- :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
- } /* deprecated */ :root {
4
- --color-light-neutral-translucent-200-hover: rgba(15, 25, 55, 0.1); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
5
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
6
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
7
- } :root {
8
-
9
- /* Hard */
10
-
11
- /* Up */
12
-
13
- /* Hard up */
14
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
15
-
16
- /* новые значения, используйте их */
17
- } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
18
-
19
- /* новые значения, используйте их */
20
-
21
- /* no-unit может приводить к проблемам в calc (#1559) */
22
- /* stylelint-disable-next-line length-zero-no-unit */
23
- } :root {
24
- } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
25
- } /* сбрасывает синюю подсветку при нажатии */ .table__field_glam4 svg {
1
+ :root {
2
+ --color-light-neutral-translucent-200-hover: rgba(15, 25, 55, 0.1);
3
+ } .table__field_kqo88 svg {
26
4
  width: 18px;
27
5
  height: 18px;
28
- } .table__open_glam4,
29
- .table__open_glam4:hover {
6
+ } .table__open_kqo88,
7
+ .table__open_kqo88:hover {
30
8
  background-color: var(--color-light-neutral-translucent-200-hover);
31
9
  }
@@ -6,21 +6,20 @@ var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var coreComponentsButton = require('@alfalab/core-components-button');
9
+ var index_module = require('./index.module.css.js');
9
10
 
10
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
12
 
12
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
15
 
15
- var styles = {"field":"table__field_glam4","open":"table__open_glam4"};
16
- require('./index.css')
17
-
18
16
  var CustomSelectField = function (_a) {
19
17
  var _b;
20
18
  var selected = _a.selected, innerProps = _a.innerProps, Arrow = _a.Arrow, open = _a.open;
21
19
  var ref = innerProps.ref, restInnerProps = tslib.__rest(innerProps, ["ref"]);
22
20
  return (React__default.default.createElement("div", { ref: ref },
23
- React__default.default.createElement(coreComponentsButton.Button, tslib.__assign({}, restInnerProps, { size: 'xxs', view: 'transparent', className: cn__default.default(styles.field, (_b = {}, _b[styles.open] = open, _b)), rightAddons: Arrow }), selected === null || selected === void 0 ? void 0 : selected.content)));
21
+ React__default.default.createElement(coreComponentsButton.Button, tslib.__assign({}, restInnerProps, { size: 'xxs', view: 'transparent', className: cn__default.default(index_module.field, (_b = {}, _b[index_module.open] = open, _b)), rightAddons: Arrow }), selected === null || selected === void 0 ? void 0 : selected.content)));
24
22
  };
25
23
 
26
24
  exports.CustomSelectField = CustomSelectField;
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/pagination/select-field/index.tsx"],"sourcesContent":["import React from 'react';\nimport cn from 'classnames';\n\nimport { Button, ButtonProps } from '@alfalab/core-components-button';\nimport { SelectProps } from '@alfalab/core-components-select';\n\nimport styles from './index.module.css';\n\nexport const CustomSelectField: SelectProps['Field'] = ({ selected, innerProps, Arrow, open }) => {\n const { ref, ...restInnerProps } = innerProps;\n\n return (\n <div ref={ref}>\n <Button\n {...(restInnerProps as ButtonProps)}\n size='xxs'\n view='transparent'\n className={cn(styles.field, { [styles.open]: open })}\n rightAddons={Arrow}\n >\n {selected?.content}\n </Button>\n </div>\n );\n};\n"],"names":["__rest","React","Button","__assign","cn","styles"],"mappings":";;;;;;;;;;;;;;;AAQO,IAAM,iBAAiB,GAAyB,UAAC,EAAqC,EAAA;;QAAnC,QAAQ,GAAA,EAAA,CAAA,QAAA,EAAE,UAAU,GAAA,EAAA,CAAA,UAAA,EAAE,KAAK,GAAA,EAAA,CAAA,KAAA,EAAE,IAAI,GAAA,EAAA,CAAA,IAAA;IAC/E,IAAA,GAAG,GAAwB,UAAU,CAAlC,GAAA,EAAK,cAAc,GAAAA,YAAA,CAAK,UAAU,EAAvC,CAA0B,KAAA,CAAA,CAAF;AAE9B,IAAA,QACIC,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,GAAG,EAAA;AACT,QAAAA,sBAAA,CAAA,aAAA,CAACC,2BAAM,EACEC,cAAA,CAAA,EAAA,EAAA,cAA8B,IACnC,IAAI,EAAC,KAAK,EACV,IAAI,EAAC,aAAa,EAClB,SAAS,EAAEC,mBAAE,CAACC,YAAM,CAAC,KAAK,GAAI,EAAA,GAAA,EAAA,EAAA,EAAA,CAACA,YAAM,CAAC,IAAI,CAAG,GAAA,IAAI,MAAG,EACpD,WAAW,EAAE,KAAK,EAAA,CAAA,EAEjB,QAAQ,KAAR,IAAA,IAAA,QAAQ,uBAAR,QAAQ,CAAE,OAAO,CACb,CACP;AAEd;;;;"}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ require('./index.css');
4
+
5
+ var styles = {"field":"table__field_kqo88","open":"table__open_kqo88"};
6
+
7
+ module.exports = styles;
8
+ //# sourceMappingURL=index.module.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.module.css.js","sources":["../../../src/components/pagination/select-field/index.module.css"],"sourcesContent":["@import '../../../../../vars/src/index.css';\n\n.field {\n & svg {\n width: 18px;\n height: 18px;\n }\n}\n\n.open,\n.open:hover {\n background-color: var(--color-light-neutral-translucent-200-hover);\n}\n"],"names":[],"mappings":";;;;AAEgB,aAAe,CAAC,OAAO,CAAC,oBAAoB,CAAC,MAAM,CAAC,mBAAmB,CAAC;;;;"}
@@ -5,23 +5,21 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
- var components_tableContext_index = require('../table-context/index.js');
9
- var components_table_utils = require('./utils.js');
8
+ var index = require('../table-context/index.js');
9
+ var utils = require('./utils.js');
10
+ var index_module = require('./index.module.css.js');
10
11
 
11
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
13
 
13
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
16
 
16
- var styles = {"component":"table__component_vksup","wrapper":"table__wrapper_vksup","stickyHeader":"table__stickyHeader_vksup","hasPagination":"table__hasPagination_vksup","table":"table__table_vksup"};
17
- require('./index.css')
18
-
19
17
  var Table = React.forwardRef(function (_a, ref) {
20
18
  var _b;
21
19
  var className = _a.className, children = _a.children, _c = _a.compactView, compactView = _c === void 0 ? false : _c, _d = _a.compactHorizontal, compactHorizontal = _d === void 0 ? false : _d, _e = _a.wrapper, wrapper = _e === void 0 ? true : _e, pagination = _a.pagination, dataTestId = _a.dataTestId, _f = _a.stickyHeader, stickyHeader = _f === void 0 ? false : _f, restProps = tslib.__rest(_a, ["className", "children", "compactView", "compactHorizontal", "wrapper", "pagination", "dataTestId", "stickyHeader"]);
22
20
  var wrapperRef = React.useRef(null);
23
21
  var columnsConfiguration = React.useMemo(function () {
24
- return components_table_utils.findAllHeadCellsProps(children).map(function (columnProps, index) { return ({
22
+ return utils.findAllHeadCellsProps(children).map(function (columnProps, index) { return ({
25
23
  width: columnProps.width,
26
24
  textAlign: columnProps.textAlign,
27
25
  hidden: columnProps.hidden,
@@ -29,20 +27,21 @@ var Table = React.forwardRef(function (_a, ref) {
29
27
  }); });
30
28
  }, [children]);
31
29
  /* eslint-disable react/jsx-no-constructed-context-values */
32
- return (React__default.default.createElement(components_tableContext_index.TableContext.Provider, { value: {
30
+ return (React__default.default.createElement(index.TableContext.Provider, { value: {
33
31
  stickyHeader: stickyHeader,
34
32
  columnsConfiguration: columnsConfiguration,
35
33
  compactView: compactView,
36
34
  compactHorizontal: compactHorizontal,
37
35
  wrapperRef: wrapperRef,
38
36
  } },
39
- React__default.default.createElement("div", { ref: wrapperRef, className: cn__default.default(styles.component, className, (_b = {},
40
- _b[styles.wrapper] = wrapper,
41
- _b[styles.hasPagination] = !!pagination,
42
- _b[styles.stickyHeader] = stickyHeader,
37
+ React__default.default.createElement("div", { ref: wrapperRef, className: cn__default.default(index_module.component, className, (_b = {},
38
+ _b[index_module.wrapper] = wrapper,
39
+ _b[index_module.hasPagination] = !!pagination,
40
+ _b[index_module.stickyHeader] = stickyHeader,
43
41
  _b)), "data-test-id": dataTestId },
44
- React__default.default.createElement("table", tslib.__assign({ ref: ref, className: styles.table }, restProps), children),
42
+ React__default.default.createElement("table", tslib.__assign({ ref: ref, className: index_module.table }, restProps), children),
45
43
  pagination)));
46
44
  });
47
45
 
48
46
  exports.Table = Table;
47
+ //# sourceMappingURL=Component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Component.js","sources":["../../../src/components/table/Component.tsx"],"sourcesContent":["import React, { forwardRef, ReactNode, TableHTMLAttributes, useMemo, useRef } from 'react';\nimport cn from 'classnames';\n\nimport { ColumnConfiguration, TableContext } from '../table-context';\n\nimport { findAllHeadCellsProps } from './utils';\n\nimport styles from './index.module.css';\n\nexport type TableProps = TableHTMLAttributes<HTMLTableElement> & {\n /**\n * Компактный вид\n */\n compactView?: boolean;\n\n /**\n * Уменьшение горизонтальных паддингов\n */\n compactHorizontal?: boolean;\n\n /**\n * Дополнительный класс\n */\n className?: string;\n\n /**\n * Дочерние компоненты\n */\n children: React.ReactElement | React.ReactElement[];\n\n /**\n * Оборачивает таблицу в стилизованный контейнер\n */\n wrapper?: boolean;\n\n /**\n * Слот для пагинации\n */\n pagination?: ReactNode;\n\n /**\n * Идентификатор для систем автоматизированного тестирования\n */\n dataTestId?: string;\n\n /**\n * Если true то заголовок будет фиксироваться при скроле\n */\n stickyHeader?: boolean;\n};\n\nexport const Table = forwardRef<HTMLTableElement, TableProps>(\n (\n {\n className,\n children,\n compactView = false,\n compactHorizontal = false,\n wrapper = true,\n pagination,\n dataTestId,\n stickyHeader = false,\n ...restProps\n },\n ref,\n ) => {\n const wrapperRef = useRef<HTMLDivElement>(null);\n\n const columnsConfiguration: ColumnConfiguration[] = useMemo(\n () =>\n findAllHeadCellsProps(children).map((columnProps, index) => ({\n width: columnProps.width,\n textAlign: columnProps.textAlign,\n hidden: columnProps.hidden,\n index,\n })),\n [children],\n );\n\n /* eslint-disable react/jsx-no-constructed-context-values */\n return (\n <TableContext.Provider\n value={{\n stickyHeader,\n columnsConfiguration,\n compactView,\n compactHorizontal,\n wrapperRef,\n }}\n >\n <div\n ref={wrapperRef}\n className={cn(styles.component, className, {\n [styles.wrapper]: wrapper,\n [styles.hasPagination]: !!pagination,\n [styles.stickyHeader]: stickyHeader,\n })}\n data-test-id={dataTestId}\n >\n <table ref={ref} className={styles.table} {...restProps}>\n {children}\n </table>\n\n {pagination}\n </div>\n </TableContext.Provider>\n );\n },\n);\n"],"names":["forwardRef","__rest","useRef","useMemo","findAllHeadCellsProps","React","TableContext","cn","styles","__assign"],"mappings":";;;;;;;;;;;;;;;;IAmDa,KAAK,GAAGA,gBAAU,CAC3B,UACI,EAUC,EACD,GAAG,EAAA;;AAVC,IAAA,IAAA,SAAS,GAAA,EAAA,CAAA,SAAA,EACT,QAAQ,GAAA,EAAA,CAAA,QAAA,EACR,mBAAmB,EAAnB,WAAW,mBAAG,KAAK,GAAA,EAAA,EACnB,EAAyB,GAAA,EAAA,CAAA,iBAAA,EAAzB,iBAAiB,GAAG,EAAA,KAAA,MAAA,GAAA,KAAK,KAAA,EACzB,EAAA,GAAA,EAAA,CAAA,OAAc,EAAd,OAAO,GAAA,EAAA,KAAA,MAAA,GAAG,IAAI,GAAA,EAAA,EACd,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,UAAU,GAAA,EAAA,CAAA,UAAA,EACV,oBAAoB,EAApB,YAAY,mBAAG,KAAK,GAAA,EAAA,EACjB,SAAS,GAAAC,YAAA,CAAA,EAAA,EAThB,oHAUC,CADe;AAIhB,IAAA,IAAM,UAAU,GAAGC,YAAM,CAAiB,IAAI,CAAC;IAE/C,IAAM,oBAAoB,GAA0BC,aAAO,CACvD,YAAA;AACI,QAAA,OAAAC,2BAAqB,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,UAAC,WAAW,EAAE,KAAK,EAAA,EAAK,QAAC;YACzD,KAAK,EAAE,WAAW,CAAC,KAAK;YACxB,SAAS,EAAE,WAAW,CAAC,SAAS;YAChC,MAAM,EAAE,WAAW,CAAC,MAAM;AAC1B,YAAA,KAAK,EAAA,KAAA;SACR,EAAC,EAAA,CAAC;AALH,KAKG,EACP,CAAC,QAAQ,CAAC,CACb;;AAGD,IAAA,QACIC,sBAAC,CAAA,aAAA,CAAAC,kBAAY,CAAC,QAAQ,EAAA,EAClB,KAAK,EAAE;AACH,YAAA,YAAY,EAAA,YAAA;AACZ,YAAA,oBAAoB,EAAA,oBAAA;AACpB,YAAA,WAAW,EAAA,WAAA;AACX,YAAA,iBAAiB,EAAA,iBAAA;AACjB,YAAA,UAAU,EAAA,UAAA;AACb,SAAA,EAAA;AAED,QAAAD,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACI,GAAG,EAAE,UAAU,EACf,SAAS,EAAEE,mBAAE,CAACC,YAAM,CAAC,SAAS,EAAE,SAAS,GAAA,EAAA,GAAA,EAAA;AACrC,gBAAA,EAAA,CAACA,YAAM,CAAC,OAAO,CAAA,GAAG,OAAO;AACzB,gBAAA,EAAA,CAACA,YAAM,CAAC,aAAa,CAAG,GAAA,CAAC,CAAC,UAAU;AACpC,gBAAA,EAAA,CAACA,YAAM,CAAC,YAAY,CAAA,GAAG,YAAY;AACrC,gBAAA,EAAA,EAAA,EAAA,cAAA,EACY,UAAU,EAAA;AAExB,YAAAH,sBAAA,CAAA,aAAA,CAAA,OAAA,EAAAI,cAAA,CAAA,EAAO,GAAG,EAAE,GAAG,EAAE,SAAS,EAAED,YAAM,CAAC,KAAK,EAAA,EAAM,SAAS,CAAA,EAClD,QAAQ,CACL;YAEP,UAAU,CACT,CACc;AAEhC,CAAC;;;;"}