@ngx-formly/bootstrap 10.0.0 → 11.0.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.
Files changed (29) hide show
  1. package/README.md +88 -177
  2. package/fesm2022/ngx-formly-bootstrap-addons.mjs +150 -65
  3. package/fesm2022/ngx-formly-bootstrap-addons.mjs.map +1 -1
  4. package/fesm2022/ngx-formly-bootstrap-checkbox.mjs +173 -79
  5. package/fesm2022/ngx-formly-bootstrap-checkbox.mjs.map +1 -1
  6. package/fesm2022/ngx-formly-bootstrap-form-field.mjs +204 -72
  7. package/fesm2022/ngx-formly-bootstrap-form-field.mjs.map +1 -1
  8. package/fesm2022/ngx-formly-bootstrap-input.mjs +169 -84
  9. package/fesm2022/ngx-formly-bootstrap-input.mjs.map +1 -1
  10. package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs +161 -91
  11. package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs.map +1 -1
  12. package/fesm2022/ngx-formly-bootstrap-radio.mjs +181 -79
  13. package/fesm2022/ngx-formly-bootstrap-radio.mjs.map +1 -1
  14. package/fesm2022/ngx-formly-bootstrap-select.mjs +189 -79
  15. package/fesm2022/ngx-formly-bootstrap-select.mjs.map +1 -1
  16. package/fesm2022/ngx-formly-bootstrap-textarea.mjs +152 -71
  17. package/fesm2022/ngx-formly-bootstrap-textarea.mjs.map +1 -1
  18. package/fesm2022/ngx-formly-bootstrap.mjs +89 -66
  19. package/fesm2022/ngx-formly-bootstrap.mjs.map +1 -1
  20. package/package.json +2 -2
  21. package/types/ngx-formly-bootstrap-addons.d.ts +30 -34
  22. package/types/ngx-formly-bootstrap-checkbox.d.ts +27 -32
  23. package/types/ngx-formly-bootstrap-form-field.d.ts +26 -30
  24. package/types/ngx-formly-bootstrap-input.d.ts +21 -27
  25. package/types/ngx-formly-bootstrap-multicheckbox.d.ts +27 -32
  26. package/types/ngx-formly-bootstrap-radio.d.ts +27 -32
  27. package/types/ngx-formly-bootstrap-select.d.ts +27 -32
  28. package/types/ngx-formly-bootstrap-textarea.d.ts +26 -31
  29. package/types/ngx-formly-bootstrap.d.ts +16 -20
@@ -1,38 +1,33 @@
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 i5 from '@ngx-formly/core/select';
8
- import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
9
- import * as i2 from '@angular/common';
10
- import * as i3 from '@angular/forms';
11
-
12
- declare function withFormlyFieldSelect(): 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 i5 from "@ngx-formly/core/select";
8
+ import { FormlyFieldSelectProps } from "@ngx-formly/core/select";
9
+ import * as i2 from "@angular/common";
10
+ import * as i3 from "@angular/forms";
11
+ export declare function withFormlyFieldSelect(): ConfigOption;
14
12
  interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
15
- multiple?: boolean;
16
- compareWith?: (o1: any, o2: any) => boolean;
13
+ multiple?: boolean;
14
+ compareWith?: (o1: any, o2: any) => boolean;
17
15
  }
18
- interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
19
- type: 'select' | Type<FormlyFieldSelect>;
16
+ export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
17
+ type: 'select' | Type<FormlyFieldSelect>;
20
18
  }
21
- declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
22
- defaultOptions: {
23
- props: {
24
- compareWith(o1: any, o2: any): boolean;
25
- };
19
+ export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
20
+ defaultOptions: {
21
+ props: {
22
+ compareWith(o1: any, o2: any): boolean;
26
23
  };
27
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-select", never, {}, {}, never, never, false, never>;
24
+ };
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-select", never, {}, {}, never, never, false, never>;
29
27
  }
