@prorobotech/openapi-k8s-toolkit 1.5.0-alpha.1 → 1.5.0-alpha.11

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.
Files changed (90) hide show
  1. package/dist/{index-_9cT8fBl.mjs → index-BPDbJet7.mjs} +2 -2
  2. package/dist/{index-_9cT8fBl.mjs.map → index-BPDbJet7.mjs.map} +1 -1
  3. package/dist/{index-BFIWg9xn.mjs → index-C1Lorapd.mjs} +3711 -707
  4. package/dist/index-C1Lorapd.mjs.map +1 -0
  5. package/dist/openapi-k8s-toolkit.es.js +1 -1
  6. package/dist/openapi-k8s-toolkit.umd.js +3708 -702
  7. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  8. package/dist/types/components/atoms/CursorPointerTag/CursorPointerTag.d.ts +33 -7
  9. package/dist/types/components/atoms/CursorPointerTagMinContent/CursorPointerTagMinContent.d.ts +33 -7
  10. package/dist/types/components/atoms/CustomSelect/styled.d.ts +1 -1
  11. package/dist/types/components/atoms/ResourceBadgeAbbr/index.d.ts +1 -0
  12. package/dist/types/components/atoms/ResourceBadgeAbbr/styled.d.ts +7 -0
  13. package/dist/types/components/atoms/UncontrolledSelect/styled.d.ts +1 -1
  14. package/dist/types/components/atoms/index.d.ts +1 -0
  15. package/dist/types/components/molecules/BlackholeForm/atoms/DefaultValueButton/DefaultValueButton.d.ts +10 -0
  16. package/dist/types/components/molecules/BlackholeForm/atoms/DefaultValueButton/DefaultValueButton.test.d.ts +1 -0
  17. package/dist/types/components/molecules/BlackholeForm/atoms/DefaultValueButton/index.d.ts +1 -0
  18. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/ExampleTooltipIcon.d.ts +6 -0
  19. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/ExampleTooltipIcon.test.d.ts +1 -0
  20. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/index.d.ts +1 -0
  21. package/dist/types/components/molecules/BlackholeForm/atoms/ExampleTooltipIcon/styled.d.ts +380 -0
  22. package/dist/types/components/molecules/BlackholeForm/atoms/NullToggleButton/NullToggleButton.d.ts +9 -0
  23. package/dist/types/components/molecules/BlackholeForm/atoms/NullToggleButton/NullToggleButton.test.d.ts +1 -0
  24. package/dist/types/components/molecules/BlackholeForm/atoms/NullToggleButton/index.d.ts +1 -0
  25. package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/ResetedFormItem.d.ts +6 -7
  26. package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +3 -0
  27. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +1 -0
  28. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.test.d.ts +1 -0
  29. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +3 -0
  30. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +3 -0
  31. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +12 -0
  32. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.test.d.ts +1 -0
  33. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +6 -0
  34. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +7 -6
  35. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +7 -0
  36. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.test.d.ts +1 -0
  37. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/FormStringMultilineInput.d.ts +7 -0
  38. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/FormStringMultilineInput.test.d.ts +1 -0
  39. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/buildPlaceholder.d.ts +12 -0
  40. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/buildPlaceholder.test.d.ts +1 -0
  41. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/oneOfBranch.d.ts +9 -0
  42. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/oneOfBranch.test.d.ts +1 -0
  43. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useDefaultValueButton.d.ts +12 -0
  44. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useDefaultValueButton.test.d.ts +1 -0
  45. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useNullToggleButton.d.ts +16 -0
  46. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/useNullToggleButton.test.d.ts +1 -0
  47. package/dist/types/components/molecules/BlackholeForm/molecules/helpers/validation.d.ts +35 -4
  48. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +2 -2
  49. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/casts.d.ts +4 -4
  50. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/extractDefaultValue.d.ts +4 -0
  51. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/extractDefaultValue.test.d.ts +1 -0
  52. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/getSortedPropertyKeys.d.ts +2 -4
  53. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/oneOfBranchCleanup.d.ts +7 -0
  54. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/oneOfBranchCleanup.test.d.ts +1 -0
  55. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/oneOfBranchVisibility.d.ts +6 -0
  56. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/helpers/oneOfBranchVisibility.test.d.ts +1 -0
  57. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/styled.d.ts +2 -2
  58. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +52 -29
  59. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/styled.d.ts +8 -0
  60. package/dist/types/components/molecules/EnrichedTable/organisms/ClusterListTable/ClusterListTable.d.ts +4 -3
  61. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +5 -3
  62. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/SyncedHorizontalScrollbar/SyncedHorizontalScrollbar.d.ts +7 -0
  63. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/SyncedHorizontalScrollbar/SyncedHorizontalScrollbar.test.d.ts +1 -0
  64. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/SyncedHorizontalScrollbar/index.d.ts +1 -0
  65. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TinyButton/TinyButton.d.ts +26 -8
  66. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TrimmedTags/styled.d.ts +69 -16
  67. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/types.d.ts +4 -0
  68. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/utils.d.ts +9 -3
  69. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +3 -1
  70. package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/styled.d.ts +8 -0
  71. package/dist/types/components/molecules/MarketPlace/atoms/AddCard/styled.d.ts +40 -4
  72. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/styled.d.ts +33 -7
  73. package/dist/types/components/molecules/Search/styled.d.ts +72 -21
  74. package/dist/types/components/molecules/Terminals/PodLogsMonaco/styled.d.ts +26 -8
  75. package/dist/types/components/molecules/Terminals/PodTerminal/PodTerminal.d.ts +1 -0
  76. package/dist/types/components/molecules/Terminals/PodTerminal/utils.d.ts +1 -0
  77. package/dist/types/components/molecules/Terminals/PodTerminal/utils.test.d.ts +1 -0
  78. package/dist/types/components/organisms/DynamicComponents/atoms/modals/AnnotationsEditModal/styled.d.ts +2 -2
  79. package/dist/types/components/organisms/DynamicComponents/atoms/modals/TaintsEditModal/styled.d.ts +2 -2
  80. package/dist/types/components/organisms/DynamicComponents/atoms/modals/TolerationsEditModal/styled.d.ts +2 -2
  81. package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.d.ts +30 -0
  82. package/dist/types/components/organisms/DynamicComponents/atoms/modals/gridColsValidation.test.d.ts +1 -0
  83. package/dist/types/components/organisms/DynamicComponents/molecules/ActionsDropdown/styled.d.ts +26 -8
  84. package/dist/types/components/organisms/DynamicComponents/molecules/DropdownRedirect/styled.d.ts +106 -33
  85. package/dist/types/components/organisms/DynamicComponents/types/Terminals.d.ts +1 -0
  86. package/dist/types/localTypes/bff/form.d.ts +4 -6
  87. package/dist/types/localTypes/formSchema.d.ts +42 -0
  88. package/dist/types/utils/normalizeValuesForQuotas/normalizeValuesForQuotas.d.ts +2 -2
  89. package/package.json +5 -5
  90. package/dist/index-BFIWg9xn.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ export { SyncedHorizontalScrollbar } from './SyncedHorizontalScrollbar';
