commons-shared-web-ui 0.0.17 → 0.0.18

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/index.d.ts CHANGED
@@ -2497,6 +2497,8 @@ interface TableFilter {
2497
2497
  type: 'select' | 'text' | 'date';
2498
2498
  options?: TableOption[];
2499
2499
  apiUrl?: string;
2500
+ apiMethod?: 'GET' | 'POST';
2501
+ apiPayload?: any;
2500
2502
  labelKey?: string;
2501
2503
  valueKey?: string;
2502
2504
  labelPath?: string;
@@ -2563,6 +2565,8 @@ interface QueryParamsConfig {
2563
2565
  interface TableConfig {
2564
2566
  columns: TableColumn[];
2565
2567
  apiUrl: string;
2568
+ apiMethod?: 'GET' | 'POST';
2569
+ apiPayload?: any;
2566
2570
  dataResponsePath?: string;
2567
2571
  filters?: TableFilter[];
2568
2572
  filterData?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "commons-shared-web-ui",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "20.3.15",
6
6
  "@angular/cdk": "20.2.14",