ydb-embedded-ui 6.32.0 → 6.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +21 -0
  2. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +31 -0
  3. package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
  4. package/dist/components/ConfirmationDialog/ConfirmationDialog.scss +6 -0
  5. package/dist/components/ConfirmationDialog/i18n/en.json +3 -0
  6. package/dist/components/ConfirmationDialog/i18n/index.d.ts +1 -0
  7. package/dist/components/ConfirmationDialog/i18n/index.js +5 -0
  8. package/dist/components/ConfirmationDialog/i18n/index.js.map +1 -0
  9. package/dist/components/EntityStatus/EntityStatus.js +1 -1
  10. package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
  11. package/dist/components/MemoryViewer/MemoryViewer.d.ts +14 -0
  12. package/dist/components/MemoryViewer/MemoryViewer.js +84 -0
  13. package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -0
  14. package/dist/components/MemoryViewer/MemoryViewer.scss +104 -0
  15. package/dist/components/MemoryViewer/i18n/en.json +11 -0
  16. package/dist/components/MemoryViewer/i18n/index.d.ts +2 -0
  17. package/dist/components/MemoryViewer/i18n/index.js +5 -0
  18. package/dist/components/MemoryViewer/i18n/index.js.map +1 -0
  19. package/dist/components/MemoryViewer/utils.d.ts +10 -0
  20. package/dist/components/MemoryViewer/utils.js +71 -0
  21. package/dist/components/MemoryViewer/utils.js.map +1 -0
  22. package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
  23. package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
  24. package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +1 -1
  25. package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
  26. package/dist/components/nodesColumns/columns.d.ts +4 -7
  27. package/dist/components/nodesColumns/columns.js +9 -17
  28. package/dist/components/nodesColumns/columns.js.map +1 -1
  29. package/dist/components/nodesColumns/constants.d.ts +4 -5
  30. package/dist/components/nodesColumns/constants.js +78 -11
  31. package/dist/components/nodesColumns/constants.js.map +1 -1
  32. package/dist/components/nodesColumns/i18n/en.json +8 -5
  33. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  34. package/dist/containers/App/App.d.ts +1 -1
  35. package/dist/containers/App/Providers.js +2 -1
  36. package/dist/containers/App/Providers.js.map +1 -1
  37. package/dist/containers/AsideNavigation/AsideNavigation.d.ts +2 -0
  38. package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
  39. package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
  40. package/dist/containers/Clusters/Clusters.js +1 -1
  41. package/dist/containers/Clusters/Clusters.js.map +1 -1
  42. package/dist/containers/Clusters/Clusters.scss +5 -2
  43. package/dist/containers/Clusters/constants.d.ts +1 -1
  44. package/dist/containers/Nodes/columns/columns.js +2 -2
  45. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  46. package/dist/containers/Nodes/columns/constants.js +2 -4
  47. package/dist/containers/Nodes/columns/constants.js.map +1 -1
  48. package/dist/containers/Nodes/getNodes.js +4 -5
  49. package/dist/containers/Nodes/getNodes.js.map +1 -1
  50. package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
  51. package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
  52. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -7
  53. package/dist/containers/Storage/StorageGroups/columns/constants.js +54 -10
  54. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  55. package/dist/containers/Storage/StorageGroups/getGroups.js +3 -5
  56. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  57. package/dist/containers/Storage/StorageNodes/columns/columns.js +2 -3
  58. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  59. package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -2
  60. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  61. package/dist/containers/Storage/StorageNodes/getNodes.js +4 -5
  62. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  63. package/dist/containers/Storage/utils/index.d.ts +1 -1
  64. package/dist/containers/Tablets/i18n/index.d.ts +1 -1
  65. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +3 -1
  66. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
  67. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -7
  68. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
  69. package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
  70. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +3 -1
  71. package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
  72. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +5 -1
  73. package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
  74. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -2
  75. package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
  76. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.d.ts +7 -0
  77. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js +40 -0
  78. package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js.map +1 -0
  79. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +1 -1
  80. package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
  81. package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +4 -1
  82. package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
  83. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +8 -1
  84. package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
  85. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +3 -1
  86. package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
  87. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -27
  88. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +32 -51
  89. package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
  90. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +1 -1
  91. package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
  92. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +9 -3
  93. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +23 -12
  94. package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
  95. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +8 -3
  96. package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
  97. package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +1 -1
  98. package/dist/containers/Tenant/utils/newSQLQueryActions.js +2 -3
  99. package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
  100. package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -0
  101. package/dist/containers/Tenant/utils/schemaActions.js +59 -40
  102. package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
  103. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +1 -1
  104. package/dist/containers/UserSettings/i18n/en.json +2 -0
  105. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  106. package/dist/containers/UserSettings/settings.d.ts +1 -0
  107. package/dist/containers/UserSettings/settings.js +7 -2
  108. package/dist/containers/UserSettings/settings.js.map +1 -1
  109. package/dist/services/api.d.ts +4 -0
  110. package/dist/services/api.js +11 -0
  111. package/dist/services/api.js.map +1 -1
  112. package/dist/services/settings.d.ts +1 -0
  113. package/dist/services/settings.js +2 -1
  114. package/dist/services/settings.js.map +1 -1
  115. package/dist/store/configureStore.d.ts +25 -11
  116. package/dist/store/defaultStore.d.ts +12 -5
  117. package/dist/store/reducers/capabilities/capabilities.d.ts +48 -8
  118. package/dist/store/reducers/cluster/cluster.d.ts +36 -6
  119. package/dist/store/reducers/executeQuery.d.ts +41 -51
  120. package/dist/store/reducers/executeQuery.js +64 -160
  121. package/dist/store/reducers/executeQuery.js.map +1 -1
  122. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +120 -20
  123. package/dist/store/reducers/index.d.ts +19 -10
  124. package/dist/store/reducers/node/selectors.d.ts +6 -1
  125. package/dist/store/reducers/nodes/utils.d.ts +1 -1
  126. package/dist/store/reducers/nodesList.d.ts +6 -1
  127. package/dist/store/reducers/planToSvg.d.ts +8 -0
  128. package/dist/store/reducers/planToSvg.js +21 -0
  129. package/dist/store/reducers/planToSvg.js.map +1 -0
  130. package/dist/store/reducers/queryActions/queryActions.d.ts +0 -27
  131. package/dist/store/reducers/queryActions/queryActions.js +1 -1
  132. package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
  133. package/dist/store/reducers/schema/schema.d.ts +22 -7
  134. package/dist/store/reducers/schema/schema.js +16 -20
  135. package/dist/store/reducers/schema/schema.js.map +1 -1
  136. package/dist/store/reducers/tablets.d.ts +30 -5
  137. package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
  138. package/dist/store/reducers/tenants/selectors.d.ts +54 -9
  139. package/dist/store/reducers/tooltip.d.ts +1 -1
  140. package/dist/store/reducers/topic.d.ts +90 -15
  141. package/dist/store/reducers/trace.d.ts +1 -1
  142. package/dist/store/reducers/trace.js +1 -1
  143. package/dist/store/reducers/trace.js.map +1 -1
  144. package/dist/types/api/nodes.d.ts +18 -4
  145. package/dist/types/api/nodes.js.map +1 -1
  146. package/dist/types/store/executeQuery.d.ts +3 -6
  147. package/dist/types/store/executeQuery.js.map +1 -1
  148. package/dist/utils/constants.d.ts +1 -0
  149. package/dist/utils/constants.js +1 -0
  150. package/dist/utils/constants.js.map +1 -1
  151. package/dist/utils/hooks/withConfirmation/i18n/en.json +4 -0
  152. package/dist/utils/hooks/withConfirmation/i18n/index.d.ts +2 -0
  153. package/dist/utils/hooks/withConfirmation/i18n/index.js +5 -0
  154. package/dist/utils/hooks/withConfirmation/i18n/index.js.map +1 -0
  155. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.d.ts +3 -0
  156. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +53 -0
  157. package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -0
  158. package/dist/utils/monaco/yql/constants.d.ts +1 -1
  159. package/dist/utils/monaco/yql/generateSuggestions.d.ts +2 -1
  160. package/dist/utils/monaco/yql/generateSuggestions.js +36 -15
  161. package/dist/utils/monaco/yql/generateSuggestions.js.map +1 -1
  162. package/dist/utils/monaco/yql/yqlSuggestions.js +1 -1
  163. package/dist/utils/monaco/yql/yqlSuggestions.js.map +1 -1
  164. package/dist/utils/nodes.d.ts +1 -4
  165. package/dist/utils/nodes.js +0 -36
  166. package/dist/utils/nodes.js.map +1 -1
  167. package/dist/utils/query.d.ts +1 -1
  168. package/dist/utils/storage.d.ts +1 -3
  169. package/dist/utils/storage.js +0 -17
  170. package/dist/utils/storage.js.map +1 -1
  171. package/package.json +3 -2
