@ngx-formly/bootstrap 8.0.0 → 9.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 (60) hide show
  1. package/README.md +26 -19
  2. package/addons/index.d.ts +39 -5
  3. package/checkbox/index.d.ts +38 -5
  4. package/fesm2022/ngx-formly-bootstrap-addons.mjs +7 -7
  5. package/fesm2022/ngx-formly-bootstrap-addons.mjs.map +1 -1
  6. package/fesm2022/ngx-formly-bootstrap-checkbox.mjs +7 -7
  7. package/fesm2022/ngx-formly-bootstrap-form-field.mjs +10 -10
  8. package/fesm2022/ngx-formly-bootstrap-form-field.mjs.map +1 -1
  9. package/fesm2022/ngx-formly-bootstrap-input.mjs +7 -7
  10. package/fesm2022/ngx-formly-bootstrap-multicheckbox.mjs +7 -7
  11. package/fesm2022/ngx-formly-bootstrap-radio.mjs +7 -7
  12. package/fesm2022/ngx-formly-bootstrap-select.mjs +7 -7
  13. package/fesm2022/ngx-formly-bootstrap-textarea.mjs +7 -7
  14. package/fesm2022/ngx-formly-bootstrap.mjs +4 -4
  15. package/form-field/index.d.ts +35 -5
  16. package/index.d.ts +20 -5
  17. package/input/index.d.ts +30 -5
  18. package/multicheckbox/index.d.ts +38 -5
  19. package/package.json +2 -2
  20. package/radio/index.d.ts +38 -5
  21. package/select/index.d.ts +38 -5
  22. package/textarea/index.d.ts +37 -5
  23. package/addons/addon.extension.d.ts +0 -2
  24. package/addons/addons.component.d.ts +0 -26
  25. package/addons/addons.config.d.ts +0 -2
  26. package/addons/addons.module.d.ts +0 -10
  27. package/addons/public_api.d.ts +0 -2
  28. package/checkbox/checkbox.config.d.ts +0 -2
  29. package/checkbox/checkbox.module.d.ts +0 -11
  30. package/checkbox/checkbox.type.d.ts +0 -23
  31. package/checkbox/public_api.d.ts +0 -3
  32. package/form-field/field.type.d.ts +0 -10
  33. package/form-field/form-field.config.d.ts +0 -2
  34. package/form-field/form-field.module.d.ts +0 -10
  35. package/form-field/form-field.wrapper.d.ts +0 -11
  36. package/form-field/public_api.d.ts +0 -4
  37. package/input/input.config.d.ts +0 -2
  38. package/input/input.module.d.ts +0 -11
  39. package/input/input.type.d.ts +0 -15
  40. package/input/public_api.d.ts +0 -3
  41. package/lib/bootstrap.config.d.ts +0 -1
  42. package/lib/bootstrap.d.ts +0 -2
  43. package/lib/bootstrap.module.d.ts +0 -14
  44. package/multicheckbox/multicheckbox.config.d.ts +0 -2
  45. package/multicheckbox/multicheckbox.module.d.ts +0 -12
  46. package/multicheckbox/multicheckbox.type.d.ts +0 -22
  47. package/multicheckbox/public_api.d.ts +0 -3
  48. package/public_api.d.ts +0 -1
  49. package/radio/public_api.d.ts +0 -3
  50. package/radio/radio.config.d.ts +0 -2
  51. package/radio/radio.module.d.ts +0 -12
  52. package/radio/radio.type.d.ts +0 -22
  53. package/select/public_api.d.ts +0 -3
  54. package/select/select.config.d.ts +0 -2
  55. package/select/select.module.d.ts +0 -12
  56. package/select/select.type.d.ts +0 -22
  57. package/textarea/public_api.d.ts +0 -3
  58. package/textarea/textarea.config.d.ts +0 -2
  59. package/textarea/textarea.module.d.ts +0 -11
  60. package/textarea/textarea.type.d.ts +0 -22
@@ -23,8 +23,8 @@ function withFormlyBootstrap() {
23
23
  }
24
24
 
