angular-extensions
Advanced tools
Comparing version 14.0.76 to 14.0.77
import { Observable } from "rxjs"; | ||
import { OnInit, OnChanges, ElementRef, ChangeDetectorRef, NgZone, TemplateRef, EventEmitter } from "@angular/core"; | ||
import { MatOptgroup, MatPseudoCheckboxState } from "@angular/material/core"; | ||
import { AppMatSelect } from "@angular/material/select"; | ||
@@ -11,2 +12,5 @@ import { FormControl } from "@angular/forms"; | ||
import * as i0 from "@angular/core"; | ||
interface SelectionGroup<TKey, T> extends Group<TKey, T> { | ||
state?: MatPseudoCheckboxState; | ||
} | ||
export declare class SelectControlComponent<TValue, TOption, TOptionGroup, TFormattedValue, TControlValue> extends ControlBase<TValue, TOption, TOptionGroup, TFormattedValue, TControlValue> implements OnInit, OnChanges, ActionableControl { | ||
@@ -50,3 +54,3 @@ private changeDetectorRef; | ||
selectedOption: TOption | TOption[]; | ||
get filteredOptions(): TOption[]; | ||
groupStates: Map<TOptionGroup, SelectionGroup<TOptionGroup, TOption>>; | ||
/** | ||
@@ -62,3 +66,5 @@ * Trigger label (text shown when option(s) selected), | ||
ngOnChanges(changes: SimpleChanges<SelectControlComponent<TValue, TOption, TOptionGroup, TFormattedValue, TControlValue>>): void; | ||
optionGroupTracker: (index: number, optionGroup: Group<TOptionGroup, TOption>) => TOptionGroup; | ||
optionTracker: (index: number, option: TOption) => string | number; | ||
optionFilter: (option: TOption) => boolean; | ||
optionComparer: (left?: TOption, right?: TOption) => boolean; | ||
@@ -69,2 +75,3 @@ showClearButton(): boolean; | ||
toggleSelectAll(shouldSelect: boolean): void; | ||
toggleOptionGroup(group: SelectionGroup<TOptionGroup, TOption>, optionGroup: MatOptgroup): void; | ||
/** | ||
@@ -88,5 +95,5 @@ * Store selected values in separate model to avoid mutations when virtualization applies. | ||
/** | ||
* Updates select all state on selection changes. | ||
* Updates "select all" or "group" states on selection changes. | ||
*/ | ||
private updateSelectAllStateOnOptionChanges; | ||
private updateSelectStatesOnOptionChanges; | ||
/** | ||
@@ -99,1 +106,2 @@ * Hooks up the <ngx-mat-select-search> MatOption and provides filtered field option | ||
} | ||
export {}; |
@@ -7,10 +7,11 @@ import * as i0 from "@angular/core"; | ||
import * as i5 from "@angular/material/select"; | ||
import * as i6 from "@angular/material/progress-spinner"; | ||
import * as i7 from "@angular/cdk/scrolling"; | ||
import * as i8 from "ngx-mat-select-search"; | ||
import * as i9 from "angular-extensions/controls/base-control"; | ||
import * as i6 from "@angular/material/core"; | ||
import * as i7 from "@angular/material/progress-spinner"; | ||
import * as i8 from "@angular/cdk/scrolling"; | ||
import * as i9 from "ngx-mat-select-search"; | ||
import * as i10 from "angular-extensions/controls/base-control"; | ||
export declare class NgxSelectControlModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSelectControlModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSelectControlModule, [typeof i1.SelectControlComponent, typeof i2.CustomMatOptionDirective, typeof i3.MatSelectSearchComponentDirective], [typeof i4.CommonModule, typeof i5.MatSelectModule, typeof i6.MatProgressSpinnerModule, typeof i7.ScrollingModule, typeof i8.NgxMatSelectSearchModule, typeof i9.NgxBaseControlModule], [typeof i5.MatSelectModule, typeof i6.MatProgressSpinnerModule, typeof i9.NgxBaseControlModule, typeof i7.ScrollingModule, typeof i8.NgxMatSelectSearchModule, typeof i1.SelectControlComponent]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxSelectControlModule, [typeof i1.SelectControlComponent, typeof i2.CustomMatOptionDirective, typeof i3.MatSelectSearchComponentDirective], [typeof i4.CommonModule, typeof i5.MatSelectModule, typeof i6.MatPseudoCheckboxModule, typeof i7.MatProgressSpinnerModule, typeof i8.ScrollingModule, typeof i9.NgxMatSelectSearchModule, typeof i10.NgxBaseControlModule], [typeof i5.MatSelectModule, typeof i7.MatProgressSpinnerModule, typeof i10.NgxBaseControlModule, typeof i8.ScrollingModule, typeof i9.NgxMatSelectSearchModule, typeof i1.SelectControlComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgxSelectControlModule>; | ||
} |
{ | ||
"name": "angular-extensions", | ||
"version": "14.0.76", | ||
"version": "14.0.77", | ||
"repository": "https://github.com/nazar-kuzo/angular-extensions.git", | ||
@@ -5,0 +5,0 @@ "author": "Nazar Kuzo", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2246164
17010