@ng-forge/dynamic-forms-ionic 1.3.0-next.2 → 1.3.0-next.4

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 (48) hide show
  1. package/README.md +0 -2
  2. package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-bXoq9uY6.mjs +64 -0
  3. package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-bXoq9uY6.mjs.map +1 -0
  4. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-button.mjs +129 -34
  5. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-button.mjs.map +1 -1
  6. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-icon.mjs +118 -35
  7. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-addon-icon.mjs.map +1 -1
  8. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-button.mjs +113 -33
  9. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-button.mjs.map +1 -1
  10. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-checkbox.mjs +124 -24
  11. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-checkbox.mjs.map +1 -1
  12. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-datepicker.mjs +374 -90
  13. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-datepicker.mjs.map +1 -1
  14. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-input.mjs +262 -126
  15. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-input.mjs.map +1 -1
  16. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-multi-checkbox.mjs +191 -64
  17. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-multi-checkbox.mjs.map +1 -1
  18. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-radio.mjs +178 -27
  19. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-radio.mjs.map +1 -1
  20. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-select.mjs +163 -27
  21. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-select.mjs.map +1 -1
  22. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-slider.mjs +144 -27
  23. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-slider.mjs.map +1 -1
  24. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-textarea.mjs +157 -45
  25. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-textarea.mjs.map +1 -1
  26. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-toggle.mjs +386 -75
  27. package/fesm2022/ng-forge-dynamic-forms-ionic-lazy-toggle.mjs.map +1 -1
  28. package/fesm2022/ng-forge-dynamic-forms-ionic-shared.mjs +139 -62
  29. package/fesm2022/ng-forge-dynamic-forms-ionic-shared.mjs.map +1 -1
  30. package/fesm2022/ng-forge-dynamic-forms-ionic.mjs +238 -251
  31. package/fesm2022/ng-forge-dynamic-forms-ionic.mjs.map +1 -1
  32. package/package.json +2 -3
  33. package/types/ng-forge-dynamic-forms-ionic-lazy-addon-button.d.ts +28 -28
  34. package/types/ng-forge-dynamic-forms-ionic-lazy-addon-icon.d.ts +24 -17
  35. package/types/ng-forge-dynamic-forms-ionic-lazy-button.d.ts +92 -86
  36. package/types/ng-forge-dynamic-forms-ionic-lazy-checkbox.d.ts +24 -18
  37. package/types/ng-forge-dynamic-forms-ionic-lazy-datepicker.d.ts +59 -34
  38. package/types/ng-forge-dynamic-forms-ionic-lazy-input.d.ts +69 -57
  39. package/types/ng-forge-dynamic-forms-ionic-lazy-multi-checkbox.d.ts +34 -23
  40. package/types/ng-forge-dynamic-forms-ionic-lazy-radio.d.ts +31 -20
  41. package/types/ng-forge-dynamic-forms-ionic-lazy-select.d.ts +37 -26
  42. package/types/ng-forge-dynamic-forms-ionic-lazy-slider.d.ts +53 -38
  43. package/types/ng-forge-dynamic-forms-ionic-lazy-textarea.d.ts +29 -23
  44. package/types/ng-forge-dynamic-forms-ionic-lazy-toggle.d.ts +119 -55
  45. package/types/ng-forge-dynamic-forms-ionic-shared.d.ts +78 -83
  46. package/types/ng-forge-dynamic-forms-ionic.d.ts +243 -266
  47. package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-CN0CagvT.mjs +0 -26
  48. package/fesm2022/ng-forge-dynamic-forms-ionic-ionic-field-errors-wrapper.component-CN0CagvT.mjs.map +0 -1
