@ngx-formly/bootstrap 10.0.1 → 11.1.0-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 +88 -177
- package/fesm2022/ngx-formly-bootstrap-addons.mjs +150 -65
- package/fesm2022/ngx-formly-bootstrap-addons.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-checkbox.mjs +173 -79
- package/fesm2022/ngx-formly-bootstrap-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-form-field.mjs +204 -72
- package/fesm2022/ngx-formly-bootstrap-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-input.mjs +169 -84
- package/fesm2022/ngx-formly-bootstrap-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs +161 -91
- package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-radio.mjs +181 -79
- package/fesm2022/ngx-formly-bootstrap-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-select.mjs +189 -79
- package/fesm2022/ngx-formly-bootstrap-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap-textarea.mjs +152 -71
- package/fesm2022/ngx-formly-bootstrap-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-bootstrap.mjs +89 -66
- package/fesm2022/ngx-formly-bootstrap.mjs.map +1 -1
- package/package.json +2 -2
- package/types/ngx-formly-bootstrap-addons.d.ts +30 -34
- package/types/ngx-formly-bootstrap-checkbox.d.ts +27 -32
- package/types/ngx-formly-bootstrap-form-field.d.ts +26 -30
- package/types/ngx-formly-bootstrap-input.d.ts +21 -27
- package/types/ngx-formly-bootstrap-multicheckbox.d.ts +27 -32
- package/types/ngx-formly-bootstrap-radio.d.ts +27 -32
- package/types/ngx-formly-bootstrap-select.d.ts +27 -32
- package/types/ngx-formly-bootstrap-textarea.d.ts +26 -31
- package/types/ngx-formly-bootstrap.d.ts +16 -20
|
@@ -1,69 +1,92 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import * as i0 from
|
|
10
|
-
import { NgModule } from
|
|
11
|
-
|
|
1
|
+
import { FormlyBootstrapFormFieldModule, withFormlyFormField } from "@ngx-formly/bootstrap/form-field";
|
|
2
|
+
import { FormlyBootstrapInputModule, withFormlyFieldInput } from "@ngx-formly/bootstrap/input";
|
|
3
|
+
import { FormlyBootstrapTextAreaModule, withFormlyFieldTextArea } from "@ngx-formly/bootstrap/textarea";
|
|
4
|
+
import { FormlyBootstrapRadioModule, withFormlyFieldRadio } from "@ngx-formly/bootstrap/radio";
|
|
5
|
+
import { FormlyBootstrapCheckboxModule, withFormlyFieldCheckbox } from "@ngx-formly/bootstrap/checkbox";
|
|
6
|
+
import { FormlyBootstrapMultiCheckboxModule, withFormlyFieldMultiCheckbox } from "@ngx-formly/bootstrap/multicheckbox";
|
|
7
|
+
import { FormlyBootstrapSelectModule, withFormlyFieldSelect } from "@ngx-formly/bootstrap/select";
|
|
8
|
+
import { FormlyBootstrapAddonsModule, withFormlyWrapperAddons } from "@ngx-formly/bootstrap/addons";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import { NgModule } from "@angular/core";
|
|
12
11
|
function withFormlyBootstrap() {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
class FormlyBootstrapModule {
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyBootstrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
27
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.25", ngImport: i0, type: FormlyBootstrapModule, imports: [FormlyBootstrapFormFieldModule,
|
|
28
|
-
FormlyBootstrapInputModule,
|
|
29
|
-
FormlyBootstrapTextAreaModule,
|
|
30
|
-
FormlyBootstrapRadioModule,
|
|
31
|
-
FormlyBootstrapCheckboxModule,
|
|
32
|
-
FormlyBootstrapMultiCheckboxModule,
|
|
33
|
-
FormlyBootstrapSelectModule,
|
|
34
|
-
FormlyBootstrapAddonsModule] }); }
|
|
35
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.25", ngImport: i0, type: FormlyBootstrapModule, imports: [FormlyBootstrapFormFieldModule,
|
|
36
|
-
FormlyBootstrapInputModule,
|
|
37
|
-
FormlyBootstrapTextAreaModule,
|
|
38
|
-
FormlyBootstrapRadioModule,
|
|
39
|
-
FormlyBootstrapCheckboxModule,
|
|
40
|
-
FormlyBootstrapMultiCheckboxModule,
|
|
41
|
-
FormlyBootstrapSelectModule,
|
|
42
|
-
FormlyBootstrapAddonsModule] }); }
|
|
12
|
+
return [
|
|
13
|
+
withFormlyFormField(),
|
|
14
|
+
withFormlyFieldInput(),
|
|
15
|
+
withFormlyFieldTextArea(),
|
|
16
|
+
withFormlyFieldRadio(),
|
|
17
|
+
withFormlyFieldCheckbox(),
|
|
18
|
+
withFormlyFieldMultiCheckbox(),
|
|
19
|
+
withFormlyFieldSelect(),
|
|
20
|
+
withFormlyWrapperAddons()
|
|
21
|
+
];
|
|
43
22
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
23
|
+
var FormlyBootstrapModule = class FormlyBootstrapModule {
|
|
24
|
+
static {
|
|
25
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
26
|
+
minVersion: "12.0.0",
|
|
27
|
+
version: "22.2.2",
|
|
28
|
+
ngImport: i0,
|
|
29
|
+
type: FormlyBootstrapModule,
|
|
30
|
+
deps: [],
|
|
31
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
static {
|
|
35
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
36
|
+
minVersion: "14.0.0",
|
|
37
|
+
version: "22.2.2",
|
|
38
|
+
ngImport: i0,
|
|
39
|
+
type: FormlyBootstrapModule,
|
|
40
|
+
imports: [
|
|
41
|
+
FormlyBootstrapFormFieldModule,
|
|
42
|
+
FormlyBootstrapInputModule,
|
|
43
|
+
FormlyBootstrapTextAreaModule,
|
|
44
|
+
FormlyBootstrapRadioModule,
|
|
45
|
+
FormlyBootstrapCheckboxModule,
|
|
46
|
+
FormlyBootstrapMultiCheckboxModule,
|
|
47
|
+
FormlyBootstrapSelectModule,
|
|
48
|
+
FormlyBootstrapAddonsModule
|
|
49
|
+
]
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
54
|
+
minVersion: "12.0.0",
|
|
55
|
+
version: "22.2.2",
|
|
56
|
+
ngImport: i0,
|
|
57
|
+
type: FormlyBootstrapModule,
|
|
58
|
+
imports: [
|
|
59
|
+
FormlyBootstrapFormFieldModule,
|
|
60
|
+
FormlyBootstrapInputModule,
|
|
61
|
+
FormlyBootstrapTextAreaModule,
|
|
62
|
+
FormlyBootstrapRadioModule,
|
|
63
|
+
FormlyBootstrapCheckboxModule,
|
|
64
|
+
FormlyBootstrapMultiCheckboxModule,
|
|
65
|
+
FormlyBootstrapSelectModule,
|
|
66
|
+
FormlyBootstrapAddonsModule
|
|
67
|
+
]
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
72
|
+
minVersion: "12.0.0",
|
|
73
|
+
version: "22.2.2",
|
|
74
|
+
ngImport: i0,
|
|
75
|
+
type: FormlyBootstrapModule,
|
|
76
|
+
decorators: [{
|
|
77
|
+
type: NgModule,
|
|
78
|
+
args: [{ imports: [
|
|
79
|
+
FormlyBootstrapFormFieldModule,
|
|
80
|
+
FormlyBootstrapInputModule,
|
|
81
|
+
FormlyBootstrapTextAreaModule,
|
|
82
|
+
FormlyBootstrapRadioModule,
|
|
83
|
+
FormlyBootstrapCheckboxModule,
|
|
84
|
+
FormlyBootstrapMultiCheckboxModule,
|
|
85
|
+
FormlyBootstrapSelectModule,
|
|
86
|
+
FormlyBootstrapAddonsModule
|
|
87
|
+
] }]
|
|
88
|
+
}]
|
|
89
|
+
});
|
|
68
90
|
export { FormlyBootstrapModule, withFormlyBootstrap };
|
|
69
|
-
|
|
91
|
+
|
|
92
|
+
//# sourceMappingURL=ngx-formly-bootstrap.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-bootstrap.mjs","sources":["../../../../src/ui/bootstrap/src/lib/bootstrap.config.ts","../../../../src/ui/bootstrap/src/lib/bootstrap.module.ts"
|
|
1
|
+
{"version":3,"file":"ngx-formly-bootstrap.mjs","names":[],"sources":["../../../../src/ui/bootstrap/src/lib/bootstrap.config.ts","../../../../src/ui/bootstrap/src/lib/bootstrap.module.ts"],"sourcesContent":["import { ConfigOption } from '@ngx-formly/core';\nimport { withFormlyFormField } from '@ngx-formly/bootstrap/form-field';\nimport { withFormlyFieldInput } from '@ngx-formly/bootstrap/input';\nimport { withFormlyFieldTextArea } from '@ngx-formly/bootstrap/textarea';\nimport { withFormlyFieldRadio } from '@ngx-formly/bootstrap/radio';\nimport { withFormlyFieldCheckbox } from '@ngx-formly/bootstrap/checkbox';\nimport { withFormlyFieldMultiCheckbox } from '@ngx-formly/bootstrap/multicheckbox';\nimport { withFormlyFieldSelect } from '@ngx-formly/bootstrap/select';\nimport { withFormlyWrapperAddons } from '@ngx-formly/bootstrap/addons';\n\nexport function withFormlyBootstrap(): ConfigOption[] {\n return [\n withFormlyFormField(),\n withFormlyFieldInput(),\n withFormlyFieldTextArea(),\n withFormlyFieldRadio(),\n withFormlyFieldCheckbox(),\n withFormlyFieldMultiCheckbox(),\n withFormlyFieldSelect(),\n withFormlyWrapperAddons(),\n ];\n}\n","import { NgModule } from '@angular/core';\n\nimport { FormlyBootstrapFormFieldModule } from '@ngx-formly/bootstrap/form-field';\nimport { FormlyBootstrapInputModule } from '@ngx-formly/bootstrap/input';\nimport { FormlyBootstrapTextAreaModule } from '@ngx-formly/bootstrap/textarea';\nimport { FormlyBootstrapRadioModule } from '@ngx-formly/bootstrap/radio';\nimport { FormlyBootstrapCheckboxModule } from '@ngx-formly/bootstrap/checkbox';\nimport { FormlyBootstrapMultiCheckboxModule } from '@ngx-formly/bootstrap/multicheckbox';\nimport { FormlyBootstrapSelectModule } from '@ngx-formly/bootstrap/select';\nimport { FormlyBootstrapAddonsModule } from '@ngx-formly/bootstrap/addons';\n\n@NgModule({\n imports: [\n FormlyBootstrapFormFieldModule,\n FormlyBootstrapInputModule,\n FormlyBootstrapTextAreaModule,\n FormlyBootstrapRadioModule,\n FormlyBootstrapCheckboxModule,\n FormlyBootstrapMultiCheckboxModule,\n FormlyBootstrapSelectModule,\n FormlyBootstrapAddonsModule,\n ],\n})\nexport class FormlyBootstrapModule {}\n"],"mappings":";;;;;;;;;;AAUA,SAAgB,sBAAmB;CACjC,OAAO;EACL,oBAAmB;EACnB,qBAAoB;EACpB,wBAAuB;EACvB,qBAAoB;EACpB,wBAAuB;EACvB,6BAA4B;EAC5B,sBAAqB;EACrB,wBAAuB;CACxB;AACH;ACEA,IAAa,wBAAb,MAAa,sBAAqB;CAArB;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAArB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,SAAA;IAV9B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GAA2B;EAAA,CAAA;CAAA;CAGlB;EAAA,KAAA,OAAA,GAAA,oBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAqB,SAAA;IAV9B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GAA2B;EAAA,CAAA;CAAA;;AAGlB,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAqB,YAAA,CAAA;EAZjC,MAAA;EAAS,MAAA,CAAA,EACR,SAAS;GACP;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD,EACF,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngx-formly/bootstrap",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "11.1.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"tslib": "^2.0.0"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@ngx-formly/core": "
|
|
9
|
+
"@ngx-formly/core": "11.1.0-rc.0",
|
|
10
10
|
"bootstrap": "^5.0.0"
|
|
11
11
|
},
|
|
12
12
|
"module": "fesm2022/ngx-formly-bootstrap.mjs",
|
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
import * as i4 from
|
|
2
|
-
import { ConfigOption,
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { TemplateRef, ViewContainerRef } from
|
|
5
|
-
import { FormlyFieldProps } from
|
|
6
|
-
import * as i2 from
|
|
7
|
-
import * as i3 from
|
|
8
|
-
|
|
9
|
-
declare function withFormlyWrapperAddons(): ConfigOption;
|
|
10
|
-
|
|
1
|
+
import * as i4 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldTypeConfig, FieldWrapper, FormlyFieldConfig } from "@ngx-formly/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
5
|
+
import { FormlyFieldProps } from "@ngx-formly/bootstrap/form-field";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
export declare function withFormlyWrapperAddons(): ConfigOption;
|
|
11
9
|
interface AddonsProps extends FormlyFieldProps {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
addonRight?: {
|
|
11
|
+
onClick?: (field: FormlyFieldConfig, event?: any) => void;
|
|
12
|
+
class?: string;
|
|
13
|
+
text?: string;
|
|
14
|
+
};
|
|
15
|
+
addonLeft?: {
|
|
16
|
+
onClick?: (field: FormlyFieldConfig, event?: any) => void;
|
|
17
|
+
class?: string;
|
|
18
|
+
text?: string;
|
|
19
|
+
};
|
|
22
20
|
}
|
|
23
21
|
declare class FormlyWrapperAddons extends FieldWrapper<FieldTypeConfig<AddonsProps>> {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
private hostContainerRef?;
|
|
23
|
+
set content(templateRef: TemplateRef<any>);
|
|
24
|
+
constructor(hostContainerRef?: ViewContainerRef);
|
|
25
|
+
addonRightClick($event: any): void;
|
|
26
|
+
addonLeftClick($event: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperAddons, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperAddons, "formly-wrapper-addons", never, {}, {}, never, never, false, never>;
|
|
31
29
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapAddonsModule>;
|
|
30
|
+
export declare class FormlyBootstrapAddonsModule {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapAddonsModule, never>;
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapAddonsModule, [typeof FormlyWrapperAddons], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule], never>;
|
|
33
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapAddonsModule>;
|
|
37
34
|
}
|
|
38
|
-
|
|
39
|
-
export { FormlyBootstrapAddonsModule, withFormlyWrapperAddons };
|
|
35
|
+
export {};
|
|
@@ -1,38 +1,33 @@
|
|
|
1
|
-
import * as i5 from
|
|
2
|
-
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { Type } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import { FieldType, FormlyFieldProps } from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
|
|
10
|
-
declare function withFormlyFieldCheckbox(): ConfigOption;
|
|
11
|
-
|
|
1
|
+
import * as i5 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from "@ngx-formly/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { Type } from "@angular/core";
|
|
5
|
+
import * as i4 from "@ngx-formly/bootstrap/form-field";
|
|
6
|
+
import { FieldType, FormlyFieldProps } from "@ngx-formly/bootstrap/form-field";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/forms";
|
|
9
|
+
export declare function withFormlyFieldCheckbox(): ConfigOption;
|
|
12
10
|
interface CheckboxProps extends FormlyFieldProps {
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
formCheck?: 'default' | 'inline' | 'switch' | 'inline-switch' | 'nolabel';
|
|
12
|
+
indeterminate?: boolean;
|
|
15
13
|
}
|
|
16
|
-
interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
|
|
17
|
-
|
|
14
|
+
export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
|
|
15
|
+
type: 'checkbox' | Type<FormlyFieldCheckbox>;
|
|
18
16
|
}
|
|
19
|
-
declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
17
|
+
export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
|
|
18
|
+
defaultOptions: {
|
|
19
|
+
props: {
|
|
20
|
+
indeterminate: boolean;
|
|
21
|
+
hideLabel: boolean;
|
|
22
|
+
formCheck: "default";
|
|
26
23
|
};
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
};
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-checkbox", never, {}, {}, never, never, false, never>;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapCheckboxModule>;
|
|
28
|
+
export declare class FormlyBootstrapCheckboxModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapCheckboxModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapCheckboxModule, [typeof FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapCheckboxModule>;
|
|
35
32
|
}
|
|
36
|
-
|
|
37
|
-
export { FormlyBootstrapCheckboxModule, FormlyFieldCheckbox, withFormlyFieldCheckbox };
|
|
38
|
-
export type { FormlyCheckboxFieldConfig };
|
|
33
|
+
export {};
|
|
@@ -1,35 +1,31 @@
|
|
|
1
|
-
import * as i4 from
|
|
2
|
-
import { ConfigOption, FieldWrapper, FormlyFieldConfig, FormlyFieldProps as FormlyFieldProps$1
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { TemplateRef, ViewContainerRef } from
|
|
5
|
-
import * as i2 from
|
|
6
|
-
import * as i3 from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
hideRequiredMarker?: boolean;
|
|
13
|
-
labelPosition?: 'floating';
|
|
1
|
+
import * as i4 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldType as FieldType$1, FieldWrapper, FormlyFieldConfig, FormlyFieldProps as FormlyFieldProps$1 } from "@ngx-formly/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/forms";
|
|
7
|
+
export declare function withFormlyFormField(): ConfigOption;
|
|
8
|
+
export interface FormlyFieldProps extends FormlyFieldProps$1 {
|
|
9
|
+
hideLabel?: boolean;
|
|
10
|
+
hideRequiredMarker?: boolean;
|
|
11
|
+
labelPosition?: 'floating';
|
|
14
12
|
}
|
|
15
13
|
declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-form-field", never, {}, {}, never, never, false, never>;
|
|
18
16
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapFormFieldModule>;
|
|
17
|
+
export declare class FormlyBootstrapFormFieldModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapFormFieldModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapFormFieldModule, [typeof FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule], never>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapFormFieldModule>;
|
|
24
21
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
export declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends FieldType$1<F> {
|
|
23
|
+
private hostContainerRef?;
|
|
24
|
+
set content(templateRef: TemplateRef<any>);
|
|
25
|
+
constructor(hostContainerRef?: ViewContainerRef);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, [{
|
|
27
|
+
optional: true;
|
|
28
|
+
}]>;
|
|
29
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
|
|
32
30
|
}
|
|
33
|
-
|
|
34
|
-
export { FieldType, FormlyBootstrapFormFieldModule, withFormlyFormField };
|
|
35
|
-
export type { FormlyFieldProps };
|
|
31
|
+
export {};
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
import * as i5 from
|
|
2
|
-
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { Type } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import { FieldType, FormlyFieldProps } from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as i5 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from "@ngx-formly/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { Type } from "@angular/core";
|
|
5
|
+
import * as i4 from "@ngx-formly/bootstrap/form-field";
|
|
6
|
+
import { FieldType, FormlyFieldProps } from "@ngx-formly/bootstrap/form-field";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/forms";
|
|
9
|
+
export declare function withFormlyFieldInput(): ConfigOption;
|
|
10
|
+
interface InputProps extends FormlyFieldProps {}
|
|
11
|
+
export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
|
|
12
|
+
type: 'input' | Type<FormlyFieldInput>;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
|
|
15
|
+
get type(): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-input", never, {}, {}, never, never, false, never>;
|
|
16
18
|
}
|
|
17
|
-
declare class
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
export declare class FormlyBootstrapInputModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapInputModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapInputModule, [typeof FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapInputModule>;
|
|
21
23
|
}
|
|
22
|
-
|
|
23
|
-
declare class FormlyBootstrapInputModule {
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapInputModule, never>;
|
|
25
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapInputModule, [typeof FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
|
|
26
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapInputModule>;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { FormlyBootstrapInputModule, FormlyFieldInput, withFormlyFieldInput };
|
|
30
|
-
export type { FormlyInputFieldConfig };
|
|
24
|
+
export {};
|
|
@@ -1,38 +1,33 @@
|
|
|
1
|
-
import * as i6 from
|
|
2
|
-
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { Type } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import { FieldType, FormlyFieldProps } from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import * as i5 from
|
|
10
|
-
|
|
11
|
-
declare function withFormlyFieldMultiCheckbox(): ConfigOption;
|
|
12
|
-
|
|
1
|
+
import * as i6 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from "@ngx-formly/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { Type } from "@angular/core";
|
|
5
|
+
import * as i4 from "@ngx-formly/bootstrap/form-field";
|
|
6
|
+
import { FieldType, FormlyFieldProps } from "@ngx-formly/bootstrap/form-field";
|
|
7
|
+
import * as i2 from "@angular/common";
|
|
8
|
+
import * as i3 from "@angular/forms";
|
|
9
|
+
import * as i5 from "@ngx-formly/core/select";
|
|
10
|
+
export declare function withFormlyFieldMultiCheckbox(): ConfigOption;
|
|
13
11
|
interface MultiCheckboxProps extends FormlyFieldProps {
|
|
14
|
-
|
|
12
|
+
formCheck?: 'default' | 'inline' | 'switch' | 'inline-switch';
|
|
15
13
|
}
|
|
16
|
-
interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {
|
|
17
|
-
|
|
14
|
+
export interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {
|
|
15
|
+
type: 'multicheckbox' | Type<FormlyFieldMultiCheckbox>;
|
|
18
16
|
}
|
|
19
|
-
declare class FormlyFieldMultiCheckbox extends FieldType<FieldTypeConfig<MultiCheckboxProps>> {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
};
|
|
17
|
+
export declare class FormlyFieldMultiCheckbox extends FieldType<FieldTypeConfig<MultiCheckboxProps>> {
|
|
18
|
+
defaultOptions: {
|
|
19
|
+
props: {
|
|
20
|
+
formCheck: "default";
|
|
24
21
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
};
|
|
23
|
+
onChange(value: any, checked: boolean): void;
|
|
24
|
+
isChecked(option: any): any;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldMultiCheckbox, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldMultiCheckbox, "formly-field-multicheckbox", never, {}, {}, never, never, false, never>;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapMultiCheckboxModule>;
|
|
28
|
+
export declare class FormlyBootstrapMultiCheckboxModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapMultiCheckboxModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapMultiCheckboxModule, [typeof FormlyFieldMultiCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapMultiCheckboxModule>;
|
|
35
32
|
}
|
|
36
|
-
|
|
37
|
-
export { FormlyBootstrapMultiCheckboxModule, FormlyFieldMultiCheckbox, withFormlyFieldMultiCheckbox };
|
|
38
|
-
export type { FormlyMultiCheckboxFieldConfig };
|
|
33
|
+
export {};
|
|
@@ -1,38 +1,33 @@
|
|
|
1
|
-
import * as i6 from
|
|
2
|
-
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from
|
|
3
|
-
import * as i0 from
|
|
4
|
-
import { Type } from
|
|
5
|
-
import * as i4 from
|
|
6
|
-
import { FieldType, FormlyFieldProps } from
|
|
7
|
-
import * as i3 from
|
|
8
|
-
import { UntypedFormControl } from
|
|
9
|
-
import * as i2 from
|
|
10
|
-
import * as i5 from
|
|
11
|
-
|
|
12
|
-
declare function withFormlyFieldRadio(): ConfigOption;
|
|
13
|
-
|
|
1
|
+
import * as i6 from "@ngx-formly/core";
|
|
2
|
+
import { ConfigOption, FieldTypeConfig, FormlyFieldConfig } from "@ngx-formly/core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import { Type } from "@angular/core";
|
|
5
|
+
import * as i4 from "@ngx-formly/bootstrap/form-field";
|
|
6
|
+
import { FieldType, FormlyFieldProps } from "@ngx-formly/bootstrap/form-field";
|
|
7
|
+
import * as i3 from "@angular/forms";
|
|
8
|
+
import { UntypedFormControl } from "@angular/forms";
|
|
9
|
+
import * as i2 from "@angular/common";
|
|
10
|
+
import * as i5 from "@ngx-formly/core/select";
|
|
11
|
+
export declare function withFormlyFieldRadio(): ConfigOption;
|
|
14
12
|
interface RadioProps extends FormlyFieldProps {
|
|
15
|
-
|
|
13
|
+
formCheck?: 'default' | 'inline';
|
|
16
14
|
}
|
|
17
|
-
interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
18
|
-
|
|
15
|
+
export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
|
|
16
|
+
type: 'radio' | Type<FormlyFieldRadio>;
|
|
19
17
|
}
|
|
20
|
-
declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
|
|
19
|
+
defaultOptions: {
|
|
20
|
+
props: {
|
|
21
|
+
formCheck: "default";
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
};
|
|
24
|
+
get disabledControl(): UntypedFormControl;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-radio", never, {}, {}, never, never, false, never>;
|
|
29
27
|
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapRadioModule>;
|
|
28
|
+
export declare class FormlyBootstrapRadioModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapRadioModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapRadioModule, [typeof FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapRadioModule>;
|
|
35
32
|
}
|
|
36
|
-
|
|
37
|
-
export { FormlyBootstrapRadioModule, FormlyFieldRadio, withFormlyFieldRadio };
|
|
38
|
-
export type { FormlyRadioFieldConfig };
|
|
33
|
+
export {};
|