@hybr1d-tech/charizard 0.4.21 → 0.4.23
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/components/table-v2/TableV2.d.ts +10 -2
- package/dist/components/table-v2/inventory/inventory.store.d.ts +3 -1
- package/dist/components/table-v2/table-meta-header/TableMetaHeader.d.ts +3 -1
- package/dist/components/table-v2/table-pagination/TableLimit.d.ts +1 -1
- package/dist/hybr1d-ui.js +1239 -1228
- package/dist/hybr1d-ui.umd.cjs +13 -13
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -83,7 +83,7 @@ export interface TableV2Props {
|
|
|
83
83
|
setPage: (page: number) => void;
|
|
84
84
|
limit: number;
|
|
85
85
|
setLimit: (limit: number) => void;
|
|
86
|
-
defaultLimit
|
|
86
|
+
defaultLimit: string;
|
|
87
87
|
};
|
|
88
88
|
emptyStateConfig?: {
|
|
89
89
|
icon: string;
|
|
@@ -102,5 +102,13 @@ export interface TableV2Props {
|
|
|
102
102
|
tableStyleConfig?: {
|
|
103
103
|
maxHeight: string;
|
|
104
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* custom columns
|
|
107
|
+
*/
|
|
108
|
+
customColumnConfig?: {};
|
|
109
|
+
/**
|
|
110
|
+
* export config (csv)
|
|
111
|
+
*/
|
|
112
|
+
exportConfig?: {};
|
|
105
113
|
}
|
|
106
|
-
export declare function TableV2({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, headerText, tableStyleConfig, }: TableV2Props): import("react/jsx-runtime").JSX.Element;
|
|
114
|
+
export declare function TableV2({ data, loaderConfig, columns, filterConfig, sortConfig, rowSelectionConfig, actionsConfig, searchConfig, totalText, paginationConfig, emptyStateConfig, headerText, tableStyleConfig, customColumnConfig, exportConfig, }: TableV2Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -28,7 +28,9 @@ export declare enum INV_ACTION_TYPES {
|
|
|
28
28
|
FILTER = "filter",
|
|
29
29
|
RESET_FILTERS = "reset_filters",
|
|
30
30
|
RESET_ALL = "reset_all",
|
|
31
|
-
SELECTOR_FILTER = "selector_filter"
|
|
31
|
+
SELECTOR_FILTER = "selector_filter",
|
|
32
|
+
PAGE = "page",
|
|
33
|
+
LIMIT = "limit"
|
|
32
34
|
}
|
|
33
35
|
export declare const invQueryReducer: (query: any, { payload, type }: {
|
|
34
36
|
payload: any;
|
|
@@ -5,8 +5,10 @@ interface TableMetaHeaderProps {
|
|
|
5
5
|
totalText: TableV2Props['totalText'];
|
|
6
6
|
searchConfig: TableV2Props['searchConfig'];
|
|
7
7
|
filterConfig: TableV2Props['filterConfig'];
|
|
8
|
+
customColumnConfig: TableV2Props['customColumnConfig'];
|
|
9
|
+
exportConfig: TableV2Props['exportConfig'];
|
|
8
10
|
rowSelection: {};
|
|
9
11
|
setRowSelection: React.Dispatch<React.SetStateAction<{}>>;
|
|
10
12
|
}
|
|
11
|
-
export default function TableMetaHeader({ rowSelectionConfig, totalText, searchConfig, filterConfig, rowSelection, setRowSelection, }: TableMetaHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default function TableMetaHeader({ rowSelectionConfig, totalText, searchConfig, filterConfig, customColumnConfig, exportConfig, rowSelection, setRowSelection, }: TableMetaHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
12
14
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface TableLimitProps {
|
|
2
2
|
setLimit: (l: number) => void;
|
|
3
|
-
defaultLimit
|
|
3
|
+
defaultLimit: string;
|
|
4
4
|
totalItems?: number;
|
|
5
5
|
}
|
|
6
6
|
export default function TableLimit({ setLimit, defaultLimit, totalItems }: TableLimitProps): import("react/jsx-runtime").JSX.Element;
|