@@ -1,70 +1,82 @@
1
- import * as _ng_forge_dynamic_forms from '@ng-forge/dynamic-forms';
2
- import { DynamicText, TextAddon, TemplateAddon } from '@ng-forge/dynamic-forms';
3
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
4
- import { InputField, InputProps, WrapperFieldInputs } from '@ng-forge/dynamic-forms/integration';
5
- import * as _ng_forge_dynamic_forms_ionic_shared from '@ng-forge/dynamic-forms-ionic/shared';
6
- import { IonicIconAddon, IonicButtonAddon } from '@ng-forge/dynamic-forms-ionic/shared';
7
- import * as _angular_core from '@angular/core';
8
-
1
+ import { DynamicText, TemplateAddon, TextAddon } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { InputField, InputProps, WrapperFieldInputs } from "@ng-forge/dynamic-forms/integration";
4
+ import { IonicButtonAddon, IonicIconAddon } from "@ng-forge/dynamic-forms-ionic/shared";
5
+ import * as i0 from "@angular/core";
9
6
  interface IonicInputProps extends InputProps {
10
- fill?: 'solid' | 'outline';
11
- shape?: 'round';
12
- labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
13
- color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
14
- hint?: DynamicText;
15
- errorText?: DynamicText;
16
- counter?: boolean;
17
- clearInput?: boolean;
7
+ fill?: 'solid' | 'outline';
8
+ shape?: 'round';
9
+ labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
10
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
11
+ hint?: DynamicText;
12
+ errorText?: DynamicText;
13
+ counter?: boolean;
14
+ clearInput?: boolean;
18
15
  }
19
16
  /**
20
17
  * Module-augmentable seam for adding custom addon types to `ion-input` at
21
18
  * the type level. Pair with `withCustomAddon(...)` for the runtime side:
22
19
  */
23
- interface IonicAddonExtensions {
24
- }
20
+ interface IonicAddonExtensions {}
25
21
  type IonicAddonExtension = IonicAddonExtensions[keyof IonicAddonExtensions];
26
22
  /** Addon types accepted by `ion-input`. */
27
23
  type IonicInputAddon = IonicIconAddon | IonicButtonAddon | TextAddon | TemplateAddon | IonicAddonExtension;
28
24
  type IonicInputField = InputField<IonicInputProps> & {
29
- addons?: ReadonlyArray<IonicInputAddon>;
25
+ addons?: ReadonlyArray<IonicInputAddon>;
30
26
  };
