@ngx-formly/ionic 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 (69) hide show
  1. package/README.md +26 -19
  2. package/checkbox/index.d.ts +30 -5
  3. package/datetime/index.d.ts +54 -5
  4. package/fesm2022/ngx-formly-ionic-checkbox.mjs +7 -7
  5. package/fesm2022/ngx-formly-ionic-datetime.mjs +39 -11
  6. package/fesm2022/ngx-formly-ionic-datetime.mjs.map +1 -1
  7. package/fesm2022/ngx-formly-ionic-form-field.mjs +19 -13
  8. package/fesm2022/ngx-formly-ionic-form-field.mjs.map +1 -1
  9. package/fesm2022/ngx-formly-ionic-input.mjs +11 -9
  10. package/fesm2022/ngx-formly-ionic-input.mjs.map +1 -1
  11. package/fesm2022/ngx-formly-ionic-radio.mjs +7 -7
  12. package/fesm2022/ngx-formly-ionic-select.mjs +9 -9
  13. package/fesm2022/ngx-formly-ionic-select.mjs.map +1 -1
  14. package/fesm2022/ngx-formly-ionic-slider.mjs +9 -9
  15. package/fesm2022/ngx-formly-ionic-slider.mjs.map +1 -1
  16. package/fesm2022/ngx-formly-ionic-textarea.mjs +9 -9
  17. package/fesm2022/ngx-formly-ionic-textarea.mjs.map +1 -1
  18. package/fesm2022/ngx-formly-ionic-toggle.mjs +7 -7
  19. package/fesm2022/ngx-formly-ionic.mjs +4 -4
  20. package/form-field/index.d.ts +37 -5
  21. package/index.d.ts +21 -5
  22. package/input/index.d.ts +30 -5
  23. package/package.json +2 -2
  24. package/radio/index.d.ts +30 -5
  25. package/select/index.d.ts +42 -5
  26. package/slider/index.d.ts +30 -5
  27. package/textarea/index.d.ts +30 -5
  28. package/toggle/index.d.ts +30 -5
  29. package/checkbox/checkbox.config.d.ts +0 -2
  30. package/checkbox/checkbox.module.d.ts +0 -12
  31. package/checkbox/checkbox.type.d.ts +0 -14
  32. package/checkbox/public_api.d.ts +0 -3
  33. package/datetime/datetime.config.d.ts +0 -2
  34. package/datetime/datetime.module.d.ts +0 -12
  35. package/datetime/datetime.type.d.ts +0 -38
  36. package/datetime/public_api.d.ts +0 -3
  37. package/form-field/form-field.config.d.ts +0 -2
  38. package/form-field/form-field.module.d.ts +0 -12
  39. package/form-field/form-field.wrapper.d.ts +0 -12
  40. package/form-field/formly.attributes.d.ts +0 -9
  41. package/form-field/public_api.d.ts +0 -4
  42. package/input/input.config.d.ts +0 -2
  43. package/input/input.module.d.ts +0 -12
  44. package/input/input.type.d.ts +0 -14
  45. package/input/public_api.d.ts +0 -3
  46. package/lib/ui-ionic.config.d.ts +0 -1
  47. package/lib/ui-ionic.d.ts +0 -2
  48. package/lib/ui-ionic.module.d.ts +0 -15
  49. package/public_api.d.ts +0 -1
  50. package/radio/public_api.d.ts +0 -3
  51. package/radio/radio.config.d.ts +0 -2
  52. package/radio/radio.module.d.ts +0 -13
  53. package/radio/radio.type.d.ts +0 -13
  54. package/select/public_api.d.ts +0 -3
  55. package/select/select.config.d.ts +0 -2
  56. package/select/select.module.d.ts +0 -13
  57. package/select/select.type.d.ts +0 -25
  58. package/slider/public_api.d.ts +0 -3
  59. package/slider/slider.config.d.ts +0 -2
  60. package/slider/slider.module.d.ts +0 -12
  61. package/slider/slider.type.d.ts +0 -14
  62. package/textarea/public_api.d.ts +0 -3
  63. package/textarea/textarea.config.d.ts +0 -2
  64. package/textarea/textarea.module.d.ts +0 -12
  65. package/textarea/textarea.type.d.ts +0 -14
  66. package/toggle/public_api.d.ts +0 -3
  67. package/toggle/toggle.config.d.ts +0 -2
  68. package/toggle/toggle.module.d.ts +0 -12
  69. package/toggle/toggle.type.d.ts +0 -14