@@ -7,10 +7,11 @@ export declare const TinyButton: import("styled-components").IStyledComponent<"w
7
7
  autoInsertSpace?: boolean | undefined;
8
8
  type?: "link" | "text" | "default" | "dashed" | "primary" | undefined;
9
9
  color?: "default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "danger" | "volcano" | "geekblue" | "primary" | undefined;
10
- variant?: "link" | "text" | "outlined" | "filled" | "dashed" | "solid" | undefined;
10
+ variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined" | undefined;
11
11
  icon?: import("react").ReactNode;
12
12
  iconPosition?: "end" | "start" | undefined;
13
- shape?: "circle" | "default" | "round" | undefined;
13
+ iconPlacement?: "end" | "start" | undefined;
14
+ shape?: "circle" | "default" | "round" | "square" | undefined;
14
15
  size?: import("antd/es/button").ButtonSize;
15
16
  disabled?: boolean | undefined;
16
17
  loading?: boolean | {
@@ -24,12 +25,29 @@ export declare const TinyButton: import("styled-components").IStyledComponent<"w
24
25
  danger?: boolean | undefined;
25
26
  block?: boolean | undefined;
26
27
  children?: import("react").ReactNode;
27
- classNames?: {
28
- icon: string;
29
- } | undefined;
30
- styles?: {
31
- icon: import("react").CSSProperties;
32
- } | undefined;
28
+ classNames?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
29
+ root?: string | undefined;
30
+ icon?: string | undefined;
31
+ content?: string | undefined;
32
+ } | undefined> | ((info: {
33
+ props: import("antd/es/button/Button").BaseButtonProps;
34
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
35
+ root?: string | undefined;
36
+ icon?: string | undefined;
37
+ content?: string | undefined;
38
+ } | undefined>);
39
+ styles?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
40
+ root?: import("react").CSSProperties | undefined;
41
+ icon?: import("react").CSSProperties | undefined;
42
+ content?: import("react").CSSProperties | undefined;
43
+ } | undefined> | ((info: {
44
+ props: import("antd/es/button/Button").BaseButtonProps;
45
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
46
+ root?: import("react").CSSProperties | undefined;
47
+ icon?: import("react").CSSProperties | undefined;
48
+ content?: import("react").CSSProperties | undefined;
49
+ } | undefined>);
50
+ _skipSemantic?: boolean | undefined;
33
51
  defaultChecked?: boolean | undefined;
34
52
  defaultValue?: string | number | readonly string[] | undefined;
35
53
  suppressContentEditableWarning?: boolean | undefined;
@@ -5,17 +5,43 @@ export declare const Styled: {
5
5
  prefixCls?: string | undefined;
6
6
  className?: string | undefined;
7
7
  rootClassName?: string | undefined;
8
- color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
9
- closable?: boolean | ({
10
- closeIcon?: import("react").ReactNode;
11
- disabled?: boolean | undefined;
12
- } & import("react").AriaAttributes) | undefined;
8
+ color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
9
+ variant?: "solid" | "filled" | "outlined" | undefined;
10
+ closable?: import("antd/es/_util/hooks").ClosableType;
13
11
  closeIcon?: import("react").ReactNode;
14
- visible?: boolean | undefined;
15
12
  onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
16
13
  style?: import("react").CSSProperties | undefined;
17
14
  icon?: import("react").ReactNode;
18
15
  bordered?: boolean | undefined;
16
+ href?: string | undefined;
17
+ target?: string | undefined;
18
+ disabled?: boolean | undefined;
19
+ classNames?: ((info: {
20
+ props: import("antd").TagProps;
21
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
22
+ root?: string | undefined;
23
+ icon?: string | undefined;
24
+ content?: string | undefined;
25
+ close?: string | undefined;
26
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
27
+ root?: string | undefined;
28
+ icon?: string | undefined;
29
+ content?: string | undefined;
30
+ close?: string | undefined;
31
+ } | undefined>;
32
+ styles?: ((info: {
33
+ props: import("antd").TagProps;
34
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
35
+ root?: import("react").CSSProperties | undefined;
36
+ icon?: import("react").CSSProperties | undefined;
37
+ content?: import("react").CSSProperties | undefined;
38
+ close?: import("react").CSSProperties | undefined;
39
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
40
+ root?: import("react").CSSProperties | undefined;
41
+ icon?: import("react").CSSProperties | undefined;
42
+ content?: import("react").CSSProperties | undefined;
43
+ close?: import("react").CSSProperties | undefined;
44
+ } | undefined>;
19
45
  defaultChecked?: boolean | undefined;
20
46
  defaultValue?: string | number | readonly string[] | undefined;
21
47
  suppressContentEditableWarning?: boolean | undefined;
@@ -281,19 +307,19 @@ export declare const Styled: {
281
307
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
282
308
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
283
309
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
284
- ref?: import("react").Ref<HTMLSpanElement> | undefined;
310
+ ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
285
311
  key?: import("react").Key | null | undefined;
286
312
  }>;
287
313
  TooltipTagsContainer: import("styled-components").IStyledComponent<"web", {
288
314
  prefixCls?: string | undefined;
289
315
  rootClassName?: string | undefined;
290
316
  vertical?: boolean | undefined;
317
+ orientation?: import("antd/es/_util/hooks").Orientation | undefined;
291
318
  wrap?: boolean | import("csstype").Property.FlexWrap | undefined;
292
319
  justify?: import("csstype").Property.JustifyContent | undefined;
293
320
  align?: import("csstype").Property.AlignItems | undefined;
294
321
  flex?: import("csstype").Property.Flex<string | number> | undefined;
295
- gap?: string | number | (string & {}) | undefined;
296
- children: import("react").ReactNode;
322
+ gap?: import("antd/es/_util/type").LiteralUnion<import("antd/es/button").ButtonSize, import("csstype").Property.Gap<string | number> | undefined>;
297
323
  component?: import("antd/es/_util/type").CustomComponent<import("antd/es/_util/type").AnyObject> | undefined;
298
324
  defaultChecked?: boolean | undefined;
299
325
  defaultValue?: string | number | readonly string[] | undefined;
@@ -397,6 +423,7 @@ export declare const Styled: {
397
423
  "aria-valuemin"?: number | undefined;
398
424
  "aria-valuenow"?: number | undefined;
399
425
  "aria-valuetext"?: string | undefined;
426
+ children?: import("react").ReactNode;
400
427
  dangerouslySetInnerHTML?: {
401
428
  __html: string | TrustedHTML;
402
429
  } | undefined;
@@ -569,17 +596,43 @@ export declare const Styled: {
569
596
  prefixCls?: string | undefined;
570
597
  className?: string | undefined;
571
598
  rootClassName?: string | undefined;
572
- color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
573
- closable?: boolean | ({
574
- closeIcon?: import("react").ReactNode;
575
- disabled?: boolean | undefined;
576
- } & import("react").AriaAttributes) | undefined;
599
+ color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
600
+ variant?: "solid" | "filled" | "outlined" | undefined;
601
+ closable?: import("antd/es/_util/hooks").ClosableType;
577
602
  closeIcon?: import("react").ReactNode;
578
- visible?: boolean | undefined;
579
603
  onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
580
604
  style?: import("react").CSSProperties | undefined;
581
605
  icon?: import("react").ReactNode;
582
606
  bordered?: boolean | undefined;
607
+ href?: string | undefined;
608
+ target?: string | undefined;
609
+ disabled?: boolean | undefined;
610
+ classNames?: ((info: {
611
+ props: import("antd").TagProps;
612
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
613
+ root?: string | undefined;
614
+ icon?: string | undefined;
615
+ content?: string | undefined;
616
+ close?: string | undefined;
617
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
618
+ root?: string | undefined;
619
+ icon?: string | undefined;
620
+ content?: string | undefined;
621
+ close?: string | undefined;
622
+ } | undefined>;
623
+ styles?: ((info: {
624
+ props: import("antd").TagProps;
625
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
626
+ root?: import("react").CSSProperties | undefined;
627
+ icon?: import("react").CSSProperties | undefined;
628
+ content?: import("react").CSSProperties | undefined;
629
+ close?: import("react").CSSProperties | undefined;
630
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
631
+ root?: import("react").CSSProperties | undefined;
632
+ icon?: import("react").CSSProperties | undefined;
633
+ content?: import("react").CSSProperties | undefined;
634
+ close?: import("react").CSSProperties | undefined;
635
+ } | undefined>;
583
636
  defaultChecked?: boolean | undefined;
584
637
  defaultValue?: string | number | readonly string[] | undefined;
585
638
  suppressContentEditableWarning?: boolean | undefined;
@@ -845,7 +898,7 @@ export declare const Styled: {
845
898
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
846
899
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
847
900
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
848
- ref?: import("react").Ref<HTMLSpanElement> | undefined;
901
+ ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
849
902
  key?: import("react").Key | null | undefined;
850
903
  }>;
851
904
  };
@@ -1,3 +1,7 @@
1
+ import type { Key } from 'react';
2
+ export type TTableRecord = Record<PropertyKey, any> & {
3
+ key?: Key;
4
+ };
1
5
  export type TInternalDataForControls = {
2
6
  cluster: string;
3
7
  pathPrefix: string;
@@ -1,9 +1,15 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { NavigateFunction } from 'react-router-dom';
3
3
  import { TableProps } from 'antd';
4
- import { AnyObject } from 'antd/es/_util/type';
5
4
  import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTooltips, TAdditionalPrinterColumnsKeyTypeProps, TAdditionalPrinterColumnsCustomSortersAndFilters } from '../../../../../localTypes/richTable';
6
5
  import { TJSON } from '../../../../../localTypes/JSON';
6
+ import { TTableRecord } from './types';
7
+ export declare const isNameColumn: (column: {
8
+ key?: React.Key;
9
+ title?: unknown;
10
+ dataIndex?: unknown;
11
+ }) => boolean;
12
+ export declare const hasFactoryItemOfType: (customProps: unknown, itemType: string) => boolean;
7
13
  export declare const getCellRender: ({ value, record, possibleTrimLength, possibleUndefinedValue, possibleCustomTypeWithProps, theme, }: {
8
14
  value: TJSON;
9
15
  record: unknown;
@@ -15,7 +21,7 @@ export declare const getCellRender: ({ value, record, possibleTrimLength, possib
15
21
  } | undefined;
16
22
  theme: 'dark' | 'light';
17
23
  }) => JSX.Element;
18
- export declare const getEnrichedColumns: <T extends AnyObject = AnyObject>({ columns, additionalPrinterColumnsUndefinedValues, additionalPrinterColumnsTrimLengths, additionalPrinterColumnsColWidths, additionalPrinterColumnsTooltips, additionalPrinterColumnsKeyTypeProps, additionalPrinterColumnsCustomSortersAndFilters, theme, getRowKey, }: {
24
+ export declare const getEnrichedColumns: <T extends TTableRecord = TTableRecord>({ columns, additionalPrinterColumnsUndefinedValues, additionalPrinterColumnsTrimLengths, additionalPrinterColumnsColWidths, additionalPrinterColumnsTooltips, additionalPrinterColumnsKeyTypeProps, additionalPrinterColumnsCustomSortersAndFilters, theme, getRowKey, }: {
19
25
  columns: import("antd").TableColumnsType<T> | undefined;
20
26
  additionalPrinterColumnsUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues | undefined;
21
27
  additionalPrinterColumnsTrimLengths?: TAdditionalPrinterColumnsTrimLengths | undefined;
@@ -26,7 +32,7 @@ export declare const getEnrichedColumns: <T extends AnyObject = AnyObject>({ col
26
32
  theme: 'dark' | 'light';
27
33
  getRowKey: (record: T) => React.Key;
28
34
  }) => import("antd").TableColumnsType<T> | undefined;
29
- export declare const getEnrichedColumnsWithControls: <T extends AnyObject = AnyObject>({ enrichedColumns, navigate, baseprefix, editIcon, deleteIcon, }: {
35
+ export declare const getEnrichedColumnsWithControls: <T extends TTableRecord = TTableRecord>({ enrichedColumns, navigate, baseprefix, editIcon, deleteIcon, }: {
30
36
  enrichedColumns: import("antd").TableColumnsType<T> | undefined;
31
37
  navigate: NavigateFunction;
32
38
  baseprefix?: string | undefined;
@@ -1,5 +1,5 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
- import { TablePaginationConfig } from 'antd';
2
+ import { TablePaginationConfig, TableProps } from 'antd';
3
3
  import { TJSON } from '../../../../../localTypes/JSON';
4
4
  import { TAdditionalPrinterColumns } from '../../../../../localTypes/richTable';
5
5
  export type TEnrichedTableProviderProps = {
@@ -41,8 +41,10 @@ export type TEnrichedTableProviderProps = {
41
41
  editIcon?: ReactNode;
42
42
  deleteIcon?: ReactNode;
43
43
  maxHeight?: number;
44
+ scroll?: TableProps<TJSON>['scroll'];
44
45
  virtual?: boolean;
45
46
  disablePagination?: boolean;
47
+ loadingMinHeight?: number | string;
46
48
  };
47
49
  withoutControls?: boolean;
48
50
  pathToKey?: string;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ type TLoadingContainerProps = {
3
+ $minHeight?: number | string;
4
+ };
5
+ export declare const Styled: {
6
+ LoadingContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TLoadingContainerProps>>;
7
+ };
8
+ export {};
@@ -15,18 +15,54 @@ export declare const Styled: {
15
15
  id?: string | undefined;
16
16
  className?: string | undefined;
17
17
  rootClassName?: string | undefined;
18
- size?: import("antd/es/card/Card").CardSize | undefined;
18
+ size?: import("antd/es/card/Card").CardSize;
19
19
  type?: "inner" | undefined;
20
20
  cover?: import("react").ReactNode;
21
21
  actions?: import("react").ReactNode[] | undefined;
22
22
  tabList?: import("antd/es/card").CardTabListType[] | undefined;
23
- tabBarExtraContent?: import("react").ReactNode;
23
+ tabBarExtraContent?: import("@rc-component/tabs").TabBarExtraContent;
24
24
  onTabChange?: ((key: string) => void) | undefined;
25
25
  activeTabKey?: string | undefined;
26
26
  defaultActiveTabKey?: string | undefined;
27
27
  tabProps?: import("antd").TabsProps | undefined;
28
- classNames?: Partial<Record<"title" | "body" | "header" | "extra" | "cover" | "actions", string>> | undefined;
29
- styles?: Partial<Record<"title" | "body" | "header" | "extra" | "cover" | "actions", import("react").CSSProperties>> | undefined;
28
+ classNames?: ((info: {
29
+ props: import("antd").CardProps;
30
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
31
+ root?: string | undefined;
32
+ header?: string | undefined;
33
+ body?: string | undefined;
34
+ extra?: string | undefined;
35
+ title?: string | undefined;
36
+ actions?: string | undefined;
37
+ cover?: string | undefined;
38
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
39
+ root?: string | undefined;
40
+ header?: string | undefined;
41
+ body?: string | undefined;
42
+ extra?: string | undefined;
43
+ title?: string | undefined;
44
+ actions?: string | undefined;
45
+ cover?: string | undefined;
46
+ } | undefined>;
47
+ styles?: ((info: {
48
+ props: import("antd").CardProps;
49
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
50
+ root?: import("react").CSSProperties | undefined;
51
+ header?: import("react").CSSProperties | undefined;
52
+ body?: import("react").CSSProperties | undefined;
53
+ extra?: import("react").CSSProperties | undefined;
54
+ title?: import("react").CSSProperties | undefined;
55
+ actions?: import("react").CSSProperties | undefined;
56
+ cover?: import("react").CSSProperties | undefined;
57
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
58
+ root?: import("react").CSSProperties | undefined;
59
+ header?: import("react").CSSProperties | undefined;
60
+ body?: import("react").CSSProperties | undefined;
61
+ extra?: import("react").CSSProperties | undefined;
62
+ title?: import("react").CSSProperties | undefined;
63
+ actions?: import("react").CSSProperties | undefined;
64
+ cover?: import("react").CSSProperties | undefined;
65
+ } | undefined>;
30
66
  variant?: "outlined" | "borderless" | undefined;
31
67
  defaultChecked?: boolean | undefined;
32
68
  defaultValue?: string | number | readonly string[] | undefined;
@@ -1098,17 +1098,43 @@ export declare const Styled: {
1098
1098
  prefixCls?: string | undefined;
1099
1099
  className?: string | undefined;
1100
1100
  rootClassName?: string | undefined;
1101
- color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
1102
- closable?: boolean | ({
1103
- closeIcon?: import("react").ReactNode;
1104
- disabled?: boolean | undefined;
1105
- } & import("react").AriaAttributes) | undefined;
1101
+ color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
1102
+ variant?: "solid" | "filled" | "outlined" | undefined;
1103
+ closable?: import("antd/es/_util/hooks").ClosableType;
1106
1104
  closeIcon?: import("react").ReactNode;
1107
- visible?: boolean | undefined;
1108
1105
  onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
1109
1106
  style?: import("react").CSSProperties | undefined;
1110
1107
  icon?: import("react").ReactNode;
1111
1108
  bordered?: boolean | undefined;
1109
+ href?: string | undefined;
1110
+ target?: string | undefined;
1111
+ disabled?: boolean | undefined;
1112
+ classNames?: ((info: {
1113
+ props: import("antd").TagProps;
1114
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
1115
+ root?: string | undefined;
1116
+ icon?: string | undefined;
1117
+ content?: string | undefined;
1118
+ close?: string | undefined;
1119
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
1120
+ root?: string | undefined;
1121
+ icon?: string | undefined;
1122
+ content?: string | undefined;
1123
+ close?: string | undefined;
1124
+ } | undefined>;
1125
+ styles?: ((info: {
1126
+ props: import("antd").TagProps;
1127
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
1128
+ root?: import("react").CSSProperties | undefined;
1129
+ icon?: import("react").CSSProperties | undefined;
1130
+ content?: import("react").CSSProperties | undefined;
1131
+ close?: import("react").CSSProperties | undefined;
1132
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
1133
+ root?: import("react").CSSProperties | undefined;
1134
+ icon?: import("react").CSSProperties | undefined;
1135
+ content?: import("react").CSSProperties | undefined;
1136
+ close?: import("react").CSSProperties | undefined;
1137
+ } | undefined>;
1112
1138
  defaultChecked?: boolean | undefined;
1113
1139
  defaultValue?: string | number | readonly string[] | undefined;
1114
1140
  suppressContentEditableWarning?: boolean | undefined;
@@ -1374,7 +1400,7 @@ export declare const Styled: {
1374
1400
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
1375
1401
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
1376
1402
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
1377
- ref?: import("react").Ref<HTMLSpanElement> | undefined;
1403
+ ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
1378
1404
  key?: import("react").Key | null | undefined;
1379
1405
  }>;
1380
1406
  DescriptionContainer: import("styled-components").IStyledComponent<"web", {
@@ -22,17 +22,43 @@ export declare const Styled: {
22
22
  prefixCls?: string | undefined;
23
23
  className?: string | undefined;
24
24
  rootClassName?: string | undefined;
25
- color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
26
- closable?: boolean | ({
27
- closeIcon?: import("react").ReactNode;
28
- disabled?: boolean | undefined;
29
- } & import("react").AriaAttributes) | undefined;
25
+ color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
26
+ variant?: "solid" | "filled" | "outlined" | undefined;
27
+ closable?: import("antd/es/_util/hooks").ClosableType;
30
28
  closeIcon?: import("react").ReactNode;
31
- visible?: boolean | undefined;
32
29
  onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
33
30
  style?: import("react").CSSProperties | undefined;
34
31
  icon?: import("react").ReactNode;
35
32
  bordered?: boolean | undefined;
33
+ href?: string | undefined;
34
+ target?: string | undefined;
35
+ disabled?: boolean | undefined;
36
+ classNames?: ((info: {
37
+ props: import("antd").TagProps;
38
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
39
+ root?: string | undefined;
40
+ icon?: string | undefined;
41
+ content?: string | undefined;
42
+ close?: string | undefined;
43
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
44
+ root?: string | undefined;
45
+ icon?: string | undefined;
46
+ content?: string | undefined;
47
+ close?: string | undefined;
48
+ } | undefined>;
49
+ styles?: ((info: {
50
+ props: import("antd").TagProps;
51
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
52
+ root?: import("react").CSSProperties | undefined;
53
+ icon?: import("react").CSSProperties | undefined;
54
+ content?: import("react").CSSProperties | undefined;
55
+ close?: import("react").CSSProperties | undefined;
56
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
57
+ root?: import("react").CSSProperties | undefined;
58
+ icon?: import("react").CSSProperties | undefined;
59
+ content?: import("react").CSSProperties | undefined;
60
+ close?: import("react").CSSProperties | undefined;
61
+ } | undefined>;
36
62
  defaultChecked?: boolean | undefined;
37
63
  defaultValue?: string | number | readonly string[] | undefined;
38
64
  suppressContentEditableWarning?: boolean | undefined;
@@ -298,7 +324,7 @@ export declare const Styled: {
298
324
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
299
325
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
300
326
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
301
- ref?: import("react").Ref<HTMLSpanElement> | undefined;
327
+ ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
302
328
  key?: import("react").Key | null | undefined;
303
329
  }>;
304
330
  SelectTagSpan: import("styled-components").IStyledComponent<"web", {
@@ -1679,11 +1705,10 @@ export declare const Styled: {
1679
1705
  hidden?: boolean | undefined;
1680
1706
  initialValue?: any;
1681
1707
  messageVariables?: Record<string, string> | undefined;
1682
- tooltip?: import("antd/es/form/FormItemLabel").LabelTooltipType;
1683
- fieldKey?: import("react").Key | import("react").Key[] | undefined;
1684
1708
  layout?: import("antd/es/form/Form").FormItemLayout | undefined;
1685
1709
  label?: import("react").ReactNode;
1686
1710
  htmlFor?: string | undefined;
1711
+ tooltip?: import("antd/es/form/FormItemLabel").FormItemTooltipType;
1687
1712
  vertical?: boolean | undefined;
1688
1713
  colon?: boolean | undefined;
1689
1714
  labelAlign?: import("antd/es/form/interface").FormLabelAlign | undefined;
@@ -1695,19 +1720,19 @@ export declare const Styled: {
1695
1720
  fieldId?: string | undefined;
1696
1721
  onReset?: (() => void) | undefined;
1697
1722
  name?: unknown;
1698
- normalize?: ((value: any, prevValue: any, allValues: import("rc-field-form/lib/interface").Store) => any) | undefined;
1723
+ normalize?: ((value: any, prevValue: any, allValues: import("@rc-component/form/lib/interface").Store) => any) | undefined;
1699
1724
  rules?: import("antd").FormRule[] | undefined;
1700
- trigger?: string | undefined;
1701
1725
  preserve?: boolean | undefined;
1726
+ trigger?: string | undefined;
1702
1727
  dependencies?: any[] | undefined;
1703
- getValueFromEvent?: ((...args: import("rc-field-form/lib/interface").EventArgs) => any) | undefined;
1704
- shouldUpdate?: import("rc-field-form/lib/Field").ShouldUpdate<unknown> | undefined;
1728
+ getValueFromEvent?: ((...args: import("@rc-component/form/lib/interface").EventArgs) => any) | undefined;
1729
+ shouldUpdate?: import("@rc-component/form/lib/Field").ShouldUpdate<unknown> | undefined;
1705
1730
  validateTrigger?: string | false | string[] | undefined;
1706
1731
  validateDebounce?: number | undefined;
1707
1732
  validateFirst?: boolean | "parallel" | undefined;
1708
1733
  valuePropName?: string | undefined;
1709
1734
  getValueProps?: ((value: any) => Record<string, unknown>) | undefined;
1710
- onMetaChange?: ((meta: import("rc-field-form/lib/Field").MetaEvent) => void) | undefined;
1735
+ onMetaChange?: ((meta: import("@rc-component/form/lib/Field").MetaEvent) => void) | undefined;
1711
1736
  isListField?: boolean | undefined;
1712
1737
  isList?: boolean | undefined;
1713
1738
  }>;
@@ -2805,17 +2830,43 @@ export declare const Styled: {
2805
2830
  prefixCls?: string | undefined;
2806
2831
  className?: string | undefined;
2807
2832
  rootClassName?: string | undefined;
2808
- color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing"> | undefined;
2809
- closable?: boolean | ({
2810
- closeIcon?: import("react").ReactNode;
2811
- disabled?: boolean | undefined;
2812
- } & import("react").AriaAttributes) | undefined;
2833
+ color?: import("antd/es/_util/type").LiteralUnion<"default" | "error" | "success" | "warning" | import("antd/es/_util/colors").PresetColorType | "processing", string> | undefined;
2834
+ variant?: "solid" | "filled" | "outlined" | undefined;
2835
+ closable?: import("antd/es/_util/hooks").ClosableType;
2813
2836
  closeIcon?: import("react").ReactNode;
2814
- visible?: boolean | undefined;
2815
2837
  onClose?: ((e: import("react").MouseEvent<HTMLElement, MouseEvent>) => void) | undefined;
2816
2838
  style?: import("react").CSSProperties | undefined;
2817
2839
  icon?: import("react").ReactNode;
2818
2840
  bordered?: boolean | undefined;
2841
+ href?: string | undefined;
2842
+ target?: string | undefined;
2843
+ disabled?: boolean | undefined;
2844
+ classNames?: ((info: {
2845
+ props: import("antd").TagProps;
2846
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
2847
+ root?: string | undefined;
2848
+ icon?: string | undefined;
2849
+ content?: string | undefined;
2850
+ close?: string | undefined;
2851
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
2852
+ root?: string | undefined;
2853
+ icon?: string | undefined;
2854
+ content?: string | undefined;
2855
+ close?: string | undefined;
2856
+ } | undefined>;
2857
+ styles?: ((info: {
2858
+ props: import("antd").TagProps;
2859
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
2860
+ root?: import("react").CSSProperties | undefined;
2861
+ icon?: import("react").CSSProperties | undefined;
2862
+ content?: import("react").CSSProperties | undefined;
2863
+ close?: import("react").CSSProperties | undefined;
2864
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
2865
+ root?: import("react").CSSProperties | undefined;
2866
+ icon?: import("react").CSSProperties | undefined;
2867
+ content?: import("react").CSSProperties | undefined;
2868
+ close?: import("react").CSSProperties | undefined;
2869
+ } | undefined>;
2819
2870
  defaultChecked?: boolean | undefined;
2820
2871
  defaultValue?: string | number | readonly string[] | undefined;
2821
2872
  suppressContentEditableWarning?: boolean | undefined;
@@ -3081,7 +3132,7 @@ export declare const Styled: {
3081
3132
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
3082
3133
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
3083
3134
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
3084
- ref?: import("react").Ref<HTMLSpanElement> | undefined;
3135
+ ref?: import("react").Ref<HTMLAnchorElement | HTMLSpanElement> | undefined;
3085
3136
  key?: import("react").Key | null | undefined;
3086
3137
  }>;
3087
3138
  Abbr: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, TAbbrProps>>;
@@ -3015,10 +3015,11 @@ export declare const Styled: {
3015
3015
  autoInsertSpace?: boolean | undefined;
3016
3016
  type?: "link" | "text" | "default" | "dashed" | "primary" | undefined;
3017
3017
  color?: "default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "danger" | "volcano" | "geekblue" | "primary" | undefined;
3018
- variant?: "link" | "text" | "outlined" | "filled" | "dashed" | "solid" | undefined;
3018
+ variant?: "link" | "text" | "dashed" | "solid" | "filled" | "outlined" | undefined;
3019
3019
  icon?: import("react").ReactNode;
3020
3020
  iconPosition?: "end" | "start" | undefined;
3021
- shape?: "circle" | "default" | "round" | undefined;
3021
+ iconPlacement?: "end" | "start" | undefined;
3022
+ shape?: "circle" | "default" | "round" | "square" | undefined;
3022
3023
  size?: import("antd/es/button").ButtonSize;
3023
3024
  disabled?: boolean | undefined;
3024
3025
  loading?: boolean | {
@@ -3032,12 +3033,29 @@ export declare const Styled: {
3032
3033
  danger?: boolean | undefined;
3033
3034
  block?: boolean | undefined;
3034
3035
  children?: import("react").ReactNode;
3035
- classNames?: {
3036
- icon: string;
3037
- } | undefined;
3038
- styles?: {
3039
- icon: import("react").CSSProperties;
3040
- } | undefined;
3036
+ classNames?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
3037
+ root?: string | undefined;
3038
+ icon?: string | undefined;
3039
+ content?: string | undefined;
3040
+ } | undefined> | ((info: {
3041
+ props: import("antd/es/button/Button").BaseButtonProps;
3042
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
3043
+ root?: string | undefined;
3044
+ icon?: string | undefined;
3045
+ content?: string | undefined;
3046
+ } | undefined>);
3047
+ styles?: import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
3048
+ root?: import("react").CSSProperties | undefined;
3049
+ icon?: import("react").CSSProperties | undefined;
3050
+ content?: import("react").CSSProperties | undefined;
3051
+ } | undefined> | ((info: {
3052
+ props: import("antd/es/button/Button").BaseButtonProps;
3053
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
3054
+ root?: import("react").CSSProperties | undefined;
3055
+ icon?: import("react").CSSProperties | undefined;
3056
+ content?: import("react").CSSProperties | undefined;
3057
+ } | undefined>);
3058
+ _skipSemantic?: boolean | undefined;
3041
3059
  defaultChecked?: boolean | undefined;
3042
3060
  defaultValue?: string | number | readonly string[] | undefined;
3043
3061
  suppressContentEditableWarning?: boolean | undefined;
@@ -3,6 +3,7 @@ export type TPodTerminalProps = {
3
3
  cluster: string;
4
4
  namespace: string;
5
5
  podName: string;
6
+ containerName?: string;
6
7
  containers: string[];
7
8
  substractHeight: number;
8
9
  };
@@ -0,0 +1 @@
1
+ export declare const getScopedContainerNames: (containers: string[], containerName?: string) => string[];