31
-
32
27
  declare class IonicInputFieldComponent {
33
- private readonly elementRef;
34
- private ionicConfig;
35
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<string>;
36
- protected readonly ngfa: _ng_forge_dynamic_forms_integration.TypedNgForgeAddons<IonicInputAddon>;
37
- readonly props: _angular_core.InputSignal<IonicInputProps | undefined>;
38
- /**
39
- * Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
40
- * component level so `setInputIfDeclared` (which uses
41
- * `reflectComponentType`) can write it.
42
- */
43
- readonly fieldInputs: _angular_core.InputSignal<WrapperFieldInputs | undefined>;
44
- /** Per-instance type override populated by `toggle-password-visibility` preset. */
45
- private readonly typeOverride;
46
- protected readonly fill: _angular_core.Signal<"solid" | "outline">;
47
- protected readonly shape: _angular_core.Signal<"round" | undefined>;
48
- /** Bootstrap / PrimeNG. Consumers can opt into Ionic's native inline 'start' */
49
- protected readonly labelPlacement: _angular_core.Signal<"start" | "end" | "fixed" | "stacked" | "floating">;
50
- protected readonly color: _angular_core.Signal<"primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark" | undefined>;
51
- /** Override (set by `toggle-password-visibility` preset) wins over `props().type`. */
52
- protected readonly type: _angular_core.Signal<string>;
53
- /** Per-type split: ion-button addons render inline via the attribute-
54
- * selector inline component (so the slotted element is a native
55
- * <ion-button> Ionic can style); everything else (icon/text/template/
56
- * component types) goes through the universal <df-addon-slot> dispatcher
57
- * wrapped in <span slot="start|end"> for safe shadow-DOM projection. */
58
- protected readonly buttonPrefixAddons: _angular_core.Signal<_ng_forge_dynamic_forms_ionic_shared.IonicButtonAddon[]>;
59
- protected readonly buttonSuffixAddons: _angular_core.Signal<_ng_forge_dynamic_forms_ionic_shared.IonicButtonAddon[]>;
60
- protected readonly decorativePrefixAddons: _angular_core.Signal<(_ng_forge_dynamic_forms_ionic_shared.IonicIconAddon | _ng_forge_dynamic_forms.TextAddon | _ng_forge_dynamic_forms.TemplateAddon)[]>;
61
- protected readonly decorativeSuffixAddons: _angular_core.Signal<(_ng_forge_dynamic_forms_ionic_shared.IonicIconAddon | _ng_forge_dynamic_forms.TextAddon | _ng_forge_dynamic_forms.TemplateAddon)[]>;
62
- /** Set when the component is destroyed — guards async aria-describedby sync against teardown. */
63
- private destroyed;
64
- constructor();
65
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<IonicInputFieldComponent, never>;
66
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<IonicInputFieldComponent, "df-ion-input", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; "fieldInputs": { "alias": "fieldInputs"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeFieldHost; inputs: {}; outputs: {}; }, { directive: typeof _ng_forge_dynamic_forms_integration.NgForgeAddons; inputs: {}; outputs: {}; }]>;
28
+ private readonly elementRef;
29
+ private ionicConfig;
30
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<string>;
31
+ protected readonly ngfa: import("@ng-forge/dynamic-forms/integration").TypedNgForgeAddons<IonicInputAddon>;
32
+ readonly props: import("@angular/core").InputSignal<IonicInputProps | undefined>;
33
+ /**
34
+ * Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
35
+ * component level so `setInputIfDeclared` (which uses
36
+ * `reflectComponentType`) can write it.
37
+ */
38
+ readonly fieldInputs: import("@angular/core").InputSignal<WrapperFieldInputs | undefined>;
39
+ /** Per-instance type override populated by `toggle-password-visibility` preset. */
40
+ private readonly typeOverride;
41
+ protected readonly fill: import("@angular/core").Signal<"solid" | "outline">;
42
+ protected readonly shape: import("@angular/core").Signal<"round" | undefined>;
43
+ /** Bootstrap / PrimeNG. Consumers can opt into Ionic's native inline 'start' */
44
+ protected readonly labelPlacement: import("@angular/core").Signal<"start" | "end" | "fixed" | "stacked" | "floating">;
45
+ protected readonly color: import("@angular/core").Signal<"primary" | "secondary" | "tertiary" | "success" | "warning" | "danger" | "light" | "medium" | "dark" | undefined>;
46
+ /** Override (set by `toggle-password-visibility` preset) wins over `props().type`. */
47
+ protected readonly type: import("@angular/core").Signal<string>;
48
+ /** Per-type split: ion-button addons render inline via the attribute-
49
+ * selector inline component (so the slotted element is a native
50
+ * <ion-button> Ionic can style); everything else (icon/text/template/
51
+ * component types) goes through the universal <df-addon-slot> dispatcher
52
+ * wrapped in <span slot="start|end"> for safe shadow-DOM projection. */
53
+ protected readonly buttonPrefixAddons: import("@angular/core").Signal<import("@ng-forge/dynamic-forms-ionic/shared").IonicButtonAddon[]>;
54
+ protected readonly buttonSuffixAddons: import("@angular/core").Signal<import("@ng-forge/dynamic-forms-ionic/shared").IonicButtonAddon[]>;
55
+ protected readonly decorativePrefixAddons: import("@angular/core").Signal<(import("@ng-forge/dynamic-forms-ionic/shared").IonicIconAddon | import("@ng-forge/dynamic-forms").TextAddon | import("@ng-forge/dynamic-forms").TemplateAddon)[]>;
56
+ protected readonly decorativeSuffixAddons: import("@angular/core").Signal<(import("@ng-forge/dynamic-forms-ionic/shared").IonicIconAddon | import("@ng-forge/dynamic-forms").TextAddon | import("@ng-forge/dynamic-forms").TemplateAddon)[]>;
57
+ /** Set when the component is destroyed — guards async aria-describedby sync against teardown. */
58
+ private destroyed;
59
+ constructor();
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<IonicInputFieldComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonicInputFieldComponent, "df-ion-input", never, {
62
+ "props": {
63
+ "alias": "props";
64
+ "required": false;
65
+ "isSignal": true;
66
+ };
67
+ "fieldInputs": {
68
+ "alias": "fieldInputs";
69
+ "required": false;
70
+ "isSignal": true;
71
+ };
72
+ }, {}, never, never, true, [{
73
+ directive: typeof i1.NgForgeFieldHost;
74
+ inputs: {};
75
+ outputs: {};
76
+ }, {
77
+ directive: typeof i1.NgForgeAddons;
78
+ inputs: {};
79
+ outputs: {};
80
+ }]>;
67
81
  }
