@prorobotech/openapi-k8s-toolkit 1.1.0-alpha.7 → 1.1.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi-k8s-toolkit.es.js +747 -326
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +754 -330
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/atoms/CursorDefaultDiv/CursorDefaultDiv.d.ts +2 -2
- package/dist/types/components/atoms/CursorDefaultDiv/index.d.ts +1 -1
- package/dist/types/components/atoms/CursorPointerTag/index.d.ts +1 -1
- package/dist/types/components/atoms/CursorPointerTagMinContent/index.d.ts +1 -1
- package/dist/types/components/atoms/CustomSelect/index.d.ts +1 -1
- package/dist/types/components/atoms/FlexGrow/index.d.ts +1 -1
- package/dist/types/components/atoms/PaddingContainer/index.d.ts +1 -1
- package/dist/types/components/atoms/ResourceLink/ResourceLink.d.ts +19 -0
- package/dist/types/components/atoms/ResourceLink/index.d.ts +1 -0
- package/dist/types/components/atoms/ResourceLink/styled.d.ts +8 -0
- package/dist/types/components/atoms/UncontrolledSelect/index.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +19 -13
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/ArrayInsideContainer.d.ts +2 -2
- package/dist/types/components/molecules/BlackholeForm/atoms/ArrayInsideContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomCollapse/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/CustomSizeTitle/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/DebugNameViewer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/HeightContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/HiddenContainer.d.ts +4 -2
- package/dist/types/components/molecules/BlackholeForm/atoms/HiddenContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/PersistedCheckbox/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/PossibleHiddenContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/ResetedFormItem/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/atoms/index.d.ts +9 -9
- package/dist/types/components/molecules/BlackholeForm/index.d.ts +2 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormArrayHeader/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormBooleanInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormEnumStringInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/FormInlineYamlEditor.d.ts +4 -2
- package/dist/types/components/molecules/BlackholeForm/molecules/FormInlineYamlEditor/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormListInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNamespaceInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormNumberInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormObjectFromSwagger/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/RangeInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormRangeInput/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/FormStringMultilineInput/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditor/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/YamlEditorSingleton/index.d.ts +1 -1
- package/dist/types/components/molecules/BlackholeForm/molecules/index.d.ts +13 -13
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/BlackholeForm.d.ts +2 -3
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeForm/index.d.ts +1 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/{BlackholeFormDataProvider/BlackholeFormDataProvider.d.ts → BlackholeFormProvider/BlackholeFormProvider.d.ts} +2 -2
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormProvider/index.d.ts +2 -0
- package/dist/types/components/molecules/BlackholeForm/organisms/index.d.ts +4 -2
- package/dist/types/components/molecules/EnrichedTable/index.d.ts +2 -1
- package/dist/types/components/molecules/EnrichedTable/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/FilterDropdown/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/ShortenedTextWithTooltip/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TableComponents/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TextAlignContainer/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TinyButton/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/TrimmedTags/index.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/atoms/index.d.ts +6 -6
- package/dist/types/components/molecules/EnrichedTable/organisms/index.d.ts +4 -2
- package/dist/types/components/molecules/Events/Events.d.ts +3 -2
- package/dist/types/components/molecules/Events/index.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/EventRow.d.ts +1 -0
- package/dist/types/components/molecules/Events/molecules/EventRow/utils.d.ts +0 -20
- package/dist/types/components/molecules/ManageableBreadcrumbs/index.d.ts +2 -3
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/CollapsibleBreadcrumb/index.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +8 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbs/index.d.ts +2 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/ManageableBreadcrumbsProvider.d.ts +12 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/ManageableBreadcrumbsProvider/styled.d.ts +276 -0
- package/dist/types/components/molecules/ManageableBreadcrumbs/organisms/index.d.ts +4 -0
- package/dist/types/components/molecules/ManageableSidebar/index.d.ts +2 -3
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebar/ManageableSidebar.d.ts +10 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebar/index.d.ts +2 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/ManageableSidebarProvider.d.ts +15 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/ManageableSidebarProvider/index.d.ts +3 -0
- package/dist/types/components/molecules/ManageableSidebar/organisms/index.d.ts +4 -0
- package/dist/types/components/molecules/MarketPlace/atoms/AddCard/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/atoms/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/AddEditFormModal/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/MarketplaceCard/index.d.ts +2 -1
- package/dist/types/components/molecules/MarketPlace/molecules/SearchTextInput/index.d.ts +1 -1
- package/dist/types/components/molecules/MarketPlace/molecules/index.d.ts +4 -3
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownAccessGroups/index.d.ts +1 -1
- package/dist/types/components/molecules/ProjectInfoCard/molecules/DropdownActions/index.d.ts +1 -1
- package/dist/types/components/molecules/ProjectInfoCard/molecules/index.d.ts +2 -2
- package/dist/types/components/molecules/Search/Search.d.ts +1 -2
- package/dist/types/components/molecules/Search/index.d.ts +1 -0
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/XTerminal/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/NodeTerminal/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/XTerminal/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogs/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/MonacoEditor/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodLogsMonaco/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/XTerminal/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/PodTerminal/molecules/index.d.ts +1 -1
- package/dist/types/components/molecules/Terminals/index.d.ts +8 -4
- package/dist/types/components/molecules/index.d.ts +18 -9
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Annotations/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdButton/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdCol/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdFlex/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdLink/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdRow/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdTabs/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/AntdText/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ArrayOfObjectsToKeyValues/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ContentCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ConverterBytes/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/DefaultDiv/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Events/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ItemCounter/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/KeyCounter/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Labels/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/LabelsToSearchParams/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/MarketplaceCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/MultiQuery/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/NodeTerminal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/OwnerRefs.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/guard.d.ts +2 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/RefsList.d.ts +21 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/RefElement.d.ts +20 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/RefElement/utils.d.ts +5 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/organsisms/RefsList/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/OwnerRefs/types.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/ParsedText/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/PartsOfUrl/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/PodLogs/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/PodTerminal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/ResourceBadge/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/SecretBase64Plain/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Spacer/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/StatusText/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/EditModal/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/index.d.ts +1 -1
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +37 -36
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +27 -4
- package/dist/types/components/organisms/index.d.ts +5 -3
- package/dist/types/index.d.ts +1 -0
- package/dist/types/localTypes/bff/table.d.ts +1 -0
- package/dist/types/localTypes/navigations.d.ts +24 -0
- package/dist/types/utils/createContextFactory/index.d.ts +1 -1
- package/dist/types/utils/deepMerge/index.d.ts +1 -1
- package/dist/types/utils/filterSelectOptions/index.d.ts +1 -1
- package/dist/types/utils/getAllPathsFromObj/index.d.ts +1 -1
- package/dist/types/utils/getGroupsByCategory/index.d.ts +1 -1
- package/dist/types/utils/getPrefixSubArrays/index.d.ts +1 -1
- package/dist/types/utils/getResourceLink/getResourceLink.d.ts +27 -0
- package/dist/types/utils/getResourceLink/index.d.ts +1 -0
- package/dist/types/utils/getSortedKinds/index.d.ts +1 -1
- package/dist/types/utils/getSortedKindsAll/index.d.ts +1 -1
- package/dist/types/utils/getStringByName/index.d.ts +1 -1
- package/dist/types/utils/getUppercase/index.d.ts +1 -1
- package/dist/types/utils/groupsToTreeData/index.d.ts +2 -1
- package/dist/types/utils/hslFromString/index.d.ts +1 -1
- package/dist/types/utils/index.d.ts +25 -22
- package/dist/types/utils/isFlatObject/index.d.ts +1 -1
- package/dist/types/utils/kindByGvr/index.d.ts +1 -1
- package/dist/types/utils/namespacedByGvr/index.d.ts +1 -1
- package/dist/types/utils/nestedStringsArrayInclude/index.d.ts +1 -1
- package/dist/types/utils/normalizeValuesForQuotas/index.d.ts +1 -1
- package/dist/types/utils/parseForQuotaValues/index.d.ts +1 -1
- package/dist/types/utils/pluralByKind/index.d.ts +1 -1
- package/dist/types/utils/prepareTemplate/index.d.ts +1 -1
- package/dist/types/utils/prepareUrlsToFetchForDynamicRenderer/index.d.ts +1 -1
- package/dist/types/utils/tableLocations/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/molecules/BlackholeForm/organisms/BlackholeFormDataProvider/index.d.ts +0 -2
- package/dist/types/components/molecules/ManageableBreadcrumbs/ManageableBreadcrumbs.d.ts +0 -19
- package/dist/types/components/molecules/ManageableSidebar/ManageableSidebar.d.ts +0 -24
- /package/dist/types/components/molecules/ManageableBreadcrumbs/{styled.d.ts → organisms/ManageableBreadcrumbs/styled.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableBreadcrumbs/{types.d.ts → organisms/ManageableBreadcrumbsProvider/types.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableBreadcrumbs/{utils.d.ts → organisms/ManageableBreadcrumbsProvider/utils.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableSidebar/{styled.d.ts → organisms/ManageableSidebar/styled.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableSidebar/{types.d.ts → organisms/ManageableSidebarProvider/types.d.ts} +0 -0
- /package/dist/types/components/molecules/ManageableSidebar/{utils.d.ts → organisms/ManageableSidebarProvider/utils.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { OwnerRefs } from './OwnerRefs';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { FlexProps } from 'antd';
|
|
3
|
+
import { TOwnerReference } from '../../types';
|
|
4
|
+
export type TRefsListProps = {
|
|
5
|
+
theme: 'dark' | 'light';
|
|
6
|
+
baseprefix?: string;
|
|
7
|
+
cluster: string;
|
|
8
|
+
refsArr: TOwnerReference[];
|
|
9
|
+
keysToForcedLabel?: string | string[];
|
|
10
|
+
forcedRelatedValuePath?: string;
|
|
11
|
+
rawObjectToFindLabel?: any;
|
|
12
|
+
jsonPathToArrayOfRefs: string;
|
|
13
|
+
baseFactoryNamespacedAPIKey: string;
|
|
14
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
15
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
16
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
17
|
+
baseNavigationPluralName: string;
|
|
18
|
+
baseNavigationSpecificName: string;
|
|
19
|
+
listFlexProps?: FlexProps;
|
|
20
|
+
};
|
|
21
|
+
export declare const RefsList: FC<TRefsListProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RefsList } from './RefsList';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { TOwnerReference } from '../../../../types';
|
|
3
|
+
type TRefElementProps = {
|
|
4
|
+
reference: TOwnerReference;
|
|
5
|
+
keysToForcedLabel?: string | string[];
|
|
6
|
+
forcedRelatedValuePath?: string;
|
|
7
|
+
rawObjectToFindLabel?: any;
|
|
8
|
+
jsonPathToArrayOfRefs: string;
|
|
9
|
+
theme: 'dark' | 'light';
|
|
10
|
+
baseprefix?: string;
|
|
11
|
+
cluster: string;
|
|
12
|
+
getPlural?: (kind: string, apiVersion?: string) => string | undefined;
|
|
13
|
+
baseFactoryNamespacedAPIKey: string;
|
|
14
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
15
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
16
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
17
|
+
baseFactoriesMapping?: Record<string, string>;
|
|
18
|
+
};
|
|
19
|
+
export declare const RefElement: FC<TRefElementProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RefElement } from './RefElement';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TOwnerReference } from '../../../../types';
|
|
2
|
+
type PathSeg = string | number;
|
|
3
|
+
export declare const findOwnerReferencePath: (rawObject: any, jsonPathToArrayOfRefs: string, reference: TOwnerReference) => PathSeg[] | undefined;
|
|
4
|
+
export declare const resolveFormPath: (pathInput: string | string[] | undefined, basePathForRelative: PathSeg[]) => PathSeg[];
|
|
5
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RefElement } from './RefElement';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ParsedText } from './ParsedText';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { PartsOfUrl } from './PartsOfUrl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { PodLogs } from './PodLogs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { PodTerminal } from './PodTerminal';
|
package/dist/types/components/organisms/DynamicComponents/molecules/ProjectInfoCard/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ProjectInfoCard } from './ProjectInfoCard';
|
package/dist/types/components/organisms/DynamicComponents/molecules/ResourceBadge/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { ResourceBadge } from './ResourceBadge';
|
package/dist/types/components/organisms/DynamicComponents/molecules/SecretBase64Plain/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { SecretBase64Plain } from './SecretBase64Plain';
|
package/dist/types/components/organisms/DynamicComponents/molecules/SidebarProvider/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { SidebarProvider } from './SidebarProvider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Spacer } from './Spacer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { StatusText } from './StatusText';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Taints } from './Taints';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { EditModal } from './EditModal';
|
package/dist/types/components/organisms/DynamicComponents/molecules/Taints/molecules/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { EditModal } from './EditModal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { Tolerations } from './Tolerations';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { EditModal } from './EditModal';
|
package/dist/types/components/organisms/DynamicComponents/molecules/Tolerations/molecules/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { EditModal } from './EditModal';
|
package/dist/types/components/organisms/DynamicComponents/molecules/VisibilityContainer/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { VisibilityContainer } from './VisibilityContainer';
|
package/dist/types/components/organisms/DynamicComponents/molecules/YamlEditorSingleton/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { YamlEditorSingleton } from './YamlEditorSingleton';
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
1
|
+
export { AntdText } from './AntdText';
|
|
2
|
+
export { AntdLink } from './AntdLink';
|
|
3
|
+
export { AntdCard } from './AntdCard';
|
|
4
|
+
export { AntdFlex } from './AntdFlex';
|
|
5
|
+
export { AntdRow } from './AntdRow';
|
|
6
|
+
export { AntdCol } from './AntdCol';
|
|
7
|
+
export { AntdTabs } from './AntdTabs';
|
|
8
|
+
export { AntdButton } from './AntdButton';
|
|
9
|
+
export { PartsOfUrl } from './PartsOfUrl';
|
|
10
|
+
export { MultiQuery } from './MultiQuery';
|
|
11
|
+
export { ParsedText } from './ParsedText';
|
|
12
|
+
export { ProjectInfoCard } from './ProjectInfoCard';
|
|
13
|
+
export { MarketplaceCard } from './MarketplaceCard';
|
|
14
|
+
export { ContentCard } from './ContentCard';
|
|
15
|
+
export { Spacer } from './Spacer';
|
|
16
|
+
export { DefaultDiv } from './DefaultDiv';
|
|
17
|
+
export { StatusText } from './StatusText';
|
|
18
|
+
export { SidebarProvider } from './SidebarProvider';
|
|
19
|
+
export { EnrichedTable } from './EnrichedTable';
|
|
20
|
+
export { PodTerminal } from './PodTerminal';
|
|
21
|
+
export { NodeTerminal } from './NodeTerminal';
|
|
22
|
+
export { PodLogs } from './PodLogs';
|
|
23
|
+
export { YamlEditorSingleton } from './YamlEditorSingleton';
|
|
24
|
+
export { VisibilityContainer } from './VisibilityContainer';
|
|
25
|
+
export { ArrayOfObjectsToKeyValues } from './ArrayOfObjectsToKeyValues';
|
|
26
|
+
export { ItemCounter } from './ItemCounter';
|
|
27
|
+
export { KeyCounter } from './KeyCounter';
|
|
28
|
+
export { Labels } from './Labels';
|
|
29
|
+
export { LabelsToSearchParams } from './LabelsToSearchParams';
|
|
30
|
+
export { Taints } from './Taints';
|
|
31
|
+
export { Tolerations } from './Tolerations';
|
|
32
|
+
export { Annotations } from './Annotations';
|
|
33
|
+
export { ConverterBytes } from './ConverterBytes';
|
|
34
|
+
export { SecretBase64Plain } from './SecretBase64Plain';
|
|
35
|
+
export { ResourceBadge } from './ResourceBadge';
|
|
36
|
+
export { Events } from './Events';
|
|
37
|
+
export { OwnerRefs } from './OwnerRefs';
|
|
@@ -2,9 +2,9 @@ import { CSSProperties } from 'react';
|
|
|
2
2
|
import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps, SelectProps } from 'antd';
|
|
3
3
|
import type { TextProps } from 'antd/es/typography/Text';
|
|
4
4
|
import type { LinkProps } from 'antd/es/typography/Link';
|
|
5
|
-
import { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
6
|
-
import {
|
|
7
|
-
import { TUnitInput } from './molecules/ConverterBytes/types';
|
|
5
|
+
import type { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
6
|
+
import type { TManageableSidebarProviderProps, TEnrichedTableProviderProps } from '../../molecules';
|
|
7
|
+
import type { TUnitInput } from './molecules/ConverterBytes/types';
|
|
8
8
|
export type TDynamicComponentsAppTypeMap = {
|
|
9
9
|
DefaultDiv: {
|
|
10
10
|
id: number | string;
|
|
@@ -99,7 +99,7 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
99
99
|
} & Omit<TextProps, 'id' | 'children'>;
|
|
100
100
|
SidebarProvider: {
|
|
101
101
|
id: number | string;
|
|
102
|
-
} & Omit<
|
|
102
|
+
} & Omit<TManageableSidebarProviderProps, 'replaceValues'>;
|
|
103
103
|
EnrichedTable: {
|
|
104
104
|
id: number | string;
|
|
105
105
|
fetchUrl?: string;
|
|
@@ -329,5 +329,28 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
329
329
|
baseFactoryNamespacedBuiltinKey: string;
|
|
330
330
|
baseFactoryClusterSceopedBuiltinKey: string;
|
|
331
331
|
baseNamespaceFactoryKey: string;
|
|
332
|
+
baseNavigationPluralName: string;
|
|
333
|
+
baseNavigationSpecificName: string;
|
|
334
|
+
};
|
|
335
|
+
OwnerRefs: {
|
|
336
|
+
id: number | string;
|
|
337
|
+
baseprefix?: string;
|
|
338
|
+
clusterNamePartOfUrl: string;
|
|
339
|
+
reqIndex: string;
|
|
340
|
+
errorText: string;
|
|
341
|
+
notArrayErrorText: string;
|
|
342
|
+
emptyArrayErrorText: string;
|
|
343
|
+
isNotRefsArrayErrorText: string;
|
|
344
|
+
containerStyle?: CSSProperties;
|
|
345
|
+
listFlexProps?: FlexProps;
|
|
346
|
+
jsonPathToArrayOfRefs: string;
|
|
347
|
+
keysToForcedLabel?: string | string[];
|
|
348
|
+
forcedRelatedValuePath?: string;
|
|
349
|
+
baseFactoryNamespacedAPIKey: string;
|
|
350
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
351
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
352
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
353
|
+
baseNavigationPluralName: string;
|
|
354
|
+
baseNavigationSpecificName: string;
|
|
332
355
|
};
|
|
333
356
|
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { DynamicRenderer } from './DynamicRenderer';
|
|
2
|
+
export type { TDynamicRendererProps } from './DynamicRenderer';
|
|
3
|
+
export { DynamicComponents } from './DynamicComponents';
|
|
4
|
+
export type { TDynamicComponentsAppTypeMap } from './DynamicComponents';
|
|
5
|
+
export { DynamicRendererWithProviders } from './DynamicRendererWithProviders';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -40,3 +40,4 @@ export type { TFilterIfApiInstanceNamespaceScopedReq, TFilterIfApiInstanceNamesp
|
|
|
40
40
|
export type { TVersionEntry, TKindItem, TKindIndex } from './localTypes/bff/search';
|
|
41
41
|
export type { TGetDerefedSwaggerRes } from './localTypes/bff/swagger';
|
|
42
42
|
export type { TKindWithVersion } from './localTypes/search';
|
|
43
|
+
export type { TNavigationResource } from './localTypes/navigations';
|
|
@@ -3,6 +3,7 @@ export type TPrepareTableReq = {
|
|
|
3
3
|
customizationId?: string;
|
|
4
4
|
tableMappingsReplaceValues?: Record<string, string | undefined>;
|
|
5
5
|
forceDefaultAdditionalPrinterColumns?: TAdditionalPrinterColumns;
|
|
6
|
+
clusterName: string;
|
|
6
7
|
namespace?: string;
|
|
7
8
|
k8sResource?: {
|
|
8
9
|
resource: string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type TNavigationResource = unknown & {
|
|
2
|
+
metadata: {
|
|
3
|
+
name: string;
|
|
4
|
+
creationTimestamp: string;
|
|
5
|
+
uid?: string;
|
|
6
|
+
namespace?: string;
|
|
7
|
+
};
|
|
8
|
+
spec?: {
|
|
9
|
+
projects?: {
|
|
10
|
+
clear: string;
|
|
11
|
+
change: string;
|
|
12
|
+
};
|
|
13
|
+
instances?: {
|
|
14
|
+
clear: string;
|
|
15
|
+
change: string;
|
|
16
|
+
mapOptionsPattern?: string;
|
|
17
|
+
};
|
|
18
|
+
namespaces?: {
|
|
19
|
+
clear: string;
|
|
20
|
+
change: string;
|
|
21
|
+
};
|
|
22
|
+
baseFactoriesMapping?: Record<string, string>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { createContextFactory } from './createContextFactory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { deepMerge } from './deepMerge';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { filterSelectOptions } from './filterSelectOptions';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getAllPathsFromObj } from './getAllPathsFromObj';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getGroupsByCategory } from './getGroupsByCategory';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getPrefixSubarrays } from './getPrefixSubArrays';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type TApiVersionParts = {
|
|
2
|
+
apiGroup?: string;
|
|
3
|
+
apiVersion: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const parseApiVersion: (apiVersion: string) => TApiVersionParts;
|
|
6
|
+
export declare const getResourceLink: ({ baseprefix, cluster, namespace, apiGroupVersion, pluralName, name, baseFactoryNamespacedAPIKey, baseFactoryClusterSceopedAPIKey, baseFactoryNamespacedBuiltinKey, baseFactoryClusterSceopedBuiltinKey, baseFactoriesMapping, }: {
|
|
7
|
+
baseprefix?: string | undefined;
|
|
8
|
+
cluster: string;
|
|
9
|
+
namespace?: string | undefined;
|
|
10
|
+
apiGroupVersion: string;
|
|
11
|
+
pluralName?: string | undefined;
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
baseFactoryNamespacedAPIKey: string;
|
|
14
|
+
baseFactoryClusterSceopedAPIKey: string;
|
|
15
|
+
baseFactoryNamespacedBuiltinKey: string;
|
|
16
|
+
baseFactoryClusterSceopedBuiltinKey: string;
|
|
17
|
+
baseFactoriesMapping?: Record<string, string> | undefined;
|
|
18
|
+
}) => string | undefined;
|
|
19
|
+
export declare const getNamespaceLink: ({ baseprefix, cluster, apiGroupVersion, pluralName, namespace, baseNamespaceFactoryKey, }: {
|
|
20
|
+
baseprefix?: string | undefined;
|
|
21
|
+
cluster: string;
|
|
22
|
+
pluralName: string;
|
|
23
|
+
apiGroupVersion: string;
|
|
24
|
+
namespace?: string | undefined;
|
|
25
|
+
baseNamespaceFactoryKey: string;
|
|
26
|
+
}) => string | undefined;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getResourceLink, getNamespaceLink } from './getResourceLink';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getSortedKinds } from './getSortedKinds';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getSortedKindsAll } from './getSortedKindsAll';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getStringByName } from './getStringByName';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getUppercase } from './getUppercase';
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { groupsToTreeData, getBuiltinTreeData } from './groupsToTreeData';
|
|
2
|
+
export type { TGroupsToTreeDataProps } from './groupsToTreeData';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { hslFromString } from './hslFromString';
|
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
1
|
+
export { prepareTemplate } from './prepareTemplate';
|
|
2
|
+
export { isFlatObject } from './isFlatObject';
|
|
3
|
+
export { filterSelectOptions } from './filterSelectOptions';
|
|
4
|
+
export { getStringByName } from './getStringByName';
|
|
5
|
+
export { floorToDecimal, parseQuotaValue, parseQuotaValueCpu, parseQuotaValueMemoryAndStorage, } from './parseForQuotaValues';
|
|
6
|
+
export { normalizeValuesForQuotasToNumber } from './normalizeValuesForQuotas';
|
|
7
|
+
export { getAllPathsFromObj } from './getAllPathsFromObj';
|
|
8
|
+
export { getPrefixSubarrays } from './getPrefixSubArrays';
|
|
9
|
+
export { groupsToTreeData, getBuiltinTreeData } from './groupsToTreeData';
|
|
10
|
+
export type { TGroupsToTreeDataProps } from './groupsToTreeData';
|
|
11
|
+
export { getGroupsByCategory } from './getGroupsByCategory';
|
|
12
|
+
export { createContextFactory } from './createContextFactory';
|
|
13
|
+
export { prepareUrlsToFetchForDynamicRenderer } from './prepareUrlsToFetchForDynamicRenderer';
|
|
14
|
+
export { deepMerge } from './deepMerge';
|
|
15
|
+
export { getSortedKinds } from './getSortedKinds';
|
|
16
|
+
export { getSortedKindsAll } from './getSortedKindsAll';
|
|
17
|
+
export { hslFromString } from './hslFromString';
|
|
18
|
+
export { getUppercase } from './getUppercase';
|
|
19
|
+
export { kindByGvr } from './kindByGvr';
|
|
20
|
+
export { pluralByKind } from './pluralByKind';
|
|
21
|
+
export { namespacedByGvr } from './namespacedByGvr';
|
|
22
|
+
export { getLinkToBuiltinForm, getLinkToApiForm, getLinkToForm } from './tableLocations';
|
|
23
|
+
export { isMultilineString, isMultilineFromYaml } from './isMultilineString';
|
|
24
|
+
export { includesArray } from './nestedStringsArrayInclude';
|
|
25
|
+
export { getResourceLink, getNamespaceLink } from './getResourceLink';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { isFlatObject } from './isFlatObject';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { kindByGvr } from './kindByGvr';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { namespacedByGvr } from './namespacedByGvr';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { includesArray } from './nestedStringsArrayInclude';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { normalizeValuesForQuotasToNumber } from './normalizeValuesForQuotas';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { floorToDecimal, parseQuotaValue, parseQuotaValueCpu, parseQuotaValueMemoryAndStorage, } from './parseForQuotaValues';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { pluralByKind } from './pluralByKind';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { prepareTemplate } from './prepareTemplate';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { prepareUrlsToFetchForDynamicRenderer } from './prepareUrlsToFetchForDynamicRenderer';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getLinkToBuiltinForm, getLinkToApiForm, getLinkToForm } from './tableLocations';
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { BreadcrumbItemType } from 'antd/es/breadcrumb/Breadcrumb';
|
|
3
|
-
export type TManageableBreadcrumbsProps = {
|
|
4
|
-
data: {
|
|
5
|
-
breadcrumbItems: BreadcrumbItemType[];
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare const ManageableBreadcrumbs: FC<TManageableBreadcrumbsProps>;
|
|
9
|
-
export type TManageableBreadcrumbsWithDataProviderProps = {
|
|
10
|
-
cluster: string;
|
|
11
|
-
apiGroup: string;
|
|
12
|
-
apiVersion: string;
|
|
13
|
-
plural: string;
|
|
14
|
-
isEnabled?: boolean;
|
|
15
|
-
replaceValues: Record<string, string | undefined>;
|
|
16
|
-
pathname: string;
|
|
17
|
-
idToCompare: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const ManageableBreadcrumbsWithDataProvider: FC<TManageableBreadcrumbsWithDataProviderProps>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { ItemType } from 'antd/es/menu/interface';
|
|
3
|
-
export type TManageableSidebarProps = {
|
|
4
|
-
data: {
|
|
5
|
-
menuItems: ItemType[];
|
|
6
|
-
selectedKeys: string[];
|
|
7
|
-
};
|
|
8
|
-
noMarginTop?: boolean;
|
|
9
|
-
};
|
|
10
|
-
export declare const ManageableSidebar: FC<TManageableSidebarProps>;
|
|
11
|
-
export type TManageableSidebarWithDataProviderProps = {
|
|
12
|
-
cluster: string;
|
|
13
|
-
apiGroup: string;
|
|
14
|
-
apiVersion: string;
|
|
15
|
-
plural: string;
|
|
16
|
-
isEnabled?: boolean;
|
|
17
|
-
replaceValues: Record<string, string | undefined>;
|
|
18
|
-
pathname: string;
|
|
19
|
-
idToCompare: string;
|
|
20
|
-
currentTags?: string[];
|
|
21
|
-
hidden?: boolean;
|
|
22
|
-
noMarginTop?: boolean;
|
|
23
|
-
};
|
|
24
|
-
export declare const ManageableSidebarWithDataProvider: FC<TManageableSidebarWithDataProviderProps>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|