@prorobotech/openapi-k8s-toolkit 1.4.0-alpha.37 → 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-w_KvQ6Y8.mjs → index-CsX6kgUW.mjs} +114 -101
- package/dist/index-CsX6kgUW.mjs.map +1 -0
- package/dist/{index-tD3u743C.mjs → index-CzQj3qRA.mjs} +2 -2
- package/dist/{index-tD3u743C.mjs.map → index-CzQj3qRA.mjs.map} +1 -1
- package/dist/openapi-k8s-toolkit.es.js +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +112 -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/package.json +1 -1
- package/dist/index-w_KvQ6Y8.mjs.map +0 -1
|
@@ -1593,7 +1593,7 @@
|
|
|
1593
1593
|
justify-content: center;
|
|
1594
1594
|
}
|
|
1595
1595
|
`;
|
|
1596
|
-
const Styled$
|
|
1596
|
+
const Styled$L = {
|
|
1597
1597
|
CustomTreeProvider
|
|
1598
1598
|
};
|
|
1599
1599
|
|
|
@@ -1658,7 +1658,7 @@
|
|
|
1658
1658
|
});
|
|
1659
1659
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
1660
1660
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Search$1, { style: { marginBottom: 8 }, placeholder: "Search", onChange }),
|
|
1661
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
1661
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$L.CustomTreeProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1662
1662
|
antd.Tree,
|
|
1663
1663
|
{
|
|
1664
1664
|
treeData: loop(treeData),
|
|
@@ -8273,14 +8273,14 @@
|
|
|
8273
8273
|
display: ${({ $displayFlex }) => $displayFlex ? "flex" : "block"};
|
|
8274
8274
|
flex-flow: ${({ $flexFlow }) => $flexFlow};
|
|
8275
8275
|
`;
|
|
8276
|
-
const Styled$
|
|
8276
|
+
const Styled$K = {
|
|
8277
8277
|
ContentContainer
|
|
8278
8278
|
};
|
|
8279
8279
|
|
|
8280
8280
|
const ContentCard$1 = ({ children, flexGrow, displayFlex, flexFlow, maxHeight }) => {
|
|
8281
8281
|
const { token } = antd.theme.useToken();
|
|
8282
8282
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8283
|
-
Styled$
|
|
8283
|
+
Styled$K.ContentContainer,
|
|
8284
8284
|
{
|
|
8285
8285
|
$flexGrow: flexGrow,
|
|
8286
8286
|
$bgColor: token.colorBgContainer,
|
|
@@ -8341,13 +8341,13 @@
|
|
|
8341
8341
|
padding-inline: 8px;
|
|
8342
8342
|
}
|
|
8343
8343
|
`;
|
|
8344
|
-
const Styled$
|
|
8344
|
+
const Styled$J = {
|
|
8345
8345
|
UncontrolledSelect: UncontrolledSelect$1
|
|
8346
8346
|
};
|
|
8347
8347
|
|
|
8348
8348
|
const UncontrolledSelect = (props) => {
|
|
8349
8349
|
const { isCursorPointer } = props;
|
|
8350
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8350
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$J.UncontrolledSelect, { ...props, $isCursorPointer: isCursorPointer });
|
|
8351
8351
|
};
|
|
8352
8352
|
|
|
8353
8353
|
const CustomSelect$5 = styled(antd.Select)`
|
|
@@ -8395,13 +8395,13 @@
|
|
|
8395
8395
|
margin-block: 0 !important;
|
|
8396
8396
|
}
|
|
8397
8397
|
`;
|
|
8398
|
-
const Styled$
|
|
8398
|
+
const Styled$I = {
|
|
8399
8399
|
CustomSelect: CustomSelect$5
|
|
8400
8400
|
};
|
|
8401
8401
|
|
|
8402
8402
|
const CustomSelect$4 = (props) => {
|
|
8403
8403
|
const { paddingContainerEnd, ...rest } = props;
|
|
8404
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8404
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$I.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
|
|
8405
8405
|
};
|
|
8406
8406
|
|
|
8407
8407
|
const CursorPointerTag = styled(antd.Tag)`
|
|
@@ -8415,6 +8415,9 @@
|
|
|
8415
8415
|
|
|
8416
8416
|
const CursorDefaultDiv = styled.div`
|
|
8417
8417
|
cursor: ${({ $default }) => $default ? "default" : "inherit"};
|
|
8418
|
+
flex: 1;
|
|
8419
|
+
display: flex;
|
|
8420
|
+
flex-direction: column;
|
|
8418
8421
|
`;
|
|
8419
8422
|
|
|
8420
8423
|
const PaddingContainer = styled.div`
|
|
@@ -8548,7 +8551,7 @@
|
|
|
8548
8551
|
height: min-content;
|
|
8549
8552
|
margin-right: 4px;
|
|
8550
8553
|
`;
|
|
8551
|
-
const Styled$
|
|
8554
|
+
const Styled$H = {
|
|
8552
8555
|
Abbr: Abbr$2
|
|
8553
8556
|
};
|
|
8554
8557
|
|
|
@@ -8588,7 +8591,7 @@
|
|
|
8588
8591
|
baseFactoriesMapping
|
|
8589
8592
|
});
|
|
8590
8593
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { align: "center", gap: 8, children: [
|
|
8591
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
8594
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$H.Abbr, { $bgColor: bgColor, children: abbr }),
|
|
8592
8595
|
resourceLink ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
8593
8596
|
antd.Typography.Link,
|
|
8594
8597
|
{
|
|
@@ -9672,7 +9675,7 @@
|
|
|
9672
9675
|
flex-wrap: nowrap !important;
|
|
9673
9676
|
}
|
|
9674
9677
|
`;
|
|
9675
|
-
const Styled$
|
|
9678
|
+
const Styled$G = {
|
|
9676
9679
|
PositionRelativeContainer,
|
|
9677
9680
|
FullWidthContainer,
|
|
9678
9681
|
NoWrapContainer
|
|
@@ -9715,9 +9718,9 @@
|
|
|
9715
9718
|
};
|
|
9716
9719
|
return [firstItem, ellipsisItem, lastItem];
|
|
9717
9720
|
};
|
|
9718
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
9719
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9720
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9721
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$G.PositionRelativeContainer, { children: [
|
|
9722
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$G.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Breadcrumb, { separator: ">", items: renderItems() }) }),
|
|
9723
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$G.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
|
|
9721
9724
|
] });
|
|
9722
9725
|
};
|
|
9723
9726
|
|
|
@@ -9725,12 +9728,12 @@
|
|
|
9725
9728
|
min-height: 22px;
|
|
9726
9729
|
width: 100%;
|
|
9727
9730
|
`;
|
|
9728
|
-
const Styled$
|
|
9731
|
+
const Styled$F = {
|
|
9729
9732
|
HeightDiv: HeightDiv$1
|
|
9730
9733
|
};
|
|
9731
9734
|
|
|
9732
9735
|
const ManageableBreadcrumbs = ({ data }) => {
|
|
9733
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9736
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$F.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
|
|
9734
9737
|
};
|
|
9735
9738
|
|
|
9736
9739
|
const prepareTemplate = ({
|
|
@@ -9789,7 +9792,7 @@
|
|
|
9789
9792
|
min-height: 22px;
|
|
9790
9793
|
width: 100%;
|
|
9791
9794
|
`;
|
|
9792
|
-
const Styled$
|
|
9795
|
+
const Styled$E = {
|
|
9793
9796
|
HeightDiv
|
|
9794
9797
|
};
|
|
9795
9798
|
|
|
@@ -9819,7 +9822,7 @@
|
|
|
9819
9822
|
return null;
|
|
9820
9823
|
}
|
|
9821
9824
|
if (rawDataLoading) {
|
|
9822
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9825
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
|
|
9823
9826
|
}
|
|
9824
9827
|
if (!rawData) {
|
|
9825
9828
|
return null;
|
|
@@ -9835,7 +9838,7 @@
|
|
|
9835
9838
|
fallbackIdToCompare
|
|
9836
9839
|
});
|
|
9837
9840
|
if (!result) {
|
|
9838
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
9841
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.HeightDiv, {});
|
|
9839
9842
|
}
|
|
9840
9843
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ManageableBreadcrumbs, { data: result }, JSON.stringify(idToCompare));
|
|
9841
9844
|
};
|
|
@@ -9863,7 +9866,7 @@
|
|
|
9863
9866
|
margin: 0 !important;
|
|
9864
9867
|
}
|
|
9865
9868
|
`;
|
|
9866
|
-
const Styled$
|
|
9869
|
+
const Styled$D = {
|
|
9867
9870
|
CustomMenu
|
|
9868
9871
|
};
|
|
9869
9872
|
|
|
@@ -9890,7 +9893,7 @@
|
|
|
9890
9893
|
setSelectedKeys(data.selectedKeys);
|
|
9891
9894
|
}, [data.selectedKeys]);
|
|
9892
9895
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9893
|
-
Styled$
|
|
9896
|
+
Styled$D.CustomMenu,
|
|
9894
9897
|
{
|
|
9895
9898
|
selectedKeys,
|
|
9896
9899
|
onSelect: () => {
|
|
@@ -34464,7 +34467,7 @@
|
|
|
34464
34467
|
white-space: nowrap;
|
|
34465
34468
|
text-overflow: ellipsis;
|
|
34466
34469
|
`;
|
|
34467
|
-
const Styled$
|
|
34470
|
+
const Styled$C = {
|
|
34468
34471
|
ShortenedText
|
|
34469
34472
|
};
|
|
34470
34473
|
|
|
@@ -34473,7 +34476,7 @@
|
|
|
34473
34476
|
const trimmedText = text.substring(0, trimLength);
|
|
34474
34477
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: text, placement: "top", children: trimmedText });
|
|
34475
34478
|
}
|
|
34476
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34479
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.ShortenedText, { $maxWidth: maxWidth, children: text }) });
|
|
34477
34480
|
};
|
|
34478
34481
|
|
|
34479
34482
|
const FilterDropdown = ({
|
|
@@ -34624,16 +34627,16 @@
|
|
|
34624
34627
|
overflow: hidden;
|
|
34625
34628
|
text-overflow: ellipsis;
|
|
34626
34629
|
`;
|
|
34627
|
-
const Styled$
|
|
34630
|
+
const Styled$B = {
|
|
34628
34631
|
TableTag,
|
|
34629
34632
|
TooltipTagsContainer,
|
|
34630
34633
|
TooltipTag
|
|
34631
34634
|
};
|
|
34632
34635
|
|
|
34633
34636
|
const TrimmedTags = ({ tags, trimLength }) => {
|
|
34634
|
-
const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34637
|
+
const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.TableTag, { children: tag }, tag));
|
|
34635
34638
|
const popoverTheme = { components: { Popover: { zIndexPopup: 2100 } } };
|
|
34636
|
-
const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
34639
|
+
const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.TooltipTagsContainer, { vertical: true, gap: 4, children: tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.TooltipTag, { children: tag }, tag)) });
|
|
34637
34640
|
if (trimLength && trimLength < tags.length) {
|
|
34638
34641
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { wrap: "nowrap", gap: "4px", children: [
|
|
34639
34642
|
renderTableTags(tags.slice(0, trimLength)),
|
|
@@ -34642,7 +34645,7 @@
|
|
|
34642
34645
|
{
|
|
34643
34646
|
content: renderTooltipTags(tags.slice(trimLength)),
|
|
34644
34647
|
styles: { root: { maxWidth: "min(95vw, 900px)" } },
|
|
34645
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
34648
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$B.TableTag, { children: [
|
|
34646
34649
|
"+",
|
|
34647
34650
|
tags.length - trimLength
|
|
34648
34651
|
] }, "more")
|
|
@@ -43778,7 +43781,7 @@
|
|
|
43778
43781
|
font-size: 16px;
|
|
43779
43782
|
line-height: 24px;
|
|
43780
43783
|
`;
|
|
43781
|
-
const Styled$
|
|
43784
|
+
const Styled$A = {
|
|
43782
43785
|
BorderRadiusContainer: BorderRadiusContainer$1,
|
|
43783
43786
|
ControlsRowContainer: ControlsRowContainer$1,
|
|
43784
43787
|
BigText: BigText$1
|
|
@@ -44008,7 +44011,7 @@
|
|
|
44008
44011
|
};
|
|
44009
44012
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
44010
44013
|
contextHolder,
|
|
44011
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44014
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.BorderRadiusContainer, { $designNewLayoutHeight: designNewLayoutHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
44012
44015
|
Ft$1,
|
|
44013
44016
|
{
|
|
44014
44017
|
defaultLanguage: "yaml",
|
|
@@ -44033,7 +44036,7 @@
|
|
|
44033
44036
|
}
|
|
44034
44037
|
}
|
|
44035
44038
|
) }),
|
|
44036
|
-
!readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44039
|
+
!readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
|
|
44037
44040
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { type: "primary", onClick: onSubmit, loading: isLoading, disabled: canEdit === false, children: "Submit" }),
|
|
44038
44041
|
backlink && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { onClick: () => navigate(backlink), children: "Cancel" }),
|
|
44039
44042
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { onClick: handleReload, children: "Reload" })
|
|
@@ -44044,7 +44047,7 @@
|
|
|
44044
44047
|
open: !!error,
|
|
44045
44048
|
onOk: () => setError(void 0),
|
|
44046
44049
|
onCancel: () => setError(void 0),
|
|
44047
|
-
title: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44050
|
+
title: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.BigText, { children: "Error!" }) }),
|
|
44048
44051
|
cancelButtonProps: { style: { display: "none" } },
|
|
44049
44052
|
centered: true,
|
|
44050
44053
|
styles: {
|
|
@@ -44205,7 +44208,7 @@
|
|
|
44205
44208
|
const VisibilityContainer$1 = styled.div`
|
|
44206
44209
|
display: ${({ $hidden }) => $hidden ? "none" : "block"};
|
|
44207
44210
|
`;
|
|
44208
|
-
const Styled$
|
|
44211
|
+
const Styled$z = {
|
|
44209
44212
|
VisibilityContainer: VisibilityContainer$1
|
|
44210
44213
|
};
|
|
44211
44214
|
|
|
@@ -44255,7 +44258,7 @@
|
|
|
44255
44258
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
|
|
44256
44259
|
}
|
|
44257
44260
|
const shouldAutoHide = !criteria && (!valuePrepared || valuePrepared === "~undefined-value~");
|
|
44258
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44261
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$z.VisibilityContainer, { $hidden: shouldAutoHide || shouldHideByCriteria, children });
|
|
44259
44262
|
};
|
|
44260
44263
|
|
|
44261
44264
|
const unknownToString = (value) => {
|
|
@@ -44508,7 +44511,7 @@
|
|
|
44508
44511
|
display: ${({ $isOpen }) => $isOpen ? "block" : "none"};
|
|
44509
44512
|
padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
|
|
44510
44513
|
`;
|
|
44511
|
-
const Styled$
|
|
44514
|
+
const Styled$y = {
|
|
44512
44515
|
Container: Container$3,
|
|
44513
44516
|
TitleBar,
|
|
44514
44517
|
Content: Content$1
|
|
@@ -44535,14 +44538,14 @@
|
|
|
44535
44538
|
}
|
|
44536
44539
|
};
|
|
44537
44540
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
44538
|
-
Styled$
|
|
44541
|
+
Styled$y.Container,
|
|
44539
44542
|
{
|
|
44540
44543
|
$designNewLayout: designNewLayout,
|
|
44541
44544
|
$borderColor: token.colorBorder,
|
|
44542
44545
|
$bgColor: token.colorBgContainer,
|
|
44543
44546
|
children: [
|
|
44544
44547
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { justify: "space-between", children: [
|
|
44545
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
44548
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$y.TitleBar, { onClick: () => toggleCollapse(), children: [
|
|
44546
44549
|
!designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.CaretDownOutlined, { size: 14 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.CaretRightOutlined, { size: 14 }) }),
|
|
44547
44550
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: title }),
|
|
44548
44551
|
designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(DownIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(UpIcon, {}) })
|
|
@@ -44553,7 +44556,7 @@
|
|
|
44553
44556
|
persistedCheckbox
|
|
44554
44557
|
] })
|
|
44555
44558
|
] }),
|
|
44556
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44559
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$y.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
|
|
44557
44560
|
]
|
|
44558
44561
|
}
|
|
44559
44562
|
);
|
|
@@ -44587,13 +44590,13 @@
|
|
|
44587
44590
|
const Content = styled.div`
|
|
44588
44591
|
padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
|
|
44589
44592
|
`;
|
|
44590
|
-
const Styled$
|
|
44593
|
+
const Styled$x = {
|
|
44591
44594
|
Content
|
|
44592
44595
|
};
|
|
44593
44596
|
|
|
44594
44597
|
const ArrayInsideContainer = ({ children }) => {
|
|
44595
44598
|
const designNewLayout = useDesignNewLayout();
|
|
44596
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44599
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$x.Content, { $designNewLayout: designNewLayout, children });
|
|
44597
44600
|
};
|
|
44598
44601
|
|
|
44599
44602
|
const includesPath = (haystack, needle) => haystack.some((h) => h.length === needle.length && h.every((seg, i) => seg === String(needle[i])));
|
|
@@ -44762,7 +44765,7 @@
|
|
|
44762
44765
|
const ResetedFormList$3 = styled(antd.Form.List)`
|
|
44763
44766
|
margin-bottom: 8px;
|
|
44764
44767
|
`;
|
|
44765
|
-
const Styled$
|
|
44768
|
+
const Styled$w = {
|
|
44766
44769
|
ResetedFormList: ResetedFormList$3
|
|
44767
44770
|
};
|
|
44768
44771
|
|
|
@@ -44853,7 +44856,7 @@
|
|
|
44853
44856
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[3], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
44854
44857
|
] }),
|
|
44855
44858
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
44856
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
44859
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$w.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
44857
44860
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Row, { gutter: [16, 16], children: [
|
|
44858
44861
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
44859
44862
|
ResetedFormItem$1,
|
|
@@ -44914,7 +44917,7 @@
|
|
|
44914
44917
|
const ResetedFormList$2 = styled(antd.Form.List)`
|
|
44915
44918
|
margin-bottom: 8px;
|
|
44916
44919
|
`;
|
|
44917
|
-
const Styled$
|
|
44920
|
+
const Styled$v = {
|
|
44918
44921
|
ResetedFormList: ResetedFormList$2
|
|
44919
44922
|
};
|
|
44920
44923
|
|
|
@@ -45015,7 +45018,7 @@
|
|
|
45015
45018
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[4], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
45016
45019
|
] }),
|
|
45017
45020
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
45018
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
45021
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45019
45022
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Row, { gutter: [16, 16], children: [
|
|
45020
45023
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45021
45024
|
ResetedFormItem$1,
|
|
@@ -45107,7 +45110,7 @@
|
|
|
45107
45110
|
const ResetedFormList$1 = styled(antd.Form.List)`
|
|
45108
45111
|
margin-bottom: 8px;
|
|
45109
45112
|
`;
|
|
45110
|
-
const Styled$
|
|
45113
|
+
const Styled$u = {
|
|
45111
45114
|
ResetedFormList: ResetedFormList$1
|
|
45112
45115
|
};
|
|
45113
45116
|
|
|
@@ -45203,7 +45206,7 @@
|
|
|
45203
45206
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[2], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
|
|
45204
45207
|
] }),
|
|
45205
45208
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
|
|
45206
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
45209
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
45207
45210
|
fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Row, { gutter: [16, 16], children: [
|
|
45208
45211
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
45209
45212
|
ResetedFormItem$1,
|
|
@@ -47281,7 +47284,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47281
47284
|
margin-bottom: 0 !important;
|
|
47282
47285
|
}
|
|
47283
47286
|
`;
|
|
47284
|
-
const Styled$
|
|
47287
|
+
const Styled$t = {
|
|
47285
47288
|
NoSelect,
|
|
47286
47289
|
DisabledInput,
|
|
47287
47290
|
DisabledTextArea,
|
|
@@ -47399,8 +47402,8 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47399
47402
|
const shownValue = useNiceLooking ? value2 : effectiveHidden ? "" : value2;
|
|
47400
47403
|
const resolvedMultilineRows = resolveMultilineRows(value2, multilineRows);
|
|
47401
47404
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 8, ...flexProps, children: [
|
|
47402
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47403
|
-
Styled$
|
|
47405
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NoSelect, { style: inputContainerStyle, children: useNiceLooking ? /* @__PURE__ */ jsxRuntimeExports.jsx(te, { theme, hidden: effectiveHidden, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47406
|
+
Styled$t.DisabledInput,
|
|
47404
47407
|
{
|
|
47405
47408
|
$hidden: effectiveHidden,
|
|
47406
47409
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47408,7 +47411,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47408
47411
|
readOnly: true
|
|
47409
47412
|
}
|
|
47410
47413
|
) }) : multiline ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47411
|
-
Styled$
|
|
47414
|
+
Styled$t.DisabledTextArea,
|
|
47412
47415
|
{
|
|
47413
47416
|
$hidden: effectiveHidden,
|
|
47414
47417
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47417,7 +47420,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47417
47420
|
readOnly: true
|
|
47418
47421
|
}
|
|
47419
47422
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
47420
|
-
Styled$
|
|
47423
|
+
Styled$t.DisabledInput,
|
|
47421
47424
|
{
|
|
47422
47425
|
$hidden: effectiveHidden,
|
|
47423
47426
|
onClick: (e) => handleInputClick(e, effectiveHidden, value2),
|
|
@@ -47440,13 +47443,13 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47440
47443
|
const secretsEntries = objectToRender ? Object.entries(objectToRender) : [];
|
|
47441
47444
|
if (secretsEntries.length === 0) {
|
|
47442
47445
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47443
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47446
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NotificationOverrides, {}),
|
|
47444
47447
|
emptyTextPrepared && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { style: textStyle, children: emptyTextPrepared }),
|
|
47445
47448
|
contextHolder
|
|
47446
47449
|
] });
|
|
47447
47450
|
}
|
|
47448
47451
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47449
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47452
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NotificationOverrides, {}),
|
|
47450
47453
|
/* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: secretsEntries.map(([key, rawValue]) => {
|
|
47451
47454
|
const parsedValue = parseAll({
|
|
47452
47455
|
text: typeof rawValue === "string" ? rawValue : String(rawValue),
|
|
@@ -47472,7 +47475,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47472
47475
|
] });
|
|
47473
47476
|
}
|
|
47474
47477
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
|
|
47475
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47478
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NotificationOverrides, {}),
|
|
47476
47479
|
renderSecretField({
|
|
47477
47480
|
value: decodedText,
|
|
47478
47481
|
isHidden: hidden,
|
|
@@ -47495,7 +47498,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47495
47498
|
letter-spacing: 0.02em;
|
|
47496
47499
|
box-sizing: content-box;
|
|
47497
47500
|
`;
|
|
47498
|
-
const Styled$
|
|
47501
|
+
const Styled$s = {
|
|
47499
47502
|
RoundSpan
|
|
47500
47503
|
};
|
|
47501
47504
|
|
|
@@ -47532,7 +47535,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
|
|
|
47532
47535
|
multiQueryData
|
|
47533
47536
|
}) : getUppercase(parsedValue);
|
|
47534
47537
|
const bgColor = hslFromString(parsedValue, theme);
|
|
47535
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
47538
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.RoundSpan, { $bgColor: bgColor, style, children: parsedAbbreviation });
|
|
47536
47539
|
};
|
|
47537
47540
|
|
|
47538
47541
|
const serializeLabelsWithNoEncoding = (input) => {
|
|
@@ -78239,7 +78242,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
78239
78242
|
}
|
|
78240
78243
|
}
|
|
78241
78244
|
`;
|
|
78242
|
-
const Styled$
|
|
78245
|
+
const Styled$r = {
|
|
78243
78246
|
TitleSelect
|
|
78244
78247
|
};
|
|
78245
78248
|
|
|
@@ -78324,7 +78327,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
78324
78327
|
}
|
|
78325
78328
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
78326
78329
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
78327
|
-
Styled$
|
|
78330
|
+
Styled$r.TitleSelect,
|
|
78328
78331
|
{
|
|
78329
78332
|
value: currentValuePrepared,
|
|
78330
78333
|
onChange: handleChange,
|
|
@@ -78911,7 +78914,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
78911
78914
|
const HiddenContainer = styled.div`
|
|
78912
78915
|
display: ${({ $isHidden }) => $isHidden ? "none" : "auto"};
|
|
78913
78916
|
`;
|
|
78914
|
-
const Styled$
|
|
78917
|
+
const Styled$q = {
|
|
78915
78918
|
Card: Card$1,
|
|
78916
78919
|
CardTitle,
|
|
78917
78920
|
CardNumber,
|
|
@@ -78990,7 +78993,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
78990
78993
|
const jsonRoot = multiQueryData[`req${counter.props.reqIndex}`];
|
|
78991
78994
|
if (jsonRoot === void 0) {
|
|
78992
78995
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
78993
|
-
Styled$
|
|
78996
|
+
Styled$q.Card,
|
|
78994
78997
|
{
|
|
78995
78998
|
$colorBorder: token.colorBorder,
|
|
78996
78999
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79005,15 +79008,15 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79005
79008
|
children: [
|
|
79006
79009
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 4, vertical: true, children: [
|
|
79007
79010
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79008
|
-
Styled$
|
|
79011
|
+
Styled$q.CardTitle,
|
|
79009
79012
|
{
|
|
79010
79013
|
$colorTextDescription: token.colorTextDescription,
|
|
79011
79014
|
children: `Counter: ${id}: No root for json path`
|
|
79012
79015
|
}
|
|
79013
79016
|
),
|
|
79014
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79017
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardNumber, { $colorText: token.colorText, children: "-" })
|
|
79015
79018
|
] }),
|
|
79016
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79019
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79017
79020
|
]
|
|
79018
79021
|
}
|
|
79019
79022
|
);
|
|
@@ -79023,7 +79026,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79023
79026
|
const { counter: counterToDisplay, error: errorParsingCounter } = counter.type === "item" ? getItemCounterItemsInside(anythingForNow) : getKeyCounterItemsInside(anythingForNow);
|
|
79024
79027
|
if (errorParsingCounter) {
|
|
79025
79028
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79026
|
-
Styled$
|
|
79029
|
+
Styled$q.Card,
|
|
79027
79030
|
{
|
|
79028
79031
|
$colorBorder: token.colorBorder,
|
|
79029
79032
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79037,10 +79040,10 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79037
79040
|
},
|
|
79038
79041
|
children: [
|
|
79039
79042
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 4, vertical: true, children: [
|
|
79040
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79041
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79043
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardTitle, { $colorTextDescription: token.colorTextDescription, children: errorParsingCounter }),
|
|
79044
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardNumber, { $colorText: token.colorText, children: "-" })
|
|
79042
79045
|
] }),
|
|
79043
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79046
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79044
79047
|
]
|
|
79045
79048
|
}
|
|
79046
79049
|
);
|
|
@@ -79048,7 +79051,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79048
79051
|
const parsedText = parseAll({ text, replaceValues, multiQueryData });
|
|
79049
79052
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
79050
79053
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79051
|
-
Styled$
|
|
79054
|
+
Styled$q.Card,
|
|
79052
79055
|
{
|
|
79053
79056
|
$colorBorder: token.colorBorder,
|
|
79054
79057
|
$colorBgContainer: token.colorBgContainer,
|
|
@@ -79062,14 +79065,14 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79062
79065
|
},
|
|
79063
79066
|
children: [
|
|
79064
79067
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 4, vertical: true, children: [
|
|
79065
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79066
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79068
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardTitle, { $colorTextDescription: token.colorTextDescription, children: parsedText }),
|
|
79069
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardNumber, { $colorText: token.colorText, children: counterToDisplay })
|
|
79067
79070
|
] }),
|
|
79068
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79071
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
|
|
79069
79072
|
]
|
|
79070
79073
|
}
|
|
79071
79074
|
),
|
|
79072
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79075
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.HiddenContainer, { $isHidden: !open, children: canOpenActiveType && renderActiveType(activeType, {
|
|
79073
79076
|
open,
|
|
79074
79077
|
onClose: () => setOpen(false),
|
|
79075
79078
|
disableSubmit: !canSubmitActiveType
|
|
@@ -79498,7 +79501,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79498
79501
|
white-space: nowrap;
|
|
79499
79502
|
z-index: 3;
|
|
79500
79503
|
`;
|
|
79501
|
-
const Styled$
|
|
79504
|
+
const Styled$p = {
|
|
79502
79505
|
TooltipContent,
|
|
79503
79506
|
TooltipRow,
|
|
79504
79507
|
TooltipDot,
|
|
@@ -79648,17 +79651,17 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79648
79651
|
const usedPercent = clampPercent(resolvedUsed ?? NaN, resolvedLimit ?? NaN);
|
|
79649
79652
|
const limitPercent = 100;
|
|
79650
79653
|
const gradientMidStop = `${requestedPercent.toFixed(2)}%`;
|
|
79651
|
-
const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79652
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79653
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79654
|
+
const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipContent, { $colorInfoBgHover: token.colorInfoBgHover, children: [
|
|
79655
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipRow, { $colorText: token.colorText, children: [
|
|
79656
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.TooltipDot, { $color: "#5EDBBD" }),
|
|
79654
79657
|
"Requested"
|
|
79655
79658
|
] }),
|
|
79656
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79657
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79659
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipRow, { $colorText: token.colorText, children: [
|
|
79660
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.TooltipDot, { $color: "#FF1C1C" }),
|
|
79658
79661
|
"Used"
|
|
79659
79662
|
] }),
|
|
79660
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79661
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79663
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipRow, { $colorText: token.colorText, children: [
|
|
79664
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.TooltipDot, { $color: "#FD9125" }),
|
|
79662
79665
|
"Limit"
|
|
79663
79666
|
] })
|
|
79664
79667
|
] });
|
|
@@ -79739,10 +79742,10 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79739
79742
|
if (shouldShowError) {
|
|
79740
79743
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
|
|
79741
79744
|
}
|
|
79742
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79743
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79744
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79745
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79745
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.Wrapper, { style: containerStyle, $colorBgContainer: token.colorBgContainer, $colorBorder: token.colorBorder, children: [
|
|
79746
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.Header, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.Title, { $colorText: token.colorText, children: title }) }),
|
|
79747
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.ChartContainer, { children: [
|
|
79748
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.ChartWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.ChartInner, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ResponsiveContainer, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ComposedChart, { data: chartData, margin: { top: 8, right: 12, left: 12, bottom: 0 }, children: [
|
|
79746
79749
|
/* @__PURE__ */ jsxRuntimeExports.jsx(XAxis, { dataKey: "index", hide: true }),
|
|
79747
79750
|
/* @__PURE__ */ jsxRuntimeExports.jsx(YAxis, { hide: true, domain: yDomain, padding: { top: 6, bottom: 24 } }),
|
|
79748
79751
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -79766,9 +79769,9 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79766
79769
|
}
|
|
79767
79770
|
)
|
|
79768
79771
|
] }) }) }) }),
|
|
79769
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79772
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.ChartOverlay, { $isDark: isDark })
|
|
79770
79773
|
] }),
|
|
79771
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79774
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.GradientBarWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.GradientBarContainer, { children: [
|
|
79772
79775
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79773
79776
|
antd.Tooltip,
|
|
79774
79777
|
{
|
|
@@ -79780,7 +79783,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79780
79783
|
body: { padding: 0, borderRadius: 6 }
|
|
79781
79784
|
},
|
|
79782
79785
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
79783
|
-
Styled$
|
|
79786
|
+
Styled$p.GradientBar,
|
|
79784
79787
|
{
|
|
79785
79788
|
$minColor: minColor,
|
|
79786
79789
|
$midColor: midColor,
|
|
@@ -79790,12 +79793,12 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79790
79793
|
)
|
|
79791
79794
|
}
|
|
79792
79795
|
),
|
|
79793
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$
|
|
79794
|
-
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79795
|
-
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79796
|
-
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79796
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.BadgesContainer, { ref: badgesContainerRef, children: [
|
|
79797
|
+
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.BarMarker, { $left: requestedPercent, $edgeAlign: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RequestedMarkerSvg, {}) }),
|
|
79798
|
+
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.BarMarker, { $left: usedPercent, $flipX: true, $paddingTop: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(UsedMarkerSvg, {}) }),
|
|
79799
|
+
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.BarMarker, { $left: limitPercent, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LimitMarkerSvg, {}) }),
|
|
79797
79800
|
resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79798
|
-
Styled$
|
|
79801
|
+
Styled$p.UsedBadge,
|
|
79799
79802
|
{
|
|
79800
79803
|
ref: usedBadgeRef,
|
|
79801
79804
|
$left: clampedUsedPercent ?? usedPercent,
|
|
@@ -79817,7 +79820,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79817
79820
|
}
|
|
79818
79821
|
),
|
|
79819
79822
|
resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79820
|
-
Styled$
|
|
79823
|
+
Styled$p.MarkerLabel,
|
|
79821
79824
|
{
|
|
79822
79825
|
ref: requestedLabelRef,
|
|
79823
79826
|
$left: clampedRequestedPercent ?? requestedPercent,
|
|
@@ -79838,7 +79841,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79838
79841
|
}
|
|
79839
79842
|
),
|
|
79840
79843
|
resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
79841
|
-
Styled$
|
|
79844
|
+
Styled$p.MarkerLabel,
|
|
79842
79845
|
{
|
|
79843
79846
|
ref: limitLabelRef,
|
|
79844
79847
|
$left: limitPercent,
|
|
@@ -79906,7 +79909,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79906
79909
|
font-size: 16px;
|
|
79907
79910
|
}
|
|
79908
79911
|
`;
|
|
79909
|
-
const Styled$
|
|
79912
|
+
const Styled$o = {
|
|
79910
79913
|
IconWrapper,
|
|
79911
79914
|
IconScaler,
|
|
79912
79915
|
IconButton
|
|
@@ -79956,7 +79959,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
79956
79959
|
};
|
|
79957
79960
|
const getActionIcon = (action) => {
|
|
79958
79961
|
if (action.props.iconBase64Encoded) {
|
|
79959
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
79962
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.IconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.IconScaler, { children: renderIcon$1(action.props.iconBase64Encoded, "currentColor") }) });
|
|
79960
79963
|
}
|
|
79961
79964
|
if (action.props.icon) {
|
|
79962
79965
|
return renderAntIcon(action.props.icon);
|
|
@@ -81379,7 +81382,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
81379
81382
|
};
|
|
81380
81383
|
const renderButton = () => {
|
|
81381
81384
|
if (buttonVariant === "icon") {
|
|
81382
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$
|
|
81385
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.IconButton, { type: "text", size: "small", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.MoreOutlined, {}) });
|
|
81383
81386
|
}
|
|
81384
81387
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Button, { children: [
|
|
81385
81388
|
buttonText,
|
|
@@ -82012,6 +82015,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
82012
82015
|
] });
|
|
82013
82016
|
};
|
|
82014
82017
|
|
|
82018
|
+
const CenteredResultWrapper = styled.div`
|
|
82019
|
+
display: flex;
|
|
82020
|
+
align-items: center;
|
|
82021
|
+
justify-content: center;
|
|
82022
|
+
flex: 1;
|
|
82023
|
+
`;
|
|
82024
|
+
const Styled$n = {
|
|
82025
|
+
CenteredResultWrapper
|
|
82026
|
+
};
|
|
82027
|
+
|
|
82015
82028
|
const AntdResult = ({ data, children }) => {
|
|
82016
82029
|
const { data: multiQueryData, isLoading, getErrorForReq } = useMultiQuery();
|
|
82017
82030
|
const partsOfUrl = usePartsOfUrl();
|
|
@@ -82032,7 +82045,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
82032
82045
|
const status = data.status ?? result.resultStatus;
|
|
82033
82046
|
const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
|
|
82034
82047
|
const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : result.message;
|
|
82035
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style });
|
|
82048
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style }) });
|
|
82036
82049
|
}
|
|
82037
82050
|
if (Array.isArray(data.reqIndex)) {
|
|
82038
82051
|
const worst = findWorstError(data.reqIndex, multiQueryData, getErrorForReq, shouldCheckEmpty, data.itemsPath);
|
|
@@ -82042,11 +82055,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
|
|
82042
82055
|
const status = data.status ?? worst.resultStatus;
|
|
82043
82056
|
const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
|
|
82044
82057
|
const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : worst.message;
|
|
82045
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style });
|
|
82058
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style }) });
|
|
82046
82059
|
}
|
|
82047
82060
|
const parsedTitle = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : void 0;
|
|
82048
82061
|
const parsedSubTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : void 0;
|
|
82049
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children });
|
|
82062
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children }) });
|
|
82050
82063
|
};
|
|
82051
82064
|
|
|
82052
82065
|
const DynamicComponents = {
|