novo-elements 7.4.1-next.1 → 7.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "novo-elements",
3
- "version": "7.4.1-next.1",
3
+ "version": "7.5.0",
4
4
  "sideEffects": true,
5
5
  "peerDependencies": {
6
6
  "@angular/animations": ">=10",
@@ -61,7 +61,7 @@ export declare class NovoChipInput implements NovoChipTextControl, OnChanges {
61
61
  _onInput(): void;
62
62
  /** Focuses the input. */
63
63
  focus(options?: FocusOptions): void;
64
- /** Focuses the input. */
64
+ /** Clears the input. */
65
65
  clearValue(): void;
66
66
  /** Checks whether a keycode is one of the configured separators. */
67
67
  private _isSeparatorKey;
@@ -104,6 +104,7 @@ export interface IDataTableChangeEvent {
104
104
  form: any;
105
105
  };
106
106
  savedSearchName?: string;
107
+ displayedColumns?: string[];
107
108
  }
108
109
  export interface IDataTableSelectionChangeEvent {
109
110
  selected: any[];
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
- import { IDataTableChangeEvent, IDataTableFilter, IDataTableSelectionOption, IDataTableSort } from '../interfaces';
3
+ import { IDataTableChangeEvent, IDataTableFilter, IDataTablePreferences, IDataTableSelectionOption, IDataTableSort } from '../interfaces';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class DataTableState<T> {
6
6
  selectionSource: Subject<unknown>;
@@ -26,6 +26,8 @@ export declare class DataTableState<T> {
26
26
  selectionOptions: IDataTableSelectionOption[];
27
27
  updates: EventEmitter<IDataTableChangeEvent>;
28
28
  retainSelected: boolean;
29
+ savedSearchName: string;
30
+ displayedColumns: string[];
29
31
  get userFiltered(): boolean;
30
32
  get userFilteredInternal(): boolean;
31
33
  get selected(): T[];
@@ -39,7 +41,9 @@ export declare class DataTableState<T> {
39
41
  onPaginationChange(isPageSizeChange: boolean, pageSize: number): void;
40
42
  onSortFilterChange(): void;
41
43
  setInitialSortFilter(preferences: any): void;
44
+ setState(preferences: IDataTablePreferences, fireUpdate?: boolean, persistUserFilters?: boolean): void;
42
45
  checkRetainment(caller: string, allMatchingSelected?: boolean): void;
46
+ private transformFilters;
43
47
  static ɵfac: i0.ɵɵFactoryDeclaration<DataTableState<any>, never>;
44
48
  static ɵprov: i0.ɵɵInjectableDeclaration<DataTableState<any>>;
45
49
  }
@@ -10,7 +10,6 @@ import * as i0 from "@angular/core";
10
10
  export declare class NovoDefaultStringConditionDef extends AbstractConditionFieldDef {
11
11
  separatorKeysCodes: number[];
12
12
  defaultOperator: string;
13
- model: string;
14
13
  getValue(formGroup: AbstractControl): any[];
15
14
  add(event: any, formGroup: AbstractControl): void;
16
15
  remove(valueToRemove: string, formGroup: AbstractControl): void;