@esolve/ng-esolve-connect 0.54.3 → 0.54.4

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.
@@ -3,6 +3,7 @@ import { EsolveSelectFilter } from '../interfaces';
3
3
  export declare class EsolveMultipleSelectFilter implements EsolveSelectFilter {
4
4
  field: string;
5
5
  readonly type = "multiple";
6
+ label: string;
6
7
  options: (string | number)[];
7
8
  private values?;
8
9
  constructor(field: string, options?: (string | number)[]);
@@ -3,6 +3,7 @@ import { EsolveFilter } from '../interfaces';
3
3
  export declare class EsolveRangeFilter implements EsolveFilter {
4
4
  field: string;
5
5
  readonly type = "range";
6
+ label: string;
6
7
  min: number;
7
8
  max: number;
8
9
  options: {
@@ -3,6 +3,7 @@ import { EsolveSelectFilter } from '../interfaces';
3
3
  export declare class EsolveSingleSelectFilter implements EsolveSelectFilter {
4
4
  field: string;
5
5
  readonly type = "single";
6
+ label: string;
6
7
  options: (string | number)[];
7
8
  private value?;
8
9
  constructor(field: string, options: (string | number)[]);
@@ -4,6 +4,7 @@ export declare class EsolveToggleFilter implements EsolveFilter {
4
4
  field: string;
5
5
  private value;
6
6
  readonly type = "toggle";
7
+ label: string;
7
8
  constructor(field: string, value: boolean);
8
9
  toHttpParams(): {
9
10
  [x: string]: string | number;
@@ -2,4 +2,5 @@ import { EsolveFilterType } from '../types';
2
2
  export interface EsolveFilterRecord {
3
3
  field: string;
4
4
  type: EsolveFilterType;
5
+ label: string;
5
6
  }
@@ -1,6 +1,7 @@
1
1
  import { HttpParams } from '@angular/common/http';
2
2
  import { EsolveFilterType } from '../types';
3
3
  export interface EsolveFilter {
4
+ label: string;
4
5
  field: string;
5
6
  readonly type: EsolveFilterType;
6
7
  toHttpParams(): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esolve/ng-esolve-connect",
3
- "version": "0.54.3",
3
+ "version": "0.54.4",
4
4
  "homepage": "https://www.esolve.co.za/",
5
5
  "description": "An Angular library that speaks to an eSolve instance's API",
6
6
  "peerDependencies": {