@ngx-formly/bootstrap 8.0.0 → 10.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 (69) hide show
  1. package/README.md +46 -19
  2. package/fesm2022/ngx-formly-bootstrap-addons.mjs +7 -7
  3. package/fesm2022/ngx-formly-bootstrap-addons.mjs.map +1 -1
  4. package/fesm2022/ngx-formly-bootstrap-checkbox.mjs +7 -7
  5. package/fesm2022/ngx-formly-bootstrap-form-field.mjs +10 -10
  6. package/fesm2022/ngx-formly-bootstrap-form-field.mjs.map +1 -1
  7. package/fesm2022/ngx-formly-bootstrap-input.mjs +7 -7
  8. package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs +7 -7
  9. package/fesm2022/ngx-formly-bootstrap-radio.mjs +7 -7
  10. package/fesm2022/ngx-formly-bootstrap-select.mjs +109 -95
  11. package/fesm2022/ngx-formly-bootstrap-select.mjs.map +1 -1
  12. package/fesm2022/ngx-formly-bootstrap-textarea.mjs +7 -7
  13. package/fesm2022/ngx-formly-bootstrap.mjs +4 -4
  14. package/package.json +13 -12
  15. package/{addons/addons.component.d.ts → types/ngx-formly-bootstrap-addons.d.ts} +17 -4
  16. package/types/ngx-formly-bootstrap-checkbox.d.ts +38 -0
  17. package/types/ngx-formly-bootstrap-form-field.d.ts +35 -0
  18. package/types/ngx-formly-bootstrap-input.d.ts +30 -0
  19. package/types/ngx-formly-bootstrap-multicheckbox.d.ts +38 -0
  20. package/types/ngx-formly-bootstrap-radio.d.ts +38 -0
  21. package/types/ngx-formly-bootstrap-select.d.ts +38 -0
  22. package/types/ngx-formly-bootstrap-textarea.d.ts +37 -0
  23. package/types/ngx-formly-bootstrap.d.ts +20 -0
  24. package/addons/addon.extension.d.ts +0 -2
  25. package/addons/addons.config.d.ts +0 -2
  26. package/addons/addons.module.d.ts +0 -10
  27. package/addons/index.d.ts +0 -5
  28. package/addons/public_api.d.ts +0 -2
  29. package/checkbox/checkbox.config.d.ts +0 -2
  30. package/checkbox/checkbox.module.d.ts +0 -11
  31. package/checkbox/checkbox.type.d.ts +0 -23
  32. package/checkbox/index.d.ts +0 -5
  33. package/checkbox/public_api.d.ts +0 -3
  34. package/form-field/field.type.d.ts +0 -10
  35. package/form-field/form-field.config.d.ts +0 -2
  36. package/form-field/form-field.module.d.ts +0 -10
  37. package/form-field/form-field.wrapper.d.ts +0 -11
  38. package/form-field/index.d.ts +0 -5
  39. package/form-field/public_api.d.ts +0 -4
  40. package/index.d.ts +0 -5
  41. package/input/index.d.ts +0 -5
  42. package/input/input.config.d.ts +0 -2
  43. package/input/input.module.d.ts +0 -11
  44. package/input/input.type.d.ts +0 -15
  45. package/input/public_api.d.ts +0 -3
  46. package/lib/bootstrap.config.d.ts +0 -1
  47. package/lib/bootstrap.d.ts +0 -2
  48. package/lib/bootstrap.module.d.ts +0 -14
  49. package/multicheckbox/index.d.ts +0 -5
  50. package/multicheckbox/multicheckbox.config.d.ts +0 -2
  51. package/multicheckbox/multicheckbox.module.d.ts +0 -12
  52. package/multicheckbox/multicheckbox.type.d.ts +0 -22
  53. package/multicheckbox/public_api.d.ts +0 -3
  54. package/public_api.d.ts +0 -1
  55. package/radio/index.d.ts +0 -5
  56. package/radio/public_api.d.ts +0 -3
  57. package/radio/radio.config.d.ts +0 -2
  58. package/radio/radio.module.d.ts +0 -12
  59. package/radio/radio.type.d.ts +0 -22
  60. package/select/index.d.ts +0 -5
  61. package/select/public_api.d.ts +0 -3
  62. package/select/select.config.d.ts +0 -2
  63. package/select/select.module.d.ts +0 -12
  64. package/select/select.type.d.ts +0 -22
  65. package/textarea/index.d.ts +0 -5
  66. package/textarea/public_api.d.ts +0 -3
  67. package/textarea/textarea.config.d.ts +0 -2
  68. package/textarea/textarea.module.d.ts +0 -11
  69. package/textarea/textarea.type.d.ts +0 -22
