@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.40 → 0.0.1-alpha.41

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 (51) hide show
  1. package/dist/openapi-k8s-toolkit.es.js +6657 -6694
  2. package/dist/openapi-k8s-toolkit.es.js.map +1 -1
  3. package/dist/openapi-k8s-toolkit.umd.js +168 -168
  4. package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
  5. package/dist/types/api/getClusterList.d.ts +1 -1
  6. package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/CustomCollapse.d.ts +1 -1
  7. package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/DebugNameViewer.d.ts +1 -1
  8. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +8 -0
  9. package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/index.d.ts +1 -0
  10. package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/PersistedCheckbox.d.ts +1 -1
  11. package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +1 -0
  12. package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/FormArrayHeader.d.ts +1 -1
  13. package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/FormBooleanInput.d.ts +1 -2
  14. package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/FormEnumStringInput.d.ts +1 -2
  15. package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/FormListInput.d.ts +2 -3
  16. package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/FormNamespaceInput.d.ts +1 -2
  17. package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/FormNumberInput.d.ts +1 -2
  18. package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/FormObjectFromSwagger.d.ts +2 -2
  19. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/FormRangeInput.d.ts +2 -3
  20. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/RangeInput.d.ts +1 -2
  21. package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/utils.d.ts +1 -1
  22. package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/FormStringInput.d.ts +1 -2
  23. package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/YamlEditorSingleton.d.ts +1 -1
  24. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +6 -6
  25. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/context.d.ts +6 -0
  26. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/guards.d.ts +1 -1
  27. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/utils.d.ts +11 -22
  28. package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts +3 -4
  29. package/dist/types/components/molecules/EnrichedTable/EnrichedTable.d.ts +1 -1
  30. package/dist/types/components/molecules/EnrichedTable/utils.d.ts +1 -1
  31. package/dist/types/components/molecules/EnrichedTableProvider/EnrichedTableProvider.d.ts +2 -2
  32. package/dist/types/components/molecules/EnrichedTableProvider/utils.d.ts +2 -2
  33. package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/AddEditFormModal.d.ts +1 -1
  34. package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/MarketplaceCard.d.ts +1 -1
  35. package/dist/types/components/organisms/DynamicComponents/DynamicComponents.d.ts +1 -1
  36. package/dist/types/components/organisms/DynamicComponents/types.d.ts +2 -2
  37. package/dist/types/components/organisms/DynamicRenderer/DynamicRenderer.d.ts +1 -1
  38. package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +1 -1
  39. package/dist/types/hooks/useApiResource.d.ts +1 -1
  40. package/dist/types/hooks/useBuiltinResourceTypes.d.ts +1 -1
  41. package/dist/types/hooks/useCrdResource.d.ts +1 -1
  42. package/dist/types/index.d.ts +1 -1
  43. package/dist/types/localTypes/formExtensions.d.ts +0 -16
  44. package/dist/types/utils/getGroupsByCategory/getGroupsByCategory.d.ts +1 -1
  45. package/dist/types/utils/getStringByName/getStringByName.d.ts +1 -1
  46. package/dist/types/utils/parseColumnsOverrides/guards.d.ts +1 -1
  47. package/dist/types/utils/parseColumnsOverrides/parseColumnsOverrides.d.ts +2 -2
  48. package/dist/types/utils/prepareTableMappings/prepareTableMappings.d.ts +1 -1
  49. package/dist/types/utils/removeEmptyFormValues/removeEmptyFormValues.d.ts +1 -1
  50. package/dist/types/utils/scopes/filterScopes.d.ts +2 -2
  51. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import { TClusterList } from '../localTypes/clusterList';
2
+ import { TClusterList } from 'localTypes/clusterList';
3
3
  export declare const getClusterList: () => Promise<AxiosResponse<TClusterList>>;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode, PropsWithChildren } from 'react';
2
- import { TFormName, TExpandedControls } from '../../../../../localTypes/form';
2
+ import { TFormName, TExpandedControls } from 'localTypes/form';
3
3
  type TCustomCollapseProps = PropsWithChildren<{
4
4
  title: string | ReactNode;
5
5
  formName: TFormName;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName } from '../../../../../localTypes/form';
2
+ import { TFormName } from 'localTypes/form';
3
3
  type TDebugNameViewerProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -0,0 +1,8 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { TFormName } from 'localTypes/form';
