@prorobotech/openapi-k8s-toolkit 1.5.0-alpha.3 → 1.5.0-alpha.5

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.
@@ -1593,7 +1593,7 @@
1593
1593
  justify-content: center;
1594
1594
  }
1595
1595
  `;
1596
- const Styled$M = {
1596
+ const Styled$O = {
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$M.CustomTreeProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
1661
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$O.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$L = {
8276
+ const Styled$N = {
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$L.ContentContainer,
8283
+ Styled$N.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$K = {
8344
+ const Styled$M = {
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$K.UncontrolledSelect, { ...props, $isCursorPointer: isCursorPointer });
8350
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$M.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$J = {
8398
+ const Styled$L = {
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$J.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
8404
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$L.CustomSelect, { $paddingContainerEnd: paddingContainerEnd, ...rest });
8405
8405
  };
8406
8406
 
8407
8407
  const CursorPointerTag = styled(antd.Tag)`
@@ -8551,7 +8551,7 @@
8551
8551
  height: min-content;
8552
8552
  margin-right: 4px;
8553
8553
  `;
8554
- const Styled$I = {
8554
+ const Styled$K = {
8555
8555
  Abbr: Abbr$2
8556
8556
  };
8557
8557
 
@@ -8591,7 +8591,7 @@
8591
8591
  baseFactoriesMapping
8592
8592
  });
8593
8593
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { align: "center", gap: 8, children: [
8594
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$I.Abbr, { $bgColor: bgColor, children: abbr }),
8594
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$K.Abbr, { $bgColor: bgColor, children: abbr }),
8595
8595
  resourceLink ? /* @__PURE__ */ jsxRuntimeExports.jsx(
8596
8596
  antd.Typography.Link,
8597
8597
  {
@@ -9675,7 +9675,7 @@
9675
9675
  flex-wrap: nowrap !important;
9676
9676
  }
9677
9677
  `;
9678
- const Styled$H = {
9678
+ const Styled$J = {
9679
9679
  PositionRelativeContainer,
9680
9680
  FullWidthContainer,
9681
9681
  NoWrapContainer
@@ -9718,9 +9718,9 @@
9718
9718
  };
9719
9719
  return [firstItem, ellipsisItem, lastItem];
9720
9720
  };
9721
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$H.PositionRelativeContainer, { children: [
9722
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$H.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Breadcrumb, { separator: ">", items: renderItems() }) }),
9723
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$H.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
9721
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$J.PositionRelativeContainer, { children: [
9722
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$J.FullWidthContainer, { ref: containerRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Breadcrumb, { separator: ">", items: renderItems() }) }),
9723
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$J.NoWrapContainer, { ref: breadcrumbRef, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Breadcrumb, { separator: ">", items, style: { display: "flex", flexWrap: "nowrap" } }) })
9724
9724
  ] });
9725
9725
  };
9726
9726
 
@@ -9728,12 +9728,12 @@
9728
9728
  min-height: 22px;
9729
9729
  width: 100%;
9730
9730
  `;
9731
- const Styled$G = {
9731
+ const Styled$I = {
9732
9732
  HeightDiv: HeightDiv$1
9733
9733
  };
9734
9734
 
9735
9735
  const ManageableBreadcrumbs = ({ data }) => {
9736
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$G.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
9736
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$I.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(CollapsibleBreadcrumb, { items: data.breadcrumbItems }) });
9737
9737
  };
9738
9738
 
9739
9739
  const prepareTemplate = ({
@@ -9792,7 +9792,7 @@
9792
9792
  min-height: 22px;
9793
9793
  width: 100%;
9794
9794
  `;
9795
- const Styled$F = {
9795
+ const Styled$H = {
9796
9796
  HeightDiv
9797
9797
  };
9798
9798
 
@@ -9822,7 +9822,7 @@
9822
9822
  return null;
9823
9823
  }
9824
9824
  if (rawDataLoading) {
9825
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$F.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
9825
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$H.HeightDiv, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
9826
9826
  }
9827
9827
  if (!rawData) {
9828
9828
  return null;
@@ -9838,7 +9838,7 @@
9838
9838
  fallbackIdToCompare
9839
9839
  });
9840
9840
  if (!result) {
9841
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$F.HeightDiv, {});
9841
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$H.HeightDiv, {});
9842
9842
  }
9843
9843
  return /* @__PURE__ */ jsxRuntimeExports.jsx(ManageableBreadcrumbs, { data: result }, JSON.stringify(idToCompare));
9844
9844
  };
@@ -9866,7 +9866,7 @@
9866
9866
  margin: 0 !important;
9867
9867
  }
9868
9868
  `;
9869
- const Styled$E = {
9869
+ const Styled$G = {
9870
9870
  CustomMenu
9871
9871
  };
9872
9872
 
@@ -9893,7 +9893,7 @@
9893
9893
  setSelectedKeys(data.selectedKeys);
9894
9894
  }, [data.selectedKeys]);
9895
9895
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
9896
- Styled$E.CustomMenu,
9896
+ Styled$G.CustomMenu,
9897
9897
  {
9898
9898
  selectedKeys,
9899
9899
  onSelect: () => {
@@ -34467,7 +34467,7 @@
34467
34467
  white-space: nowrap;
34468
34468
  text-overflow: ellipsis;
34469
34469
  `;
34470
- const Styled$D = {
34470
+ const Styled$F = {
34471
34471
  ShortenedText
34472
34472
  };
34473
34473
 
@@ -34476,7 +34476,7 @@
34476
34476
  const trimmedText = text.substring(0, trimLength);
34477
34477
  return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: text, placement: "top", children: trimmedText });
34478
34478
  }
34479
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.ShortenedText, { $maxWidth: maxWidth, children: text }) });
34479
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: text, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$F.ShortenedText, { $maxWidth: maxWidth, children: text }) });
34480
34480
  };
34481
34481
 