30
-
31
- declare class FormlyBootstrapSelectModule {
32
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapSelectModule, never>;
33
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapSelectModule, [typeof FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
34
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapSelectModule>;
28
+ export declare class FormlyBootstrapSelectModule {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapSelectModule, never>;
30
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapSelectModule, [typeof FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
31
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapSelectModule>;
35
32
  }
36
-
37
- export { FormlyBootstrapSelectModule, FormlyFieldSelect, withFormlyFieldSelect };
38
- export type { FormlySelectFieldConfig };
33
+ export {};
@@ -1,37 +1,32 @@
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
-
10
- declare function withFormlyFieldTextArea(): 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 withFormlyFieldTextArea(): ConfigOption;
12
10
  interface TextAreaProps extends FormlyFieldProps {
13
- cols?: number;
14
- rows?: number;
11
+ cols?: number;
12
+ rows?: number;
15
13
  }
16
- interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
17
- type: 'textarea' | Type<FormlyFieldTextArea>;
14
+ export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
15
+ type: 'textarea' | Type<FormlyFieldTextArea>;
18
16
  }
19
- declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
20
- defaultOptions: {
21
- props: {
22
- cols: number;
23
- rows: number;
24
- };
17
+ export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
18
+ defaultOptions: {
19
+ props: {
20
+ cols: number;
21
+ rows: number;
25
22
  };
26
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-textarea", never, {}, {}, never, never, false, never>;
23
+ };
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-textarea", never, {}, {}, never, never, false, never>;
28
26
  }
29
-
30
- declare class FormlyBootstrapTextAreaModule {
31
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapTextAreaModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapTextAreaModule, [typeof FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
33
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapTextAreaModule>;
27
+ export declare class FormlyBootstrapTextAreaModule {
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapTextAreaModule, never>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapTextAreaModule, [typeof FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
30
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapTextAreaModule>;
34
31
  }
35
-
36
- export { FormlyBootstrapTextAreaModule, FormlyFieldTextArea, withFormlyFieldTextArea };
37
- export type { FormlyTextAreaFieldConfig };
32
+ export {};
@@ -1,20 +1,16 @@
1
- import * as _ngx_formly_core_types_ngx_formly_core from '@ngx-formly/core/types/ngx-formly-core';
2
- import * as i0 from '@angular/core';
3
- import * as i1 from '@ngx-formly/bootstrap/form-field';
4
- import * as i2 from '@ngx-formly/bootstrap/input';
5
- import * as i3 from '@ngx-formly/bootstrap/textarea';
6
- import * as i4 from '@ngx-formly/bootstrap/radio';
7
- import * as i5 from '@ngx-formly/bootstrap/checkbox';
8
- import * as i6 from '@ngx-formly/bootstrap/multicheckbox';
9
- import * as i7 from '@ngx-formly/bootstrap/select';
10
- import * as i8 from '@ngx-formly/bootstrap/addons';
11
-
12
- declare function withFormlyBootstrap(): _ngx_formly_core_types_ngx_formly_core.ConfigOption[];
13
-
14
- declare class FormlyBootstrapModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapModule, never, [typeof i1.FormlyBootstrapFormFieldModule, typeof i2.FormlyBootstrapInputModule, typeof i3.FormlyBootstrapTextAreaModule, typeof i4.FormlyBootstrapRadioModule, typeof i5.FormlyBootstrapCheckboxModule, typeof i6.FormlyBootstrapMultiCheckboxModule, typeof i7.FormlyBootstrapSelectModule, typeof i8.FormlyBootstrapAddonsModule], never>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapModule>;
18
- }
19
-
20
- export { FormlyBootstrapModule, withFormlyBootstrap };
1
+ import { ConfigOption } from "@ngx-formly/core";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ngx-formly/bootstrap/form-field";
4
+ import * as i2 from "@ngx-formly/bootstrap/input";
5
+ import * as i3 from "@ngx-formly/bootstrap/textarea";
6
+ import * as i4 from "@ngx-formly/bootstrap/radio";
7
+ import * as i5 from "@ngx-formly/bootstrap/checkbox";
8
+ import * as i6 from "@ngx-formly/bootstrap/multicheckbox";
9
+ import * as i7 from "@ngx-formly/bootstrap/select";
10
+ import * as i8 from "@ngx-formly/bootstrap/addons";
11
+ export declare function withFormlyBootstrap(): ConfigOption[];
12
+ export declare class FormlyBootstrapModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapModule, never, [typeof i1.FormlyBootstrapFormFieldModule, typeof i2.FormlyBootstrapInputModule, typeof i3.FormlyBootstrapTextAreaModule, typeof i4.FormlyBootstrapRadioModule, typeof i5.FormlyBootstrapCheckboxModule, typeof i6.FormlyBootstrapMultiCheckboxModule, typeof i7.FormlyBootstrapSelectModule, typeof i8.FormlyBootstrapAddonsModule], never>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapModule>;
16
+ }