@sumaris-net/ngx-components 1.6.3 → 1.6.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.6.3",
4
+ "version": "1.6.4",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -7,6 +7,8 @@ import { InputElement } from '../../inputs';
7
7
  import { SuggestFn } from '../../services/entity-service.class';
8
8
  import { DisplayFn, EqualsFn } from '../../form/field.model';
9
9
  import { MatAutocompleteFieldConfig } from '../autocomplete/material.autocomplete';
10
+ import { PredefinedColors } from '@ionic/core';
11
+ import { ThemePalette } from '@angular/material/core/common-behaviors/color';
10
12
  export declare class MatChipsField implements InputElement, ControlValueAccessor, OnInit, OnDestroy {
11
13
  protected cd: ChangeDetectorRef;
12
14
  private formGroupDir;
@@ -43,6 +45,7 @@ export declare class MatChipsField implements InputElement, ControlValueAccessor
43
45
  fetchMoreThreshold: string;
44
46
  suggestLengthThreshold: number;
45
47
  showLoadingSpinner: boolean;
48
+ chipColor: ThemePalette | PredefinedColors;
46
49
  clicked: EventEmitter<MouseEvent>;
47
50
  blurred: EventEmitter<FocusEvent>;
48
51
  focused: EventEmitter<FocusEvent>;
@@ -20,7 +20,7 @@ export declare class ChipsTestPage implements OnInit {
20
20
  entityToString(item: any): string;
21
21
  suggest(value: any, filter?: any): Promise<LoadResult<EntityTestClass>>;
22
22
  doSubmit(event: any): void;
23
- compareWithFn(o1: EntityTestClass, o2: EntityTestClass): boolean;
23
+ equals(o1: EntityTestClass, o2: EntityTestClass): boolean;
24
24
  stringify(value: any): string;
25
25
  }
26
26
  export {};