34482
34482
  const FilterDropdown = ({
@@ -34627,16 +34627,16 @@
34627
34627
  overflow: hidden;
34628
34628
  text-overflow: ellipsis;
34629
34629
  `;
34630
- const Styled$C = {
34630
+ const Styled$E = {
34631
34631
  TableTag,
34632
34632
  TooltipTagsContainer,
34633
34633
  TooltipTag
34634
34634
  };
34635
34635
 
34636
34636
  const TrimmedTags = ({ tags, trimLength }) => {
34637
- const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.TableTag, { children: tag }, tag));
34637
+ const renderTableTags = (tags2) => tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.TableTag, { children: tag }, tag));
34638
34638
  const popoverTheme = { components: { Popover: { zIndexPopup: 2100 } } };
34639
- const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.TooltipTagsContainer, { vertical: true, gap: 4, children: tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.TooltipTag, { children: tag }, tag)) });
34639
+ const renderTooltipTags = (tags2) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.TooltipTagsContainer, { vertical: true, gap: 4, children: tags2.map((tag) => /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$E.TooltipTag, { children: tag }, tag)) });
34640
34640
  if (trimLength && trimLength < tags.length) {
34641
34641
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { wrap: "nowrap", gap: "4px", children: [
34642
34642
  renderTableTags(tags.slice(0, trimLength)),
@@ -34645,7 +34645,7 @@
34645
34645
  {
34646
34646
  content: renderTooltipTags(tags.slice(trimLength)),
34647
34647
  styles: { root: { maxWidth: "min(95vw, 900px)" } },
34648
- children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$C.TableTag, { children: [
34648
+ children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$E.TableTag, { children: [
34649
34649
  "+",
34650
34650
  tags.length - trimLength
34651
34651
  ] }, "more")
@@ -36061,6 +36061,7 @@
36061
36061
  cluster,
36062
36062
  namespace,
36063
36063
  podName,
36064
+ containerName,
36064
36065
  substractHeight,
36065
36066
  ...props
36066
36067
  } = data;
@@ -36072,6 +36073,7 @@
36072
36073
  const clusterPrepared = parseAll({ text: cluster, replaceValues, multiQueryData });
36073
36074
  const namespacePrepared = parseAll({ text: namespace, replaceValues, multiQueryData });
36074
36075
  const podNamePrepared = parseAll({ text: podName, replaceValues, multiQueryData });
36076
+ const containerNamePrepared = containerName ? parseAll({ text: containerName, replaceValues, multiQueryData }) : void 0;
36075
36077
  const {
36076
36078
  data: podInfoList,
36077
36079
  isError: isPodInfoError,
@@ -36111,6 +36113,7 @@
36111
36113
  cluster: clusterPrepared,
36112
36114
  namespace: namespacePrepared,
36113
36115
  podName: podNamePrepared,
36116
+ containerName: containerNamePrepared,
36114
36117
  containers,
36115
36118
  substractHeight: substractHeight || 340,
36116
36119
  ...props
@@ -43781,7 +43784,7 @@
43781
43784
  font-size: 16px;
43782
43785
  line-height: 24px;
43783
43786
  `;
43784
- const Styled$B = {
43787
+ const Styled$D = {
43785
43788
  BorderRadiusContainer: BorderRadiusContainer$1,
43786
43789
  ControlsRowContainer: ControlsRowContainer$1,
43787
43790
  BigText: BigText$1
@@ -44011,7 +44014,7 @@
44011
44014
  };
44012
44015
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
44013
44016
  contextHolder,
44014
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.BorderRadiusContainer, { $designNewLayoutHeight: designNewLayoutHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
44017
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.BorderRadiusContainer, { $designNewLayoutHeight: designNewLayoutHeight, $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
44015
44018
  Ft$1,
44016
44019
  {
44017
44020
  defaultLanguage: "yaml",
@@ -44036,7 +44039,7 @@
44036
44039
  }
44037
44040
  }
44038
44041
  ) }),
44039
- !readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
44042
+ !readOnly && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
44040
44043
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { type: "primary", onClick: onSubmit, loading: isLoading, disabled: canEdit === false, children: "Submit" }),
44041
44044
  backlink && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { onClick: () => navigate(backlink), children: "Cancel" }),
44042
44045
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { onClick: handleReload, children: "Reload" })
@@ -44047,7 +44050,7 @@
44047
44050
  open: !!error,
44048
44051
  onOk: () => setError(void 0),
44049
44052
  onCancel: () => setError(void 0),
44050
- title: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.BigText, { children: "Error!" }) }),
44053
+ title: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$D.BigText, { children: "Error!" }) }),
44051
44054
  cancelButtonProps: { style: { display: "none" } },
44052
44055
  centered: true,
44053
44056
  styles: {
@@ -44208,7 +44211,7 @@
44208
44211
  const VisibilityContainer$1 = styled.div`
44209
44212
  display: ${({ $hidden }) => $hidden ? "none" : "block"};
44210
44213
  `;
44211
- const Styled$A = {
44214
+ const Styled$C = {
44212
44215
  VisibilityContainer: VisibilityContainer$1
44213
44216
  };
44214
44217
 
@@ -44258,7 +44261,7 @@
44258
44261
  return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
44259
44262
  }
44260
44263
  const shouldAutoHide = !criteria && (!valuePrepared || valuePrepared === "~undefined-value~");
44261
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.VisibilityContainer, { $hidden: shouldAutoHide || shouldHideByCriteria, children });
44264
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$C.VisibilityContainer, { $hidden: shouldAutoHide || shouldHideByCriteria, children });
44262
44265
  };
44263
44266
 
