mobigrid-module 1.1.24 → 1.1.25-beta.11
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/README.md +13 -0
- package/dist/components/CustomTable/CustomTable.d.ts +2 -1
- package/dist/examples/transportors/src/App.d.ts +2 -0
- package/dist/examples/transportors/src/App.test.d.ts +1 -0
- package/dist/examples/transportors/src/index.d.ts +1 -0
- package/dist/examples/transportors/src/reportWebVitals.d.ts +3 -0
- package/dist/examples/transportors/src/setupTests.d.ts +1 -0
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -6,6 +6,19 @@ A flexible and customizable data table interface module with advanced filtering,
|
|
6
6
|
|
7
7
|
The configuration object defines the structure and behavior of a data table interface. It includes filters, columns, actions, and other settings.
|
8
8
|
|
9
|
+
### Container Props
|
10
|
+
|
11
|
+
The module accepts the following configuration properties:
|
12
|
+
|
13
|
+
- **configUrl**: URL to fetch configuration from
|
14
|
+
- **preJsUrl**: URL to fetch pre-processing JavaScript
|
15
|
+
- **configJson**: Direct configuration object (alternative to configUrl)
|
16
|
+
- **preJs**: Direct pre-processing JavaScript (alternative to preJsUrl)
|
17
|
+
- **customHeaders**: Custom HTTP headers for API requests
|
18
|
+
- **itemsPerPage**: Number of items to display per page
|
19
|
+
- **dateFormat**: Default date format for date fields
|
20
|
+
- **children**: React child components
|
21
|
+
|
9
22
|
### Main Properties
|
10
23
|
|
11
24
|
- **title**: The title of the configuration
|
@@ -3,6 +3,7 @@ interface TableProps {
|
|
3
3
|
data: any[];
|
4
4
|
columns: any[];
|
5
5
|
isLoading: boolean;
|
6
|
+
callbacks: any;
|
6
7
|
}
|
7
|
-
export declare function CustomTable({ data, columns, isLoading }: TableProps): React.JSX.Element;
|
8
|
+
export declare function CustomTable({ data, columns, isLoading, callbacks }: TableProps): React.JSX.Element;
|
8
9
|
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
import './index.css';
|
@@ -0,0 +1 @@
|
|
1
|
+
import '@testing-library/jest-dom';
|