ydb-embedded-ui 6.27.1 → 6.29.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -21
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js +2 -2
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +1 -1
- package/dist/components/EntityStatus/EntityStatus.d.ts +1 -2
- package/dist/components/EntityStatus/EntityStatus.js +5 -3
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/EntityStatus/EntityStatus.scss +24 -2
- package/dist/components/HoverPopup/HoverPopup.d.ts +4 -3
- package/dist/components/HoverPopup/HoverPopup.js +2 -2
- package/dist/components/HoverPopup/HoverPopup.js.map +1 -1
- package/dist/components/LoaderWrapper/LoaderWrapper.d.ts +1 -1
- package/dist/components/MonitoringButton/MonitoringButton.d.ts +1 -3
- package/dist/components/MonitoringButton/MonitoringButton.js +2 -5
- package/dist/components/MonitoringButton/MonitoringButton.js.map +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -5
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +3 -3
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +16 -2
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/StatusIcon/StatusIcon.scss +1 -0
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js +4 -4
- package/dist/components/StorageGroupInfo/StorageGroupInfo.js.map +1 -1
- package/dist/components/StorageGroupInfo/i18n/index.d.ts +1 -1
- package/dist/components/TabletNameWrapper/TabletNameWrapper.d.ts +6 -0
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js +18 -0
- package/dist/components/TabletNameWrapper/TabletNameWrapper.js.map +1 -0
- package/dist/components/TabletNameWrapper/i18n/en.json +4 -0
- package/dist/components/TabletNameWrapper/i18n/index.d.ts +2 -0
- package/dist/components/TabletNameWrapper/i18n/index.js +5 -0
- package/dist/components/TabletNameWrapper/i18n/index.js.map +1 -0
- package/dist/components/TenantNameWrapper/TenantNameWrapper.d.ts +8 -0
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js +34 -0
- package/dist/components/TenantNameWrapper/TenantNameWrapper.js.map +1 -0
- package/dist/components/TenantNameWrapper/i18n/en.json +5 -0
- package/dist/components/TenantNameWrapper/i18n/index.d.ts +2 -0
- package/dist/components/TenantNameWrapper/i18n/index.js +5 -0
- package/dist/components/TenantNameWrapper/i18n/index.js.map +1 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.d.ts +2 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js +27 -5
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.js.map +1 -1
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/NodeEndpointsTooltipContent.scss +7 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/en.json +5 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.d.ts +2 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.js +5 -0
- package/dist/components/TooltipsContent/NodeEndpointsTooltipContent/i18n/index.js.map +1 -0
- package/dist/components/VDiskInfo/VDiskInfo.js +5 -4
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +42 -5
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/components/nodesColumns/columns.js +6 -6
- package/dist/containers/App/App.scss +2 -4
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js +1 -3
- package/dist/containers/AppWithClusters/ExtendedCluster/ExtendedCluster.js.map +1 -1
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js +1 -3
- package/dist/containers/AppWithClusters/ExtendedTenant/ExtendedTenant.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +2 -2
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/Cluster.scss +6 -13
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.d.ts +7 -4
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js +20 -8
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.js.map +1 -1
- package/dist/containers/Cluster/ClusterDashboard/ClusterDashboard.scss +6 -0
- package/dist/containers/Cluster/ClusterInfo/utils.js +1 -1
- package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
- package/dist/containers/Clusters/columns.js +3 -3
- package/dist/containers/Node/NodeStructure/Pdisk.js +4 -4
- package/dist/containers/Node/NodeStructure/Pdisk.js.map +1 -1
- package/dist/containers/Operations/Operations.scss +5 -0
- package/dist/containers/Operations/OperationsControls.d.ts +1 -0
- package/dist/containers/Operations/OperationsControls.js +2 -1
- package/dist/containers/Operations/OperationsControls.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js +4 -4
- package/dist/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.js +11 -5
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/Disks/Disks.scss +0 -9
- package/dist/containers/Storage/Storage.js +1 -0
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js +3 -1
- package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
- package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/TabletsTable.js +2 -8
- package/dist/containers/Tablets/TabletsTable.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +2 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +9 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +9 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +8 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +4 -8
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +10 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js +2 -6
- package/dist/containers/Tenant/Diagnostics/TopShards/getTopShardsColumns.js.map +1 -1
- package/dist/containers/Tenants/Tenants.js +2 -24
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/Versions/NodesTable/NodesTable.js +2 -2
- package/dist/services/api.js +1 -1
- package/dist/services/api.js.map +1 -1
- package/dist/store/reducers/pdisk/utils.js +6 -4
- package/dist/store/reducers/pdisk/utils.js.map +1 -1
- package/dist/types/additionalProps.d.ts +1 -1
- package/dist/types/api/cluster.d.ts +2 -0
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/utils/__test__/prepareBackend.test.js +1 -1
- package/dist/utils/__test__/prepareBackend.test.js.map +1 -1
- package/dist/utils/developerUI/__test__/developerUI.test.js +4 -4
- package/dist/utils/developerUI/__test__/developerUI.test.js.map +1 -1
- package/dist/utils/developerUI/developerUI.js +4 -4
- package/dist/utils/developerUI/developerUI.js.map +1 -1
- package/dist/utils/monaco/yql/constants.js +2 -0
- package/dist/utils/monaco/yql/constants.js.map +1 -1
- package/dist/utils/prepareBackend.js +2 -2
- package/dist/utils/prepareBackend.js.map +1 -1
- package/dist/utils/tableUtils/getRequiredDataFields.js +1 -1
- package/dist/utils/tableUtils/getRequiredDataFields.js.map +1 -1
- package/package.json +2 -2
- package/dist/components/MonitoringButton/MonitoringButton.scss +0 -11
package/LICENSE
CHANGED
@@ -1,21 +1,201 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright 2021 YANDEX LLC
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
@@ -11,10 +11,10 @@ const b = cn('basic-node-viewer');
|
|
11
11
|
export const BasicNodeViewer = ({ node, additionalNodesProps, className }) => {
|
12
12
|
let nodeHref;
|
13
13
|
if (additionalNodesProps === null || additionalNodesProps === void 0 ? void 0 : additionalNodesProps.getNodeRef) {
|
14
|
-
nodeHref = additionalNodesProps.getNodeRef(node) + 'internal';
|
14
|
+
nodeHref = additionalNodesProps.getNodeRef(node) + '/internal';
|
15
15
|
}
|
16
16
|
else if (node.NodeId) {
|
17
|
-
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + 'internal';
|
17
|
+
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + '/internal';
|
18
18
|
}
|
19
19
|
return (_jsx("div", { className: b(null, className), children: node ? (_jsxs(React.Fragment, { children: [_jsx("div", { className: b('title'), children: "Node" }), _jsx(EntityStatus, { status: node.SystemState, name: node.Host }), nodeHref && (_jsx("a", { rel: "noopener noreferrer", className: b('link', { external: true }), href: nodeHref, target: "_blank", children: _jsx(Icon, { data: ArrowUpRightFromSquare }) })), _jsxs("div", { className: b('id'), children: [_jsx("label", { className: b('label'), children: "NodeID" }), _jsx("label", { children: node.NodeId })] }), node.DC && _jsx(Tags, { tags: [node.DC] }), node.Roles && _jsx(Tags, { tags: node.Roles, tagsType: "blue" })] })) : (_jsx("div", { className: "error", children: "no data" })) }));
|
20
20
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BasicNodeViewer.js","sourceRoot":"","sources":["../../../src/components/BasicNodeViewer/BasicNodeViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAIvC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAE7B,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,EAAE,CAAC,mBAAmB,CAAC,CAAC;AAQlC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAC,IAAI,EAAE,oBAAoB,EAAE,SAAS,EAAuB,EAAE,EAAE;IAC7F,IAAI,QAA4B,CAAC;IAEjC,IAAI,oBAAoB,aAApB,oBAAoB,uBAApB,oBAAoB,CAAE,UAAU,EAAE,CAAC;QACnC,QAAQ,GAAG,oBAAoB,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,
|
1
|
+
{"version":3,"file":"BasicNodeViewer.js","sourceRoot":"","sources":["../../../src/components/BasicNodeViewer/BasicNodeViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,sBAAsB,EAAC,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAIvC,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B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IAC1B,EAEL,IAAI,CAAC,EAAE,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,GAAI,EACpC,IAAI,CAAC,KAAK,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAC,MAAM,GAAG,IAC5C,CACpB,CAAC,CAAC,CAAC,CACA,cAAK,SAAS,EAAC,OAAO,wBAAc,CACvC,GACC,CACT,CAAC;AACN,CAAC,CAAC"}
|
@@ -18,5 +18,5 @@ interface EmptyStateWrapperProps extends EmptyStateProps {
|
|
18
18
|
children: React.ReactNode;
|
19
19
|
className?: string;
|
20
20
|
}
|
21
|
-
export declare function EmptyStateWrapper({ isEmpty, children, className, ...rest }: EmptyStateWrapperProps): string | number | boolean |
|
21
|
+
export declare function EmptyStateWrapper({ isEmpty, children, className, ...rest }: EmptyStateWrapperProps): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | null | undefined;
|
22
22
|
export {};
|
@@ -15,7 +15,6 @@ interface EntityStatusProps {
|
|
15
15
|
hasClipboardButton?: boolean;
|
16
16
|
clipboardButtonAlwaysVisible?: boolean;
|
17
17
|
className?: string;
|
18
|
-
additionalControls?: React.ReactNode;
|
19
18
|
}
|
20
|
-
export declare function EntityStatus({ status, name, label, path, iconPath, size, mode, showStatus, externalLink, withLeftTrim, hasClipboardButton, clipboardButtonAlwaysVisible, className,
|
19
|
+
export declare function EntityStatus({ status, name, label, path, iconPath, size, mode, showStatus, externalLink, withLeftTrim, hasClipboardButton, clipboardButtonAlwaysVisible, className, }: EntityStatusProps): import("react/jsx-runtime").JSX.Element;
|
21
20
|
export {};
|
@@ -6,7 +6,7 @@ import { InternalLink } from '../InternalLink/InternalLink';
|
|
6
6
|
import { StatusIcon } from '../StatusIcon/StatusIcon';
|
7
7
|
import './EntityStatus.scss';
|
8
8
|
const b = cn('entity-status');
|
9
|
-
export function EntityStatus({ status = EFlag.Grey, name = '', label, path, iconPath, size = 's', mode = 'color', showStatus = true, externalLink = false, withLeftTrim = false, hasClipboardButton, clipboardButtonAlwaysVisible = false, className,
|
9
|
+
export function EntityStatus({ status = EFlag.Grey, name = '', label, path, iconPath, size = 's', mode = 'color', showStatus = true, externalLink = false, withLeftTrim = false, hasClipboardButton, clipboardButtonAlwaysVisible = false, className, }) {
|
10
10
|
const renderIcon = () => {
|
11
11
|
if (!showStatus) {
|
12
12
|
return null;
|
@@ -25,8 +25,10 @@ export function EntityStatus({ status = EFlag.Grey, name = '', label, path, icon
|
|
25
25
|
}
|
26
26
|
return name && _jsx("span", { className: b('name'), children: name });
|
27
27
|
};
|
28
|
-
return (_jsxs("div", { className: b(null, className), title: name, children: [iconPath ? renderStatusLink(iconPath) : renderIcon(), label && (_jsx("span", { title: label, className: b('label', { size, state: status.toLowerCase() }), children: label })), _jsx("span", { className: b('link', { 'with-left-trim': withLeftTrim }), children: renderLink() }),
|
28
|
+
return (_jsxs("div", { className: b(null, className), title: name, children: [iconPath ? renderStatusLink(iconPath) : renderIcon(), label && (_jsx("span", { title: label, className: b('label', { size, state: status.toLowerCase() }), children: label })), (path || name) && (_jsxs("div", { className: b('wrapper'), children: [_jsx("span", { className: b('link', { 'with-left-trim': withLeftTrim }), children: renderLink() }), hasClipboardButton && (_jsx("div", { className: b('controls-wrapper', {
|
29
29
|
visible: clipboardButtonAlwaysVisible,
|
30
|
-
})
|
30
|
+
}), children: _jsx(ClipboardButton, { text: name, size: "xs", view: "normal", className: b('clipboard-button', {
|
31
|
+
visible: clipboardButtonAlwaysVisible,
|
32
|
+
}) }) }))] }))] }));
|
31
33
|
}
|
32
34
|
//# sourceMappingURL=EntityStatus.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EntityStatus.js","sourceRoot":"","sources":["../../../src/components/EntityStatus/EntityStatus.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAE,IAAI,IAAI,SAAS,EAAC,MAAM,mBAA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C,MAAM,EAAE,EAAC,gBAAgB,EAAE,YAAY,EAAC,CAAC,YACvD,UAAU,EAAE,GACV,EACN,kBAAkB,IAAI,CACnB,cACI,SAAS,EAAE,CAAC,CAAC,kBAAkB,EAAE;4BAC7B,OAAO,EAAE,4BAA4B;yBACxC,CAAC,YAEF,KAAC,eAAe,IACZ,IAAI,EAAE,IAAI,EACV,IAAI,EAAC,IAAI,EACT,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,CAAC,CAAC,kBAAkB,EAAE;gCAC7B,OAAO,EAAE,4BAA4B;6BACxC,CAAC,GACJ,GACA,CACT,IACC,CACT,IACC,CACT,CAAC;AACN,CAAC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
@import '../../styles/mixins.scss';
|
2
2
|
|
3
3
|
.entity-status {
|
4
|
+
--button-width: 28px;
|
4
5
|
position: relative;
|
5
6
|
|
6
7
|
display: inline-flex;
|
7
8
|
align-items: center;
|
8
9
|
|
9
|
-
min-width: 90px;
|
10
10
|
max-width: 100%;
|
11
11
|
height: 100%;
|
12
12
|
|
@@ -20,6 +20,18 @@
|
|
20
20
|
color: var(--g-color-text-secondary);
|
21
21
|
|
22
22
|
@include table-hover-appearing-button();
|
23
|
+
|
24
|
+
&_visible {
|
25
|
+
opacity: 1;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
&__wrapper {
|
30
|
+
position: relative;
|
31
|
+
|
32
|
+
overflow: hidden;
|
33
|
+
|
34
|
+
padding-right: var(--button-width);
|
23
35
|
}
|
24
36
|
|
25
37
|
&__controls-wrapper {
|
@@ -34,13 +46,18 @@
|
|
34
46
|
width: 0;
|
35
47
|
height: 100%;
|
36
48
|
|
37
|
-
|
49
|
+
&_visible {
|
50
|
+
width: min-content;
|
51
|
+
padding: var(--g-spacing-1);
|
52
|
+
}
|
38
53
|
|
39
54
|
.data-table__row:hover &,
|
40
55
|
.ydb-paginated-table__row:hover &,
|
41
56
|
.ydb-tree-view__item & {
|
42
57
|
width: min-content;
|
43
58
|
padding: var(--g-spacing-1);
|
59
|
+
|
60
|
+
background-color: var(--g-color-base-float);
|
44
61
|
}
|
45
62
|
}
|
46
63
|
|
@@ -57,13 +74,18 @@
|
|
57
74
|
}
|
58
75
|
|
59
76
|
&__link {
|
77
|
+
display: inline-block;
|
60
78
|
overflow: hidden;
|
61
79
|
|
80
|
+
width: calc(100% + var(--button-width));
|
81
|
+
margin-top: 5px;
|
82
|
+
|
62
83
|
white-space: nowrap;
|
63
84
|
text-overflow: ellipsis;
|
64
85
|
}
|
65
86
|
|
66
87
|
&__link_with-left-trim {
|
88
|
+
text-align: end;
|
67
89
|
direction: rtl;
|
68
90
|
|
69
91
|
.entity-status__name {
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import type { PopupProps } from '@gravity-ui/uikit';
|
2
3
|
import './HoverPopup.scss';
|
3
|
-
|
4
|
+
type HoverPopupProps = {
|
4
5
|
children: React.ReactNode;
|
5
6
|
popupContent: React.ReactNode;
|
6
7
|
showPopup?: boolean;
|
@@ -8,6 +9,6 @@ interface HoverPopupProps {
|
|
8
9
|
anchorRef?: React.RefObject<HTMLElement>;
|
9
10
|
onShowPopup?: VoidFunction;
|
10
11
|
onHidePopup?: VoidFunction;
|
11
|
-
}
|
12
|
-
export declare const HoverPopup: ({ children, popupContent, showPopup, offset, anchorRef, onShowPopup, onHidePopup, }: HoverPopupProps) => import("react/jsx-runtime").JSX.Element;
|
12
|
+
} & Pick<PopupProps, 'placement' | 'contentClassName'>;
|
13
|
+
export declare const HoverPopup: ({ children, popupContent, showPopup, offset, anchorRef, onShowPopup, onHidePopup, placement, contentClassName, }: HoverPopupProps) => import("react/jsx-runtime").JSX.Element;
|
13
14
|
export {};
|
@@ -6,7 +6,7 @@ import { cn } from '../../utils/cn';
|
|
6
6
|
import './HoverPopup.scss';
|
7
7
|
const b = cn('hover-popup');
|
8
8
|
const DEBOUNCE_TIMEOUT = 100;
|
9
|
-
export const HoverPopup = ({ children, popupContent, showPopup, offset, anchorRef, onShowPopup, onHidePopup, }) => {
|
9
|
+
export const HoverPopup = ({ children, popupContent, showPopup, offset, anchorRef, onShowPopup, onHidePopup, placement = ['top', 'bottom'], contentClassName, }) => {
|
10
10
|
const [isPopupVisible, setIsPopupVisible] = React.useState(false);
|
11
11
|
const anchor = React.useRef(null);
|
12
12
|
const debouncedHandleShowPopup = React.useMemo(() => debounce(() => {
|
@@ -43,7 +43,7 @@ export const HoverPopup = ({ children, popupContent, showPopup, offset, anchorRe
|
|
43
43
|
hidePopup();
|
44
44
|
}, [hidePopup]);
|
45
45
|
const open = isPopupVisible || showPopup || isPopupContentHovered || isFocused;
|
46
|
-
return (_jsxs(React.Fragment, { children: [_jsx("
|
46
|
+
return (_jsxs(React.Fragment, { children: [_jsx("span", { ref: anchor, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: children }), _jsx(Popup, { contentClassName: b(null, contentClassName), anchorRef: anchorRef || anchor, open: open, onMouseEnter: onPopupMouseEnter, onMouseLeave: onPopupMouseLeave, onEscapeKeyDown: onPopupEscapeKeyDown, onBlur: onPopupBlur, placement: placement, hasArrow: true,
|
47
47
|
// bigger offset for easier switching to neighbour nodes
|
48
48
|
// matches the default offset for popup with arrow out of a sense of beauty
|
49
49
|
offset: offset || [0, 12], children: _jsx("div", { onContextMenu: onPopupContextMenu, children: popupContent }) })] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HoverPopup.js","sourceRoot":"","sources":["../../../src/components/HoverPopup/HoverPopup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"HoverPopup.js","sourceRoot":"","sources":["../../../src/components/HoverPopup/HoverPopup.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACxC,OAAO,QAAQ,MAAM,iBAAiB,CAAC;AAE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BAAgB,EAAE,CAAC,CAAC,IAAI,EAAE,gBAAgB,CAAC,EAC3C,SAAS,EAAE,SAAS,IAAI,MAAM,EAC9B,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,iBAAiB,EAC/B,YAAY,EAAE,iBAAiB,EAC/B,eAAe,EAAE,oBAAoB,EACrC,MAAM,EAAE,WAAW,EACnB,SAAS,EAAE,SAAS,EACpB,QAAQ;gBACR,wDAAwD;gBACxD,2EAA2E;gBAC3E,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC,EAAE,EAAE,CAAC,YAEzB,cAAK,aAAa,EAAE,kBAAkB,YAAG,YAAY,GAAO,GACxD,IACK,CACpB,CAAC;AACN,CAAC,CAAC"}
|
@@ -6,5 +6,5 @@ interface LoaderWrapperProps {
|
|
6
6
|
className?: string;
|
7
7
|
children: React.ReactNode;
|
8
8
|
}
|
9
|
-
export declare function LoaderWrapper({ loading, size, className, children }: LoaderWrapperProps): string | number | boolean |
|
9
|
+
export declare function LoaderWrapper({ loading, size, className, children }: LoaderWrapperProps): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<React.ReactNode> | null | undefined;
|
10
10
|
export {};
|
@@ -1,10 +1,8 @@
|
|
1
1
|
import type { ButtonSize } from '@gravity-ui/uikit';
|
2
|
-
import './MonitoringButton.scss';
|
3
2
|
interface MonitoringButtonProps {
|
4
3
|
className?: string;
|
5
|
-
visible?: boolean;
|
6
4
|
href: string;
|
7
5
|
size?: ButtonSize;
|
8
6
|
}
|
9
|
-
export declare function MonitoringButton({ href,
|
7
|
+
export declare function MonitoringButton({ href, className, size }: MonitoringButtonProps): import("react/jsx-runtime").JSX.Element;
|
10
8
|
export {};
|
@@ -1,10 +1,7 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import { Button, Icon } from '@gravity-ui/uikit';
|
3
|
-
import { cn } from '../../utils/cn';
|
4
3
|
import monitoringIcon from '../../assets/icons/monitoring.svg';
|
5
|
-
|
6
|
-
|
7
|
-
export function MonitoringButton({ href, visible = false, className, size = 's', }) {
|
8
|
-
return (_jsx(Button, { href: href, target: "_blank", className: b({ visible }, className), size: size, title: "Monitoring dashboard", children: _jsx(Icon, { data: monitoringIcon }) }));
|
4
|
+
export function MonitoringButton({ href, className, size = 'xs' }) {
|
5
|
+
return (_jsx(Button, { href: href, target: "_blank", className: className, size: size, title: "Monitoring dashboard", children: _jsx(Icon, { data: monitoringIcon }) }));
|
9
6
|
}
|
10
7
|
//# sourceMappingURL=MonitoringButton.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MonitoringButton.js","sourceRoot":"","sources":["../../../src/components/MonitoringButton/MonitoringButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,
|
1
|
+
{"version":3,"file":"MonitoringButton.js","sourceRoot":"","sources":["../../../src/components/MonitoringButton/MonitoringButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,MAAM,EAAE,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAE/C,OAAO,cAAc,MAAM,mCAAmC,CAAC;AAQ/D,MAAM,UAAU,gBAAgB,CAAC,EAAC,IAAI,EAAE,SAAS,EAAE,IAAI,GAAG,IAAI,EAAwB;IAClF,OAAO,CACH,KAAC,MAAM,IACH,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,KAAK,EAAC,sBAAsB,YAE5B,KAAC,IAAI,IAAC,IAAI,EAAE,cAAc,GAAI,GACzB,CACZ,CAAC;AACN,CAAC"}
|
@@ -4,7 +4,6 @@ import { getDefaultNodePath } from '../../containers/Node/NodePages';
|
|
4
4
|
import { createDeveloperUILinkWithNodeId } from '../../utils/developerUI/developerUI';
|
5
5
|
import { isUnavailableNode } from '../../utils/nodes';
|
6
6
|
import { CellWithPopover } from '../CellWithPopover/CellWithPopover';
|
7
|
-
import { DeveloperUILinkButton } from '../DeveloperUILinkButton/DeveloperUILinkButton';
|
8
7
|
import { EntityStatus } from '../EntityStatus/EntityStatus';
|
9
8
|
import { NodeEndpointsTooltipContent } from '../TooltipsContent';
|
10
9
|
export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
|
@@ -14,17 +13,16 @@ export const NodeHostWrapper = ({ node, getNodeRef, database }) => {
|
|
14
13
|
const isNodeAvailable = !isUnavailableNode(node);
|
15
14
|
let nodeHref;
|
16
15
|
if (getNodeRef) {
|
17
|
-
nodeHref = getNodeRef(node) + 'internal';
|
16
|
+
nodeHref = getNodeRef(node) + '/internal';
|
18
17
|
}
|
19
18
|
else if (node.NodeId) {
|
20
|
-
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + 'internal';
|
19
|
+
nodeHref = createDeveloperUILinkWithNodeId(node.NodeId) + '/internal';
|
21
20
|
}
|
22
21
|
const nodePath = isNodeAvailable
|
23
22
|
? getDefaultNodePath(node.NodeId, {
|
24
23
|
tenantName: database !== null && database !== void 0 ? database : node.TenantName,
|
25
24
|
})
|
26
25
|
: undefined;
|
27
|
-
|
28
|
-
return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { name: node.Host, status: node.SystemState, path: nodePath, hasClipboardButton: true, additionalControls: additionalControls }) }));
|
26
|
+
return (_jsx(CellWithPopover, { disabled: !isNodeAvailable, content: _jsx(NodeEndpointsTooltipContent, { data: node, nodeHref: nodeHref }), placement: ['top', 'bottom'], behavior: PopoverBehavior.Immediate, children: _jsx(EntityStatus, { name: node.Host, status: node.SystemState, path: nodePath, hasClipboardButton: true }) }));
|
29
27
|
};
|
30
28
|
//# sourceMappingURL=NodeHostWrapper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NodeHostWrapper.js","sourceRoot":"","sources":["../../../src/components/NodeHostWrapper/NodeHostWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"NodeHostWrapper.js","sourceRoot":"","sources":["../../../src/components/NodeHostWrapper/NodeHostWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAElD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAC;AAGnE,OAAO,EAAC,+BAA+B,EAAC,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAC,2BAA2B,EAAC,MAAM,oBAAoB,CAAC;AAc/D,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAC,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAuB,EAAE,EAAE;IAClF,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QACb,OAAO,oCAAc,CAAC;IAC1B,CAAC;IAED,MAAM,eAAe,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAEjD,IAAI,QAA4B,CAAC;IACjC,IAAI,UAAU,EAAE,CAAC;QACb,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC;IAC9C,CAAC;SAAM,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QACrB,QAAQ,GAAG,+BAA+B,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC;IAC1E,CAAC;IAED,MAAM,QAAQ,GAAG,eAAe;QAC5B,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE;YAC5B,UAAU,EAAE,QAAQ,aAAR,QAAQ,cAAR,QAAQ,GAAI,IAAI,CAAC,UAAU;SAC1C,CAAC;QACJ,CAAC,CAAC,SAAS,CAAC;IAEhB,OAAO,CACH,KAAC,eAAe,IACZ,QAAQ,EAAE,CAAC,eAAe,EAC1B,OAAO,EAAE,KAAC,2BAA2B,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAI,EACxE,SAAS,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,eAAe,CAAC,SAAS,YAEnC,KAAC,YAAY,IACT,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,WAAW,EACxB,IAAI,EAAE,QAAQ,EACd,kBAAkB,SACpB,GACY,CACrB,CAAC;AACN,CAAC,CAAC"}
|
@@ -8,10 +8,10 @@ import { cn } from '../../utils/cn';
|
|
8
8
|
import { formatStorageValuesToGb } from '../../utils/dataFormatters/dataFormatters';
|
9
9
|
import { createPDiskDeveloperUILink } from '../../utils/developerUI/developerUI';
|
10
10
|
import { useTypedSelector } from '../../utils/hooks';
|
11
|
-
import { EntityStatus } from '../EntityStatus/EntityStatus';
|
12
11
|
import { InfoViewer } from '../InfoViewer/InfoViewer';
|
13
12
|
import { LinkWithIcon } from '../LinkWithIcon/LinkWithIcon';
|
14
13
|
import { ProgressViewer } from '../ProgressViewer/ProgressViewer';
|
14
|
+
import { StatusIcon } from '../StatusIcon/StatusIcon';
|
15
15
|
import { pDiskInfoKeyset } from './i18n';
|
16
16
|
import './PDiskInfo.scss';
|
17
17
|
const b = cn('ydb-pdisk-info');
|
@@ -51,13 +51,13 @@ function getPDiskInfo({ pDisk, nodeId, withPDiskPageLink, isUserAllowedToMakeCha
|
|
51
51
|
if (valueIsDefined(Device)) {
|
52
52
|
statusInfo.push({
|
53
53
|
label: pDiskInfoKeyset('device'),
|
54
|
-
value: _jsx(
|
54
|
+
value: _jsx(StatusIcon, { status: Device }),
|
55
55
|
});
|
56
56
|
}
|
57
57
|
if (valueIsDefined(Realtime)) {
|
58
58
|
statusInfo.push({
|
59
59
|
label: pDiskInfoKeyset('realtime'),
|
60
|
-
value: _jsx(
|
60
|
+
value: _jsx(StatusIcon, { status: Realtime }),
|
61
61
|
});
|
62
62
|
}
|
63
63
|
const spaceInfo = [];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PDiskInfo.js","sourceRoot":"","sources":["../../../src/components/PDiskInfo/PDiskInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAC,EAAE,EAAC,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAC,uBAAuB,EAAC,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAC,0BAA0B,EAAC,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;
|
1
|
+
{"version":3,"file":"PDiskInfo.js","sourceRoot":"","sources":["../../../src/components/PDiskInfo/PDiskInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAC,gCAAgC,EAAC,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAC,cAA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AA0B;KAC7B,CAAC,CAAC;IAEH,OAAO,CACH,MAAC,IAAI,IAAC,SAAS,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,EAAE,SAAS,EAAC,KAAK,EAAC,IAAI,mBACpD,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,aACvC,KAAC,UAAU,IAAC,IAAI,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,EAC/D,KAAC,UAAU,IAAC,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,IAC1D,EACP,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,aACvC,KAAC,UAAU,IAAC,IAAI,EAAE,UAAU,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,EAC9D,KAAC,UAAU,IAAC,IAAI,EAAE,cAAc,EAAE,gBAAgB,EAAE,GAAG,EAAE,CAAC,IAAI,GAAI,IAC/D,IACJ,CACV,CAAC;AACN,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const pDiskInfoKeyset: (key: "path" | "type" | "space" | "
|
1
|
+
export declare const pDiskInfoKeyset: (key: "path" | "type" | "space" | "yes" | "state" | "links" | "guid" | "serial-number" | "shared-with-os" | "drive-status" | "device" | "realtime" | "slots" | "log-size" | "system-size" | "developer-ui" | "pdisk-page", params?: import("@gravity-ui/i18n").Params) => string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { PreparedPDisk } from '../../utils/disks/types';
|
2
2
|
import type { InfoViewerItem } from '../InfoViewer';
|
3
|
-
export declare const preparePDiskData: (data: PreparedPDisk, nodeHost?: string) => InfoViewerItem[];
|
3
|
+
export declare const preparePDiskData: (data: PreparedPDisk, nodeHost?: string, withDeveloperUILink?: boolean) => InfoViewerItem[];
|
4
4
|
interface PDiskPopupProps {
|
5
5
|
data: PreparedPDisk;
|
6
6
|
}
|