68
-
69
- export { IonicInputFieldComponent };
70
- export type { IonicInputField, IonicInputProps };
82
+ export { type IonicInputField, IonicInputFieldComponent, type IonicInputProps };
@@ -1,28 +1,39 @@
1
- import * as _angular_core from '@angular/core';
2
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
3
- import { MultiCheckboxField } from '@ng-forge/dynamic-forms/integration';
4
- import { DynamicText, ValueType, FieldOption } from '@ng-forge/dynamic-forms';
5
-
1
+ import { DynamicText, FieldOption, ValueType } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { MultiCheckboxField } from "@ng-forge/dynamic-forms/integration";
4
+ import * as i0 from "@angular/core";
6
5
  interface IonicMultiCheckboxProps {
7
- labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
8
- justify?: 'start' | 'end' | 'space-between';
9
- color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
10
- hint?: DynamicText;
6
+ labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
7
+ justify?: 'start' | 'end' | 'space-between';
8
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
9
+ hint?: DynamicText;
11
10
  }
12
11
  type IonicMultiCheckboxField<T> = MultiCheckboxField<T, IonicMultiCheckboxProps>;
13
-
14
12
  declare class IonicMultiCheckboxFieldComponent {
15
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<ValueType[]>;
16
- readonly options: _angular_core.InputSignal<FieldOption<ValueType>[]>;
17
- readonly props: _angular_core.InputSignal<IonicMultiCheckboxProps | undefined>;
18
- valueViewModel: _angular_core.WritableSignal<FieldOption<ValueType>[]>;
19
- /** Computed map of checked option values for O(1) lookup in template */
20
- readonly checkedValuesMap: _angular_core.Signal<Record<string, boolean>>;
21
- constructor();
22
- onCheckboxChange(option: FieldOption<ValueType>, checked: boolean): void;
23
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<IonicMultiCheckboxFieldComponent, never>;
24
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<IonicMultiCheckboxFieldComponent, "df-ion-multi-checkbox", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeFieldHost; inputs: {}; outputs: {}; }]>;
13
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<ValueType[]>;
14
+ readonly options: import("@angular/core").InputSignal<FieldOption<ValueType>[]>;
15
+ readonly props: import("@angular/core").InputSignal<IonicMultiCheckboxProps | undefined>;
16
+ valueViewModel: import("@angular/core").WritableSignal<FieldOption<ValueType>[]>;
17
+ /** Computed map of checked option values for O(1) lookup in template */
18
+ readonly checkedValuesMap: import("@angular/core").Signal<Record<string, boolean>>;
19
+ constructor();
20
+ onCheckboxChange(option: FieldOption<ValueType>, checked: boolean): void;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<IonicMultiCheckboxFieldComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonicMultiCheckboxFieldComponent, "df-ion-multi-checkbox", never, {
23
+ "options": {
24
+ "alias": "options";
25
+ "required": false;
26
+ "isSignal": true;
27
+ };
28
+ "props": {
29
+ "alias": "props";
30
+ "required": false;
31
+ "isSignal": true;
32
+ };
33
+ }, {}, never, never, true, [{
34
+ directive: typeof i1.NgForgeFieldHost;
35
+ inputs: {};
36
+ outputs: {};
37
+ }]>;
25
38
  }
