@prorobotech/openapi-k8s-toolkit 1.5.0-alpha.3 → 1.5.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-BsjtTIr1.mjs → index-D8riHM_k.mjs} +149 -123
- package/dist/index-D8riHM_k.mjs.map +1 -0
- package/dist/{index-D0cUc0Rp.mjs → index-DHTFNSby.mjs} +2 -2
- package/dist/{index-D0cUc0Rp.mjs.map → index-DHTFNSby.mjs.map} +1 -1
- package/dist/openapi-k8s-toolkit.es.js +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +147 -121
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/styled.d.ts +8 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/styled.d.ts +8 -0
- package/package.json +1 -1
- package/dist/index-BsjtTIr1.mjs.map +0 -1
|
@@ -1578,7 +1578,7 @@ const CustomTreeProvider = styled.div`
|
|
|
1578
1578
|
justify-content: center;
|
|
1579
1579
|
}
|
|
1580
1580
|
`;
|
|
1581
|
-
const Styled$
|
|
1581
|
+
const Styled$N = {
|
|
1582
1582
|
CustomTreeProvider
|
|
1583
1583
|
};
|
|
1584
1584
|
|
|
@@ -1643,7 +1643,7 @@ const TreeWithSearch = ({ treeData, onSelect }) => {
|
|
|
1643
1643
|
});
|
|
1644
1644
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
1645
1645
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Search$1, { style: { marginBottom: 8 }, placeholder: "Search", onChange }),
|
|
1646
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
1646
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$N.CustomTreeProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1647
1647
|
Tree,
|
|
1648
1648
|
{
|
|
1649
1649
|
treeData: loop(treeData),
|
|
@@ -8258,14 +8258,14 @@ const ContentContainer = styled.div`
|
|
|
8258
8258
|
display: ${({ $displayFlex }) => $displayFlex ? "flex" : "block"};
|
|
8259
8259
|
flex-flow: ${({ $flexFlow }) => $flexFlow};
|
|
8260
8260
|
`;
|
|
8261
|
-
const Styled$
|
|
8261
|
+
const Styled$M = {
|
|
8262
8262
|
ContentContainer
|
|
8263
8263
|
};
|
|
8264
8264
|
|
|
8265
8265
|
const ContentCard$1 = ({ children, flexGrow, displayFlex, flexFlow, maxHeight }) => {
|
|
8266
8266
|
const { token } = theme.useToken();
|
|
8267
8267
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8268
|
-
Styled$
|
|
8268
|
+
Styled$M.ContentContainer,
|
|
8269
8269
|
{
|
|
8270
8270
|
$flexGrow: flexGrow,
|
|
8271
8271
|
$bgColor: token.colorBgContainer,
|
|
@@ -8326,13 +8326,13 @@ const UncontrolledSelect$1 = styled(Select)`
|
|
|
8326
8326
|
padding-inline: 8px;
|
|
8327
8327
|
}
|
|
8328
8328
|
`;
|
|
8329
|
-
const Styled$
|
|
8329
|
+
const Styled$L = {
|
|
8330
8330
|
UncontrolledSelect: UncontrolledSelect$1
|
|
8331
8331
|
};
|
|
8332
8332
|
|
|
8333
8333
|
const UncontrolledSelect = (props) => {
|
|
8334
8334
|
const { isCursorPointer } = props;
|
|
8335
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8335
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$L.UncontrolledSelect, { ...props, $isCursorPointer: isCursorPointer });
|
|
8336
8336
|
};
|
|
8337
8337
|
|
|
8338
8338
|
const CustomSelect$5 = styled(Select)`
|
|
@@ -8380,13 +8380,13 @@ const CustomSelect$5 = styled(Select)`
|
|
|
8380
8380
|
margin-block: 0 !important;
|
|
8381
8381
|
}
|
|
8382
8382
|
`;
|
|
8383
|
-
const Styled$
|
|
8383
|
+
const Styled$K = {
|
|
8384
8384
|
CustomSelect: CustomSelect$5
|
|
8385
8385
|
};
|
|
8386
8386
|
|
|
8387
8387
|
const CustomSelect$4 = (props) => {
|
|
8388
8388
|
const { paddingContainerEnd, ...rest } = props;
|
|
8389
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8389
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$K.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
|
|
8390
8390
|
};
|
|
8391
8391
|
|
|
8392
8392
|
const CursorPointerTag = styled(Tag)`
|
|
@@ -8536,7 +8536,7 @@ const Abbr$2 = styled.span`
|
|
|
8536
8536
|
height: min-content;
|
|
8537
8537
|
margin-right: 4px;
|
|
8538
8538
|
`;
|
|
8539
|
-
const Styled$
|
|
8539
|
+
const Styled$J = {
|
|
8540
8540
|
Abbr: Abbr$2
|
|
8541
8541
|
};
|
|
8542
8542
|
|
|
@@ -8576,7 +8576,7 @@ const ResourceLink = ({
|
|
|
8576
8576
|
baseFactoriesMapping
|
|
8577
8577
|
});
|
|
8578
8578
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { align: "center", gap: 8, children: [
|
|
8579
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8579
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$J.Abbr, { $bgColor: bgColor, children: abbr }),
|
|
8580
8580
|
resourceLink ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8581
8581
|
Typography.Link,
|
|
8582
8582
|
{
|
|
@@ -9660,7 +9660,7 @@ const NoWrapContainer = styled.div`
|
|
|
9660
9660
|
flex-wrap: nowrap !important;
|
|
9661
9661
|
}
|
|
9662
9662
|
`;
|
|
9663
|
-
const Styled$
|
|
9663
|
+
const Styled$I = {
|
|
9664
9664
|
PositionRelativeContainer,
|
|
9665
9665
|
FullWidthContainer,
|
|
9666
9666
|
NoWrapContainer
|
|
@@ -9703,9 +9703,9 @@ const CollapsibleBreadcrumb = ({ items }) => {
|
|
|
9703
9703
|
};
|
|
9704
9704
|
return [firstItem, ellipsisItem, lastItem];
|
|
9705
9705
|
};
|
|
9706
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
9707
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9708
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9706
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$I.PositionRelativeContainer, { children: [
|
|
9707
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$I.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items: renderItems() }) }),
|
|
9708
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$I.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
|
|
9709
9709
|
] });
|
|
9710
9710
|
};
|
|
9711
9711
|
|
|
@@ -9713,12 +9713,12 @@ const HeightDiv$1 = styled.div`
|
|
|
9713
9713
|
min-height: 22px;
|
|
9714
9714
|
width: 100%;
|
|
9715
9715
|
`;
|
|
9716
|
-
const Styled$
|
|
9716
|
+
const Styled$H = {
|
|
9717
9717
|
HeightDiv: HeightDiv$1
|
|
9718
9718
|
};
|
|
9719
9719
|
|
|
9720
9720
|
const ManageableBreadcrumbs = ({ data }) => {
|
|
9721
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9721
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$H.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
|
|
9722
9722
|
};
|
|
9723
9723
|
|
|
9724
9724
|
const prepareTemplate = ({
|
|
@@ -9777,7 +9777,7 @@ const HeightDiv = styled.div`
|
|
|
9777
9777
|
min-height: 22px;
|
|
9778
9778
|
width: 100%;
|
|
9779
9779
|
`;
|
|
9780
|
-
const Styled$
|
|
9780
|
+
const Styled$G = {
|
|
9781
9781
|
HeightDiv
|
|
9782
9782
|
};
|
|
9783
9783
|
|
|
@@ -9807,7 +9807,7 @@ const ManageableBreadcrumbsProvider = ({
|
|
|
9807
9807
|
return null;
|
|
9808
9808
|
}
|
|
9809
9809
|
if (rawDataLoading) {
|
|
9810
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9810
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$G.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
|
|
9811
9811
|
}
|
|
9812
9812
|
if (!rawData) {
|
|
9813
9813
|
return null;
|
|
@@ -9823,7 +9823,7 @@ const ManageableBreadcrumbsProvider = ({
|
|
|
9823
9823
|
fallbackIdToCompare
|
|
9824
9824
|
});
|
|
9825
9825
|
if (!result) {
|
|
9826
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9826
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$G.HeightDiv, {});
|
|
9827
9827
|
}
|
|
9828
9828
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ManageableBreadcrumbs, { data: result }, JSON.stringify(idToCompare));
|
|
9829
9829
|
};
|
|
@@ -9851,7 +9851,7 @@ const CustomMenu = styled(Menu)`
|
|
|
9851
9851
|
margin: 0 !important;
|
|
9852
9852
|
}
|
|
9853
9853
|
`;
|
|
9854
|
-
const Styled$
|
|
9854
|
+
const Styled$F = {
|
|
9855
9855
|
CustomMenu
|
|
9856
9856
|
};
|
|
9857
9857
|
|
|
@@ -9878,7 +9878,7 @@ const ManageableSidebar = ({ data, noMarginTop }) => {
|
|
|
9878
9878
|
setSelectedKeys(data.selectedKeys);
|
|
9879
9879
|
}, [data.selectedKeys]);
|
|
9880
9880
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9881
|
-
Styled$
|
|
9881
|
+
Styled$F.CustomMenu,
|
|
9882
9882
|
{
|
|
9883
9883
|
selectedKeys,
|
|
9884
9884
|
onSelect: () => {
|
|
@@ -34452,7 +34452,7 @@ const ShortenedText = styled.div`
|
|
|
34452
34452
|
white-space: nowrap;
|
|
34453
34453
|
text-overflow: ellipsis;
|
|
34454
34454
|
`;
|
|
34455
|
-
const Styled$
|
|
34455
|
+
const Styled$E = {
|
|
34456
34456
|
ShortenedText
|
|
34457
34457
|
};
|
|
34458
34458
|
|
|
@@ -34461,7 +34461,7 @@ const ShortenedTextWithTooltip = ({ text, trimLength, maxWidth = 200 }) => {
|
|
|
34461
34461
|
const trimmedText = text.substring(0, trimLength);
|
|
34462
34462
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: text, placement: "top", children: trimmedText });
|
|
34463
34463
|
}
|
|
34464
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34464
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.ShortenedText, { $maxWidth: maxWidth, children: text }) });
|
|
34465
34465
|
};
|
|
34466
34466
|
|
|
34467
34467
|
const FilterDropdown = ({
|
|
@@ -34612,16 +34612,16 @@ const TooltipTag = styled(Tag)`
|
|
|
34612
34612
|
overflow: hidden;
|
|
34613
34613
|
text-overflow: ellipsis;
|
|
34614
34614
|
`;
|
|
34615
|
-
const Styled$
|
|
34615
|
+
const Styled$D = {
|
|
34616
34616
|
TableTag,
|
|
34617
34617
|
TooltipTagsContainer,
|
|
34618
34618
|
TooltipTag
|
|
34619
34619
|
};
|
|
34620
34620
|
|
|
34621
34621
|
const TrimmedTags = ({ tags, trimLength }) => {
|
|
34622
|
-
const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34622
|
+
const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.TableTag, { children: tag }, tag));
|
|
34623
34623
|
const popoverTheme = { components: { Popover: { zIndexPopup: 2100 } } };
|
|
34624
|
-
const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34624
|
+
const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.TooltipTagsContainer, { vertical: true, gap: 4, children: tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.TooltipTag, { children: tag }, tag)) });
|
|
34625
34625
|
if (trimLength && trimLength < tags.length) {
|
|
34626
34626
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { wrap: "nowrap", gap: "4px", children: [
|
|
34627
34627
|
renderTableTags(tags.slice(0, trimLength)),
|
|
@@ -34630,7 +34630,7 @@ const TrimmedTags = ({ tags, trimLength }) => {
|
|
|
34630
34630
|
{
|
|
34631
34631
|
content: renderTooltipTags(tags.slice(trimLength)),
|
|
34632
34632
|
styles: { root: { maxWidth: "min(95vw, 900px)" } },
|
|
34633
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
34633
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$D.TableTag, { children: [
|
|
34634
34634
|
"+",
|
|
34635
34635
|
tags.length - trimLength
|
|
34636
34636
|
] }, "more")
|
|
@@ -43766,7 +43766,7 @@ const BigText$1 = styled.div`
|
|
|
43766
43766
|
font-size: 16px;
|
|
43767
43767
|
line-height: 24px;
|
|
43768
43768
|
`;
|
|
43769
|
-
const Styled$
|
|
43769
|
+
const Styled$C = {
|
|
43770
43770
|
BorderRadiusContainer: BorderRadiusContainer$1,
|
|
43771
43771
|
ControlsRowContainer: ControlsRowContainer$1,
|
|
43772
43772
|
BigText: BigText$1
|
|
@@ -43996,7 +43996,7 @@ const YamlEditorSingleton$1 = ({
|
|
|
43996
43996
|
};
|
|
43997
43997
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
43998
43998
|
contextHolder,
|
|
43999
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
43999
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.BorderRadiusContainer, { $designNewLayoutHeight: designNewLayoutHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
44000
44000
|
Ft$1,
|
|
44001
44001
|
{
|
|
44002
44002
|
defaultLanguage: "yaml",
|
|
@@ -44021,7 +44021,7 @@ const YamlEditorSingleton$1 = ({
|
|
|
44021
44021
|
}
|
|
44022
44022
|
}
|
|
44023
44023
|
) }),
|
|
44024
|
-
!readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44024
|
+
!readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
|
|
44025
44025
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { type: "primary", onClick: onSubmit, loading: isLoading, disabled: canEdit === false, children: "Submit" }),
|
|
44026
44026
|
backlink && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: () => navigate(backlink), children: "Cancel" }),
|
|
44027
44027
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleReload, children: "Reload" })
|
|
@@ -44032,7 +44032,7 @@ const YamlEditorSingleton$1 = ({
|
|
|
44032
44032
|
open: !!error,
|
|
44033
44033
|
onOk: () => setError(void 0),
|
|
44034
44034
|
onCancel: () => setError(void 0),
|
|
44035
|
-
title: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44035
|
+
title: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.BigText, { children: "Error!" }) }),
|
|
44036
44036
|
cancelButtonProps: { style: { display: "none" } },
|
|
44037
44037
|
centered: true,
|
|
44038
44038
|
styles: {
|
|
@@ -44193,7 +44193,7 @@ const YamlEditorSingleton = ({
|
|
|
44193
44193
|
const VisibilityContainer$1 = styled.div`
|
|
44194
44194
|
display: ${({ $hidden }) => $hidden ? "none" : "block"};
|
|
44195
44195
|
`;
|
|
44196
|
-
const Styled$
|
|
44196
|
+
const Styled$B = {
|
|
44197
44197
|
VisibilityContainer: VisibilityContainer$1
|
|
44198
44198
|
};
|
|
44199
44199
|
|
|
@@ -44243,7 +44243,7 @@ const VisibilityContainer = ({
|
|
|
44243
44243
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
|
|
44244
44244
|
}
|
|
44245
44245
|
const shouldAutoHide = !criteria && (!valuePrepared || valuePrepared === "~undefined-value~");
|
|
44246
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44246
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.VisibilityContainer, { $hidden: shouldAutoHide || shouldHideByCriteria, children });
|
|
44247
44247
|
};
|
|
44248
44248
|
|
|
44249
44249
|
const unknownToString = (value) => {
|
|
@@ -44496,7 +44496,7 @@ const Content$1 = styled.div`
|
|
|
44496
44496
|
display: ${({ $isOpen }) => $isOpen ? "block" : "none"};
|
|
44497
44497
|
padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
|
|
44498
44498
|
`;
|
|
44499
|
-
const Styled$
|
|
44499
|
+
const Styled$A = {
|
|
44500
44500
|
Container: Container$3,
|
|
44501
44501
|
TitleBar,
|
|
44502
44502
|
Content: Content$1
|
|
@@ -44523,14 +44523,14 @@ const CustomCollapse = ({
|
|
|
44523
44523
|
}
|
|
44524
44524
|
};
|
|
44525
44525
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
44526
|
-
Styled$
|
|
44526
|
+
Styled$A.Container,
|
|
44527
44527
|
{
|
|
44528
44528
|
$designNewLayout: designNewLayout,
|
|
44529
44529
|
$borderColor: token.colorBorder,
|
|
44530
44530
|
$bgColor: token.colorBgContainer,
|
|
44531
44531
|
children: [
|
|
44532
44532
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { justify: "space-between", children: [
|
|
44533
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
44533
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$A.TitleBar, { onClick: () => toggleCollapse(), children: [
|
|
44534
44534
|
!designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(CaretDownOutlined, { size: 14 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(CaretRightOutlined, { size: 14 }) }),
|
|
44535
44535
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: title }),
|
|
44536
44536
|
designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(DownIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(UpIcon, {}) })
|
|
@@ -44541,7 +44541,7 @@ const CustomCollapse = ({
|
|
|
44541
44541
|
persistedCheckbox
|
|
44542
44542
|
] })
|
|
44543
44543
|
] }),
|
|
44544
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44544
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
|
|
44545
44545
|
]
|
|
44546
44546
|
}
|
|
44547
44547
|
);
|
|
@@ -44621,13 +44621,13 @@ const CustomSizeTitle = styled.div`
|
|
|
44621
44621
|
const Content = styled.div`
|
|
44622
44622
|
padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
|
|
44623
44623
|
`;
|
|
44624
|
-
const Styled$
|
|
44624
|
+
const Styled$z = {
|
|
44625
44625
|
Content
|
|
44626
44626
|
};
|
|
44627
44627
|
|
|
44628
44628
|
const ArrayInsideContainer = ({ children }) => {
|
|
44629
44629
|
const designNewLayout = useDesignNewLayout();
|
|
44630
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44630
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$z.Content, { $designNewLayout: designNewLayout, children });
|
|
44631
44631
|
};
|
|
44632
44632
|
|
|
44633
44633
|
const includesPath = (haystack, needle) => haystack.some((h) => h.length === needle.length && h.every((seg, i) => seg === String(needle[i])));
|
|
@@ -44650,14 +44650,14 @@ const HeightContainer = styled.div`
|
|
|
44650
44650
|
height: ${({ $height }) => $height}px;
|
|
44651
44651
|
`;
|
|
44652
44652
|
|
|
44653
|
-
const Styled$
|
|
44653
|
+
const Styled$y = {
|
|
44654
44654
|
BulbIcon: styled(BulbOutlined)`
|
|
44655
44655
|
margin-left: 6px;
|
|
44656
44656
|
`
|
|
44657
44657
|
};
|
|
44658
44658
|
|
|
44659
44659
|
const ExampleTooltipIcon = ({ tooltip }) => {
|
|
44660
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: tooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44660
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: tooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$y.BulbIcon, {}) });
|
|
44661
44661
|
};
|
|
44662
44662
|
|
|
44663
44663
|
const NullToggleButton = ({ isNull, onSetNull, onClear, disabled }) => {
|
|
@@ -44814,7 +44814,7 @@ const LabelsEditModal = ({
|
|
|
44814
44814
|
const ResetedFormList$3 = styled(Form.List)`
|
|
44815
44815
|
margin-bottom: 8px;
|
|
44816
44816
|
`;
|
|
44817
|
-
const Styled$
|
|
44817
|
+
const Styled$x = {
|
|
44818
44818
|
ResetedFormList: ResetedFormList$3
|
|
44819
44819
|
};
|
|
44820
44820
|
|
|
@@ -44905,7 +44905,7 @@ const TaintsEditModal = ({
|
|
|
44905
44905
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[3], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
44906
44906
|
] }),
|
|
44907
44907
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
44908
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44908
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$x.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
44909
44909
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
|
|
44910
44910
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
44911
44911
|
ResetedFormItem$1,
|
|
@@ -44966,7 +44966,7 @@ const TaintsEditModal = ({
|
|
|
44966
44966
|
const ResetedFormList$2 = styled(Form.List)`
|
|
44967
44967
|
margin-bottom: 8px;
|
|
44968
44968
|
`;
|
|
44969
|
-
const Styled$
|
|
44969
|
+
const Styled$w = {
|
|
44970
44970
|
ResetedFormList: ResetedFormList$2
|
|
44971
44971
|
};
|
|
44972
44972
|
|
|
@@ -45067,7 +45067,7 @@ const TolerationsEditModal = ({
|
|
|
45067
45067
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[4], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
45068
45068
|
] }),
|
|
45069
45069
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
45070
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
45070
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$w.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45071
45071
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
|
|
45072
45072
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45073
45073
|
ResetedFormItem$1,
|
|
@@ -45159,7 +45159,7 @@ const TolerationsEditModal = ({
|
|
|
45159
45159
|
const ResetedFormList$1 = styled(Form.List)`
|
|
45160
45160
|
margin-bottom: 8px;
|
|
45161
45161
|
`;
|
|
45162
|
-
const Styled$
|
|
45162
|
+
const Styled$v = {
|
|
45163
45163
|
ResetedFormList: ResetedFormList$1
|
|
45164
45164
|
};
|
|
45165
45165
|
|
|
@@ -45255,7 +45255,7 @@ const AnnotationsEditModal = ({
|
|
|
45255
45255
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[2], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
45256
45256
|
] }),
|
|
45257
45257
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
45258
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
45258
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45259
45259
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
|
|
45260
45260
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45261
45261
|
ResetedFormItem$1,
|
|
@@ -47333,7 +47333,7 @@ const NotificationOverrides = createGlobalStyle`
|
|
|
47333
47333
|
margin-bottom: 0 !important;
|
|
47334
47334
|
}
|
|
47335
47335
|
`;
|
|
47336
|
-
const Styled$
|
|
47336
|
+
const Styled$u = {
|
|
47337
47337
|
NoSelect,
|
|
47338
47338
|
DisabledInput,
|
|
47339
47339
|
DisabledTextArea,
|
|
@@ -47451,8 +47451,8 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47451
47451
|
const shownValue = useNiceLooking ? value2 : effectiveHidden ? "" : value2;
|
|
47452
47452
|
const resolvedMultilineRows = resolveMultilineRows(value2, multilineRows);
|
|
47453
47453
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 8, ...flexProps, children: [
|
|
47454
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47455
|
-
Styled$
|
|
47454
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.NoSelect, { style: inputContainerStyle, children: useNiceLooking ? /* @__PURE__ */ jsxRuntimeExports.jsx(te, { theme, hidden: effectiveHidden, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47455
|
+
Styled$u.DisabledInput,
|
|
47456
47456
|
{
|
|
47457
47457
|
$hidden: effectiveHidden,
|
|
47458
47458
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47460,7 +47460,7 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47460
47460
|
readOnly: true
|
|
47461
47461
|
}
|
|
47462
47462
|
) }) : multiline ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47463
|
-
Styled$
|
|
47463
|
+
Styled$u.DisabledTextArea,
|
|
47464
47464
|
{
|
|
47465
47465
|
$hidden: effectiveHidden,
|
|
47466
47466
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47469,7 +47469,7 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47469
47469
|
readOnly: true
|
|
47470
47470
|
}
|
|
47471
47471
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47472
|
-
Styled$
|
|
47472
|
+
Styled$u.DisabledInput,
|
|
47473
47473
|
{
|
|
47474
47474
|
$hidden: effectiveHidden,
|
|
47475
47475
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47492,13 +47492,13 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47492
47492
|
const secretsEntries = objectToRender ? Object.entries(objectToRender) : [];
|
|
47493
47493
|
if (secretsEntries.length === 0) {
|
|
47494
47494
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47495
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47495
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.NotificationOverrides, {}),
|
|
47496
47496
|
emptyTextPrepared && /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { style: textStyle, children: emptyTextPrepared }),
|
|
47497
47497
|
contextHolder
|
|
47498
47498
|
] });
|
|
47499
47499
|
}
|
|
47500
47500
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47501
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47501
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.NotificationOverrides, {}),
|
|
47502
47502
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { vertical: true, gap: 8, children: secretsEntries.map(([key, rawValue]) => {
|
|
47503
47503
|
const parsedValue = parseAll({
|
|
47504
47504
|
text: typeof rawValue === "string" ? rawValue : String(rawValue),
|
|
@@ -47524,7 +47524,7 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47524
47524
|
] });
|
|
47525
47525
|
}
|
|
47526
47526
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47527
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47527
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.NotificationOverrides, {}),
|
|
47528
47528
|
renderSecretField({
|
|
47529
47529
|
value: decodedText,
|
|
47530
47530
|
isHidden: hidden,
|
|
@@ -47547,7 +47547,7 @@ const RoundSpan = styled.span`
|
|
|
47547
47547
|
letter-spacing: 0.02em;
|
|
47548
47548
|
box-sizing: content-box;
|
|
47549
47549
|
`;
|
|
47550
|
-
const Styled$
|
|
47550
|
+
const Styled$t = {
|
|
47551
47551
|
RoundSpan
|
|
47552
47552
|
};
|
|
47553
47553
|
|
|
@@ -47584,7 +47584,7 @@ const ResourceBadge = ({ data }) => {
|
|
|
47584
47584
|
multiQueryData
|
|
47585
47585
|
}) : getUppercase(parsedValue);
|
|
47586
47586
|
const bgColor = hslFromString(parsedValue, theme);
|
|
47587
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47587
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.RoundSpan, { $bgColor: bgColor, style, children: parsedAbbreviation });
|
|
47588
47588
|
};
|
|
47589
47589
|
|
|
47590
47590
|
const serializeLabelsWithNoEncoding = (input) => {
|
|
@@ -78291,7 +78291,7 @@ const TitleSelect = styled(Select)`
|
|
|
78291
78291
|
}
|
|
78292
78292
|
}
|
|
78293
78293
|
`;
|
|
78294
|
-
const Styled$
|
|
78294
|
+
const Styled$s = {
|
|
78295
78295
|
TitleSelect
|
|
78296
78296
|
};
|
|
78297
78297
|
|
|
@@ -78376,7 +78376,7 @@ const DropdownRedirect = ({
|
|
|
78376
78376
|
}
|
|
78377
78377
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
78378
78378
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
78379
|
-
Styled$
|
|
78379
|
+
Styled$s.TitleSelect,
|
|
78380
78380
|
{
|
|
78381
78381
|
value: currentValuePrepared,
|
|
78382
78382
|
onChange: handleChange,
|
|
@@ -78889,7 +78889,7 @@ const TolerationsModal = ({
|
|
|
78889
78889
|
};
|
|
78890
78890
|
|
|
78891
78891
|
const LazyEnrichedTableModal = lazy(
|
|
78892
|
-
() => import('./index-
|
|
78892
|
+
() => import('./index-DHTFNSby.mjs').then((mod) => ({ default: mod.EnrichedTableModal }))
|
|
78893
78893
|
);
|
|
78894
78894
|
const renderActiveType = (activeType, extraProps) => {
|
|
78895
78895
|
if (!activeType) return null;
|
|
@@ -78963,7 +78963,7 @@ const CardIcon = styled.div`
|
|
|
78963
78963
|
const HiddenContainer = styled.div`
|
|
78964
78964
|
display: ${({ $isHidden }) => $isHidden ? "none" : "auto"};
|
|
78965
78965
|
`;
|
|
78966
|
-
const Styled$
|
|
78966
|
+
const Styled$r = {
|
|
78967
78967
|
Card: Card$1,
|
|
78968
78968
|
CardTitle,
|
|
78969
78969
|
CardNumber,
|
|
@@ -79042,7 +79042,7 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79042
79042
|
const jsonRoot = multiQueryData[`req${counter.props.reqIndex}`];
|
|
79043
79043
|
if (jsonRoot === void 0) {
|
|
79044
79044
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79045
|
-
Styled$
|
|
79045
|
+
Styled$r.Card,
|
|
79046
79046
|
{
|
|
79047
79047
|
$colorBorder: token.colorBorder,
|
|
79048
79048
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79057,15 +79057,15 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79057
79057
|
children: [
|
|
79058
79058
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 4, vertical: true, children: [
|
|
79059
79059
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79060
|
-
Styled$
|
|
79060
|
+
Styled$r.CardTitle,
|
|
79061
79061
|
{
|
|
79062
79062
|
$colorTextDescription: token.colorTextDescription,
|
|
79063
79063
|
children: `Counter: ${id}: No root for json path`
|
|
79064
79064
|
}
|
|
79065
79065
|
),
|
|
79066
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79066
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardNumber, { $colorText: token.colorText, children: "-" })
|
|
79067
79067
|
] }),
|
|
79068
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79068
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79069
79069
|
]
|
|
79070
79070
|
}
|
|
79071
79071
|
);
|
|
@@ -79075,7 +79075,7 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79075
79075
|
const { counter: counterToDisplay, error: errorParsingCounter } = counter.type === "item" ? getItemCounterItemsInside(anythingForNow) : getKeyCounterItemsInside(anythingForNow);
|
|
79076
79076
|
if (errorParsingCounter) {
|
|
79077
79077
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79078
|
-
Styled$
|
|
79078
|
+
Styled$r.Card,
|
|
79079
79079
|
{
|
|
79080
79080
|
$colorBorder: token.colorBorder,
|
|
79081
79081
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79089,10 +79089,10 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79089
79089
|
},
|
|
79090
79090
|
children: [
|
|
79091
79091
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 4, vertical: true, children: [
|
|
79092
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79093
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79092
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardTitle, { $colorTextDescription: token.colorTextDescription, children: errorParsingCounter }),
|
|
79093
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardNumber, { $colorText: token.colorText, children: "-" })
|
|
79094
79094
|
] }),
|
|
79095
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79095
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79096
79096
|
]
|
|
79097
79097
|
}
|
|
79098
79098
|
);
|
|
@@ -79100,7 +79100,7 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79100
79100
|
const parsedText = parseAll({ text, replaceValues, multiQueryData });
|
|
79101
79101
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
79102
79102
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79103
|
-
Styled$
|
|
79103
|
+
Styled$r.Card,
|
|
79104
79104
|
{
|
|
79105
79105
|
$colorBorder: token.colorBorder,
|
|
79106
79106
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79114,14 +79114,14 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79114
79114
|
},
|
|
79115
79115
|
children: [
|
|
79116
79116
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 4, vertical: true, children: [
|
|
79117
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79118
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79117
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardTitle, { $colorTextDescription: token.colorTextDescription, children: parsedText }),
|
|
79118
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardNumber, { $colorText: token.colorText, children: counterToDisplay })
|
|
79119
79119
|
] }),
|
|
79120
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79120
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79121
79121
|
]
|
|
79122
79122
|
}
|
|
79123
79123
|
),
|
|
79124
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79124
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.HiddenContainer, { $isHidden: !open, children: canOpenActiveType && renderActiveType(activeType, {
|
|
79125
79125
|
open,
|
|
79126
79126
|
onClose: () => setOpen(false),
|
|
79127
79127
|
disableSubmit: !canSubmitActiveType
|
|
@@ -79550,7 +79550,7 @@ const UsedBadge = styled.div`
|
|
|
79550
79550
|
white-space: nowrap;
|
|
79551
79551
|
z-index: 3;
|
|
79552
79552
|
`;
|
|
79553
|
-
const Styled$
|
|
79553
|
+
const Styled$q = {
|
|
79554
79554
|
TooltipContent,
|
|
79555
79555
|
TooltipRow,
|
|
79556
79556
|
TooltipDot,
|
|
@@ -79700,17 +79700,17 @@ const UsageGraphCard = ({
|
|
|
79700
79700
|
const usedPercent = clampPercent(resolvedUsed ?? NaN, resolvedLimit ?? NaN);
|
|
79701
79701
|
const limitPercent = 100;
|
|
79702
79702
|
const gradientMidStop = `${requestedPercent.toFixed(2)}%`;
|
|
79703
|
-
const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79704
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79705
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79703
|
+
const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.TooltipContent, { $colorInfoBgHover: token.colorInfoBgHover, children: [
|
|
79704
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.TooltipRow, { $colorText: token.colorText, children: [
|
|
79705
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.TooltipDot, { $color: "#5EDBBD" }),
|
|
79706
79706
|
"Requested"
|
|
79707
79707
|
] }),
|
|
79708
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79709
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79708
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.TooltipRow, { $colorText: token.colorText, children: [
|
|
79709
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.TooltipDot, { $color: "#FF1C1C" }),
|
|
79710
79710
|
"Used"
|
|
79711
79711
|
] }),
|
|
79712
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79713
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79712
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.TooltipRow, { $colorText: token.colorText, children: [
|
|
79713
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.TooltipDot, { $color: "#FD9125" }),
|
|
79714
79714
|
"Limit"
|
|
79715
79715
|
] })
|
|
79716
79716
|
] });
|
|
@@ -79791,10 +79791,10 @@ const UsageGraphCard = ({
|
|
|
79791
79791
|
if (shouldShowError) {
|
|
79792
79792
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
|
|
79793
79793
|
}
|
|
79794
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79795
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79796
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79797
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79794
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.Wrapper, { style: containerStyle, $colorBgContainer: token.colorBgContainer, $colorBorder: token.colorBorder, children: [
|
|
79795
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.Header, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.Title, { $colorText: token.colorText, children: title }) }),
|
|
79796
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.ChartContainer, { children: [
|
|
79797
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.ChartWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.ChartInner, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ResponsiveContainer, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ComposedChart, { data: chartData, margin: { top: 8, right: 12, left: 12, bottom: 0 }, children: [
|
|
79798
79798
|
/* @__PURE__ */ jsxRuntimeExports.jsx(XAxis, { dataKey: "index", hide: true }),
|
|
79799
79799
|
/* @__PURE__ */ jsxRuntimeExports.jsx(YAxis, { hide: true, domain: yDomain, padding: { top: 6, bottom: 24 } }),
|
|
79800
79800
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -79818,9 +79818,9 @@ const UsageGraphCard = ({
|
|
|
79818
79818
|
}
|
|
79819
79819
|
)
|
|
79820
79820
|
] }) }) }) }),
|
|
79821
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79821
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.ChartOverlay, { $isDark: isDark })
|
|
79822
79822
|
] }),
|
|
79823
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79823
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.GradientBarWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.GradientBarContainer, { children: [
|
|
79824
79824
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79825
79825
|
Tooltip$1,
|
|
79826
79826
|
{
|
|
@@ -79832,7 +79832,7 @@ const UsageGraphCard = ({
|
|
|
79832
79832
|
body: { padding: 0, borderRadius: 6 }
|
|
79833
79833
|
},
|
|
79834
79834
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79835
|
-
Styled$
|
|
79835
|
+
Styled$q.GradientBar,
|
|
79836
79836
|
{
|
|
79837
79837
|
$minColor: minColor,
|
|
79838
79838
|
$midColor: midColor,
|
|
@@ -79842,12 +79842,12 @@ const UsageGraphCard = ({
|
|
|
79842
79842
|
)
|
|
79843
79843
|
}
|
|
79844
79844
|
),
|
|
79845
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79846
|
-
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79847
|
-
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79848
|
-
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79845
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$q.BadgesContainer, { ref: badgesContainerRef, children: [
|
|
79846
|
+
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.BarMarker, { $left: requestedPercent, $edgeAlign: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RequestedMarkerSvg, {}) }),
|
|
79847
|
+
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.BarMarker, { $left: usedPercent, $flipX: true, $paddingTop: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(UsedMarkerSvg, {}) }),
|
|
79848
|
+
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.BarMarker, { $left: limitPercent, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LimitMarkerSvg, {}) }),
|
|
79849
79849
|
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79850
|
-
Styled$
|
|
79850
|
+
Styled$q.UsedBadge,
|
|
79851
79851
|
{
|
|
79852
79852
|
ref: usedBadgeRef,
|
|
79853
79853
|
$left: clampedUsedPercent ?? usedPercent,
|
|
@@ -79869,7 +79869,7 @@ const UsageGraphCard = ({
|
|
|
79869
79869
|
}
|
|
79870
79870
|
),
|
|
79871
79871
|
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79872
|
-
Styled$
|
|
79872
|
+
Styled$q.MarkerLabel,
|
|
79873
79873
|
{
|
|
79874
79874
|
ref: requestedLabelRef,
|
|
79875
79875
|
$left: clampedRequestedPercent ?? requestedPercent,
|
|
@@ -79890,7 +79890,7 @@ const UsageGraphCard = ({
|
|
|
79890
79890
|
}
|
|
79891
79891
|
),
|
|
79892
79892
|
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79893
|
-
Styled$
|
|
79893
|
+
Styled$q.MarkerLabel,
|
|
79894
79894
|
{
|
|
79895
79895
|
ref: limitLabelRef,
|
|
79896
79896
|
$left: limitPercent,
|
|
@@ -79958,7 +79958,7 @@ const IconButton = styled(Button)`
|
|
|
79958
79958
|
font-size: 16px;
|
|
79959
79959
|
}
|
|
79960
79960
|
`;
|
|
79961
|
-
const Styled$
|
|
79961
|
+
const Styled$p = {
|
|
79962
79962
|
IconWrapper,
|
|
79963
79963
|
IconScaler,
|
|
79964
79964
|
IconButton
|
|
@@ -80008,7 +80008,7 @@ const buildEditUrl = (props, fullPath) => {
|
|
|
80008
80008
|
};
|
|
80009
80009
|
const getActionIcon = (action) => {
|
|
80010
80010
|
if (action.props.iconBase64Encoded) {
|
|
80011
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
80011
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.IconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.IconScaler, { children: renderIcon$1(action.props.iconBase64Encoded, "currentColor") }) });
|
|
80012
80012
|
}
|
|
80013
80013
|
if (action.props.icon) {
|
|
80014
80014
|
return renderAntIcon(action.props.icon);
|
|
@@ -81431,7 +81431,7 @@ const ActionsDropdown = ({ data, children }) => {
|
|
|
81431
81431
|
};
|
|
81432
81432
|
const renderButton = () => {
|
|
81433
81433
|
if (buttonVariant === "icon") {
|
|
81434
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
81434
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.IconButton, { type: "text", size: "small", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MoreOutlined, {}) });
|
|
81435
81435
|
}
|
|
81436
81436
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { children: [
|
|
81437
81437
|
buttonText,
|
|
@@ -82070,7 +82070,7 @@ const CenteredResultWrapper = styled.div`
|
|
|
82070
82070
|
justify-content: center;
|
|
82071
82071
|
flex: 1;
|
|
82072
82072
|
`;
|
|
82073
|
-
const Styled$
|
|
82073
|
+
const Styled$o = {
|
|
82074
82074
|
CenteredResultWrapper
|
|
82075
82075
|
};
|
|
82076
82076
|
|
|
@@ -82094,7 +82094,7 @@ const AntdResult = ({ data, children }) => {
|
|
|
82094
82094
|
const status = data.status ?? result.resultStatus;
|
|
82095
82095
|
const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
|
|
82096
82096
|
const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : result.message;
|
|
82097
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
82097
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status, title, subTitle, style: data.style }) });
|
|
82098
82098
|
}
|
|
82099
82099
|
if (Array.isArray(data.reqIndex)) {
|
|
82100
82100
|
const worst = findWorstError(data.reqIndex, multiQueryData, getErrorForReq, shouldCheckEmpty, data.itemsPath);
|
|
@@ -82104,11 +82104,11 @@ const AntdResult = ({ data, children }) => {
|
|
|
82104
82104
|
const status = data.status ?? worst.resultStatus;
|
|
82105
82105
|
const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
|
|
82106
82106
|
const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : worst.message;
|
|
82107
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
82107
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status, title, subTitle, style: data.style }) });
|
|
82108
82108
|
}
|
|
82109
82109
|
const parsedTitle = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : void 0;
|
|
82110
82110
|
const parsedSubTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : void 0;
|
|
82111
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
82111
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children }) });
|
|
82112
82112
|
};
|
|
82113
82113
|
|
|
82114
82114
|
const DynamicComponents = {
|
|
@@ -82909,6 +82909,22 @@ const ClusterListTable = ({
|
|
|
82909
82909
|
);
|
|
82910
82910
|
};
|
|
82911
82911
|
|
|
82912
|
+
const getMinHeight = (minHeight) => {
|
|
82913
|
+
if (typeof minHeight === "number") {
|
|
82914
|
+
return `${minHeight}px`;
|
|
82915
|
+
}
|
|
82916
|
+
return minHeight || "auto";
|
|
82917
|
+
};
|
|
82918
|
+
const LoadingContainer$2 = styled.div`
|
|
82919
|
+
display: flex;
|
|
82920
|
+
align-items: center;
|
|
82921
|
+
justify-content: center;
|
|
82922
|
+
min-height: ${({ $minHeight }) => getMinHeight($minHeight)};
|
|
82923
|
+
`;
|
|
82924
|
+
const Styled$n = {
|
|
82925
|
+
LoadingContainer: LoadingContainer$2
|
|
82926
|
+
};
|
|
82927
|
+
|
|
82912
82928
|
const prepare = ({
|
|
82913
82929
|
dataItems,
|
|
82914
82930
|
pathToKey,
|
|
@@ -83192,13 +83208,13 @@ const EnrichedTableProvider = ({
|
|
|
83192
83208
|
// isNamespaced,
|
|
83193
83209
|
]);
|
|
83194
83210
|
if (!preparedProps && isLoading) {
|
|
83195
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
83211
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.LoadingContainer, { $minHeight: tableProps?.loadingMinHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
|
|
83196
83212
|
}
|
|
83197
83213
|
if (isError) {
|
|
83198
83214
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Alert, { message: isError, type: "error" });
|
|
83199
83215
|
}
|
|
83200
83216
|
if (!preparedProps) {
|
|
83201
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
83217
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.LoadingContainer, { $minHeight: tableProps?.loadingMinHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
|
|
83202
83218
|
}
|
|
83203
83219
|
const fullPath = `${location.pathname}${location.search}`;
|
|
83204
83220
|
const { dataSource, columns } = prepare({
|
|
@@ -83829,7 +83845,7 @@ const BorderRadiusContainer = styled.div`
|
|
|
83829
83845
|
border-radius: 8px;
|
|
83830
83846
|
}
|
|
83831
83847
|
`;
|
|
83832
|
-
const Styled$
|
|
83848
|
+
const Styled$m = {
|
|
83833
83849
|
BorderRadiusContainer
|
|
83834
83850
|
};
|
|
83835
83851
|
|
|
@@ -83876,7 +83892,7 @@ const YamlEditor = ({ theme: theme$1, currentValues, onChange, editorUri }) => {
|
|
|
83876
83892
|
}
|
|
83877
83893
|
}
|
|
83878
83894
|
}, [yamlData, editorUri]);
|
|
83879
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
83895
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.BorderRadiusContainer, { $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
83880
83896
|
Ft$1,
|
|
83881
83897
|
{
|
|
83882
83898
|
language: "yaml",
|
|
@@ -86450,7 +86466,7 @@ const fromBase64 = (b64) => {
|
|
|
86450
86466
|
const MarginBottom = styled.div`
|
|
86451
86467
|
margin-bottom: 8px;
|
|
86452
86468
|
`;
|
|
86453
|
-
const Styled$
|
|
86469
|
+
const Styled$l = {
|
|
86454
86470
|
MarginBottom
|
|
86455
86471
|
};
|
|
86456
86472
|
|
|
@@ -86547,7 +86563,7 @@ const FormStringMultilineInput = ({
|
|
|
86547
86563
|
},
|
|
86548
86564
|
arrKey !== void 0 ? arrKey : Array.isArray(name) ? name.slice(-1)[0] : name
|
|
86549
86565
|
),
|
|
86550
|
-
isBase64 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
86566
|
+
isBase64 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$l.MarginBottom, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
86551
86567
|
Input.TextArea,
|
|
86552
86568
|
{
|
|
86553
86569
|
placeholder,
|
|
@@ -86574,7 +86590,7 @@ const CrossContainer = styled.div`
|
|
|
86574
86590
|
cursor: pointer;
|
|
86575
86591
|
padding-top: 11px;
|
|
86576
86592
|
`;
|
|
86577
|
-
const Styled$
|
|
86593
|
+
const Styled$k = {
|
|
86578
86594
|
SwitchAndCrossContainer,
|
|
86579
86595
|
CrossContainer
|
|
86580
86596
|
};
|
|
@@ -86602,7 +86618,7 @@ const FormBooleanInput = ({
|
|
|
86602
86618
|
onRemoveByMinus && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { size: "small", type: "text", onClick: onRemoveByMinus, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MinusIcon, {}) })
|
|
86603
86619
|
] })
|
|
86604
86620
|
] }),
|
|
86605
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
86621
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$k.SwitchAndCrossContainer, { children: [
|
|
86606
86622
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
86607
86623
|
ResetedFormItem$1,
|
|
86608
86624
|
{
|
|
@@ -86621,7 +86637,7 @@ const FormBooleanInput = ({
|
|
|
86621
86637
|
}
|
|
86622
86638
|
),
|
|
86623
86639
|
!defaultBtn.visible && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
86624
|
-
Styled$
|
|
86640
|
+
Styled$k.CrossContainer,
|
|
86625
86641
|
{
|
|
86626
86642
|
onClick: () => {
|
|
86627
86643
|
if (makeValueUndefined) {
|
|
@@ -86922,7 +86938,7 @@ const Container$2 = styled.div`
|
|
|
86922
86938
|
border-radius: 8px;
|
|
86923
86939
|
}
|
|
86924
86940
|
`;
|
|
86925
|
-
const Styled$
|
|
86941
|
+
const Styled$j = {
|
|
86926
86942
|
Container: Container$2
|
|
86927
86943
|
};
|
|
86928
86944
|
|
|
@@ -86976,7 +86992,7 @@ const FormInlineYamlEditor = ({ path, persistedControls, externalValue }) => {
|
|
|
86976
86992
|
}
|
|
86977
86993
|
}
|
|
86978
86994
|
}, [yamlText, modelUri]);
|
|
86979
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
86995
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.Container, { $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
86980
86996
|
Ft$1,
|
|
86981
86997
|
{
|
|
86982
86998
|
language: "yaml",
|
|
@@ -87259,7 +87275,7 @@ const BigText = styled.div`
|
|
|
87259
87275
|
font-size: 16px;
|
|
87260
87276
|
line-height: 24px;
|
|
87261
87277
|
`;
|
|
87262
|
-
const Styled$
|
|
87278
|
+
const Styled$i = {
|
|
87263
87279
|
ResetedFormList,
|
|
87264
87280
|
Container: Container$1,
|
|
87265
87281
|
OverflowContainer: OverflowContainer$1,
|
|
@@ -87614,7 +87630,7 @@ const getArrayFormItemFromSwagger = ({
|
|
|
87614
87630
|
}
|
|
87615
87631
|
),
|
|
87616
87632
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
87617
|
-
Styled$
|
|
87633
|
+
Styled$i.ResetedFormList,
|
|
87618
87634
|
{
|
|
87619
87635
|
name: arrName || name,
|
|
87620
87636
|
rules: arrayRules.length > 0 ? arrayRules : void 0,
|
|
@@ -89551,8 +89567,8 @@ const BlackholeForm = ({
|
|
|
89551
89567
|
setPersistedKeys([...persistedKeys.filter((arr) => JSON.stringify(arr) !== JSON.stringify(value))]);
|
|
89552
89568
|
};
|
|
89553
89569
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
89554
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
89555
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
89570
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$i.Container, { $designNewLayout: designNewLayout, $designNewLayoutHeight: designNewLayoutHeight, children: [
|
|
89571
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.OverflowContainer, { ref: overflowRef, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
89556
89572
|
Form,
|
|
89557
89573
|
{
|
|
89558
89574
|
form,
|
|
@@ -89599,7 +89615,7 @@ const BlackholeForm = ({
|
|
|
89599
89615
|
) })
|
|
89600
89616
|
] }),
|
|
89601
89617
|
/* @__PURE__ */ jsxRuntimeExports.jsx(FlexGrow, {}),
|
|
89602
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
89618
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
|
|
89603
89619
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
89604
89620
|
Button,
|
|
89605
89621
|
{
|
|
@@ -89620,7 +89636,7 @@ const BlackholeForm = ({
|
|
|
89620
89636
|
open: !!error,
|
|
89621
89637
|
onOk: () => setError(void 0),
|
|
89622
89638
|
onCancel: () => setError(void 0),
|
|
89623
|
-
title: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
89639
|
+
title: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.BigText, { children: "Error!" }) }),
|
|
89624
89640
|
cancelButtonProps: { style: { display: "none" } },
|
|
89625
89641
|
centered: true,
|
|
89626
89642
|
styles: {
|
|
@@ -89648,7 +89664,7 @@ const BlackholeForm = ({
|
|
|
89648
89664
|
paddingRight: "30px"
|
|
89649
89665
|
}
|
|
89650
89666
|
},
|
|
89651
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
89667
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.DebugContainer, { $designNewLayoutHeight: designNewLayoutHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
89652
89668
|
Editor,
|
|
89653
89669
|
{
|
|
89654
89670
|
defaultLanguage: "json",
|
|
@@ -89667,6 +89683,16 @@ const BlackholeForm = ({
|
|
|
89667
89683
|
] });
|
|
89668
89684
|
};
|
|
89669
89685
|
|
|
89686
|
+
const LoadingContainer$1 = styled.div`
|
|
89687
|
+
display: flex;
|
|
89688
|
+
align-items: center;
|
|
89689
|
+
justify-content: center;
|
|
89690
|
+
min-height: ${({ $minHeight }) => $minHeight ? `${$minHeight}px` : "auto"};
|
|
89691
|
+
`;
|
|
89692
|
+
const Styled$h = {
|
|
89693
|
+
LoadingContainer: LoadingContainer$1
|
|
89694
|
+
};
|
|
89695
|
+
|
|
89670
89696
|
const BlackholeFormProvider = ({
|
|
89671
89697
|
theme,
|
|
89672
89698
|
cluster,
|
|
@@ -89815,7 +89841,7 @@ const BlackholeFormProvider = ({
|
|
|
89815
89841
|
applyForceViewMode
|
|
89816
89842
|
]);
|
|
89817
89843
|
if (isLoading) {
|
|
89818
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {});
|
|
89844
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$h.LoadingContainer, { $minHeight: designNewLayoutHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
|
|
89819
89845
|
}
|
|
89820
89846
|
if (modeData?.current === "Manual") {
|
|
89821
89847
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -94450,4 +94476,4 @@ const usePluginManifest = ({
|
|
|
94450
94476
|
};
|
|
94451
94477
|
|
|
94452
94478
|
export { useCrdResourceSingle as $, getBuiltinResources as A, getBuiltinResourceSingle as B, getCrdResources as C, DeleteIcon as D, EnrichedTableProvider as E, getCrdResourceSingle as F, getApiResourceTypes as G, getApiResourceTypesByApiGroup as H, getBuiltinResourceTypes as I, getCrdData as J, getDirectUnknownResource as K, checkPermission as L, getSwagger as M, filterIfApiInstanceNamespaceScoped as N, filterIfBuiltInInstanceNamespaceScoped as O, PerRequestError as P, checkIfApiInstanceNamespaceScoped as Q, ReadOnlyModal as R, checkIfBuiltInInstanceNamespaceScoped as S, getKinds as T, useClusterList as U, useApiResources as V, useApiResourceSingle as W, useBuiltinResources as X, useBuiltinResourceSingle as Y, useCrdResources as Z, _$1 as _, useTheme as a, DynamicRenderer as a$, useApisResourceTypes as a0, useApiResourceTypesByGroup as a1, useBuiltinResourceTypes as a2, useCrdData as a3, useListWatch as a4, useInfiniteSentinel as a5, useK8sVerbs as a6, useManyK8sSmartResource as a7, useSmartResourceParams as a8, useResourceScope as a9, ResourceLink as aA, ErrorBoundary as aB, ErrorBoundaryWithDataReset as aC, ManageableBreadcrumbsProvider as aD, prepareDataForManageableBreadcrumbs as aE, ManageableBreadcrumbs as aF, ManageableSidebarProvider as aG, prepareDataForManageableSidebar as aH, ManageableSidebar as aI, EnrichedTable as aJ, ClusterListTable as aK, getEnrichedColumns as aL, getEnrichedColumnsWithControls as aM, YamlEditorSingleton$1 as aN, BlackholeFormProvider as aO, BlackholeForm as aP, getObjectFormItemsDraft as aQ, MarketPlace as aR, MarketplaceCard as aS, ProjectInfoCard as aT, PodTerminal as aU, NodeTerminal as aV, PodLogs as aW, PodLogsMonaco as aX, VMVNC as aY, Search as aZ, Events as a_, useKinds as aa, useKindsRaw as ab, usePluginManifest as ac, Spacer$1 as ad, TreeWithSearch as ae, ConfirmModal as af, UpIcon as ag, DownIcon as ah, BackToDefaultIcon as ai, SuccessIcon as aj, feedbackIcons as ak, PlusIcon as al, MinusIcon as am, LockedIcon as an, UnlockedIcon as ao, PauseCircleIcon as ap, ResumeCircleIcon as aq, LookingGlassIcon as ar, EarthIcon as as, ContentCard$1 as at, FlexGrow as au, UncontrolledSelect as av, CustomSelect$4 as aw, CursorPointerTag as ax, CursorPointerTagMinContent as ay, CursorDefaultDiv as az, usePartsOfUrl as b, DynamicComponents as b0, DynamicRendererWithProviders as b1, prepareTemplate as b2, isFlatObject as b3, filterSelectOptions as b4, getStringByName as b5, floorToDecimal as b6, parseQuotaValue as b7, parseQuotaValueCpu as b8, parseQuotaValueMemoryAndStorage as b9, convertStorage as bA, parseValueWithUnit as bB, convertCores as bC, formatCoresAuto as bD, toCores as bE, convertCompute as bF, parseCoresWithUnit as bG, formatDateAuto as bH, isValidRFC3339 as bI, normalizeValuesForQuotasToNumber as ba, getAllPathsFromObj as bb, getPrefixSubarrays as bc, groupsToTreeData as bd, getBuiltinTreeData as be, getGroupsByCategory as bf, createContextFactory as bg, prepareUrlsToFetchForDynamicRenderer as bh, deepMerge as bi, getSortedKinds as bj, getSortedKindsAll as bk, hslFromString as bl, getUppercase as bm, kindByGvr as bn, pluralByKind as bo, namespacedByGvr as bp, getLinkToBuiltinForm as bq, getLinkToApiForm as br, isMultilineString as bs, isMultilineFromYaml as bt, includesArray as bu, getResourceLink as bv, getNamespaceLink as bw, convertBytes as bx, formatBytesAuto as by, toBytes as bz, useAutoPerRequestError as c, usePermissions as d, useDirectUnknownResource as e, useK8sSmartResource as f, jsxRuntimeExports as g, EditIcon as h, PaddingContainer as i, jp as j, getLinkToForm as k, DeleteModal as l, mergePerRequestErrors as m, DeleteModalMany as n, getClusterList as o, parseAll as p, createNewEntry as q, updateEntry as r, serializeLabelsWithNoEncoding$1 as s, deleteEntry as t, useMultiQuery as u, patchEntryWithReplaceOp as v, patchEntryWithMergePatch as w, patchEntryWithDeleteOp as x, getApiResources as y, getApiResourceSingle as z };
|
|
94453
|
-
//# sourceMappingURL=index-
|
|
94479
|
+
//# sourceMappingURL=index-D8riHM_k.mjs.map
|