25
25
  class FormlyBootstrapModule {
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyBootstrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.25", ngImport: i0, type: FormlyBootstrapModule, imports: [FormlyBootstrapFormFieldModule,
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyBootstrapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.33", ngImport: i0, type: FormlyBootstrapModule, imports: [FormlyBootstrapFormFieldModule,
28
28
  FormlyBootstrapInputModule,
29
29
  FormlyBootstrapTextAreaModule,
30
30
  FormlyBootstrapRadioModule,
@@ -32,7 +32,7 @@ class FormlyBootstrapModule {
32
32
  FormlyBootstrapMultiCheckboxModule,
33
33
  FormlyBootstrapSelectModule,
34
34
  FormlyBootstrapAddonsModule] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyBootstrapModule, imports: [FormlyBootstrapFormFieldModule,
35
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyBootstrapModule, imports: [FormlyBootstrapFormFieldModule,
36
36
  FormlyBootstrapInputModule,
37
37
  FormlyBootstrapTextAreaModule,
38
38
  FormlyBootstrapRadioModule,
@@ -41,7 +41,7 @@ class FormlyBootstrapModule {
41
41
  FormlyBootstrapSelectModule,
42
42
  FormlyBootstrapAddonsModule] }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: FormlyBootstrapModule, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.33", ngImport: i0, type: FormlyBootstrapModule, decorators: [{
45
45
  type: NgModule,
46
46
  args: [{
47
47
  imports: [
@@ -1,5 +1,35 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/form-field" />
5
- export * from './public_api';
1
+ import * as i4 from '@ngx-formly/core';
2
+ import { ConfigOption, FieldWrapper, FormlyFieldConfig, FormlyFieldProps as FormlyFieldProps$1, FieldType as FieldType$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
+
8
+ declare function withFormlyFormField(): ConfigOption;
9
+
10
+ interface FormlyFieldProps extends FormlyFieldProps$1 {
11
+ hideLabel?: boolean;
12
+ hideRequiredMarker?: boolean;
13
+ labelPosition?: 'floating';
14
+ }
15
+ declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-form-field", never, {}, {}, never, never, false, never>;
18
+ }
19
+
20
+ declare class FormlyBootstrapFormFieldModule {
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBootstrapFormFieldModule, never>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyBootstrapFormFieldModule, [typeof FormlyWrapperFormField], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.FormlyModule], never>;
23
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyBootstrapFormFieldModule>;
24
+ }
25
+
26
+ declare abstract class FieldType<F extends FormlyFieldConfig = FormlyFieldConfig> extends FieldType$1<F> {
27
+ private hostContainerRef?;
28
+ set content(templateRef: TemplateRef<any>);
29
+ constructor(hostContainerRef?: ViewContainerRef);
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FieldType<any>, [{ optional: true; }]>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FieldType<any>, never, never, {}, {}, never, never, true, never>;
32
+ }
33
+
34
+ export { FieldType, FormlyBootstrapFormFieldModule, withFormlyFormField };
35
+ export type { FormlyFieldProps };
package/index.d.ts CHANGED
@@ -1,5 +1,20 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap" />
5
- export * from './public_api';
1
+ import * as _ngx_formly_core 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
+
12
+ declare function withFormlyBootstrap(): _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 };
package/input/index.d.ts CHANGED
@@ -1,5 +1,30 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/input" />
5
- export * from './public_api';
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 withFormlyFieldInput(): ConfigOption;
11
+
12
+ interface InputProps extends FormlyFieldProps {
13
+ }
14
+ interface FormlyInputFieldConfig extends FormlyFieldConfig<InputProps> {
15
+ type: 'input' | Type<FormlyFieldInput>;
16
+ }
17
+ declare class FormlyFieldInput extends FieldType<FieldTypeConfig<InputProps>> {
18
+ get type(): string;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-input", never, {}, {}, never, never, false, never>;
21
+ }
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 };
@@ -1,5 +1,38 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/multicheckbox" />
5
- export * from './public_api';
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 };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@ngx-formly/bootstrap",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
7
7
  },
8
8
  "peerDependencies": {
9
- "@ngx-formly/core": "8.0.0",
9
+ "@ngx-formly/core": "9.0.0",
10
10
  "bootstrap": "^5.0.0"
11
11
  },
12
12
  "module": "fesm2022/ngx-formly-bootstrap.mjs",
package/radio/index.d.ts CHANGED
@@ -1,5 +1,38 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/radio" />
5
- export * from './public_api';
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 };
package/select/index.d.ts CHANGED
@@ -1,5 +1,38 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/select" />
5
- export * from './public_api';
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 };
@@ -1,5 +1,37 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/bootstrap/textarea" />
5
- export * from './public_api';
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 };
@@ -1,2 +0,0 @@
1
- import { FormlyFieldConfig } from '@ngx-formly/core';
2
- export declare function addonsExtension(field: FormlyFieldConfig): void;
@@ -1,26 +0,0 @@
1
- import { TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { FormlyFieldConfig, FieldTypeConfig, FieldWrapper } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/bootstrap/form-field';
4
- import * as i0 from "@angular/core";
5
- interface AddonsProps extends FormlyFieldProps {
6
- addonRight?: {
7
- onClick?: (field: FormlyFieldConfig, event?: any) => void;
8
- class?: string;
9
- text?: string;
10
- };
11
- addonLeft?: {
12
- onClick?: (field: FormlyFieldConfig, event?: any) => void;
13
- class?: string;
14
- text?: string;
15
- };
16
- }
17
- export declare class FormlyWrapperAddons extends FieldWrapper<FieldTypeConfig<AddonsProps>> {
18
- private hostContainerRef?;
19
- set content(templateRef: TemplateRef<any>);
20
- constructor(hostContainerRef?: ViewContainerRef);
21
- addonRightClick($event: any): void;
22
- addonLeftClick($event: any): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperAddons, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperAddons, "formly-wrapper-addons", never, {}, {}, never, never, false, never>;
25
- }
26
- export {};
@@ -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
- }
@@ -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,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,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';
@@ -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,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';
@@ -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
- }