package/select/index.d.ts CHANGED
@@ -1,5 +1,42 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/ionic/select" />
5
- export * from './public_api';
1
+ import * as i7 from '@ngx-formly/core';
2
+ import { ConfigOption, FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import * as i0 from '@angular/core';
4
+ import { Type } from '@angular/core';
5
+ import * as i6 from '@ngx-formly/core/select';
6
+ import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
7
+ import * as i5 from '@ngx-formly/ionic/form-field';
8
+ import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
9
+ import * as i2 from '@angular/common';
10
+ import * as i3 from '@angular/forms';
11
+ import * as i4 from '@ionic/angular';
12
+
13
+ declare function withFormlyFieldSelect(): ConfigOption;
14
+
15
+ interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
16
+ compareWith?: ((currentValue: any, compareValue: any) => boolean) | null | string | undefined;
17
+ multiple?: boolean;
18
+ interface?: 'action-sheet' | 'alert' | 'popover';
19
+ okText?: string;
20
+ cancelText?: string;
21
+ }
22
+ interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
23
+ type: 'select' | Type<FormlyFieldSelect>;
24
+ }
25
+ declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
26
+ defaultOptions: {
27
+ props: {
28
+ compareWith(o1: any, o2: any): boolean;
29
+ };
30
+ };
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ion-select", never, {}, {}, never, never, false, never>;
33
+ }
34
+
35
+ declare class FormlySelectModule {
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlySelectModule, never>;
37
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySelectModule, [typeof FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
38
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlySelectModule>;
39
+ }
40
+
41
+ export { FormlyFieldSelect, FormlySelectModule, withFormlyFieldSelect };
42
+ export type { FormlySelectFieldConfig };
package/slider/index.d.ts CHANGED
@@ -1,5 +1,30 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/ionic/slider" />
5
- export * from './public_api';
1
+ import * as i6 from '@ngx-formly/core';
2
+ import { ConfigOption, FormlyFieldConfig, FieldType, FieldTypeConfig } from '@ngx-formly/core';
3
+ import * as i0 from '@angular/core';
4
+ import { Type } from '@angular/core';
5
+ import * as i5 from '@ngx-formly/ionic/form-field';
6
+ import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
7
+ import * as i2 from '@angular/common';
8
+ import * as i3 from '@angular/forms';
9
+ import * as i4 from '@ionic/angular';
10
+
11
+ declare function withFormlyFieldSlider(): ConfigOption;
12
+
13
+ interface SliderProps extends FormlyFieldProps {
14
+ }
15
+ interface FormlySliderFieldConfig extends FormlyFieldConfig<SliderProps> {
16
+ type: 'slider' | Type<FormlyFieldSlider>;
17
+ }
18
+ declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SliderProps>> {
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-ion-range", never, {}, {}, never, never, false, never>;
21
+ }
22
+
23
+ declare class FormlySliderModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlySliderModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySliderModule, [typeof FormlyFieldSlider], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlySliderModule>;
27
+ }
28
+
29
+ export { FormlySliderModule, withFormlyFieldSlider };
30
+ export type { FormlySliderFieldConfig };
@@ -1,5 +1,30 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/ionic/textarea" />
5
- export * from './public_api';
1
+ import * as i6 from '@ngx-formly/core';
2
+ import { ConfigOption, FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
+ import * as i0 from '@angular/core';
4
+ import { Type } from '@angular/core';
5
+ import * as i5 from '@ngx-formly/ionic/form-field';
6
+ import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
7
+ import * as i2 from '@angular/common';
8
+ import * as i3 from '@angular/forms';
9
+ import * as i4 from '@ionic/angular';
10
+
11
+ declare function withFormlyFieldTextArea(): ConfigOption;
12
+
13
+ interface TextAreaProps extends FormlyFieldProps {
14
+ }
15
+ interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
16
+ type: 'textarea' | Type<FormlyFieldTextArea>;
17
+ }
18
+ declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ion-textarea", never, {}, {}, never, never, false, never>;
21
+ }
22
+
23
+ declare class FormlyTextAreaModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTextAreaModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyTextAreaModule, [typeof FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyTextAreaModule>;
27
+ }
28
+
29
+ export { FormlyFieldTextArea, FormlyTextAreaModule, withFormlyFieldTextArea };
30
+ export type { FormlyTextAreaFieldConfig };
package/toggle/index.d.ts CHANGED
@@ -1,5 +1,30 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@ngx-formly/ionic/toggle" />
5
- export * from './public_api';
1
+ import * as i6 from '@ngx-formly/core';
2
+ import { ConfigOption, FormlyFieldConfig, FieldType, FieldTypeConfig } from '@ngx-formly/core';
3
+ import * as i0 from '@angular/core';
4
+ import { Type } from '@angular/core';
5
+ import * as i5 from '@ngx-formly/ionic/form-field';
6
+ import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
7
+ import * as i2 from '@angular/common';
8
+ import * as i3 from '@angular/forms';
9
+ import * as i4 from '@ionic/angular';
10
+
11
+ declare function withFormlyFieldToggle(): ConfigOption;
12
+
13
+ interface ToggleProps extends FormlyFieldProps {
14
+ }
15
+ interface FormlyToggleFieldConfig extends FormlyFieldConfig<ToggleProps> {
16
+ type: 'toggle' | Type<FormlyFieldToggle>;
17
+ }
18
+ declare class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldToggle, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldToggle, "formly-field-ion-toggle", never, {}, {}, never, never, false, never>;
21
+ }
22
+
23
+ declare class FormlyToggleModule {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormlyToggleModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyToggleModule, [typeof FormlyFieldToggle], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormlyToggleModule>;
27
+ }
28
+
29
+ export { FormlyToggleModule, withFormlyFieldToggle };
30
+ export type { FormlyToggleFieldConfig };
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldCheckbox(): ConfigOption;
@@ -1,12 +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 "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyCheckboxModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyCheckboxModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyCheckboxModule, [typeof i1.FormlyFieldCheckbox], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCheckboxModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
4
- import * as i0 from "@angular/core";
5
- interface CheckboxProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {
8
- type: 'checkbox' | Type<FormlyFieldCheckbox>;
9
- }
10
- export declare class FormlyFieldCheckbox extends FieldType<FieldTypeConfig<CheckboxProps>> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCheckbox, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCheckbox, "formly-field-ion-checkbox", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldCheckbox } from './checkbox.config';
2
- export { FormlyCheckboxModule } from './checkbox.module';
3
- export { FormlyFieldCheckbox, FormlyCheckboxFieldConfig } from './checkbox.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldDatetime(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./datetime.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyDatetimeModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyDatetimeModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyDatetimeModule, [typeof i1.FormlyFieldDatetime], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyDatetimeModule>;
12
- }
@@ -1,38 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { IonDatetime } from '@ionic/angular';
3
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
4
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
5
- import * as i0 from "@angular/core";
6
- interface DatetimeProps extends FormlyFieldProps {
7
- presentation?: 'date' | 'date-time' | 'month' | 'month-year' | 'time' | 'time-date' | 'year';
8
- locale?: any;
9
- cancelText?: string;
10
- doneText?: string;
11
- dayValues?: number | number[] | string | undefined;
12
- hourValues?: number | number[] | string | undefined;
13
- minuteValues?: number | number[] | string | undefined;
14
- monthValues?: number | number[] | string | undefined;
15
- yearValues?: number | number[] | string | undefined;
16
- minDate?: string | undefined;
17
- maxDate?: string | undefined;
18
- displayFormat?: string;
19
- }
20
- export interface FormlyDatetimeFieldConfig extends FormlyFieldConfig<DatetimeProps> {
21
- type: 'datetime' | Type<FormlyFieldDatetime>;
22
- }
23
- export declare class FormlyFieldDatetime extends FieldType<FieldTypeConfig<DatetimeProps>> {
24
- datetime: IonDatetime;
25
- isOpen: boolean;
26
- defaultOptions: {
27
- props: {
28
- presentation: "month-year";
29
- };
30
- };
31
- displayFormat(): string;
32
- confirm(): void;
33
- reset(): void;
34
- close(): void;
35
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldDatetime, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldDatetime, "formly-field-ion-datetime", never, {}, {}, never, never, false, never>;
37
- }
38
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldDatetime } from './datetime.config';
2
- export { FormlyDatetimeModule } from './datetime.module';
3
- export { FormlyDatetimeFieldConfig } from './datetime.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFormField(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./form-field.wrapper";
3
- import * as i2 from "./formly.attributes";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@angular/forms";
6
- import * as i5 from "@ionic/angular";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyFormFieldModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFormFieldModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyFormFieldModule, [typeof i1.FormlyWrapperFormField, typeof i2.IonFormlyAttributes], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.IonicModule, typeof i6.FormlyModule], [typeof i2.IonFormlyAttributes]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyFormFieldModule>;
12
- }
@@ -1,12 +0,0 @@
1
- import { IonItem, IonLabel } from '@ionic/angular';
2
- import { FieldWrapper, FormlyFieldConfig, FormlyFieldProps as CoreFormlyFieldProps } from '@ngx-formly/core';
3
- import * as i0 from "@angular/core";
4
- export interface FormlyFieldProps extends CoreFormlyFieldProps {
5
- hideRequiredMarker?: boolean;
6
- itemLines?: IonItem['lines'];
7
- labelPosition?: IonLabel['position'];
8
- }
9
- export declare class FormlyWrapperFormField extends FieldWrapper<FormlyFieldConfig<FormlyFieldProps>> {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperFormField, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperFormField, "formly-wrapper-ion-form-field", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,9 +0,0 @@
1
- import { ElementRef, Renderer2 } from '@angular/core';
2
- import { FormlyAttributes, FormlyFieldConfig } from '@ngx-formly/core';
3
- import * as i0 from "@angular/core";
4
- export declare class IonFormlyAttributes extends FormlyAttributes {
5
- field: FormlyFieldConfig;
6
- constructor(renderer: Renderer2, elementRef: ElementRef, _document: any);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<IonFormlyAttributes, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<IonFormlyAttributes, "[ionFormlyAttributes]", never, { "field": { "alias": "ionFormlyAttributes"; "required": false; }; }, {}, never, never, false, never>;
9
- }
@@ -1,4 +0,0 @@
1
- export { withFormlyFormField } from './form-field.config';
2
- export { FormlyFormFieldModule } from './form-field.module';
3
- export { FormlyFieldProps } from './form-field.wrapper';
4
- export { IonFormlyAttributes as ɵIonFormlyAttributes } from './formly.attributes';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldInput(): ConfigOption;
@@ -1,12 +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 "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyInputModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyInputModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyInputModule, [typeof i1.FormlyFieldInput], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyInputModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/ionic/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
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldInput, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldInput, "formly-field-ion-input", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldInput } from './input.config';
2
- export { FormlyInputModule } from './input.module';
3
- export { FormlyFieldInput, FormlyInputFieldConfig } from './input.type';
@@ -1 +0,0 @@
1
- export declare function withFormlyIonic(): import("@ngx-formly/core").ConfigOption[];
package/lib/ui-ionic.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { withFormlyIonic } from './ui-ionic.config';
2
- export { FormlyIonicModule } from './ui-ionic.module';
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@ngx-formly/ionic/form-field";
3
- import * as i2 from "@ngx-formly/ionic/input";
4
- import * as i3 from "@ngx-formly/ionic/textarea";
5
- import * as i4 from "@ngx-formly/ionic/radio";
6
- import * as i5 from "@ngx-formly/ionic/checkbox";
7
- import * as i6 from "@ngx-formly/ionic/select";
8
- import * as i7 from "@ngx-formly/ionic/toggle";
9
- import * as i8 from "@ngx-formly/ionic/slider";
10
- import * as i9 from "@ngx-formly/ionic/datetime";
11
- export declare class FormlyIonicModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyIonicModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyIonicModule, never, [typeof i1.FormlyFormFieldModule, typeof i2.FormlyInputModule, typeof i3.FormlyTextAreaModule, typeof i4.FormlyRadioModule, typeof i5.FormlyCheckboxModule, typeof i6.FormlySelectModule, typeof i7.FormlyToggleModule, typeof i8.FormlySliderModule, typeof i9.FormlyDatetimeModule], [typeof i1.FormlyFormFieldModule]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyIonicModule>;
15
- }
package/public_api.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './lib/ui-ionic';
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldRadio } from './radio.config';
2
- export { FormlyRadioModule } 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,13 +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 "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core/select";
8
- import * as i7 from "@ngx-formly/core";
9
- export declare class FormlyRadioModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyRadioModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyRadioModule, [typeof i1.FormlyFieldRadio], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyRadioModule>;
13
- }
@@ -1,13 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
4
- import * as i0 from "@angular/core";
5
- type RadioProps = FormlyFieldProps;
6
- export interface FormlyRadioFieldConfig extends FormlyFieldConfig<RadioProps> {
7
- type: 'radio' | Type<FormlyFieldRadio>;
8
- }
9
- export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioProps>> {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-ion-radio", never, {}, {}, never, never, false, never>;
12
- }
13
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldSelect } from './select.config';
2
- export { FormlySelectModule } 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,13 +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 "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core/select";
8
- import * as i7 from "@ngx-formly/core";
9
- export declare class FormlySelectModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlySelectModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySelectModule, [typeof i1.FormlyFieldSelect], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlySelectModule, typeof i7.FormlyModule], never>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlySelectModule>;
13
- }
@@ -1,25 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldSelectProps } from '@ngx-formly/core/select';
4
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
5
- import * as i0 from "@angular/core";
6
- interface SelectProps extends FormlyFieldProps, FormlyFieldSelectProps {
7
- compareWith?: ((currentValue: any, compareValue: any) => boolean) | null | string | undefined;
8
- multiple?: boolean;
9
- interface?: 'action-sheet' | 'alert' | 'popover';
10
- okText?: string;
11
- cancelText?: string;
12
- }
13
- export interface FormlySelectFieldConfig extends FormlyFieldConfig<SelectProps> {
14
- type: 'select' | Type<FormlyFieldSelect>;
15
- }
16
- export declare class FormlyFieldSelect extends FieldType<FieldTypeConfig<SelectProps>> {
17
- defaultOptions: {
18
- props: {
19
- compareWith(o1: any, o2: any): boolean;
20
- };
21
- };
22
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSelect, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSelect, "formly-field-ion-select", never, {}, {}, never, never, false, never>;
24
- }
25
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldSlider } from './slider.config';
2
- export { FormlySliderModule } from './slider.module';
3
- export { FormlySliderFieldConfig } from './slider.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldSlider(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./slider.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlySliderModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlySliderModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlySliderModule, [typeof i1.FormlyFieldSlider], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlySliderModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
4
- import * as i0 from "@angular/core";
5
- interface SliderProps extends FormlyFieldProps {
6
- }
7
- export interface FormlySliderFieldConfig extends FormlyFieldConfig<SliderProps> {
8
- type: 'slider' | Type<FormlyFieldSlider>;
9
- }
10
- export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SliderProps>> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-ion-range", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldTextArea } from './textarea.config';
2
- export { FormlyTextAreaModule } 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,12 +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 "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyTextAreaModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyTextAreaModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyTextAreaModule, [typeof i1.FormlyFieldTextArea], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyTextAreaModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
4
- import * as i0 from "@angular/core";
5
- interface TextAreaProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyTextAreaFieldConfig extends FormlyFieldConfig<TextAreaProps> {
8
- type: 'textarea' | Type<FormlyFieldTextArea>;
9
- }
10
- export declare class FormlyFieldTextArea extends FieldType<FieldTypeConfig<TextAreaProps>> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextArea, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextArea, "formly-field-ion-textarea", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};
@@ -1,3 +0,0 @@
1
- export { withFormlyFieldToggle } from './toggle.config';
2
- export { FormlyToggleModule } from './toggle.module';
3
- export { FormlyToggleFieldConfig } from './toggle.type';
@@ -1,2 +0,0 @@
1
- import { ConfigOption } from '@ngx-formly/core';
2
- export declare function withFormlyFieldToggle(): ConfigOption;
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./toggle.type";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@ionic/angular";
6
- import * as i5 from "@ngx-formly/ionic/form-field";
7
- import * as i6 from "@ngx-formly/core";
8
- export declare class FormlyToggleModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyToggleModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyToggleModule, [typeof i1.FormlyFieldToggle], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.IonicModule, typeof i5.FormlyFormFieldModule, typeof i6.FormlyModule], never>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<FormlyToggleModule>;
12
- }
@@ -1,14 +0,0 @@
1
- import { Type } from '@angular/core';
2
- import { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';
3
- import { FormlyFieldProps } from '@ngx-formly/ionic/form-field';
4
- import * as i0 from "@angular/core";
5
- interface ToggleProps extends FormlyFieldProps {
6
- }
7
- export interface FormlyToggleFieldConfig extends FormlyFieldConfig<ToggleProps> {
8
- type: 'toggle' | Type<FormlyFieldToggle>;
9
- }
10
- export declare class FormlyFieldToggle extends FieldType<FieldTypeConfig<ToggleProps>> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldToggle, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldToggle, "formly-field-ion-toggle", never, {}, {}, never, never, false, never>;
13
- }
14
- export {};