@tft/crispr-forms 13.0.23 → 14.0.1-rc.0
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/README.md +77 -76
- package/esm2020/lib/abstracts/autocomplete-field.abstract.mjs +3 -3
- package/esm2020/lib/abstracts/crispr-field.abstract.mjs +3 -3
- package/esm2020/lib/crispr-forms.module.mjs +20 -21
- package/esm2020/lib/field-container/field-container.component.mjs +12 -14
- package/esm2020/lib/field.directive.mjs +8 -10
- package/esm2020/lib/form/form.component.mjs +45 -10
- package/esm2020/lib/form-group-list/form-group-list.component.mjs +8 -8
- package/esm2020/lib/form-group-list/form-group-list.module.mjs +12 -14
- package/esm2020/lib/form.helpers.mjs +1 -1
- package/esm2020/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.mjs +70 -16
- package/esm2020/lib/material/autocomplete-field/autocomplete-field.component.mjs +62 -16
- package/esm2020/lib/material/button/button.component.mjs +47 -12
- package/esm2020/lib/material/checkbox-field/checkbox-field.component.mjs +49 -11
- package/esm2020/lib/material/datepicker-field/datepicker-field.component.mjs +60 -14
- package/esm2020/lib/material/divider/divider.component.mjs +31 -7
- package/esm2020/lib/material/file-upload/file-dropzone.directive.mjs +3 -3
- package/esm2020/lib/material/file-upload/file-upload.component.mjs +22 -24
- package/esm2020/lib/material/heading/heading.component.mjs +13 -15
- package/esm2020/lib/material/image-upload-field/image-upload-field.component.mjs +26 -28
- package/esm2020/lib/material/info/info.component.mjs +13 -15
- package/esm2020/lib/material/input-field/input-field.component.mjs +51 -12
- package/esm2020/lib/material/material.module.mjs +64 -168
- package/esm2020/lib/material/option/option.component.mjs +31 -7
- package/esm2020/lib/material/radio-field/radio-field.component.mjs +41 -10
- package/esm2020/lib/material/select-field/select-field.component.mjs +64 -14
- package/esm2020/lib/material/selected-file/selected-file.component.mjs +11 -13
- package/esm2020/lib/material/slider-field/slider-field.component.mjs +48 -9
- package/esm2020/lib/material/textarea-field/textarea-field.component.mjs +52 -13
- package/esm2020/lib/material/unit-conversion-field/unit-conversion-field.component.mjs +62 -16
- package/esm2020/lib/models/button.config.mjs +1 -1
- package/esm2020/lib/models/crispr-field.config.mjs +1 -1
- package/esm2020/lib/models/datepicker-field.config.mjs +1 -1
- package/esm2020/lib/pipes/crispr-pipes.module.mjs +5 -7
- package/esm2020/lib/pipes/initial-control-value.pipe.mjs +3 -3
- package/esm2020/lib/sub-group/sub-group.component.mjs +8 -8
- package/esm2020/lib/sub-group/sub-group.module.mjs +10 -12
- package/fesm2015/tft-crispr-forms.mjs +889 -505
- package/fesm2015/tft-crispr-forms.mjs.map +1 -1
- package/fesm2020/tft-crispr-forms.mjs +874 -490
- package/fesm2020/tft-crispr-forms.mjs.map +1 -1
- package/lib/abstracts/autocomplete-field.abstract.d.ts +4 -4
- package/lib/abstracts/crispr-field.abstract.d.ts +1 -1
- package/lib/crispr-forms.module.d.ts +11 -11
- package/lib/field-container/field-container.component.d.ts +2 -2
- package/lib/field.directive.d.ts +1 -1
- package/lib/form/form.component.d.ts +12 -2
- package/lib/form-group-list/form-group-list.component.d.ts +3 -3
- package/lib/form.helpers.d.ts +2 -2
- package/lib/material/autocomplete-chiplist-field/autocomplete-chiplist-field.component.d.ts +16 -1
- package/lib/material/autocomplete-field/autocomplete-field.component.d.ts +14 -1
- package/lib/material/button/button.component.d.ts +11 -1
- package/lib/material/checkbox-field/checkbox-field.component.d.ts +14 -3
- package/lib/material/datepicker-field/datepicker-field.component.d.ts +18 -6
- package/lib/material/divider/divider.component.d.ts +8 -1
- package/lib/material/file-upload/file-dropzone.directive.d.ts +1 -1
- package/lib/material/file-upload/file-upload.component.d.ts +3 -3
- package/lib/material/heading/heading.component.d.ts +1 -1
- package/lib/material/image-upload-field/image-upload-field.component.d.ts +3 -3
- package/lib/material/info/info.component.d.ts +1 -1
- package/lib/material/input-field/input-field.component.d.ts +14 -3
- package/lib/material/material.module.d.ts +21 -39
- package/lib/material/option/option.component.d.ts +8 -1
- package/lib/material/radio-field/radio-field.component.d.ts +12 -3
- package/lib/material/select-field/select-field.component.d.ts +17 -3
- package/lib/material/selected-file/selected-file.component.d.ts +1 -1
- package/lib/material/slider-field/slider-field.component.d.ts +14 -3
- package/lib/material/textarea-field/textarea-field.component.d.ts +14 -3
- package/lib/material/unit-conversion-field/unit-conversion-field.component.d.ts +18 -5
- package/lib/models/crispr-field.config.d.ts +8 -1
- package/lib/models/datepicker-field.config.d.ts +3 -4
- package/lib/pipes/initial-control-value.pipe.d.ts +1 -1
- package/lib/sub-group/sub-group.component.d.ts +3 -3
- package/package.json +12 -14
- package/tft-crispr-forms-14.0.1-rc.0.tgz +0 -0
- package/tft-crispr-forms-13.0.23.tgz +0 -0
- package/tft-crispr-forms.d.ts +0 -5
|
@@ -7,8 +7,8 @@ declare type AutocompleteConfigTypes = AutocompleteFieldConfig | AutocompleteChi
|
|
|
7
7
|
declare const AbstractAutocompleteFieldMixin: {
|
|
8
8
|
new (): {
|
|
9
9
|
config: AutocompleteConfigTypes;
|
|
10
|
-
group: import("@angular/forms").FormGroup
|
|
11
|
-
control: import("@angular/forms").AbstractControl
|
|
10
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
11
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
12
12
|
_value: any;
|
|
13
13
|
value: any;
|
|
14
14
|
ngOnInit(): void;
|
|
@@ -18,11 +18,11 @@ declare const AbstractAutocompleteFieldMixin: {
|
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
export declare class AbstractAutocompleteComponent<C> extends AbstractAutocompleteFieldMixin implements OnInit {
|
|
21
|
-
autocompleteInputControl: FormControl
|
|
21
|
+
autocompleteInputControl: FormControl<string>;
|
|
22
22
|
options$: Observable<SelectOption[]>;
|
|
23
23
|
config: AutocompleteConfigTypes & C;
|
|
24
24
|
ngOnInit(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractAutocompleteComponent<any>, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAutocompleteComponent<any>, never, never, {}, {}, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractAutocompleteComponent<any>, never, never, {}, {}, never, never, false>;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -7,5 +7,5 @@ export declare abstract class CrisprFieldComponent<C extends CrisprFieldConfig>
|
|
|
7
7
|
ngOnInit(): void;
|
|
8
8
|
applyDefaultConfig(): void;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFieldComponent<any>, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldComponent<any>, never, never, {}, {}, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldComponent<any>, never, never, {}, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "@angular/
|
|
4
|
-
import * as i3 from "@
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./field
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@tft/form-validation-handler";
|
|
5
|
+
import * as i4 from "./form-group-list/form-group-list.module";
|
|
6
|
+
import * as i5 from "./field-container/field-container.component";
|
|
7
|
+
import * as i6 from "./field.directive";
|
|
8
|
+
import * as i7 from "./sub-group/sub-group.module";
|
|
9
|
+
import * as i8 from "./material/material.module";
|
|
10
|
+
import * as i9 from "./pipes/crispr-pipes.module";
|
|
11
|
+
import * as i10 from "./form/form.component";
|
|
12
12
|
export declare class CrisprFormsModule {
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFormsModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CrisprFormsModule, [typeof i1.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrisprFormsModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.FormValidationHandlerModule, typeof i4.FormGroupListModule, typeof i5.FieldContainerModule, typeof i6.CrisprFieldModule, typeof i7.SubGroupModule, typeof i8.MaterialModule, typeof i9.CrisprPipesModule, typeof i10.CrisprFormModule], [typeof i10.CrisprFormModule, typeof i5.FieldContainerModule, typeof i8.MaterialModule]>;
|
|
15
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<CrisprFormsModule>;
|
|
16
16
|
}
|
|
@@ -15,14 +15,14 @@ export declare class FieldContainerComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
ngOnDestroy(): void;
|
|
16
16
|
/**
|
|
17
17
|
* Connects user defined disabledCallback function to the the view, so that the control is enabled/disabled
|
|
18
|
-
* appropriately. It also
|
|
18
|
+
* appropriately. It also will hide disabled fields in the UI unless `hideDisabled` is set to
|
|
19
19
|
* false in the controls config
|
|
20
20
|
* @param group used to get valueChanges from control
|
|
21
21
|
* @param config configuration object used to
|
|
22
22
|
*/
|
|
23
23
|
connectDisabledCallback(group: FormGroup, config?: CrisprControlConfig): Observable<boolean>;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldContainerComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldContainerComponent, "crispr-field-container", never, { "config": "config"; "group": "group"; "inlineField": "inlineField"; }, {}, never, ["*"]>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldContainerComponent, "crispr-field-container", never, { "config": "config"; "group": "group"; "inlineField": "inlineField"; }, {}, never, ["*"], false>;
|
|
26
26
|
}
|
|
27
27
|
export declare class FieldContainerModule {
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldContainerModule, never>;
|
package/lib/field.directive.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class CrisprFieldDirective implements OnInit {
|
|
|
21
21
|
ngOnInit(): Promise<void>;
|
|
22
22
|
updateComponentValue(value: ControlValue | any[]): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFieldDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldDirective, "[crisprField]", never, { "config": "config"; "group": "group"; "value": "value"; }, {}, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CrisprFieldDirective, "[crisprField]", never, { "config": "config"; "group": "group"; "value": "value"; }, {}, never, never, false>;
|
|
25
25
|
}
|
|
26
26
|
export declare class CrisprFieldModule {
|
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFieldModule, never>;
|
|
@@ -3,11 +3,16 @@ import { FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { ControlGroupValue, FormConfig } from '../models';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "../field.directive";
|
|
8
|
+
import * as i3 from "@angular/forms";
|
|
9
|
+
import * as i4 from "@tft/form-validation-handler";
|
|
10
|
+
import * as i5 from "../pipes/crispr-pipes.module";
|
|
6
11
|
export declare class CrisprFormComponent implements OnInit {
|
|
7
12
|
config: FormConfig;
|
|
8
13
|
form: FormGroup;
|
|
9
14
|
value: ControlGroupValue;
|
|
10
|
-
submitted: EventEmitter<FormGroup
|
|
15
|
+
submitted: EventEmitter<FormGroup<any>>;
|
|
11
16
|
valueChanges: Observable<any>;
|
|
12
17
|
statusChanges: Observable<string>;
|
|
13
18
|
submitTrigger: ElementRef<HTMLButtonElement>;
|
|
@@ -15,5 +20,10 @@ export declare class CrisprFormComponent implements OnInit {
|
|
|
15
20
|
handleSubmit(): void;
|
|
16
21
|
triggerSubmit(): void;
|
|
17
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFormComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CrisprFormComponent, "crispr-form", never, { "config": "config"; "form": "form"; "value": "value"; }, { "submitted": "submitted"; "valueChanges": "valueChanges"; "statusChanges": "statusChanges"; }, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CrisprFormComponent, "crispr-form", never, { "config": "config"; "form": "form"; "value": "value"; }, { "submitted": "submitted"; "valueChanges": "valueChanges"; "statusChanges": "statusChanges"; }, never, never, false>;
|
|
24
|
+
}
|
|
25
|
+
export declare class CrisprFormModule {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CrisprFormModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CrisprFormModule, [typeof CrisprFormComponent], [typeof i1.CommonModule, typeof i2.CrisprFieldModule, typeof i3.ReactiveFormsModule, typeof i4.FormValidationHandlerModule, typeof i5.CrisprPipesModule], [typeof CrisprFormComponent]>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CrisprFormModule>;
|
|
19
29
|
}
|
|
@@ -5,8 +5,8 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
declare const FormGroupListMixin: {
|
|
6
6
|
new (): {
|
|
7
7
|
config: FormGroupListConfig;
|
|
8
|
-
group: FormGroup
|
|
9
|
-
control: import("@angular/forms").AbstractControl
|
|
8
|
+
group: FormGroup<any>;
|
|
9
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
10
10
|
_value: any;
|
|
11
11
|
value: any;
|
|
12
12
|
ngOnInit(): void;
|
|
@@ -33,6 +33,6 @@ export declare class FormGroupListComponent extends FormGroupListMixin implement
|
|
|
33
33
|
addGroup(value?: any): void;
|
|
34
34
|
deleteGroup(index: number): void;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupListComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupListComponent, "crispr-form-group-list", never, {}, {}, never, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupListComponent, "crispr-form-group-list", never, {}, {}, never, never, false>;
|
|
37
37
|
}
|
|
38
38
|
export {};
|
package/lib/form.helpers.d.ts
CHANGED
|
@@ -72,14 +72,14 @@ export declare function isControlConfig(fieldConfig: CrisprFieldConfig): fieldCo
|
|
|
72
72
|
* @param value an object of initial values to pass in
|
|
73
73
|
* @param group the form group to modify and build out
|
|
74
74
|
*/
|
|
75
|
-
export declare function buildFormGroupFromConfig(config: FormConfig, value?: any, group?: FormGroup): FormGroup
|
|
75
|
+
export declare function buildFormGroupFromConfig(config: FormConfig, value?: any, group?: FormGroup): FormGroup<any>;
|
|
76
76
|
/**
|
|
77
77
|
* Analyze the config and build a form control to spec. Notice we don't use FormBuilder here
|
|
78
78
|
* as we want to keep this function pure.
|
|
79
79
|
* @param controlConfig the configuration object for the control to build
|
|
80
80
|
* @param value an initial value to use if passed in
|
|
81
81
|
*/
|
|
82
|
-
export declare function createControlForType(controlConfig: AnyFieldConfig, value?: ControlValue): FormGroup | FormArray | FormControl
|
|
82
|
+
export declare function createControlForType(controlConfig: AnyFieldConfig, value?: ControlValue): FormGroup<any> | FormArray<any> | FormControl<any>;
|
|
83
83
|
/**
|
|
84
84
|
* A basic filter function that filters the search string against the label of the options object
|
|
85
85
|
* @param options the array of options to filter
|
|
@@ -5,6 +5,16 @@ import { AutocompleteChiplistFieldConfig, SelectOption } from '../../models';
|
|
|
5
5
|
import { AbstractAutocompleteComponent } from '../../abstracts';
|
|
6
6
|
import { MatChipInputEvent } from '@angular/material/chips';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/common";
|
|
9
|
+
import * as i2 from "../info/info.component";
|
|
10
|
+
import * as i3 from "../option/option.component";
|
|
11
|
+
import * as i4 from "@angular/forms";
|
|
12
|
+
import * as i5 from "../../field-container/field-container.component";
|
|
13
|
+
import * as i6 from "@angular/material/autocomplete";
|
|
14
|
+
import * as i7 from "@angular/material/input";
|
|
15
|
+
import * as i8 from "@angular/material/core";
|
|
16
|
+
import * as i9 from "@angular/material/chips";
|
|
17
|
+
import * as i10 from "@angular/material/icon";
|
|
8
18
|
export declare class AutocompleteChiplistFieldComponent extends AbstractAutocompleteComponent<AutocompleteChiplistFieldConfig> implements OnInit {
|
|
9
19
|
defaultConfig: Partial<AutocompleteChiplistFieldConfig>;
|
|
10
20
|
chips$: BehaviorSubject<SelectOption[]>;
|
|
@@ -30,5 +40,10 @@ export declare class AutocompleteChiplistFieldComponent extends AbstractAutocomp
|
|
|
30
40
|
mapToLabel(option: SelectOption): string;
|
|
31
41
|
removeChip(removedChip: SelectOption): void;
|
|
32
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteChiplistFieldComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteChiplistFieldComponent, "crispr-autocomplete-chiplist-field", never, {}, {}, never, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteChiplistFieldComponent, "crispr-autocomplete-chiplist-field", never, {}, {}, never, never, false>;
|
|
44
|
+
}
|
|
45
|
+
export declare class AutocompleteChiplistFieldModule {
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteChiplistFieldModule, never>;
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteChiplistFieldModule, [typeof AutocompleteChiplistFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.OptionModule, typeof i4.ReactiveFormsModule, typeof i5.FieldContainerModule, typeof i6.MatAutocompleteModule, typeof i7.MatInputModule, typeof i8.MatOptionModule, typeof i9.MatChipsModule, typeof i10.MatIconModule], [typeof AutocompleteChiplistFieldComponent]>;
|
|
48
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteChiplistFieldModule>;
|
|
34
49
|
}
|
|
@@ -4,6 +4,14 @@ import { SelectOption, AutocompleteFieldConfig } from '../../models';
|
|
|
4
4
|
import { AbstractAutocompleteComponent } from '../../abstracts';
|
|
5
5
|
import { Subscription } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "../info/info.component";
|
|
9
|
+
import * as i3 from "../option/option.component";
|
|
10
|
+
import * as i4 from "@angular/forms";
|
|
11
|
+
import * as i5 from "../../field-container/field-container.component";
|
|
12
|
+
import * as i6 from "@angular/material/autocomplete";
|
|
13
|
+
import * as i7 from "@angular/material/input";
|
|
14
|
+
import * as i8 from "@angular/material/core";
|
|
7
15
|
export declare class AutocompleteFieldComponent extends AbstractAutocompleteComponent<AutocompleteFieldConfig> implements OnInit, OnDestroy {
|
|
8
16
|
defaultConfig: Partial<AutocompleteFieldConfig>;
|
|
9
17
|
autoInput: MatAutocompleteTrigger;
|
|
@@ -22,5 +30,10 @@ export declare class AutocompleteFieldComponent extends AbstractAutocompleteComp
|
|
|
22
30
|
displayLabel(options: SelectOption[]): (value: unknown) => string;
|
|
23
31
|
handleSelect(event: MatAutocompleteSelectedEvent): void;
|
|
24
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent, "crispr-autocomplete-field", never, {}, {}, never, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteFieldComponent, "crispr-autocomplete-field", never, {}, {}, never, never, false>;
|
|
34
|
+
}
|
|
35
|
+
export declare class AutocompleteFieldModule {
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteFieldModule, never>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteFieldModule, [typeof AutocompleteFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.OptionModule, typeof i4.ReactiveFormsModule, typeof i5.FieldContainerModule, typeof i6.MatAutocompleteModule, typeof i7.MatInputModule, typeof i8.MatOptionModule], [typeof AutocompleteFieldComponent]>;
|
|
38
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteFieldModule>;
|
|
26
39
|
}
|
|
@@ -4,6 +4,11 @@ import { ButtonConfig } from '../../models';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { CrisprFieldComponent } from '../../abstracts';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "@angular/material/button";
|
|
9
|
+
import * as i3 from "@angular/material/icon";
|
|
10
|
+
import * as i4 from "@angular/material/tooltip";
|
|
11
|
+
import * as i5 from "@angular/forms";
|
|
7
12
|
export declare class ButtonComponent extends CrisprFieldComponent<ButtonConfig> implements OnInit {
|
|
8
13
|
group: FormGroup;
|
|
9
14
|
defaultConfig: Partial<ButtonConfig>;
|
|
@@ -12,5 +17,10 @@ export declare class ButtonComponent extends CrisprFieldComponent<ButtonConfig>
|
|
|
12
17
|
ngOnInit(): void;
|
|
13
18
|
handleClick(group: FormGroup, event: MouseEvent): void;
|
|
14
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "crispr-button", never, {}, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "crispr-button", never, {}, {}, never, never, false>;
|
|
21
|
+
}
|
|
22
|
+
export declare class ButtonModule {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof ButtonComponent], [typeof i1.CommonModule, typeof i2.MatButtonModule, typeof i3.MatIconModule, typeof i4.MatTooltipModule, typeof i5.ReactiveFormsModule], [typeof ButtonComponent]>;
|
|
25
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
16
26
|
}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { CheckboxFieldConfig } from '../../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../info/info.component";
|
|
6
|
+
import * as i3 from "@angular/material/checkbox";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
import * as i5 from "../../field.directive";
|
|
9
|
+
import * as i6 from "../../field-container/field-container.component";
|
|
4
10
|
declare const CheckboxFieldMixin: {
|
|
5
11
|
new (): {
|
|
6
12
|
config: CheckboxFieldConfig;
|
|
7
|
-
group: import("@angular/forms").FormGroup
|
|
8
|
-
control: import("@angular/forms").AbstractControl
|
|
13
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
14
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
9
15
|
_value: any;
|
|
10
16
|
value: any;
|
|
11
17
|
ngOnInit(): void;
|
|
@@ -18,6 +24,11 @@ export declare class CheckboxFieldComponent extends CheckboxFieldMixin implement
|
|
|
18
24
|
defaultConfig: Partial<CheckboxFieldConfig>;
|
|
19
25
|
ngOnInit(): void;
|
|
20
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFieldComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFieldComponent, "crispr-checkbox-field", never, {}, {}, never, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxFieldComponent, "crispr-checkbox-field", never, {}, {}, never, never, false>;
|
|
28
|
+
}
|
|
29
|
+
export declare class CheckboxFieldModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxFieldModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxFieldModule, [typeof CheckboxFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.MatCheckboxModule, typeof i4.ReactiveFormsModule, typeof i5.CrisprFieldModule, typeof i6.FieldContainerModule], [typeof CheckboxFieldComponent]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxFieldModule>;
|
|
22
33
|
}
|
|
23
34
|
export {};
|
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import { OnInit, AfterContentInit } from '@angular/core';
|
|
2
2
|
import { DatepickerFieldConfig } from '../../models';
|
|
3
3
|
import { MatCalendarCellClassFunction } from '@angular/material/datepicker';
|
|
4
|
-
import { Moment } from 'moment';
|
|
5
4
|
import { Observable } from 'rxjs';
|
|
6
5
|
import { Portal } from '@angular/cdk/portal';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "../../field-container/field-container.component";
|
|
9
|
+
import * as i3 from "@angular/material/datepicker";
|
|
10
|
+
import * as i4 from "@angular/material/form-field";
|
|
11
|
+
import * as i5 from "@angular/forms";
|
|
12
|
+
import * as i6 from "@angular/material/input";
|
|
13
|
+
import * as i7 from "@angular/material-date-fns-adapter";
|
|
14
|
+
import * as i8 from "@angular/cdk/portal";
|
|
8
15
|
declare const DatepickerFieldMixin: {
|
|
9
16
|
new (): {
|
|
10
17
|
config: DatepickerFieldConfig;
|
|
11
|
-
group: import("@angular/forms").FormGroup
|
|
12
|
-
control: import("@angular/forms").AbstractControl
|
|
18
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
19
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
13
20
|
_value: any;
|
|
14
21
|
value: any;
|
|
15
22
|
ngOnInit(): void;
|
|
@@ -20,14 +27,19 @@ declare const DatepickerFieldMixin: {
|
|
|
20
27
|
};
|
|
21
28
|
export declare class DatepickerFieldComponent extends DatepickerFieldMixin implements OnInit, AfterContentInit {
|
|
22
29
|
defaultConfig: Partial<DatepickerFieldConfig>;
|
|
23
|
-
dateClass: MatCalendarCellClassFunction<
|
|
24
|
-
dateClass$: Observable<MatCalendarCellClassFunction<
|
|
30
|
+
dateClass: MatCalendarCellClassFunction<Date>;
|
|
31
|
+
dateClass$: Observable<MatCalendarCellClassFunction<Date>>;
|
|
25
32
|
startAt$: Observable<Date>;
|
|
26
33
|
/** A portal containing the footer component type for this calendar. */
|
|
27
34
|
calendarFooterPortal: Portal<any>;
|
|
28
35
|
ngOnInit(): void;
|
|
29
36
|
ngAfterContentInit(): void;
|
|
30
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFieldComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerFieldComponent, "crispr-datepicker-field", never, {}, {}, never, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatepickerFieldComponent, "crispr-datepicker-field", never, {}, {}, never, never, false>;
|
|
39
|
+
}
|
|
40
|
+
export declare class DatepickerFieldModule {
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatepickerFieldModule, never>;
|
|
42
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatepickerFieldModule, [typeof DatepickerFieldComponent], [typeof i1.CommonModule, typeof i2.FieldContainerModule, typeof i3.MatDatepickerModule, typeof i4.MatFormFieldModule, typeof i5.ReactiveFormsModule, typeof i6.MatInputModule, typeof i7.MatDateFnsModule, typeof i8.PortalModule], [typeof DatepickerFieldComponent]>;
|
|
43
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DatepickerFieldModule>;
|
|
32
44
|
}
|
|
33
45
|
export {};
|
|
@@ -2,9 +2,16 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { DividerConfig } from '../../models';
|
|
3
3
|
import { CrisprFieldComponent } from '../../abstracts';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/material/divider";
|
|
5
7
|
export declare class DividerComponent extends CrisprFieldComponent<DividerConfig> implements OnInit {
|
|
6
8
|
defaultConfig: {};
|
|
7
9
|
ngOnInit(): void;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "crispr-divider", never, {}, {}, never, never, false>;
|
|
12
|
+
}
|
|
13
|
+
export declare class DividerModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DividerModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DividerModule, [typeof DividerComponent], [typeof i1.CommonModule, typeof i2.MatDividerModule], [typeof DividerComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DividerModule>;
|
|
10
17
|
}
|
|
@@ -6,5 +6,5 @@ export declare class FileDropzoneDirective {
|
|
|
6
6
|
onDrop($event: DragEvent): void;
|
|
7
7
|
onDragOver($event: DragEvent): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileDropzoneDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FileDropzoneDirective, "[crisprFileDropzone]", never, { "crisprFileDropzone": "crisprFileDropzone"; }, { "fileDrop": "fileDrop"; }, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FileDropzoneDirective, "[crisprFileDropzone]", never, { "crisprFileDropzone": "crisprFileDropzone"; }, { "fileDrop": "fileDrop"; }, never, never, false>;
|
|
10
10
|
}
|
|
@@ -16,8 +16,8 @@ import * as i10 from "@tft/form-validation-handler";
|
|
|
16
16
|
declare const FileUploadFieldMixin: {
|
|
17
17
|
new (): {
|
|
18
18
|
config: FileUploadFieldConfig;
|
|
19
|
-
group: import("@angular/forms").FormGroup
|
|
20
|
-
control: import("@angular/forms").AbstractControl
|
|
19
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
20
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
21
21
|
_value: any;
|
|
22
22
|
value: any;
|
|
23
23
|
ngOnInit(): void;
|
|
@@ -44,7 +44,7 @@ export declare class FileUploadFieldComponent extends FileUploadFieldMixin imple
|
|
|
44
44
|
registerOnChange(fn: () => void): void;
|
|
45
45
|
registerOnTouched(fn: () => void): void;
|
|
46
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadFieldComponent, [{ optional: true; self: true; }]>;
|
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadFieldComponent, "crispr-file-upload-field", never, {}, {}, never, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadFieldComponent, "crispr-file-upload-field", never, {}, {}, never, never, false>;
|
|
48
48
|
}
|
|
49
49
|
export declare class FileUploadFieldModule {
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadFieldModule, never>;
|
|
@@ -8,7 +8,7 @@ export declare class HeadingComponent extends CrisprFieldComponent<HeadingConfig
|
|
|
8
8
|
config: HeadingConfig;
|
|
9
9
|
defaultConfig: Partial<HeadingConfig>;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeadingComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeadingComponent, "crispr-heading", never, { "config": "config"; }, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeadingComponent, "crispr-heading", never, { "config": "config"; }, {}, never, never, false>;
|
|
12
12
|
}
|
|
13
13
|
export declare class HeadingModule {
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeadingModule, never>;
|
|
@@ -17,8 +17,8 @@ import * as i10 from "@tft/form-validation-handler";
|
|
|
17
17
|
declare const ImageUploadFieldMixin: {
|
|
18
18
|
new (): {
|
|
19
19
|
config: ImageUploadFieldConfig;
|
|
20
|
-
group: import("@angular/forms").FormGroup
|
|
21
|
-
control: import("@angular/forms").AbstractControl
|
|
20
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
21
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
22
22
|
_value: any;
|
|
23
23
|
value: any;
|
|
24
24
|
ngOnInit(): void;
|
|
@@ -55,7 +55,7 @@ export declare class ImageUploadFieldComponent extends ImageUploadFieldMixin imp
|
|
|
55
55
|
registerOnChange(fn: () => void): void;
|
|
56
56
|
registerOnTouched(fn: () => void): void;
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploadFieldComponent, [{ optional: true; self: true; }, null, null]>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploadFieldComponent, "crispr-image-upload-field", never, {}, {}, never, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageUploadFieldComponent, "crispr-image-upload-field", never, {}, {}, never, never, false>;
|
|
59
59
|
}
|
|
60
60
|
export declare class ImageUploadFieldModule {
|
|
61
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageUploadFieldModule, never>;
|
|
@@ -6,7 +6,7 @@ import * as i3 from "@angular/material/tooltip";
|
|
|
6
6
|
export declare class InfoComponent {
|
|
7
7
|
info: Info;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "crispr-info", never, { "info": "info"; }, {}, never, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfoComponent, "crispr-info", never, { "info": "info"; }, {}, never, never, false>;
|
|
10
10
|
}
|
|
11
11
|
export declare class InfoModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoModule, never>;
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { InputFieldConfig } from '../../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../info/info.component";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
import * as i4 from "../../field-container/field-container.component";
|
|
8
|
+
import * as i5 from "@angular/material/form-field";
|
|
9
|
+
import * as i6 from "@angular/material/input";
|
|
4
10
|
declare const InputFieldMixin: {
|
|
5
11
|
new (): {
|
|
6
12
|
config: InputFieldConfig;
|
|
7
|
-
group: import("@angular/forms").FormGroup
|
|
8
|
-
control: import("@angular/forms").AbstractControl
|
|
13
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
14
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
9
15
|
_value: any;
|
|
10
16
|
value: any;
|
|
11
17
|
ngOnInit(): void;
|
|
@@ -19,6 +25,11 @@ export declare class InputFieldComponent extends InputFieldMixin implements OnIn
|
|
|
19
25
|
constructor();
|
|
20
26
|
ngOnInit(): void;
|
|
21
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldComponent, "crispr-input-field", never, {}, {}, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputFieldComponent, "crispr-input-field", never, {}, {}, never, never, false>;
|
|
29
|
+
}
|
|
30
|
+
export declare class InputFieldModule {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputFieldModule, never>;
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputFieldModule, [typeof InputFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.ReactiveFormsModule, typeof i4.FieldContainerModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule], [typeof InputFieldComponent]>;
|
|
33
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputFieldModule>;
|
|
23
34
|
}
|
|
24
35
|
export {};
|
|
@@ -1,44 +1,26 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "./
|
|
6
|
-
import * as i5 from "./
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./
|
|
10
|
-
import * as i9 from "./
|
|
11
|
-
import * as i10 from "./
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "./
|
|
19
|
-
import * as i18 from "./
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "
|
|
22
|
-
import * as i21 from "@angular/material/icon";
|
|
23
|
-
import * as i22 from "@angular/material/autocomplete";
|
|
24
|
-
import * as i23 from "@angular/material/datepicker";
|
|
25
|
-
import * as i24 from "@angular/material/input";
|
|
26
|
-
import * as i25 from "@angular/material/radio";
|
|
27
|
-
import * as i26 from "@angular/material/select";
|
|
28
|
-
import * as i27 from "@angular/material/checkbox";
|
|
29
|
-
import * as i28 from "@angular/material/chips";
|
|
30
|
-
import * as i29 from "@angular/material/slider";
|
|
31
|
-
import * as i30 from "@angular/material/slide-toggle";
|
|
32
|
-
import * as i31 from "@angular/material/button";
|
|
33
|
-
import * as i32 from "@angular/material/button-toggle";
|
|
34
|
-
import * as i33 from "@angular/material/tooltip";
|
|
35
|
-
import * as i34 from "@angular/material/form-field";
|
|
36
|
-
import * as i35 from "@angular/material-moment-adapter";
|
|
37
|
-
import * as i36 from "@angular/material/divider";
|
|
38
|
-
import * as i37 from "@angular/material/progress-bar";
|
|
39
|
-
import * as i38 from "@angular/cdk/portal";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/forms";
|
|
4
|
+
import * as i3 from "@tft/form-validation-handler";
|
|
5
|
+
import * as i4 from "./info/info.component";
|
|
6
|
+
import * as i5 from "./checkbox-field/checkbox-field.component";
|
|
7
|
+
import * as i6 from "./select-field/select-field.component";
|
|
8
|
+
import * as i7 from "./autocomplete-field/autocomplete-field.component";
|
|
9
|
+
import * as i8 from "./autocomplete-chiplist-field/autocomplete-chiplist-field.component";
|
|
10
|
+
import * as i9 from "./datepicker-field/datepicker-field.component";
|
|
11
|
+
import * as i10 from "./input-field/input-field.component";
|
|
12
|
+
import * as i11 from "./file-upload/file-upload.component";
|
|
13
|
+
import * as i12 from "./radio-field/radio-field.component";
|
|
14
|
+
import * as i13 from "./slider-field/slider-field.component";
|
|
15
|
+
import * as i14 from "./textarea-field/textarea-field.component";
|
|
16
|
+
import * as i15 from "./unit-conversion-field/unit-conversion-field.component";
|
|
17
|
+
import * as i16 from "./button/button.component";
|
|
18
|
+
import * as i17 from "./divider/divider.component";
|
|
19
|
+
import * as i18 from "./heading/heading.component";
|
|
20
|
+
import * as i19 from "../field-container/field-container.component";
|
|
21
|
+
import * as i20 from "./option/option.component";
|
|
40
22
|
export declare class MaterialModule {
|
|
41
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialModule, never>;
|
|
42
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, [typeof i1.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialModule, never, [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.FormValidationHandlerModule, typeof i4.InfoModule, typeof i5.CheckboxFieldModule, typeof i6.SelectFieldModule, typeof i7.AutocompleteFieldModule, typeof i8.AutocompleteChiplistFieldModule, typeof i9.DatepickerFieldModule, typeof i10.InputFieldModule, typeof i11.FileUploadFieldModule, typeof i12.RadioFieldModule, typeof i13.SliderFieldModule, typeof i14.TextareaFieldModule, typeof i15.UnitConversionFieldModule, typeof i16.ButtonModule, typeof i17.DividerModule, typeof i18.HeadingModule, typeof i19.FieldContainerModule, typeof i20.OptionModule], never>;
|
|
43
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialModule>;
|
|
44
26
|
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { SelectOption } from '../../models';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "../info/info.component";
|
|
3
5
|
export declare class OptionComponent {
|
|
4
6
|
option: SelectOption;
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "crispr-option", never, { "option": "option"; }, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "crispr-option", never, { "option": "option"; }, {}, never, never, false>;
|
|
9
|
+
}
|
|
10
|
+
export declare class OptionModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OptionModule, [typeof OptionComponent], [typeof i1.CommonModule, typeof i2.InfoModule], [typeof OptionComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OptionModule>;
|
|
7
14
|
}
|
|
@@ -3,11 +3,15 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { SelectOption } from '../../models';
|
|
4
4
|
import { RadioFieldConfig } from '../../models/radio-field.config';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import * as i3 from "../../field-container/field-container.component";
|
|
9
|
+
import * as i4 from "@angular/material/radio";
|
|
6
10
|
declare const RadioFieldMixin: {
|
|
7
11
|
new (): {
|
|
8
12
|
config: RadioFieldConfig;
|
|
9
|
-
group: import("@angular/forms").FormGroup
|
|
10
|
-
control: import("@angular/forms").AbstractControl
|
|
13
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
14
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
11
15
|
_value: any;
|
|
12
16
|
value: any;
|
|
13
17
|
ngOnInit(): void;
|
|
@@ -21,6 +25,11 @@ export declare class RadioFieldComponent extends RadioFieldMixin implements OnIn
|
|
|
21
25
|
options$: Observable<SelectOption[]>;
|
|
22
26
|
ngOnInit(): void;
|
|
23
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadioFieldComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioFieldComponent, "crispr-radio-field", never, {}, {}, never, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadioFieldComponent, "crispr-radio-field", never, {}, {}, never, never, false>;
|
|
29
|
+
}
|
|
30
|
+
export declare class RadioFieldModule {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioFieldModule, never>;
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioFieldModule, [typeof RadioFieldComponent], [typeof i1.CommonModule, typeof i2.ReactiveFormsModule, typeof i3.FieldContainerModule, typeof i4.MatRadioModule], [typeof RadioFieldComponent]>;
|
|
33
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RadioFieldModule>;
|
|
25
34
|
}
|
|
26
35
|
export {};
|
|
@@ -4,11 +4,20 @@ import { SelectFieldConfig, SelectOption } from '../../models';
|
|
|
4
4
|
import { MatSelect } from '@angular/material/select';
|
|
5
5
|
import { ThemePalette } from '@angular/material/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
|
+
import * as i2 from "../info/info.component";
|
|
9
|
+
import * as i3 from "../option/option.component";
|
|
10
|
+
import * as i4 from "@angular/material/checkbox";
|
|
11
|
+
import * as i5 from "@angular/material/select";
|
|
12
|
+
import * as i6 from "@angular/forms";
|
|
13
|
+
import * as i7 from "../../field.directive";
|
|
14
|
+
import * as i8 from "../../field-container/field-container.component";
|
|
15
|
+
import * as i9 from "@angular/material/form-field";
|
|
7
16
|
declare const SelectFieldMixin: {
|
|
8
17
|
new (): {
|
|
9
18
|
config: SelectFieldConfig;
|
|
10
|
-
group: import("@angular/forms").FormGroup
|
|
11
|
-
control: import("@angular/forms").AbstractControl
|
|
19
|
+
group: import("@angular/forms").FormGroup<any>;
|
|
20
|
+
control: import("@angular/forms").AbstractControl<any, any>;
|
|
12
21
|
_value: any;
|
|
13
22
|
value: any;
|
|
14
23
|
ngOnInit(): void;
|
|
@@ -29,6 +38,11 @@ export declare class SelectFieldComponent extends SelectFieldMixin implements On
|
|
|
29
38
|
ngAfterViewInit(): void;
|
|
30
39
|
toggleAll(isSelected: boolean): void;
|
|
31
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "crispr-select-field", never, {}, {}, never, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFieldComponent, "crispr-select-field", never, {}, {}, never, never, false>;
|
|
42
|
+
}
|
|
43
|
+
export declare class SelectFieldModule {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFieldModule, never>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SelectFieldModule, [typeof SelectFieldComponent], [typeof i1.CommonModule, typeof i2.InfoModule, typeof i3.OptionModule, typeof i4.MatCheckboxModule, typeof i5.MatSelectModule, typeof i6.ReactiveFormsModule, typeof i7.CrisprFieldModule, typeof i8.FieldContainerModule, typeof i9.MatFormFieldModule], [typeof SelectFieldComponent]>;
|
|
46
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SelectFieldModule>;
|
|
33
47
|
}
|
|
34
48
|
export {};
|