@@ -10,7 +10,12 @@ export declare const selectGetTabletsInfo: ((state: {
10
10
  cluster: import("./cluster/types").ClusterState;
11
11
  tenant: import("./tenant/types").TenantState;
12
12
  tooltip: import("../../types/store/tooltip").ITooltipState;
13
- schema: import("./schema/types").SchemaState;
13
+ schema: {
14
+ loading: boolean;
15
+ data: {};
16
+ currentSchemaPath: undefined;
17
+ showPreview: boolean;
18
+ };
14
19
  tenants: import("./tenants/types").TenantsState;
15
20
  partitions: import("./partitions/types").PartitionsState;
16
21
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -34,7 +39,12 @@ export declare const selectGetTabletsInfo: ((state: {
34
39
  cluster: import("./cluster/types").ClusterState;
35
40
  tenant: import("./tenant/types").TenantState;
36
41
  tooltip: import("../../types/store/tooltip").ITooltipState;
37
- schema: import("./schema/types").SchemaState;
42
+ schema: {
43
+ loading: boolean;
44
+ data: {};
45
+ currentSchemaPath: undefined;
46
+ showPreview: boolean;
47
+ };
38
48
  tenants: import("./tenants/types").TenantsState;
39
49
  partitions: import("./partitions/types").PartitionsState;
40
50
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -56,7 +66,12 @@ export declare const selectGetTabletsInfo: ((state: {
56
66
  cluster: import("./cluster/types").ClusterState;
57
67
  tenant: import("./tenant/types").TenantState;
58
68
  tooltip: import("../../types/store/tooltip").ITooltipState;
59
- schema: import("./schema/types").SchemaState;
69
+ schema: {
70
+ loading: boolean;
71
+ data: {};
72
+ currentSchemaPath: undefined;
73
+ showPreview: boolean;
74
+ };
60
75
  tenants: import("./tenants/types").TenantsState;
61
76
  partitions: import("./partitions/types").PartitionsState;
62
77
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -83,7 +98,12 @@ export declare const selectGetTabletsInfo: ((state: {
83
98
  cluster: import("./cluster/types").ClusterState;
84
99
  tenant: import("./tenant/types").TenantState;
85
100
  tooltip: import("../../types/store/tooltip").ITooltipState;
86
- schema: import("./schema/types").SchemaState;
101
+ schema: {
102
+ loading: boolean;
103
+ data: {};
104
+ currentSchemaPath: undefined;
105
+ showPreview: boolean;
106
+ };
87
107
  tenants: import("./tenants/types").TenantsState;
88
108
  partitions: import("./partitions/types").PartitionsState;
89
109
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -113,7 +133,12 @@ export declare const selectTabletsWithFqdn: ((state: {
113
133
  cluster: import("./cluster/types").ClusterState;
114
134
  tenant: import("./tenant/types").TenantState;
115
135
  tooltip: import("../../types/store/tooltip").ITooltipState;
116
- schema: import("./schema/types").SchemaState;
136
+ schema: {
137
+ loading: boolean;
138
+ data: {};
139
+ currentSchemaPath: undefined;
140
+ showPreview: boolean;
141
+ };
117
142
  tenants: import("./tenants/types").TenantsState;
118
143
  partitions: import("./partitions/types").PartitionsState;
119
144
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -1 +1 @@
1
- export declare const getLoadSeverityForShard: (value: number) => "success" | "warning" | "danger" | undefined;
1
+ export declare const getLoadSeverityForShard: (value: number) => "warning" | "danger" | "success" | undefined;
@@ -7,7 +7,12 @@ export declare const selectTenants: ((state: {
7
7
  cluster: import("../cluster/types").ClusterState;
8
8
  tenant: import("../tenant/types").TenantState;
9
9
  tooltip: import("../../../types/store/tooltip").ITooltipState;
10
- schema: import("../schema/types").SchemaState;
10
+ schema: {
11
+ loading: boolean;
12
+ data: {};
13
+ currentSchemaPath: undefined;
14
+ showPreview: boolean;
15
+ };
11
16
  tenants: import("./types").TenantsState;
12
17
  partitions: import("../partitions/types").PartitionsState;
13
18
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -31,7 +36,12 @@ export declare const selectTenants: ((state: {
31
36
  cluster: import("../cluster/types").ClusterState;
32
37
  tenant: import("../tenant/types").TenantState;
33
38
  tooltip: import("../../../types/store/tooltip").ITooltipState;
34
- schema: import("../schema/types").SchemaState;
39
+ schema: {
40
+ loading: boolean;
41
+ data: {};
42
+ currentSchemaPath: undefined;
43
+ showPreview: boolean;
44
+ };
35
45
  tenants: import("./types").TenantsState;
36
46
  partitions: import("../partitions/types").PartitionsState;
37
47
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -57,7 +67,12 @@ export declare const selectTenants: ((state: {
57
67
  cluster: import("../cluster/types").ClusterState;
58
68
  tenant: import("../tenant/types").TenantState;
59
69
  tooltip: import("../../../types/store/tooltip").ITooltipState;
60
- schema: import("../schema/types").SchemaState;
70
+ schema: {
71
+ loading: boolean;
72
+ data: {};
73
+ currentSchemaPath: undefined;
74
+ showPreview: boolean;
75
+ };
61
76
  tenants: import("./types").TenantsState;
62
77
  partitions: import("../partitions/types").PartitionsState;
63
78
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -88,7 +103,12 @@ export declare const selectTenants: ((state: {
88
103
  cluster: import("../cluster/types").ClusterState;
89
104
  tenant: import("../tenant/types").TenantState;
90
105
  tooltip: import("../../../types/store/tooltip").ITooltipState;
91
- schema: import("../schema/types").SchemaState;
106
+ schema: {
107
+ loading: boolean;
108
+ data: {};
109
+ currentSchemaPath: undefined;
110
+ showPreview: boolean;
111
+ };
92
112
  tenants: import("./types").TenantsState;
93
113
  partitions: import("../partitions/types").PartitionsState;
94
114
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -123,7 +143,12 @@ export declare const selectFilteredTenants: ((state: {
123
143
  cluster: import("../cluster/types").ClusterState;
124
144
  tenant: import("../tenant/types").TenantState;
125
145
  tooltip: import("../../../types/store/tooltip").ITooltipState;
126
- schema: import("../schema/types").SchemaState;
146
+ schema: {
147
+ loading: boolean;
148
+ data: {};
149
+ currentSchemaPath: undefined;
150
+ showPreview: boolean;
151
+ };
127
152
  tenants: import("./types").TenantsState;
128
153
  partitions: import("../partitions/types").PartitionsState;
129
154
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -156,7 +181,12 @@ export declare const selectFilteredTenants: ((state: {
156
181
  cluster: import("../cluster/types").ClusterState;
157
182
  tenant: import("../tenant/types").TenantState;
158
183
  tooltip: import("../../../types/store/tooltip").ITooltipState;
159
- schema: import("../schema/types").SchemaState;
184
+ schema: {
185
+ loading: boolean;
186
+ data: {};
187
+ currentSchemaPath: undefined;
188
+ showPreview: boolean;
189
+ };
160
190
  tenants: import("./types").TenantsState;
161
191
  partitions: import("../partitions/types").PartitionsState;
162
192
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -180,7 +210,12 @@ export declare const selectFilteredTenants: ((state: {
180
210
  cluster: import("../cluster/types").ClusterState;
181
211
  tenant: import("../tenant/types").TenantState;
182
212
  tooltip: import("../../../types/store/tooltip").ITooltipState;
183
- schema: import("../schema/types").SchemaState;
213
+ schema: {
214
+ loading: boolean;
215
+ data: {};
216
+ currentSchemaPath: undefined;
217
+ showPreview: boolean;
218
+ };
184
219
  tenants: import("./types").TenantsState;
185
220
  partitions: import("../partitions/types").PartitionsState;
186
221
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -206,7 +241,12 @@ export declare const selectFilteredTenants: ((state: {
206
241
  cluster: import("../cluster/types").ClusterState;
207
242
  tenant: import("../tenant/types").TenantState;
208
243
  tooltip: import("../../../types/store/tooltip").ITooltipState;
209
- schema: import("../schema/types").SchemaState;
244
+ schema: {
245
+ loading: boolean;
246
+ data: {};
247
+ currentSchemaPath: undefined;
248
+ showPreview: boolean;
249
+ };
210
250
  tenants: import("./types").TenantsState;
211
251
  partitions: import("../partitions/types").PartitionsState;
212
252
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -237,7 +277,12 @@ export declare const selectFilteredTenants: ((state: {
237
277
  cluster: import("../cluster/types").ClusterState;
238
278
  tenant: import("../tenant/types").TenantState;
239
279
  tooltip: import("../../../types/store/tooltip").ITooltipState;
240
- schema: import("../schema/types").SchemaState;
280
+ schema: {
281
+ loading: boolean;
282
+ data: {};
283
+ currentSchemaPath: undefined;
284
+ showPreview: boolean;
285
+ };
241
286
  tenants: import("./types").TenantsState;
242
287
  partitions: import("../partitions/types").PartitionsState;
243
288
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
@@ -9,7 +9,7 @@ export declare const showTooltip: (node: EventTarget | null, data: any, template
9
9
  type: string;
10
10
  node: EventTarget | null;
11
11
  data: any;
12
- templateType: "pool" | "node" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell" | "json";
12
+ templateType: "json" | "pool" | "node" | "tablet" | "nodeEndpoints" | "tabletsOverall" | "histogram" | "cell";
13
13
  additionalData: any;
14
14
  positions: ITooltipPositions | undefined;
15
15
  };
@@ -11,7 +11,12 @@ export declare const selectConsumersNames: ((state: {
11
11
  cluster: import("./cluster/types").ClusterState;
12
12
  tenant: import("./tenant/types").TenantState;
13
13
  tooltip: import("../../types/store/tooltip").ITooltipState;
14
- schema: import("./schema/types").SchemaState;
14
+ schema: {
15
+ loading: boolean;
16
+ data: {};
17
+ currentSchemaPath: undefined;
18
+ showPreview: boolean;
19
+ };
15
20
  tenants: import("./tenants/types").TenantsState;
16
21
  partitions: import("./partitions/types").PartitionsState;
17
22
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -42,7 +47,12 @@ export declare const selectConsumersNames: ((state: {
42
47
  cluster: import("./cluster/types").ClusterState;
43
48
  tenant: import("./tenant/types").TenantState;
44
49
  tooltip: import("../../types/store/tooltip").ITooltipState;
45
- schema: import("./schema/types").SchemaState;
50
+ schema: {
51
+ loading: boolean;
52
+ data: {};
53
+ currentSchemaPath: undefined;
54
+ showPreview: boolean;
55
+ };
46
56
  tenants: import("./tenants/types").TenantsState;
47
57
  partitions: import("./partitions/types").PartitionsState;
48
58
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -66,7 +76,12 @@ export declare const selectConsumersNames: ((state: {
66
76
  cluster: import("./cluster/types").ClusterState;
67
77
  tenant: import("./tenant/types").TenantState;
68
78
  tooltip: import("../../types/store/tooltip").ITooltipState;
69
- schema: import("./schema/types").SchemaState;
79
+ schema: {
80
+ loading: boolean;
81
+ data: {};
82
+ currentSchemaPath: undefined;
83
+ showPreview: boolean;
84
+ };
70
85
  tenants: import("./tenants/types").TenantsState;
71
86
  partitions: import("./partitions/types").PartitionsState;
72
87
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -94,7 +109,12 @@ export declare const selectConsumersNames: ((state: {
94
109
  cluster: import("./cluster/types").ClusterState;
95
110
  tenant: import("./tenant/types").TenantState;
96
111
  tooltip: import("../../types/store/tooltip").ITooltipState;
97
- schema: import("./schema/types").SchemaState;
112
+ schema: {
113
+ loading: boolean;
114
+ data: {};
115
+ currentSchemaPath: undefined;
116
+ showPreview: boolean;
117
+ };
98
118
  tenants: import("./tenants/types").TenantsState;
99
119
  partitions: import("./partitions/types").PartitionsState;
100
120
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -127,7 +147,12 @@ export declare const selectConsumersNames: ((state: {
127
147
  cluster: import("./cluster/types").ClusterState;
128
148
  tenant: import("./tenant/types").TenantState;
129
149
  tooltip: import("../../types/store/tooltip").ITooltipState;
130
- schema: import("./schema/types").SchemaState;
150
+ schema: {
151
+ loading: boolean;
152
+ data: {};
153
+ currentSchemaPath: undefined;
154
+ showPreview: boolean;
155
+ };
131
156
  tenants: import("./tenants/types").TenantsState;
132
157
  partitions: import("./partitions/types").PartitionsState;
133
158
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -171,7 +196,12 @@ export declare const selectPreparedTopicStats: ((state: {
171
196
  cluster: import("./cluster/types").ClusterState;
172
197
  tenant: import("./tenant/types").TenantState;
173
198
  tooltip: import("../../types/store/tooltip").ITooltipState;
174
- schema: import("./schema/types").SchemaState;
199
+ schema: {
200
+ loading: boolean;
201
+ data: {};
202
+ currentSchemaPath: undefined;
203
+ showPreview: boolean;
204
+ };
175
205
  tenants: import("./tenants/types").TenantsState;
176
206
  partitions: import("./partitions/types").PartitionsState;
177
207
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -222,7 +252,12 @@ export declare const selectPreparedTopicStats: ((state: {
222
252
  cluster: import("./cluster/types").ClusterState;
223
253
  tenant: import("./tenant/types").TenantState;
224
254
  tooltip: import("../../types/store/tooltip").ITooltipState;
225
- schema: import("./schema/types").SchemaState;
255
+ schema: {
256
+ loading: boolean;
257
+ data: {};
258
+ currentSchemaPath: undefined;
259
+ showPreview: boolean;
260
+ };
226
261
  tenants: import("./tenants/types").TenantsState;
227
262
  partitions: import("./partitions/types").PartitionsState;
228
263
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -246,7 +281,12 @@ export declare const selectPreparedTopicStats: ((state: {
246
281
  cluster: import("./cluster/types").ClusterState;
247
282
  tenant: import("./tenant/types").TenantState;
248
283
  tooltip: import("../../types/store/tooltip").ITooltipState;
249
- schema: import("./schema/types").SchemaState;
284
+ schema: {
285
+ loading: boolean;
286
+ data: {};
287
+ currentSchemaPath: undefined;
288
+ showPreview: boolean;
289
+ };
250
290
  tenants: import("./tenants/types").TenantsState;
251
291
  partitions: import("./partitions/types").PartitionsState;
252
292
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -274,7 +314,12 @@ export declare const selectPreparedTopicStats: ((state: {
274
314
  cluster: import("./cluster/types").ClusterState;
275
315
  tenant: import("./tenant/types").TenantState;
276
316
  tooltip: import("../../types/store/tooltip").ITooltipState;
277
- schema: import("./schema/types").SchemaState;
317
+ schema: {
318
+ loading: boolean;
319
+ data: {};
320
+ currentSchemaPath: undefined;
321
+ showPreview: boolean;
322
+ };
278
323
  tenants: import("./tenants/types").TenantsState;
279
324
  partitions: import("./partitions/types").PartitionsState;
280
325
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -307,7 +352,12 @@ export declare const selectPreparedTopicStats: ((state: {
307
352
  cluster: import("./cluster/types").ClusterState;
308
353
  tenant: import("./tenant/types").TenantState;
309
354
  tooltip: import("../../types/store/tooltip").ITooltipState;
310
- schema: import("./schema/types").SchemaState;
355
+ schema: {
356
+ loading: boolean;
357
+ data: {};
358
+ currentSchemaPath: undefined;
359
+ showPreview: boolean;
360
+ };
311
361
  tenants: import("./tenants/types").TenantsState;
312
362
  partitions: import("./partitions/types").PartitionsState;
313
363
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -351,7 +401,12 @@ export declare const selectPreparedConsumersData: ((state: {
351
401
  cluster: import("./cluster/types").ClusterState;
352
402
  tenant: import("./tenant/types").TenantState;
353
403
  tooltip: import("../../types/store/tooltip").ITooltipState;
354
- schema: import("./schema/types").SchemaState;
404
+ schema: {
405
+ loading: boolean;
406
+ data: {};
407
+ currentSchemaPath: undefined;
408
+ showPreview: boolean;
409
+ };
355
410
  tenants: import("./tenants/types").TenantsState;
356
411
  partitions: import("./partitions/types").PartitionsState;
357
412
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -406,7 +461,12 @@ export declare const selectPreparedConsumersData: ((state: {
406
461
  cluster: import("./cluster/types").ClusterState;
407
462
  tenant: import("./tenant/types").TenantState;
408
463
  tooltip: import("../../types/store/tooltip").ITooltipState;
409
- schema: import("./schema/types").SchemaState;
464
+ schema: {
465
+ loading: boolean;
466
+ data: {};
467
+ currentSchemaPath: undefined;
468
+ showPreview: boolean;
469
+ };
410
470
  tenants: import("./tenants/types").TenantsState;
411
471
  partitions: import("./partitions/types").PartitionsState;
412
472
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -430,7 +490,12 @@ export declare const selectPreparedConsumersData: ((state: {
430
490
  cluster: import("./cluster/types").ClusterState;
431
491
  tenant: import("./tenant/types").TenantState;
432
492
  tooltip: import("../../types/store/tooltip").ITooltipState;
433
- schema: import("./schema/types").SchemaState;
493
+ schema: {
494
+ loading: boolean;
495
+ data: {};
496
+ currentSchemaPath: undefined;
497
+ showPreview: boolean;
498
+ };
434
499
  tenants: import("./tenants/types").TenantsState;
435
500
  partitions: import("./partitions/types").PartitionsState;
436
501
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -458,7 +523,12 @@ export declare const selectPreparedConsumersData: ((state: {
458
523
  cluster: import("./cluster/types").ClusterState;
459
524
  tenant: import("./tenant/types").TenantState;
460
525
  tooltip: import("../../types/store/tooltip").ITooltipState;
461
- schema: import("./schema/types").SchemaState;
526
+ schema: {
527
+ loading: boolean;
528
+ data: {};
529
+ currentSchemaPath: undefined;
530
+ showPreview: boolean;
531
+ };
462
532
  tenants: import("./tenants/types").TenantsState;
463
533
  partitions: import("./partitions/types").PartitionsState;
464
534
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -491,7 +561,12 @@ export declare const selectPreparedConsumersData: ((state: {
491
561
  cluster: import("./cluster/types").ClusterState;
492
562
  tenant: import("./tenant/types").TenantState;
493
563
  tooltip: import("../../types/store/tooltip").ITooltipState;
494
- schema: import("./schema/types").SchemaState;
564
+ schema: {
565
+ loading: boolean;
566
+ data: {};
567
+ currentSchemaPath: undefined;
568
+ showPreview: boolean;
569
+ };
495
570
  tenants: import("./tenants/types").TenantsState;
496
571
  partitions: import("./partitions/types").PartitionsState;
497
572
  executeQuery: import("../../types/store/executeQuery").ExecuteQueryState;
@@ -2,6 +2,6 @@ interface CheckTraceParams {
2
2
  url: string;
3
3
  }
4
4
  export declare const traceApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
5
- checkTrace: import("@reduxjs/toolkit/query").MutationDefinition<CheckTraceParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
5
+ checkTrace: import("@reduxjs/toolkit/query").QueryDefinition<CheckTraceParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
6
6
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
7
7
  export {};
@@ -2,7 +2,7 @@ import { api } from './api';
2
2
  import { setQueryTraceReady } from './executeQuery';
3
3
  export const traceApi = api.injectEndpoints({
4
4
  endpoints: (build) => ({
5
- checkTrace: build.mutation({
5
+ checkTrace: build.query({
6
6
  queryFn: async ({ url }, { signal, dispatch }) => {
7
7
  try {
8
8
  const response = await window.api.checkTrace({ url }, { signal });
@@ -1 +1 @@
1
- {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAMlD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC;YACvB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAE,EAAE;gBAC3D,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAE9D,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAC;oBAC/B,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
1
+ {"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAMlD,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC;IACxC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAE,QAAQ,EAAC,EAAE,EAAE;gBAC3D,IAAI,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAE9D,QAAQ,CAAC,kBAAkB,EAAE,CAAC,CAAC;oBAC/B,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
@@ -31,6 +31,19 @@ export interface TNodesGroup {
31
31
  GroupName: string;
32
32
  NodeCount: number;
33
33
  }
34
+ export interface TMemoryStats {
35
+ AnonRss: string;
36
+ ExternalConsumption?: string;
37
+ AllocatorCachesMemory?: string;
38
+ SharedCacheConsumption?: string;
39
+ SharedCacheLimit?: string;
40
+ MemTableConsumption?: string;
41
+ MemTableLimit?: string;
42
+ QueryExecutionConsumption?: string;
43
+ QueryExecutionLimit?: string;
44
+ HardLimit?: string;
45
+ SoftLimit?: string;
46
+ }
34
47
  /**
35
48
  * source: https://github.com/ydb-platform/ydb/blob/main/ydb/core/protos/node_whiteboard.proto
36
49
  */
@@ -72,6 +85,7 @@ export interface TSystemStateInfo {
72
85
  Location?: TNodeLocation;
73
86
  CoresUsed?: number;
74
87
  CoresTotal?: number;
88
+ MemoryStats?: TMemoryStats;
75
89
  /**
76
90
  * int64
77
91
  *
@@ -123,11 +137,11 @@ declare enum EConfigState {
123
137
  'Consistent' = "Consistent",
124
138
  'Outdated' = "Outdated"
125
139
  }
126
- type NodesType = 'static' | 'dynamic' | 'any';
140
+ type NodesType = 'static' | 'dynamic' | 'storage' | 'any';
127
141
  type NodesWithFilter = 'space' | 'missing' | 'all';
128
- export type NodesGroupByField = 'NodeId' | 'SystemState' | 'Host' | 'NodeName' | 'Database' | 'DiskSpaceUsage' | 'DC' | 'Rack' | 'Missing' | 'Uptime' | 'Version';
129
- export type NodesRequiredField = 'NodeId' | 'SystemState' | 'PDisks' | 'VDisks' | 'Tablets' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'Memory' | 'CPU' | 'LoadAverage' | 'Missing' | 'DiskSpaceUsage' | 'SubDomainKey' | 'DisconnectTime' | 'Database';
130
- export type NodesSortValue = 'NodeId' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'CPU' | 'LoadAverage' | 'Memory' | `Missing` | `DiskSpaceUsage` | `Database` | 'Pools' | 'RAM';
142
+ export type NodesGroupByField = 'NodeId' | 'Host' | 'NodeName' | 'Database' | 'DiskSpaceUsage' | 'DC' | 'Rack' | 'Missing' | 'Uptime' | 'Version' | 'SystemState' | 'ConnectStatus' | 'NetworkUtilization' | 'ClockSkew' | 'PingTime';
143
+ export type NodesRequiredField = 'NodeId' | 'SystemState' | 'PDisks' | 'VDisks' | 'Tablets' | 'Peers' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'Memory' | 'MemoryDetailed' | 'CPU' | 'LoadAverage' | 'Missing' | 'DiskSpaceUsage' | 'SubDomainKey' | 'DisconnectTime' | 'Database' | `Connections` | `ConnectStatus` | `NetworkUtilization` | `ClockSkew` | `PingTime` | `SendThroughput` | `ReceiveThroughput`;
144
+ export type NodesSortValue = 'NodeId' | 'Host' | 'NodeName' | 'DC' | 'Rack' | 'Version' | 'Uptime' | 'CPU' | 'LoadAverage' | 'Memory' | 'MemoryDetailed' | `Missing` | `DiskSpaceUsage` | `Database` | 'SystemState' | `Connections` | `ConnectStatus` | `NetworkUtilization` | `ClockSkew` | `PingTime` | `SendThroughput` | `ReceiveThroughput`;
131
145
  export type NodesSort = BackendSortParam<NodesSortValue>;
132
146
  export interface NodesRequestParams {
133
147
  /** @deprecated use database instead */
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AA4IA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
1
+ {"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../src/types/api/nodes.ts"],"names":[],"mappings":"AAgKA,IAAK,YAGJ;AAHD,WAAK,YAAY;IACb,yCAA2B,CAAA;IAC3B,qCAAuB,CAAA;AAC3B,CAAC,EAHI,YAAY,KAAZ,YAAY,QAGhB"}
@@ -1,4 +1,3 @@
1
- import type { changeUserInput, goToNextQuery, goToPreviousQuery, saveQueryToHistory, setQueryHistoryFilter, setQueryResult, setQueryTraceReady, setTenantPath, updateQueryInHistory } from '../../store/reducers/executeQuery';
2
1
  import type { PreparedExplainResponse } from '../../store/reducers/explainQuery/types';
3
2
  import type { IQueryResult } from './query';
4
3
  export interface QueryInHistory {
@@ -30,7 +29,9 @@ export type ExplainQueryResult = {
30
29
  export type QueryResult = ExecuteQueryResult | ExplainQueryResult;
31
30
  export interface ExecuteQueryState {
32
31
  input: string;
33
- result?: QueryResult;
32
+ result?: QueryResult & {
33
+ isTraceReady?: boolean;
34
+ };
34
35
  history: {
35
36
  queries: QueryInHistory[];
36
37
  currentIndex: number;
@@ -38,8 +39,4 @@ export interface ExecuteQueryState {
38
39
  };
39
40
  tenantPath?: string;
40
41
  }
41
- export type ExecuteQueryAction = ReturnType<typeof goToNextQuery> | ReturnType<typeof goToPreviousQuery> | ReturnType<typeof changeUserInput> | ReturnType<typeof setQueryResult> | ReturnType<typeof saveQueryToHistory> | ReturnType<typeof updateQueryInHistory> | ReturnType<typeof setTenantPath> | ReturnType<typeof setQueryHistoryFilter> | ReturnType<typeof setQueryTraceReady>;
42
- export interface ExecuteQueryStateSlice {
43
- executeQuery: ExecuteQueryState;
44
- }
45
42
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/types/store/executeQuery.ts"],"names":[],"mappings":"AAuBA,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;AACvB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
1
+ {"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/types/store/executeQuery.ts"],"names":[],"mappings":"AAYA,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;AACvB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
@@ -102,6 +102,7 @@ export declare const LAST_USED_QUERY_ACTION_KEY = "last_used_query_action";
102
102
  export declare const PARTITIONS_HIDDEN_COLUMNS_KEY = "partitionsHiddenColumns";
103
103
  export declare const TENANT_INITIAL_PAGE_KEY = "saved_tenant_initial_tab";
104
104
  export declare const USE_PAGINATED_TABLES_KEY = "useBackendParamsForTables";
105
+ export declare const USE_SHOW_PLAN_SVG_KEY = "useShowPlanToSvg";
105
106
  export declare const SHOW_DOMAIN_DATABASE_KEY = "showDomainDatabase";
106
107
  export declare const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = "useClusterBalancerAsBacked";
107
108
  export declare const ENABLE_AUTOCOMPLETE = "enableAutocomplete";
@@ -105,6 +105,7 @@ export const TENANT_INITIAL_PAGE_KEY = 'saved_tenant_initial_tab';
105
105
  // Setting to use paginated tables
106
106
  // Old key value for backward compatibility
107
107
  export const USE_PAGINATED_TABLES_KEY = 'useBackendParamsForTables';
108
+ export const USE_SHOW_PLAN_SVG_KEY = 'useShowPlanToSvg';
108
109
  // Setting to hide domain in database list
109
110
  export const SHOW_DOMAIN_DATABASE_KEY = 'showDomainDatabase';
110
111
  export const USE_CLUSTER_BALANCER_AS_BACKEND_KEY = 'useCluster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ACnB,aAAa,EAAE,IAAI;CACb,CAAC;AAEX,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC3C,GAAG,sBAAsB;IACzB,UAAU,EAAE,OAAO;IACnB,aAAa,EAAE,KAAK;CACd,CAAC;AAEX,MAAM,CAAC,MAAM,4BAA4B,GAAG,wBAAwB,CAAC;AACrE,MAAM,CAAC,MAAM,iCAAiC,GAAG,+BAA+B,CAAC;AACjF,MAAM,CAAC,MAAM,qCAAqC,GAAG,+BAA+B,CAAC;AAErF,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,6BAA6B,GAAG,yBAAyB,CAAC;AAEvE,sDAAsD;AACtD,MAAM,CAAC,MAAM,uBAAuB,GAAG,0BAA0B,CAAC;AAElE,kCAAkC;AAClC,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,2BAA2B,CAAC;AAEpE,MAAM,CAAC,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAExD,0CAA0C;AAC1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAE7D,MAAM,CAAC,MAAM,mCAAmC,GAAG,4BAA4B,CAAC;AAEhF,MAAM,CAAC,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAExD,MAAM,CAAC,MAAM,qBAAqB,GAAG,qBAAqB,CAAC;AAE3D,MAAM,CAAC,MAAM,0BAA0B,GAAG,qBAAqB,CAAC;AAEhE,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC"}
@@ -0,0 +1,4 @@
1
+ {
2
+ "action_apply": "Don't save",
3
+ "context_unsaved-changes-warning": "You have unsaved changes in query editor.\nDo you want to proceed?"
4
+ }
@@ -0,0 +1,2 @@
1
+ declare const _default: (key: "action_apply" | "context_unsaved-changes-warning", params?: import("@gravity-ui/i18n").Params) => string;
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { registerKeysets } from '../../../i18n';
2
+ import en from './en.json';
3
+ const COMPONENT = 'ydb-change-input-confirmation';
4
+ export default registerKeysets(COMPONENT, { en });
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/utils/hooks/withConfirmation/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,MAAM,WAAW,CAAC;AAE3B,MAAM,SAAS,GAAG,+BAA+B,CAAC;AAElD,eAAe,eAAe,CAAC,SAAS,EAAE,EAAC,EAAE,EAAC,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare function getConfirmation(): Promise<boolean>;
2
+ export declare function changeInputWithConfirmation<T>(callback: (args: T) => void): (args: T) => Promise<void>;
3
+ export declare function useChangeInputWithConfirmation<T>(callback: (args: T) => void): (args: T) => void;