@ajf/material 15.3.9 → 15.3.11
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/esm2020/forms/forms-module.mjs +7 -3
- package/esm2020/forms/multiple-choice-field.mjs +30 -6
- package/esm2020/forms/single-choice-field.mjs +30 -6
- package/fesm2015/ajf-material-forms.mjs +62 -9
- package/fesm2015/ajf-material-forms.mjs.map +1 -1
- package/fesm2020/ajf-material-forms.mjs +58 -9
- package/fesm2020/ajf-material-forms.mjs.map +1 -1
- package/forms/forms-module.d.ts +2 -1
- package/forms/multiple-choice-field.d.ts +10 -3
- package/forms/single-choice-field.d.ts +10 -3
- package/package.json +2 -2
package/forms/forms-module.d.ts
CHANGED
|
@@ -46,9 +46,10 @@ import * as i43 from "@angular/material/tooltip";
|
|
|
46
46
|
import * as i44 from "@angular/forms";
|
|
47
47
|
import * as i45 from "@angular/cdk/text-field";
|
|
48
48
|
import * as i46 from "@angular/material/slider";
|
|
49
|
+
import * as i47 from "ngx-mat-select-search";
|
|
49
50
|
export declare class AjfFormsModule {
|
|
50
51
|
static forRoot(): ModuleWithProviders<AjfFormsModule>;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfFormsModule, never>;
|
|
52
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AjfFormsModule, [typeof i1.AjfBarcodeFieldComponent, typeof i2.AjfBooleanFieldComponent, typeof i3.AjfDateFieldComponent, typeof i4.AjfDateInputFieldComponent, typeof i5.AjfEmptyFieldComponent, typeof i6.AjfFieldWarningDialog, typeof i7.AjfFormField, typeof i8.AjfFormRenderer, typeof i9.AjfGeolocationFieldComponent, typeof i10.AjfInputFieldComponent, typeof i11.AjfMultipleChoiceFieldComponent, typeof i12.AjfRangeFieldComponent, typeof i13.AjfSignatureFieldComponent, typeof i14.AjfSingleChoiceFieldComponent, typeof i15.AjfTableFieldComponent, typeof i16.AjfTextFieldComponent, typeof i17.AjfTimeFieldComponent, typeof i18.AjfVideoUrlFieldComponent], [typeof i19.AjfBarcodeModule, typeof i20.AjfCalendarModule, typeof i21.AjfCommonModule, typeof i22.AjfCheckboxGroupModule, typeof i23.AjfGeolocationModule, typeof i24.AjfPageSliderModule, typeof i25.AjfSignatureModule, typeof i26.AjfTimeModule, typeof i27.AjfTranslocoModule, typeof i28.CommonModule, typeof i29.AjfFormsModule, typeof i30.MatButtonModule, typeof i31.MatButtonToggleModule, typeof i32.MatCardModule, typeof i33.MatDatepickerModule, typeof i34.MatDialogModule, typeof i35.MatFormFieldModule, typeof i36.MatIconModule, typeof i37.MatInputModule, typeof i38.MatNativeDateModule, typeof i39.MatRadioModule, typeof i40.MatSelectModule, typeof i41.MatSlideToggleModule, typeof i42.MatToolbarModule, typeof i43.MatTooltipModule, typeof i44.ReactiveFormsModule, typeof i45.TextFieldModule, typeof i46.MatSliderModule], [typeof i7.AjfFormField, typeof i8.AjfFormRenderer]>;
|
|
53
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AjfFormsModule, [typeof i1.AjfBarcodeFieldComponent, typeof i2.AjfBooleanFieldComponent, typeof i3.AjfDateFieldComponent, typeof i4.AjfDateInputFieldComponent, typeof i5.AjfEmptyFieldComponent, typeof i6.AjfFieldWarningDialog, typeof i7.AjfFormField, typeof i8.AjfFormRenderer, typeof i9.AjfGeolocationFieldComponent, typeof i10.AjfInputFieldComponent, typeof i11.AjfMultipleChoiceFieldComponent, typeof i12.AjfRangeFieldComponent, typeof i13.AjfSignatureFieldComponent, typeof i14.AjfSingleChoiceFieldComponent, typeof i15.AjfTableFieldComponent, typeof i16.AjfTextFieldComponent, typeof i17.AjfTimeFieldComponent, typeof i18.AjfVideoUrlFieldComponent], [typeof i19.AjfBarcodeModule, typeof i20.AjfCalendarModule, typeof i21.AjfCommonModule, typeof i22.AjfCheckboxGroupModule, typeof i23.AjfGeolocationModule, typeof i24.AjfPageSliderModule, typeof i25.AjfSignatureModule, typeof i26.AjfTimeModule, typeof i27.AjfTranslocoModule, typeof i28.CommonModule, typeof i29.AjfFormsModule, typeof i30.MatButtonModule, typeof i31.MatButtonToggleModule, typeof i32.MatCardModule, typeof i33.MatDatepickerModule, typeof i34.MatDialogModule, typeof i35.MatFormFieldModule, typeof i36.MatIconModule, typeof i37.MatInputModule, typeof i38.MatNativeDateModule, typeof i39.MatRadioModule, typeof i40.MatSelectModule, typeof i41.MatSlideToggleModule, typeof i42.MatToolbarModule, typeof i43.MatTooltipModule, typeof i44.ReactiveFormsModule, typeof i45.TextFieldModule, typeof i46.MatSliderModule, typeof i47.NgxMatSelectSearchModule], [typeof i7.AjfFormField, typeof i8.AjfFormRenderer]>;
|
|
53
54
|
static ɵinj: i0.ɵɵInjectorDeclaration<AjfFormsModule>;
|
|
54
55
|
}
|
|
@@ -19,12 +19,19 @@
|
|
|
19
19
|
* If not, see http://www.gnu.org/licenses/.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
import { AjfFieldWithChoicesComponent, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
22
|
+
import { AjfChoice, AjfFieldWithChoicesComponent, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
24
|
+
import { FormControl } from '@angular/forms';
|
|
24
25
|
import { AjfWarningAlertService } from './warning-alert-service';
|
|
25
26
|
import * as i0 from "@angular/core";
|
|
26
|
-
export declare class AjfMultipleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> {
|
|
27
|
+
export declare class AjfMultipleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> implements AfterViewInit, OnDestroy {
|
|
28
|
+
readonly searchFilterCtrl: FormControl<string | null>;
|
|
29
|
+
private searchFilterSub;
|
|
30
|
+
filteredChoices: AjfChoice<any>[];
|
|
27
31
|
constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService, searchThreshold: number);
|
|
32
|
+
ngAfterViewInit(): void;
|
|
33
|
+
private filterChoices;
|
|
34
|
+
ngOnDestroy(): void;
|
|
28
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfMultipleChoiceFieldComponent<any>, [null, null, null, { optional: true; }]>;
|
|
29
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<AjfMultipleChoiceFieldComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
30
37
|
}
|
|
@@ -19,12 +19,19 @@
|
|
|
19
19
|
* If not, see http://www.gnu.org/licenses/.
|
|
20
20
|
*
|
|
21
21
|
*/
|
|
22
|
-
import { AjfFieldWithChoicesComponent, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
22
|
+
import { AjfChoice, AjfFieldWithChoicesComponent, AjfFormRendererService } from '@ajf/core/forms';
|
|
23
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
24
|
+
import { FormControl } from '@angular/forms';
|
|
24
25
|
import { AjfWarningAlertService } from './warning-alert-service';
|
|
25
26
|
import * as i0 from "@angular/core";
|
|
26
|
-
export declare class AjfSingleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> {
|
|
27
|
+
export declare class AjfSingleChoiceFieldComponent<T> extends AjfFieldWithChoicesComponent<T> implements AfterViewInit, OnDestroy {
|
|
28
|
+
readonly searchFilterCtrl: FormControl<string | null>;
|
|
29
|
+
private searchFilterSub;
|
|
30
|
+
filteredChoices: AjfChoice<any>[];
|
|
27
31
|
constructor(cdr: ChangeDetectorRef, service: AjfFormRendererService, was: AjfWarningAlertService, searchThreshold: number);
|
|
32
|
+
ngAfterViewInit(): void;
|
|
33
|
+
private filterChoices;
|
|
34
|
+
ngOnDestroy(): void;
|
|
28
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<AjfSingleChoiceFieldComponent<any>, [null, null, null, { optional: true; }]>;
|
|
29
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<AjfSingleChoiceFieldComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
|
|
30
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ajf/material",
|
|
3
|
-
"version": "15.3.
|
|
3
|
+
"version": "15.3.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://github.com/gnucoop/ajf#readme",
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@ajf/core": "15.3.
|
|
16
|
+
"@ajf/core": "15.3.11",
|
|
17
17
|
"@angular/animations": "^15.0.4",
|
|
18
18
|
"@angular/cdk": "^15.0.3",
|
|
19
19
|
"@angular/common": "^15.0.4",
|