44264
44267
  const unknownToString = (value) => {
@@ -44511,7 +44514,7 @@
44511
44514
  display: ${({ $isOpen }) => $isOpen ? "block" : "none"};
44512
44515
  padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
44513
44516
  `;
44514
- const Styled$z = {
44517
+ const Styled$B = {
44515
44518
  Container: Container$3,
44516
44519
  TitleBar,
44517
44520
  Content: Content$1
@@ -44538,14 +44541,14 @@
44538
44541
  }
44539
44542
  };
44540
44543
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
44541
- Styled$z.Container,
44544
+ Styled$B.Container,
44542
44545
  {
44543
44546
  $designNewLayout: designNewLayout,
44544
44547
  $borderColor: token.colorBorder,
44545
44548
  $bgColor: token.colorBgContainer,
44546
44549
  children: [
44547
44550
  /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { justify: "space-between", children: [
44548
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$z.TitleBar, { onClick: () => toggleCollapse(), children: [
44551
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$B.TitleBar, { onClick: () => toggleCollapse(), children: [
44549
44552
  !designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.CaretDownOutlined, { size: 14 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.CaretRightOutlined, { size: 14 }) }),
44550
44553
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: title }),
44551
44554
  designNewLayout && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: isOpen ? /* @__PURE__ */ jsxRuntimeExports.jsx(DownIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(UpIcon, {}) })
@@ -44556,7 +44559,7 @@
44556
44559
  persistedCheckbox
44557
44560
  ] })
44558
44561
  ] }),
44559
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$z.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
44562
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$B.Content, { $isOpen: isOpen, $designNewLayout: designNewLayout, children })
44560
44563
  ]
44561
44564
  }
44562
44565
  );
@@ -44636,13 +44639,13 @@
44636
44639
  const Content = styled.div`
44637
44640
  padding: ${({ $designNewLayout }) => $designNewLayout ? "0 0 0 6px" : "4px"};
44638
44641
  `;
44639
- const Styled$y = {
44642
+ const Styled$A = {
44640
44643
  Content
44641
44644
  };
44642
44645
 
44643
44646
  const ArrayInsideContainer = ({ children }) => {
44644
44647
  const designNewLayout = useDesignNewLayout();
44645
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$y.Content, { $designNewLayout: designNewLayout, children });
44648
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$A.Content, { $designNewLayout: designNewLayout, children });
44646
44649
  };
44647
44650
 
44648
44651
  const includesPath = (haystack, needle) => haystack.some((h) => h.length === needle.length && h.every((seg, i) => seg === String(needle[i])));
@@ -44665,14 +44668,14 @@
44665
44668
  height: ${({ $height }) => $height}px;
44666
44669
  `;
44667
44670
 
44668
- const Styled$x = {
44671
+ const Styled$z = {
44669
44672
  BulbIcon: styled(AntIcons.BulbOutlined)`
44670
44673
  margin-left: 6px;
44671
44674
  `
44672
44675
  };
44673
44676
 
44674
44677
  const ExampleTooltipIcon = ({ tooltip }) => {
44675
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: tooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$x.BulbIcon, {}) });
44678
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Tooltip, { title: tooltip, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$z.BulbIcon, {}) });
44676
44679
  };
44677
44680
 
44678
44681
  const NullToggleButton = ({ isNull, onSetNull, onClear, disabled }) => {
@@ -44829,7 +44832,7 @@
44829
44832
  const ResetedFormList$3 = styled(antd.Form.List)`
44830
44833
  margin-bottom: 8px;
44831
44834
  `;
44832
- const Styled$w = {
44835
+ const Styled$y = {
44833
44836
  ResetedFormList: ResetedFormList$3
44834
44837
  };
44835
44838
 
@@ -44920,7 +44923,7 @@
44920
44923
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[3], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
44921
44924
  ] }),
44922
44925
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
44923
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$w.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
44926
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$y.ResetedFormList, { name: "taints", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
44924
44927
  fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Row, { gutter: [16, 16], children: [
44925
44928
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
44926
44929
  ResetedFormItem$1,
@@ -44981,7 +44984,7 @@
44981
44984
  const ResetedFormList$2 = styled(antd.Form.List)`
44982
44985
  margin-bottom: 8px;
44983
44986
  `;
44984
- const Styled$v = {
44987
+ const Styled$x = {
44985
44988
  ResetedFormList: ResetedFormList$2
44986
44989
  };
44987
44990
 
@@ -45082,7 +45085,7 @@
45082
45085
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[4], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
45083
45086
  ] }),
45084
45087
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
45085
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45088
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$x.ResetedFormList, { name: "tolerations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45086
45089
  fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Row, { gutter: [16, 16], children: [
45087
45090
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
45088
45091
  ResetedFormItem$1,
@@ -45174,7 +45177,7 @@
45174
45177
  const ResetedFormList$1 = styled(antd.Form.List)`
45175
45178
  margin-bottom: 8px;
45176
45179
  `;
45177
- const Styled$u = {
45180
+ const Styled$w = {
45178
45181
  ResetedFormList: ResetedFormList$1
45179
45182
  };
45180
45183
 
@@ -45270,7 +45273,7 @@
45270
45273
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[2], children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {}) })
45271
45274
  ] }),
45272
45275
  /* @__PURE__ */ jsxRuntimeExports.jsx(Spacer$1, { $space: 10, $samespace: true }),
