@prorobotech/openapi-k8s-toolkit 0.0.1-alpha.17 → 0.0.1-alpha.19
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 +1181 -1164
- package/dist/openapi-k8s-toolkit.es.js.map +1 -1
- package/dist/openapi-k8s-toolkit.umd.js +49 -49
- package/dist/openapi-k8s-toolkit.umd.js.map +1 -1
- package/dist/types/components/molecules/EnrichedTable/EnrichedTable.d.ts +10 -2
- package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/TableComponents.d.ts +2 -0
- package/dist/types/components/molecules/EnrichedTable/utils.d.ts +4 -1
- package/dist/types/components/molecules/EnrichedTableProvider/EnrichedTableProvider.d.ts +9 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { TableProps } from 'antd';
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
|
+
import { TableProps, TablePaginationConfig } from 'antd';
|
|
3
3
|
import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } from '../../../localTypes/richTable';
|
|
4
4
|
export type TEnrichedTableProps = {
|
|
5
5
|
theme: 'light' | 'dark';
|
|
@@ -18,5 +18,13 @@ export type TEnrichedTableProps = {
|
|
|
18
18
|
}[]) => void;
|
|
19
19
|
selectedRowKeys: React.Key[];
|
|
20
20
|
};
|
|
21
|
+
withoutControls?: boolean;
|
|
22
|
+
tableProps?: {
|
|
23
|
+
borderless?: boolean;
|
|
24
|
+
paginationPosition?: TablePaginationConfig['position'];
|
|
25
|
+
isTotalLeft?: boolean;
|
|
26
|
+
editIcon?: ReactNode;
|
|
27
|
+
deleteIcon?: ReactNode;
|
|
28
|
+
};
|
|
21
29
|
};
|
|
22
30
|
export declare const EnrichedTable: FC<TEnrichedTableProps>;
|
package/dist/types/components/molecules/EnrichedTable/atoms/TableComponents/TableComponents.d.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
type TTableContainerProps = {
|
|
4
4
|
$isDark?: boolean;
|
|
5
5
|
$isCursorPointer?: boolean;
|
|
6
|
+
$borderless?: boolean;
|
|
7
|
+
$isTotalLeft?: boolean;
|
|
6
8
|
};
|
|
7
9
|
export declare const TableComponents: {
|
|
8
10
|
TableContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, TTableContainerProps>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { NavigateFunction } from 'react-router-dom';
|
|
2
3
|
import { TableProps } from 'antd';
|
|
3
4
|
import { TAdditionalPrinterColumnsColWidths, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsUndefinedValues } from '../../../localTypes/richTable';
|
|
@@ -7,8 +8,10 @@ export declare const getEnrichedColumns: ({ columns, additionalPrinterColumnsUnd
|
|
|
7
8
|
additionalPrinterColumnsTrimLengths?: TAdditionalPrinterColumnsTrimLengths | undefined;
|
|
8
9
|
additionalPrinterColumnsColWidths?: TAdditionalPrinterColumnsColWidths | undefined;
|
|
9
10
|
}) => TableProps['columns'] | undefined;
|
|
10
|
-
export declare const getEnrichedColumnsWithControls: ({ enrichedColumns, navigate, baseprefix, }: {
|
|
11
|
+
export declare const getEnrichedColumnsWithControls: ({ enrichedColumns, navigate, baseprefix, editIcon, deleteIcon, }: {
|
|
11
12
|
enrichedColumns: TableProps['columns'];
|
|
12
13
|
navigate: NavigateFunction;
|
|
13
14
|
baseprefix?: string | undefined;
|
|
15
|
+
editIcon?: ReactNode;
|
|
16
|
+
deleteIcon?: ReactNode;
|
|
14
17
|
}) => TableProps['columns'] | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
1
|
+
import React, { FC, ReactNode } from 'react';
|
|
2
|
+
import { TablePaginationConfig } from 'antd';
|
|
2
3
|
import { TAdditionalPrinterColumns, TAdditionalPrinterColumnsUndefinedValues, TAdditionalPrinterColumnsTrimLengths, TAdditionalPrinterColumnsColWidths } from '../../../localTypes/richTable';
|
|
3
4
|
import { TJSON } from '../../../localTypes/JSON';
|
|
4
5
|
export type TEnrichedTableProviderProps = {
|
|
@@ -33,5 +34,12 @@ export type TEnrichedTableProviderProps = {
|
|
|
33
34
|
}[]) => void;
|
|
34
35
|
selectedRowKeys: React.Key[];
|
|
35
36
|
};
|
|
37
|
+
tableProps?: {
|
|
38
|
+
borderless?: boolean;
|
|
39
|
+
paginationPosition?: TablePaginationConfig['position'];
|
|
40
|
+
isTotalLeft?: boolean;
|
|
41
|
+
editIcon?: ReactNode;
|
|
42
|
+
deleteIcon?: ReactNode;
|
|
43
|
+
};
|
|
36
44
|
};
|
|
37
45
|
export declare const EnrichedTableProvider: FC<TEnrichedTableProviderProps>;
|
package/package.json
CHANGED