@trudb/tru-common-lib 0.2.551 → 0.2.552

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.
@@ -1,9 +1,9 @@
1
- import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
1
+ import { AfterViewInit, DoCheck, EventEmitter, IterableDiffers, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
2
  import { MatSelect, MatSelectChange } from '@angular/material/select';
3
3
  import { ITruToolbarDropdownOption } from '../classes/tru-toolbar-dropdown-option';
4
4
  import { MatPseudoCheckboxState } from '@angular/material/core';
5
5
  import * as i0 from "@angular/core";
6
- export declare class TruToolbarDropdown implements OnInit, AfterViewInit, OnChanges {
6
+ export declare class TruToolbarDropdown implements OnInit, AfterViewInit, OnChanges, DoCheck {
7
7
  config: [] | null;
8
8
  options: Array<ITruToolbarDropdownOption> | null;
9
9
  tooltip: string;
@@ -20,16 +20,19 @@ export declare class TruToolbarDropdown implements OnInit, AfterViewInit, OnChan
20
20
  selectedOptions: Array<ITruToolbarDropdownOption>;
21
21
  selectAllState: MatPseudoCheckboxState;
22
22
  selectAllLabel: string;
23
+ private filterValue;
23
24
  private visibleOptions;
24
- constructor();
25
+ private readonly optionsDiffer;
26
+ constructor(iterableDiffers: IterableDiffers);
25
27
  ngOnInit(): void;
26
28
  ngAfterViewInit(): void;
27
29
  ngOnChanges(changes: SimpleChanges): void;
30
+ ngDoCheck(): void;
28
31
  toggleSelectAll: () => void;
29
32
  onSelectionChange: (event: MatSelectChange) => void;
30
33
  onFilterChange: (event: any) => void;
31
34
  isOptionVisible: (option: ITruToolbarDropdownOption) => boolean;
32
- private setFilteredOptions;
35
+ private updateFilteredOptions;
33
36
  private updateSelectAllState;
34
37
  static ɵfac: i0.ɵɵFactoryDeclaration<TruToolbarDropdown, never>;
35
38
  static ɵcmp: i0.ɵɵComponentDeclaration<TruToolbarDropdown, "tru-toolbar-dropdown", never, { "config": { "alias": "config"; "required": false; }; "options": { "alias": "options"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filterTooltip": { "alias": "filterTooltip"; "required": false; }; "width": { "alias": "width"; "required": false; }; "selectedOption": { "alias": "selectedOption"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectedOptionChange": "selectedOptionChange"; "selectionChange": "selectionChange"; }, never, never, true, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trudb/tru-common-lib",
3
- "version": "0.2.551",
3
+ "version": "0.2.552",
4
4
  "type": "module",
5
5
  "module": "fesm2022/trudb-tru-common-lib.mjs",
6
6
  "typings": "index.d.ts",