45273
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45276
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$w.ResetedFormList, { name: "annotations", children: (fields, { add, remove }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
45274
45277
  fields.map(({ key, name, ...restField }) => /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Row, { gutter: [16, 16], children: [
45275
45278
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Col, { span: cols[0], children: /* @__PURE__ */ jsxRuntimeExports.jsx(
45276
45279
  ResetedFormItem$1,
@@ -47348,7 +47351,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47348
47351
  margin-bottom: 0 !important;
47349
47352
  }
47350
47353
  `;
47351
- const Styled$t = {
47354
+ const Styled$v = {
47352
47355
  NoSelect,
47353
47356
  DisabledInput,
47354
47357
  DisabledTextArea,
@@ -47466,8 +47469,8 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47466
47469
  const shownValue = useNiceLooking ? value2 : effectiveHidden ? "" : value2;
47467
47470
  const resolvedMultilineRows = resolveMultilineRows(value2, multilineRows);
47468
47471
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 8, ...flexProps, children: [
47469
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NoSelect, { style: inputContainerStyle, children: useNiceLooking ? /* @__PURE__ */ jsxRuntimeExports.jsx(te, { theme, hidden: effectiveHidden, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
47470
- Styled$t.DisabledInput,
47472
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.NoSelect, { style: inputContainerStyle, children: useNiceLooking ? /* @__PURE__ */ jsxRuntimeExports.jsx(te, { theme, hidden: effectiveHidden, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
47473
+ Styled$v.DisabledInput,
47471
47474
  {
47472
47475
  $hidden: effectiveHidden,
47473
47476
  onClick: (e) => handleInputClick(e, effectiveHidden, value2),
@@ -47475,7 +47478,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47475
47478
  readOnly: true
47476
47479
  }
47477
47480
  ) }) : multiline ? /* @__PURE__ */ jsxRuntimeExports.jsx(
47478
- Styled$t.DisabledTextArea,
47481
+ Styled$v.DisabledTextArea,
47479
47482
  {
47480
47483
  $hidden: effectiveHidden,
47481
47484
  onClick: (e) => handleInputClick(e, effectiveHidden, value2),
@@ -47484,7 +47487,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47484
47487
  readOnly: true
47485
47488
  }
47486
47489
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
47487
- Styled$t.DisabledInput,
47490
+ Styled$v.DisabledInput,
47488
47491
  {
47489
47492
  $hidden: effectiveHidden,
47490
47493
  onClick: (e) => handleInputClick(e, effectiveHidden, value2),
@@ -47507,13 +47510,13 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47507
47510
  const secretsEntries = objectToRender ? Object.entries(objectToRender) : [];
47508
47511
  if (secretsEntries.length === 0) {
47509
47512
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
47510
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NotificationOverrides, {}),
47513
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.NotificationOverrides, {}),
47511
47514
  emptyTextPrepared && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { style: textStyle, children: emptyTextPrepared }),
47512
47515
  contextHolder
47513
47516
  ] });
47514
47517
  }
47515
47518
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
47516
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NotificationOverrides, {}),
47519
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.NotificationOverrides, {}),
47517
47520
  /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { vertical: true, gap: 8, children: secretsEntries.map(([key, rawValue]) => {
47518
47521
  const parsedValue = parseAll({
47519
47522
  text: typeof rawValue === "string" ? rawValue : String(rawValue),
@@ -47539,7 +47542,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47539
47542
  ] });
47540
47543
  }
47541
47544
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: containerStyle, children: [
47542
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$t.NotificationOverrides, {}),
47545
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$v.NotificationOverrides, {}),
47543
47546
  renderSecretField({
47544
47547
  value: decodedText,
47545
47548
  isHidden: hidden,
@@ -47562,7 +47565,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47562
47565
  letter-spacing: 0.02em;
47563
47566
  box-sizing: content-box;
47564
47567
  `;
47565
- const Styled$s = {
47568
+ const Styled$u = {
47566
47569
  RoundSpan
47567
47570
  };
47568
47571
 
@@ -47599,7 +47602,7 @@ if (_IS_WORKLET) registerPaint("spoiler", SpoilerPainterWorklet);
47599
47602
  multiQueryData
47600
47603
  }) : getUppercase(parsedValue);
47601
47604
  const bgColor = hslFromString(parsedValue, theme);
47602
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.RoundSpan, { $bgColor: bgColor, style, children: parsedAbbreviation });
47605
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$u.RoundSpan, { $bgColor: bgColor, style, children: parsedAbbreviation });
47603
47606
  };
47604
47607
 
47605
47608
  const serializeLabelsWithNoEncoding = (input) => {
@@ -78306,7 +78309,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78306
78309
  }
78307
78310
  }
78308
78311
  `;
78309
- const Styled$r = {
78312
+ const Styled$t = {
78310
78313
  TitleSelect
78311
78314
  };
78312
78315
 
@@ -78391,7 +78394,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78391
78394
  }
78392
78395
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
78393
78396
  /* @__PURE__ */ jsxRuntimeExports.jsx(
78394
- Styled$r.TitleSelect,
78397
+ Styled$t.TitleSelect,
78395
78398
  {
78396
78399
  value: currentValuePrepared,
78397
78400
  onChange: handleChange,
@@ -78978,7 +78981,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
78978
78981
  const HiddenContainer = styled.div`
78979
78982
  display: ${({ $isHidden }) => $isHidden ? "none" : "auto"};
78980
78983
  `;
78981
- const Styled$q = {
78984
+ const Styled$s = {
78982
78985
  Card: Card$1,
78983
78986
  CardTitle,
78984
78987
  CardNumber,
@@ -79057,7 +79060,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79057
79060
  const jsonRoot = multiQueryData[`req${counter.props.reqIndex}`];
79058
79061
  if (jsonRoot === void 0) {
79059
79062
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
79060
- Styled$q.Card,
79063
+ Styled$s.Card,
79061
79064
  {
79062
79065
  $colorBorder: token.colorBorder,
79063
79066
  $colorBgContainer: token.colorBgContainer,
@@ -79072,15 +79075,15 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79072
79075
  children: [
79073
79076
  /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 4, vertical: true, children: [
79074
79077
  /* @__PURE__ */ jsxRuntimeExports.jsx(
79075
- Styled$q.CardTitle,
79078
+ Styled$s.CardTitle,
79076
79079
  {
79077
79080
  $colorTextDescription: token.colorTextDescription,
79078
79081
  children: `Counter: ${id}: No root for json path`
79079
79082
  }
79080
79083
  ),
79081
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardNumber, { $colorText: token.colorText, children: "-" })
79084
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardNumber, { $colorText: token.colorText, children: "-" })
79082
79085
  ] }),
79083
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
79086
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
79084
79087
  ]
79085
79088
  }
79086
79089
  );
@@ -79090,7 +79093,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79090
79093
  const { counter: counterToDisplay, error: errorParsingCounter } = counter.type === "item" ? getItemCounterItemsInside(anythingForNow) : getKeyCounterItemsInside(anythingForNow);
79091
79094
  if (errorParsingCounter) {
79092
79095
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(
79093
- Styled$q.Card,
79096
+ Styled$s.Card,
79094
79097
  {
79095
79098
  $colorBorder: token.colorBorder,
79096
79099
  $colorBgContainer: token.colorBgContainer,
@@ -79104,10 +79107,10 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79104
79107
  },
79105
79108
  children: [
79106
79109
  /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 4, vertical: true, children: [
79107
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardTitle, { $colorTextDescription: token.colorTextDescription, children: errorParsingCounter }),
79108
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardNumber, { $colorText: token.colorText, children: "-" })
79110
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardTitle, { $colorTextDescription: token.colorTextDescription, children: errorParsingCounter }),
79111
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardNumber, { $colorText: token.colorText, children: "-" })
79109
79112
  ] }),
79110
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
79113
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
79111
79114
  ]
79112
79115
  }
79113
79116
  );
@@ -79115,7 +79118,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79115
79118
  const parsedText = parseAll({ text, replaceValues, multiQueryData });
79116
79119
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
79117
79120
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
79118
- Styled$q.Card,
79121
+ Styled$s.Card,
79119
79122
  {
79120
79123
  $colorBorder: token.colorBorder,
79121
79124
  $colorBgContainer: token.colorBgContainer,
@@ -79129,14 +79132,14 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79129
79132
  },
79130
79133
  children: [
79131
79134
  /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: 4, vertical: true, children: [
79132
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardTitle, { $colorTextDescription: token.colorTextDescription, children: parsedText }),
79133
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardNumber, { $colorText: token.colorText, children: counterToDisplay })
79135
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardTitle, { $colorTextDescription: token.colorTextDescription, children: parsedText }),
79136
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardNumber, { $colorText: token.colorText, children: counterToDisplay })
79134
79137
  ] }),
79135
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
79138
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.CardIcon, { $colorInfo: token.colorInfo, children: iconBase64Encoded && renderIcon$1(iconBase64Encoded, token.colorInfo) })
79136
79139
  ]
79137
79140
  }
79138
79141
  ),
79139
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.HiddenContainer, { $isHidden: !open, children: canOpenActiveType && renderActiveType(activeType, {
79142
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$s.HiddenContainer, { $isHidden: !open, children: canOpenActiveType && renderActiveType(activeType, {
79140
79143
  open,
79141
79144
  onClose: () => setOpen(false),
79142
79145
  disableSubmit: !canSubmitActiveType
@@ -79565,7 +79568,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79565
79568
  white-space: nowrap;
79566
79569
  z-index: 3;
79567
79570
  `;
79568
- const Styled$p = {
79571
+ const Styled$r = {
79569
79572
  TooltipContent,
79570
79573
  TooltipRow,
79571
79574
  TooltipDot,
@@ -79715,17 +79718,17 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79715
79718
  const usedPercent = clampPercent(resolvedUsed ?? NaN, resolvedLimit ?? NaN);
79716
79719
  const limitPercent = 100;
79717
79720
  const gradientMidStop = `${requestedPercent.toFixed(2)}%`;
79718
- const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipContent, { $colorInfoBgHover: token.colorInfoBgHover, children: [
79719
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipRow, { $colorText: token.colorText, children: [
79720
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.TooltipDot, { $color: "#5EDBBD" }),
79721
+ const tooltipTitle = /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.TooltipContent, { $colorInfoBgHover: token.colorInfoBgHover, children: [
79722
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.TooltipRow, { $colorText: token.colorText, children: [
79723
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.TooltipDot, { $color: "#5EDBBD" }),
79721
79724
  "Requested"
79722
79725
  ] }),
79723
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipRow, { $colorText: token.colorText, children: [
79724
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.TooltipDot, { $color: "#FF1C1C" }),
79726
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.TooltipRow, { $colorText: token.colorText, children: [
79727
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.TooltipDot, { $color: "#FF1C1C" }),
79725
79728
  "Used"
79726
79729
  ] }),
79727
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.TooltipRow, { $colorText: token.colorText, children: [
79728
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.TooltipDot, { $color: "#FD9125" }),
79730
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.TooltipRow, { $colorText: token.colorText, children: [
79731
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.TooltipDot, { $color: "#FD9125" }),
79729
79732
  "Limit"
79730
79733
  ] })
79731
79734
  ] });
@@ -79806,10 +79809,10 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79806
79809
  if (shouldShowError) {
79807
79810
  return /* @__PURE__ */ jsxRuntimeExports.jsx(PerRequestError, { error: errorToShow });
79808
79811
  }
79809
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.Wrapper, { style: containerStyle, $colorBgContainer: token.colorBgContainer, $colorBorder: token.colorBorder, children: [
79810
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.Header, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.Title, { $colorText: token.colorText, children: title }) }),
79811
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.ChartContainer, { children: [
79812
- /* @__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: [
79812
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.Wrapper, { style: containerStyle, $colorBgContainer: token.colorBgContainer, $colorBorder: token.colorBorder, children: [
79813
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.Header, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.Title, { $colorText: token.colorText, children: title }) }),
79814
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.ChartContainer, { children: [
79815
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.ChartWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.ChartInner, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ResponsiveContainer, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(ComposedChart, { data: chartData, margin: { top: 8, right: 12, left: 12, bottom: 0 }, children: [
79813
79816
  /* @__PURE__ */ jsxRuntimeExports.jsx(XAxis, { dataKey: "index", hide: true }),
79814
79817
  /* @__PURE__ */ jsxRuntimeExports.jsx(YAxis, { hide: true, domain: yDomain, padding: { top: 6, bottom: 24 } }),
79815
79818
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -79833,9 +79836,9 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79833
79836
  }
79834
79837
  )
