@prorobotech/openapi-k8s-toolkit 1.2.0-alpha.2 → 1.2.0-alpha.21

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 (253) hide show
  1. package/README.md +119 -0
  2. package/dist/mockServiceWorker.js +349 -0
  3. package/dist/openapi-k8s-toolkit.es.js +42693 -11594
  4. package/dist/openapi-k8s-toolkit.es.js.map +1 -1
  5. package/dist/openapi-k8s-toolkit.umd.js +43090 -11961
  6. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  7. package/dist/types/api/bff/search/getKinds.d.ts +1 -1
  8. package/dist/types/components/atoms/ContentCard/ContentCard.styled.d.ts +2 -0
  9. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/utils.test.d.ts +1 -0
  10. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/utils.test.d.ts +1 -0
  11. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.test.d.ts +1 -0
  12. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/helpers.test.d.ts +1 -0
  13. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.test.d.ts +1 -0
  14. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/context.test.d.ts +1 -0
  15. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.test.d.ts +1 -0
  16. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/getSortedPropertyKeys.test.d.ts +1 -0
  17. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/hiddenExpanded.test.d.ts +1 -0
  18. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/prefills.test.d.ts +1 -0
  19. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.test.d.ts +1 -0
  20. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utilsErrorHandler.test.d.ts +1 -0
  21. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/BlackholeFormProvider.test.d.ts +2 -0
  22. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +2 -1
  23. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +4 -2
  24. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.test.d.ts +8 -0
  25. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +1 -0
  26. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.d.ts +2 -1
  27. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/utils.test.d.ts +1 -0
  28. package/dist/types/components/molecules/Events/molecules/EventRow/utils.test.d.ts +1 -0
  29. package/dist/types/components/molecules/Events/reducer.test.d.ts +1 -0
  30. package/dist/types/components/molecules/Events/utils.test.d.ts +1 -0
  31. package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/utils.test.d.ts +1 -0
  32. package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/utils.test.d.ts +1 -0
  33. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/utils.test.d.ts +1 -0
  34. package/dist/types/components/molecules/Terminals/NodeTerminal/NodeTerminal.d.ts +1 -0
  35. package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/XTerminal.d.ts +3 -0
  36. package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/types.d.ts +7 -0
  37. package/dist/types/components/molecules/Terminals/NodeTerminal/types.d.ts +12 -0
  38. package/dist/types/components/molecules/Terminals/VMVNC/VMVNC.d.ts +9 -0
  39. package/dist/types/components/molecules/Terminals/VMVNC/hooks/useVNCClient.d.ts +29 -0
  40. package/dist/types/components/molecules/Terminals/VMVNC/hooks/useVNCClient.test.d.ts +1 -0
  41. package/dist/types/components/molecules/Terminals/VMVNC/index.d.ts +2 -0
  42. package/dist/types/components/molecules/Terminals/VMVNC/molecules/VMVNCToolbar/VMVNCToolbar.d.ts +17 -0
  43. package/dist/types/components/molecules/Terminals/VMVNC/molecules/VMVNCToolbar/index.d.ts +1 -0
  44. package/dist/types/components/molecules/Terminals/VMVNC/molecules/VMVNCToolbar/styled.d.ts +1364 -0
  45. package/dist/types/components/molecules/Terminals/VMVNC/molecules/index.d.ts +1 -0
  46. package/dist/types/components/molecules/Terminals/VMVNC/styled.d.ts +834 -0
  47. package/dist/types/components/molecules/Terminals/index.d.ts +2 -0
  48. package/dist/types/components/molecules/index.d.ts +2 -2
  49. package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/utils.test.d.ts +1 -0
  50. package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/utils.test.d.ts +1 -0
  51. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/ConverterBytes.d.ts +13 -0
  52. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/ConverterCores.d.ts +19 -0
  53. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterCores/index.d.ts +1 -0
  54. package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/utils.test.d.ts +1 -0
  55. package/dist/types/components/organisms/DynamicComponents/molecules/Events/utils.test.d.ts +1 -0
  56. package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/utils.test.d.ts +1 -0
  57. package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/utils.test.d.ts +1 -0
  58. package/dist/types/components/organisms/DynamicComponents/molecules/Labels/utils.test.d.ts +1 -0
  59. package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/utils.test.d.ts +1 -0
  60. package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/guard.test.d.ts +1 -0
  61. package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/utils.test.d.ts +1 -0
  62. package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/utils.test.d.ts +1 -0
  63. package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/utils.test.d.ts +1 -0
  64. package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/utils.test.d.ts +1 -0
  65. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/PrometheusGraph.d.ts +6 -0
  66. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/atoms/WidthHeightDiv/WidthHeightDiv.d.ts +7 -0
  67. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/atoms/WidthHeightDiv/index.d.ts +1 -0
  68. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/atoms/index.d.ts +1 -0
  69. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/helpers.d.ts +6 -0
  70. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/index.d.ts +3 -0
  71. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/index.d.ts +2 -0
  72. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/multi/index.d.ts +1 -0
  73. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/multi/usePromMatrixToLineMulti.d.ts +8 -0
  74. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/multi/usePromMatrixToLineMulti.test.d.ts +1 -0
  75. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/single/index.d.ts +1 -0
  76. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/single/usePromMatrixToLineSingle.d.ts +8 -0
  77. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryRangeMatrix/single/usePromMatrixToLineSingle.test.d.ts +1 -0
  78. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryScalar/index.d.ts +1 -0
  79. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryScalar/usePromScalar.d.ts +7 -0
  80. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryScalar/usePromScalar.test.d.ts +1 -0
  81. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryVector/index.d.ts +1 -0
  82. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryVector/usePromVector.d.ts +7 -0
  83. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/hooks/queryVector/usePromVector.test.d.ts +1 -0
  84. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/index.d.ts +1 -0
  85. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/index.d.ts +3 -0
  86. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaMulti/MatrixToAreaMulti.d.ts +3 -0
  87. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaMulti/index.d.ts +1 -0
  88. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaSingle/MatrixToAreaSingle.d.ts +3 -0
  89. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaSingle/index.d.ts +1 -0
  90. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaStacked/MatrixToAreaStacked.d.ts +3 -0
  91. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToAreaStacked/index.d.ts +1 -0
  92. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineMulti/MatrixToLineMulti.d.ts +3 -0
  93. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineMulti/index.d.ts +1 -0
  94. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineSingle/MatrixToLineSingle.d.ts +3 -0
  95. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToLineSingle/index.d.ts +1 -0
  96. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToReducedBar/MatrixToReducedBar.d.ts +3 -0
  97. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToReducedBar/index.d.ts +1 -0
  98. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToTableRows/MatrixToTableRows.d.ts +3 -0
  99. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/MatrixToTableRows/index.d.ts +1 -0
  100. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/matrix/index.d.ts +7 -0
  101. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToGauge/ScalarToGauge.d.ts +3 -0
  102. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToGauge/index.d.ts +1 -0
  103. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToStat/ScalarToStat.d.ts +3 -0
  104. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/ScalarToStat/index.d.ts +1 -0
  105. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/scalar/index.d.ts +2 -0
  106. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarGauge/VectorToBarGauge.d.ts +3 -0
  107. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarGauge/index.d.ts +1 -0
  108. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarHorizontal/VectorToBarHorizontal.d.ts +3 -0
  109. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarHorizontal/index.d.ts +1 -0
  110. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarVertical/VectorToBarVertical.d.ts +3 -0
  111. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToBarVertical/index.d.ts +1 -0
  112. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToGaugeRadial/VectorToGaugeRadial.d.ts +3 -0
  113. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToGaugeRadial/index.d.ts +1 -0
  114. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToPie/VectorToPie.d.ts +3 -0
  115. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToPie/index.d.ts +1 -0
  116. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToTableRows/VectorToTableRows.d.ts +3 -0
  117. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/VectorToTableRows/index.d.ts +1 -0
  118. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/organisms/vector/index.d.ts +6 -0
  119. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/types/chartsProps.d.ts +48 -0
  120. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/types/index.d.ts +2 -0
  121. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/types/responses.d.ts +27 -0
  122. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/buildPrometheusRangeParams/buildPrometheusRangeParams.d.ts +10 -0
  123. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/buildPrometheusRangeParams/buildPrometheusRangeParams.test.d.ts +1 -0
  124. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/buildPrometheusRangeParams/index.d.ts +2 -0
  125. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/formatters/formatBytes.d.ts +1 -0
  126. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/formatters/formatTimestamp.d.ts +1 -0
  127. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/formatters/index.d.ts +2 -0
  128. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/index.d.ts +9 -0
  129. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/index.d.ts +8 -0
  130. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toAreaStacked/index.d.ts +2 -0
  131. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toAreaStacked/matrixToAreaStackedAdapter.d.ts +14 -0
  132. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toAreaStacked/matrixToAreaStackedAdapter.test.d.ts +1 -0
  133. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toLine/index.d.ts +2 -0
  134. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toLine/matrixToLineAdapter.d.ts +12 -0
  135. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toLine/matrixToLineAdapter.test.d.ts +1 -0
  136. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toReducedVector/index.d.ts +2 -0
  137. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toReducedVector/matrixToReducedVectorAdapter.d.ts +8 -0
  138. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toReducedVector/matrixToReducedVectorAdapter.test.d.ts +1 -0
  139. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toTableRows/index.d.ts +2 -0
  140. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toTableRows/matrixToTableRowsAdapter.d.ts +12 -0
  141. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/matrixAdapter/toTableRows/matrixToTableRowsAdapter.test.d.ts +1 -0
  142. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/index.d.ts +4 -0
  143. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toGauge/index.d.ts +2 -0
  144. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toGauge/scalarToGaugeAdapter.d.ts +15 -0
  145. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toGauge/scalarToGaugeAdapter.test.d.ts +1 -0
  146. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toStat/index.d.ts +2 -0
  147. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toStat/scalarToStatAdapter.d.ts +11 -0
  148. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/scalarAdapter/toStat/scalarToStatAdapter.test.d.ts +1 -0
  149. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/helpers/index.d.ts +1 -0
  150. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/helpers/pickSeriesId.d.ts +1 -0
  151. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/helpers/pickSeriesId.test.d.ts +1 -0
  152. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/index.d.ts +10 -0
  153. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/prometheusVectorUtils.test.d.ts +1 -0
  154. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBar/index.d.ts +2 -0
  155. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBar/vectorToBarAdapter.d.ts +18 -0
  156. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBarGauge/index.d.ts +2 -0
  157. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toBarGauge/vectorToBarGaugeAdapter.d.ts +7 -0
  158. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toGaugeRadial/index.d.ts +2 -0
  159. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toGaugeRadial/vectorToGaugeRadialAdapter.d.ts +7 -0
  160. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toPie/index.d.ts +2 -0
  161. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toPie/vectorToPieAdapter.d.ts +7 -0
  162. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toTableRows/index.d.ts +2 -0
  163. package/dist/types/components/organisms/DynamicComponents/molecules/PrometheusGraph/utils/vectorAdapter/toTableRows/vectorToTableRowsAdapter.d.ts +8 -0
  164. package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/utils.test.d.ts +1 -0
  165. package/dist/types/components/organisms/DynamicComponents/molecules/Taints/utils.test.d.ts +1 -0
  166. package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/utils.test.d.ts +1 -0
  167. package/dist/types/components/organisms/DynamicComponents/molecules/VMVNC/VMVNC.d.ts +6 -0
  168. package/dist/types/components/organisms/DynamicComponents/molecules/VMVNC/index.d.ts +1 -0
  169. package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/utils.test.d.ts +1 -0
  170. package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +3 -0
  171. package/dist/types/components/organisms/DynamicComponents/types.d.ts +57 -2
  172. package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.test.d.ts +1 -0
  173. package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.test.d.ts +1 -0
  174. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/factoryConfigProvider/factoryConfigProvider.test.d.ts +1 -0
  175. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/factoryConfigProvider/index.d.ts +1 -0
  176. package/dist/types/components/organisms/DynamicRendererWithProviders/{hybridDataProvider.d.ts → providers/hybridDataProvider/hybridDataProvider.d.ts} +1 -1
  177. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/hybridDataProvider/hybridDataProvider.test.d.ts +1 -0
  178. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/hybridDataProvider/index.d.ts +1 -0
  179. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiK8sProvider/index.d.ts +2 -0
  180. package/dist/types/components/organisms/DynamicRendererWithProviders/{multiK8sProvider.d.ts → providers/multiK8sProvider/multiK8sProvider.d.ts} +1 -1
  181. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiK8sProvider/multiK8sProvider.test.d.ts +1 -0
  182. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiQueryProvider/index.d.ts +1 -0
  183. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/multiQueryProvider/multiQueryProvider.test.d.ts +1 -0
  184. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/partsOfUrlContext/index.d.ts +1 -0
  185. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/partsOfUrlContext/partsOfUrlContext.test.d.ts +1 -0
  186. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/themeContext/index.d.ts +1 -0
  187. package/dist/types/components/organisms/DynamicRendererWithProviders/providers/themeContext/themeContext.test.d.ts +1 -0
  188. package/dist/types/hooks/useApiResource.d.ts +1 -0
  189. package/dist/types/hooks/useBuiltinResource.d.ts +1 -0
  190. package/dist/types/hooks/useCrdResource.d.ts +1 -0
  191. package/dist/types/hooks/useK8sSmartResource/useK8sSmartResource.d.ts +1 -0
  192. package/dist/types/hooks/useK8sSmartResource/useK8sSmartResource.test.d.ts +2 -0
  193. package/dist/types/hooks/useK8sSmartResource/useK8sSmartResourceWithoutKinds.d.ts +1 -0
  194. package/dist/types/hooks/useK8sSmartResource/useK8sSmartResourceWithoutKinds.test.d.ts +2 -0
  195. package/dist/types/hooks/useK8sSmartResource/useManyK8sSmartResource.d.ts +1 -0
  196. package/dist/types/hooks/useK8sSmartResource/useManyK8sSmartResource.test.d.ts +2 -0
  197. package/dist/types/hooks/useK8sSmartResource/useSmartResourceParams.d.ts +5 -5
  198. package/dist/types/hooks/useK8sSmartResource/useSmartResourceParams.test.d.ts +2 -0
  199. package/dist/types/hooks/useKinds.d.ts +8 -0
  200. package/dist/types/hooks/useListThenWatch/reducer.test.d.ts +1 -0
  201. package/dist/types/hooks/useListThenWatch/useInfiniteSentinel.test.d.ts +2 -0
  202. package/dist/types/hooks/useListThenWatch/useListWatch.d.ts +1 -0
  203. package/dist/types/hooks/useListThenWatch/useListWatch.test.d.ts +2 -0
  204. package/dist/types/hooks/useListThenWatch/utils.test.d.ts +1 -0
  205. package/dist/types/hooks/useResourceScope/index.d.ts +1 -0
  206. package/dist/types/hooks/useResourceScope/useResourceScope.d.ts +12 -0
  207. package/dist/types/hooks/useResourceScope/useResourceScope.test.d.ts +2 -0
  208. package/dist/types/index.d.ts +2 -0
  209. package/dist/types/localTypes/bff/table.d.ts +2 -1
  210. package/dist/types/localTypes/factories/converterBytes.d.ts +10 -0
  211. package/dist/types/localTypes/factories/converterCores.d.ts +7 -0
  212. package/dist/types/localTypes/k8s.d.ts +1 -0
  213. package/dist/types/localTypes/navigations.d.ts +3 -0
  214. package/dist/types/localTypes/richTable.d.ts +4 -0
  215. package/dist/types/utils/converterBytes/converterBytes.d.ts +35 -0
  216. package/dist/types/utils/converterBytes/converterBytes.test.d.ts +1 -0
  217. package/dist/types/utils/converterBytes/index.d.ts +1 -0
  218. package/dist/types/utils/converterCores/converterCores.d.ts +45 -0
  219. package/dist/types/utils/converterCores/converterCores.test.d.ts +1 -0
  220. package/dist/types/utils/converterCores/index.d.ts +1 -0
  221. package/dist/types/utils/converterDates/converterDates.d.ts +33 -0
  222. package/dist/types/utils/converterDates/converterDates.test.d.ts +1 -0
  223. package/dist/types/utils/converterDates/index.d.ts +2 -0
  224. package/dist/types/utils/createContextFactory/createContextFactory.test.d.ts +2 -0
  225. package/dist/types/utils/deepMerge/deepMerge.test.d.ts +1 -0
  226. package/dist/types/utils/filterSelectOptions/filterSelectOptions.test.d.ts +1 -0
  227. package/dist/types/utils/getAllPathsFromObj/getAllPathsFromObj.test.d.ts +1 -0
  228. package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.test.d.ts +2 -0
  229. package/dist/types/utils/getPrefixSubArrays/getPrefixSubArrays.test.d.ts +1 -0
  230. package/dist/types/utils/getResourceLink/getResourceLink.test.d.ts +1 -0
  231. package/dist/types/utils/getSortedKinds/getSortedKinds.test.d.ts +1 -0
  232. package/dist/types/utils/getSortedKindsAll/getSortedKindsAll.test.d.ts +1 -0
  233. package/dist/types/utils/getStringByName/getStringByName.test.d.ts +1 -0
  234. package/dist/types/utils/getUppercase/getUppercase.test.d.ts +1 -0
  235. package/dist/types/utils/groupsToTreeData/groupsToTreeData.test.d.ts +1 -0
  236. package/dist/types/utils/hslFromString/hslFromString.test.d.ts +1 -0
  237. package/dist/types/utils/index.d.ts +3 -0
  238. package/dist/types/utils/isFlatObject/isFlatObject.test.d.ts +1 -0
  239. package/dist/types/utils/kindByGvr/kindByGvr.test.d.ts +1 -0
  240. package/dist/types/utils/namespacedByGvr/namespacedByGvr.test.d.ts +1 -0
  241. package/dist/types/utils/nestedStringsArrayInclude/nestedStringsArrayInclude.test.d.ts +1 -0
  242. package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.test.d.ts +1 -0
  243. package/dist/types/utils/parseForQuotaValues/parseForQuotaValues.test.d.ts +1 -0
  244. package/dist/types/utils/pluralByKind/pluralByKind.test.d.ts +1 -0
  245. package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/prepareUrlsToFetchForDynamicRenderer.test.d.ts +1 -0
  246. package/dist/types/utils/tableLocations/tableLocations.test.d.ts +1 -0
  247. package/package.json +12 -2
  248. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/types.d.ts +0 -10
  249. package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/utils.d.ts +0 -15
  250. /package/dist/types/components/organisms/DynamicRendererWithProviders/{factoryConfigProvider.d.ts → providers/factoryConfigProvider/factoryConfigProvider.d.ts} +0 -0
  251. /package/dist/types/components/organisms/DynamicRendererWithProviders/{multiQueryProvider.d.ts → providers/multiQueryProvider/multiQueryProvider.d.ts} +0 -0
  252. /package/dist/types/components/organisms/DynamicRendererWithProviders/{partsOfUrlContext.d.ts → providers/partsOfUrlContext/partsOfUrlContext.d.ts} +0 -0
  253. /package/dist/types/components/organisms/DynamicRendererWithProviders/{themeContext.d.ts → providers/themeContext/themeContext.d.ts} +0 -0