3
+ type THiddenContainerProps = PropsWithChildren<{
4
+ name?: TFormName;
5
+ secondName?: TFormName;
6
+ }>;
7
+ export declare const HiddenContainer: FC<THiddenContainerProps>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './HiddenContainer';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
2
+ import { TFormName, TPersistedControls } from 'localTypes/form';
3
3
  type TPersistedCheckboxProps = {
4
4
  formName: TFormName;
5
5
  persistedControls: TPersistedControls;
@@ -5,3 +5,4 @@ export * from './PossibleHiddenContainer';
5
5
  export * from './ResetedFormItem';
6
6
  export * from './CustomSizeTitle';
7
7
  export * from './ArrayInsideContainer';
8
+ export * from './HiddenContainer';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
2
+ import { TFormName, TPersistedControls } from 'localTypes/form';
3
3
  type TFormArrayHeaderProps = {
4
4
  name: TFormName;
5
5
  persistName?: TFormName;
@@ -1,10 +1,9 @@
1
1
  import { FC } from 'react';
2
- import { TFormName } from '../../../../../localTypes/form';
2
+ import { TFormName } from 'localTypes/form';
3
3
  type TFormBooleanInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
6
6
  arrName?: TFormName;
7
- isHidden?: boolean;
8
7
  description?: string;
9
8
  makeValueUndefined?: (path: TFormName) => void;
10
9
  isAdditionalProperties?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
2
+ import { TFormName, TPersistedControls } from 'localTypes/form';
3
3
  type TFormEnumStringInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -7,7 +7,6 @@ type TFormEnumStringInputProps = {
7
7
  persistName?: TFormName;
8
8
  required?: string[];
9
9
  forceNonRequired?: boolean;
10
- isHidden?: boolean;
11
10
  description?: string;
12
11
  isAdditionalProperties?: boolean;
13
12
  removeField: ({ path }: {
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls, TUrlParams } from '../../../../../localTypes/form';
3
- import { TListInputCustomProps } from '../../../../../localTypes/formExtensions';
2
+ import { TFormName, TPersistedControls, TUrlParams } from 'localTypes/form';
3
+ import { TListInputCustomProps } from 'localTypes/formExtensions';
4
4
  type TFormListInputProps = {
5
5
  name: TFormName;
6
6
  arrKey?: number;
@@ -8,7 +8,6 @@ type TFormListInputProps = {
8
8
  persistName?: TFormName;
9
9
  required?: string[];
10
10
  forceNonRequired?: boolean;
11
- isHidden?: boolean;
12
11
  description?: string;
13
12
  isAdditionalProperties?: boolean;
14
13
  removeField: ({ path }: {
@@ -1,8 +1,7 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TNamespaceData } from '../../../../../localTypes/form';
2
+ import { TFormName, TNamespaceData } from 'localTypes/form';
3
3
  type TFormNamespaceInputProps = {
4
4
  name: TFormName;
5
- isHidden?: boolean;
6
5
  namespaceData: TNamespaceData;
7
6
  isAdditionalProperties?: boolean;
8
7
  removeField: ({ path }: {
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
2
+ import { TFormName, TPersistedControls } from 'localTypes/form';
3
3
  type TFormNumberItemProps = {
4
4
  isNumber?: boolean;
5
5
  name: TFormName;
@@ -8,7 +8,6 @@ type TFormNumberItemProps = {
8
8
  persistName?: TFormName;
9
9
  required?: string[];
10
10
  forceNonRequired?: boolean;
11
- isHidden?: boolean;
12
11
  description?: string;
13
12
  isAdditionalProperties?: boolean;
14
13
  removeField: ({ path }: {
@@ -1,11 +1,11 @@
1
1
  import { FC } from 'react';
2
2
  import { OpenAPIV2, IJsonSchema } from 'openapi-types';
3
- import { TFormName, TExpandedControls, TPersistedControls } from '../../../../../localTypes/form';
3
+ import { TFormName, TExpandedControls, TPersistedControls } from 'localTypes/form';
4
4
  type TFormObjectFromSwaggerProps = {
5
5
  name: TFormName;
6
6
  persistName?: TFormName;
7
7
  selfRequired?: boolean;
8
- isHidden?: boolean;
8
+ hiddenFormName?: TFormName;
9
9
  description?: string;
10
10
  isAdditionalProperties?: boolean;
11
11
  removeField: ({ path }: {
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls, TUrlParams } from '../../../../../localTypes/form';
3
- import { TRangeInputCustomProps } from '../../../../../localTypes/formExtensions';
2
+ import { TFormName, TPersistedControls, TUrlParams } from 'localTypes/form';
3
+ import { TRangeInputCustomProps } from 'localTypes/formExtensions';
4
4
  type TFormRangeInputProps = {
5
5
  name: TFormName;
6
6
  arrKey?: number;
@@ -8,7 +8,6 @@ type TFormRangeInputProps = {
8
8
  persistName?: TFormName;
9
9
  required?: string[];
10
10
  forceNonRequired?: boolean;
11
- isHidden?: boolean;
12
11
  description?: string;
13
12
  isEdit?: boolean;
14
13
  persistedControls: TPersistedControls;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { SliderBaseProps } from 'antd/es/slider';
3
- import { TFormName, TPersistedControls } from '../../../../../../../localTypes/form';
3
+ import { TFormName, TPersistedControls } from 'localTypes/form';
4
4
  export type TRangeInputProps = {
5
5
  name: TFormName;
6
6
  arrKey?: number;
@@ -8,7 +8,6 @@ export type TRangeInputProps = {
8
8
  persistName?: TFormName;
9
9
  required?: string[];
10
10
  forceNonRequired?: boolean;
11
- isHidden?: boolean;
12
11
  persistedControls: TPersistedControls;
13
12
  description?: string;
14
13
  onRemoveByMinus?: () => void;
@@ -1,4 +1,4 @@
1
- import { TRangeInputCustomValuesBlock } from '../../../../../localTypes/formExtensions';
1
+ import { TRangeInputCustomValuesBlock } from 'localTypes/formExtensions';
2
2
  export declare const prepareMinAndMaxValues: ({ minMaxAndStep, minValueObj, minSubstractFirstValueObj, minSubstractSecondValueObj, minAddFirstValueObj, minAddSecondValueObj, maxValueObj, maxSubstractFirstValueObj, maxSubstractSecondValueObj, maxAddFirstValueObj, maxAddSecondValueObj, logic, }: {
3
3
  minMaxAndStep: TRangeInputCustomValuesBlock;
4
4
  minValueObj: unknown;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TFormName, TPersistedControls } from '../../../../../localTypes/form';
2
+ import { TFormName, TPersistedControls } from 'localTypes/form';
3
3
  type TFormStringInputProps = {
4
4
  name: TFormName;
5
5
  arrKey?: number;
@@ -7,7 +7,6 @@ type TFormStringInputProps = {
7
7
  persistName?: TFormName;
8
8
  required?: string[];
9
9
  forceNonRequired?: boolean;
10
- isHidden?: boolean;
11
10
  description?: string;
12
11
  isAdditionalProperties?: boolean;
13
12
  removeField: ({ path }: {
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TJSON } from '../../../../../localTypes/JSON';
2
+ import { TJSON } from 'localTypes/JSON';
3
3
  type TYamlEditorSingletonProps = {
4
4
  theme: 'light' | 'dark';
5
5
  cluster: string;
@@ -1,8 +1,8 @@
1
1
  import { FC } from 'react';
2
2
  import { OpenAPIV2 } from 'openapi-types';
3
- import { TJSON } from '../../../../../localTypes/JSON';
4
- import { TUrlParams } from '../../../../../localTypes/form';
5
- import { TFormsPrefillsData } from '../../../../../localTypes/formExtensions';
3
+ import { TJSON } from 'localTypes/JSON';
4
+ import { TUrlParams } from 'localTypes/form';
5
+ import { TFormsPrefillsData } from 'localTypes/formExtensions';
6
6
  type TBlackholeFormCreateProps = {
7
7
  cluster: string;
8
8
  theme: 'light' | 'dark';
@@ -13,10 +13,10 @@ type TBlackholeFormCreateProps = {
13
13
  };
14
14
  formsPrefillsData?: TFormsPrefillsData;
15
15
  staticProperties: OpenAPIV2.SchemaObject['properties'];
16
- required?: string[];
16
+ required: string[];
17
17
  hiddenPaths?: string[][];
18
- expandedPaths?: string[][];
19
- persistedPaths?: string[][];
18
+ expandedPaths: string[][];
19
+ persistedPaths: string[][];
20
20
  prefillValuesSchema?: TJSON;
21
21
  prefillValueNamespaceOnly?: string;
22
22
  isNameSpaced?: false | string[];
@@ -5,4 +5,10 @@ type TDesignNewLayoutProviderProps = {
5
5
  };
6
6
  export declare const DesignNewLayoutProvider: FC<TDesignNewLayoutProviderProps>;
7
7
  export declare const useDesignNewLayout: () => boolean | undefined;
8
+ type THiddenPathsProviderProps = {
9
+ value?: string[][];
10
+ children: ReactNode;
11
+ };
12
+ export declare const HiddenPathsProvider: FC<THiddenPathsProviderProps>;
13
+ export declare const useHiddenPathsLayout: () => string[][] | undefined;
8
14
  export {};
@@ -1,2 +1,2 @@
1
- import { TFormPrefill } from '../../../../../localTypes/formExtensions';
1
+ import { TFormPrefill } from 'localTypes/formExtensions';
2
2
  export declare const isFormPrefill: (root: unknown) => root is TFormPrefill;
@@ -1,14 +1,13 @@
1
1
  import { OpenAPIV2 } from 'openapi-types';
2
- import { TListInputCustomProps, TRangeInputCustomProps } from '../../../../../localTypes/formExtensions';
3
- import { TFormName, TExpandedControls, TNamespaceData, TPersistedControls, TUrlParams } from '../../../../../localTypes/form';
4
- export declare const getStringFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, isHidden, description, namespaceData, isAdditionalProperties, removeField, persistedControls, onRemoveByMinus, }: {
2
+ import { TListInputCustomProps, TRangeInputCustomProps } from 'localTypes/formExtensions';
3
+ import { TFormName, TExpandedControls, TNamespaceData, TPersistedControls, TUrlParams } from 'localTypes/form';
4
+ export declare const getStringFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, description, namespaceData, isAdditionalProperties, removeField, persistedControls, onRemoveByMinus, }: {
5
5
  name: TFormName;
6
6
  arrKey?: number | undefined;
7
7
  arrName?: TFormName | undefined;
8
8
  persistName?: TFormName | undefined;
9
9
  required?: string[] | undefined;
10
10
  forceNonRequired?: boolean | undefined;
11
- isHidden?: boolean | undefined;
12
11
  description?: string | undefined;
13
12
  namespaceData?: TNamespaceData;
14
13
  isAdditionalProperties?: boolean | undefined;
@@ -18,14 +17,13 @@ export declare const getStringFormItemFromSwagger: ({ name, arrKey, arrName, per
18
17
  persistedControls: TPersistedControls;
19
18
  onRemoveByMinus?: (() => void) | undefined;
20
19
  }) => import("react/jsx-runtime").JSX.Element;
21
- export declare const getEnumStringFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, isHidden, description, isAdditionalProperties, removeField, options, persistedControls, onRemoveByMinus, }: {
20
+ export declare const getEnumStringFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, description, isAdditionalProperties, removeField, options, persistedControls, onRemoveByMinus, }: {
22
21
  name: TFormName;
23
22
  arrKey?: number | undefined;
24
23
  arrName?: TFormName | undefined;
25
24
  persistName?: TFormName | undefined;
26
25
  required?: string[] | undefined;
27
26
  forceNonRequired?: boolean | undefined;
28
- isHidden?: boolean | undefined;
29
27
  description?: string | undefined;
30
28
  isAdditionalProperties?: boolean | undefined;
31
29
  removeField: ({ path }: {
@@ -35,7 +33,7 @@ export declare const getEnumStringFormItemFromSwagger: ({ name, arrKey, arrName,
35
33
  persistedControls: TPersistedControls;
36
34
  onRemoveByMinus?: (() => void) | undefined;
37
35
  }) => import("react/jsx-runtime").JSX.Element;
38
- export declare const getNumberFormItemFromSwagger: ({ isNumber, name, arrKey, arrName, persistName, required, forceNonRequired, isHidden, description, isAdditionalProperties, removeField, persistedControls, onRemoveByMinus, }: {
36
+ export declare const getNumberFormItemFromSwagger: ({ isNumber, name, arrKey, arrName, persistName, required, forceNonRequired, description, isAdditionalProperties, removeField, persistedControls, onRemoveByMinus, }: {
39
37
  isNumber?: boolean | undefined;
40
38
  name: TFormName;
41
39
  arrKey?: number | undefined;
@@ -43,7 +41,6 @@ export declare const getNumberFormItemFromSwagger: ({ isNumber, name, arrKey, ar
43
41
  persistName?: TFormName | undefined;
44
42
  required?: string[] | undefined;
45
43
  forceNonRequired?: boolean | undefined;
46
- isHidden?: boolean | undefined;
47
44
  description?: string | undefined;
48
45
  isAdditionalProperties?: boolean | undefined;
49
46
  removeField: ({ path }: {
@@ -52,14 +49,13 @@ export declare const getNumberFormItemFromSwagger: ({ isNumber, name, arrKey, ar
52
49
  persistedControls: TPersistedControls;
53
50
  onRemoveByMinus?: (() => void) | undefined;
54
51
  }) => import("react/jsx-runtime").JSX.Element;
55
- export declare const getRangeInputFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, isHidden, description, isEdit, persistedControls, customProps, urlParams, onRemoveByMinus, }: {
52
+ export declare const getRangeInputFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, description, isEdit, persistedControls, customProps, urlParams, onRemoveByMinus, }: {
56
53
  name: TFormName;
57
54
  arrKey?: number | undefined;
58
55
  arrName?: TFormName | undefined;
59
56
  persistName?: TFormName | undefined;
60
57
  required?: string[] | undefined;
61
58
  forceNonRequired?: boolean | undefined;
62
- isHidden?: boolean | undefined;
63
59
  description?: string | undefined;
64
60
  isEdit: boolean;
65
61
  persistedControls: TPersistedControls;
@@ -67,14 +63,13 @@ export declare const getRangeInputFormItemFromSwagger: ({ name, arrKey, arrName,
67
63
  urlParams: TUrlParams;
68
64
  onRemoveByMinus?: (() => void) | undefined;
69
65
  }) => import("react/jsx-runtime").JSX.Element;
70
- export declare const getListInputFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, isHidden, description, isAdditionalProperties, removeField, persistedControls, customProps, urlParams, onRemoveByMinus, }: {
66
+ export declare const getListInputFormItemFromSwagger: ({ name, arrKey, arrName, persistName, required, forceNonRequired, description, isAdditionalProperties, removeField, persistedControls, customProps, urlParams, onRemoveByMinus, }: {
71
67
  name: TFormName;
72
68
  arrKey?: number | undefined;
73
69
  arrName?: TFormName | undefined;
74
70
  persistName?: TFormName | undefined;
75
71
  required?: string[] | undefined;
76
72
  forceNonRequired?: boolean | undefined;
77
- isHidden?: boolean | undefined;
78
73
  description?: string | undefined;
79
74
  isAdditionalProperties?: boolean | undefined;
80
75
  removeField: ({ path }: {
@@ -85,11 +80,10 @@ export declare const getListInputFormItemFromSwagger: ({ name, arrKey, arrName,
85
80
  urlParams: TUrlParams;
86
81
  onRemoveByMinus?: (() => void) | undefined;
87
82
  }) => import("react/jsx-runtime").JSX.Element;
88
- export declare const getBooleanFormItemFromSwagger: ({ name, arrKey, arrName, isHidden, description, makeValueUndefined, isAdditionalProperties, removeField, onRemoveByMinus, }: {
83
+ export declare const getBooleanFormItemFromSwagger: ({ name, arrKey, arrName, description, makeValueUndefined, isAdditionalProperties, removeField, onRemoveByMinus, }: {
89
84
  name: TFormName;
90
85
  arrKey?: number | undefined;
91
86
  arrName?: TFormName | undefined;
92
- isHidden?: boolean | undefined;
93
87
  description?: string | undefined;
94
88
  makeValueUndefined?: ((path: TFormName) => void) | undefined;
95
89
  isAdditionalProperties?: boolean | undefined;
@@ -98,7 +92,7 @@ export declare const getBooleanFormItemFromSwagger: ({ name, arrKey, arrName, is
98
92
  }) => void;
99
93
  onRemoveByMinus?: (() => void) | undefined;
100
94
  }) => import("react/jsx-runtime").JSX.Element;
101
- export declare const getArrayFormItemFromSwagger: ({ schema, name, arrKey, arrName, expandName, persistName, required, forceNonRequired, isHidden, description, makeValueUndefined, addField, isAdditionalProperties, removeField, isEdit, expandedControls, persistedControls, urlParams, onRemoveByMinus, }: {
95
+ export declare const getArrayFormItemFromSwagger: ({ schema, name, arrKey, arrName, expandName, persistName, required, forceNonRequired, description, makeValueUndefined, addField, isAdditionalProperties, removeField, isEdit, expandedControls, persistedControls, urlParams, onRemoveByMinus, }: {
102
96
  schema: OpenAPIV2.SchemaObject;
103
97
  name: TFormName;
104
98
  arrKey?: number | undefined;
@@ -107,7 +101,6 @@ export declare const getArrayFormItemFromSwagger: ({ schema, name, arrKey, arrNa
107
101
  persistName?: TFormName | undefined;
108
102
  required?: string[] | undefined;
109
103
  forceNonRequired?: boolean | undefined;
110
- isHidden?: boolean | undefined;
111
104
  description?: string | undefined;
112
105
  makeValueUndefined?: ((path: TFormName) => void) | undefined;
113
106
  addField: ({ path, name, type, items, nestedProperties, required, }: {
@@ -130,7 +123,7 @@ export declare const getArrayFormItemFromSwagger: ({ schema, name, arrKey, arrNa
130
123
  urlParams: TUrlParams;
131
124
  onRemoveByMinus?: (() => void) | undefined;
132
125
  }) => import("react/jsx-runtime").JSX.Element | null;
133
- export declare const getObjectFormItemsDraft: ({ properties, name, arrKey, arrName, expandName, persistName, required, forceNonRequired, isHidden, hiddenPaths, description, namespaceData, makeValueUndefined, addField, removeField, isEdit, expandedControls, persistedControls, urlParams, }: {
126
+ export declare const getObjectFormItemsDraft: ({ properties, name, arrKey, arrName, expandName, persistName, required, forceNonRequired, description, namespaceData, makeValueUndefined, addField, removeField, isEdit, expandedControls, persistedControls, urlParams, }: {
134
127
  properties: {
135
128
  [name: string]: OpenAPIV2.SchemaObject;
136
129
  };
@@ -141,8 +134,6 @@ export declare const getObjectFormItemsDraft: ({ properties, name, arrKey, arrNa
141
134
  expandName?: TFormName | undefined;
142
135
  required?: (string | number)[] | undefined;
143
136
  forceNonRequired?: boolean | undefined;
144
- isHidden?: boolean | undefined;
145
- hiddenPaths?: string[][] | undefined;
146
137
  description?: string | undefined;
147
138
  namespaceData?: TNamespaceData;
148
139
  makeValueUndefined?: ((path: TFormName) => void) | undefined;
@@ -164,7 +155,7 @@ export declare const getObjectFormItemsDraft: ({ properties, name, arrKey, arrNa
164
155
  persistedControls: TPersistedControls;
165
156
  urlParams: TUrlParams;
166
157
  }) => import("react/jsx-runtime").JSX.Element;
167
- export declare const getObjectFormItemFromSwagger: ({ properties, name, arrKey, arrName, expandName, persistName, selfRequired, required, forceNonRequired, isHidden, hiddenPaths, description, namespaceData, makeValueUndefined, addField, isAdditionalProperties, removeField, isEdit, expandedControls, persistedControls, urlParams, onRemoveByMinus, }: {
158
+ export declare const getObjectFormItemFromSwagger: ({ properties, name, arrKey, arrName, expandName, persistName, selfRequired, required, forceNonRequired, description, namespaceData, makeValueUndefined, addField, isAdditionalProperties, removeField, isEdit, expandedControls, persistedControls, urlParams, onRemoveByMinus, }: {
168
159
  properties: {
169
160
  [name: string]: OpenAPIV2.SchemaObject;
170
161
  };
@@ -176,8 +167,6 @@ export declare const getObjectFormItemFromSwagger: ({ properties, name, arrKey,
176
167
  selfRequired?: boolean | undefined;
177
168
  required?: (string | number)[] | undefined;
178
169
  forceNonRequired?: boolean | undefined;
179
- isHidden?: boolean | undefined;
180
- hiddenPaths?: string[][] | undefined;
181
170
  description?: string | undefined;
182
171
  namespaceData?: TNamespaceData;
183
172
  makeValueUndefined?: ((path: TFormName) => void) | undefined;
@@ -1,7 +1,7 @@
1
1
  import { FC } from 'react';
2
- import { TJSON } from '../../../../../localTypes/JSON';
3
- import { TUrlParams } from '../../../../../localTypes/form';
4
- import { TFormsPrefillsData, TFormsOverridesData } from '../../../../../localTypes/formExtensions';
2
+ import { TJSON } from 'localTypes/JSON';
3
+ import { TUrlParams } from 'localTypes/form';
4
+ import { TFormsPrefillsData } from 'localTypes/formExtensions';
5
5
  export type TBlackholeFormDataProviderProps = {
6
6
  theme: 'light' | 'dark';
7
7
  cluster: string;
@@ -18,7 +18,6 @@ export type TBlackholeFormDataProviderProps = {
18
18
  } & unknown)[];
19
19
  };
20
20
  formsPrefillsData?: TFormsPrefillsData;
21
- formsOverridesData?: TFormsOverridesData;
22
21
  data: {
23
22
  type: 'builtin';
24
23
  typeName: string;
@@ -1,6 +1,6 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
  import { TableProps, TablePaginationConfig } from 'antd';
3
- import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } from '../../../localTypes/richTable';
3
+ import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } from 'localTypes/richTable';
4
4
  export type TEnrichedTableProps = {
5
5
  theme: 'light' | 'dark';
6
6
  baseprefix?: string;
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { NavigateFunction } from 'react-router-dom';
3
3
  import { TableProps } from 'antd';
4
- import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } from '../../../localTypes/richTable';
4
+ import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } from 'localTypes/richTable';
5
5
  export declare const getEnrichedColumns: ({ columns, additionalPrinterColumnsUndefinedValues, additionalPrinterColumnsTrimLengths, additionalPrinterColumnsColWidths, }: {
6
6
  columns: TableProps['columns'];
7
7
  additionalPrinterColumnsUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues | undefined;
@@ -1,7 +1,7 @@
1
1
  import React, { FC, ReactNode } from 'react';
2
2
  import { TablePaginationConfig } from 'antd';
3
- import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from '../../../localTypes/richTable';
4
- import { TJSON } from '../../../localTypes/JSON';
3
+ import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from 'localTypes/richTable';
4
+ import { TJSON } from 'localTypes/JSON';
5
5
  export type TEnrichedTableProviderProps = {
6
6
  theme: 'light' | 'dark';
7
7
  baseprefix?: string;
@@ -1,6 +1,6 @@
1
1
  import { TableProps } from 'antd';
2
- import { TJSON } from '../../../localTypes/JSON';
3
- import { TAdditionalPrinterColumns } from '../../../localTypes/richTable';
2
+ import { TJSON } from 'localTypes/JSON';
3
+ import { TAdditionalPrinterColumns } from 'localTypes/richTable';
4
4
  export declare const prepareDataForEnrichedColumns: ({ dataItems, resourceSchema, dataForControls, additionalPrinterColumns, }: {
5
5
  dataItems: TJSON[];
6
6
  resourceSchema?: TJSON | undefined;
@@ -1,6 +1,6 @@
1
1
  import { FC, Dispatch, SetStateAction } from 'react';
2
2
  import { AxiosError } from 'axios';
3
- import { TMarketPlacePanelResource } from '../../../../../localTypes/marketplace';
3
+ import { TMarketPlacePanelResource } from 'localTypes/marketplace';
4
4
  type TAddEditFormModalProps = {
5
5
  clusterName?: string;
6
6
  baseApiGroup: string;
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { TMarketPlacePanel } from '../../../../../localTypes/marketplace';
2
+ import { TMarketPlacePanel } from 'localTypes/marketplace';
3
3
  export type TMarketplaceCardProps = {
4
4
  baseprefix?: string;
5
5
  clusterName: string;
@@ -1,3 +1,3 @@
1
- import { TRendererComponents } from '../../../localTypes/dynamicRender';
1
+ import { TRendererComponents } from 'localTypes/dynamicRender';
2
2
  import { TDynamicComponentsAppTypeMap } from './types';
3
3
  export declare const DynamicComponents: TRendererComponents<TDynamicComponentsAppTypeMap>;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps } from 'antd';
3
3
  import type { TextProps } from 'antd/es/typography/Text';
4
- import { TContentCardProps, TSpacerProps } from '../../atoms';
5
- import { TManageableSidebarWithDataProviderProps } from '../../molecules';
4
+ import { TContentCardProps, TSpacerProps } from 'components/atoms';
5
+ import { TManageableSidebarWithDataProviderProps } from 'components/molecules';
6
6
  export type TDynamicComponentsAppTypeMap = {
7
7
  DefaultDiv: {
8
8
  id: number;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { TItemTypeMap, TRenderableItem, TRendererComponents } from '../../../localTypes/dynamicRender';
2
+ import { TItemTypeMap, TRenderableItem, TRendererComponents } from 'localTypes/dynamicRender';
3
3
  export type TDynamicRendererProps<T extends TItemTypeMap> = {
4
4
  items: readonly TRenderableItem<T>[];
5
5
  components: TRendererComponents<T>;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { TItemTypeMap } from '../../../localTypes/dynamicRender';
2
+ import { TItemTypeMap } from 'localTypes/dynamicRender';
3
3
  import { TDynamicRendererProps } from '../DynamicRenderer';
4
4
  export declare const DynamicRendererWithProviders: <T extends TItemTypeMap>(props: TDynamicRendererProps<T> & {
5
5
  urlsToFetch: string[];
@@ -1,4 +1,4 @@
1
- import { TApiResources } from '../localTypes/k8s';
1
+ import { TApiResources } from 'localTypes/k8s';
2
2
  export declare const useApiResources: ({ clusterName, namespace, apiGroup, apiVersion, typeName, limit, refetchInterval, }: {
3
3
  clusterName: string;
4
4
  namespace?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { TBuiltinResourceTypeList } from '../localTypes/k8s';
1
+ import { TBuiltinResourceTypeList } from 'localTypes/k8s';
2
2
  export declare const useBuiltinResourceTypes: ({ clusterName }: {
3
3
  clusterName: string;
4
4
  }) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<TBuiltinResourceTypeList, Error>;
@@ -1,4 +1,4 @@
1
- import { TJSON } from '../localTypes/JSON';
1
+ import { TJSON } from 'localTypes/JSON';
2
2
  export declare const useCrdResources: <T = TJSON[]>({ clusterName, namespace, apiGroup, apiVersion, crdName, refetchInterval, }: {
3
3
  clusterName: string;
4
4
  namespace?: string | undefined;
@@ -21,7 +21,7 @@ export { useBuiltinResourceTypes } from './hooks/useBuiltinResourceTypes';
21
21
  export { useCrdData } from './hooks/useCrdData';
22
22
  export { useDirectUnknownResource } from './hooks/useDirectUnknownResource';
23
23
  export type { TUrlParams } from './localTypes/form';
24
- export type { TFormsPrefillsData, TFormsOverridesData } from './localTypes/formExtensions';
24
+ export type { TFormsPrefillsData } from './localTypes/formExtensions';
25
25
  export type { TClusterList } from './localTypes/clusterList';
26
26
  export type { TJSON } from './localTypes/JSON';
27
27
  export type { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths, TTableMappingData, TTableMappingResource, TTableMappingResponse, } from './localTypes/richTable';
@@ -10,22 +10,6 @@ export type TFormPrefill = {
10
10
  export type TFormsPrefillsData = {
11
11
  items: TFormPrefill[];
12
12
  };
13
- export type TFormOverride = {
14
- spec: {
15
- overrideType: string;
16
- strategy: string;
17
- schema: {
18
- properties: Record<string, unknown>;
19
- required?: string[];
20
- };
21
- hidden?: string[][];
22
- expanded?: string[][];
23
- persisted?: string[][];
24
- };
25
- };
26
- export type TFormsOverridesData = {
27
- items: (TFormOverride & unknown)[];
28
- };
29
13
  type TRangeInputCustomValue = {
30
14
  type: 'number';
31
15
  value: number;
@@ -1,4 +1,4 @@
1
- import { TApiGroupList, TBuiltinResourceTypeList } from '../../localTypes/k8s';
1
+ import { TApiGroupList, TBuiltinResourceTypeList } from 'localTypes/k8s';
2
2
  export declare const getGroupsByCategory: ({ clusterName, apiGroupListData, builtinResourceTypesData, namespace, noncrds, }: {
3
3
  clusterName: string;
4
4
  namespace?: string | undefined;
@@ -1,2 +1,2 @@
1
- import { TFormName } from '../../localTypes/form';
1
+ import { TFormName } from 'localTypes/form';
2
2
  export declare const getStringByName: (name: TFormName) => string;
@@ -1,4 +1,4 @@
1
- import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from '../../localTypes/richTable';
1
+ import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from 'localTypes/richTable';
2
2
  export declare const isWithAdditionalPrinterColumns: (x: any) => x is {
3
3
  spec: {
4
4
  additionalPrinterColumns: TAdditionalPrinterColumns;
@@ -1,5 +1,5 @@
1
- import { TCrdResources } from '../../localTypes/k8s';
2
- import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths } from '../../localTypes/richTable';
1
+ import { TCrdResources } from 'localTypes/k8s';
2
+ import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths } from 'localTypes/richTable';
3
3
  export declare const parseCustomOverrides: ({ columnsOverridesData, overrideType, }: {
4
4
  columnsOverridesData?: {
5
5
  kind: string;
@@ -1,4 +1,4 @@
1
- import { TTableMappingData } from '../../localTypes/richTable';
1
+ import { TTableMappingData } from 'localTypes/richTable';
2
2
  export declare const prepareTableMappings: ({ data, clusterName, projectName, instanceName, namespace, syntheticProject, entryType, apiGroup, apiVersion, typeName, entryName, apiExtensionVersion, crdName, pathname, }: {
3
3
  data: Partial<TTableMappingData>[];
4
4
  clusterName?: string | undefined;
@@ -1,4 +1,4 @@
1
- import { TFormName } from '../../localTypes/form';
1
+ import { TFormName } from 'localTypes/form';
2
2
  export declare const removeEmptyFormValues: (object: any, persistedKeys: TFormName[], currentPath?: (string | number)[]) => any;
3
3
  export declare const renameBrokenFieldBack: (object: any) => any;
4
4
  export declare const renameBrokenFieldBackToFormAgain: (object: any) => any;