@@ -0,0 +1,38 @@
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
+
11
+ declare function withFormlyFieldMultiCheckbox(): ConfigOption;
12
+
13
+ interface MultiCheckboxProps extends FormlyFieldProps {
14
+ formCheck?: 'default' | 'inline' | 'switch' | 'inline-switch';
15
+ }
16
+ interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {
17
+ type: 'multicheckbox' | Type<FormlyFieldMultiCheckbox>;
18
+ }
19
+ declare class FormlyFieldMultiCheckbox extends FieldType<FieldTypeConfig<MultiCheckboxProps>> {
20
+ defaultOptions: {
21
+ props: {
22
+ formCheck: "default";
23
+ };
24
+ };
25
+ onChange(value: any, checked: boolean): void;
26
+ isChecked(option: any): any;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldMultiCheckbox, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldMultiCheckbox, "formly-field-multicheckbox", never, {}, {}, never, never, false, never>;
29
+ }
30
+
31
+ declare class FormlyBootstrapMultiCheckboxModule {
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapMultiCheckboxModule, never>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapMultiCheckboxModule, [typeof FormlyFieldMultiCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
34
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapMultiCheckboxModule>;
35
+ }
36
+
37
+ export { FormlyBootstrapMultiCheckboxModule, FormlyFieldMultiCheckbox, withFormlyFieldMultiCheckbox };
38
+ export type { FormlyMultiCheckboxFieldConfig };
@@ -0,0 +1,38 @@
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
+
12
+ declare function withFormlyFieldRadio(): ConfigOption;
13
+
14
+ interface RadioProps extends FormlyFieldProps {
15
+ formCheck?: 'default' | 'inline';
16
+ }
17
+ interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
18
+ type: 'radio' | Type<FormlyFieldRadio>;
19
+ }
20
+ declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
21
+ defaultOptions: {
22
+ props: {
23
+ formCheck: "default";
24
+ };
25
+ };
26
+ get disabledControl(): UntypedFormControl;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-radio", never, {}, {}, never, never, false, never>;
29
+ }
30
+
31
+ declare class FormlyBootstrapRadioModule {
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapRadioModule, never>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapRadioModule, [typeof FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
34
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapRadioModule>;
35
+ }
36
+
37
+ export { FormlyBootstrapRadioModule, FormlyFieldRadio, withFormlyFieldRadio };
38
+ export type { FormlyRadioFieldConfig };
@@ -0,0 +1,38 @@
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
+
14
+ interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
15
+ multiple?: boolean;
16
+ compareWith?: (o1: any, o2: any) => boolean;
17
+ }
18
+ interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
19
+ type: 'select' | Type<FormlyFieldSelect>;
20
+ }
21
+ declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
22
+ defaultOptions: {
23
+ props: {
24
+ compareWith(o1: any, o2: any): boolean;
25
+ };
26
+ };
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-select", never, {}, {}, never, never, false, never>;
29
+ }
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>;
35
+ }
36
+
37
+ export { FormlyBootstrapSelectModule, FormlyFieldSelect, withFormlyFieldSelect };
38
+ export type { FormlySelectFieldConfig };
@@ -0,0 +1,37 @@
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
+
12
+ interface TextAreaProps extends FormlyFieldProps {
13
+ cols?: number;
14
+ rows?: number;
15
+ }
16
+ interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
17
+ type: 'textarea' | Type<FormlyFieldTextArea>;
18
+ }
19
+ declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
20
+ defaultOptions: {
21
+ props: {
22
+ cols: number;
23
+ rows: number;
24
+ };
25
+ };
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-textarea", never, {}, {}, never, never, false, never>;
28
+ }
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>;
34
+ }
35
+
36
+ export { FormlyBootstrapTextAreaModule, FormlyFieldTextArea, withFormlyFieldTextArea };
37
+ export type { FormlyTextAreaFieldConfig };
@@ -0,0 +1,20 @@
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,2 +0,0 @@
1
- import { FormlyFieldConfig } from '@ngx-formly/core';
2
- export declare function addonsExtension(field: FormlyFieldConfig): void;
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyWrapperAddons(): ConfigOption;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./addons.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/core";
6
- export declare class FormlyBootstrapAddonsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapAddonsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapAddonsModule, [typeof i1.FormlyWrapperAddons], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule], never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapAddonsModule>;
10
- }
package/addons/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/addons" />
5
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- export { withFormlyWrapperAddons } from './addons.config';
2
- export { FormlyBootstrapAddonsModule } from './addons.module';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldCheckbox(): ConfigOption;
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/bootstrap/form-field";
6
- import * as i5 from "@ngx-formly/core";
7
- export declare class FormlyBootstrapCheckboxModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapCheckboxModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapCheckboxModule, [typeof i1.FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapCheckboxModule>;
11
- }
@@ -1,23 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import * as i0 from "@angular/core";
5
- interface CheckboxProps extends FormlyFieldProps {
6
- formCheck?: 'default' | 'inline' | 'switch' | 'inline-switch' | 'nolabel';
7
- indeterminate?: boolean;
8
- }
9
- export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
10
- type: 'checkbox' | Type<FormlyFieldCheckbox>;
11
- }
12
- export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
13
- defaultOptions: {
14
- props: {
15
- indeterminate: boolean;
16
- hideLabel: boolean;
17
- formCheck: "default";
18
- };
19
- };
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-checkbox", never, {}, {}, never, never, false, never>;
22
- }
23
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/checkbox" />
5
- export * from './public_api';
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldCheckbox } from './checkbox.config';
2
- export { FormlyBootstrapCheckboxModule } from './checkbox.module';
3
- export { FormlyFieldCheckbox, FormlyCheckboxFieldConfig } from './checkbox.type';
@@ -1,10 +0,0 @@
1
- import { TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { FieldType as CoreFieldType, FormlyFieldConfig } from '@ngx-formly/core';
3
- import * as i0 from "@angular/core";
4
- export declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends CoreFieldType<F> {
5
- private hostContainerRef?;
6
- set content(templateRef: TemplateRef<any>);
7
- constructor(hostContainerRef?: ViewContainerRef);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, [{ optional: true; }]>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
10
- }
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFormField(): ConfigOption;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./form-field.wrapper";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/core";
6
- export declare class FormlyBootstrapFormFieldModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapFormFieldModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapFormFieldModule, [typeof i1.FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule], never>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapFormFieldModule>;
10
- }
@@ -1,11 +0,0 @@
1
- import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
2
- import * as i0 from "@angular/core";
3
- export interface FormlyFieldProps extends CoreFormlyFieldProps {
4
- hideLabel?: boolean;
5
- hideRequiredMarker?: boolean;
6
- labelPosition?: 'floating';
7
- }
8
- export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-form-field", never, {}, {}, never, never, false, never>;
11
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/form-field" />
5
- export * from './public_api';
@@ -1,4 +0,0 @@
1
- export { withFormlyFormField } from './form-field.config';
2
- export { FormlyBootstrapFormFieldModule } from './form-field.module';
3
- export { FormlyFieldProps } from './form-field.wrapper';
4
- export { FieldType } from './field.type';
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap" />
5
- export * from './public_api';
package/input/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/input" />
5
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldInput(): ConfigOption;
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/bootstrap/form-field";
6
- import * as i5 from "@ngx-formly/core";
7
- export declare class FormlyBootstrapInputModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapInputModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapInputModule>;
11
- }
@@ -1,15 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import * as i0 from "@angular/core";
5
- interface InputProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
8
- type: 'input' | Type<FormlyFieldInput>;
9
- }
10
- export declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
11
- get type(): string;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-input", never, {}, {}, never, never, false, never>;
14
- }
15
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldInput } from './input.config';
2
- export { FormlyBootstrapInputModule } from './input.module';
3
- export { FormlyFieldInput, FormlyInputFieldConfig } from './input.type';
@@ -1 +0,0 @@
1
- export declare function withFormlyBootstrap(): import("@ngx-formly/core").ConfigOption[];
@@ -1,2 +0,0 @@
1
- export { withFormlyBootstrap } from './bootstrap.config';
2
- export { FormlyBootstrapModule } from './bootstrap.module';
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@ngx-formly/bootstrap/form-field";
3
- import * as i2 from "@ngx-formly/bootstrap/input";
4
- import * as i3 from "@ngx-formly/bootstrap/textarea";
5
- import * as i4 from "@ngx-formly/bootstrap/radio";
6
- import * as i5 from "@ngx-formly/bootstrap/checkbox";
7
- import * as i6 from "@ngx-formly/bootstrap/multicheckbox";
8
- import * as i7 from "@ngx-formly/bootstrap/select";
9
- import * as i8 from "@ngx-formly/bootstrap/addons";
10
- export declare class FormlyBootstrapModule {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapModule, never>;
12
- 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>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapModule>;
14
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/multicheckbox" />
5
- export * from './public_api';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldMultiCheckbox(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./multicheckbox.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/bootstrap/form-field";
6
- import * as i5 from "@ngx-formly/core/select";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyBootstrapMultiCheckboxModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapMultiCheckboxModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapMultiCheckboxModule, [typeof i1.FormlyFieldMultiCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapMultiCheckboxModule>;
12
- }
@@ -1,22 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import * as i0 from "@angular/core";
5
- interface MultiCheckboxProps extends FormlyFieldProps {
6
- formCheck?: 'default' | 'inline' | 'switch' | 'inline-switch';
7
- }
8
- export interface FormlyMultiCheckboxFieldConfig extends FormlyFieldConfig<MultiCheckboxProps> {
9
- type: 'multicheckbox' | Type<FormlyFieldMultiCheckbox>;
10
- }
11
- export declare class FormlyFieldMultiCheckbox extends FieldType<FieldTypeConfig<MultiCheckboxProps>> {
12
- defaultOptions: {
13
- props: {
14
- formCheck: "default";
15
- };
16
- };
17
- onChange(value: any, checked: boolean): void;
18
- isChecked(option: any): any;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldMultiCheckbox, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldMultiCheckbox, "formly-field-multicheckbox", never, {}, {}, never, never, false, never>;
21
- }
22
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldMultiCheckbox } from './multicheckbox.config';
2
- export { FormlyBootstrapMultiCheckboxModule } from './multicheckbox.module';
3
- export { FormlyFieldMultiCheckbox, FormlyMultiCheckboxFieldConfig } from './multicheckbox.type';
package/public_api.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/bootstrap';
package/radio/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/radio" />
5
- export * from './public_api';
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldRadio } from './radio.config';
2
- export { FormlyBootstrapRadioModule } from './radio.module';
3
- export { FormlyFieldRadio, FormlyRadioFieldConfig } from './radio.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldRadio(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./radio.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/bootstrap/form-field";
6
- import * as i5 from "@ngx-formly/core/select";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyBootstrapRadioModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapRadioModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapRadioModule>;
12
- }
@@ -1,22 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import { UntypedFormControl } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- interface RadioProps extends FormlyFieldProps {
7
- formCheck?: 'default' | 'inline';
8
- }
9
- export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
10
- type: 'radio' | Type<FormlyFieldRadio>;
11
- }
12
- export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
13
- defaultOptions: {
14
- props: {
15
- formCheck: "default";
16
- };
17
- };
18
- get disabledControl(): UntypedFormControl;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-radio", never, {}, {}, never, never, false, never>;
21
- }
22
- export {};
package/select/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/select" />
5
- export * from './public_api';
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldSelect } from './select.config';
2
- export { FormlyBootstrapSelectModule } from './select.module';
3
- export { FormlyFieldSelect, FormlySelectFieldConfig } from './select.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldSelect(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/bootstrap/form-field";
6
- import * as i5 from "@ngx-formly/core/select";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyBootstrapSelectModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapSelectModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapSelectModule, [typeof i1.FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlySelectModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapSelectModule>;
12
- }
@@ -1,22 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
5
- import * as i0 from "@angular/core";
6
- interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
7
- multiple?: boolean;
8
- compareWith?: (o1: any, o2: any) => boolean;
9
- }
10
- export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
11
- type: 'select' | Type<FormlyFieldSelect>;
12
- }
13
- export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
14
- defaultOptions: {
15
- props: {
16
- compareWith(o1: any, o2: any): boolean;
17
- };
18
- };
19
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-select", never, {}, {}, never, never, false, never>;
21
- }
22
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/textarea" />
5
- export * from './public_api';
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldTextArea } from './textarea.config';
2
- export { FormlyBootstrapTextAreaModule } from './textarea.module';
3
- export { FormlyFieldTextArea, FormlyTextAreaFieldConfig } from './textarea.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldTextArea(): ConfigOption;
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./textarea.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ngx-formly/bootstrap/form-field";
6
- import * as i5 from "@ngx-formly/core";
7
- export declare class FormlyBootstrapTextAreaModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapTextAreaModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapTextAreaModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyBootstrapFormFieldModule, typeof i5.FormlyModule], never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapTextAreaModule>;
11
- }
@@ -1,22 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FieldType, FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import * as i0 from "@angular/core";
5
- interface TextAreaProps extends FormlyFieldProps {
6
- cols?: number;
7
- rows?: number;
8
- }
9
- export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
10
- type: 'textarea' | Type<FormlyFieldTextArea>;
11
- }
12
- export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
13
- defaultOptions: {
14
- props: {
15
- cols: number;
16
- rows: number;
17
- };
18
- };
19
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-textarea", never, {}, {}, never, never, false, never>;
21
- }
22
- export {};