26
-
27
- export { IonicMultiCheckboxFieldComponent };
28
- export type { IonicMultiCheckboxField, IonicMultiCheckboxProps };
39
+ export { type IonicMultiCheckboxField, IonicMultiCheckboxFieldComponent, type IonicMultiCheckboxProps };
@@ -1,25 +1,36 @@
1
- import { ValueType, DynamicText, FieldOption } from '@ng-forge/dynamic-forms';
2
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
3
- import { RadioField } from '@ng-forge/dynamic-forms/integration';
4
- import * as _angular_core from '@angular/core';
5
-
1
+ import { DynamicText, FieldOption, ValueType } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { RadioField } from "@ng-forge/dynamic-forms/integration";
4
+ import * as i0 from "@angular/core";
6
5
  interface IonicRadioProps {
7
- labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
8
- justify?: 'start' | 'end' | 'space-between';
9
- color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
10
- compareWith?: (o1: ValueType, o2: ValueType) => boolean;
11
- hint?: DynamicText;
6
+ labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
7
+ justify?: 'start' | 'end' | 'space-between';
8
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
9
+ compareWith?: (o1: ValueType, o2: ValueType) => boolean;
10
+ hint?: DynamicText;
12
11
  }
13
12
  type IonicRadioField<T> = RadioField<T, IonicRadioProps>;
14
-
15
13
  declare class IonicRadioFieldComponent {
16
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<ValueType>;
17
- readonly options: _angular_core.InputSignal<FieldOption<ValueType>[]>;
18
- readonly props: _angular_core.InputSignal<IonicRadioProps | undefined>;
19
- defaultCompare: (value1: any, value2: any) => boolean;
20
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<IonicRadioFieldComponent, never>;
21
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<IonicRadioFieldComponent, "df-ion-radio", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeFieldHost; inputs: {}; outputs: {}; }]>;
14
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<ValueType>;
15
+ readonly options: import("@angular/core").InputSignal<FieldOption<ValueType>[]>;
16
+ readonly props: import("@angular/core").InputSignal<IonicRadioProps | undefined>;
17
+ defaultCompare: (value1: any, value2: any) => boolean;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<IonicRadioFieldComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonicRadioFieldComponent, "df-ion-radio", never, {
20
+ "options": {
21
+ "alias": "options";
22
+ "required": false;
23
+ "isSignal": true;
24
+ };
25
+ "props": {
26
+ "alias": "props";
27
+ "required": false;
28
+ "isSignal": true;
29
+ };
30
+ }, {}, never, never, true, [{
31
+ directive: typeof i1.NgForgeFieldHost;
32
+ inputs: {};
33
+ outputs: {};
34
+ }]>;
22
35
  }
23
-
24
- export { IonicRadioFieldComponent };
25
- export type { IonicRadioField, IonicRadioProps };
36
+ export { type IonicRadioField, IonicRadioFieldComponent, type IonicRadioProps };
@@ -1,31 +1,42 @@
1
- import * as _angular_core from '@angular/core';
2
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
3
- import { SelectField, SelectProps } from '@ng-forge/dynamic-forms/integration';
4
- import { ValueType, DynamicText, FieldOption } from '@ng-forge/dynamic-forms';
5
-
1
+ import { DynamicText, FieldOption, ValueType } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { SelectField, SelectProps } from "@ng-forge/dynamic-forms/integration";
4
+ import * as i0 from "@angular/core";
6
5
  interface IonicSelectProps extends SelectProps {
7
- multiple?: boolean;
8
- interface?: 'action-sheet' | 'popover' | 'alert';
9
- interfaceOptions?: unknown;
10
- cancelText?: string;
11
- okText?: string;
12
- fill?: 'solid' | 'outline';
13
- shape?: 'round';
14
- labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
15
- color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
16
- compareWith?: (o1: ValueType, o2: ValueType) => boolean;
17
- hint?: DynamicText;
6
+ multiple?: boolean;
7
+ interface?: 'action-sheet' | 'popover' | 'alert';
8
+ interfaceOptions?: unknown;
9
+ cancelText?: string;
10
+ okText?: string;
11
+ fill?: 'solid' | 'outline';
12
+ shape?: 'round';
13
+ labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
14
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
15
+ compareWith?: (o1: ValueType, o2: ValueType) => boolean;
16
+ hint?: DynamicText;
18
17
  }
19
18
  type IonicSelectField<T> = SelectField<T, IonicSelectProps>;