79835
79838
  ] }) }) }) }),
79836
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.ChartOverlay, { $isDark: isDark })
79839
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.ChartOverlay, { $isDark: isDark })
79837
79840
  ] }),
79838
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.GradientBarWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.GradientBarContainer, { children: [
79841
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.GradientBarWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.GradientBarContainer, { children: [
79839
79842
  /* @__PURE__ */ jsxRuntimeExports.jsx(
79840
79843
  antd.Tooltip,
79841
79844
  {
@@ -79847,7 +79850,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79847
79850
  body: { padding: 0, borderRadius: 6 }
79848
79851
  },
79849
79852
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
79850
- Styled$p.GradientBar,
79853
+ Styled$r.GradientBar,
79851
79854
  {
79852
79855
  $minColor: minColor,
79853
79856
  $midColor: midColor,
@@ -79857,12 +79860,12 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79857
79860
  )
79858
79861
  }
79859
79862
  ),
79860
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$p.BadgesContainer, { ref: badgesContainerRef, children: [
79861
- resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.BarMarker, { $left: requestedPercent, $edgeAlign: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RequestedMarkerSvg, {}) }),
79862
- resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.BarMarker, { $left: usedPercent, $flipX: true, $paddingTop: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(UsedMarkerSvg, {}) }),
79863
- resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.BarMarker, { $left: limitPercent, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LimitMarkerSvg, {}) }),
79863
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$r.BadgesContainer, { ref: badgesContainerRef, children: [
79864
+ resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.BarMarker, { $left: requestedPercent, $edgeAlign: true, children: /* @__PURE__ */ jsxRuntimeExports.jsx(RequestedMarkerSvg, {}) }),
79865
+ resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.BarMarker, { $left: usedPercent, $flipX: true, $paddingTop: 10, children: /* @__PURE__ */ jsxRuntimeExports.jsx(UsedMarkerSvg, {}) }),
79866
+ resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$r.BarMarker, { $left: limitPercent, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LimitMarkerSvg, {}) }),
79864
79867
  resolvedUsed !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
