@ptsecurity/mosaic 14.10.2 → 14.10.3

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": "@ptsecurity/mosaic",
3
- "version": "14.10.2",
3
+ "version": "14.10.3",
4
4
  "description": "Mosaic",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,9 +22,9 @@
22
22
  "@angular/core": "^14.2.12",
23
23
  "@angular/common": "^14.2.12",
24
24
  "@angular/forms": "^14.2.12",
25
- "@ptsecurity/cdk": "^14.10.2",
26
- "@ptsecurity/mosaic-moment-adapter": "^14.10.2",
27
- "@ptsecurity/mosaic-luxon-adapter": "^14.10.2",
25
+ "@ptsecurity/cdk": "^14.10.3",
26
+ "@ptsecurity/mosaic-moment-adapter": "^14.10.3",
27
+ "@ptsecurity/mosaic-luxon-adapter": "^14.10.3",
28
28
  "@ptsecurity/mosaic-icons": "^5.0.0"
29
29
  },
30
30
  "dependencies": {
@@ -7,7 +7,7 @@ export declare abstract class BaseTreeControl<T> implements TreeControl<T> {
7
7
  /** A selection model with multi-selection to track expansion status. */
8
8
  expansionModel: SelectionModel<T>;
9
9
  filterModel: SelectionModel<T>;
10
- filterValue: BehaviorSubject<string>;
10
+ filterValue: BehaviorSubject<string | null>;
11
11
  /** Get depth of a given data node, return the level number. This is for flat tree node. */
12
12
  getLevel: (dataNode: T) => number;
13
13
  /**
@@ -44,9 +44,8 @@ export declare class FlatTreeControl<T> extends BaseTreeControl<T> {
44
44
  expandAll(): void;
45
45
  getParents(node: any, result: T[]): T[];
46
46
  hasValue(value: string): T | undefined;
47
- filterNodes(value: string): void;
47
+ filterNodes(value?: string | null): void;
48
48
  private updateFilterValue;
49
- private expandDataNode;
50
49
  private saveExpansionState;
51
50
  private restoreExpansionState;
52
51
  private hasFilteredDescendant;
@@ -11,7 +11,7 @@ export interface TreeControl<T> {
11
11
  /** The expansion model */
12
12
  expansionModel: SelectionModel<T>;
13
13
  filterModel: SelectionModel<T>;
14
- filterValue: BehaviorSubject<string>;
14
+ filterValue: BehaviorSubject<string | null>;
15
15
  /** Get depth of a given data node, return the level number. This is for flat tree node. */
16
16
  getLevel(dataNode: T): number;
17
17
  /**