@3kles/kles-material-dynamicforms 21.7.4 → 21.7.5
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
|
@@ -30,7 +30,7 @@ import * as i12 from '@angular/material/select';
|
|
|
30
30
|
import * as i13 from '@angular/material/radio';
|
|
31
31
|
import * as i14 from '@angular/material/datepicker';
|
|
32
32
|
import * as i15 from '@angular/material/chips';
|
|
33
|
-
import { MatChipInputEvent } from '@angular/material/chips';
|
|
33
|
+
import { MatChipInputEvent, MatChipInput } from '@angular/material/chips';
|
|
34
34
|
import * as i17 from '@angular/material/table';
|
|
35
35
|
import * as i18 from '@angular/material/paginator';
|
|
36
36
|
import * as i19 from '@angular/material/card';
|
|
@@ -1143,29 +1143,29 @@ declare class KlesFormStatusComponent<TContext = unknown> extends KlesFieldAbstr
|
|
|
1143
1143
|
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormStatusComponent<any>, "kles-form-status", never, {}, {}, never, never, true, never>;
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
|
-
|
|
1146
|
+
interface ChipOptionsState {
|
|
1147
|
+
loading: boolean;
|
|
1147
1148
|
options: any[];
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
options: any[];
|
|
1153
|
-
}>;
|
|
1154
|
-
options$: Observable<{
|
|
1155
|
-
loading: boolean;
|
|
1156
|
-
options: any[];
|
|
1157
|
-
}>;
|
|
1149
|
+
}
|
|
1150
|
+
declare class KlesFormChipGridComponent extends KlesFieldAbstract implements OnInit {
|
|
1151
|
+
readonly control: i2$1.AbstractControl<any, any, any>;
|
|
1152
|
+
readonly intl: KlesDynamicFormIntl;
|
|
1158
1153
|
readonly separatorKeysCodes: number[];
|
|
1159
|
-
|
|
1160
|
-
|
|
1154
|
+
readonly searchControl: FormControl<any>;
|
|
1155
|
+
filteredOption$: Observable<ChipOptionsState>;
|
|
1156
|
+
private options$;
|
|
1157
|
+
private readonly loadOptions$;
|
|
1161
1158
|
ngOnInit(): void;
|
|
1162
|
-
ngOnDestroy(): void;
|
|
1163
1159
|
onFocus(): void;
|
|
1164
1160
|
onTokenEnd(event: MatChipInputEvent): void;
|
|
1165
|
-
addChip(
|
|
1166
|
-
removeChip(value:
|
|
1167
|
-
selected(event: MatAutocompleteSelectedEvent): void;
|
|
1161
|
+
addChip(value: unknown): void;
|
|
1162
|
+
removeChip(value: unknown): void;
|
|
1163
|
+
selected(event: MatAutocompleteSelectedEvent, chipInput: MatChipInput): void;
|
|
1164
|
+
displayValue(value: any): any;
|
|
1165
|
+
private createOptionsStream;
|
|
1166
|
+
private resolveOptions;
|
|
1168
1167
|
private filterData;
|
|
1168
|
+
private isSameOption;
|
|
1169
1169
|
static ɵfac: i0.ɵɵFactoryDeclaration<KlesFormChipGridComponent, never>;
|
|
1170
1170
|
static ɵcmp: i0.ɵɵComponentDeclaration<KlesFormChipGridComponent, "kles-form-chip-grid", never, {}, {}, never, never, true, never>;
|
|
1171
1171
|
}
|