@memberjunction/ng-explorer-core 0.9.29 → 0.9.30

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.
@@ -34,7 +34,7 @@ export declare class ViewPropertiesDialogComponent extends BaseFormComponent imp
34
34
  sortState: any[];
35
35
  sortDirections: {
36
36
  Name: string;
37
- Value: number;
37
+ Value: string;
38
38
  }[];
39
39
  kendoWindow: WindowComponent;
40
40
  kendoTab: TabComponent;
@@ -255,8 +255,8 @@ export class ViewPropertiesDialogComponent extends BaseFormComponent {
255
255
  this.sortFields = [];
256
256
  this.sortState = [];
257
257
  this.sortDirections = [
258
- { Name: 'Up', Value: 1 },
259
- { Name: 'Down', Value: 2 }
258
+ { Name: 'Up', Value: 'asc' },
259
+ { Name: 'Down', Value: 'desc' }
260
260
  ];
261
261
  this.defaultOperators = {
262
262
  string: ["contains", "doesnotcontain", "eq", "neq", "startswith", "endswith", "isnull", "isnotnull", "isempty", "isnotempty"],
@@ -368,7 +368,7 @@ export class ViewPropertiesDialogComponent extends BaseFormComponent {
368
368
  var _a;
369
369
  return {
370
370
  field: (_a = this.ViewEntityInfo) === null || _a === void 0 ? void 0 : _a.Fields.find((f) => f.Name === s.field),
371
- direction: this.sortDirections.find((d) => d.Value === s.direction)
371
+ direction: this.sortDirections.find((d) => d.Value.trim().toLowerCase() === s.direction.trim().toLowerCase())
372
372
  };
373
373
  });
374
374
  this.localGridState = JSON.parse(this.record.GridState);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-explorer-core",
3
- "version": "0.9.29",
3
+ "version": "0.9.30",
4
4
  "description": "MemberJunction Explorer: Core Angular Components",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -27,12 +27,12 @@
27
27
  "@progress/kendo-angular-listview": "^12.1.0"
28
28
  },
29
29
  "dependencies": {
30
- "@memberjunction/global": "^0.9.90",
31
- "@memberjunction/core": "^0.9.87",
32
- "@memberjunction/ng-compare-records": "^0.9.88",
33
- "@memberjunction/ng-record-changes": "^0.9.26",
34
- "@memberjunction/ng-container-directives": "^0.9.64",
35
- "@memberjunction/ng-user-view-grid": "^0.9.68",
30
+ "@memberjunction/global": "^0.9.91",
31
+ "@memberjunction/core": "^0.9.88",
32
+ "@memberjunction/ng-compare-records": "^0.9.89",
33
+ "@memberjunction/ng-record-changes": "^0.9.27",
34
+ "@memberjunction/ng-container-directives": "^0.9.65",
35
+ "@memberjunction/ng-user-view-grid": "^0.9.69",
36
36
  "tslib": "^2.3.0"
37
37
  },
38
38
  "sideEffects": false