ydb-embedded-ui 6.9.2 → 6.10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. package/dist/components/NodeHostWrapper/NodeHostWrapper.scss +1 -1
  2. package/dist/components/{VirtualTable/VirtualTable.d.ts → PaginatedTable/PaginatedTable.d.ts} +3 -3
  3. package/dist/components/{VirtualTable/VirtualTable.js → PaginatedTable/PaginatedTable.js} +4 -4
  4. package/dist/components/{VirtualTable/VirtualTable.scss → PaginatedTable/PaginatedTable.scss} +11 -11
  5. package/dist/components/PaginatedTable/ResizeablePaginatedTable.d.ts +6 -0
  6. package/dist/components/{VirtualTable/ResizeableVirtualTable.js → PaginatedTable/ResizeablePaginatedTable.js} +3 -3
  7. package/dist/components/{VirtualTable → PaginatedTable}/i18n/index.js +1 -1
  8. package/dist/components/PaginatedTable/index.d.ts +4 -0
  9. package/dist/components/PaginatedTable/index.js +4 -0
  10. package/dist/components/{VirtualTable → PaginatedTable}/reducer.d.ts +3 -3
  11. package/dist/components/{VirtualTable → PaginatedTable}/reducer.js +1 -1
  12. package/dist/components/PaginatedTable/shared.js +2 -0
  13. package/dist/components/{VirtualTable → PaginatedTable}/types.d.ts +2 -2
  14. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +1 -1
  15. package/dist/components/VDisk/VDisk.js +19 -6
  16. package/dist/containers/App/App.d.ts +1 -1
  17. package/dist/containers/App/App.js +2 -2
  18. package/dist/containers/App/App.scss +1 -1
  19. package/dist/containers/AppWithClusters/AppWithClusters.js +1 -10
  20. package/dist/containers/AsideNavigation/Navigation.d.ts +1 -1
  21. package/dist/containers/Heatmap/Histogram/Histogram.js +3 -3
  22. package/dist/containers/Heatmap/util.js +2 -1
  23. package/dist/containers/Nodes/NodesWrapper.js +5 -5
  24. package/dist/containers/Nodes/{VirtualNodes.d.ts → PaginatedNodes.d.ts} +1 -1
  25. package/dist/containers/Nodes/{VirtualNodes.js → PaginatedNodes.js} +3 -3
  26. package/dist/containers/Nodes/getNodesColumns.d.ts +2 -2
  27. package/dist/containers/Storage/PDisk/PDisk.js +10 -2
  28. package/dist/containers/Storage/{VirtualStorage.d.ts → PaginatedStorage.d.ts} +2 -2
  29. package/dist/containers/Storage/{VirtualStorage.js → PaginatedStorage.js} +5 -5
  30. package/dist/containers/Storage/Storage.js +3 -12
  31. package/dist/containers/Storage/StorageGroups/{VirtualStorageGroups.d.ts → PaginatedStorageGroups.d.ts} +3 -3
  32. package/dist/containers/Storage/StorageGroups/{VirtualStorageGroups.js → PaginatedStorageGroups.js} +3 -3
  33. package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +2 -2
  34. package/dist/containers/Storage/StorageNodes/{VirtualStorageNodes.d.ts → PaginatedStorageNodes.d.ts} +3 -3
  35. package/dist/containers/Storage/StorageNodes/{VirtualStorageNodes.js → PaginatedStorageNodes.js} +3 -3
  36. package/dist/containers/Storage/StorageWrapper.js +5 -5
  37. package/dist/containers/Tenant/Diagnostics/Diagnostics.scss +1 -1
  38. package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.scss +1 -2
  39. package/dist/containers/Tenant/Query/Query.js +2 -8
  40. package/dist/containers/Tenant/Query/Query.scss +1 -1
  41. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -0
  42. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +23 -36
  43. package/dist/containers/Tenant/Query/QueryEditor/keybindings.d.ts +9 -0
  44. package/dist/containers/Tenant/Query/QueryEditor/keybindings.js +13 -0
  45. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.d.ts +1 -3
  46. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +3 -3
  47. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +7 -6
  48. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +55 -47
  49. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.scss +2 -32
  50. package/dist/containers/Tenant/Query/SaveQuery/i18n/en.json +13 -0
  51. package/dist/containers/Tenant/Query/SaveQuery/i18n/index.d.ts +2 -0
  52. package/dist/containers/Tenant/Query/SaveQuery/i18n/index.js +4 -0
  53. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.d.ts +1 -4
  54. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +5 -3
  55. package/dist/containers/Tenant/Query/i18n/en.json +2 -1
  56. package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
  57. package/dist/containers/Tenant/Query/utils/useSavedQueries.d.ts +2 -0
  58. package/dist/containers/Tenant/Query/utils/useSavedQueries.js +5 -0
  59. package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +6 -2
  60. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -1
  61. package/dist/containers/Tenant/utils/schemaActions.js +10 -4
  62. package/dist/containers/UserSettings/UserSettings.d.ts +1 -1
  63. package/dist/containers/UserSettings/UserSettings.js +1 -2
  64. package/dist/containers/UserSettings/i18n/en.json +9 -4
  65. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  66. package/dist/containers/UserSettings/settings.d.ts +7 -2
  67. package/dist/containers/UserSettings/settings.js +38 -14
  68. package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.scss +1 -2
  69. package/dist/lib.d.ts +1 -1
  70. package/dist/lib.js +1 -1
  71. package/dist/services/settings.d.ts +2 -0
  72. package/dist/services/settings.js +4 -2
  73. package/dist/store/configureStore.d.ts +4 -14
  74. package/dist/store/defaultStore.d.ts +2 -7
  75. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +20 -20
  76. package/dist/store/reducers/index.d.ts +3 -13
  77. package/dist/store/reducers/index.js +2 -2
  78. package/dist/store/reducers/node/selectors.d.ts +1 -1
  79. package/dist/store/reducers/nodesList.d.ts +1 -1
  80. package/dist/store/reducers/queryActions/queryActions.d.ts +34 -0
  81. package/dist/store/reducers/queryActions/queryActions.js +58 -0
  82. package/dist/store/reducers/queryActions/types.d.ts +5 -0
  83. package/dist/store/reducers/queryActions/types.js +1 -0
  84. package/dist/store/reducers/storage/storage.js +1 -1
  85. package/dist/store/reducers/tablets.d.ts +5 -5
  86. package/dist/store/reducers/tabletsFilters.d.ts +1 -1
  87. package/dist/store/reducers/tenants/selectors.d.ts +9 -9
  88. package/dist/store/reducers/topic.d.ts +15 -15
  89. package/dist/utils/constants.d.ts +3 -1
  90. package/dist/utils/constants.js +5 -2
  91. package/dist/utils/disks/prepareDisks.js +4 -2
  92. package/dist/utils/hooks/index.d.ts +0 -2
  93. package/dist/utils/hooks/index.js +0 -2
  94. package/package.json +1 -1
  95. package/dist/components/VirtualTable/ResizeableVirtualTable.d.ts +0 -6
  96. package/dist/components/VirtualTable/index.d.ts +0 -3
  97. package/dist/components/VirtualTable/index.js +0 -3
  98. package/dist/components/VirtualTable/shared.js +0 -2
  99. package/dist/containers/AppWithClusters/i18n/en.json +0 -4
  100. package/dist/containers/AppWithClusters/i18n/index.d.ts +0 -2
  101. package/dist/containers/AppWithClusters/i18n/index.js +0 -5
  102. package/dist/containers/AppWithClusters/i18n/ru.json +0 -4
  103. package/dist/store/reducers/saveQuery.d.ts +0 -12
  104. package/dist/store/reducers/saveQuery.js +0 -25
  105. package/dist/utils/hooks/useNodesRequestParams.d.ts +0 -15
  106. package/dist/utils/hooks/useNodesRequestParams.js +0 -23
  107. package/dist/utils/hooks/useStorageRequestParams.d.ts +0 -8
  108. package/dist/utils/hooks/useStorageRequestParams.js +0 -20
  109. /package/dist/components/{VirtualTable → PaginatedTable}/ResizeHandler.d.ts +0 -0
  110. /package/dist/components/{VirtualTable → PaginatedTable}/ResizeHandler.js +0 -0
  111. /package/dist/components/{VirtualTable → PaginatedTable}/TableChunk.d.ts +0 -0
  112. /package/dist/components/{VirtualTable → PaginatedTable}/TableChunk.js +0 -0
  113. /package/dist/components/{VirtualTable → PaginatedTable}/TableHead.d.ts +0 -0
  114. /package/dist/components/{VirtualTable → PaginatedTable}/TableHead.js +0 -0
  115. /package/dist/components/{VirtualTable → PaginatedTable}/TableRow.d.ts +0 -0
  116. /package/dist/components/{VirtualTable → PaginatedTable}/TableRow.js +0 -0
  117. /package/dist/components/{VirtualTable → PaginatedTable}/constants.d.ts +0 -0
  118. /package/dist/components/{VirtualTable → PaginatedTable}/constants.js +0 -0
  119. /package/dist/components/{VirtualTable → PaginatedTable}/i18n/en.json +0 -0
  120. /package/dist/components/{VirtualTable → PaginatedTable}/i18n/index.d.ts +0 -0
  121. /package/dist/components/{VirtualTable → PaginatedTable}/i18n/ru.json +0 -0
  122. /package/dist/components/{VirtualTable → PaginatedTable}/shared.d.ts +0 -0
  123. /package/dist/components/{VirtualTable → PaginatedTable}/types.js +0 -0
  124. /package/dist/components/{VirtualTable → PaginatedTable}/useIntersectionObserver.d.ts +0 -0
  125. /package/dist/components/{VirtualTable → PaginatedTable}/useIntersectionObserver.js +0 -0
  126. /package/dist/components/{VirtualTable → PaginatedTable}/utils.d.ts +0 -0
  127. /package/dist/components/{VirtualTable → PaginatedTable}/utils.js +0 -0