20
-
21
19
  declare class IonicSelectFieldComponent {
22
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<ValueType>;
23
- readonly options: _angular_core.InputSignal<FieldOption<ValueType>[]>;
24
- readonly props: _angular_core.InputSignal<IonicSelectProps | undefined>;
25
- defaultCompare: (value1: any, value2: any) => boolean;
26
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<IonicSelectFieldComponent, never>;
27
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<IonicSelectFieldComponent, "df-ion-select", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeFieldHost; inputs: {}; outputs: {}; }]>;
20
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<ValueType>;
21
+ readonly options: import("@angular/core").InputSignal<FieldOption<ValueType>[]>;
22
+ readonly props: import("@angular/core").InputSignal<IonicSelectProps | undefined>;
23
+ defaultCompare: (value1: any, value2: any) => boolean;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<IonicSelectFieldComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonicSelectFieldComponent, "df-ion-select", never, {
26
+ "options": {
27
+ "alias": "options";
28
+ "required": false;
29
+ "isSignal": true;
30
+ };
31
+ "props": {
32
+ "alias": "props";
33
+ "required": false;
34
+ "isSignal": true;
35
+ };
36
+ }, {}, never, never, true, [{
37
+ directive: typeof i1.NgForgeFieldHost;
38
+ inputs: {};
39
+ outputs: {};
40
+ }]>;
28
41
  }
29
-
30
- export { IonicSelectFieldComponent };
31
- export type { IonicSelectField, IonicSelectProps };
42
+ export { type IonicSelectField, IonicSelectFieldComponent, type IonicSelectProps };
@@ -1,43 +1,58 @@
1
- import * as _angular_core from '@angular/core';
2
- import * as i1 from '@ng-forge/dynamic-forms/integration';
3
- import { SliderField } from '@ng-forge/dynamic-forms/integration';
4
- import { DynamicText } from '@ng-forge/dynamic-forms';
5
-
1
+ import { DynamicText } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { SliderField } from "@ng-forge/dynamic-forms/integration";
4
+ import * as i0 from "@angular/core";
6
5
  interface IonicSliderProps {
7
- /**
8
- * Adapter-level override for the slider minimum.
9
- * Field-level `minValue` (or the validator `min`) takes precedence.
10
- */
11
- min?: number;
12
- /**
13
- * Adapter-level override for the slider maximum.
14
- * Field-level `maxValue` (or the validator `max`) takes precedence.
15
- */
16
- max?: number;
17
- /**
18
- * Adapter-level override for the slider step increment.
19
- * Field-level `step` on `SliderField` takes precedence.
20
- */
21
- step?: number;
22
- dualKnobs?: boolean;
23
- pin?: boolean;
24
- pinFormatter?: (value: number) => string | number;
25
- ticks?: boolean;
26
- snaps?: boolean;
27
- color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
28
- labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
29
- hint?: DynamicText;
6
+ /**
7
+ * Adapter-level override for the slider minimum.
8
+ * Field-level `minValue` (or the validator `min`) takes precedence.
9
+ */
10
+ min?: number;
11
+ /**
12
+ * Adapter-level override for the slider maximum.
13
+ * Field-level `maxValue` (or the validator `max`) takes precedence.
14
+ */
15
+ max?: number;
16
+ /**
17
+ * Adapter-level override for the slider step increment.
18
+ * Field-level `step` on `SliderField` takes precedence.
19
+ */
20
+ step?: number;
21
+ dualKnobs?: boolean;
22
+ pin?: boolean;
23
+ pinFormatter?: (value: number) => string | number;
24
+ ticks?: boolean;
25
+ snaps?: boolean;
26
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger';
27
+ labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked';
28
+ hint?: DynamicText;
30
29
  }
31
30
  type IonicSliderField = SliderField<IonicSliderProps>;