@@ -6,3 +6,5 @@ export { PodLogs } from './PodLogs';
6
6
  export type { TPodLogsProps } from './PodLogs';
7
7
  export { PodLogsMonaco } from './PodLogsMonaco';
8
8
  export type { TPodLogsMonacoProps } from './PodLogsMonaco';
9
+ export { VMVNC } from './VMVNC';
10
+ export type { TVMVNCProps } from './VMVNC';
@@ -11,8 +11,8 @@ export { MarketPlace, MarketplaceCard } from './MarketPlace';
11
11
  export type { TMarketPlaceProps, TMarketplaceCardProps } from './MarketPlace';
12
12
  export { ProjectInfoCard } from './ProjectInfoCard';
13
13
  export type { TProjectInfoCardProps } from './ProjectInfoCard';
14
- export { PodTerminal, NodeTerminal, PodLogs, PodLogsMonaco } from './Terminals';
15
- export type { TPodTerminalProps, TNodeTerminalProps, TPodLogsProps, TPodLogsMonacoProps } from './Terminals';
14
+ export { PodTerminal, NodeTerminal, PodLogs, PodLogsMonaco, VMVNC } from './Terminals';
15
+ export type { TPodTerminalProps, TNodeTerminalProps, TPodLogsProps, TPodLogsMonacoProps, TVMVNCProps, } from './Terminals';
16
16
  export { Search } from './Search';