@@ -1,8 +0,0 @@
1
- import type { StorageSortAndFilterParams } from '../../store/reducers/storage/types';
2
- import { EVersion } from '../../types/api/storage';
3
- export declare const useStorageRequestParams: ({ filter, sortOrder, sortValue, }: StorageSortAndFilterParams) => {
4
- version: EVersion;
5
- filter: string | undefined;
6
- sortOrder: import("@gravity-ui/react-data-table").OrderType | undefined;
7
- sortValue: import("../storage").StorageSortValue | undefined;
8
- } | undefined;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { EVersion } from '../../types/api/storage';
3
- import { USE_BACKEND_PARAMS_FOR_TABLES_KEY } from '../constants';
4
- import { useSetting } from './useSetting';
5
- export const useStorageRequestParams = ({ filter, sortOrder, sortValue, }) => {
6
- const [useBackendParamsForTables] = useSetting(USE_BACKEND_PARAMS_FOR_TABLES_KEY);
7
- // If backend params are enabled, update params value to use them in fetch request
8
- // Otherwise no params will be updated, no hooks that depend on requestParams will be triggered
9
- return React.useMemo(() => {
10
- if (useBackendParamsForTables) {
11
- return {
12
- version: EVersion.v2,
13
- filter,
14
- sortOrder,
15
- sortValue,
16
- };
17
- }
18
- return undefined;
19
- }, [useBackendParamsForTables, filter, sortOrder, sortValue]);
20
- };