79865
- Styled$p.UsedBadge,
79868
+ Styled$r.UsedBadge,
79866
79869
  {
79867
79870
  ref: usedBadgeRef,
79868
79871
  $left: clampedUsedPercent ?? usedPercent,
@@ -79884,7 +79887,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79884
79887
  }
79885
79888
  ),
79886
79889
  resolvedRequested !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
79887
- Styled$p.MarkerLabel,
79890
+ Styled$r.MarkerLabel,
79888
79891
  {
79889
79892
  ref: requestedLabelRef,
79890
79893
  $left: clampedRequestedPercent ?? requestedPercent,
@@ -79905,7 +79908,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79905
79908
  }
79906
79909
  ),
79907
79910
  resolvedLimit !== void 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs(
79908
- Styled$p.MarkerLabel,
79911
+ Styled$r.MarkerLabel,
79909
79912
  {
79910
79913
  ref: limitLabelRef,
79911
79914
  $left: limitPercent,
@@ -79973,7 +79976,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
79973
79976
  font-size: 16px;
79974
79977
  }
79975
79978
  `;
79976
- const Styled$o = {
79979
+ const Styled$q = {
79977
79980
  IconWrapper,
79978
79981
  IconScaler,
79979
79982
  IconButton
@@ -80023,7 +80026,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
80023
80026
  };
80024
80027
  const getActionIcon = (action) => {
80025
80028
  if (action.props.iconBase64Encoded) {
80026
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.IconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.IconScaler, { children: renderIcon$1(action.props.iconBase64Encoded, "currentColor") }) });
80029
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.IconWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.IconScaler, { children: renderIcon$1(action.props.iconBase64Encoded, "currentColor") }) });
80027
80030
  }
80028
80031
  if (action.props.icon) {
80029
80032
  return renderAntIcon(action.props.icon);
@@ -81446,7 +81449,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
81446
81449
  };
81447
81450
  const renderButton = () => {
81448
81451
  if (buttonVariant === "icon") {
81449
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.IconButton, { type: "text", size: "small", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.MoreOutlined, {}) });
81452
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$q.IconButton, { type: "text", size: "small", icon: /* @__PURE__ */ jsxRuntimeExports.jsx(AntIcons.MoreOutlined, {}) });
81450
81453
  }
81451
81454
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Button, { children: [
81452
81455
  buttonText,
@@ -82085,7 +82088,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
82085
82088
  justify-content: center;
82086
82089
  flex: 1;
82087
82090
  `;
82088
- const Styled$n = {
82091
+ const Styled$p = {
82089
82092
  CenteredResultWrapper
82090
82093
  };
82091
82094
 
@@ -82109,7 +82112,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
82109
82112
  const status = data.status ?? result.resultStatus;
82110
82113
  const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
82111
82114
  const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : result.message;
82112
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style }) });
82115
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style }) });
82113
82116
  }
82114
82117
  if (Array.isArray(data.reqIndex)) {
82115
82118
  const worst = findWorstError(data.reqIndex, multiQueryData, getErrorForReq, shouldCheckEmpty, data.itemsPath);
@@ -82119,11 +82122,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
82119
82122
  const status = data.status ?? worst.resultStatus;
82120
82123
  const title = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : getDefaultTitle(status);
82121
82124
  const subTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : worst.message;
82122
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style }) });
82125
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status, title, subTitle, style: data.style }) });
82123
82126
  }
82124
82127
  const parsedTitle = data.title ? parseAll({ text: data.title, replaceValues, multiQueryData }) : void 0;
82125
82128
  const parsedSubTitle = data.subTitle ? parseAll({ text: data.subTitle, replaceValues, multiQueryData }) : void 0;
