@prorobotech/openapi-k8s-toolkit 1.4.0-alpha.36 → 1.4.0-alpha.38
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-DZxEKtGA.mjs → index-CsX6kgUW.mjs} +115 -102
- package/dist/index-CsX6kgUW.mjs.map +1 -0
- package/dist/{index-BTlqy90S.mjs → index-CzQj3qRA.mjs} +2 -2
- package/dist/{index-BTlqy90S.mjs.map → index-CzQj3qRA.mjs.map} +1 -1
- package/dist/openapi-k8s-toolkit.es.js +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +115 -99
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdResult/styled.d.ts +548 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index-DZxEKtGA.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$K = {
|
|
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$K.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$J = {
|
|
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$J.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$I = {
|
|
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$I.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$H = {
|
|
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$H.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
|
|
8390
8390
|
};
|
|
8391
8391
|
|
|
8392
8392
|
const CursorPointerTag = styled(Tag)`
|
|
@@ -8400,6 +8400,9 @@ const CursorPointerTagMinContent = styled(Tag)`
|
|
|
8400
8400
|
|
|
8401
8401
|
const CursorDefaultDiv = styled.div`
|
|
8402
8402
|
cursor: ${({ $default }) => $default ? "default" : "inherit"};
|
|
8403
|
+
flex: 1;
|
|
8404
|
+
display: flex;
|
|
8405
|
+
flex-direction: column;
|
|
8403
8406
|
`;
|
|
8404
8407
|
|
|
8405
8408
|
const PaddingContainer = styled.div`
|
|
@@ -8533,7 +8536,7 @@ const Abbr$2 = styled.span`
|
|
|
8533
8536
|
height: min-content;
|
|
8534
8537
|
margin-right: 4px;
|
|
8535
8538
|
`;
|
|
8536
|
-
const Styled$
|
|
8539
|
+
const Styled$G = {
|
|
8537
8540
|
Abbr: Abbr$2
|
|
8538
8541
|
};
|
|
8539
8542
|
|
|
@@ -8573,7 +8576,7 @@ const ResourceLink = ({
|
|
|
8573
8576
|
baseFactoriesMapping
|
|
8574
8577
|
});
|
|
8575
8578
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { align: "center", gap: 8, children: [
|
|
8576
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8579
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$G.Abbr, { $bgColor: bgColor, children: abbr }),
|
|
8577
8580
|
resourceLink ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8578
8581
|
Typography.Link,
|
|
8579
8582
|
{
|
|
@@ -9657,7 +9660,7 @@ const NoWrapContainer = styled.div`
|
|
|
9657
9660
|
flex-wrap: nowrap !important;
|
|
9658
9661
|
}
|
|
9659
9662
|
`;
|
|
9660
|
-
const Styled$
|
|
9663
|
+
const Styled$F = {
|
|
9661
9664
|
PositionRelativeContainer,
|
|
9662
9665
|
FullWidthContainer,
|
|
9663
9666
|
NoWrapContainer
|
|
@@ -9700,9 +9703,9 @@ const CollapsibleBreadcrumb = ({ items }) => {
|
|
|
9700
9703
|
};
|
|
9701
9704
|
return [firstItem, ellipsisItem, lastItem];
|
|
9702
9705
|
};
|
|
9703
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
9704
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9705
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9706
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$F.PositionRelativeContainer, { children: [
|
|
9707
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$F.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items: renderItems() }) }),
|
|
9708
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$F.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
|
|
9706
9709
|
] });
|
|
9707
9710
|
};
|
|
9708
9711
|
|
|
@@ -9710,12 +9713,12 @@ const HeightDiv$1 = styled.div`
|
|
|
9710
9713
|
min-height: 22px;
|
|
9711
9714
|
width: 100%;
|
|
9712
9715
|
`;
|
|
9713
|
-
const Styled$
|
|
9716
|
+
const Styled$E = {
|
|
9714
9717
|
HeightDiv: HeightDiv$1
|
|
9715
9718
|
};
|
|
9716
9719
|
|
|
9717
9720
|
const ManageableBreadcrumbs = ({ data }) => {
|
|
9718
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9721
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
|
|
9719
9722
|
};
|
|
9720
9723
|
|
|
9721
9724
|
const prepareTemplate = ({
|
|
@@ -9774,7 +9777,7 @@ const HeightDiv = styled.div`
|
|
|
9774
9777
|
min-height: 22px;
|
|
9775
9778
|
width: 100%;
|
|
9776
9779
|
`;
|
|
9777
|
-
const Styled$
|
|
9780
|
+
const Styled$D = {
|
|
9778
9781
|
HeightDiv
|
|
9779
9782
|
};
|
|
9780
9783
|
|
|
@@ -9804,7 +9807,7 @@ const ManageableBreadcrumbsProvider = ({
|
|
|
9804
9807
|
return null;
|
|
9805
9808
|
}
|
|
9806
9809
|
if (rawDataLoading) {
|
|
9807
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9810
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Spin, {}) });
|
|
9808
9811
|
}
|
|
9809
9812
|
if (!rawData) {
|
|
9810
9813
|
return null;
|
|
@@ -9820,7 +9823,7 @@ const ManageableBreadcrumbsProvider = ({
|
|
|
9820
9823
|
fallbackIdToCompare
|
|
9821
9824
|
});
|
|
9822
9825
|
if (!result) {
|
|
9823
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9826
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.HeightDiv, {});
|
|
9824
9827
|
}
|
|
9825
9828
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ManageableBreadcrumbs, { data: result }, JSON.stringify(idToCompare));
|
|
9826
9829
|
};
|
|
@@ -9848,7 +9851,7 @@ const CustomMenu = styled(Menu)`
|
|
|
9848
9851
|
margin: 0 !important;
|
|
9849
9852
|
}
|
|
9850
9853
|
`;
|
|
9851
|
-
const Styled$
|
|
9854
|
+
const Styled$C = {
|
|
9852
9855
|
CustomMenu
|
|
9853
9856
|
};
|
|
9854
9857
|
|
|
@@ -9875,7 +9878,7 @@ const ManageableSidebar = ({ data, noMarginTop }) => {
|
|
|
9875
9878
|
setSelectedKeys(data.selectedKeys);
|
|
9876
9879
|
}, [data.selectedKeys]);
|
|
9877
9880
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9878
|
-
Styled$
|
|
9881
|
+
Styled$C.CustomMenu,
|
|
9879
9882
|
{
|
|
9880
9883
|
selectedKeys,
|
|
9881
9884
|
onSelect: () => {
|
|
@@ -34449,7 +34452,7 @@ const ShortenedText = styled.div`
|
|
|
34449
34452
|
white-space: nowrap;
|
|
34450
34453
|
text-overflow: ellipsis;
|
|
34451
34454
|
`;
|
|
34452
|
-
const Styled$
|
|
34455
|
+
const Styled$B = {
|
|
34453
34456
|
ShortenedText
|
|
34454
34457
|
};
|
|
34455
34458
|
|
|
@@ -34458,7 +34461,7 @@ const ShortenedTextWithTooltip = ({ text, trimLength, maxWidth = 200 }) => {
|
|
|
34458
34461
|
const trimmedText = text.substring(0, trimLength);
|
|
34459
34462
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: text, placement: "top", children: trimmedText });
|
|
34460
34463
|
}
|
|
34461
|
-
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$B.ShortenedText, { $maxWidth: maxWidth, children: text }) });
|
|
34462
34465
|
};
|
|
34463
34466
|
|
|
34464
34467
|
const FilterDropdown = ({
|
|
@@ -34609,16 +34612,16 @@ const TooltipTag = styled(Tag)`
|
|
|
34609
34612
|
overflow: hidden;
|
|
34610
34613
|
text-overflow: ellipsis;
|
|
34611
34614
|
`;
|
|
34612
|
-
const Styled$
|
|
34615
|
+
const Styled$A = {
|
|
34613
34616
|
TableTag,
|
|
34614
34617
|
TooltipTagsContainer,
|
|
34615
34618
|
TooltipTag
|
|
34616
34619
|
};
|
|
34617
34620
|
|
|
34618
34621
|
const TrimmedTags = ({ tags, trimLength }) => {
|
|
34619
|
-
const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34622
|
+
const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.TableTag, { children: tag }, tag));
|
|
34620
34623
|
const popoverTheme = { components: { Popover: { zIndexPopup: 2100 } } };
|
|
34621
|
-
const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34624
|
+
const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.TooltipTagsContainer, { vertical: true, gap: 4, children: tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.TooltipTag, { children: tag }, tag)) });
|
|
34622
34625
|
if (trimLength && trimLength < tags.length) {
|
|
34623
34626
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { wrap: "nowrap", gap: "4px", children: [
|
|
34624
34627
|
renderTableTags(tags.slice(0, trimLength)),
|
|
@@ -34627,7 +34630,7 @@ const TrimmedTags = ({ tags, trimLength }) => {
|
|
|
34627
34630
|
{
|
|
34628
34631
|
content: renderTooltipTags(tags.slice(trimLength)),
|
|
34629
34632
|
styles: { root: { maxWidth: "min(95vw, 900px)" } },
|
|
34630
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
34633
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$A.TableTag, { children: [
|
|
34631
34634
|
"+",
|
|
34632
34635
|
tags.length - trimLength
|
|
34633
34636
|
] }, "more")
|
|
@@ -43763,7 +43766,7 @@ const BigText$1 = styled.div`
|
|
|
43763
43766
|
font-size: 16px;
|
|
43764
43767
|
line-height: 24px;
|
|
43765
43768
|
`;
|
|
43766
|
-
const Styled$
|
|
43769
|
+
const Styled$z = {
|
|
43767
43770
|
BorderRadiusContainer: BorderRadiusContainer$1,
|
|
43768
43771
|
ControlsRowContainer: ControlsRowContainer$1,
|
|
43769
43772
|
BigText: BigText$1
|
|
@@ -43993,7 +43996,7 @@ const YamlEditorSingleton$1 = ({
|
|
|
43993
43996
|
};
|
|
43994
43997
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
43995
43998
|
contextHolder,
|
|
43996
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
43999
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$z.BorderRadiusContainer, { $designNewLayoutHeight: designNewLayoutHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
43997
44000
|
Ft$1,
|
|
43998
44001
|
{
|
|
43999
44002
|
defaultLanguage: "yaml",
|
|
@@ -44018,7 +44021,7 @@ const YamlEditorSingleton$1 = ({
|
|
|
44018
44021
|
}
|
|
44019
44022
|
}
|
|
44020
44023
|
) }),
|
|
44021
|
-
!readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44024
|
+
!readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$z.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
|
|
44022
44025
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { type: "primary", onClick: onSubmit, loading: isLoading, disabled: canEdit === false, children: "Submit" }),
|
|
44023
44026
|
backlink && /* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: () => navigate(backlink), children: "Cancel" }),
|
|
44024
44027
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Button, { onClick: handleReload, children: "Reload" })
|
|
@@ -44029,7 +44032,7 @@ const YamlEditorSingleton$1 = ({
|
|
|
44029
44032
|
open: !!error,
|
|
44030
44033
|
onOk: () => setError(void 0),
|
|
44031
44034
|
onCancel: () => setError(void 0),
|
|
44032
|
-
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$z.BigText, { children: "Error!" }) }),
|
|
44033
44036
|
cancelButtonProps: { style: { display: "none" } },
|
|
44034
44037
|
centered: true,
|
|
44035
44038
|
styles: {
|
|
@@ -44190,7 +44193,7 @@ const YamlEditorSingleton = ({
|
|
|
44190
44193
|
const VisibilityContainer$1 = styled.div`
|
|
44191
44194
|
display: ${({ $hidden }) => $hidden ? "none" : "block"};
|
|
44192
44195
|
`;
|
|
44193
|
-
const Styled$
|
|
44196
|
+
const Styled$y = {
|
|
44194
44197
|
VisibilityContainer: VisibilityContainer$1
|
|
44195
44198
|
};
|
|
44196
44199
|
|
|
@@ -44240,7 +44243,7 @@ const VisibilityContainer = ({
|
|
|
44240
44243
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
|
|
44241
44244
|
}
|
|
44242
44245
|
const shouldAutoHide = !criteria && (!valuePrepared || valuePrepared === "~undefined-value~");
|
|
44243
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44246
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$y.VisibilityContainer, { $hidden: shouldAutoHide || shouldHideByCriteria, children });
|
|
44244
44247
|
};
|
|
44245
44248
|
|
|
44246
44249
|
const unknownToString = (value) => {
|
|
@@ -44493,7 +44496,7 @@ const Content$1 = styled.div`
|
|
|
44493
44496
|
display: ${({ $isOpen }) => $isOpen ? "block" : "none"};
|
|
44494
44497
|
padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
|
|
44495
44498
|
`;
|
|
44496
|
-
const Styled$
|
|
44499
|
+
const Styled$x = {
|
|
44497
44500
|
Container: Container$3,
|
|
44498
44501
|
TitleBar,
|
|
44499
44502
|
Content: Content$1
|
|
@@ -44520,14 +44523,14 @@ const CustomCollapse = ({
|
|
|
44520
44523
|
}
|
|
44521
44524
|
};
|
|
44522
44525
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
44523
|
-
Styled$
|
|
44526
|
+
Styled$x.Container,
|
|
44524
44527
|
{
|
|
44525
44528
|
$designNewLayout: designNewLayout,
|
|
44526
44529
|
$borderColor: token.colorBorder,
|
|
44527
44530
|
$bgColor: token.colorBgContainer,
|
|
44528
44531
|
children: [
|
|
44529
44532
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { justify: "space-between", children: [
|
|
44530
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
44533
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$x.TitleBar, { onClick: () => toggleCollapse(), children: [
|
|
44531
44534
|
!designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(CaretDownOutlined, { size: 14 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(CaretRightOutlined, { size: 14 }) }),
|
|
44532
44535
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: title }),
|
|
44533
44536
|
designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(DownIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(UpIcon, {}) })
|
|
@@ -44538,7 +44541,7 @@ const CustomCollapse = ({
|
|
|
44538
44541
|
persistedCheckbox
|
|
44539
44542
|
] })
|
|
44540
44543
|
] }),
|
|
44541
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44544
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$x.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
|
|
44542
44545
|
]
|
|
44543
44546
|
}
|
|
44544
44547
|
);
|
|
@@ -44572,13 +44575,13 @@ const CustomSizeTitle = styled.div`
|
|
|
44572
44575
|
const Content = styled.div`
|
|
44573
44576
|
padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
|
|
44574
44577
|
`;
|
|
44575
|
-
const Styled$
|
|
44578
|
+
const Styled$w = {
|
|
44576
44579
|
Content
|
|
44577
44580
|
};
|
|
44578
44581
|
|
|
44579
44582
|
const ArrayInsideContainer = ({ children }) => {
|
|
44580
44583
|
const designNewLayout = useDesignNewLayout();
|
|
44581
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44584
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$w.Content, { $designNewLayout: designNewLayout, children });
|
|
44582
44585
|
};
|
|
44583
44586
|
|
|
44584
44587
|
const includesPath = (haystack, needle) => haystack.some((h) => h.length === needle.length && h.every((seg, i) => seg === String(needle[i])));
|
|
@@ -44747,7 +44750,7 @@ const LabelsEditModal = ({
|
|
|
44747
44750
|
const ResetedFormList$3 = styled(Form.List)`
|
|
44748
44751
|
margin-bottom: 8px;
|
|
44749
44752
|
`;
|
|
44750
|
-
const Styled$
|
|
44753
|
+
const Styled$v = {
|
|
44751
44754
|
ResetedFormList: ResetedFormList$3
|
|
44752
44755
|
};
|
|
44753
44756
|
|
|
@@ -44838,7 +44841,7 @@ const TaintsEditModal = ({
|
|
|
44838
44841
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[3], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
44839
44842
|
] }),
|
|
44840
44843
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
44841
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44844
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
44842
44845
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
|
|
44843
44846
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
44844
44847
|
ResetedFormItem$1,
|
|
@@ -44899,7 +44902,7 @@ const TaintsEditModal = ({
|
|
|
44899
44902
|
const ResetedFormList$2 = styled(Form.List)`
|
|
44900
44903
|
margin-bottom: 8px;
|
|
44901
44904
|
`;
|
|
44902
|
-
const Styled$
|
|
44905
|
+
const Styled$u = {
|
|
44903
44906
|
ResetedFormList: ResetedFormList$2
|
|
44904
44907
|
};
|
|
44905
44908
|
|
|
@@ -45000,7 +45003,7 @@ const TolerationsEditModal = ({
|
|
|
45000
45003
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[4], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
45001
45004
|
] }),
|
|
45002
45005
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
45003
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
45006
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45004
45007
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
|
|
45005
45008
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45006
45009
|
ResetedFormItem$1,
|
|
@@ -45092,7 +45095,7 @@ const TolerationsEditModal = ({
|
|
|
45092
45095
|
const ResetedFormList$1 = styled(Form.List)`
|
|
45093
45096
|
margin-bottom: 8px;
|
|
45094
45097
|
`;
|
|
45095
|
-
const Styled$
|
|
45098
|
+
const Styled$t = {
|
|
45096
45099
|
ResetedFormList: ResetedFormList$1
|
|
45097
45100
|
};
|
|
45098
45101
|
|
|
@@ -45188,7 +45191,7 @@ const AnnotationsEditModal = ({
|
|
|
45188
45191
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[2], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
45189
45192
|
] }),
|
|
45190
45193
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
45191
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
45194
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45192
45195
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(Row, { gutter: [16, 16], children: [
|
|
45193
45196
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45194
45197
|
ResetedFormItem$1,
|
|
@@ -47266,7 +47269,7 @@ const NotificationOverrides = createGlobalStyle`
|
|
|
47266
47269
|
margin-bottom: 0 !important;
|
|
47267
47270
|
}
|
|
47268
47271
|
`;
|
|
47269
|
-
const Styled$
|
|
47272
|
+
const Styled$s = {
|
|
47270
47273
|
NoSelect,
|
|
47271
47274
|
DisabledInput,
|
|
47272
47275
|
DisabledTextArea,
|
|
@@ -47384,8 +47387,8 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47384
47387
|
const shownValue = useNiceLooking ? value2 : effectiveHidden ? "" : value2;
|
|
47385
47388
|
const resolvedMultilineRows = resolveMultilineRows(value2, multilineRows);
|
|
47386
47389
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 8, ...flexProps, children: [
|
|
47387
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47388
|
-
Styled$
|
|
47390
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.NoSelect, { style: inputContainerStyle, children: useNiceLooking ? /* @__PURE__ */ jsxRuntimeExports.jsx(te, { theme, hidden: effectiveHidden, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47391
|
+
Styled$s.DisabledInput,
|
|
47389
47392
|
{
|
|
47390
47393
|
$hidden: effectiveHidden,
|
|
47391
47394
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47393,7 +47396,7 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47393
47396
|
readOnly: true
|
|
47394
47397
|
}
|
|
47395
47398
|
) }) : multiline ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47396
|
-
Styled$
|
|
47399
|
+
Styled$s.DisabledTextArea,
|
|
47397
47400
|
{
|
|
47398
47401
|
$hidden: effectiveHidden,
|
|
47399
47402
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47402,7 +47405,7 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47402
47405
|
readOnly: true
|
|
47403
47406
|
}
|
|
47404
47407
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47405
|
-
Styled$
|
|
47408
|
+
Styled$s.DisabledInput,
|
|
47406
47409
|
{
|
|
47407
47410
|
$hidden: effectiveHidden,
|
|
47408
47411
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47425,13 +47428,13 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47425
47428
|
const secretsEntries = objectToRender ? Object.entries(objectToRender) : [];
|
|
47426
47429
|
if (secretsEntries.length === 0) {
|
|
47427
47430
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47428
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47431
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.NotificationOverrides, {}),
|
|
47429
47432
|
emptyTextPrepared && /* @__PURE__ */ jsxRuntimeExports.jsx(Typography.Text, { style: textStyle, children: emptyTextPrepared }),
|
|
47430
47433
|
contextHolder
|
|
47431
47434
|
] });
|
|
47432
47435
|
}
|
|
47433
47436
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47434
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47437
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.NotificationOverrides, {}),
|
|
47435
47438
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Flex, { vertical: true, gap: 8, children: secretsEntries.map(([key, rawValue]) => {
|
|
47436
47439
|
const parsedValue = parseAll({
|
|
47437
47440
|
text: typeof rawValue === "string" ? rawValue : String(rawValue),
|
|
@@ -47457,7 +47460,7 @@ const SecretBase64Plain = ({ data }) => {
|
|
|
47457
47460
|
] });
|
|
47458
47461
|
}
|
|
47459
47462
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47460
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47463
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.NotificationOverrides, {}),
|
|
47461
47464
|
renderSecretField({
|
|
47462
47465
|
value: decodedText,
|
|
47463
47466
|
isHidden: hidden,
|
|
@@ -47480,7 +47483,7 @@ const RoundSpan = styled.span`
|
|
|
47480
47483
|
letter-spacing: 0.02em;
|
|
47481
47484
|
box-sizing: content-box;
|
|
47482
47485
|
`;
|
|
47483
|
-
const Styled$
|
|
47486
|
+
const Styled$r = {
|
|
47484
47487
|
RoundSpan
|
|
47485
47488
|
};
|
|
47486
47489
|
|
|
@@ -47517,7 +47520,7 @@ const ResourceBadge = ({ data }) => {
|
|
|
47517
47520
|
multiQueryData
|
|
47518
47521
|
}) : getUppercase(parsedValue);
|
|
47519
47522
|
const bgColor = hslFromString(parsedValue, theme);
|
|
47520
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47523
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.RoundSpan, { $bgColor: bgColor, style, children: parsedAbbreviation });
|
|
47521
47524
|
};
|
|
47522
47525
|
|
|
47523
47526
|
const serializeLabelsWithNoEncoding = (input) => {
|
|
@@ -78224,7 +78227,7 @@ const TitleSelect = styled(Select)`
|
|
|
78224
78227
|
}
|
|
78225
78228
|
}
|
|
78226
78229
|
`;
|
|
78227
|
-
const Styled$
|
|
78230
|
+
const Styled$q = {
|
|
78228
78231
|
TitleSelect
|
|
78229
78232
|
};
|
|
78230
78233
|
|
|
@@ -78309,7 +78312,7 @@ const DropdownRedirect = ({
|
|
|
78309
78312
|
}
|
|
78310
78313
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
78311
78314
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
78312
|
-
Styled$
|
|
78315
|
+
Styled$q.TitleSelect,
|
|
78313
78316
|
{
|
|
78314
78317
|
value: currentValuePrepared,
|
|
78315
78318
|
onChange: handleChange,
|
|
@@ -78822,7 +78825,7 @@ const TolerationsModal = ({
|
|
|
78822
78825
|
};
|
|
78823
78826
|
|
|
78824
78827
|
const LazyEnrichedTableModal = lazy(
|
|
78825
|
-
() => import('./index-
|
|
78828
|
+
() => import('./index-CzQj3qRA.mjs').then((mod) => ({ default: mod.EnrichedTableModal }))
|
|
78826
78829
|
);
|
|
78827
78830
|
const renderActiveType = (activeType, extraProps) => {
|
|
78828
78831
|
if (!activeType) return null;
|
|
@@ -78896,7 +78899,7 @@ const CardIcon = styled.div`
|
|
|
78896
78899
|
const HiddenContainer = styled.div`
|
|
78897
78900
|
display: ${({ $isHidden }) => $isHidden ? "none" : "auto"};
|
|
78898
78901
|
`;
|
|
78899
|
-
const Styled$
|
|
78902
|
+
const Styled$p = {
|
|
78900
78903
|
Card: Card$1,
|
|
78901
78904
|
CardTitle,
|
|
78902
78905
|
CardNumber,
|
|
@@ -78975,7 +78978,7 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
78975
78978
|
const jsonRoot = multiQueryData[`req${counter.props.reqIndex}`];
|
|
78976
78979
|
if (jsonRoot === void 0) {
|
|
78977
78980
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
78978
|
-
Styled$
|
|
78981
|
+
Styled$p.Card,
|
|
78979
78982
|
{
|
|
78980
78983
|
$colorBorder: token.colorBorder,
|
|
78981
78984
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -78990,15 +78993,15 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
78990
78993
|
children: [
|
|
78991
78994
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 4, vertical: true, children: [
|
|
78992
78995
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
78993
|
-
Styled$
|
|
78996
|
+
Styled$p.CardTitle,
|
|
78994
78997
|
{
|
|
78995
78998
|
$colorTextDescription: token.colorTextDescription,
|
|
78996
78999
|
children: `Counter: ${id}: No root for json path`
|
|
78997
79000
|
}
|
|
78998
79001
|
),
|
|
78999
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79002
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardNumber, { $colorText: token.colorText, children: "-" })
|
|
79000
79003
|
] }),
|
|
79001
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79004
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79002
79005
|
]
|
|
79003
79006
|
}
|
|
79004
79007
|
);
|
|
@@ -79008,7 +79011,7 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79008
79011
|
const { counter: counterToDisplay, error: errorParsingCounter } = counter.type === "item" ? getItemCounterItemsInside(anythingForNow) : getKeyCounterItemsInside(anythingForNow);
|
|
79009
79012
|
if (errorParsingCounter) {
|
|
79010
79013
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79011
|
-
Styled$
|
|
79014
|
+
Styled$p.Card,
|
|
79012
79015
|
{
|
|
79013
79016
|
$colorBorder: token.colorBorder,
|
|
79014
79017
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79022,10 +79025,10 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79022
79025
|
},
|
|
79023
79026
|
children: [
|
|
79024
79027
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 4, vertical: true, children: [
|
|
79025
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79026
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79028
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardTitle, { $colorTextDescription: token.colorTextDescription, children: errorParsingCounter }),
|
|
79029
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardNumber, { $colorText: token.colorText, children: "-" })
|
|
79027
79030
|
] }),
|
|
79028
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79031
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79029
79032
|
]
|
|
79030
79033
|
}
|
|
79031
79034
|
);
|
|
@@ -79033,7 +79036,7 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79033
79036
|
const parsedText = parseAll({ text, replaceValues, multiQueryData });
|
|
79034
79037
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
79035
79038
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79036
|
-
Styled$
|
|
79039
|
+
Styled$p.Card,
|
|
79037
79040
|
{
|
|
79038
79041
|
$colorBorder: token.colorBorder,
|
|
79039
79042
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79047,14 +79050,14 @@ const AggregatedCounterCard = ({ data, children }) => {
|
|
|
79047
79050
|
},
|
|
79048
79051
|
children: [
|
|
79049
79052
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(Flex, { gap: 4, vertical: true, children: [
|
|
79050
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79051
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79053
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardTitle, { $colorTextDescription: token.colorTextDescription, children: parsedText }),
|
|
79054
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardNumber, { $colorText: token.colorText, children: counterToDisplay })
|
|
79052
79055
|
] }),
|
|
79053
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79056
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79054
79057
|
]
|
|
79055
79058
|
}
|
|
79056
79059
|
),
|
|
79057
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79060
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.HiddenContainer, { $isHidden: !open, children: canOpenActiveType && renderActiveType(activeType, {
|
|
79058
79061
|
open,
|
|
79059
79062
|
onClose: () => setOpen(false),
|
|
79060
79063
|
disableSubmit: !canSubmitActiveType
|
|
@@ -79483,7 +79486,7 @@ const UsedBadge = styled.div`
|
|
|
79483
79486
|
white-space: nowrap;
|
|
79484
79487
|
z-index: 3;
|
|
79485
79488
|
`;
|
|
79486
|
-
const Styled$
|
|
79489
|
+
const Styled$o = {
|
|
79487
79490
|
TooltipContent,
|
|
79488
79491
|
TooltipRow,
|
|
79489
79492
|
TooltipDot,
|
|
@@ -79633,17 +79636,17 @@ const UsageGraphCard = ({
|
|
|
79633
79636
|
const usedPercent = clampPercent(resolvedUsed ?? NaN, resolvedLimit ?? NaN);
|
|
79634
79637
|
const limitPercent = 100;
|
|
79635
79638
|
const gradientMidStop = `${requestedPercent.toFixed(2)}%`;
|
|
79636
|
-
const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79637
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79638
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79639
|
+
const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.TooltipContent, { $colorInfoBgHover: token.colorInfoBgHover, children: [
|
|
79640
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.TooltipRow, { $colorText: token.colorText, children: [
|
|
79641
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.TooltipDot, { $color: "#5EDBBD" }),
|
|
79639
79642
|
"Requested"
|
|
79640
79643
|
] }),
|
|
79641
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79642
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79644
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.TooltipRow, { $colorText: token.colorText, children: [
|
|
79645
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.TooltipDot, { $color: "#FF1C1C" }),
|
|
79643
79646
|
"Used"
|
|
79644
79647
|
] }),
|
|
79645
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79646
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79648
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.TooltipRow, { $colorText: token.colorText, children: [
|
|
79649
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.TooltipDot, { $color: "#FD9125" }),
|
|
79647
79650
|
"Limit"
|
|
79648
79651
|
] })
|
|
79649
79652
|
] });
|
|
@@ -79724,10 +79727,10 @@ const UsageGraphCard = ({
|
|
|
79724
79727
|
if (shouldShowError) {
|
|
79725
79728
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
|
|
79726
79729
|
}
|
|
79727
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79728
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79729
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79730
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79730
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.Wrapper, { style: containerStyle, $colorBgContainer: token.colorBgContainer, $colorBorder: token.colorBorder, children: [
|
|
79731
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.Header, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.Title, { $colorText: token.colorText, children: title }) }),
|
|
79732
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.ChartContainer, { children: [
|
|
79733
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.ChartWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.ChartInner, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ResponsiveContainer, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ComposedChart, { data: chartData, margin: { top: 8, right: 12, left: 12, bottom: 0 }, children: [
|
|
79731
79734
|
/* @__PURE__ */ jsxRuntimeExports.jsx(XAxis, { dataKey: "index", hide: true }),
|
|
79732
79735
|
/* @__PURE__ */ jsxRuntimeExports.jsx(YAxis, { hide: true, domain: yDomain, padding: { top: 6, bottom: 24 } }),
|
|
79733
79736
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -79751,9 +79754,9 @@ const UsageGraphCard = ({
|
|
|
79751
79754
|
}
|
|
79752
79755
|
)
|
|
79753
79756
|
] }) }) }) }),
|
|
79754
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79757
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.ChartOverlay, { $isDark: isDark })
|
|
79755
79758
|
] }),
|
|
79756
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79759
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.GradientBarWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.GradientBarContainer, { children: [
|
|
79757
79760
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79758
79761
|
Tooltip$1,
|
|
79759
79762
|
{
|
|
@@ -79765,7 +79768,7 @@ const UsageGraphCard = ({
|
|
|
79765
79768
|
body: { padding: 0, borderRadius: 6 }
|
|
79766
79769
|
},
|
|
79767
79770
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79768
|
-
Styled$
|
|
79771
|
+
Styled$o.GradientBar,
|
|
79769
79772
|
{
|
|
79770
79773
|
$minColor: minColor,
|
|
79771
79774
|
$midColor: midColor,
|
|
@@ -79775,12 +79778,12 @@ const UsageGraphCard = ({
|
|
|
79775
79778
|
)
|
|
79776
79779
|
}
|
|
79777
79780
|
),
|
|
79778
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79779
|
-
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79780
|
-
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79781
|
-
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79781
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$o.BadgesContainer, { ref: badgesContainerRef, children: [
|
|
79782
|
+
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.BarMarker, { $left: requestedPercent, $edgeAlign: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RequestedMarkerSvg, {}) }),
|
|
79783
|
+
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.BarMarker, { $left: usedPercent, $flipX: true, $paddingTop: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(UsedMarkerSvg, {}) }),
|
|
79784
|
+
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.BarMarker, { $left: limitPercent, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LimitMarkerSvg, {}) }),
|
|
79782
79785
|
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79783
|
-
Styled$
|
|
79786
|
+
Styled$o.UsedBadge,
|
|
79784
79787
|
{
|
|
79785
79788
|
ref: usedBadgeRef,
|
|
79786
79789
|
$left: clampedUsedPercent ?? usedPercent,
|
|
@@ -79802,7 +79805,7 @@ const UsageGraphCard = ({
|
|
|
79802
79805
|
}
|
|
79803
79806
|
),
|
|
79804
79807
|
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79805
|
-
Styled$
|
|
79808
|
+
Styled$o.MarkerLabel,
|
|
79806
79809
|
{
|
|
79807
79810
|
ref: requestedLabelRef,
|
|
79808
79811
|
$left: clampedRequestedPercent ?? requestedPercent,
|
|
@@ -79823,7 +79826,7 @@ const UsageGraphCard = ({
|
|
|
79823
79826
|
}
|
|
79824
79827
|
),
|
|
79825
79828
|
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79826
|
-
Styled$
|
|
79829
|
+
Styled$o.MarkerLabel,
|
|
79827
79830
|
{
|
|
79828
79831
|
ref: limitLabelRef,
|
|
79829
79832
|
$left: limitPercent,
|
|
@@ -79891,7 +79894,7 @@ const IconButton = styled(Button)`
|
|
|
79891
79894
|
font-size: 16px;
|
|
79892
79895
|
}
|
|
79893
79896
|
`;
|
|
79894
|
-
const Styled$
|
|
79897
|
+
const Styled$n = {
|
|
79895
79898
|
IconWrapper,
|
|
79896
79899
|
IconScaler,
|
|
79897
79900
|
IconButton
|
|
@@ -79941,7 +79944,7 @@ const buildEditUrl = (props, fullPath) => {
|
|
|
79941
79944
|
};
|
|
79942
79945
|
const getActionIcon = (action) => {
|
|
79943
79946
|
if (action.props.iconBase64Encoded) {
|
|
79944
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79947
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.IconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.IconScaler, { children: renderIcon$1(action.props.iconBase64Encoded, "currentColor") }) });
|
|
79945
79948
|
}
|
|
79946
79949
|
if (action.props.icon) {
|
|
79947
79950
|
return renderAntIcon(action.props.icon);
|
|
@@ -81364,7 +81367,7 @@ const ActionsDropdown = ({ data, children }) => {
|
|
|
81364
81367
|
};
|
|
81365
81368
|
const renderButton = () => {
|
|
81366
81369
|
if (buttonVariant === "icon") {
|
|
81367
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
81370
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.IconButton, { type: "text", size: "small", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(MoreOutlined, {}) });
|
|
81368
81371
|
}
|
|
81369
81372
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Button, { children: [
|
|
81370
81373
|
buttonText,
|
|
@@ -81997,6 +82000,16 @@ const Volumes = ({ data, children }) => {
|
|
|
81997
82000
|
] });
|
|
81998
82001
|
};
|
|
81999
82002
|
|
|
82003
|
+
const CenteredResultWrapper = styled.div`
|
|
82004
|
+
display: flex;
|
|
82005
|
+
align-items: center;
|
|
82006
|
+
justify-content: center;
|
|
82007
|
+
flex: 1;
|
|
82008
|
+
`;
|
|
82009
|
+
const Styled$m = {
|
|
82010
|
+
CenteredResultWrapper
|
|
82011
|
+
};
|
|
82012
|
+
|
|
82000
82013
|
const AntdResult = ({ data, children }) => {
|
|
82001
82014
|
const { data: multiQueryData, isLoading, getErrorForReq } = useMultiQuery();
|
|
82002
82015
|
const partsOfUrl = usePartsOfUrl();
|
|
@@ -82017,7 +82030,7 @@ const AntdResult = ({ data, children }) => {
|
|
|
82017
82030
|
const status = data.status ?? result.resultStatus;
|
|
82018
82031
|
const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
|
|
82019
82032
|
const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : result.message;
|
|
82020
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status, title, subTitle, style: data.style });
|
|
82033
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status, title, subTitle, style: data.style }) });
|
|
82021
82034
|
}
|
|
82022
82035
|
if (Array.isArray(data.reqIndex)) {
|
|
82023
82036
|
const worst = findWorstError(data.reqIndex, multiQueryData, getErrorForReq, shouldCheckEmpty, data.itemsPath);
|
|
@@ -82027,11 +82040,11 @@ const AntdResult = ({ data, children }) => {
|
|
|
82027
82040
|
const status = data.status ?? worst.resultStatus;
|
|
82028
82041
|
const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
|
|
82029
82042
|
const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : worst.message;
|
|
82030
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status, title, subTitle, style: data.style });
|
|
82043
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status, title, subTitle, style: data.style }) });
|
|
82031
82044
|
}
|
|
82032
82045
|
const parsedTitle = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : void 0;
|
|
82033
82046
|
const parsedSubTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : void 0;
|
|
82034
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children });
|
|
82047
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children }) });
|
|
82035
82048
|
};
|
|
82036
82049
|
|
|
82037
82050
|
const DynamicComponents = {
|
|
@@ -91833,5 +91846,5 @@ const usePluginManifest = ({
|
|
|
91833
91846
|
});
|
|
91834
91847
|
};
|
|
91835
91848
|
|
|
91836
|
-
export {
|
|
91837
|
-
//# sourceMappingURL=index-
|
|
91849
|
+
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 };
|
|
91850
|
+
//# sourceMappingURL=index-CsX6kgUW.mjs.map
|