@memberjunction/ng-query-grid 2.74.0 → 2.76.0

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.
Files changed (2) hide show
  1. package/README.md +12 -13
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -184,11 +184,11 @@ export class CustomerOrdersComponent implements OnInit {
184
184
  private createQueryParams(): RunQueryParams {
185
185
  return {
186
186
  QueryID: 'CustomerOrdersWithDetails',
187
- Parameters: [
188
- { Name: 'StartDate', Value: this.startDate },
189
- { Name: 'EndDate', Value: this.endDate },
190
- { Name: 'Status', Value: 'Active' }
191
- ],
187
+ Parameters: {
188
+ StartDate: this.startDate,
189
+ EndDate: this.endDate,
190
+ Status: 'Active'
191
+ },
192
192
  MaxRows: 1000
193
193
  };
194
194
  }
@@ -274,14 +274,13 @@ export type GridRowClickedEvent = {
274
274
  #### RunQueryParams (from @memberjunction/core)
275
275
  ```typescript
276
276
  interface RunQueryParams {
277
- QueryID: string; // ID of the query to execute
278
- Parameters?: QueryParam[]; // Optional query parameters
279
- MaxRows?: number; // Maximum rows to return
280
- }
281
-
282
- interface QueryParam {
283
- Name: string;
284
- Value: any;
277
+ QueryID?: string; // ID of the query to execute
278
+ QueryName?: string; // Name of the query (alternative to QueryID)
279
+ CategoryPath?: string; // Hierarchical category path (e.g., "/MJ/AI/Agents/")
280
+ CategoryID?: string; // Direct category ID
281
+ Parameters?: Record<string, any>; // Optional templated query parameters
282
+ MaxRows?: number; // Maximum rows to return
283
+ StartRow?: number; // Row offset for pagination
285
284
  }
286
285
  ```
287
286
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-query-grid",
3
- "version": "2.74.0",
3
+ "version": "2.76.0",
4
4
  "description": "MemberJunction: Angular Grid to display any MemberJunction Query",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -28,12 +28,12 @@
28
28
  "@progress/kendo-angular-dialog": "16.2.0"
29
29
  },
30
30
  "dependencies": {
31
- "@memberjunction/core-entities": "2.74.0",
32
- "@memberjunction/global": "2.74.0",
33
- "@memberjunction/core": "2.74.0",
34
- "@memberjunction/ng-container-directives": "2.74.0",
35
- "@memberjunction/ng-compare-records": "2.74.0",
36
- "@memberjunction/ng-shared": "2.74.0",
31
+ "@memberjunction/core-entities": "2.76.0",
32
+ "@memberjunction/global": "2.76.0",
33
+ "@memberjunction/core": "2.76.0",
34
+ "@memberjunction/ng-container-directives": "2.76.0",
35
+ "@memberjunction/ng-compare-records": "2.76.0",
36
+ "@memberjunction/ng-shared": "2.76.0",
37
37
  "tslib": "^2.3.0"
38
38
  },
39
39
  "sideEffects": false