ydb-embedded-ui 6.26.1 → 6.27.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/components/DiagnosticCard/DiagnosticCard.d.ts +4 -3
  2. package/dist/components/DiagnosticCard/DiagnosticCard.js +2 -2
  3. package/dist/components/DiagnosticCard/DiagnosticCard.js.map +1 -1
  4. package/dist/components/DiagnosticCard/DiagnosticCard.scss +17 -4
  5. package/dist/components/DoughnutMetrics/DoughnutMetrics.d.ts +20 -0
  6. package/dist/components/DoughnutMetrics/DoughnutMetrics.js +26 -0
  7. package/dist/components/DoughnutMetrics/DoughnutMetrics.js.map +1 -0
  8. package/dist/components/DoughnutMetrics/DoughnutMetrics.scss +58 -0
  9. package/dist/components/PaginatedTable/TableChunk.js +2 -0
  10. package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
  11. package/dist/components/PaginatedTable/types.d.ts +1 -0
  12. package/dist/components/ProgressViewer/ProgressViewer.js +10 -11
  13. package/dist/components/ProgressViewer/ProgressViewer.js.map +1 -1
  14. package/dist/components/ProgressViewer/ProgressViewer.scss +1 -1
  15. package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +4 -2
  16. package/dist/components/Tag/Tag.scss +1 -2
  17. package/dist/components/Tags/Tags.d.ts +3 -2
  18. package/dist/components/Tags/Tags.js +3 -5
  19. package/dist/components/Tags/Tags.js.map +1 -1
  20. package/dist/components/nodesColumns/columns.d.ts +2 -1
  21. package/dist/components/nodesColumns/columns.js.map +1 -1
  22. package/dist/components/nodesColumns/constants.d.ts +4 -0
  23. package/dist/components/nodesColumns/constants.js +25 -0
  24. package/dist/components/nodesColumns/constants.js.map +1 -1
  25. package/dist/components/nodesColumns/i18n/en.json +2 -1
  26. package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
  27. package/dist/components/nodesColumns/types.d.ts +0 -3
  28. package/dist/containers/Cluster/Cluster.js +4 -3
  29. package/dist/containers/Cluster/Cluster.js.map +1 -1
  30. package/dist/containers/Cluster/Cluster.scss +35 -8
  31. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +10 -0
  32. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +66 -0
  33. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -0
  34. package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +46 -0
  35. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCard.d.ts +17 -0
  36. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCard.js +20 -0
  37. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCard.js.map +1 -0
  38. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCores.d.ts +5 -0
  39. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCores.js +19 -0
  40. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsCores.js.map +1 -0
  41. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsMemory.d.ts +5 -0
  42. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsMemory.js +20 -0
  43. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsMemory.js.map +1 -0
  44. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsStorage.d.ts +5 -0
  45. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsStorage.js +20 -0
  46. package/dist/containers/Cluster/ClusterDashboard/components/ClusterMetricsStorage.js.map +1 -0
  47. package/dist/containers/Cluster/ClusterDashboard/shared.d.ts +9 -0
  48. package/dist/containers/Cluster/ClusterDashboard/shared.js +3 -0
  49. package/dist/containers/Cluster/ClusterDashboard/shared.js.map +1 -0
  50. package/dist/containers/Cluster/ClusterDashboard/utils.d.ts +19 -0
  51. package/dist/containers/Cluster/ClusterDashboard/utils.js +63 -0
  52. package/dist/containers/Cluster/ClusterDashboard/utils.js.map +1 -0
  53. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +1 -3
  54. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +3 -15
  55. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  56. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +1 -18
  57. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.d.ts +4 -3
  58. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js +14 -15
  59. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.js.map +1 -1
  60. package/dist/containers/Cluster/ClusterInfo/components/DiskGroupsStatsBars/DiskGroupsStatsBars.scss +1 -6
  61. package/dist/containers/Cluster/ClusterInfo/components/NodesState/NodesState.scss +3 -2
  62. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +1 -4
  63. package/dist/containers/Cluster/ClusterInfo/utils.js +20 -107
  64. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  65. package/dist/containers/Cluster/i18n/en.json +11 -12
  66. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  67. package/dist/containers/Nodes/columns/columns.d.ts +2 -1
  68. package/dist/containers/Nodes/columns/columns.js.map +1 -1
  69. package/dist/containers/Nodes/columns/hooks.d.ts +1 -1
  70. package/dist/containers/Nodes/getNodes.js +5 -1
  71. package/dist/containers/Nodes/getNodes.js.map +1 -1
  72. package/dist/containers/Operations/Operations.d.ts +5 -0
  73. package/dist/containers/Operations/Operations.js +33 -0
  74. package/dist/containers/Operations/Operations.js.map +1 -0
  75. package/dist/containers/Operations/OperationsControls.d.ts +12 -0
  76. package/dist/containers/Operations/OperationsControls.js +12 -0
  77. package/dist/containers/Operations/OperationsControls.js.map +1 -0
  78. package/dist/containers/Operations/columns.d.ts +3 -0
  79. package/dist/containers/Operations/columns.js +103 -0
  80. package/dist/containers/Operations/columns.js.map +1 -0
  81. package/dist/containers/Operations/constants.d.ts +23 -0
  82. package/dist/containers/Operations/constants.js +32 -0
  83. package/dist/containers/Operations/constants.js.map +1 -0
  84. package/dist/containers/Operations/i18n/en.json +16 -0
  85. package/dist/containers/Operations/i18n/index.d.ts +2 -0
  86. package/dist/containers/Operations/i18n/index.js +5 -0
  87. package/dist/containers/Operations/i18n/index.js.map +1 -0
  88. package/dist/containers/Operations/index.d.ts +1 -0
  89. package/dist/containers/Operations/index.js +2 -0
  90. package/dist/containers/Operations/index.js.map +1 -0
  91. package/dist/containers/Operations/shared.d.ts +1 -0
  92. package/dist/containers/Operations/shared.js +3 -0
  93. package/dist/containers/Operations/shared.js.map +1 -0
  94. package/dist/containers/Operations/useOperationsQueryParams.d.ts +11 -0
  95. package/dist/containers/Operations/useOperationsQueryParams.js +39 -0
  96. package/dist/containers/Operations/useOperationsQueryParams.js.map +1 -0
  97. package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -3
  98. package/dist/containers/Storage/StorageGroups/columns/constants.js +25 -0
  99. package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
  100. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -3
  101. package/dist/containers/Storage/StorageGroups/getGroups.js +5 -1
  102. package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
  103. package/dist/containers/Storage/StorageNodes/columns/columns.js +3 -3
  104. package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
  105. package/dist/containers/Storage/StorageNodes/columns/constants.d.ts +3 -43
  106. package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -15
  107. package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
  108. package/dist/containers/Storage/StorageNodes/columns/hooks.js +4 -3
  109. package/dist/containers/Storage/StorageNodes/columns/hooks.js.map +1 -1
  110. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +1 -1
  111. package/dist/containers/Storage/StorageNodes/getNodes.js +5 -1
  112. package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
  113. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +4 -0
  114. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  115. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +6 -0
  116. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +5 -0
  117. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  118. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
  119. package/dist/containers/Tenant/Query/Preview/Preview.js +1 -3
  120. package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
  121. package/dist/containers/Tenant/utils/schemaQueryTemplates.d.ts +1 -1
  122. package/dist/containers/Tenant/utils/schemaQueryTemplates.js +2 -2
  123. package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
  124. package/dist/services/api.d.ts +2 -0
  125. package/dist/services/api.js +6 -0
  126. package/dist/services/api.js.map +1 -1
  127. package/dist/store/reducers/operationList.d.ts +4 -0
  128. package/dist/store/reducers/operationList.js +19 -0
  129. package/dist/store/reducers/operationList.js.map +1 -0
  130. package/dist/store/reducers/overview/overview.js +2 -2
  131. package/dist/store/reducers/overview/overview.js.map +1 -1
  132. package/dist/store/reducers/tableData.d.ts +1 -0
  133. package/dist/store/reducers/tableData.js +2 -1
  134. package/dist/store/reducers/tableData.js.map +1 -1
  135. package/dist/store/reducers/tenant/constants.d.ts +1 -0
  136. package/dist/store/reducers/tenant/constants.js +1 -0
  137. package/dist/store/reducers/tenant/constants.js.map +1 -1
  138. package/dist/store/reducers/topic.js +1 -1
  139. package/dist/store/reducers/topic.js.map +1 -1
  140. package/dist/types/api/cluster.d.ts +3 -0
  141. package/dist/types/api/cluster.js.map +1 -1
  142. package/dist/types/api/operationList.d.ts +114 -0
  143. package/dist/types/api/operationList.js +42 -0
  144. package/dist/types/api/operationList.js.map +1 -0
  145. package/dist/types/api/storage.d.ts +1 -1
  146. package/dist/utils/bytesParsers/__test__/formatBytes.test.js +23 -22
  147. package/dist/utils/bytesParsers/__test__/formatBytes.test.js.map +1 -1
  148. package/dist/utils/bytesParsers/formatBytes.d.ts +2 -1
  149. package/dist/utils/bytesParsers/formatBytes.js +5 -5
  150. package/dist/utils/bytesParsers/formatBytes.js.map +1 -1
  151. package/dist/utils/dataFormatters/__test__/formatStorageValues.test.d.ts +1 -0
  152. package/dist/utils/dataFormatters/__test__/formatStorageValues.test.js +37 -0
  153. package/dist/utils/dataFormatters/__test__/formatStorageValues.test.js.map +1 -0
  154. package/dist/utils/dataFormatters/dataFormatters.d.ts +3 -1
  155. package/dist/utils/dataFormatters/dataFormatters.js +33 -3
  156. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  157. package/dist/utils/numeral.js +2 -1
  158. package/dist/utils/numeral.js.map +1 -1
  159. package/dist/utils/progress.d.ts +10 -0
  160. package/dist/utils/progress.js +13 -0
  161. package/dist/utils/progress.js.map +1 -0
  162. package/dist/utils/tableUtils/getRequiredDataFields.d.ts +1 -0
  163. package/dist/utils/tableUtils/getRequiredDataFields.js +11 -0
  164. package/dist/utils/tableUtils/getRequiredDataFields.js.map +1 -0
  165. package/dist/utils/tableUtils/types.d.ts +3 -0
  166. package/dist/utils/tableUtils/types.js +2 -0
  167. package/dist/utils/tableUtils/types.js.map +1 -0
  168. package/dist/utils/utils.d.ts +1 -0
  169. package/dist/utils/utils.js +1 -0
  170. package/dist/utils/utils.js.map +1 -1
  171. package/package.json +1 -1
  172. package/dist/containers/Storage/StorageNodes/columns/i18n/en.json +0 -3
  173. package/dist/containers/Storage/StorageNodes/columns/i18n/index.d.ts +0 -2
  174. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js +0 -5
  175. package/dist/containers/Storage/StorageNodes/columns/i18n/index.js.map +0 -1
