@gravity-ui/querieskit 1.1.0 → 1.3.0

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 (1013) hide show
  1. package/.agents/skills/code-review-checklist/SKILL.md +62 -103
  2. package/AGENTS.md +12 -0
  3. package/CHANGELOG.md +29 -0
  4. package/CODEOWNERS +2 -1
  5. package/build/cjs/components/AttachmentList/AttachmentList.css +22 -0
  6. package/build/cjs/components/AttachmentList/AttachmentList.css.map +1 -0
  7. package/build/cjs/components/AttachmentList/AttachmentList.d.ts +17 -0
  8. package/build/cjs/components/AttachmentList/AttachmentList.js +75 -0
  9. package/build/cjs/components/AttachmentList/AttachmentList.js.map +1 -0
  10. package/build/cjs/components/AttachmentList/AttachmentList.stories.d.ts +93 -0
  11. package/build/cjs/components/AttachmentList/AttachmentList.stories.js +323 -0
  12. package/build/cjs/components/AttachmentList/AttachmentList.stories.js.map +1 -0
  13. package/build/cjs/components/AttachmentList/helpers/getIconByAttachmentName.d.ts +2 -0
  14. package/build/cjs/components/AttachmentList/helpers/getIconByAttachmentName.js +36 -0
  15. package/build/cjs/components/AttachmentList/helpers/getIconByAttachmentName.js.map +1 -0
  16. package/build/cjs/components/AttachmentList/helpers/objectLinkValidator.d.ts +11 -0
  17. package/build/cjs/components/AttachmentList/helpers/objectLinkValidator.js +30 -0
  18. package/build/cjs/components/AttachmentList/helpers/objectLinkValidator.js.map +1 -0
  19. package/build/cjs/components/AttachmentList/helpers/stringRequiredValidator.d.ts +2 -0
  20. package/build/cjs/components/AttachmentList/helpers/stringRequiredValidator.js +26 -0
  21. package/build/cjs/components/AttachmentList/helpers/stringRequiredValidator.js.map +1 -0
  22. package/build/cjs/components/AttachmentList/hooks/useKeyDownFormControl.d.ts +4 -0
  23. package/build/cjs/components/AttachmentList/hooks/useKeyDownFormControl.js +27 -0
  24. package/build/cjs/components/AttachmentList/hooks/useKeyDownFormControl.js.map +1 -0
  25. package/build/cjs/components/AttachmentList/hooks/useLabelRef.d.ts +4 -0
  26. package/build/cjs/components/AttachmentList/hooks/useLabelRef.js +35 -0
  27. package/build/cjs/components/AttachmentList/hooks/useLabelRef.js.map +1 -0
  28. package/build/cjs/components/AttachmentList/i18n/dicts.d.ts +23 -0
  29. package/build/cjs/components/AttachmentList/i18n/dicts.js +14 -0
  30. package/build/cjs/components/AttachmentList/i18n/dicts.js.map +1 -0
  31. package/build/cjs/components/AttachmentList/i18n/en.json +10 -0
  32. package/build/cjs/components/AttachmentList/i18n/index.d.ts +6 -0
  33. package/build/cjs/components/AttachmentList/i18n/index.js +11 -0
  34. package/build/cjs/components/AttachmentList/i18n/index.js.map +1 -0
  35. package/build/cjs/components/AttachmentList/i18n/ru.json +10 -0
  36. package/build/cjs/components/AttachmentList/index.d.ts +4 -0
  37. package/build/cjs/components/AttachmentList/index.js +40 -0
  38. package/build/cjs/components/AttachmentList/index.js.map +1 -0
  39. package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css +18 -0
  40. package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css.map +1 -0
  41. package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.d.ts +16 -0
  42. package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js +106 -0
  43. package/build/cjs/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js.map +1 -0
  44. package/build/cjs/components/AttachmentList/internal/AttachmentItem/index.d.ts +2 -0
  45. package/build/cjs/components/AttachmentList/internal/AttachmentItem/index.js +13 -0
  46. package/build/cjs/components/AttachmentList/internal/AttachmentItem/index.js.map +1 -0
  47. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.d.ts +9 -0
  48. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js +22 -0
  49. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js.map +1 -0
  50. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css +17 -0
  51. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css.map +1 -0
  52. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.d.ts +24 -0
  53. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js +175 -0
  54. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js.map +1 -0
  55. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/FileEdit.d.ts +12 -0
  56. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js +91 -0
  57. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js.map +1 -0
  58. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/index.d.ts +4 -0
  59. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/index.js +13 -0
  60. package/build/cjs/components/AttachmentList/internal/EditAttachmentItem/index.js.map +1 -0
  61. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css +4 -0
  62. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css.map +1 -0
  63. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.d.ts +13 -0
  64. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js +75 -0
  65. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js.map +1 -0
  66. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.d.ts +29 -0
  67. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js +36 -0
  68. package/build/cjs/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js.map +1 -0
  69. package/build/cjs/components/AttachmentListPlaceholder/i18n/dicts.d.ts +17 -0
  70. package/build/cjs/components/AttachmentListPlaceholder/i18n/dicts.js +14 -0
  71. package/build/cjs/components/AttachmentListPlaceholder/i18n/dicts.js.map +1 -0
  72. package/build/cjs/components/AttachmentListPlaceholder/i18n/en.json +7 -0
  73. package/build/cjs/components/AttachmentListPlaceholder/i18n/index.d.ts +6 -0
  74. package/build/cjs/components/AttachmentListPlaceholder/i18n/index.js +11 -0
  75. package/build/cjs/components/AttachmentListPlaceholder/i18n/index.js.map +1 -0
  76. package/build/cjs/components/AttachmentListPlaceholder/i18n/ru.json +7 -0
  77. package/build/cjs/components/AttachmentListPlaceholder/index.d.ts +2 -0
  78. package/build/cjs/components/AttachmentListPlaceholder/index.js +13 -0
  79. package/build/cjs/components/AttachmentListPlaceholder/index.js.map +1 -0
  80. package/build/cjs/components/DataTable/DataTable.css +0 -7
  81. package/build/cjs/components/DataTable/DataTable.css.map +1 -1
  82. package/build/cjs/components/DataTable/DataTable.js +12 -5
  83. package/build/cjs/components/DataTable/DataTable.js.map +1 -1
  84. package/build/cjs/components/EditableRowTitle/EditableRowTitle.d.ts +7 -0
  85. package/build/cjs/{modules/HistoryRow/HistoryRowTitle.js → components/EditableRowTitle/EditableRowTitle.js} +4 -6
  86. package/build/cjs/components/EditableRowTitle/EditableRowTitle.js.map +1 -0
  87. package/build/cjs/components/EditableRowTitle/index.d.ts +2 -0
  88. package/build/cjs/components/EditableRowTitle/index.js +13 -0
  89. package/build/cjs/components/EditableRowTitle/index.js.map +1 -0
  90. package/build/cjs/components/ErrorTree/ErrorTree.d.ts +3 -0
  91. package/build/cjs/components/ErrorTree/ErrorTree.js +35 -0
  92. package/build/cjs/components/ErrorTree/ErrorTree.js.map +1 -0
  93. package/build/cjs/components/ErrorTree/ErrorTree.stories.d.ts +8 -0
  94. package/build/cjs/components/ErrorTree/ErrorTree.stories.js +101 -0
  95. package/build/cjs/components/ErrorTree/ErrorTree.stories.js.map +1 -0
  96. package/build/cjs/components/ErrorTree/helpers/formatAttributes.d.ts +2 -0
  97. package/build/cjs/components/ErrorTree/helpers/formatAttributes.js +16 -0
  98. package/build/cjs/components/ErrorTree/helpers/formatAttributes.js.map +1 -0
  99. package/build/cjs/components/ErrorTree/helpers/getIntermediateChain.d.ts +6 -0
  100. package/build/cjs/components/ErrorTree/helpers/getIntermediateChain.js +22 -0
  101. package/build/cjs/components/ErrorTree/helpers/getIntermediateChain.js.map +1 -0
  102. package/build/cjs/components/ErrorTree/i18n/dicts.d.ts +27 -0
  103. package/build/cjs/components/ErrorTree/i18n/dicts.js +14 -0
  104. package/build/cjs/components/ErrorTree/i18n/dicts.js.map +1 -0
  105. package/build/cjs/components/ErrorTree/i18n/en.json +11 -0
  106. package/build/cjs/components/ErrorTree/i18n/index.d.ts +6 -0
  107. package/build/cjs/components/ErrorTree/i18n/index.js +11 -0
  108. package/build/cjs/components/ErrorTree/i18n/index.js.map +1 -0
  109. package/build/cjs/components/ErrorTree/i18n/ru.json +13 -0
  110. package/build/cjs/components/ErrorTree/index.d.ts +1 -0
  111. package/build/cjs/components/ErrorTree/index.js +13 -0
  112. package/build/cjs/components/ErrorTree/index.js.map +1 -0
  113. package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.css +4 -0
  114. package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.css.map +1 -0
  115. package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.d.ts +10 -0
  116. package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.js +32 -0
  117. package/build/cjs/components/ErrorTree/internal/ErrorTreeChildren.js.map +1 -0
  118. package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.css +80 -0
  119. package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.css.map +1 -0
  120. package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.d.ts +13 -0
  121. package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.js +274 -0
  122. package/build/cjs/components/ErrorTree/internal/ErrorTreeNode.js.map +1 -0
  123. package/build/cjs/components/ErrorTree/internal/IntermediateMessages.css +10 -0
  124. package/build/cjs/components/ErrorTree/internal/IntermediateMessages.css.map +1 -0
  125. package/build/cjs/components/ErrorTree/internal/IntermediateMessages.d.ts +9 -0
  126. package/build/cjs/components/ErrorTree/internal/IntermediateMessages.js +118 -0
  127. package/build/cjs/components/ErrorTree/internal/IntermediateMessages.js.map +1 -0
  128. package/build/cjs/components/HistoryFilter/HistoryFilter.d.ts +2 -2
  129. package/build/cjs/components/HistoryFilter/HistoryFilter.js.map +1 -1
  130. package/build/cjs/components/Icons/LogoCPlusPlus.d.ts +2 -0
  131. package/build/cjs/components/Icons/LogoCPlusPlus.js +35 -0
  132. package/build/cjs/components/Icons/LogoCPlusPlus.js.map +1 -0
  133. package/build/cjs/components/Icons/index.d.ts +1 -0
  134. package/build/cjs/components/Icons/index.js +13 -0
  135. package/build/cjs/components/Icons/index.js.map +1 -0
  136. package/build/cjs/components/LazyList/LazyList.css +0 -2
  137. package/build/cjs/components/LazyList/LazyList.css.map +1 -1
  138. package/build/cjs/components/QueryResultsTable/QueryResultsTable.css +53 -0
  139. package/build/cjs/components/QueryResultsTable/QueryResultsTable.css.map +1 -0
  140. package/build/cjs/components/QueryResultsTable/QueryResultsTable.d.ts +24 -0
  141. package/build/cjs/components/QueryResultsTable/QueryResultsTable.js +104 -0
  142. package/build/cjs/components/QueryResultsTable/QueryResultsTable.js.map +1 -0
  143. package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultType.d.ts +3 -0
  144. package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultType.js +90 -0
  145. package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultType.js.map +1 -0
  146. package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultValue.d.ts +11 -0
  147. package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultValue.js +40 -0
  148. package/build/cjs/components/QueryResultsTable/helpers/formatQueryResultValue.js.map +1 -0
  149. package/build/cjs/components/QueryResultsTable/i18n/dicts.d.ts +13 -0
  150. package/build/cjs/components/QueryResultsTable/i18n/dicts.js +14 -0
  151. package/build/cjs/components/QueryResultsTable/i18n/dicts.js.map +1 -0
  152. package/build/cjs/components/QueryResultsTable/i18n/en.json +5 -0
  153. package/build/cjs/components/QueryResultsTable/i18n/index.d.ts +6 -0
  154. package/build/cjs/components/QueryResultsTable/i18n/index.js +11 -0
  155. package/build/cjs/components/QueryResultsTable/i18n/index.js.map +1 -0
  156. package/build/cjs/components/QueryResultsTable/i18n/ru.json +5 -0
  157. package/build/cjs/components/QueryResultsTable/index.d.ts +3 -0
  158. package/build/cjs/components/QueryResultsTable/index.js +20 -0
  159. package/build/cjs/components/QueryResultsTable/index.js.map +1 -0
  160. package/build/cjs/components/QueryResultsTable/internal/QueryResultCell.d.ts +11 -0
  161. package/build/cjs/components/QueryResultsTable/internal/QueryResultCell.js +79 -0
  162. package/build/cjs/components/QueryResultsTable/internal/QueryResultCell.js.map +1 -0
  163. package/build/cjs/components/RowActionsMenu/RowActionsMenu.d.ts +7 -0
  164. package/build/cjs/{modules/HistoryRow/HistoryRowMenu.js → components/RowActionsMenu/RowActionsMenu.js} +9 -6
  165. package/build/cjs/components/RowActionsMenu/RowActionsMenu.js.map +1 -0
  166. package/build/cjs/components/RowActionsMenu/index.d.ts +2 -0
  167. package/build/cjs/components/RowActionsMenu/index.js +13 -0
  168. package/build/cjs/components/RowActionsMenu/index.js.map +1 -0
  169. package/build/cjs/components/index.d.ts +9 -0
  170. package/build/cjs/components/index.js +64 -1
  171. package/build/cjs/components/index.js.map +1 -1
  172. package/build/cjs/helpers/createUuid.d.ts +1 -0
  173. package/build/cjs/helpers/createUuid.js +12 -0
  174. package/build/cjs/helpers/createUuid.js.map +1 -0
  175. package/build/cjs/helpers/getListKey.d.ts +2 -2
  176. package/build/cjs/helpers/getListKey.js.map +1 -1
  177. package/build/cjs/helpers/isFieldVisible.d.ts +5 -4
  178. package/build/cjs/helpers/isFieldVisible.js +2 -2
  179. package/build/cjs/helpers/isFieldVisible.js.map +1 -1
  180. package/build/cjs/helpers/isObjectEqual.d.ts +1 -0
  181. package/build/cjs/helpers/isObjectEqual.js +30 -0
  182. package/build/cjs/helpers/isObjectEqual.js.map +1 -0
  183. package/build/cjs/helpers/time.d.ts +1 -0
  184. package/build/cjs/helpers/time.js +7 -3
  185. package/build/cjs/helpers/time.js.map +1 -1
  186. package/build/cjs/helpers/useDebouncedValue.d.ts +2 -0
  187. package/build/cjs/helpers/useDebouncedValue.js +27 -0
  188. package/build/cjs/helpers/useDebouncedValue.js.map +1 -0
  189. package/build/cjs/index.d.ts +5 -0
  190. package/build/cjs/index.js +44 -0
  191. package/build/cjs/index.js.map +1 -1
  192. package/build/cjs/modules/Attachments/Attachments.css +8 -0
  193. package/build/cjs/modules/Attachments/Attachments.css.map +1 -0
  194. package/build/cjs/modules/Attachments/Attachments.d.ts +22 -0
  195. package/build/cjs/modules/Attachments/Attachments.js +381 -0
  196. package/build/cjs/modules/Attachments/Attachments.js.map +1 -0
  197. package/build/cjs/modules/Attachments/Attachments.stories.d.ts +41 -0
  198. package/build/cjs/modules/Attachments/Attachments.stories.js +123 -0
  199. package/build/cjs/modules/Attachments/Attachments.stories.js.map +1 -0
  200. package/build/cjs/modules/Attachments/i18n/dicts.d.ts +13 -0
  201. package/build/cjs/modules/Attachments/i18n/dicts.js +14 -0
  202. package/build/cjs/modules/Attachments/i18n/dicts.js.map +1 -0
  203. package/build/cjs/modules/Attachments/i18n/en.json +5 -0
  204. package/build/cjs/modules/Attachments/i18n/index.d.ts +6 -0
  205. package/build/cjs/modules/Attachments/i18n/index.js +11 -0
  206. package/build/cjs/modules/Attachments/i18n/index.js.map +1 -0
  207. package/build/cjs/modules/Attachments/i18n/ru.json +5 -0
  208. package/build/cjs/modules/Attachments/index.d.ts +2 -0
  209. package/build/cjs/modules/Attachments/index.js +13 -0
  210. package/build/cjs/modules/Attachments/index.js.map +1 -0
  211. package/build/cjs/modules/HistoryComparisonActions/HistoryComparisonActions.css +5 -0
  212. package/build/cjs/modules/HistoryComparisonActions/HistoryComparisonActions.css.map +1 -0
  213. package/build/cjs/modules/HistoryComparisonActions/HistoryComparisonActions.d.ts +8 -0
  214. package/build/cjs/{widgets/QueriesHistory/ComparisonActions.js → modules/HistoryComparisonActions/HistoryComparisonActions.js} +11 -11
  215. package/build/cjs/modules/HistoryComparisonActions/HistoryComparisonActions.js.map +1 -0
  216. package/build/cjs/modules/HistoryComparisonActions/index.d.ts +2 -0
  217. package/build/cjs/modules/HistoryComparisonActions/index.js +13 -0
  218. package/build/cjs/modules/HistoryComparisonActions/index.js.map +1 -0
  219. package/build/cjs/modules/HistoryHeader/HistoryHeader.d.ts +2 -2
  220. package/build/cjs/modules/HistoryHeader/HistoryHeader.js.map +1 -1
  221. package/build/cjs/modules/HistoryRow/HistoryRow.d.ts +3 -2
  222. package/build/cjs/modules/HistoryRow/HistoryRow.js +2 -4
  223. package/build/cjs/modules/HistoryRow/HistoryRow.js.map +1 -1
  224. package/build/cjs/modules/HistoryRow/HistoryRow.stories.js.map +1 -1
  225. package/build/cjs/modules/HistorySearchRow/HistorySearchRow.d.ts +3 -2
  226. package/build/cjs/modules/HistorySearchRow/HistorySearchRow.js.map +1 -1
  227. package/build/cjs/modules/NavigationItemsList/internal/NavigationItemsListHeader.js +1 -7
  228. package/build/cjs/modules/NavigationItemsList/internal/NavigationItemsListHeader.js.map +1 -1
  229. package/build/cjs/modules/NavigationPreview/NavigationPreview.css +7 -1
  230. package/build/cjs/modules/NavigationPreview/NavigationPreview.css.map +1 -1
  231. package/build/cjs/modules/NavigationPreview/NavigationPreview.d.ts +2 -2
  232. package/build/cjs/modules/NavigationPreview/NavigationPreview.js +37 -7
  233. package/build/cjs/modules/NavigationPreview/NavigationPreview.js.map +1 -1
  234. package/build/cjs/modules/NavigationPreview/story/NavigationPreview.stories.d.ts +1 -0
  235. package/build/cjs/modules/NavigationPreview/story/NavigationPreview.stories.js +25 -1
  236. package/build/cjs/modules/NavigationPreview/story/NavigationPreview.stories.js.map +1 -1
  237. package/build/cjs/modules/NavigationPreview/story/mockData.d.ts +2 -2
  238. package/build/cjs/modules/NavigationPreview/story/mockData.js +16 -4
  239. package/build/cjs/modules/NavigationPreview/story/mockData.js.map +1 -1
  240. package/build/cjs/modules/QueriesList/QueriesList.css +10 -0
  241. package/build/cjs/modules/QueriesList/QueriesList.css.map +1 -0
  242. package/build/cjs/modules/QueriesList/QueriesList.d.ts +19 -0
  243. package/build/cjs/modules/QueriesList/QueriesList.js +75 -0
  244. package/build/cjs/modules/QueriesList/QueriesList.js.map +1 -0
  245. package/build/cjs/modules/QueriesList/index.d.ts +2 -0
  246. package/build/cjs/modules/QueriesList/index.js +13 -0
  247. package/build/cjs/modules/QueriesList/index.js.map +1 -0
  248. package/build/cjs/modules/QueryStatistics/QueryStatistics.css +4 -0
  249. package/build/cjs/modules/QueryStatistics/QueryStatistics.css.map +1 -0
  250. package/build/cjs/modules/QueryStatistics/QueryStatistics.d.ts +4 -0
  251. package/build/cjs/modules/QueryStatistics/QueryStatistics.js +151 -0
  252. package/build/cjs/modules/QueryStatistics/QueryStatistics.js.map +1 -0
  253. package/build/cjs/modules/QueryStatistics/helpers.d.ts +15 -0
  254. package/build/cjs/modules/QueryStatistics/helpers.js +118 -0
  255. package/build/cjs/modules/QueryStatistics/helpers.js.map +1 -0
  256. package/build/cjs/modules/QueryStatistics/i18n/dicts.d.ts +35 -0
  257. package/build/cjs/modules/QueryStatistics/i18n/dicts.js +14 -0
  258. package/build/cjs/modules/QueryStatistics/i18n/dicts.js.map +1 -0
  259. package/build/cjs/modules/QueryStatistics/i18n/en.json +16 -0
  260. package/build/cjs/modules/QueryStatistics/i18n/index.d.ts +6 -0
  261. package/build/cjs/modules/QueryStatistics/i18n/index.js +11 -0
  262. package/build/cjs/modules/QueryStatistics/i18n/index.js.map +1 -0
  263. package/build/cjs/modules/QueryStatistics/i18n/ru.json +16 -0
  264. package/build/cjs/modules/QueryStatistics/index.d.ts +2 -0
  265. package/build/cjs/modules/QueryStatistics/index.js +13 -0
  266. package/build/cjs/modules/QueryStatistics/index.js.map +1 -0
  267. package/build/cjs/modules/QueryStatistics/internal/MetricCell.css +36 -0
  268. package/build/cjs/modules/QueryStatistics/internal/MetricCell.css.map +1 -0
  269. package/build/cjs/modules/QueryStatistics/internal/MetricCell.d.ts +9 -0
  270. package/build/cjs/modules/QueryStatistics/internal/MetricCell.js +121 -0
  271. package/build/cjs/modules/QueryStatistics/internal/MetricCell.js.map +1 -0
  272. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.css +21 -0
  273. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.css.map +1 -0
  274. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.d.ts +20 -0
  275. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.js +140 -0
  276. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsTable.js.map +1 -0
  277. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.css +5 -0
  278. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.css.map +1 -0
  279. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.d.ts +10 -0
  280. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.js +55 -0
  281. package/build/cjs/modules/QueryStatistics/internal/QueryStatisticsToolbar.js.map +1 -0
  282. package/build/cjs/modules/QueryStatistics/story/QueryStatistics.stories.d.ts +8 -0
  283. package/build/cjs/modules/QueryStatistics/story/QueryStatistics.stories.js +112 -0
  284. package/build/cjs/modules/QueryStatistics/story/QueryStatistics.stories.js.map +1 -0
  285. package/build/cjs/modules/RowsList/RowsList.d.ts +11 -11
  286. package/build/cjs/modules/RowsList/RowsList.js +5 -1
  287. package/build/cjs/modules/RowsList/RowsList.js.map +1 -1
  288. package/build/cjs/modules/RowsList/helpers/prepareRowData.d.ts +9 -9
  289. package/build/cjs/modules/RowsList/helpers/prepareRowData.js.map +1 -1
  290. package/build/cjs/modules/SavedQueryRow/SavedQueryRow.css +17 -0
  291. package/build/cjs/modules/SavedQueryRow/SavedQueryRow.css.map +1 -0
  292. package/build/cjs/modules/SavedQueryRow/SavedQueryRow.d.ts +9 -0
  293. package/build/cjs/modules/SavedQueryRow/SavedQueryRow.js +78 -0
  294. package/build/cjs/modules/SavedQueryRow/SavedQueryRow.js.map +1 -0
  295. package/build/cjs/modules/SavedQueryRow/index.d.ts +2 -0
  296. package/build/cjs/modules/SavedQueryRow/index.js +13 -0
  297. package/build/cjs/modules/SavedQueryRow/index.js.map +1 -0
  298. package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.css +12 -0
  299. package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.css.map +1 -0
  300. package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.d.ts +9 -0
  301. package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.js +65 -0
  302. package/build/cjs/modules/SavedQuerySearchRow/SavedQuerySearchRow.js.map +1 -0
  303. package/build/cjs/modules/SavedQuerySearchRow/index.d.ts +2 -0
  304. package/build/cjs/modules/SavedQuerySearchRow/index.js +13 -0
  305. package/build/cjs/modules/SavedQuerySearchRow/index.js.map +1 -0
  306. package/build/cjs/modules/index.d.ts +11 -2
  307. package/build/cjs/modules/index.js +52 -8
  308. package/build/cjs/modules/index.js.map +1 -1
  309. package/build/cjs/types/declarations.d.ts +10 -0
  310. package/build/cjs/types/errorTree.d.ts +23 -0
  311. package/build/cjs/types/errorTree.js +6 -0
  312. package/build/cjs/types/errorTree.js.map +1 -0
  313. package/build/cjs/types/history.d.ts +4 -85
  314. package/build/cjs/types/history.js.map +1 -1
  315. package/build/cjs/types/navigation.d.ts +8 -1
  316. package/build/cjs/types/navigation.js.map +1 -1
  317. package/build/cjs/types/queryList.d.ts +83 -0
  318. package/build/cjs/types/queryList.js +6 -0
  319. package/build/cjs/types/queryList.js.map +1 -0
  320. package/build/cjs/types/queryResults.d.ts +34 -0
  321. package/build/cjs/types/queryResults.js +6 -0
  322. package/build/cjs/types/queryResults.js.map +1 -0
  323. package/build/cjs/types/queryStatistics.d.ts +54 -0
  324. package/build/cjs/types/queryStatistics.js +6 -0
  325. package/build/cjs/types/queryStatistics.js.map +1 -0
  326. package/build/cjs/types/savedQueries.d.ts +6 -0
  327. package/build/cjs/types/savedQueries.js +6 -0
  328. package/build/cjs/types/savedQueries.js.map +1 -0
  329. package/build/cjs/types/tutorial.d.ts +2 -2
  330. package/build/cjs/types/tutorial.js.map +1 -1
  331. package/build/cjs/widgets/QueriesHistory/QueriesHistory.css +0 -6
  332. package/build/cjs/widgets/QueriesHistory/QueriesHistory.css.map +1 -1
  333. package/build/cjs/widgets/QueriesHistory/QueriesHistory.d.ts +11 -10
  334. package/build/cjs/widgets/QueriesHistory/QueriesHistory.js +15 -34
  335. package/build/cjs/widgets/QueriesHistory/QueriesHistory.js.map +1 -1
  336. package/build/cjs/widgets/QueriesHistory/QueriesHistory.stories.js.map +1 -1
  337. package/build/cjs/widgets/QueriesHistory/internal/HistoryRowContent.d.ts +4 -0
  338. package/build/cjs/{modules/HistoryList → widgets/QueriesHistory/internal}/HistoryRowContent.js +4 -5
  339. package/build/cjs/widgets/QueriesHistory/internal/HistoryRowContent.js.map +1 -0
  340. package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.css +3 -0
  341. package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.css.map +1 -1
  342. package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.stories.js +40 -35
  343. package/build/cjs/widgets/QueriesNavigation/QueriesNavigation.stories.js.map +1 -1
  344. package/build/cjs/widgets/QueriesNavigation/i18n/index.d.ts +2 -2
  345. package/build/cjs/widgets/QueryResults/QueryResults.css +19 -0
  346. package/build/cjs/widgets/QueryResults/QueryResults.css.map +1 -0
  347. package/build/cjs/widgets/QueryResults/QueryResults.d.ts +23 -0
  348. package/build/cjs/widgets/QueryResults/QueryResults.js +119 -0
  349. package/build/cjs/widgets/QueryResults/QueryResults.js.map +1 -0
  350. package/build/cjs/widgets/QueryResults/QueryResults.stories.d.ts +19 -0
  351. package/build/cjs/widgets/QueryResults/QueryResults.stories.js +199 -0
  352. package/build/cjs/widgets/QueryResults/QueryResults.stories.js.map +1 -0
  353. package/build/cjs/widgets/QueryResults/i18n/dicts.d.ts +25 -0
  354. package/build/cjs/widgets/QueryResults/i18n/dicts.js +14 -0
  355. package/build/cjs/widgets/QueryResults/i18n/dicts.js.map +1 -0
  356. package/build/cjs/widgets/QueryResults/i18n/en.json +10 -0
  357. package/build/cjs/widgets/QueryResults/i18n/index.d.ts +6 -0
  358. package/build/cjs/widgets/QueryResults/i18n/index.js +11 -0
  359. package/build/cjs/widgets/QueryResults/i18n/index.js.map +1 -0
  360. package/build/cjs/widgets/QueryResults/i18n/ru.json +12 -0
  361. package/build/cjs/widgets/QueryResults/index.d.ts +2 -0
  362. package/build/cjs/widgets/QueryResults/index.js +13 -0
  363. package/build/cjs/widgets/QueryResults/index.js.map +1 -0
  364. package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.d.ts +7 -0
  365. package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.js +49 -0
  366. package/build/cjs/widgets/QueryResults/internal/QueryResultsSchema.js.map +1 -0
  367. package/build/cjs/widgets/SavedQueries/SavedQueries.css +4 -0
  368. package/build/cjs/widgets/SavedQueries/SavedQueries.css.map +1 -0
  369. package/build/cjs/widgets/SavedQueries/SavedQueries.d.ts +21 -0
  370. package/build/cjs/widgets/SavedQueries/SavedQueries.js +58 -0
  371. package/build/cjs/widgets/SavedQueries/SavedQueries.js.map +1 -0
  372. package/build/cjs/widgets/SavedQueries/SavedQueries.stories.d.ts +8 -0
  373. package/build/cjs/widgets/SavedQueries/SavedQueries.stories.js +286 -0
  374. package/build/cjs/widgets/SavedQueries/SavedQueries.stories.js.map +1 -0
  375. package/build/cjs/widgets/SavedQueries/SavedQueryRowContent.d.ts +8 -0
  376. package/build/cjs/widgets/SavedQueries/SavedQueryRowContent.js +33 -0
  377. package/build/cjs/widgets/SavedQueries/SavedQueryRowContent.js.map +1 -0
  378. package/build/cjs/widgets/SavedQueries/i18n/dicts.d.ts +9 -0
  379. package/build/cjs/widgets/SavedQueries/i18n/dicts.js +14 -0
  380. package/build/cjs/widgets/SavedQueries/i18n/dicts.js.map +1 -0
  381. package/build/cjs/widgets/SavedQueries/i18n/en.json +3 -0
  382. package/build/cjs/widgets/SavedQueries/i18n/index.d.ts +6 -0
  383. package/build/cjs/widgets/SavedQueries/i18n/index.js +11 -0
  384. package/build/cjs/widgets/SavedQueries/i18n/index.js.map +1 -0
  385. package/build/cjs/widgets/SavedQueries/i18n/ru.json +3 -0
  386. package/build/cjs/widgets/SavedQueries/index.d.ts +2 -0
  387. package/build/cjs/widgets/SavedQueries/index.js +13 -0
  388. package/build/cjs/widgets/SavedQueries/index.js.map +1 -0
  389. package/build/cjs/widgets/TutorialsHistory/TutorialRowContent.d.ts +2 -2
  390. package/build/cjs/widgets/TutorialsHistory/TutorialRowContent.js.map +1 -1
  391. package/build/cjs/widgets/TutorialsHistory/TutorialsHistory.d.ts +5 -5
  392. package/build/cjs/widgets/TutorialsHistory/TutorialsHistory.js.map +1 -1
  393. package/build/cjs/widgets/TutorialsHistory/TutorialsHistory.stories.js.map +1 -1
  394. package/build/cjs/widgets/index.d.ts +4 -0
  395. package/build/cjs/widgets/index.js +14 -0
  396. package/build/cjs/widgets/index.js.map +1 -1
  397. package/build/esm/components/AttachmentList/AttachmentList.css +22 -0
  398. package/build/esm/components/AttachmentList/AttachmentList.css.map +1 -0
  399. package/build/esm/components/AttachmentList/AttachmentList.d.ts +17 -0
  400. package/build/esm/components/AttachmentList/AttachmentList.js +67 -0
  401. package/build/esm/components/AttachmentList/AttachmentList.js.map +1 -0
  402. package/build/esm/components/AttachmentList/AttachmentList.scss +25 -0
  403. package/build/esm/components/AttachmentList/AttachmentList.stories.d.ts +93 -0
  404. package/build/esm/components/AttachmentList/AttachmentList.stories.js +315 -0
  405. package/build/esm/components/AttachmentList/AttachmentList.stories.js.map +1 -0
  406. package/build/esm/components/AttachmentList/helpers/getIconByAttachmentName.d.ts +2 -0
  407. package/build/esm/components/AttachmentList/helpers/getIconByAttachmentName.js +30 -0
  408. package/build/esm/components/AttachmentList/helpers/getIconByAttachmentName.js.map +1 -0
  409. package/build/esm/components/AttachmentList/helpers/objectLinkValidator.d.ts +11 -0
  410. package/build/esm/components/AttachmentList/helpers/objectLinkValidator.js +24 -0
  411. package/build/esm/components/AttachmentList/helpers/objectLinkValidator.js.map +1 -0
  412. package/build/esm/components/AttachmentList/helpers/stringRequiredValidator.d.ts +2 -0
  413. package/build/esm/components/AttachmentList/helpers/stringRequiredValidator.js +19 -0
  414. package/build/esm/components/AttachmentList/helpers/stringRequiredValidator.js.map +1 -0
  415. package/build/esm/components/AttachmentList/hooks/useKeyDownFormControl.d.ts +4 -0
  416. package/build/esm/components/AttachmentList/hooks/useKeyDownFormControl.js +21 -0
  417. package/build/esm/components/AttachmentList/hooks/useKeyDownFormControl.js.map +1 -0
  418. package/build/esm/components/AttachmentList/hooks/useLabelRef.d.ts +4 -0
  419. package/build/esm/components/AttachmentList/hooks/useLabelRef.js +28 -0
  420. package/build/esm/components/AttachmentList/hooks/useLabelRef.js.map +1 -0
  421. package/build/esm/components/AttachmentList/i18n/dicts.d.ts +23 -0
  422. package/build/esm/components/AttachmentList/i18n/dicts.js +7 -0
  423. package/build/esm/components/AttachmentList/i18n/dicts.js.map +1 -0
  424. package/build/esm/components/AttachmentList/i18n/en.json +10 -0
  425. package/build/esm/components/AttachmentList/i18n/index.d.ts +6 -0
  426. package/build/esm/components/AttachmentList/i18n/index.js +4 -0
  427. package/build/esm/components/AttachmentList/i18n/index.js.map +1 -0
  428. package/build/esm/components/AttachmentList/i18n/ru.json +10 -0
  429. package/build/esm/components/AttachmentList/index.d.ts +4 -0
  430. package/build/esm/components/AttachmentList/index.js +4 -0
  431. package/build/esm/components/AttachmentList/index.js.map +1 -0
  432. package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css +18 -0
  433. package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.css.map +1 -0
  434. package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.d.ts +16 -0
  435. package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js +98 -0
  436. package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.js.map +1 -0
  437. package/build/esm/components/AttachmentList/internal/AttachmentItem/AttachmentItem.scss +23 -0
  438. package/build/esm/components/AttachmentList/internal/AttachmentItem/index.d.ts +2 -0
  439. package/build/esm/components/AttachmentList/internal/AttachmentItem/index.js +2 -0
  440. package/build/esm/components/AttachmentList/internal/AttachmentItem/index.js.map +1 -0
  441. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.d.ts +9 -0
  442. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js +15 -0
  443. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.js.map +1 -0
  444. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css +17 -0
  445. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.css.map +1 -0
  446. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.d.ts +24 -0
  447. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js +167 -0
  448. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.js.map +1 -0
  449. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.scss +21 -0
  450. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/FileEdit.d.ts +12 -0
  451. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js +83 -0
  452. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/FileEdit.js.map +1 -0
  453. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/index.d.ts +4 -0
  454. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/index.js +2 -0
  455. package/build/esm/components/AttachmentList/internal/EditAttachmentItem/index.js.map +1 -0
  456. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css +4 -0
  457. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.css.map +1 -0
  458. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.d.ts +13 -0
  459. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js +68 -0
  460. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.js.map +1 -0
  461. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.scss +5 -0
  462. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.d.ts +29 -0
  463. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js +29 -0
  464. package/build/esm/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.js.map +1 -0
  465. package/build/esm/components/AttachmentListPlaceholder/i18n/dicts.d.ts +17 -0
  466. package/build/esm/components/AttachmentListPlaceholder/i18n/dicts.js +7 -0
  467. package/build/esm/components/AttachmentListPlaceholder/i18n/dicts.js.map +1 -0
  468. package/build/esm/components/AttachmentListPlaceholder/i18n/en.json +7 -0
  469. package/build/esm/components/AttachmentListPlaceholder/i18n/index.d.ts +6 -0
  470. package/build/esm/components/AttachmentListPlaceholder/i18n/index.js +4 -0
  471. package/build/esm/components/AttachmentListPlaceholder/i18n/index.js.map +1 -0
  472. package/build/esm/components/AttachmentListPlaceholder/i18n/ru.json +7 -0
  473. package/build/esm/components/AttachmentListPlaceholder/index.d.ts +2 -0
  474. package/build/esm/components/AttachmentListPlaceholder/index.js +2 -0
  475. package/build/esm/components/AttachmentListPlaceholder/index.js.map +1 -0
  476. package/build/esm/components/DataTable/DataTable.css +0 -7
  477. package/build/esm/components/DataTable/DataTable.css.map +1 -1
  478. package/build/esm/components/DataTable/DataTable.js +12 -5
  479. package/build/esm/components/DataTable/DataTable.js.map +1 -1
  480. package/build/esm/components/DataTable/DataTable.scss +18 -26
  481. package/build/esm/components/EditableRowTitle/EditableRowTitle.d.ts +7 -0
  482. package/build/esm/{modules/HistoryRow/HistoryRowTitle.js → components/EditableRowTitle/EditableRowTitle.js} +4 -6
  483. package/build/esm/components/EditableRowTitle/EditableRowTitle.js.map +1 -0
  484. package/build/esm/components/EditableRowTitle/index.d.ts +2 -0
  485. package/build/esm/components/EditableRowTitle/index.js +2 -0
  486. package/build/esm/components/EditableRowTitle/index.js.map +1 -0
  487. package/build/esm/components/ErrorTree/ErrorTree.d.ts +3 -0
  488. package/build/esm/components/ErrorTree/ErrorTree.js +28 -0
  489. package/build/esm/components/ErrorTree/ErrorTree.js.map +1 -0
  490. package/build/esm/components/ErrorTree/ErrorTree.stories.d.ts +8 -0
  491. package/build/esm/components/ErrorTree/ErrorTree.stories.js +94 -0
  492. package/build/esm/components/ErrorTree/ErrorTree.stories.js.map +1 -0
  493. package/build/esm/components/ErrorTree/helpers/formatAttributes.d.ts +2 -0
  494. package/build/esm/components/ErrorTree/helpers/formatAttributes.js +10 -0
  495. package/build/esm/components/ErrorTree/helpers/formatAttributes.js.map +1 -0
  496. package/build/esm/components/ErrorTree/helpers/getIntermediateChain.d.ts +6 -0
  497. package/build/esm/components/ErrorTree/helpers/getIntermediateChain.js +16 -0
  498. package/build/esm/components/ErrorTree/helpers/getIntermediateChain.js.map +1 -0
  499. package/build/esm/components/ErrorTree/i18n/dicts.d.ts +27 -0
  500. package/build/esm/components/ErrorTree/i18n/dicts.js +7 -0
  501. package/build/esm/components/ErrorTree/i18n/dicts.js.map +1 -0
  502. package/build/esm/components/ErrorTree/i18n/en.json +11 -0
  503. package/build/esm/components/ErrorTree/i18n/index.d.ts +6 -0
  504. package/build/esm/components/ErrorTree/i18n/index.js +4 -0
  505. package/build/esm/components/ErrorTree/i18n/index.js.map +1 -0
  506. package/build/esm/components/ErrorTree/i18n/ru.json +13 -0
  507. package/build/esm/components/ErrorTree/index.d.ts +1 -0
  508. package/build/esm/components/ErrorTree/index.js +2 -0
  509. package/build/esm/components/ErrorTree/index.js.map +1 -0
  510. package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.css +4 -0
  511. package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.css.map +1 -0
  512. package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.d.ts +10 -0
  513. package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.js +25 -0
  514. package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.js.map +1 -0
  515. package/build/esm/components/ErrorTree/internal/ErrorTreeChildren.scss +5 -0
  516. package/build/esm/components/ErrorTree/internal/ErrorTreeNode.css +80 -0
  517. package/build/esm/components/ErrorTree/internal/ErrorTreeNode.css.map +1 -0
  518. package/build/esm/components/ErrorTree/internal/ErrorTreeNode.d.ts +13 -0
  519. package/build/esm/components/ErrorTree/internal/ErrorTreeNode.js +266 -0
  520. package/build/esm/components/ErrorTree/internal/ErrorTreeNode.js.map +1 -0
  521. package/build/esm/components/ErrorTree/internal/ErrorTreeNode.scss +95 -0
  522. package/build/esm/components/ErrorTree/internal/IntermediateMessages.css +10 -0
  523. package/build/esm/components/ErrorTree/internal/IntermediateMessages.css.map +1 -0
  524. package/build/esm/components/ErrorTree/internal/IntermediateMessages.d.ts +9 -0
  525. package/build/esm/components/ErrorTree/internal/IntermediateMessages.js +110 -0
  526. package/build/esm/components/ErrorTree/internal/IntermediateMessages.js.map +1 -0
  527. package/build/esm/components/ErrorTree/internal/IntermediateMessages.scss +13 -0
  528. package/build/esm/components/HistoryFilter/HistoryFilter.d.ts +2 -2
  529. package/build/esm/components/HistoryFilter/HistoryFilter.js.map +1 -1
  530. package/build/esm/components/Icons/LogoCPlusPlus.d.ts +2 -0
  531. package/build/esm/components/Icons/LogoCPlusPlus.js +28 -0
  532. package/build/esm/components/Icons/LogoCPlusPlus.js.map +1 -0
  533. package/build/esm/components/Icons/index.d.ts +1 -0
  534. package/build/esm/components/Icons/index.js +2 -0
  535. package/build/esm/components/Icons/index.js.map +1 -0
  536. package/build/esm/components/LazyList/LazyList.css +0 -2
  537. package/build/esm/components/LazyList/LazyList.css.map +1 -1
  538. package/build/esm/components/LazyList/LazyList.scss +6 -6
  539. package/build/esm/components/QueryResultsTable/QueryResultsTable.css +53 -0
  540. package/build/esm/components/QueryResultsTable/QueryResultsTable.css.map +1 -0
  541. package/build/esm/components/QueryResultsTable/QueryResultsTable.d.ts +24 -0
  542. package/build/esm/components/QueryResultsTable/QueryResultsTable.js +96 -0
  543. package/build/esm/components/QueryResultsTable/QueryResultsTable.js.map +1 -0
  544. package/build/esm/components/QueryResultsTable/QueryResultsTable.scss +65 -0
  545. package/build/esm/components/QueryResultsTable/helpers/formatQueryResultType.d.ts +3 -0
  546. package/build/esm/components/QueryResultsTable/helpers/formatQueryResultType.js +82 -0
  547. package/build/esm/components/QueryResultsTable/helpers/formatQueryResultType.js.map +1 -0
  548. package/build/esm/components/QueryResultsTable/helpers/formatQueryResultValue.d.ts +11 -0
  549. package/build/esm/components/QueryResultsTable/helpers/formatQueryResultValue.js +33 -0
  550. package/build/esm/components/QueryResultsTable/helpers/formatQueryResultValue.js.map +1 -0
  551. package/build/esm/components/QueryResultsTable/i18n/dicts.d.ts +13 -0
  552. package/build/esm/components/QueryResultsTable/i18n/dicts.js +7 -0
  553. package/build/esm/components/QueryResultsTable/i18n/dicts.js.map +1 -0
  554. package/build/esm/components/QueryResultsTable/i18n/en.json +5 -0
  555. package/build/esm/components/QueryResultsTable/i18n/index.d.ts +6 -0
  556. package/build/esm/components/QueryResultsTable/i18n/index.js +4 -0
  557. package/build/esm/components/QueryResultsTable/i18n/index.js.map +1 -0
  558. package/build/esm/components/QueryResultsTable/i18n/ru.json +5 -0
  559. package/build/esm/components/QueryResultsTable/index.d.ts +3 -0
  560. package/build/esm/components/QueryResultsTable/index.js +3 -0
  561. package/build/esm/components/QueryResultsTable/index.js.map +1 -0
  562. package/build/esm/components/QueryResultsTable/internal/QueryResultCell.d.ts +11 -0
  563. package/build/esm/components/QueryResultsTable/internal/QueryResultCell.js +71 -0
  564. package/build/esm/components/QueryResultsTable/internal/QueryResultCell.js.map +1 -0
  565. package/build/esm/components/RowActionsMenu/RowActionsMenu.d.ts +7 -0
  566. package/build/esm/{modules/HistoryRow/HistoryRowMenu.js → components/RowActionsMenu/RowActionsMenu.js} +8 -5
  567. package/build/esm/components/RowActionsMenu/RowActionsMenu.js.map +1 -0
  568. package/build/esm/components/RowActionsMenu/index.d.ts +2 -0
  569. package/build/esm/components/RowActionsMenu/index.js +2 -0
  570. package/build/esm/components/RowActionsMenu/index.js.map +1 -0
  571. package/build/esm/components/index.d.ts +9 -0
  572. package/build/esm/components/index.js +6 -0
  573. package/build/esm/components/index.js.map +1 -1
  574. package/build/esm/helpers/createUuid.d.ts +1 -0
  575. package/build/esm/helpers/createUuid.js +6 -0
  576. package/build/esm/helpers/createUuid.js.map +1 -0
  577. package/build/esm/helpers/getListKey.d.ts +2 -2
  578. package/build/esm/helpers/getListKey.js.map +1 -1
  579. package/build/esm/helpers/isFieldVisible.d.ts +5 -4
  580. package/build/esm/helpers/isFieldVisible.js +2 -2
  581. package/build/esm/helpers/isFieldVisible.js.map +1 -1
  582. package/build/esm/helpers/isObjectEqual.d.ts +1 -0
  583. package/build/esm/helpers/isObjectEqual.js +23 -0
  584. package/build/esm/helpers/isObjectEqual.js.map +1 -0
  585. package/build/esm/helpers/time.d.ts +1 -0
  586. package/build/esm/helpers/time.js +6 -2
  587. package/build/esm/helpers/time.js.map +1 -1
  588. package/build/esm/helpers/useDebouncedValue.d.ts +2 -0
  589. package/build/esm/helpers/useDebouncedValue.js +21 -0
  590. package/build/esm/helpers/useDebouncedValue.js.map +1 -0
  591. package/build/esm/index.d.ts +5 -0
  592. package/build/esm/index.js +5 -0
  593. package/build/esm/index.js.map +1 -1
  594. package/build/esm/modules/Attachments/Attachments.css +8 -0
  595. package/build/esm/modules/Attachments/Attachments.css.map +1 -0
  596. package/build/esm/modules/Attachments/Attachments.d.ts +22 -0
  597. package/build/esm/modules/Attachments/Attachments.js +373 -0
  598. package/build/esm/modules/Attachments/Attachments.js.map +1 -0
  599. package/build/esm/modules/Attachments/Attachments.scss +10 -0
  600. package/build/esm/modules/Attachments/Attachments.stories.d.ts +41 -0
  601. package/build/esm/modules/Attachments/Attachments.stories.js +115 -0
  602. package/build/esm/modules/Attachments/Attachments.stories.js.map +1 -0
  603. package/build/esm/modules/Attachments/i18n/dicts.d.ts +13 -0
  604. package/build/esm/modules/Attachments/i18n/dicts.js +7 -0
  605. package/build/esm/modules/Attachments/i18n/dicts.js.map +1 -0
  606. package/build/esm/modules/Attachments/i18n/en.json +5 -0
  607. package/build/esm/modules/Attachments/i18n/index.d.ts +6 -0
  608. package/build/esm/modules/Attachments/i18n/index.js +4 -0
  609. package/build/esm/modules/Attachments/i18n/index.js.map +1 -0
  610. package/build/esm/modules/Attachments/i18n/ru.json +5 -0
  611. package/build/esm/modules/Attachments/index.d.ts +2 -0
  612. package/build/esm/modules/Attachments/index.js +2 -0
  613. package/build/esm/modules/Attachments/index.js.map +1 -0
  614. package/build/esm/modules/HistoryComparisonActions/HistoryComparisonActions.css +5 -0
  615. package/build/esm/modules/HistoryComparisonActions/HistoryComparisonActions.css.map +1 -0
  616. package/build/esm/modules/HistoryComparisonActions/HistoryComparisonActions.d.ts +8 -0
  617. package/build/esm/{widgets/QueriesHistory/ComparisonActions.js → modules/HistoryComparisonActions/HistoryComparisonActions.js} +10 -10
  618. package/build/esm/modules/HistoryComparisonActions/HistoryComparisonActions.js.map +1 -0
  619. package/build/esm/{widgets/QueriesHistory/ComparisonActions.scss → modules/HistoryComparisonActions/HistoryComparisonActions.scss} +2 -2
  620. package/build/esm/modules/HistoryComparisonActions/index.d.ts +2 -0
  621. package/build/esm/modules/HistoryComparisonActions/index.js +2 -0
  622. package/build/esm/modules/HistoryComparisonActions/index.js.map +1 -0
  623. package/build/esm/modules/HistoryHeader/HistoryHeader.d.ts +2 -2
  624. package/build/esm/modules/HistoryHeader/HistoryHeader.js.map +1 -1
  625. package/build/esm/modules/HistoryRow/HistoryRow.d.ts +3 -2
  626. package/build/esm/modules/HistoryRow/HistoryRow.js +3 -5
  627. package/build/esm/modules/HistoryRow/HistoryRow.js.map +1 -1
  628. package/build/esm/modules/HistoryRow/HistoryRow.stories.js.map +1 -1
  629. package/build/esm/modules/HistorySearchRow/HistorySearchRow.d.ts +3 -2
  630. package/build/esm/modules/HistorySearchRow/HistorySearchRow.js.map +1 -1
  631. package/build/esm/modules/NavigationItemsList/internal/NavigationItemsListHeader.js +1 -7
  632. package/build/esm/modules/NavigationItemsList/internal/NavigationItemsListHeader.js.map +1 -1
  633. package/build/esm/modules/NavigationPreview/NavigationPreview.css +7 -1
  634. package/build/esm/modules/NavigationPreview/NavigationPreview.css.map +1 -1
  635. package/build/esm/modules/NavigationPreview/NavigationPreview.d.ts +2 -2
  636. package/build/esm/modules/NavigationPreview/NavigationPreview.js +38 -8
  637. package/build/esm/modules/NavigationPreview/NavigationPreview.js.map +1 -1
  638. package/build/esm/modules/NavigationPreview/NavigationPreview.scss +25 -17
  639. package/build/esm/modules/NavigationPreview/story/NavigationPreview.stories.d.ts +1 -0
  640. package/build/esm/modules/NavigationPreview/story/NavigationPreview.stories.js +24 -0
  641. package/build/esm/modules/NavigationPreview/story/NavigationPreview.stories.js.map +1 -1
  642. package/build/esm/modules/NavigationPreview/story/mockData.d.ts +2 -2
  643. package/build/esm/modules/NavigationPreview/story/mockData.js +16 -4
  644. package/build/esm/modules/NavigationPreview/story/mockData.js.map +1 -1
  645. package/build/esm/modules/QueriesList/QueriesList.css +10 -0
  646. package/build/esm/modules/QueriesList/QueriesList.css.map +1 -0
  647. package/build/esm/modules/QueriesList/QueriesList.d.ts +19 -0
  648. package/build/esm/modules/QueriesList/QueriesList.js +68 -0
  649. package/build/esm/modules/QueriesList/QueriesList.js.map +1 -0
  650. package/build/esm/modules/QueriesList/QueriesList.scss +10 -0
  651. package/build/esm/modules/QueriesList/index.d.ts +2 -0
  652. package/build/esm/modules/QueriesList/index.js +2 -0
  653. package/build/esm/modules/QueriesList/index.js.map +1 -0
  654. package/build/esm/modules/QueryStatistics/QueryStatistics.css +4 -0
  655. package/build/esm/modules/QueryStatistics/QueryStatistics.css.map +1 -0
  656. package/build/esm/modules/QueryStatistics/QueryStatistics.d.ts +4 -0
  657. package/build/esm/modules/QueryStatistics/QueryStatistics.js +143 -0
  658. package/build/esm/modules/QueryStatistics/QueryStatistics.js.map +1 -0
  659. package/build/esm/modules/QueryStatistics/QueryStatistics.scss +3 -0
  660. package/build/esm/modules/QueryStatistics/helpers.d.ts +15 -0
  661. package/build/esm/modules/QueryStatistics/helpers.js +106 -0
  662. package/build/esm/modules/QueryStatistics/helpers.js.map +1 -0
  663. package/build/esm/modules/QueryStatistics/i18n/dicts.d.ts +35 -0
  664. package/build/esm/modules/QueryStatistics/i18n/dicts.js +7 -0
  665. package/build/esm/modules/QueryStatistics/i18n/dicts.js.map +1 -0
  666. package/build/esm/modules/QueryStatistics/i18n/en.json +16 -0
  667. package/build/esm/modules/QueryStatistics/i18n/index.d.ts +6 -0
  668. package/build/esm/modules/QueryStatistics/i18n/index.js +4 -0
  669. package/build/esm/modules/QueryStatistics/i18n/index.js.map +1 -0
  670. package/build/esm/modules/QueryStatistics/i18n/ru.json +16 -0
  671. package/build/esm/modules/QueryStatistics/index.d.ts +2 -0
  672. package/build/esm/modules/QueryStatistics/index.js +2 -0
  673. package/build/esm/modules/QueryStatistics/index.js.map +1 -0
  674. package/build/esm/modules/QueryStatistics/internal/MetricCell.css +36 -0
  675. package/build/esm/modules/QueryStatistics/internal/MetricCell.css.map +1 -0
  676. package/build/esm/modules/QueryStatistics/internal/MetricCell.d.ts +9 -0
  677. package/build/esm/modules/QueryStatistics/internal/MetricCell.js +114 -0
  678. package/build/esm/modules/QueryStatistics/internal/MetricCell.js.map +1 -0
  679. package/build/esm/modules/QueryStatistics/internal/MetricCell.scss +12 -0
  680. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.css +21 -0
  681. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.css.map +1 -0
  682. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.d.ts +20 -0
  683. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.js +132 -0
  684. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.js.map +1 -0
  685. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsTable.scss +8 -0
  686. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.css +5 -0
  687. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.css.map +1 -0
  688. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.d.ts +10 -0
  689. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.js +48 -0
  690. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.js.map +1 -0
  691. package/build/esm/modules/QueryStatistics/internal/QueryStatisticsToolbar.scss +1 -0
  692. package/build/esm/modules/QueryStatistics/story/QueryStatistics.stories.d.ts +8 -0
  693. package/build/esm/modules/QueryStatistics/story/QueryStatistics.stories.js +105 -0
  694. package/build/esm/modules/QueryStatistics/story/QueryStatistics.stories.js.map +1 -0
  695. package/build/esm/modules/RowsList/RowsList.d.ts +11 -11
  696. package/build/esm/modules/RowsList/RowsList.js +5 -1
  697. package/build/esm/modules/RowsList/RowsList.js.map +1 -1
  698. package/build/esm/modules/RowsList/helpers/prepareRowData.d.ts +9 -9
  699. package/build/esm/modules/RowsList/helpers/prepareRowData.js.map +1 -1
  700. package/build/esm/modules/SavedQueryRow/SavedQueryRow.css +17 -0
  701. package/build/esm/modules/SavedQueryRow/SavedQueryRow.css.map +1 -0
  702. package/build/esm/modules/SavedQueryRow/SavedQueryRow.d.ts +9 -0
  703. package/build/esm/modules/SavedQueryRow/SavedQueryRow.js +71 -0
  704. package/build/esm/modules/SavedQueryRow/SavedQueryRow.js.map +1 -0
  705. package/build/esm/modules/SavedQueryRow/SavedQueryRow.scss +20 -0
  706. package/build/esm/modules/SavedQueryRow/index.d.ts +2 -0
  707. package/build/esm/modules/SavedQueryRow/index.js +2 -0
  708. package/build/esm/modules/SavedQueryRow/index.js.map +1 -0
  709. package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.css +12 -0
  710. package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.css.map +1 -0
  711. package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.d.ts +9 -0
  712. package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.js +58 -0
  713. package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.js.map +1 -0
  714. package/build/esm/modules/SavedQuerySearchRow/SavedQuerySearchRow.scss +15 -0
  715. package/build/esm/modules/SavedQuerySearchRow/index.d.ts +2 -0
  716. package/build/esm/modules/SavedQuerySearchRow/index.js +2 -0
  717. package/build/esm/modules/SavedQuerySearchRow/index.js.map +1 -0
  718. package/build/esm/modules/index.d.ts +11 -2
  719. package/build/esm/modules/index.js +6 -1
  720. package/build/esm/modules/index.js.map +1 -1
  721. package/build/esm/types/declarations.d.ts +10 -0
  722. package/build/esm/types/errorTree.d.ts +23 -0
  723. package/build/esm/types/errorTree.js +2 -0
  724. package/build/esm/types/errorTree.js.map +1 -0
  725. package/build/esm/types/history.d.ts +4 -85
  726. package/build/esm/types/history.js.map +1 -1
  727. package/build/esm/types/navigation.d.ts +8 -1
  728. package/build/esm/types/navigation.js.map +1 -1
  729. package/build/esm/types/queryList.d.ts +83 -0
  730. package/build/esm/types/queryList.js +2 -0
  731. package/build/esm/types/queryList.js.map +1 -0
  732. package/build/esm/types/queryResults.d.ts +34 -0
  733. package/build/esm/types/queryResults.js +2 -0
  734. package/build/esm/types/queryResults.js.map +1 -0
  735. package/build/esm/types/queryStatistics.d.ts +54 -0
  736. package/build/esm/types/queryStatistics.js +2 -0
  737. package/build/esm/types/queryStatistics.js.map +1 -0
  738. package/build/esm/types/savedQueries.d.ts +6 -0
  739. package/build/esm/types/savedQueries.js +2 -0
  740. package/build/esm/types/savedQueries.js.map +1 -0
  741. package/build/esm/types/tutorial.d.ts +2 -2
  742. package/build/esm/types/tutorial.js.map +1 -1
  743. package/build/esm/widgets/QueriesHistory/QueriesHistory.css +0 -6
  744. package/build/esm/widgets/QueriesHistory/QueriesHistory.css.map +1 -1
  745. package/build/esm/widgets/QueriesHistory/QueriesHistory.d.ts +11 -10
  746. package/build/esm/widgets/QueriesHistory/QueriesHistory.js +16 -35
  747. package/build/esm/widgets/QueriesHistory/QueriesHistory.js.map +1 -1
  748. package/build/esm/widgets/QueriesHistory/QueriesHistory.scss +1 -8
  749. package/build/esm/widgets/QueriesHistory/QueriesHistory.stories.js.map +1 -1
  750. package/build/esm/widgets/QueriesHistory/internal/HistoryRowContent.d.ts +4 -0
  751. package/build/esm/{modules/HistoryList → widgets/QueriesHistory/internal}/HistoryRowContent.js +2 -3
  752. package/build/esm/widgets/QueriesHistory/internal/HistoryRowContent.js.map +1 -0
  753. package/build/esm/widgets/QueriesNavigation/QueriesNavigation.css +3 -0
  754. package/build/esm/widgets/QueriesNavigation/QueriesNavigation.css.map +1 -1
  755. package/build/esm/widgets/QueriesNavigation/QueriesNavigation.scss +2 -0
  756. package/build/esm/widgets/QueriesNavigation/QueriesNavigation.stories.js +40 -35
  757. package/build/esm/widgets/QueriesNavigation/QueriesNavigation.stories.js.map +1 -1
  758. package/build/esm/widgets/QueriesNavigation/i18n/index.d.ts +2 -2
  759. package/build/esm/widgets/QueryResults/QueryResults.css +19 -0
  760. package/build/esm/widgets/QueryResults/QueryResults.css.map +1 -0
  761. package/build/esm/widgets/QueryResults/QueryResults.d.ts +23 -0
  762. package/build/esm/widgets/QueryResults/QueryResults.js +111 -0
  763. package/build/esm/widgets/QueryResults/QueryResults.js.map +1 -0
  764. package/build/esm/widgets/QueryResults/QueryResults.scss +25 -0
  765. package/build/esm/widgets/QueryResults/QueryResults.stories.d.ts +19 -0
  766. package/build/esm/widgets/QueryResults/QueryResults.stories.js +191 -0
  767. package/build/esm/widgets/QueryResults/QueryResults.stories.js.map +1 -0
  768. package/build/esm/widgets/QueryResults/i18n/dicts.d.ts +25 -0
  769. package/build/esm/widgets/QueryResults/i18n/dicts.js +7 -0
  770. package/build/esm/widgets/QueryResults/i18n/dicts.js.map +1 -0
  771. package/build/esm/widgets/QueryResults/i18n/en.json +10 -0
  772. package/build/esm/widgets/QueryResults/i18n/index.d.ts +6 -0
  773. package/build/esm/widgets/QueryResults/i18n/index.js +4 -0
  774. package/build/esm/widgets/QueryResults/i18n/index.js.map +1 -0
  775. package/build/esm/widgets/QueryResults/i18n/ru.json +12 -0
  776. package/build/esm/widgets/QueryResults/index.d.ts +2 -0
  777. package/build/esm/widgets/QueryResults/index.js +2 -0
  778. package/build/esm/widgets/QueryResults/index.js.map +1 -0
  779. package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.d.ts +7 -0
  780. package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.js +41 -0
  781. package/build/esm/widgets/QueryResults/internal/QueryResultsSchema.js.map +1 -0
  782. package/build/esm/widgets/SavedQueries/SavedQueries.css +4 -0
  783. package/build/esm/widgets/SavedQueries/SavedQueries.css.map +1 -0
  784. package/build/esm/widgets/SavedQueries/SavedQueries.d.ts +21 -0
  785. package/build/esm/widgets/SavedQueries/SavedQueries.js +51 -0
  786. package/build/esm/widgets/SavedQueries/SavedQueries.js.map +1 -0
  787. package/build/esm/widgets/SavedQueries/SavedQueries.scss +3 -0
  788. package/build/esm/widgets/SavedQueries/SavedQueries.stories.d.ts +8 -0
  789. package/build/esm/widgets/SavedQueries/SavedQueries.stories.js +278 -0
  790. package/build/esm/widgets/SavedQueries/SavedQueries.stories.js.map +1 -0
  791. package/build/esm/widgets/SavedQueries/SavedQueryRowContent.d.ts +8 -0
  792. package/build/esm/widgets/SavedQueries/SavedQueryRowContent.js +26 -0
  793. package/build/esm/widgets/SavedQueries/SavedQueryRowContent.js.map +1 -0
  794. package/build/esm/widgets/SavedQueries/i18n/dicts.d.ts +9 -0
  795. package/build/esm/widgets/SavedQueries/i18n/dicts.js +7 -0
  796. package/build/esm/widgets/SavedQueries/i18n/dicts.js.map +1 -0
  797. package/build/esm/widgets/SavedQueries/i18n/en.json +3 -0
  798. package/build/esm/widgets/SavedQueries/i18n/index.d.ts +6 -0
  799. package/build/esm/widgets/SavedQueries/i18n/index.js +4 -0
  800. package/build/esm/widgets/SavedQueries/i18n/index.js.map +1 -0
  801. package/build/esm/widgets/SavedQueries/i18n/ru.json +3 -0
  802. package/build/esm/widgets/SavedQueries/index.d.ts +2 -0
  803. package/build/esm/widgets/SavedQueries/index.js +2 -0
  804. package/build/esm/widgets/SavedQueries/index.js.map +1 -0
  805. package/build/esm/widgets/TutorialsHistory/TutorialRowContent.d.ts +2 -2
  806. package/build/esm/widgets/TutorialsHistory/TutorialRowContent.js.map +1 -1
  807. package/build/esm/widgets/TutorialsHistory/TutorialsHistory.d.ts +5 -5
  808. package/build/esm/widgets/TutorialsHistory/TutorialsHistory.js.map +1 -1
  809. package/build/esm/widgets/TutorialsHistory/TutorialsHistory.stories.js.map +1 -1
  810. package/build/esm/widgets/index.d.ts +4 -0
  811. package/build/esm/widgets/index.js +2 -0
  812. package/build/esm/widgets/index.js.map +1 -1
  813. package/package.json +1 -1
  814. package/plans/styles-rules.md +137 -0
  815. package/src/components/AttachmentList/AttachmentList.scss +25 -0
  816. package/src/components/AttachmentList/AttachmentList.stories.tsx +243 -0
  817. package/src/components/AttachmentList/AttachmentList.tsx +67 -0
  818. package/src/components/AttachmentList/helpers/getIconByAttachmentName.ts +36 -0
  819. package/src/components/AttachmentList/helpers/objectLinkValidator.ts +40 -0
  820. package/src/components/AttachmentList/helpers/stringRequiredValidator.ts +24 -0
  821. package/src/components/AttachmentList/hooks/useKeyDownFormControl.ts +22 -0
  822. package/src/components/AttachmentList/hooks/useLabelRef.ts +25 -0
  823. package/src/components/AttachmentList/i18n/dicts.ts +4 -0
  824. package/src/components/AttachmentList/i18n/en.json +10 -0
  825. package/src/components/AttachmentList/i18n/index.ts +5 -0
  826. package/src/components/AttachmentList/i18n/ru.json +10 -0
  827. package/src/components/AttachmentList/index.ts +4 -0
  828. package/src/components/AttachmentList/internal/AttachmentItem/AttachmentItem.scss +23 -0
  829. package/src/components/AttachmentList/internal/AttachmentItem/AttachmentItem.tsx +75 -0
  830. package/src/components/AttachmentList/internal/AttachmentItem/index.ts +2 -0
  831. package/src/components/AttachmentList/internal/EditAttachmentItem/EditAttachmentItem.tsx +21 -0
  832. package/src/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.scss +21 -0
  833. package/src/components/AttachmentList/internal/EditAttachmentItem/EditLinkItem.tsx +194 -0
  834. package/src/components/AttachmentList/internal/EditAttachmentItem/FileEdit.tsx +92 -0
  835. package/src/components/AttachmentList/internal/EditAttachmentItem/index.ts +4 -0
  836. package/src/components/AttachmentListPlaceholder/AttachmentListPlaceholder.scss +5 -0
  837. package/src/components/AttachmentListPlaceholder/AttachmentListPlaceholder.stories.tsx +30 -0
  838. package/src/components/AttachmentListPlaceholder/AttachmentListPlaceholder.tsx +72 -0
  839. package/src/components/AttachmentListPlaceholder/assets/empty-attachments.svg +14 -0
  840. package/src/components/AttachmentListPlaceholder/i18n/dicts.ts +4 -0
  841. package/src/components/AttachmentListPlaceholder/i18n/en.json +7 -0
  842. package/src/components/AttachmentListPlaceholder/i18n/index.ts +5 -0
  843. package/src/components/AttachmentListPlaceholder/i18n/ru.json +7 -0
  844. package/src/components/AttachmentListPlaceholder/index.ts +2 -0
  845. package/src/components/DataTable/DataTable.scss +18 -26
  846. package/src/components/DataTable/DataTable.tsx +23 -4
  847. package/src/{modules/HistoryRow/HistoryRowTitle.tsx → components/EditableRowTitle/EditableRowTitle.tsx} +10 -12
  848. package/src/components/EditableRowTitle/index.ts +2 -0
  849. package/src/components/ErrorTree/ErrorTree.stories.tsx +94 -0
  850. package/src/components/ErrorTree/ErrorTree.tsx +30 -0
  851. package/src/components/ErrorTree/helpers/formatAttributes.ts +9 -0
  852. package/src/components/ErrorTree/helpers/getIntermediateChain.ts +21 -0
  853. package/src/components/ErrorTree/i18n/dicts.ts +4 -0
  854. package/src/components/ErrorTree/i18n/en.json +11 -0
  855. package/src/components/ErrorTree/i18n/index.ts +5 -0
  856. package/src/components/ErrorTree/i18n/ru.json +13 -0
  857. package/src/components/ErrorTree/index.ts +1 -0
  858. package/src/components/ErrorTree/internal/ErrorTreeChildren.scss +5 -0
  859. package/src/components/ErrorTree/internal/ErrorTreeChildren.tsx +25 -0
  860. package/src/components/ErrorTree/internal/ErrorTreeNode.scss +95 -0
  861. package/src/components/ErrorTree/internal/ErrorTreeNode.tsx +178 -0
  862. package/src/components/ErrorTree/internal/IntermediateMessages.scss +13 -0
  863. package/src/components/ErrorTree/internal/IntermediateMessages.tsx +127 -0
  864. package/src/components/HistoryFilter/HistoryFilter.tsx +2 -2
  865. package/src/components/Icons/LogoCPlusPlus.tsx +34 -0
  866. package/src/components/Icons/index.ts +1 -0
  867. package/src/components/LazyList/LazyList.scss +6 -6
  868. package/src/components/QueryResultsTable/QueryResultsTable.scss +65 -0
  869. package/src/components/QueryResultsTable/QueryResultsTable.tsx +112 -0
  870. package/src/components/QueryResultsTable/helpers/formatQueryResultType.ts +76 -0
  871. package/src/components/QueryResultsTable/helpers/formatQueryResultValue.ts +38 -0
  872. package/src/components/QueryResultsTable/i18n/dicts.ts +4 -0
  873. package/src/components/QueryResultsTable/i18n/en.json +5 -0
  874. package/src/components/QueryResultsTable/i18n/index.ts +4 -0
  875. package/src/components/QueryResultsTable/i18n/ru.json +5 -0
  876. package/src/components/QueryResultsTable/index.ts +3 -0
  877. package/src/components/QueryResultsTable/internal/QueryResultCell.tsx +63 -0
  878. package/src/components/RowActionsMenu/RowActionsMenu.tsx +47 -0
  879. package/src/components/RowActionsMenu/index.ts +2 -0
  880. package/src/components/index.ts +9 -0
  881. package/src/helpers/createUuid.ts +3 -0
  882. package/src/helpers/getListKey.ts +4 -4
  883. package/src/helpers/isFieldVisible.ts +5 -4
  884. package/src/helpers/isObjectEqual.ts +15 -0
  885. package/src/helpers/time.ts +4 -0
  886. package/src/helpers/useDebouncedValue.ts +14 -0
  887. package/src/index.ts +5 -0
  888. package/src/modules/Attachments/Attachments.scss +10 -0
  889. package/src/modules/Attachments/Attachments.stories.tsx +112 -0
  890. package/src/modules/Attachments/Attachments.tsx +336 -0
  891. package/src/modules/Attachments/i18n/dicts.ts +4 -0
  892. package/src/modules/Attachments/i18n/en.json +5 -0
  893. package/src/modules/Attachments/i18n/index.ts +5 -0
  894. package/src/modules/Attachments/i18n/ru.json +5 -0
  895. package/src/modules/Attachments/index.ts +2 -0
  896. package/src/{widgets/QueriesHistory/ComparisonActions.scss → modules/HistoryComparisonActions/HistoryComparisonActions.scss} +2 -2
  897. package/src/{widgets/QueriesHistory/ComparisonActions.tsx → modules/HistoryComparisonActions/HistoryComparisonActions.tsx} +8 -8
  898. package/src/modules/HistoryComparisonActions/index.ts +2 -0
  899. package/src/modules/HistoryHeader/HistoryHeader.tsx +2 -2
  900. package/src/modules/HistoryRow/HistoryRow.stories.tsx +3 -2
  901. package/src/modules/HistoryRow/HistoryRow.tsx +13 -7
  902. package/src/modules/HistorySearchRow/HistorySearchRow.tsx +3 -2
  903. package/src/modules/NavigationItemsList/internal/NavigationItemsListHeader.tsx +1 -5
  904. package/src/modules/NavigationPreview/NavigationPreview.scss +25 -17
  905. package/src/modules/NavigationPreview/NavigationPreview.tsx +62 -17
  906. package/src/modules/NavigationPreview/story/NavigationPreview.stories.tsx +26 -1
  907. package/src/modules/NavigationPreview/story/mockData.ts +10 -5
  908. package/src/modules/QueriesList/QueriesList.scss +10 -0
  909. package/src/modules/QueriesList/QueriesList.tsx +98 -0
  910. package/src/modules/QueriesList/index.ts +2 -0
  911. package/src/modules/QueryStatistics/QueryStatistics.scss +3 -0
  912. package/src/modules/QueryStatistics/QueryStatistics.tsx +125 -0
  913. package/src/modules/QueryStatistics/helpers.ts +96 -0
  914. package/src/modules/QueryStatistics/i18n/dicts.ts +4 -0
  915. package/src/modules/QueryStatistics/i18n/en.json +16 -0
  916. package/src/modules/QueryStatistics/i18n/index.ts +4 -0
  917. package/src/modules/QueryStatistics/i18n/ru.json +16 -0
  918. package/src/modules/QueryStatistics/index.ts +13 -0
  919. package/src/modules/QueryStatistics/internal/MetricCell.scss +12 -0
  920. package/src/modules/QueryStatistics/internal/MetricCell.tsx +99 -0
  921. package/src/modules/QueryStatistics/internal/QueryStatisticsTable.scss +8 -0
  922. package/src/modules/QueryStatistics/internal/QueryStatisticsTable.tsx +135 -0
  923. package/src/modules/QueryStatistics/internal/QueryStatisticsToolbar.scss +1 -0
  924. package/src/modules/QueryStatistics/internal/QueryStatisticsToolbar.tsx +61 -0
  925. package/src/modules/QueryStatistics/story/QueryStatistics.stories.tsx +71 -0
  926. package/src/modules/RowsList/RowsList.tsx +27 -23
  927. package/src/modules/RowsList/helpers/prepareRowData.ts +18 -18
  928. package/src/modules/SavedQueryRow/SavedQueryRow.scss +20 -0
  929. package/src/modules/SavedQueryRow/SavedQueryRow.tsx +60 -0
  930. package/src/modules/SavedQueryRow/index.ts +2 -0
  931. package/src/modules/SavedQuerySearchRow/SavedQuerySearchRow.scss +15 -0
  932. package/src/modules/SavedQuerySearchRow/SavedQuerySearchRow.tsx +58 -0
  933. package/src/modules/SavedQuerySearchRow/index.ts +2 -0
  934. package/src/modules/index.ts +22 -2
  935. package/src/types/declarations.d.ts +10 -0
  936. package/src/types/errorTree.ts +30 -0
  937. package/src/types/history.ts +4 -95
  938. package/src/types/navigation.ts +11 -1
  939. package/src/types/queryList.ts +92 -0
  940. package/src/types/queryResults.ts +48 -0
  941. package/src/types/queryStatistics.ts +67 -0
  942. package/src/types/savedQueries.ts +7 -0
  943. package/src/types/tutorial.ts +2 -2
  944. package/src/widgets/QueriesHistory/QueriesHistory.scss +1 -8
  945. package/src/widgets/QueriesHistory/QueriesHistory.stories.tsx +11 -11
  946. package/src/widgets/QueriesHistory/QueriesHistory.tsx +35 -61
  947. package/src/{modules/HistoryList → widgets/QueriesHistory/internal}/HistoryRowContent.tsx +5 -5
  948. package/src/widgets/QueriesNavigation/QueriesNavigation.scss +2 -0
  949. package/src/widgets/QueriesNavigation/QueriesNavigation.stories.tsx +42 -33
  950. package/src/widgets/QueryResults/QueryResults.scss +25 -0
  951. package/src/widgets/QueryResults/QueryResults.stories.tsx +155 -0
  952. package/src/widgets/QueryResults/QueryResults.tsx +121 -0
  953. package/src/widgets/QueryResults/i18n/dicts.ts +4 -0
  954. package/src/widgets/QueryResults/i18n/en.json +10 -0
  955. package/src/widgets/QueryResults/i18n/index.ts +4 -0
  956. package/src/widgets/QueryResults/i18n/ru.json +12 -0
  957. package/src/widgets/QueryResults/index.ts +2 -0
  958. package/src/widgets/QueryResults/internal/QueryResultsSchema.tsx +41 -0
  959. package/src/widgets/SavedQueries/SavedQueries.scss +3 -0
  960. package/src/widgets/SavedQueries/SavedQueries.stories.tsx +192 -0
  961. package/src/widgets/SavedQueries/SavedQueries.tsx +77 -0
  962. package/src/widgets/SavedQueries/SavedQueryRowContent.tsx +26 -0
  963. package/src/widgets/SavedQueries/i18n/dicts.ts +4 -0
  964. package/src/widgets/SavedQueries/i18n/en.json +3 -0
  965. package/src/widgets/SavedQueries/i18n/index.ts +4 -0
  966. package/src/widgets/SavedQueries/i18n/ru.json +3 -0
  967. package/src/widgets/SavedQueries/index.ts +2 -0
  968. package/src/widgets/TutorialsHistory/TutorialRowContent.tsx +2 -2
  969. package/src/widgets/TutorialsHistory/TutorialsHistory.stories.tsx +3 -3
  970. package/src/widgets/TutorialsHistory/TutorialsHistory.tsx +5 -9
  971. package/src/widgets/index.ts +4 -0
  972. package/build/cjs/modules/HistoryList/HistoryList.d.ts +0 -16
  973. package/build/cjs/modules/HistoryList/HistoryList.js +0 -24
  974. package/build/cjs/modules/HistoryList/HistoryList.js.map +0 -1
  975. package/build/cjs/modules/HistoryList/HistoryList.stories.d.ts +0 -14
  976. package/build/cjs/modules/HistoryList/HistoryList.stories.js +0 -245
  977. package/build/cjs/modules/HistoryList/HistoryList.stories.js.map +0 -1
  978. package/build/cjs/modules/HistoryList/HistoryRowContent.d.ts +0 -3
  979. package/build/cjs/modules/HistoryList/HistoryRowContent.js.map +0 -1
  980. package/build/cjs/modules/HistoryList/index.d.ts +0 -2
  981. package/build/cjs/modules/HistoryList/index.js +0 -13
  982. package/build/cjs/modules/HistoryList/index.js.map +0 -1
  983. package/build/cjs/modules/HistoryRow/HistoryRowMenu.d.ts +0 -8
  984. package/build/cjs/modules/HistoryRow/HistoryRowMenu.js.map +0 -1
  985. package/build/cjs/modules/HistoryRow/HistoryRowTitle.d.ts +0 -8
  986. package/build/cjs/modules/HistoryRow/HistoryRowTitle.js.map +0 -1
  987. package/build/cjs/widgets/QueriesHistory/ComparisonActions.css +0 -5
  988. package/build/cjs/widgets/QueriesHistory/ComparisonActions.css.map +0 -1
  989. package/build/cjs/widgets/QueriesHistory/ComparisonActions.d.ts +0 -9
  990. package/build/cjs/widgets/QueriesHistory/ComparisonActions.js.map +0 -1
  991. package/build/esm/modules/HistoryList/HistoryList.d.ts +0 -16
  992. package/build/esm/modules/HistoryList/HistoryList.js +0 -17
  993. package/build/esm/modules/HistoryList/HistoryList.js.map +0 -1
  994. package/build/esm/modules/HistoryList/HistoryList.stories.d.ts +0 -14
  995. package/build/esm/modules/HistoryList/HistoryList.stories.js +0 -237
  996. package/build/esm/modules/HistoryList/HistoryList.stories.js.map +0 -1
  997. package/build/esm/modules/HistoryList/HistoryRowContent.d.ts +0 -3
  998. package/build/esm/modules/HistoryList/HistoryRowContent.js.map +0 -1
  999. package/build/esm/modules/HistoryList/index.d.ts +0 -2
  1000. package/build/esm/modules/HistoryList/index.js +0 -2
  1001. package/build/esm/modules/HistoryList/index.js.map +0 -1
  1002. package/build/esm/modules/HistoryRow/HistoryRowMenu.d.ts +0 -8
  1003. package/build/esm/modules/HistoryRow/HistoryRowMenu.js.map +0 -1
  1004. package/build/esm/modules/HistoryRow/HistoryRowTitle.d.ts +0 -8
  1005. package/build/esm/modules/HistoryRow/HistoryRowTitle.js.map +0 -1
  1006. package/build/esm/widgets/QueriesHistory/ComparisonActions.css +0 -5
  1007. package/build/esm/widgets/QueriesHistory/ComparisonActions.css.map +0 -1
  1008. package/build/esm/widgets/QueriesHistory/ComparisonActions.d.ts +0 -9
  1009. package/build/esm/widgets/QueriesHistory/ComparisonActions.js.map +0 -1
  1010. package/src/modules/HistoryList/HistoryList.stories.tsx +0 -181
  1011. package/src/modules/HistoryList/HistoryList.tsx +0 -41
  1012. package/src/modules/HistoryList/index.ts +0 -2
  1013. package/src/modules/HistoryRow/HistoryRowMenu.tsx +0 -47