82126
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children }) });
82129
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$p.CenteredResultWrapper, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Result, { status: data.status, title: parsedTitle, subTitle: parsedSubTitle, style: data.style, children }) });
82127
82130
  };
82128
82131
 
82129
82132
  const DynamicComponents = {
@@ -82924,6 +82927,22 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
82924
82927
  );
82925
82928
  };
82926
82929
 
82930
+ const getMinHeight = (minHeight) => {
82931
+ if (typeof minHeight === "number") {
82932
+ return `${minHeight}px`;
82933
+ }
82934
+ return minHeight || "auto";
82935
+ };
82936
+ const LoadingContainer$2 = styled.div`
82937
+ display: flex;
82938
+ align-items: center;
82939
+ justify-content: center;
82940
+ min-height: ${({ $minHeight }) => getMinHeight($minHeight)};
82941
+ `;
82942
+ const Styled$o = {
82943
+ LoadingContainer: LoadingContainer$2
82944
+ };
82945
+
82927
82946
  const prepare = ({
82928
82947
  dataItems,
82929
82948
  pathToKey,
@@ -83207,13 +83226,13 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
83207
83226
  // isNamespaced,
83208
83227
  ]);
83209
83228
  if (!preparedProps && isLoading) {
83210
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { justify: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
83229
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.LoadingContainer, { $minHeight: tableProps?.loadingMinHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
83211
83230
  }
83212
83231
  if (isError) {
83213
83232
  return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Alert, { message: isError, type: "error" });
83214
83233
  }
83215
83234
  if (!preparedProps) {
83216
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Flex, { justify: "center", children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
83235
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$o.LoadingContainer, { $minHeight: tableProps?.loadingMinHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
83217
83236
  }
83218
83237
  const fullPath = `${location.pathname}${location.search}`;
83219
83238
  const { dataSource, columns } = prepare({
@@ -83844,7 +83863,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
83844
83863
  border-radius: 8px;
83845
83864
  }
83846
83865
  `;
83847
- const Styled$m = {
83866
+ const Styled$n = {
83848
83867
  BorderRadiusContainer
83849
83868
  };
83850
83869
 
@@ -83891,7 +83910,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
83891
83910
  }
83892
83911
  }
83893
83912
  }, [yamlData, editorUri]);
83894
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.BorderRadiusContainer, { $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
83913
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$n.BorderRadiusContainer, { $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
83895
83914
  Ft$1,
83896
83915
  {
83897
83916
  language: "yaml",
@@ -86465,7 +86484,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86465
86484
  const MarginBottom = styled.div`
86466
86485
  margin-bottom: 8px;
86467
86486
  `;
86468
- const Styled$l = {
86487
+ const Styled$m = {
86469
86488
  MarginBottom
86470
86489
  };
86471
86490
 
@@ -86562,7 +86581,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86562
86581
  },
86563
86582
  arrKey !== void 0 ? arrKey : Array.isArray(name) ? name.slice(-1)[0] : name
86564
86583
  ),
86565
- isBase64 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$l.MarginBottom, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
86584
+ isBase64 && /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$m.MarginBottom, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
86566
86585
  antd.Input.TextArea,
86567
86586
  {
86568
86587
  placeholder,
@@ -86589,7 +86608,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86589
86608
  cursor: pointer;
86590
86609
  padding-top: 11px;
86591
86610
  `;
86592
- const Styled$k = {
86611
+ const Styled$l = {
86593
86612
  SwitchAndCrossContainer,
86594
86613
  CrossContainer
86595
86614
  };
@@ -86617,7 +86636,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86617
86636
  onRemoveByMinus && /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Button, { size: "small", type: "text", onClick: onRemoveByMinus, children: /* @__PURE__ */ jsxRuntimeExports.jsx(MinusIcon, {}) })
86618
86637
  ] })
86619
86638
  ] }),