32
-
33
31
  declare class IonicSliderFieldComponent {
34
- protected readonly ngf: i1.TypedNgForgeField<number>;
35
- readonly step: _angular_core.InputSignal<number | undefined>;
36
- readonly props: _angular_core.InputSignal<IonicSliderProps | undefined>;
37
- protected defaultPinFormatter: (value: number) => string;
38
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<IonicSliderFieldComponent, never>;
39
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<IonicSliderFieldComponent, "df-ion-slider", never, { "step": { "alias": "step"; "required": false; "isSignal": true; }; "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.NgForgeFieldHost; inputs: {}; outputs: {}; }, { directive: typeof i1.NgForgeHostControl; inputs: {}; outputs: {}; }]>;
32
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<number>;
33
+ readonly step: import("@angular/core").InputSignal<number | undefined>;
34
+ readonly props: import("@angular/core").InputSignal<IonicSliderProps | undefined>;
35
+ protected defaultPinFormatter: (value: number) => string;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<IonicSliderFieldComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonicSliderFieldComponent, "df-ion-slider", never, {
38
+ "step": {
39
+ "alias": "step";
40
+ "required": false;
41
+ "isSignal": true;
42
+ };
43
+ "props": {
44
+ "alias": "props";
45
+ "required": false;
46
+ "isSignal": true;
47
+ };
48
+ }, {}, never, never, true, [{
49
+ directive: typeof i1.NgForgeFieldHost;
50
+ inputs: {};
51
+ outputs: {};
52
+ }, {
53
+ directive: typeof i1.NgForgeHostControl;
54
+ inputs: {};
55
+ outputs: {};
56
+ }]>;
40
57
  }
41
-
42
- export { IonicSliderFieldComponent };
43
- export type { IonicSliderField, IonicSliderProps };
58
+ export { type IonicSliderField, IonicSliderFieldComponent, type IonicSliderProps };
@@ -1,28 +1,34 @@
1
- import * as i0 from '@angular/core';
2
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
3
- import { TextareaField, TextareaProps } from '@ng-forge/dynamic-forms/integration';
4
- import { DynamicText } from '@ng-forge/dynamic-forms';
5
-
1
+ import { DynamicText } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { TextareaField, TextareaProps } from "@ng-forge/dynamic-forms/integration";
4
+ import * as i0 from "@angular/core";
6
5
  interface IonicTextareaProps extends TextareaProps {
7
- autoGrow?: boolean;
8
- counter?: boolean;
9
- fill?: 'solid' | 'outline';
10
- shape?: 'round';
11
- labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
12
- hint?: DynamicText;
13
- errorText?: DynamicText;
14
- color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
6
+ autoGrow?: boolean;
7
+ counter?: boolean;
8
+ fill?: 'solid' | 'outline';
9
+ shape?: 'round';
10
+ labelPlacement?: 'start' | 'end' | 'fixed' | 'stacked' | 'floating';
11
+ hint?: DynamicText;
12
+ errorText?: DynamicText;
13
+ color?: 'primary' | 'secondary' | 'tertiary' | 'success' | 'warning' | 'danger' | 'light' | 'medium' | 'dark';
15
14
  }
16
15
  type IonicTextareaField = TextareaField<IonicTextareaProps>;
17
-
18
16
  declare class IonicTextareaFieldComponent {
19
- private readonly elementRef;
20
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<string>;
21
- readonly props: i0.InputSignal<IonicTextareaProps | undefined>;
22
- constructor();
23
- static ɵfac: i0.ɵɵFactoryDeclaration<IonicTextareaFieldComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<IonicTextareaFieldComponent, "df-ion-textarea", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeFieldHost; inputs: {}; outputs: {}; }]>;
17
+ private readonly elementRef;
18
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<string>;
19
+ readonly props: import("@angular/core").InputSignal<IonicTextareaProps | undefined>;
20
+ constructor();
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<IonicTextareaFieldComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<IonicTextareaFieldComponent, "df-ion-textarea", never, {
23
+ "props": {
24
+ "alias": "props";
25
+ "required": false;
26
+ "isSignal": true;
27
+ };
28
+ }, {}, never, never, true, [{
29
+ directive: typeof i1.NgForgeFieldHost;
30
+ inputs: {};
31
+ outputs: {};
32
+ }]>;
25
33
  }
26
-
27
- export { IonicTextareaFieldComponent };
28
- export type { IonicTextareaField, IonicTextareaProps };
34
+ export { type IonicTextareaField, IonicTextareaFieldComponent, type IonicTextareaProps };