@@ -0,0 +1,106 @@
1
+ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
+ import "core-js/modules/es.symbol.js";
4
+ import "core-js/modules/es.symbol.description.js";
5
+ import "core-js/modules/es.array.concat.js";
6
+ import "core-js/modules/es.array.filter.js";
7
+ import "core-js/modules/es.array.flat-map.js";
8
+ import "core-js/modules/es.array.for-each.js";
9
+ import "core-js/modules/es.array.includes.js";
10
+ import "core-js/modules/es.array.is-array.js";
11
+ import "core-js/modules/es.array.iterator.js";
12
+ import "core-js/modules/es.array.some.js";
13
+ import "core-js/modules/es.array.unscopables.flat-map.js";
14
+ import "core-js/modules/es.function.name.js";
15
+ import "core-js/modules/es.iterator.constructor.js";
16
+ import "core-js/modules/es.iterator.flat-map.js";
17
+ import "core-js/modules/es.iterator.for-each.js";
18
+ import "core-js/modules/es.iterator.some.js";
19
+ import "core-js/modules/es.object.to-string.js";
20
+ import "core-js/modules/es.set.js";
21
+ import "core-js/modules/es.set.difference.v2.js";
22
+ import "core-js/modules/es.set.intersection.v2.js";
23
+ import "core-js/modules/es.set.is-disjoint-from.v2.js";
24
+ import "core-js/modules/es.set.is-subset-of.v2.js";
25
+ import "core-js/modules/es.set.is-superset-of.v2.js";
26
+ import "core-js/modules/es.set.symmetric-difference.v2.js";
27
+ import "core-js/modules/es.set.union.v2.js";
28
+ import "core-js/modules/es.string.includes.js";
29
+ import "core-js/modules/es.string.iterator.js";
30
+ import "core-js/modules/es.string.trim.js";
31
+ import "core-js/modules/web.dom-collections.for-each.js";
32
+ import "core-js/modules/web.dom-collections.iterator.js";
33
+ export function isQueryStatisticsGroup(item) {
34
+ return Array.isArray(item.children);
35
+ }
36
+ export function isQueryStatisticsMetric(item) {
37
+ return !isQueryStatisticsGroup(item);
38
+ }
39
+ export function getQueryStatisticsValue(item, column) {
40
+ if (column !== 'avg' || item.values.avg !== undefined) {
41
+ return item.values[column];
42
+ }
43
+ var _item$values = item.values,
44
+ count = _item$values.count,
45
+ sum = _item$values.sum;
46
+ return count === undefined || count === 0 || sum === undefined ? undefined : sum / count;
47
+ }
48
+ export function collectQueryStatisticsGroupIds(data) {
49
+ return data.flatMap(function (item) {
50
+ return isQueryStatisticsGroup(item) && item.children.length > 0 ? [item.id].concat(_toConsumableArray(collectQueryStatisticsGroupIds(item.children))) : [];
51
+ });
52
+ }
53
+ function addSubtreeGroupIds(item, target) {
54
+ if (item.children.length > 0) {
55
+ target.add(item.id);
56
+ }
57
+ item.children.forEach(function (child) {
58
+ if (isQueryStatisticsGroup(child)) {
59
+ addSubtreeGroupIds(child, target);
60
+ }
61
+ });
62
+ }
63
+ function matchesSearch(item, search) {
64
+ return [item.name, item.description, item.unit].filter(Boolean).some(function (value) {
65
+ return value === null || value === void 0 ? void 0 : value.toLocaleLowerCase().includes(search);
66
+ });
67
+ }
68
+ export function filterQueryStatistics(data, search) {
69
+ var normalizedSearch = search.trim().toLocaleLowerCase();
70
+ if (!normalizedSearch) return {
71
+ data: data,
72
+ forcedExpandedIds: new Set()
73
+ };
74
+ var forcedExpandedIds = new Set();
75
+ var _filterItems = function filterItems(items) {
76
+ return items.flatMap(function (item) {
77
+ if (!isQueryStatisticsGroup(item)) {
78
+ return matchesSearch(item, normalizedSearch) ? [item] : [];
79
+ }
80
+ if (matchesSearch(item, normalizedSearch)) {
81
+ addSubtreeGroupIds(item, forcedExpandedIds);
82
+ return [item];
83
+ }
84
+ var children = _filterItems(item.children);
85
+ if (!children.length) return [];
86
+ if (item.children.length > 0) forcedExpandedIds.add(item.id);
87
+ return [_objectSpread(_objectSpread({}, item), {}, {
88
+ children: children
89
+ })];
90
+ });
91
+ };
92
+ return {
93
+ data: _filterItems(data),
94
+ forcedExpandedIds: forcedExpandedIds
95
+ };
96
+ }
97
+ export function flattenQueryStatistics(data, expandedIds) {
98
+ var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
99
+ return data.flatMap(function (item) {
100
+ return [{
101
+ item: item,
102
+ level: level
103
+ }].concat(_toConsumableArray(isQueryStatisticsGroup(item) && expandedIds.has(item.id) ? flattenQueryStatistics(item.children, expandedIds, level + 1) : []));
104
+ });
105
+ }
106
+ // #sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isQueryStatisticsGroup","item","Array","isArray","children","isQueryStatisticsMetric","getQueryStatisticsValue","column","values","avg","undefined","_item$values","count","sum","collectQueryStatisticsGroupIds","data","flatMap","length","id","concat","_toConsumableArray","addSubtreeGroupIds","target","add","forEach","child","matchesSearch","search","name","description","unit","filter","Boolean","some","value","toLocaleLowerCase","includes","filterQueryStatistics","normalizedSearch","trim","forcedExpandedIds","Set","filterItems","items","_objectSpread","flattenQueryStatistics","expandedIds","level","arguments","has"],"sources":["helpers.ts"],"sourcesContent":["import type {\n QueryStatisticsGroup,\n QueryStatisticsItem,\n QueryStatisticsMetric,\n} from '../../types/queryStatistics';\n\nexport type QueryStatisticsRow = {item: QueryStatisticsItem; level: number};\n\nexport type FilterQueryStatisticsResult = {\n data: QueryStatisticsItem[];\n forcedExpandedIds: Set<string>;\n};\n\nexport function isQueryStatisticsGroup(item: QueryStatisticsItem): item is QueryStatisticsGroup {\n return Array.isArray(item.children);\n}\n\nexport function isQueryStatisticsMetric(item: QueryStatisticsItem): item is QueryStatisticsMetric {\n return !isQueryStatisticsGroup(item);\n}\n\nexport function getQueryStatisticsValue(\n item: QueryStatisticsMetric,\n column: keyof QueryStatisticsMetric['values'],\n) {\n if (column !== 'avg' || item.values.avg !== undefined) {\n return item.values[column];\n }\n\n const {count, sum} = item.values;\n return count === undefined || count === 0 || sum === undefined ? undefined : sum / count;\n}\n\nexport function collectQueryStatisticsGroupIds(data: QueryStatisticsItem[]): string[] {\n return data.flatMap((item) =>\n isQueryStatisticsGroup(item) && item.children.length > 0\n ? [item.id, ...collectQueryStatisticsGroupIds(item.children)]\n : [],\n );\n}\n\nfunction addSubtreeGroupIds(item: QueryStatisticsGroup, target: Set<string>) {\n if (item.children.length > 0) {\n target.add(item.id);\n }\n item.children.forEach((child) => {\n if (isQueryStatisticsGroup(child)) {\n addSubtreeGroupIds(child, target);\n }\n });\n}\n\nfunction matchesSearch(item: QueryStatisticsItem, search: string) {\n return [item.name, item.description, item.unit]\n .filter(Boolean)\n .some((value) => value?.toLocaleLowerCase().includes(search));\n}\n\nexport function filterQueryStatistics(\n data: QueryStatisticsItem[],\n search: string,\n): FilterQueryStatisticsResult {\n const normalizedSearch = search.trim().toLocaleLowerCase();\n if (!normalizedSearch) return {data, forcedExpandedIds: new Set()};\n\n const forcedExpandedIds = new Set<string>();\n const filterItems = (items: QueryStatisticsItem[]): QueryStatisticsItem[] =>\n items.flatMap<QueryStatisticsItem>((item) => {\n if (!isQueryStatisticsGroup(item)) {\n return matchesSearch(item, normalizedSearch) ? [item] : [];\n }\n if (matchesSearch(item, normalizedSearch)) {\n addSubtreeGroupIds(item, forcedExpandedIds);\n return [item];\n }\n const children = filterItems(item.children);\n if (!children.length) return [];\n if (item.children.length > 0) forcedExpandedIds.add(item.id);\n return [{...item, children}];\n });\n\n return {data: filterItems(data), forcedExpandedIds};\n}\n\nexport function flattenQueryStatistics(\n data: QueryStatisticsItem[],\n expandedIds: Set<string>,\n level = 0,\n): QueryStatisticsRow[] {\n return data.flatMap((item) => [\n {item, level},\n ...(isQueryStatisticsGroup(item) && expandedIds.has(item.id)\n ? flattenQueryStatistics(item.children, expandedIds, level + 1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kB,CAACpB,IAAI,EAAEuC,iBAAiB,CAAC;QAC3C,OAAO,CAACvC,IAAI,CAAC;MACjB;MACA,IAAMG,QAAQ,GAAGsC,YAAW,CAACzC,IAAI,CAACG,QAAQ,CAAC;MAC3C,IAAI,CAACA,QAAQ,CAACa,MAAM,EAAE,OAAO,EAAE;MAC/B,IAAIhB,IAAI,CAACG,QAAQ,CAACa,MAAM,GAAG,CAAC,EAAEuB,iBAAiB,CAACjB,GAAG,CAACtB,IAAI,CAACiB,EAAE,CAAC;MAC5D,OAAO,CAAA0B,aAAA,CAAAA,aAAA,KAAK3C,IAAI;QAAEG,QAAQ,EAARA;MAAQ,GAAE;IAChC,CAAC,CAAC;EAAA;EAEN,OAAO;IAACW,IAAI,EAAE2B,YAAW,CAAC3B,IAAI,CAAC;IAAEyB,iBAAiB,EAAjBA;EAAiB,CAAC;AACvD;AAEA,OAAO,SAASK,sBAAsBA,CAClC9B,IAA2B,EAC3B+B,WAAwB,EAEJ;EAAA,IADpBC,KAAK,GAAAC,SAAA,CAAA/B,MAAA,QAAA+B,SAAA,QAAAtC,SAAA,GAAAsC,SAAA,MAAG,CAAC;EAET,OAAOjC,IAAI,CAACC,OAAO,CAAC,UAACf,IAAI;IAAA,QACrB;MAACA,IAAI,EAAJA,IAAI;MAAE8C,KAAK,EAALA;IAAK,CAAC,EAAA5B,MAAA,CAAAC,kBAAA,CACTpB,sBAAsB,CAACC,IAAI,CAAC,IAAI6C,WAAW,CAACG,GAAG,CAAChD,IAAI,CAACiB,EAAE,CAAC,GACtD2B,sBAAsB,CAAC5C,IAAI,CAACG,QAAQ,EAAE0C,WAAW,EAAEC,KAAK,GAAG,CAAC,CAAC,GAC7D,EAAE;EAAA,CACX,CAAC;AACN","ignoreList":[]}
@@ -0,0 +1,35 @@
1
+ declare const _default: {
2
+ en: {
3
+ "action_collapse-all": string;
4
+ "action_collapse-group": string;
5
+ "action_expand-all": string;
6
+ "action_expand-group": string;
7
+ field_avg: string;
8
+ field_count: string;
9
+ field_description: string;
10
+ field_last: string;
11
+ field_max: string;
12
+ field_metric: string;
13
+ field_min: string;
14
+ field_search: string;
15
+ field_sum: string;
16
+ field_unit: string;
17
+ };
18
+ ru: {
19
+ "action_collapse-all": string;
20
+ "action_collapse-group": string;
21
+ "action_expand-all": string;
22
+ "action_expand-group": string;
23
+ field_avg: string;
24
+ field_count: string;
25
+ field_description: string;
26
+ field_last: string;
27
+ field_max: string;
28
+ field_metric: string;
29
+ field_min: string;
30
+ field_search: string;
31
+ field_sum: string;
32
+ field_unit: string;
33
+ };
34
+ };
35
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import en from "./en.json";
2
+ import ru from "./ru.json";
3
+ export default {
4
+ en: en,
5
+ ru: ru
6
+ };
7
+ // #sourceMappingURL=dicts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["en","ru"],"sources":["dicts.ts"],"sourcesContent":["import en from './en.json';\nimport ru from './ru.json';\n\nexport default {en, ru};\n"],"mappings":"AAAA,OAAOA,EAAE;AACT,OAAOC,EAAE;AAET,eAAe;EAACD,EAAE,EAAFA,EAAE;EAAEC,EAAE,EAAFA;AAAE,CAAC","ignoreList":[]}
@@ -0,0 +1,16 @@
1
+ {
2
+ "action_collapse-all": "Collapse all",
3
+ "action_collapse-group": "Collapse group",
4
+ "action_expand-all": "Expand all",
5
+ "action_expand-group": "Expand group",
6
+ "field_avg": "Avg",
7
+ "field_count": "Count",
8
+ "field_description": "Description",
9
+ "field_last": "Last",
10
+ "field_max": "Max",
11
+ "field_metric": "Metric",
12
+ "field_min": "Min",
13
+ "field_search": "Search",
14
+ "field_sum": "Sum",
15
+ "field_unit": "Unit"
16
+ }
@@ -0,0 +1,6 @@
1
+ declare const _default: ((key: "action_collapse-all" | "action_collapse-group" | "action_expand-all" | "action_expand-group" | "field_avg" | "field_count" | "field_description" | "field_last" | "field_max" | "field_metric" | "field_min" | "field_search" | "field_sum" | "field_unit", params?: import("@gravity-ui/i18n").Params) => string) & {
2
+ keysetData: {
3
+ "qp:query-statistics": Record<"action_collapse-all" | "action_collapse-group" | "action_expand-all" | "action_expand-group" | "field_avg" | "field_count" | "field_description" | "field_last" | "field_max" | "field_metric" | "field_min" | "field_search" | "field_sum" | "field_unit", import("@gravity-ui/i18n").KeyData>;
4
+ };
5
+ };
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { addI18Keysets } from "../../../i18n";
2
+ import dicts from "./dicts";
3
+ export default addI18Keysets('qp:query-statistics', dicts);
4
+ // #sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["addI18Keysets","dicts"],"sources":["index.ts"],"sourcesContent":["import {addI18Keysets} from '../../../i18n';\nimport dicts from './dicts';\n\nexport default addI18Keysets('qp:query-statistics', dicts);\n"],"mappings":"AAAA,SAAQA,aAAa;AACrB,OAAOC,KAAK;AAEZ,eAAeD,aAAa,CAAC,qBAAqB,EAAEC,KAAK,CAAC","ignoreList":[]}
@@ -0,0 +1,16 @@
1
+ {
2
+ "action_collapse-all": "Свернуть все",
3
+ "action_collapse-group": "Свернуть группу",
4
+ "action_expand-all": "Развернуть все",
5
+ "action_expand-group": "Развернуть группу",
6
+ "field_avg": "Среднее",
7
+ "field_count": "Количество",
8
+ "field_description": "Описание",
9
+ "field_last": "Последнее",
10
+ "field_max": "Максимум",
11
+ "field_metric": "Метрика",
12
+ "field_min": "Минимум",
13
+ "field_search": "Поиск",
14
+ "field_sum": "Сумма",
15
+ "field_unit": "Единица измерения"
16
+ }
@@ -0,0 +1,2 @@
1
+ export { QueryStatistics } from './QueryStatistics';
2
+ export type { QueryStatisticsColumn, QueryStatisticsColumnConfig, QueryStatisticsExtraColumn, QueryStatisticsExtraColumnContext, QueryStatisticsFormatValueContext, QueryStatisticsGroup, QueryStatisticsItem, QueryStatisticsMetric, QueryStatisticsProps, QueryStatisticsValues, } from '../../types/queryStatistics';
@@ -0,0 +1,2 @@
1
+ export { QueryStatistics } from "./QueryStatistics";
2
+ // #sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["QueryStatistics"],"sources":["index.ts"],"sourcesContent":["export {QueryStatistics} from './QueryStatistics';\nexport type {\n QueryStatisticsColumn,\n QueryStatisticsColumnConfig,\n QueryStatisticsExtraColumn,\n QueryStatisticsExtraColumnContext,\n QueryStatisticsFormatValueContext,\n QueryStatisticsGroup,\n QueryStatisticsItem,\n QueryStatisticsMetric,\n QueryStatisticsProps,\n QueryStatisticsValues,\n} from '../../types/queryStatistics';\n"],"mappings":"AAAA,SAAQA,eAAe","ignoreList":[]}
@@ -0,0 +1,36 @@
1
+ .qp-query-statistics-metric-cell__indent {
2
+ display: inline-flex;
3
+ flex-shrink: 0;
4
+ }
5
+ .qp-query-statistics-metric-cell__indent-step {
6
+ width: var(--g-spacing-10);
7
+ flex-shrink: 0;
8
+ }
9
+ .qp-query-statistics-metric-cell__row-button, .qp-query-statistics-metric-cell__row-icon, .qp-query-statistics-metric-cell__info-icon {
10
+ flex-shrink: 0;
11
+ }
12
+ .qp-query-statistics-metric-cell__name {
13
+ min-width: 0;
14
+ white-space: nowrap;
15
+ }
16
+ .qp-query-statistics-metric-cell__info-icon {
17
+ margin-left: var(--g-spacing-1);
18
+ color: var(--g-color-text-secondary);
19
+ vertical-align: text-bottom;
20
+ }
21
+ .qp-query-statistics-metric-cell__tooltip {
22
+ display: grid;
23
+ grid-gap: var(--g-spacing-2);
24
+ gap: var(--g-spacing-2);
25
+ max-width: 24rem;
26
+ }
27
+ .qp-query-statistics-metric-cell__tooltip-row {
28
+ display: grid;
29
+ grid-template-columns: max-content minmax(0, 1fr);
30
+ grid-gap: var(--g-spacing-2);
31
+ gap: var(--g-spacing-2);
32
+ }
33
+ .qp-query-statistics-metric-cell__tooltip-label {
34
+ color: var(--g-color-text-secondary);
35
+ }
36
+ /*# sourceMappingURL=MetricCell.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["MetricCell.scss"],"names":[],"mappings":"AACI;EAAY,oBAAA;EAAsB,cAAA;AAEtC;AADI;EAAiB,0BAAA;EAA4B,cAAA;AAKjD;AAJI;EAEe,cAAA;AAKnB;AAJI;EAAU,YAAA;EAAc,mBAAA;AAQ5B;AAPI;EAAe,+BAAA;EAAyC,oCAAA;EAAsC,2BAAA;AAYlG;AAXI;EAAa,aAAA;EAAe,4BAAA;EAAA,uBAAA;EAAyB,gBAAA;AAgBzD;AAfI;EAAiB,aAAA;EAAe,iDAAA;EAAmD,4BAAA;EAAA,uBAAA;AAoBvF;AAnBI;EAAmB,oCAAA;AAsBvB","file":"MetricCell.css","sourcesContent":[".qp-query-statistics-metric-cell {\n &__indent { display: inline-flex; flex-shrink: 0; }\n &__indent-step { width: var(--g-spacing-10); flex-shrink: 0; }\n &__row-button,\n &__row-icon,\n &__info-icon { flex-shrink: 0; }\n &__name { min-width: 0; white-space: nowrap; }\n &__info-icon { margin-inline-start: var(--g-spacing-1); color: var(--g-color-text-secondary); vertical-align: text-bottom; }\n &__tooltip { display: grid; gap: var(--g-spacing-2); max-width: 24rem; }\n &__tooltip-row { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--g-spacing-2); }\n &__tooltip-label { color: var(--g-color-text-secondary); }\n}\n"],"sourceRoot":""}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type QueryStatisticsRow } from '../helpers';
3
+ import './MetricCell.scss';
4
+ export type MetricCellProps = {
5
+ row: QueryStatisticsRow;
6
+ expanded: boolean;
7
+ onToggle: (id: string) => void;
8
+ };
9
+ export declare function MetricCell({ row, expanded, onToggle }: MetricCellProps): React.JSX.Element;
@@ -0,0 +1,114 @@
1
+ import "core-js/modules/es.symbol.js";
2
+ import "core-js/modules/es.symbol.description.js";
3
+ import "core-js/modules/es.array.from.js";
4
+ import "core-js/modules/es.function.name.js";
5
+ import "core-js/modules/es.string.iterator.js";
6
+ import React from 'react';
7
+ import { ChartLine, ChevronDown, ChevronRight, CircleQuestion, FolderArrowRight } from '@gravity-ui/icons';
8
+ import { Button, Flex, Icon, Tooltip } from '@gravity-ui/uikit';
9
+ import cn from 'bem-cn-lite';
10
+ import { isQueryStatisticsGroup } from "../helpers";
11
+ import i18n from "../i18n";
12
+ import "./MetricCell.css";
13
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
+ var block = cn('qp-query-statistics-metric-cell');
15
+ function MetricInfo(_ref) {
16
+ var item = _ref.item;
17
+ var hasInfo = Boolean(item.description || item.unit);
18
+ var content = /*#__PURE__*/_jsxs("span", {
19
+ className: block('name'),
20
+ tabIndex: hasInfo ? 0 : undefined,
21
+ children: [item.name, hasInfo && /*#__PURE__*/_jsx(Icon, {
22
+ data: CircleQuestion,
23
+ size: 14,
24
+ className: block('info-icon')
25
+ })]
26
+ });
27
+ if (!hasInfo) return content;
28
+ return /*#__PURE__*/_jsx(Tooltip, {
29
+ content: /*#__PURE__*/_jsx(MetricTooltip, {
30
+ item: item
31
+ }),
32
+ children: content
33
+ });
34
+ }
35
+ function MetricTooltip(_ref2) {
36
+ var item = _ref2.item;
37
+ return /*#__PURE__*/_jsxs("span", {
38
+ className: block('tooltip'),
39
+ children: [item.description && /*#__PURE__*/_jsxs("span", {
40
+ className: block('tooltip-row'),
41
+ children: [/*#__PURE__*/_jsx("span", {
42
+ className: block('tooltip-label'),
43
+ children: i18n('field_description')
44
+ }), /*#__PURE__*/_jsx("span", {
45
+ children: item.description
46
+ })]
47
+ }), item.unit && /*#__PURE__*/_jsxs("span", {
48
+ className: block('tooltip-row'),
49
+ children: [/*#__PURE__*/_jsx("span", {
50
+ className: block('tooltip-label'),
51
+ children: i18n('field_unit')
52
+ }), /*#__PURE__*/_jsx("span", {
53
+ children: item.unit
54
+ })]
55
+ })]
56
+ });
57
+ }
58
+ function Indent(_ref3) {
59
+ var level = _ref3.level;
60
+ if (!level) return null;
61
+ return /*#__PURE__*/_jsx("span", {
62
+ className: block('indent'),
63
+ "aria-hidden": "true",
64
+ children: Array.from({
65
+ length: level
66
+ }, function (_, index) {
67
+ return /*#__PURE__*/_jsx("span", {
68
+ className: block('indent-step')
69
+ }, index);
70
+ })
71
+ });
72
+ }
73
+ export function MetricCell(_ref4) {
74
+ var row = _ref4.row,
75
+ expanded = _ref4.expanded,
76
+ onToggle = _ref4.onToggle;
77
+ var item = row.item,
78
+ level = row.level;
79
+ var isGroup = isQueryStatisticsGroup(item);
80
+ return /*#__PURE__*/_jsxs(Flex, {
81
+ alignItems: "center",
82
+ gap: 2,
83
+ className: block(),
84
+ children: [/*#__PURE__*/_jsx(Indent, {
85
+ level: level
86
+ }), isGroup ? /*#__PURE__*/_jsxs(React.Fragment, {
87
+ children: [/*#__PURE__*/_jsx(Button, {
88
+ view: "flat",
89
+ size: "xs",
90
+ "aria-label": expanded ? i18n('action_collapse-group') : i18n('action_expand-group'),
91
+ "aria-expanded": expanded,
92
+ onClick: function onClick() {
93
+ return onToggle(item.id);
94
+ },
95
+ className: block('row-button'),
96
+ children: /*#__PURE__*/_jsx(Icon, {
97
+ data: expanded ? ChevronDown : ChevronRight,
98
+ size: 16
99
+ })
100
+ }), /*#__PURE__*/_jsx(Icon, {
101
+ data: FolderArrowRight,
102
+ size: 16,
103
+ className: block('row-icon')
104
+ })]
105
+ }) : /*#__PURE__*/_jsx(Icon, {
106
+ data: ChartLine,
107
+ size: 16,
108
+ className: block('row-icon')
109
+ }), /*#__PURE__*/_jsx(MetricInfo, {
110
+ item: item
111
+ })]
112
+ });
113
+ }
114
+ // #sourceMappingURL=MetricCell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","ChartLine","ChevronDown","ChevronRight","CircleQuestion","FolderArrowRight","Button","Flex","Icon","Tooltip","cn","isQueryStatisticsGroup","i18n","jsx","_jsx","jsxs","_jsxs","block","MetricInfo","_ref","item","hasInfo","Boolean","description","unit","content","className","tabIndex","undefined","children","name","data","size","MetricTooltip","_ref2","Indent","_ref3","level","Array","from","length","_","index","MetricCell","_ref4","row","expanded","onToggle","isGroup","alignItems","gap","Fragment","view","onClick","id"],"sources":["MetricCell.tsx"],"sourcesContent":["import React from 'react';\nimport {\n ChartLine,\n ChevronDown,\n ChevronRight,\n CircleQuestion,\n FolderArrowRight,\n} from '@gravity-ui/icons';\nimport {Button, Flex, Icon, Tooltip} from '@gravity-ui/uikit';\nimport cn from 'bem-cn-lite';\n\nimport type {QueryStatisticsItem} from '../../../types/queryStatistics';\nimport {type QueryStatisticsRow, isQueryStatisticsGroup} from '../helpers';\nimport i18n from '../i18n';\n\nimport './MetricCell.scss';\n\nconst block = cn('qp-query-statistics-metric-cell');\n\nfunction MetricInfo({item}: {item: QueryStatisticsItem}) {\n const hasInfo = Boolean(item.description || item.unit);\n const content = (\n <span className={block('name')} tabIndex={hasInfo ? 0 : undefined}>\n {item.name}\n {hasInfo && <Icon data={CircleQuestion} size={14} className={block('info-icon')} />}\n </span>\n );\n\n if (!hasInfo) return content;\n\n return <Tooltip content={<MetricTooltip item={item} />}>{content}</Tooltip>;\n}\n\nfunction MetricTooltip({item}: {item: QueryStatisticsItem}) {\n return (\n <span className={block('tooltip')}>\n {item.description && (\n <span className={block('tooltip-row')}>\n <span className={block('tooltip-label')}>{i18n('field_description')}</span>\n <span>{item.description}</span>\n </span>\n )}\n {item.unit && (\n <span className={block('tooltip-row')}>\n <span className={block('tooltip-label')}>{i18n('field_unit')}</span>\n <span>{item.unit}</span>\n </span>\n )}\n </span>\n );\n}\n\nfunction Indent({level}: {level: number}) {\n if (!level) return null;\n return (\n <span className={block('indent')} aria-hidden=\"true\">\n {Array.from({length: level}, (_, index) => (\n <span className={block('indent-step')} key={index} />\n ))}\n </span>\n );\n}\n\nexport type MetricCellProps = {\n row: QueryStatisticsRow;\n expanded: boolean;\n onToggle: (id: string) => void;\n};\n\nexport function MetricCell({row, expanded, onToggle}: MetricCellProps) {\n const {item, level} = row;\n const isGroup = isQueryStatisticsGroup(item);\n\n return (\n <Flex alignItems=\"center\" gap={2} className={block()}>\n <Indent level={level} />\n {isGroup ? (\n <React.Fragment>\n <Button\n view=\"flat\"\n size=\"xs\"\n aria-label={\n expanded ? i18n('action_collapse-group') : i18n('action_expand-group')\n }\n aria-expanded={expanded}\n onClick={() => onToggle(item.id)}\n className={block('row-button')}\n >\n <Icon data={expanded ? ChevronDown : ChevronRight} size={16} />\n </Button>\n <Icon data={FolderArrowRight} size={16} className={block('row-icon')} />\n </React.Fragment>\n ) : (\n <Icon data={ChartLine} size={16} className={block('row-icon')} />\n )}\n <MetricInfo item={item} />\n </Flex>\n );\n}\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACIC,SAAS,EACTC,WAAW,EACXC,YAAY,EACZC,cAAc,EACdC,gBAAgB,QACb,mBAAmB;AAC1B,SAAQC,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAEC,OAAO,QAAO,mBAAmB;AAC7D,OAAOC,EAAE,MAAM,aAAa;AAG5B,SAAiCC,sBAAsB;AACvD,OAAOC,IAAI;AAEX;AAA2B,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE3B,IAAMC,KAAK,GAAGP,EAAE,CAAC,iCAAiC,CAAC;AAEnD,SAASQ,UAAUA,CAAAC,IAAA,EAAsC;EAAA,IAApCC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EACrB,IAAMC,OAAO,GAAGC,OAAO,CAACF,IAAI,CAACG,WAAW,IAAIH,IAAI,CAACI,IAAI,CAAC;EACtD,IAAMC,OAAO,gBACTT,KAAA;IAAMU,SAAS,EAAET,KAAK,CAAC,MAAM,CAAE;IAACU,QAAQ,EAAEN,OAAO,GAAG,CAAC,GAAGO,SAAU;IAAAC,QAAA,GAC7DT,IAAI,CAACU,IAAI,EACTT,OAAO,iBAAIP,IAAA,CAACN,IAAI;MAACuB,IAAI,EAAE3B,cAAe;MAAC4B,IAAI,EAAE,EAAG;MAACN,SAAS,EAAET,KAAK,CAAC,WAAW;IAAE,CAAE,CAAC;EAAA,CACjF,CACT;EAED,IAAI,CAACI,OAAO,EAAE,OAAOI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CAACN,IAAI;QAACuB,IAAI,EAAE1B,gBAAiB;QAAC2B,IAAI,EAAE,EAAG;QAACN,SAAS,EAAET,KAAK,CAAC,UAAU;MAAE,CAAE,CAAC;IAAA,CAC5D,CAAC,gBAEjBH,IAAA,CAACN,IAAI;MAACuB,IAAI,EAAE9B,SAAU;MAAC+B,IAAI,EAAE,EAAG;MAACN,SAAS,EAAET,KAAK,CAAC,UAAU;IAAE,CAAE,CACnE,eACDH,IAAA,CAACI,UAAU;MAACE,IAAI,EAAEA;IAAK,CAAE,CAAC;EAAA,CACxB,CAAC;AAEf","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ .qp-query-statistics-metric-cell {
2
+ &__indent { display: inline-flex; flex-shrink: 0; }
3
+ &__indent-step { width: var(--g-spacing-10); flex-shrink: 0; }
4
+ &__row-button,
5
+ &__row-icon,
6
+ &__info-icon { flex-shrink: 0; }
7
+ &__name { min-width: 0; white-space: nowrap; }
8
+ &__info-icon { margin-inline-start: var(--g-spacing-1); color: var(--g-color-text-secondary); vertical-align: text-bottom; }
9
+ &__tooltip { display: grid; gap: var(--g-spacing-2); max-width: 24rem; }
10
+ &__tooltip-row { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--g-spacing-2); }
11
+ &__tooltip-label { color: var(--g-color-text-secondary); }
12
+ }
@@ -0,0 +1,21 @@
1
+ .qp-query-statistics-table {
2
+ max-width: 100%;
3
+ overflow-x: auto;
4
+ }
5
+ .qp-query-statistics-table_fixed {
6
+ overflow: visible;
7
+ }
8
+ .qp-query-statistics-table .qp-data-table {
9
+ min-width: 55rem;
10
+ }
11
+ .qp-query-statistics-table__metric-column, .qp-query-statistics-table__value-column {
12
+ border: 0;
13
+ border-bottom: 1px solid var(--g-color-line-generic);
14
+ }
15
+ .qp-query-statistics-table__metric-column {
16
+ min-width: 19rem;
17
+ }
18
+ .qp-query-statistics-table__value-column {
19
+ min-width: 8rem;
20
+ }
21
+ /*# sourceMappingURL=QueryStatisticsTable.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["QueryStatisticsTable.scss"],"names":[],"mappings":"AAAA;EAA6B,eAAA;EAAiB,gBAAA;AAG9C;AAFI;EAAU,iBAAA;AAKd;AAJI;EAAiB,gBAAA;AAOrB;AANI;EACkB,SAAA;EAAW,oDAAA;AASjC;AARI;EAAmB,gBAAA;AAWvB;AAVI;EAAkB,eAAA;AAatB","file":"QueryStatisticsTable.css","sourcesContent":[".qp-query-statistics-table { max-width: 100%; overflow-x: auto;\n &_fixed { overflow: visible; }\n .qp-data-table { min-width: 55rem; }\n &__metric-column,\n &__value-column { border: 0; border-block-end: 1px solid var(--g-color-line-generic); }\n &__metric-column { min-width: 19rem; }\n &__value-column { min-width: 8rem; }\n}\n"],"sourceRoot":""}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import type { QueryStatisticsColumn, QueryStatisticsExtraColumn, QueryStatisticsFormatValueContext } from '../../../types/queryStatistics';
3
+ import { type QueryStatisticsRow } from '../helpers';
4
+ import './QueryStatisticsTable.scss';
5
+ export type QueryStatisticsTableProps = {
6
+ rows: QueryStatisticsRow[];
7
+ visibleColumns: QueryStatisticsColumn[];
8
+ columnConfig?: Partial<Record<QueryStatisticsColumn, {
9
+ title?: React.ReactNode;
10
+ width?: string;
11
+ }>>;
12
+ extraColumns?: QueryStatisticsExtraColumn[];
13
+ expandedIds: Set<string>;
14
+ fixedHeader: boolean;
15
+ virtual: boolean;
16
+ formatValue?: (value: number | undefined, context: QueryStatisticsFormatValueContext) => React.ReactNode;
17
+ isSearching: boolean;
18
+ onToggleGroup: (id: string) => void;
19
+ };
20
+ export declare function QueryStatisticsTable({ rows, visibleColumns, columnConfig, extraColumns, expandedIds, fixedHeader, virtual, formatValue, isSearching, onToggleGroup, }: QueryStatisticsTableProps): React.JSX.Element;
@@ -0,0 +1,132 @@
1
+ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
+ import "core-js/modules/es.array.concat.js";
3
+ import "core-js/modules/es.array.map.js";
4
+ import "core-js/modules/es.iterator.constructor.js";
5
+ import "core-js/modules/es.iterator.map.js";
6
+ import "core-js/modules/es.number.is-finite.js";
7
+ import "core-js/modules/es.object.to-string.js";
8
+ import React, { useMemo } from 'react';
9
+ import BaseDataTable from '@gravity-ui/react-data-table';
10
+ import { DataTable } from "../../../components";
11
+ import { getQueryStatisticsValue, isQueryStatisticsGroup, isQueryStatisticsMetric } from "../helpers";
12
+ import i18n from "../i18n";
13
+ import { MetricCell } from "./MetricCell";
14
+ import "./QueryStatisticsTable.css";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
16
+ var NO_VALUE = '—';
17
+ var block = 'qp-query-statistics-table';
18
+ var COLUMN_TITLES = {
19
+ min: function min() {
20
+ return i18n('field_min');
21
+ },
22
+ max: function max() {
23
+ return i18n('field_max');
24
+ },
25
+ avg: function avg() {
26
+ return i18n('field_avg');
27
+ },
28
+ sum: function sum() {
29
+ return i18n('field_sum');
30
+ },
31
+ count: function count() {
32
+ return i18n('field_count');
33
+ },
34
+ last: function last() {
35
+ return i18n('field_last');
36
+ }
37
+ };
38
+ export function QueryStatisticsTable(_ref) {
39
+ var rows = _ref.rows,
40
+ visibleColumns = _ref.visibleColumns,
41
+ columnConfig = _ref.columnConfig,
42
+ extraColumns = _ref.extraColumns,
43
+ expandedIds = _ref.expandedIds,
44
+ fixedHeader = _ref.fixedHeader,
45
+ virtual = _ref.virtual,
46
+ formatValue = _ref.formatValue,
47
+ isSearching = _ref.isSearching,
48
+ onToggleGroup = _ref.onToggleGroup;
49
+ var numberFormatter = useMemo(function () {
50
+ return new Intl.NumberFormat(undefined, {
51
+ maximumFractionDigits: 6
52
+ });
53
+ }, []);
54
+ var columns = useMemo(function () {
55
+ var metricColumn = {
56
+ name: 'metric',
57
+ header: i18n('field_metric'),
58
+ className: "".concat(block, "__metric-column"),
59
+ width: '40%',
60
+ sortable: false,
61
+ render: function render(_ref2) {
62
+ var row = _ref2.row;
63
+ return /*#__PURE__*/_jsx(MetricCell, {
64
+ row: row,
65
+ expanded: isQueryStatisticsGroup(row.item) && expandedIds.has(row.item.id),
66
+ onToggle: onToggleGroup
67
+ });
68
+ }
69
+ };
70
+ var valueColumns = visibleColumns.map(function (column) {
71
+ var _columnConfig$column$, _columnConfig$column, _columnConfig$column$2, _columnConfig$column2;
72
+ return {
73
+ name: column,
74
+ header: (_columnConfig$column$ = columnConfig === null || columnConfig === void 0 || (_columnConfig$column = columnConfig[column]) === null || _columnConfig$column === void 0 ? void 0 : _columnConfig$column.title) !== null && _columnConfig$column$ !== void 0 ? _columnConfig$column$ : COLUMN_TITLES[column](),
75
+ className: "".concat(block, "__value-column"),
76
+ width: (_columnConfig$column$2 = columnConfig === null || columnConfig === void 0 || (_columnConfig$column2 = columnConfig[column]) === null || _columnConfig$column2 === void 0 ? void 0 : _columnConfig$column2.width) !== null && _columnConfig$column$2 !== void 0 ? _columnConfig$column$2 : '12%',
77
+ align: BaseDataTable.RIGHT,
78
+ sortable: false,
79
+ render: function render(_ref3) {
80
+ var row = _ref3.row;
81
+ if (!isQueryStatisticsMetric(row.item)) return NO_VALUE;
82
+ var value = getQueryStatisticsValue(row.item, column);
83
+ if (formatValue) return formatValue(value, {
84
+ column: column,
85
+ item: row.item
86
+ });
87
+ return value === undefined || !Number.isFinite(value) ? NO_VALUE : numberFormatter.format(value);
88
+ }
89
+ };
90
+ });
91
+ var customColumns = (extraColumns !== null && extraColumns !== void 0 ? extraColumns : []).map(function (column) {
92
+ var _column$width;
93
+ return {
94
+ name: column.id,
95
+ header: column.title,
96
+ width: (_column$width = column.width) !== null && _column$width !== void 0 ? _column$width : '12%',
97
+ className: "".concat(block, "__value-column"),
98
+ sortable: false,
99
+ render: function render(_ref4) {
100
+ var row = _ref4.row;
101
+ return column.render({
102
+ item: row.item,
103
+ level: row.level
104
+ });
105
+ }
106
+ };
107
+ });
108
+ return [metricColumn].concat(_toConsumableArray(valueColumns), _toConsumableArray(customColumns));
109
+ }, [columnConfig, expandedIds, extraColumns, formatValue, numberFormatter, onToggleGroup, visibleColumns]);
110
+ return /*#__PURE__*/_jsx("div", {
111
+ className: block + (fixedHeader ? " ".concat(block, "_fixed") : ''),
112
+ children: /*#__PURE__*/_jsx(DataTable, {
113
+ columns: columns,
114
+ data: rows,
115
+ loaded: true,
116
+ emptyVariant: isSearching ? 'nothing-found' : 'no-data',
117
+ rowKey: function rowKey(row) {
118
+ return row.item.id;
119
+ },
120
+ settings: {
121
+ displayIndices: false,
122
+ sortable: false,
123
+ stripedRows: false,
124
+ dynamicRender: virtual,
125
+ dynamicRenderType: 'uniform',
126
+ stickyHead: fixedHeader ? BaseDataTable.MOVING : undefined,
127
+ syncHeadOnResize: fixedHeader
128
+ }
129
+ })
130
+ });
131
+ }
132
+ // #sourceMappingURL=QueryStatisticsTable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useMemo","BaseDataTable","DataTable","getQueryStatisticsValue","isQueryStatisticsGroup","isQueryStatisticsMetric","i18n","MetricCell","jsx","_jsx","NO_VALUE","block","COLUMN_TITLES","min","max","avg","sum","count","last","QueryStatisticsTable","_ref","rows","visibleColumns","columnConfig","extraColumns","expandedIds","fixedHeader","virtual","formatValue","isSearching","onToggleGroup","numberFormatter","Intl","NumberFormat","undefined","maximumFractionDigits","columns","metricColumn","name","header","className","concat","width","sortable","render","_ref2","row","expanded","item","has","id","onToggle","valueColumns","map","column","_columnConfig$column$","_columnConfig$column","_columnConfig$column$2","_columnConfig$column2","title","align","RIGHT","_ref3","value","Number","isFinite","format","customColumns","_column$width","_ref4","level","_toConsumableArray","children","data","loaded","emptyVariant","rowKey","settings","displayIndices","stripedRows","dynamicRender","dynamicRenderType","stickyHead","MOVING","syncHeadOnResize"],"sources":["QueryStatisticsTable.tsx"],"sourcesContent":["import React, {useMemo} from 'react';\nimport BaseDataTable, {type Column} from '@gravity-ui/react-data-table';\nimport {DataTable} from '../../../components';\nimport type {\n QueryStatisticsColumn,\n QueryStatisticsExtraColumn,\n QueryStatisticsFormatValueContext,\n} from '../../../types/queryStatistics';\nimport {\n type QueryStatisticsRow,\n getQueryStatisticsValue,\n isQueryStatisticsGroup,\n isQueryStatisticsMetric,\n} from '../helpers';\nimport i18n from '../i18n';\nimport {MetricCell} from './MetricCell';\n\nimport './QueryStatisticsTable.scss';\n\nconst NO_VALUE = '—';\nconst block = 'qp-query-statistics-table';\nconst COLUMN_TITLES: Record<QueryStatisticsColumn, () => string> = {\n min: () => i18n('field_min'),\n max: () => i18n('field_max'),\n avg: () => i18n('field_avg'),\n sum: () => i18n('field_sum'),\n count: () => i18n('field_count'),\n last: () => i18n('field_last'),\n};\n\nexport type QueryStatisticsTableProps = {\n rows: QueryStatisticsRow[];\n visibleColumns: QueryStatisticsColumn[];\n columnConfig?: Partial<\n Record<QueryStatisticsColumn, {title?: React.ReactNode; width?: string}>\n >;\n extraColumns?: QueryStatisticsExtraColumn[];\n expandedIds: Set<string>;\n fixedHeader: boolean;\n virtual: boolean;\n formatValue?: (\n value: number | undefined,\n context: QueryStatisticsFormatValueContext,\n ) => React.ReactNode;\n isSearching: boolean;\n onToggleGroup: (id: string) => void;\n};\n\nexport function QueryStatisticsTable({\n rows,\n visibleColumns,\n columnConfig,\n extraColumns,\n expandedIds,\n fixedHeader,\n virtual,\n formatValue,\n isSearching,\n onToggleGroup,\n}: QueryStatisticsTableProps) {\n const numberFormatter = useMemo(\n () => new Intl.NumberFormat(undefined, {maximumFractionDigits: 6}),\n [],\n );\n const columns = useMemo<Array<Column<QueryStatisticsRow>>>(() => {\n const metricColumn: Column<QueryStatisticsRow> = {\n name: 'metric',\n header: i18n('field_metric'),\n className: `${block}__metric-column`,\n width: '40%',\n sortable: false,\n render: ({row}) => (\n <MetricCell\n row={row}\n expanded={isQueryStatisticsGroup(row.item) && expandedIds.has(row.item.id)}\n onToggle={onToggleGroup}\n />\n ),\n };\n const valueColumns = visibleColumns.map<Column<QueryStatisticsRow>>((column) => ({\n name: column,\n header: columnConfig?.[column]?.title ?? COLUMN_TITLES[column](),\n className: `${block}__value-column`,\n width: columnConfig?.[column]?.width ?? '12%',\n align: BaseDataTable.RIGHT,\n sortable: false,\n render: ({row}) => {\n if (!isQueryStatisticsMetric(row.item)) return NO_VALUE;\n const value = getQueryStatisticsValue(row.item, column);\n if (formatValue) return formatValue(value, {column, item: row.item});\n return value === undefined || !Number.isFinite(value)\n ? NO_VALUE\n : numberFormatter.format(value);\n },\n }));\n const customColumns = (extraColumns ?? []).map<Column<QueryStatisticsRow>>((column) => ({\n name: column.id,\n header: column.title,\n width: column.width ?? '12%',\n className: `${block}__value-column`,\n sortable: false,\n render: ({row}) => column.render({item: row.item, level: row.level}),\n }));\n return [metricColumn, ...valueColumns, ...customColumns];\n }, [\n columnConfig,\n expandedIds,\n extraColumns,\n formatValue,\n numberFormatter,\n onToggleGroup,\n visibleColumns,\n ]);\n\n return (\n <div className={block + (fixedHeader ? ` ${block}_fixed` : '')}>\n <DataTable<QueryStatisticsRow>\n columns={columns}\n data={rows}\n loaded\n emptyVariant={isSearching ? 'nothing-found' : 'no-data'}\n rowKey={(row) => row.item.id}\n settings={{\n displayIndices: false,\n sortable: false,\n stripedRows: false,\n dynamicRender: virtual,\n dynamicRenderType: 'uniform',\n stickyHead: fixedHeader ? BaseDataTable.MOVING : undefined,\n syncHeadOnResize: fixedHeader,\n }}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;AAAA,OAAOA,KAAK,IAAGC,OAAO,QAAO,OAAO;AACpC,OAAOC,aAAa,MAAqB,8BAA8B;AACvE,SAAQC,SAAS;AAMjB,SAEIC,uBAAuB,EACvBC,sBAAsB,EACtBC,uBAAuB;AAE3B,OAAOC,IAAI;AACX,SAAQC,UAAU;AAElB;AAAqC,SAAAC,GAAA,IAAAC,IAAA;AAErC,IAAMC,QAAQ,GAAG,GAAG;AACpB,IAAMC,KAAK,GAAG,2BAA2B;AACzC,IAAMC,aAA0D,GAAG;EAC/DC,GAAG,EAAE,SAALA,GAAGA,CAAA;IAAA,OAAQP,IAA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