86620
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$k.SwitchAndCrossContainer, { children: [
86639
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$l.SwitchAndCrossContainer, { children: [
86621
86640
  /* @__PURE__ */ jsxRuntimeExports.jsx(
86622
86641
  ResetedFormItem$1,
86623
86642
  {
@@ -86636,7 +86655,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86636
86655
  }
86637
86656
  ),
86638
86657
  !defaultBtn.visible && /* @__PURE__ */ jsxRuntimeExports.jsx(
86639
- Styled$k.CrossContainer,
86658
+ Styled$l.CrossContainer,
86640
86659
  {
86641
86660
  onClick: () => {
86642
86661
  if (makeValueUndefined) {
@@ -86937,7 +86956,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86937
86956
  border-radius: 8px;
86938
86957
  }
86939
86958
  `;
86940
- const Styled$j = {
86959
+ const Styled$k = {
86941
86960
  Container: Container$2
86942
86961
  };
86943
86962
 
@@ -86991,7 +87010,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
86991
87010
  }
86992
87011
  }
86993
87012
  }, [yamlText, modelUri]);
86994
- return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.Container, { $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
87013
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$k.Container, { $colorBorder: token.colorBorder, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
86995
87014
  Ft$1,
86996
87015
  {
86997
87016
  language: "yaml",
@@ -87274,7 +87293,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
87274
87293
  font-size: 16px;
87275
87294
  line-height: 24px;
87276
87295
  `;
87277
- const Styled$i = {
87296
+ const Styled$j = {
87278
87297
  ResetedFormList,
87279
87298
  Container: Container$1,
87280
87299
  OverflowContainer: OverflowContainer$1,
@@ -87629,7 +87648,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
87629
87648
  }
87630
87649
  ),
87631
87650
  /* @__PURE__ */ jsxRuntimeExports.jsx(
87632
- Styled$i.ResetedFormList,
87651
+ Styled$j.ResetedFormList,
87633
87652
  {
87634
87653
  name: arrName || name,
87635
87654
  rules: arrayRules.length > 0 ? arrayRules : void 0,
@@ -89566,8 +89585,8 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89566
89585
  setPersistedKeys([...persistedKeys.filter((arr) => JSON.stringify(arr) !== JSON.stringify(value))]);
89567
89586
  };
89568
89587
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
89569
- /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$i.Container, { $designNewLayout: designNewLayout, $designNewLayoutHeight: designNewLayoutHeight, children: [
89570
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.OverflowContainer, { ref: overflowRef, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
89588
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(Styled$j.Container, { $designNewLayout: designNewLayout, $designNewLayoutHeight: designNewLayoutHeight, children: [
89589
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.OverflowContainer, { ref: overflowRef, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
89571
89590
  antd.Form,
89572
89591
  {
89573
89592
  form,
@@ -89614,7 +89633,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89614
89633
  ) })
89615
89634
  ] }),
89616
89635
  /* @__PURE__ */ jsxRuntimeExports.jsx(FlexGrow, {}),
89617
- /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
89636
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.ControlsRowContainer, { $bgColor: token.colorPrimaryBg, $designNewLayout: designNewLayout, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(antd.Flex, { gap: designNewLayout ? 10 : 16, align: "center", children: [
89618
89637
  /* @__PURE__ */ jsxRuntimeExports.jsx(
89619
89638
  antd.Button,
89620
89639
  {
@@ -89635,7 +89654,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89635
89654
  open: !!error,
89636
89655
  onOk: () => setError(void 0),
89637
89656
  onCancel: () => setError(void 0),
89638
- title: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.BigText, { children: "Error!" }) }),
89657
+ title: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Typography.Text, { type: "danger", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.BigText, { children: "Error!" }) }),
89639
89658
  cancelButtonProps: { style: { display: "none" } },
89640
89659
  centered: true,
89641
89660
  styles: {
@@ -89663,7 +89682,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89663
89682
  paddingRight: "30px"
89664
89683
  }
89665
89684
  },
89666
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.DebugContainer, { $designNewLayoutHeight: designNewLayoutHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(React$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
89685
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$j.DebugContainer, { $designNewLayoutHeight: designNewLayoutHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(React$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
89667
89686
  Editor,
89668
89687
  {
89669
89688
  defaultLanguage: "json",
@@ -89682,6 +89701,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89682
89701
  ] });
89683
89702
  };
89684
89703
 
89704
+ const LoadingContainer$1 = styled.div`
89705
+ display: flex;
89706
+ align-items: center;
89707
+ justify-content: center;
89708
+ min-height: ${({ $minHeight }) => $minHeight ? `${$minHeight}px` : "auto"};
89709
+ `;
89710
+ const Styled$i = {
89711
+ LoadingContainer: LoadingContainer$1
89712
+ };
89713
+
89685
89714
  const BlackholeFormProvider = ({
89686
89715
  theme,
89687
89716
  cluster,
@@ -89830,7 +89859,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
89830
89859
  applyForceViewMode
89831
89860
  ]);
89832
89861
  if (isLoading) {
89833
- return /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {});
89862
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(Styled$i.LoadingContainer, { $minHeight: designNewLayoutHeight, children: /* @__PURE__ */ jsxRuntimeExports.jsx(antd.Spin, {}) });
89834
89863
  }
89835
89864
  if (modeData?.current === "Manual") {
89836
89865
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -90971,10 +91000,45 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90971
91000
  CustomSelect: CustomSelect$3
90972
91001
  };
90973
91002
 
90974
- const PodTerminal = ({ cluster, namespace, podName, containers, substractHeight }) => {
90975
- const [currentContainer, setCurrentContainer] = React$1.useState(containers[0] || void 0);
91003
+ const getScopedContainerNames = (containers, containerName) => {
91004
+ const normalizedContainerName = containerName?.trim();
91005
+ if (!normalizedContainerName) {
91006
+ return containers;
91007
+ }
91008
+ return containers.filter((container) => container === normalizedContainerName);
91009
+ };
91010
+
91011
+ const PodTerminal = ({
91012
+ cluster,
91013
+ namespace,
91014
+ podName,
91015
+ containerName,
91016
+ containers,
91017
+ substractHeight
91018
+ }) => {
91019
+ const pinnedContainerName = containerName?.trim();
91020
+ const availableContainers = React$1.useMemo(
91021
+ () => getScopedContainerNames(containers, pinnedContainerName),
91022
+ [containers, pinnedContainerName]
91023
+ );
91024
+ const [currentContainer, setCurrentContainer] = React$1.useState(availableContainers[0] || void 0);
90976
91025
  const endpoint = `/api/clusters/${cluster}/openapi-bff-ws/terminal/terminalPod/terminalPod`;
90977
- if (containers.length === 0) {
91026
+ React$1.useEffect(() => {
91027
+ setCurrentContainer((prevContainer) => {
91028
+ if (prevContainer && availableContainers.includes(prevContainer)) {
91029
+ return prevContainer;
91030
+ }
91031
+ return availableContainers[0] || void 0;
91032
+ });
91033
+ }, [availableContainers]);
91034
+ if (pinnedContainerName && availableContainers.length === 0) {
91035
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
91036
+ 'Container "',
91037
+ pinnedContainerName,
91038
+ '" is not running'
91039
+ ] });
91040
+ }
91041
+ if (availableContainers.length === 0) {
90978
91042
  return /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: "No Running Containers" });
90979
91043
  }
90980
91044
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
@@ -90982,9 +91046,9 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
90982
91046
  antd.Select,
90983
91047
  {
90984
91048
  placeholder: "Select container",
90985
- options: containers.map((container) => ({ value: container, label: container })),
91049
+ options: availableContainers.map((container) => ({ value: container, label: container })),
90986
91050
  filterOption: filterSelectOptions,
90987
- disabled: containers.length === 0,
91051
+ disabled: Boolean(pinnedContainerName),
90988
91052
  showSearch: true,
90989
91053
  value: currentContainer,
90990
91054
  onChange: (value) => {