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 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,2 @@
1
+ declare function App(): import("react").JSX.Element;
2
+ export default App;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ import './index.css';
@@ -0,0 +1,3 @@
1
+ import { ReportHandler } from 'web-vitals';
2
+ declare const reportWebVitals: (onPerfEntry?: ReportHandler) => void;
3
+ export default reportWebVitals;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';