@@ -1,8 +1,9 @@
1
1
  import './DiagnosticCard.scss';
2
- interface DiagnosticCardProps {
2
+ export interface DiagnosticCardProps {
3
3
  children?: React.ReactNode;
4
4
  className?: string;
5
5
  active?: boolean;
6
+ size?: 'm' | 'l' | 's';
7
+ interactive?: boolean;
6
8
  }
7
- export declare function DiagnosticCard({ children, className, active }: DiagnosticCardProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
9
+ export declare function DiagnosticCard({ children, className, active, size, interactive, }: DiagnosticCardProps): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { cn } from '../../utils/cn';
3
3
  import './DiagnosticCard.scss';
4
4
  const b = cn('ydb-diagnostic-card');
5
- export function DiagnosticCard({ children, className, active }) {
6
- return _jsx("div", { className: b({ active }, className), children: children });
5
+ export function DiagnosticCard({ children, className, active, size = 'm', interactive = true, }) {
6
+ return _jsx("div", { className: b({ active, size, interactive }, className), children: children });
7
7
  }
8
8
  //# sourceMappingURL=DiagnosticCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DiagnosticCard.js","sourceRoot":"","sources":["../../../src/components/DiagnosticCard/DiagnosticCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAQpC,MAAM,UAAU,cAAc,CAAC,EAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAsB;IAC7E,OAAO,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,MAAM,EAAC,EAAE,SAAS,CAAC,YAAG,QAAQ,GAAO,CAAC;AACpE,CAAC"}
1
+ {"version":3,"file":"DiagnosticCard.js","sourceRoot":"","sources":["../../../src/components/DiagnosticCard/DiagnosticCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,uBAAuB,CAAC;AAE/B,MAAM,CAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC,CAAC;AAUpC,MAAM,UAAU,cAAc,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,MAAM,EACN,IAAI,GAAG,GAAG,EACV,WAAW,GAAG,IAAI,GACA;IAClB,OAAO,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,MAAM,EAAE,IAAI,EAAE,WAAW,EAAC,EAAE,SAAS,CAAC,YAAG,QAAQ,GAAO,CAAC;AACvF,CAAC"}
@@ -1,7 +1,6 @@
1
1
  .ydb-diagnostic-card {
2
2
  flex-shrink: 0;
3
3
 
4
- width: 206px;
5
4
  padding: 16px;
6
5
  padding-bottom: 28px;
7
6
 
@@ -13,10 +12,24 @@
13
12
  border-color: var(--g-color-base-info-medium);
14
13
  background-color: var(--g-color-base-selection);
15
14
  }
15
+ &_interactive {
16
+ &:hover {
17
+ cursor: pointer;
16
18
 
17
- &:hover {
18
- cursor: pointer;
19
+ box-shadow: 0px 1px 5px var(--g-color-sfx-shadow);
20
+ }
21
+ }
19
22
 
20
- box-shadow: 0px 1px 5px var(--g-color-sfx-shadow);
23
+ &_size_m {
24
+ width: 206px;
25
+ min-width: 206px;
26
+ }
27
+ &_size_l {
28
+ width: 289px;
29
+ min-width: 289px;
30
+ }
31
+ &_size_s {
32
+ width: 134px;
33
+ min-width: 134px;
21
34
  }
22
35
  }
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import type { TextProps } from '@gravity-ui/uikit';
3
+ import type { ProgressStatus } from '../../utils/progress';
4
+ import './DoughnutMetrics.scss';
5
+ interface LegendProps {
6
+ children?: React.ReactNode;
7
+ variant?: TextProps['variant'];
8
+ }
9
+ interface DoughnutProps {
10
+ status: ProgressStatus;
11
+ fillWidth: number;
12
+ children?: React.ReactNode;
13
+ className?: string;
14
+ }
15
+ export declare function DoughnutMetrics({ status, fillWidth, children, className }: DoughnutProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare namespace DoughnutMetrics {
17
+ var Legend: ({ children, variant }: LegendProps) => import("react/jsx-runtime").JSX.Element;
18
+ var Value: ({ children, variant }: LegendProps) => import("react/jsx-runtime").JSX.Element;
19
+ }
20
+ export {};
@@ -0,0 +1,26 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Text } from '@gravity-ui/uikit';
3
+ import { cn } from '../../utils/cn';
4
+ import './DoughnutMetrics.scss';
5
+ const b = cn('ydb-doughnut-metrics');
6
+ function Legend({ children, variant = 'subheader-3' }) {
7
+ return (_jsx(Text, { variant: variant, color: "secondary", className: b('legend'), children: children }));
8
+ }
9
+ function Value({ children, variant = 'subheader-2' }) {
10
+ return (_jsx(Text, { variant: variant, color: "secondary", className: b('value'), children: children }));
11
+ }
12
+ export function DoughnutMetrics({ status, fillWidth, children, className }) {
13
+ let gradientFill = 'var(--g-color-line-generic-solid)';
14
+ let filledDegrees = fillWidth * 3.6 - 90;
15
+ if (fillWidth > 50) {
16
+ gradientFill = 'var(--doughnut-color)';
17
+ filledDegrees = fillWidth * 3.6 + 90;
18
+ }
19
+ const gradientDegrees = filledDegrees;
20
+ return (_jsx("div", { className: b(null, className), children: _jsx("div", { style: {
21
+ backgroundImage: `linear-gradient(${gradientDegrees}deg, transparent 50%, ${gradientFill} 50%), linear-gradient(-90deg, var(--g-color-line-generic-solid) 50%, transparent 50%)`,
22
+ }, className: b('doughnut', { status }), children: _jsx("div", { className: b('text-wrapper'), children: children }) }) }));
23
+ }
24
+ DoughnutMetrics.Legend = Legend;
25
+ DoughnutMetrics.Value = Value;
26
+ //# sourceMappingURL=DoughnutMetrics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DoughnutMetrics.js","sourceRoot":"","sources":["../../../src/components/DoughnutMetrics/DoughnutMetrics.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAGlC,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC,CAAC;AAOrC,SAAS,MAAM,CAAC,EAAC,QAAQ,EAAE,OAAO,GAAG,aAAa,EAAc;IAC5D,OAAO,C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status-green);
4
+ &__doughnut {
5
+ position: relative;
6
+
7
+ width: 172px;
8
+ aspect-ratio: 1;
9
+
10
+ border-radius: 50%;
11
+ background-color: var(--doughnut-color);
12
+ &::before {
13
+ display: block;
14
+
15
+ height: calc(100% - calc(var(--doughnut-border) * 2));
16
+
17
+ content: '';
18
+
19
+ border-radius: 50%;
20
+ background-color: var(--g-color-base-background);
21
+
22
+ transform: translate(var(--doughnut-border), var(--doughnut-border));
23
+ aspect-ratio: 1;
24
+ }
25
+ }
26
+ &__doughnut_status_warning {
27
+ --doughnut-color: var(--ydb-color-status-yellow);
28
+ }
29
+ &__doughnut_status_danger {
30
+ --doughnut-color: var(--ydb-color-status-red);
31
+ }
32
+ &__text-wrapper {
33
+ --wrapper-indent: calc(var(--doughnut-border) + 5px);
34
+
35
+ position: absolute;
36
+ top: var(--wrapper-indent);
37
+ right: var(--wrapper-indent);
38
+
39
+ display: flex;
40
+ flex-direction: column;
41
+ justify-content: center;
42
+ align-items: center;
43
+
44
+ width: calc(100% - calc(var(--wrapper-indent) * 2));
45
+
46
+ text-align: center;
47
+ aspect-ratio: 1;
48
+ }
49
+ &__value {
50
+ position: absolute;
51
+ bottom: 20px;
52
+ }
53
+ &__legend {
54
+ height: 50%;
55
+
56
+ white-space: pre-wrap;
57
+ }
58
+ }
@@ -11,12 +11,14 @@ export const TableChunk = ({ id, limit, totalLength, rowHeight, columns, fetchDa
11
11
  var _a;
12
12
  const [isTimeoutActive, setIsTimeoutActive] = React.useState(true);
13
13
  const [autoRefreshInterval] = useAutoRefreshInterval();
14
+ const columnsIds = columns.map((column) => column.name);
14
15
  const queryParams = {
15
16
  offset: id * limit,
16
17
  limit,
17
18
  fetchData: fetchData,
18
19
  filters,
19
20
  sortParams,
21
+ columnsIds,
20
22
  tableName,
21
23
  };
22
24
  tableDataApi.useFetchTableChunkQuery(queryParams, {
@@ -1 +1 @@
1
- {"version":3,"file":"TableChunk.js","sourceRoot":"","sources":["../../../src/components/PaginatedTable/TableChunk.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;
46
+ columnsIds: string[];
46
47
  signal?: AbortSignal;
47
48
  } & E;
48
49
  export type FetchData<T, F = undefined, E = {}> = (params: FetchDataParams<F, E>) => Promise<PaginatedTableData<T>>;
@@ -2,6 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useTheme } from '@gravity-ui/uikit';
3
3
  import { cn } from '../../utils/cn';
4
4
  import { formatNumber, roundToPrecision } from '../../utils/dataFormatters/dataFormatters';
5
+ import { calculateProgressStatus } from '../../utils/progress';
5
6
  import { isNumeric } from '../../utils/utils';
6
7
  import './ProgressViewer.scss';
7
8
  const b = cn('progress-viewer');
@@ -24,17 +25,15 @@ export function ProgressViewer({ value, capacity, formatValues = defaultFormatVa
24
25
  else if (formatValues) {
25
26
  [valueText, capacityText] = formatValues(Number(value), Number(capacity));
26
27
  }
27
- let status = inverseColorize ? 'danger' : 'good';
28
- if (colorizeProgress) {
29
- if (fillWidth > warningThreshold && fillWidth <= dangerThreshold) {
30
- status = 'warning';
31
- }
32
- else if (fillWidth > dangerThreshold) {
33
- status = inverseColorize ? 'good' : 'danger';
34
- }
35
- if (!isNumeric(capacity)) {
36
- fillWidth = 100;
37
- }
28
+ const status = calculateProgressStatus({
29
+ fillWidth,
30
+ warningThreshold,
31
+ dangerThreshold,
32
+ colorizeProgress,
33
+ inverseColorize,
34
+ });
35
+ if (colorizeProgress && !isNumeric(capacity)) {
36
+ fillWidth = 100;
38
37
  }
39
38
  const lineStyle = {
40
39
  width: fillWidth + '%',
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressViewer.js","sourceRoot":"","sources":["../../../src/components/ProgressViewer/ProgressViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,YAAY,EAAE,gBAAgB,EAAC,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAC,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,aAC/C,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,SAAS,GAAQ,EACnD,eAAM,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YAAG,aAAa,EAAE,GAAQ,IAClD,CACT,CAAC;IACN,CAAC;IAED,OAAO,cAAK,SAAS,EAAE,GAAG,CAAC,CAAC,EAAC,IAAI,EAAC,CAAC,IAAI,SAAS,QAAQ,wBAAe,CAAC;AAC5E,CAAC"}
@@ -11,7 +11,7 @@
11
11
  justify-content: center;
12
12
  align-items: center;
13
13
 
14
- min-width: 120px;
14
+ min-width: 150px;
15
15
  height: 23px;
16
16
  padding: 0 4px;
17
17
 
@@ -1,6 +1,8 @@
1
1
  @import '../../styles/mixins.scss';
2
2
 
3
3
  .ydb-table-with-controls-layout {
4
+ --data-table-sticky-top-offset: 62px;
5
+
4
6
  display: inline-block;
5
7
 
6
8
  box-sizing: border-box;
@@ -31,11 +33,11 @@
31
33
  }
32
34
 
33
35
  .ydb-paginated-table__head {
34
- top: 62px;
36
+ top: var(--data-table-sticky-top-offset, 62px);
35
37
  }
36
38
 
37
39
  .data-table__sticky_moving {
38
40
  // Place table head right after controls
39
- top: 62px !important;
41
+ top: var(--data-table-sticky-top-offset, 62px) !important;
40
42
  }
41
43
  }
@@ -1,9 +1,8 @@
1
1
  .tag {
2
- margin-right: 5px;
3
2
  padding: 2px 5px;
4
3
 
5
4
  font-size: 12px;
6
- text-transform: uppercase;
5
+ white-space: nowrap;
7
6
 
8
7
  color: var(--g-color-text-primary);
9
8
  border-radius: 3px;
@@ -1,10 +1,11 @@
1
1
  import React from 'react';
2
+ import type { FlexProps } from '@gravity-ui/uikit';
2
3
  import type { TagType } from '../Tag';
3
- import './Tags.scss';
4
4
  interface TagsProps {
5
5
  tags: React.ReactNode[];
6
6
  tagsType?: TagType;
7
7
  className?: string;
8
+ gap?: FlexProps['gap'];
8
9
  }
9
- export declare const Tags: ({ tags, tagsType, className }: TagsProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const Tags: ({ tags, tagsType, className, gap }: TagsProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export {};
@@ -1,10 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { cn } from '../../utils/cn';
2
+ import { Flex } from '@gravity-ui/uikit';
3
3
  import { Tag } from '../Tag';
4
- import './Tags.scss';
5
- const b = cn('tags');
6
- export const Tags = ({ tags, tagsType, className = '' }) => {
7
- return (_jsx("div", { className: b(null, className), children: tags &&
4
+ export const Tags = ({ tags, tagsType, className = '', gap = 1 }) => {
5
+ return (_jsx(Flex, { className: className, gap: gap, wrap: "wrap", alignItems: "center", children: tags &&
8
6
  tags.map((tag, tagIndex) => _jsx(Tag, { text: tag, type: tagsType }, tagIndex)) }));
9
7
  };
10
8
  //# sourceMappingURL=Tags.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/components/Tags/Tags.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAElC,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAE3B,OAAO,aAAa,CAAC;AAErB,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC;AAQrB,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAY,EAAE,EAAE;IAChE,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,YAC7B,IAAI;YACD,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,KAAC,GAAG,IAAC,IAAI,EAAE,GAAG,EAAiB,IAAI,EAAE,QAAQ,IAAxB,QAAQ,CAAwB,CAAC,GACpF,CACT,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/components/Tags/Tags.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAGvC,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAS3B,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,GAAG,CAAC,EAAY,EAAE,EAAE;IACzE,OAAO,CACH,KAAC,IAAI,IAAC,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAC,MAAM,EAAC,UAAU,EAAC,QAAQ,YAChE,IAAI;YACD,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,QAAQ,EAAE,EAAE,CAAC,KAAC,GAAG,IAAC,IAAI,EAAE,GAAG,EAAiB,IAAI,EAAE,QAAQ,IAAxB,QAAQ,CAAwB,CAAC,GACnF,CACV,CAAC;AACN,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import type { TPoolStats } from '../../types/api/nodes';
2
2
  import type { TTabletStateInfo } from '../../types/api/tablet';
3
+ import type { Column } from '../../utils/tableUtils/types';
3
4
  import type { NodeHostData } from '../NodeHostWrapper/NodeHostWrapper';
4
- import type { Column, GetNodesColumnsParams } from './types';
5
+ import type { GetNodesColumnsParams } from './types';
5
6
  export declare function getNodeIdColumn<T extends {
6
7
  NodeId?: string | number;
7
8
  }>(): Column<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/columns.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAC,sBAAsB,EAAC,MAAM,kCAAkC,CAAC;AAGxE,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAC,uBAAuB,EAAC,MAA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EAAC,EAAE,EAAE;YACd,OAAO,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CACjB,KAAC,gBAAgB,IACb,UAAU,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,GAAG,CAAC,UAAU,EACtC,MAAM,EAAE,GAAG,CAAC,MAAM,EAClB,OAAO,EAAE,GAAG,CAAC,OAAO,GACtB,CACL,CAAC,CAAC,CAAC,CACA,sBAAsB,CACzB,CAAC;QACN,CAAC;QACD,KAAK,EAAE,SAAS,CAAC,IAAI;QACrB,QAAQ,EAAE,KAAK;KAClB,CAAC;AACN,CAAC;AACD,MAAM,UAAU,qBAAqB;IACjC,OAAO;QACH,IAAI,EAAE,iBAAiB,CAAC,OAAO;QAC/B,MAAM,EAAE,oBAAoB,CAAC,OAAO;QACpC,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO;QAC9B,KAAK,EAAE,SAAS,CAAC,MAAM;QACvB,YAAY,EAAE,SAAS,CAAC,UAAU;KACrC,CAAC;AACN,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { NodesRequiredField } from '../../types/api/nodes';
1
2
  import type { ValueOf } from '../../types/common';
2
3
  export declare const NODES_COLUMNS_WIDTH_LS_KEY = "nodesTableColumnsWidth";
3
4
  export declare const NODES_COLUMNS_IDS: {
@@ -17,6 +18,7 @@ export declare const NODES_COLUMNS_IDS: {
17
18
  readonly TotalSessions: "TotalSessions";
18
19
  readonly Missing: "Missing";
19
20
  readonly Tablets: "Tablets";
21
+ readonly PDisks: "PDisks";
20
22
  };
21
23
  export type NodesColumnId = ValueOf<typeof NODES_COLUMNS_IDS>;
22
24
  export declare const NODES_COLUMNS_TITLES: {
@@ -36,4 +38,6 @@ export declare const NODES_COLUMNS_TITLES: {
36
38
  readonly TotalSessions: string;
37
39
  readonly Missing: string;
38
40
  readonly Tablets: string;
41
+ readonly PDisks: string;
39
42
  };
43
+ export declare const NODES_COLUMNS_TO_DATA_FIELDS: Record<NodesColumnId, NodesRequiredField[]>;
@@ -17,6 +17,7 @@ export const NODES_COLUMNS_IDS = {
17
17
  TotalSessions: 'TotalSessions',
18
18
  Missing: 'Missing',
19
19
  Tablets: 'Tablets',
20
+ PDisks: 'PDisks',
20
21
  };
21
22
  // This code is running when module is initialized and correct language may not be set yet
22
23
  // get functions guarantee that i18n fields will be inited on render with current render language
@@ -69,5 +70,29 @@ export const NODES_COLUMNS_TITLES = {
69
70
  get Tablets() {
70
71
  return i18n('tablets');
71
72
  },
73
+ get PDisks() {
74
+ return i18n('pdisks');
75
+ },
76
+ };
77
+ // Although columns ids mostly similar to backend fields, there might be some difference
78
+ // Also for some columns we may use more than one field
79
+ export const NODES_COLUMNS_TO_DATA_FIELDS = {
80
+ NodeId: ['NodeId'],
81
+ Host: ['Host', 'Rack', 'Database', 'SystemState'],
82
+ NodeName: ['NodeName'],
83
+ DC: ['DC'],
84
+ Rack: ['Rack'],
85
+ Version: ['Version'],
86
+ Uptime: ['Uptime'],
87
+ Memory: ['Memory'],
88
+ CPU: ['CPU'],
89
+ LoadAverage: ['LoadAverage'],
90
+ Load: ['LoadAverage'],
91
+ DiskSpaceUsage: ['DiskSpaceUsage'],
92
+ SharedCacheUsage: ['SystemState'],
93
+ TotalSessions: ['SystemState'],
94
+ Missing: ['Missing'],
95
+ Tablets: ['Tablets', 'Database'],
96
+ PDisks: ['PDisks'],
72
97
  };
73
98
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/nodesColumns/constants.ts"],"names":[],"mappings":"AAEA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,MAAM,CAAC,MAAM,0BAA0B,GAAG,wBAAwB,CAAC;AAEnE,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC7B,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,QAAQ,EAAE,UAAU;IACpB,EAAE,EAAE,IAAI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B,EAAE,EAAE,CAAC,IAAI,CAAC;IACV,IAAI,EAAE,CAAC,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,MAAM,EAAE,CAAC,QAAQ,CAAC;IAClB,MAAM,EAAE,CAAC,QAAQ,CAAC;IAClB,GAAG,EAAE,CAAC,KAAK,CAAC;IACZ,WAAW,EAAE,CAAC,aAAa,CAAC;IAC5B,IAAI,EAAE,CAAC,aAAa,CAAC;IACrB,cAAc,EAAE,CAAC,gBAAgB,CAAC;IAClC,gBAAgB,EAAE,CAAC,aAAa,CAAC;IACjC,aAAa,EAAE,CAAC,aAAa,CAAC;IAC9B,OAAO,EAAE,CAAC,SAAS,CAAC;IACpB,OAAO,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC;IAChC,MAAM,EAAE,CAAC,QAAQ,CAAC;CACrB,CAAC"}
@@ -14,5 +14,6 @@
14
14
  "load": "Load",
15
15
  "caches": "Caches",
16
16
  "sessions": "Sessions",
17
- "missing": "Missing"
17
+ "missing": "Missing",
18
+ "pdisks": "PDisks"
18
19
  }
@@ -1,2 +1,2 @@
1
- declare const _default: (key: "missing" | "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "node-name" | "dc" | "rack" | "disk-usage" | "load-average" | "caches" | "sessions", params?: import("@gravity-ui/i18n").Params) => string;
1
+ declare const _default: (key: "missing" | "version" | "host" | "tablets" | "cpu" | "memory" | "uptime" | "load" | "node-id" | "node-name" | "dc" | "rack" | "disk-usage" | "load-average" | "caches" | "sessions" | "pdisks", params?: import("@gravity-ui/i18n").Params) => string;
2
2
  export default _default;
@@ -1,7 +1,4 @@
1
- import type { Column as DataTableColumn } from '@gravity-ui/react-data-table';
2
1
  import type { GetNodeRefFunc } from '../../types/additionalProps';
3
- import type { Column as PaginatedTableColumn } from '../PaginatedTable';
4
- export type Column<T> = PaginatedTableColumn<T> & DataTableColumn<T>;
5
2
  export interface GetNodesColumnsParams {
6
3
  getNodeRef?: GetNodeRefFunc;
7
4
  database?: string;
@@ -18,10 +18,11 @@ import { StorageWrapper } from '../Storage/StorageWrapper';
18
18
  import { TabletsTable } from '../Tablets/TabletsTable';
19
19
  import { Tenants } from '../Tenants/Tenants';
20
20
  import { Versions } from '../Versions/Versions';
21
+ import { ClusterDashboard } from './ClusterDashboard/ClusterDashboard';
21
22
  import { ClusterInfo } from './ClusterInfo/ClusterInfo';
22
23
  import { clusterTabs, clusterTabsIds, getClusterPath, isClusterTab } from './utils';
23
24
  import './Cluster.scss';
24
- const b = cn('cluster');
25
+ const b = cn('ydb-cluster');
25
26
  export function Cluster({ additionalClusterProps, additionalTenantsProps, additionalNodesProps, additionalVersionsProps, }) {
26
27
  const container = React.useRef(null);
27
28
  const dispatch = useTypedDispatch();
@@ -50,12 +51,12 @@ export function Cluster({ additionalClusterProps, additionalTenantsProps, additi
50
51
  return (_jsx(EntityStatus, { size: "m", status: cluster === null || cluster === void 0 ? void 0 : cluster.Overall, name: clusterTitle, className: b('title') }));
51
52
  };
52
53
  const activeTab = React.useMemo(() => clusterTabs.find(({ id }) => id === activeTabId), [activeTabId]);
53
- return (_jsxs("div", { className: b(), ref: container, children: [_jsx(Helmet, { defaultTitle: `${clusterTitle} — YDB Monitoring`, titleTemplate: `%s — ${clusterTitle} — YDB Monitoring`, children: activeTab ? _jsx("title", { children: activeTab.title }) : null }), _jsx("div", { className: b('header'), children: getClusterTitle() }), _jsx("div", { className: b('tabs'), children: _jsx(Tabs, { size: "l", allowNotSelected: true, activeTab: activeTabId, items: clusterTabs, wrapTo: ({ id }, node) => {
54
+ return (_jsxs("div", { className: b(), ref: container, children: [_jsx(Helmet, { defaultTitle: `${clusterTitle} — YDB Monitoring`, titleTemplate: `%s — ${clusterTitle} — YDB Monitoring`, children: activeTab ? _jsx("title", { children: activeTab.title }) : null }), _jsx("div", { className: b('header'), children: getClusterTitle() }), _jsx("div", { className: b('sticky-wrapper'), children: _jsx(AutoRefreshControl, { className: b('auto-refresh-control') }) }), _jsx(ClusterDashboard, { cluster: cluster, groupStats: groupsStats, loading: infoLoading }), _jsx("div", { className: b('tabs-sticky-wrapper'), children: _jsx(Tabs, { size: "l", allowNotSelected: true, activeTab: activeTabId, items: clusterTabs, wrapTo: ({ id }, node) => {
54
55
  const path = getClusterPath(id, { clusterName, backend });
55
56
  return (_jsx(InternalLink, { to: path, onClick: () => {
56
57
  dispatch(updateDefaultClusterTab(id));
57
58
  }, children: node }, id));
58
- } }) }), _jsx("div", { className: b('sticky-wrapper'), children: _jsx(AutoRefreshControl, { className: b('auto-refresh-control') }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, groupsStats: groupsStats, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tablets)).pathname, children: _jsxs("div", { className: b('tablets'), children: [_jsx("div", { className: b('fake-block') }), _jsx(TabletsTable, { loading: infoLoading, tablets: clusterTablets, className: b('tablets-table') })] }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentRef: container, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentRef: container }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor, cluster: cluster }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
59
+ } }) }), _jsxs(Switch, { children: [_jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.overview)).pathname, children: _jsx(ClusterInfo, { cluster: cluster, versionToColor: versionToColor, loading: infoLoading, error: clusterError, additionalClusterProps: additionalClusterProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tablets)).pathname, children: _jsxs("div", { className: b('tablets'), children: [_jsx("div", { className: b('fake-block') }), _jsx(TabletsTable, { loading: infoLoading, tablets: clusterTablets, className: b('tablets-table') })] }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.tenants)).pathname, children: _jsx(Tenants, { additionalTenantsProps: additionalTenantsProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.nodes)).pathname, children: _jsx(NodesWrapper, { parentRef: container, additionalNodesProps: additionalNodesProps }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.storage)).pathname, children: _jsx(StorageWrapper, { parentRef: container }) }), _jsx(Route, { path: getLocationObjectFromHref(getClusterPath(clusterTabsIds.versions)).pathname, children: _jsx(Versions, { versionToColor: versionToColor, cluster: cluster }) }), _jsx(Route, { render: () => (_jsx(Redirect, { to: getLocationObjectFromHref(getClusterPath(activeTabId)) })) })] })] }));
59
60
  }
60
61
  function useClusterTab() {
61
62
  const dispatch = useTypedDispatch();
@@ -1 +1 @@
1
- {"version":3,"file":"Cluster.js","sourceRoot":"","sources":["../../../src/containers/Cluster/Cluster.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EA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