17
17
  export type { TSearchProps } from './Search';
18
18
  export { Events } from './Events';
@@ -1,5 +1,18 @@
1
1
  import { FC } from 'react';
2
2
  import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ /**
4
+ * Idea (extended for arrays):
5
+ * 1. bytesValue may be:
6
+ * - "1234567890" → raw number (bytes)
7
+ * - "12312312Ki" → number + source unit
8
+ * - ["10GiB", "512Mi", "1024"] → array; all converted to bytes, summed, then formatted
9
+ * 2. Each entry is resolved via parseAll, then parsed with parseValueWithUnit.
10
+ * 3. Each value is converted to base bytes (respecting fromUnit override).
11
+ * 4. All bytes are summed into totalBytes.
12
+ * 5. Finally:
13
+ * - If there’s a target unit (unit or toUnit), we convert totalBytes to that.
14
+ * - If not, we auto-scale totalBytes with formatBytesAuto.
15
+ */
3
16
  export declare const ConverterBytes: FC<{
4
17
  data: TDynamicComponentsAppTypeMap['ConverterBytes'];
5
18
  }>;
@@ -0,0 +1,19 @@
1
+ import { FC } from 'react';
2
+ import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ /**
4
+ * Idea (extended for arrays):
5
+ * 1. coresValue may be:
6
+ * - "0.5" → raw number (cores)
7
+ * - "500m" → number + source unit (millicores)
8
+ * - "2 vcpu" → number + alias for "core"
9
+ * - ["500m", "0.5 core", "1"] → array of such values
10
+ * 2. Each entry is resolved via parseAll, then parsed with parseCoresWithUnit.
11
+ * 3. Each value is converted to base "cores" (respecting fromUnit override).
12
+ * 4. All cores are summed into totalCores.
13
+ * 5. Finally:
14
+ * - If there’s a target unit (unit or toUnit), we convert totalCores to that.
15
+ * - Otherwise, we auto-scale totalCores with formatCoresAuto.
16
+ */
17
+ export declare const ConverterCores: FC<{
18
+ data: TDynamicComponentsAppTypeMap['ConverterCores'];
19
+ }>;
@@ -0,0 +1 @@
1
+ export { ConverterCores } from './ConverterCores';
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ import { TDynamicComponentsAppTypeMap } from '../../types';
3
+ export declare const PrometheusGraph: FC<{
4
+ data: TDynamicComponentsAppTypeMap['PrometheusGraph'];
5
+ children?: any;
6
+ }>;
@@ -0,0 +1,7 @@
1
+ import { CSSProperties } from 'react';
2
+ type TWidthHeightDivProps = {
3
+ $width?: CSSProperties['width'];
4
+ $height?: CSSProperties['height'];
5
+ };
6
+ export declare const WidthHeightDiv: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TWidthHeightDivProps>>;
7
+ export {};
@@ -0,0 +1 @@
1
+ export { WidthHeightDiv } from './WidthHeightDiv';
@@ -0,0 +1 @@
1
+ export { WidthHeightDiv } from './WidthHeightDiv';
@@ -0,0 +1,6 @@
1
+ import { type TDateFormatOptions } from '../../../../../utils/converterDates';
2
+ export declare const createValueFormatter: ({ formatter, unit, }: {
3
+ formatter: 'bytes' | 'cores' | 'unit' | 'none';
4
+ unit?: string | undefined;
5
+ }) => ((value: unknown) => string) | undefined;
6
+ export declare const createDateFormatter: (options?: TDateFormatOptions) => ((value: unknown) => string) | undefined;
@@ -0,0 +1,3 @@
1
+ export { usePromMatrixToLineSingle, usePromMatrixToLineMulti } from './queryRangeMatrix';
2
+ export { usePromVector } from './queryVector';
3
+ export { usePromScalar } from './queryScalar';
@@ -0,0 +1,2 @@
1
+ export { usePromMatrixToLineSingle } from './single';
2
+ export { usePromMatrixToLineMulti } from './multi';
@@ -0,0 +1 @@
1
+ export { usePromMatrixToLineMulti } from './usePromMatrixToLineMulti';
@@ -0,0 +1,8 @@
1
+ import { TRechartsSeries } from '../../../utils/matrixAdapter/toLine';
2
+ export declare const usePromMatrixToLineMulti: ({ baseUrl, query, range, refetchInterval, enabled, }: {
3
+ baseUrl?: string | undefined;
4
+ query: string;
5
+ range?: string | undefined;
6
+ refetchInterval?: number | false | undefined;
7
+ enabled?: boolean | undefined;
8
+ }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TRechartsSeries[], Error>;
@@ -0,0 +1 @@
1
+ export { usePromMatrixToLineSingle } from './usePromMatrixToLineSingle';
@@ -0,0 +1,8 @@
1
+ import { TChartPoint } from '../../../utils/matrixAdapter/toLine';
2
+ export declare const usePromMatrixToLineSingle: ({ baseUrl, query, range, refetchInterval, enabled, }: {
3
+ baseUrl?: string | undefined;
4
+ query: string;
5
+ range?: string | undefined;
6
+ refetchInterval?: number | false | undefined;
7
+ enabled?: boolean | undefined;
8
+ }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TChartPoint[], Error>;
@@ -0,0 +1 @@
1
+ export { usePromScalar } from './usePromScalar';
@@ -0,0 +1,7 @@
1
+ import { TPrometheusScalarResponse } from '../../types';
2
+ export declare const usePromScalar: ({ baseUrl, query, refetchInterval, enabled, }: {
3
+ baseUrl?: string | undefined;
4
+ query: string;
5
+ refetchInterval?: number | false | undefined;
6
+ enabled?: boolean | undefined;
7
+ }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TPrometheusScalarResponse, Error>;
@@ -0,0 +1 @@
1
+ export { usePromVector } from './usePromVector';
@@ -0,0 +1,7 @@
1
+ import { TPrometheusVectorResponse } from '../../types';
2
+ export declare const usePromVector: ({ baseUrl, query, refetchInterval, enabled, }: {
3
+ baseUrl?: string | undefined;
4
+ query: string;
5
+ refetchInterval?: number | false | undefined;
6
+ enabled?: boolean | undefined;
7
+ }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TPrometheusVectorResponse, Error>;
@@ -0,0 +1 @@
1
+ export { PrometheusGraph } from './PrometheusGraph';
@@ -0,0 +1,3 @@
1
+ export { MatrixToAreaMulti, MatrixToAreaSingle, MatrixToAreaStacked, MatrixToLineMulti, MatrixToLineSingle, MatrixToReducedBar, MatrixToTableRows, } from './matrix';
2
+ export { VectorToBarGauge, VectorToBarHorizontal, VectorToBarVertical, VectorToGaugeRadial, VectorToPie, VectorToTableRows, } from './vector';
3
+ export { ScalarToGauge, ScalarToStat } from './scalar';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToAreaMultiProps } from '../../../types';
3
+ export declare const MatrixToAreaMulti: FC<TMatrixToAreaMultiProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToAreaSingleProps } from '../../../types';
3
+ export declare const MatrixToAreaSingle: FC<TMatrixToAreaSingleProps>;
@@ -0,0 +1 @@
1
+ export { MatrixToAreaSingle } from './MatrixToAreaSingle';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToAreaStackedProps } from '../../../types';
3
+ export declare const MatrixToAreaStacked: FC<TMatrixToAreaStackedProps>;
@@ -0,0 +1 @@
1
+ export { MatrixToAreaStacked } from './MatrixToAreaStacked';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToLineMultiProps } from '../../../types';
3
+ export declare const MatrixToLineMulti: FC<TMatrixToLineMultiProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToLineSingleProps } from '../../../types';
3
+ export declare const MatrixToLineSingle: FC<TMatrixToLineSingleProps>;
@@ -0,0 +1 @@
1
+ export { MatrixToLineSingle } from './MatrixToLineSingle';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToReducedBarProps } from '../../../types';
3
+ export declare const MatrixToReducedBar: FC<TMatrixToReducedBarProps>;
@@ -0,0 +1 @@
1
+ export { MatrixToReducedBar } from './MatrixToReducedBar';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TMatrixToTableRowsProps } from '../../../types';
3
+ export declare const MatrixToTableRows: FC<TMatrixToTableRowsProps>;
@@ -0,0 +1,7 @@
1
+ export { MatrixToAreaMulti } from './MatrixToAreaMulti';
2
+ export { MatrixToAreaSingle } from './MatrixToAreaSingle';
3
+ export { MatrixToAreaStacked } from './MatrixToAreaStacked';
4
+ export { MatrixToLineMulti } from './MatrixToLineMulti';
5
+ export { MatrixToLineSingle } from './MatrixToLineSingle';
6
+ export { MatrixToReducedBar } from './MatrixToReducedBar';
7
+ export { MatrixToTableRows } from './MatrixToTableRows';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TScalarToGaugeProps } from '../../../types';
3
+ export declare const ScalarToGauge: FC<TScalarToGaugeProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TScalarToStatProps } from '../../../types';
3
+ export declare const ScalarToStat: FC<TScalarToStatProps>;
@@ -0,0 +1,2 @@
1
+ export { ScalarToGauge } from './ScalarToGauge';
2
+ export { ScalarToStat } from './ScalarToStat';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TVectorToBarGaugeProps } from '../../../types';
3
+ export declare const VectorToBarGauge: FC<TVectorToBarGaugeProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TVectorToBarHorizontalProps } from '../../../types';
3
+ export declare const VectorToBarHorizontal: FC<TVectorToBarHorizontalProps>;
@@ -0,0 +1 @@
1
+ export { VectorToBarHorizontal } from './VectorToBarHorizontal';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TVectorToBarVerticalProps } from '../../../types';
3
+ export declare const VectorToBarVertical: FC<TVectorToBarVerticalProps>;
@@ -0,0 +1 @@
1
+ export { VectorToBarVertical } from './VectorToBarVertical';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TVectorToGaugeRadialProps } from '../../../types';
3
+ export declare const VectorToGaugeRadial: FC<TVectorToGaugeRadialProps>;
@@ -0,0 +1 @@
1
+ export { VectorToGaugeRadial } from './VectorToGaugeRadial';
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TVectorToPieProps } from '../../../types';
3
+ export declare const VectorToPie: FC<TVectorToPieProps>;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ import { TVectorToTableRowsProps } from '../../../types';
3
+ export declare const VectorToTableRows: FC<TVectorToTableRowsProps>;
@@ -0,0 +1,6 @@
1
+ export { VectorToBarGauge } from './VectorToBarGauge';
2
+ export { VectorToBarHorizontal } from './VectorToBarHorizontal';
3
+ export { VectorToBarVertical } from './VectorToBarVertical';
4
+ export { VectorToGaugeRadial } from './VectorToGaugeRadial';
5
+ export { VectorToPie } from './VectorToPie';
6
+ export { VectorToTableRows } from './VectorToTableRows';
@@ -0,0 +1,48 @@
1
+ import { CSSProperties } from 'react';
2
+ type TBaseContainerSizeProps = {
3
+ width?: CSSProperties['width'];
4
+ height?: CSSProperties['height'];
5
+ };
6
+ type TBasePromQueryProps = {
7
+ baseUrl?: string;
8
+ query?: string;
9
+ refetchInterval?: number | false;
10
+ };
11
+ type TBaseRangeProps = {
12
+ range?: string;
13
+ };
14
+ type TBaseTitleProps = {
15
+ title?: string;
16
+ };
17
+ type TBaseMinMaxProps = {
18
+ min?: number;
19
+ max?: number;
20
+ };
21
+ type TBaseModeProps = {
22
+ mode?: 'last' | 'avg' | 'sum' | 'max' | 'min';
23
+ };
24
+ type TBaseTopNProps = {
25
+ topN?: number;
26
+ };
27
+ type TBaseFormatterProps = {
28
+ /** optional formatter for value */
29
+ formatValue?: (v: unknown) => string;
30
+ /** optional formatter for timestamp / date values */
31
+ formatTimestamp?: (v: unknown) => string;
32
+ };
33
+ export type TMatrixToLineSingleProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseRangeProps & TBaseFormatterProps;
34
+ export type TMatrixToLineMultiProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseRangeProps & TBaseFormatterProps;
35
+ export type TMatrixToAreaSingleProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseRangeProps & TBaseFormatterProps;
36
+ export type TMatrixToAreaMultiProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseRangeProps & TBaseFormatterProps;
37
+ export type TMatrixToAreaStackedProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseRangeProps & TBaseFormatterProps;
38
+ export type TMatrixToReducedBarProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseRangeProps & TBaseModeProps & TBaseFormatterProps;
39
+ export type TMatrixToTableRowsProps = TBasePromQueryProps & TBaseRangeProps & TBaseTitleProps & TBaseFormatterProps;
40
+ export type TVectorToBarVerticalProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseFormatterProps;
41
+ export type TVectorToBarHorizontalProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseFormatterProps;
42
+ export type TVectorToPieProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseFormatterProps;
43
+ export type TVectorToTableRowsProps = TBasePromQueryProps & TBaseTitleProps & TBaseFormatterProps;
44
+ export type TVectorToBarGaugeProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseTitleProps & TBaseTopNProps & TBaseFormatterProps;
45
+ export type TVectorToGaugeRadialProps = TBaseContainerSizeProps & TBasePromQueryProps & TBaseTitleProps & TBaseMinMaxProps & TBaseFormatterProps;
46
+ export type TScalarToStatProps = TBasePromQueryProps & TBaseTitleProps & TBaseFormatterProps;
47
+ export type TScalarToGaugeProps = TBasePromQueryProps & TBaseTitleProps & TBaseMinMaxProps & TBaseFormatterProps;
48
+ export {};
@@ -0,0 +1,2 @@
1
+ export type { TPrometheusRangeResponse, TPrometheusVectorResponse, TPrometheusScalarResponse } from './responses';
2
+ export type { TMatrixToAreaMultiProps, TMatrixToAreaSingleProps, TMatrixToAreaStackedProps, TMatrixToLineMultiProps, TMatrixToLineSingleProps, TMatrixToReducedBarProps, TMatrixToTableRowsProps, TVectorToBarGaugeProps, TVectorToBarHorizontalProps, TVectorToBarVerticalProps, TVectorToGaugeRadialProps, TVectorToPieProps, TVectorToTableRowsProps, TScalarToGaugeProps, TScalarToStatProps, } from './chartsProps';
@@ -0,0 +1,27 @@
1
+ export type TPrometheusRangeResponse = {
2
+ status: 'success' | 'error';
3
+ data: {
4
+ resultType: 'matrix';
5
+ result: {
6
+ metric: Record<string, string>;
7
+ values: [number, string][];
8
+ }[];
9
+ };
10
+ };
11
+ export type TPrometheusVectorResponse = {
12
+ status: 'success' | 'error';
13
+ data: {
14
+ resultType: 'vector';
15
+ result: {
16
+ metric: Record<string, string>;
17
+ value: [number, string];
18
+ }[];
19
+ };
20
+ };
21
+ export type TPrometheusScalarResponse = {
22
+ status: 'success' | 'error';
23
+ data: {
24
+ resultType: 'scalar';
25
+ result: [number, string];
26
+ };
27
+ };
@@ -0,0 +1,10 @@
1
+ export type TPrometheusRangeParams = {
2
+ start: string;
3
+ end: string;
4
+ step: string;
5
+ };
6
+ /**
7
+ * Converts a duration string like "30m", "2h", "7d" into start/end ISO timestamps
8
+ * and a safe step value to ensure < 11k data points for Prometheus query_range.
9
+ */
10
+ export declare const buildPrometheusRangeParams: (range?: string) => TPrometheusRangeParams;
@@ -0,0 +1,2 @@
1
+ export { buildPrometheusRangeParams } from './buildPrometheusRangeParams';
2
+ export type { TPrometheusRangeParams } from './buildPrometheusRangeParams';
@@ -0,0 +1 @@
1
+ export declare const formatBytes: (raw: unknown) => string;
@@ -0,0 +1 @@
1
+ export declare const formatTimestamp: (raw: unknown) => string;
@@ -0,0 +1,2 @@
1
+ export { formatBytes } from './formatBytes';
2
+ export { formatTimestamp } from './formatTimestamp';
@@ -0,0 +1,9 @@
1
+ export { buildPrometheusRangeParams } from './buildPrometheusRangeParams';
2
+ export type { TPrometheusRangeParams } from './buildPrometheusRangeParams';
3
+ export { formatBytes, formatTimestamp } from './formatters';
4
+ export { matrixToLineSingle, matrixToLineMulti, matrixToStackedAreaData, matrixToReducedVector, matrixToTableMinMaxCurrent, } from './matrixAdapter';
5
+ export type { TChartPoint, TRechartsSeries, TStackedAreaPoint, TReducedVectorItem, TAggregationMode, TSeriesStatsRow, } from './matrixAdapter';
6
+ export { vectorToBarVertical, vectorToBarHorizontal, vectorToBarGauge, vectorToGaugeRadial, vectorToPie, vectorToTableRows, } from './vectorAdapter';
7
+ export type { TBarItem, TBarGaugeItem, TRadialGaugeValue, TPieSlice, TTableRow } from './vectorAdapter';
8
+ export { scalarToStat, scalarToGauge } from './scalarAdapter';
9
+ export type { TStatItem, TGaugeItem } from './scalarAdapter';
@@ -0,0 +1,8 @@
1
+ export { matrixToLineSingle, matrixToLineMulti } from './toLine';
2
+ export type { TChartPoint, TRechartsSeries } from './toLine';
3
+ export { matrixToStackedAreaData } from './toAreaStacked';
4
+ export type { TStackedAreaPoint } from './toAreaStacked';
5
+ export { matrixToReducedVector } from './toReducedVector';
6
+ export type { TReducedVectorItem, TAggregationMode } from './toReducedVector';
7
+ export { matrixToTableMinMaxCurrent } from './toTableRows';
8
+ export type { TSeriesStatsRow } from './toTableRows';
@@ -0,0 +1,2 @@
1
+ export { matrixToStackedAreaData } from './matrixToAreaStackedAdapter';
2
+ export type { TStackedAreaPoint } from './matrixToAreaStackedAdapter';
@@ -0,0 +1,14 @@
1
+ import { TRechartsSeries } from '../toLine';
2
+ export type TStackedAreaPoint = {
3
+ timestamp: number;
4
+ [seriesId: string]: number;
5
+ };
6
+ /**
7
+ * Builds stacked-area-compatible data from TRechartsSeries[].
8
+ * Shape:
9
+ * [
10
+ * { timestamp: 1000, c1: 1, p2: 3 },
11
+ * { timestamp: 2000, c1: 2 },
12
+ * ]
13
+ */
14
+ export declare const matrixToStackedAreaData: (series: TRechartsSeries[] | undefined) => TStackedAreaPoint[];
@@ -0,0 +1,2 @@
1
+ export { matrixToLineSingle, matrixToLineMulti } from './matrixToLineAdapter';
2
+ export type { TChartPoint, TRechartsSeries } from './matrixToLineAdapter';
@@ -0,0 +1,12 @@
1
+ import { TPrometheusRangeResponse } from '../../../types';
2
+ export type TChartPoint = {
3
+ timestamp: number;
4
+ value: number;
5
+ };
6
+ export declare const matrixToLineSingle: (resp: TPrometheusRangeResponse) => TChartPoint[];
7
+ export type TRechartsSeries = {
8
+ id: string;
9
+ metric: Record<string, string>;
10
+ data?: TChartPoint[];
11
+ };
12
+ export declare const matrixToLineMulti: (resp: TPrometheusRangeResponse) => TRechartsSeries[];
@@ -0,0 +1,2 @@
1
+ export { matrixToReducedVector } from './matrixToReducedVectorAdapter';
2
+ export type { TReducedVectorItem, TAggregationMode } from './matrixToReducedVectorAdapter';
@@ -0,0 +1,8 @@
1
+ import type { TRechartsSeries } from '../toLine';
2
+ export type TReducedVectorItem = {
3
+ id: string;
4
+ metric: Record<string, string>;
5
+ value: number;
6
+ };
7
+ export type TAggregationMode = 'last' | 'avg' | 'sum' | 'max' | 'min';
8
+ export declare const matrixToReducedVector: (series: TRechartsSeries[] | undefined, mode?: TAggregationMode) => TReducedVectorItem[];
@@ -0,0 +1,2 @@
1
+ export { matrixToTableMinMaxCurrent } from './matrixToTableRowsAdapter';
2
+ export type { TSeriesStatsRow } from './matrixToTableRowsAdapter';
@@ -0,0 +1,12 @@
1
+ import { TPrometheusRangeResponse } from '../../../types';
2
+ export type TSeriesStatsRow = {
3
+ id: string;
4
+ metric: Record<string, string>;
5
+ min: number | null;
6
+ max: number | null;
7
+ current: number | null;
8
+ minTs?: number | null;
9
+ maxTs?: number | null;
10
+ currentTs?: number | null;
11
+ };
12
+ export declare const matrixToTableMinMaxCurrent: (resp: TPrometheusRangeResponse) => TSeriesStatsRow[];