@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.54 → 0.0.1-alpha.56
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 +149 -13
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +149 -13
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/atoms/ContentCard/ContentCard.d.ts +1 -0
- package/dist/types/components/atoms/ContentCard/styled.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts +1 -0
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/types.d.ts +1 -1
- package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTableProvider/EnrichedTableProvider.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/EnrichedTable.d.ts +6 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/EnrichedTable/utils.d.ts +9 -0
- package/dist/types/components/organisms/DynamicComponents/molecules/index.d.ts +1 -0
- package/dist/types/components/organisms/DynamicComponents/types.d.ts +12 -1
- package/dist/types/components/organisms/DynamicRendererWithProviders/DynamicRendererWithProviders.d.ts +1 -0
- package/dist/types/components/organisms/DynamicRendererWithProviders/themeContext.d.ts +8 -0
- package/dist/types/localTypes/bff/table.d.ts +1 -0
- package/dist/types/localTypes/dynamicRender.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ type TContentContainerProps = {
|
|
|
5
5
|
$flexGrow?: number;
|
|
6
6
|
$displayFlex?: boolean;
|
|
7
7
|
$flexFlow?: string;
|
|
8
|
+
$maxHeight?: number;
|
|
8
9
|
};
|
|
9
10
|
export declare const ContentContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TContentContainerProps>>;
|
|
10
11
|
export declare const Styled: {
|
package/dist/types/components/molecules/EnrichedTable/organisms/EnrichedTable/EnrichedTable.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export type TEnrichedTableProps = {
|
|
|
8
8
|
columns: TableProps['columns'];
|
|
9
9
|
pathToNavigate?: string;
|
|
10
10
|
recordKeysForNavigation?: string[];
|
|
11
|
+
recordKeysForNavigationSecond?: string[];
|
|
11
12
|
additionalPrinterColumnsUndefinedValues?: TAdditionalPrinterColumnsUndefinedValues;
|
|
12
13
|
additionalPrinterColumnsTrimLengths?: TAdditionalPrinterColumnsTrimLengths;
|
|
13
14
|
additionalPrinterColumnsColWidths?: TAdditionalPrinterColumnsColWidths;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EnrichedTable';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type TDataMap = {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
};
|
|
4
|
+
export declare const parseMutliqueryText: ({ text, multiQueryData }: {
|
|
5
|
+
text?: string | undefined;
|
|
6
|
+
multiQueryData: TDataMap;
|
|
7
|
+
}) => string;
|
|
8
|
+
export declare const serializeLabels: (input: unknown) => string;
|
|
9
|
+
export {};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { CardProps, FlexProps, RowProps, ColProps, ButtonProps, TabsProps } from 'antd';
|
|
3
3
|
import type { TextProps } from 'antd/es/typography/Text';
|
|
4
4
|
import { TContentCardProps, TSpacerProps } from '../../atoms';
|
|
5
|
-
import { TManageableSidebarWithDataProviderProps } from '../../molecules';
|
|
5
|
+
import { TManageableSidebarWithDataProviderProps, TEnrichedTableProviderProps } from '../../molecules';
|
|
6
6
|
export type TDynamicComponentsAppTypeMap = {
|
|
7
7
|
DefaultDiv: {
|
|
8
8
|
id: number;
|
|
@@ -83,4 +83,15 @@ export type TDynamicComponentsAppTypeMap = {
|
|
|
83
83
|
SidebarProvider: {
|
|
84
84
|
id: number;
|
|
85
85
|
} & Omit<TManageableSidebarWithDataProviderProps, 'replaceValues'>;
|
|
86
|
+
EnrichedTable: {
|
|
87
|
+
id: number;
|
|
88
|
+
fetchUrl: string;
|
|
89
|
+
pathToItems: string[];
|
|
90
|
+
clusterNamePartOfUrl: string;
|
|
91
|
+
labelsSelector?: Record<string, string>;
|
|
92
|
+
fieldSelector?: {
|
|
93
|
+
fieldName: string;
|
|
94
|
+
parsedText: string;
|
|
95
|
+
};
|
|
96
|
+
} & Omit<TEnrichedTableProviderProps, 'tableMappingsReplaceValues' | 'cluster' | 'theme' | 'tableProps' | 'dataItems' | 'withoutControls'>;
|
|
86
97
|
};
|
|
@@ -3,4 +3,5 @@ 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[];
|
|
6
|
+
theme: 'dark' | 'light';
|
|
6
7
|
}) => ReactElement;
|
|
@@ -16,6 +16,7 @@ export type TRendererComponents<T extends TItemTypeMap> = {
|
|
|
16
16
|
export type TFactoryDataK8s<T extends TItemTypeMap> = {
|
|
17
17
|
key: string;
|
|
18
18
|
urlsToFetch: string[];
|
|
19
|
+
withScrollableMainContentCard?: boolean;
|
|
19
20
|
data: TRenderableItem<T>[];
|
|
20
21
|
};
|
|
21
22
|
export type TFactoryResource<T extends TItemTypeMap> = {
|
package/package.json
CHANGED