@ng-forge/dynamic-forms-material 1.3.0-next.1 → 1.3.0-next.3

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 (47) hide show
  1. package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-button.mjs +118 -33
  2. package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-button.mjs.map +1 -1
  3. package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-icon.mjs +112 -33
  4. package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-icon.mjs.map +1 -1
  5. package/fesm2022/ng-forge-dynamic-forms-material-lazy-button.mjs +96 -33
  6. package/fesm2022/ng-forge-dynamic-forms-material-lazy-button.mjs.map +1 -1
  7. package/fesm2022/ng-forge-dynamic-forms-material-lazy-checkbox.mjs +137 -29
  8. package/fesm2022/ng-forge-dynamic-forms-material-lazy-checkbox.mjs.map +1 -1
  9. package/fesm2022/ng-forge-dynamic-forms-material-lazy-datepicker.mjs +316 -62
  10. package/fesm2022/ng-forge-dynamic-forms-material-lazy-datepicker.mjs.map +1 -1
  11. package/fesm2022/ng-forge-dynamic-forms-material-lazy-input.mjs +253 -107
  12. package/fesm2022/ng-forge-dynamic-forms-material-lazy-input.mjs.map +1 -1
  13. package/fesm2022/ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs +179 -65
  14. package/fesm2022/ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs.map +1 -1
  15. package/fesm2022/ng-forge-dynamic-forms-material-lazy-radio.mjs +168 -27
  16. package/fesm2022/ng-forge-dynamic-forms-material-lazy-radio.mjs.map +1 -1
  17. package/fesm2022/ng-forge-dynamic-forms-material-lazy-select.mjs +253 -56
  18. package/fesm2022/ng-forge-dynamic-forms-material-lazy-select.mjs.map +1 -1
  19. package/fesm2022/ng-forge-dynamic-forms-material-lazy-slider.mjs +157 -27
  20. package/fesm2022/ng-forge-dynamic-forms-material-lazy-slider.mjs.map +1 -1
  21. package/fesm2022/ng-forge-dynamic-forms-material-lazy-textarea.mjs +206 -51
  22. package/fesm2022/ng-forge-dynamic-forms-material-lazy-textarea.mjs.map +1 -1
  23. package/fesm2022/ng-forge-dynamic-forms-material-lazy-toggle.mjs +134 -29
  24. package/fesm2022/ng-forge-dynamic-forms-material-lazy-toggle.mjs.map +1 -1
  25. package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-bFeO_Ift.mjs +64 -0
  26. package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-bFeO_Ift.mjs.map +1 -0
  27. package/fesm2022/ng-forge-dynamic-forms-material-shared.mjs +7 -11
  28. package/fesm2022/ng-forge-dynamic-forms-material-shared.mjs.map +1 -1
  29. package/fesm2022/ng-forge-dynamic-forms-material.mjs +241 -260
  30. package/fesm2022/ng-forge-dynamic-forms-material.mjs.map +1 -1
  31. package/package.json +2 -2
  32. package/types/ng-forge-dynamic-forms-material-lazy-addon-button.d.ts +17 -17
  33. package/types/ng-forge-dynamic-forms-material-lazy-addon-icon.d.ts +23 -16
  34. package/types/ng-forge-dynamic-forms-material-lazy-button.d.ts +87 -81
  35. package/types/ng-forge-dynamic-forms-material-lazy-checkbox.d.ts +27 -21
  36. package/types/ng-forge-dynamic-forms-material-lazy-datepicker.d.ts +68 -40
  37. package/types/ng-forge-dynamic-forms-material-lazy-input.d.ts +54 -42
  38. package/types/ng-forge-dynamic-forms-material-lazy-multi-checkbox.d.ts +35 -24
  39. package/types/ng-forge-dynamic-forms-material-lazy-radio.d.ts +30 -19
  40. package/types/ng-forge-dynamic-forms-material-lazy-select.d.ts +56 -38
  41. package/types/ng-forge-dynamic-forms-material-lazy-slider.d.ts +33 -22
  42. package/types/ng-forge-dynamic-forms-material-lazy-textarea.d.ts +47 -34
  43. package/types/ng-forge-dynamic-forms-material-lazy-toggle.d.ts +29 -23
  44. package/types/ng-forge-dynamic-forms-material-shared.d.ts +56 -64
  45. package/types/ng-forge-dynamic-forms-material.d.ts +211 -238
  46. package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-Dz2-IbBh.mjs +0 -26
  47. package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-Dz2-IbBh.mjs.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ng-forge/dynamic-forms-material",
3
- "version": "1.3.0-next.1",
3
+ "version": "1.3.0-next.3",
4
4
  "description": "Angular Material integration for @ng-forge/dynamic-forms. Pre-built Material Design form components.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -94,7 +94,7 @@
94
94
  "@angular/core": "^22.0.0",
95
95
  "@angular/forms": "^22.0.0",
96
96
  "@angular/material": "^22.0.0",
97
- "@ng-forge/dynamic-forms": "~1.3.0-next.1",
97
+ "@ng-forge/dynamic-forms": "~1.3.0-next.3",
98
98
  "rxjs": ">=7.0.0"
99
99
  },
100
100
  "dependencies": {
@@ -1,18 +1,18 @@
1
- import * as _ng_forge_dynamic_forms from '@ng-forge/dynamic-forms';
2
- import * as _angular_core from '@angular/core';
3
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
4
- import { MatButtonAddon } from '@ng-forge/dynamic-forms-material/shared';
5
-
1
+ import { MatButtonAddon } from "@ng-forge/dynamic-forms-material/shared";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
6
4
  /** Renderer for the `mat-button` addon type. */
7
- declare class MatButtonAddonComponent {
8
- protected readonly action: _ng_forge_dynamic_forms_integration.TypedNgForgeAddonAction<MatButtonAddon>;
9
- /** Re-exposed for template binding — same signal stored on the directive. */
10
- protected readonly addon: _angular_core.Signal<MatButtonAddon>;
11
- protected readonly label: _angular_core.Signal<_ng_forge_dynamic_forms.DynamicText | undefined>;
12
- protected readonly ariaLabel: _angular_core.Signal<_ng_forge_dynamic_forms.DynamicText | undefined>;
13
- protected readonly isIconOnly: _angular_core.Signal<boolean>;
14
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatButtonAddonComponent, never>;
15
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatButtonAddonComponent, "df-mat-button-addon", never, {}, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeAddonAction; inputs: {}; outputs: {}; }]>;
16
- }
17
-
18
- export { MatButtonAddonComponent };
5
+ export declare class MatButtonAddonComponent {
6
+ protected readonly action: import("@ng-forge/dynamic-forms/integration").TypedNgForgeAddonAction<MatButtonAddon>;
7
+ /** Re-exposed for template binding — same signal stored on the directive. */
8
+ protected readonly addon: import("@angular/core").Signal<MatButtonAddon>;
9
+ protected readonly label: import("@angular/core").Signal<import("@ng-forge/dynamic-forms").DynamicText | undefined>;
10
+ protected readonly ariaLabel: import("@angular/core").Signal<import("@ng-forge/dynamic-forms").DynamicText | undefined>;
11
+ protected readonly isIconOnly: import("@angular/core").Signal<boolean>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonAddonComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonAddonComponent, "df-mat-button-addon", never, {}, {}, never, never, true, [{
14
+ directive: typeof i1.NgForgeAddonAction;
15
+ inputs: {};
16
+ outputs: {};
17
+ }]>;
18
+ }
@@ -1,17 +1,24 @@
1
- import * as _ng_forge_dynamic_forms from '@ng-forge/dynamic-forms';
2
- import * as _angular_core from '@angular/core';
3
- import { WrapperFieldInputs } from '@ng-forge/dynamic-forms/integration';
4
- import { MatIconAddon } from '@ng-forge/dynamic-forms-material/shared';
5
-
1
+ import { WrapperFieldInputs } from "@ng-forge/dynamic-forms/integration";
2
+ import { MatIconAddon } from "@ng-forge/dynamic-forms-material/shared";
3
+ import * as i0 from "@angular/core";
6
4
  /** Renderer for the `mat-icon` addon type. */
7
- declare class MatIconAddonComponent {
8
- readonly addon: _angular_core.InputSignal<MatIconAddon>;
9
- /** Accepted for contract uniformity — `NgComponentOutlet` setInput is strict; every type must declare it. */
10
- readonly fieldInputs: _angular_core.InputSignal<WrapperFieldInputs | undefined>;
11
- protected readonly ariaLabel: _angular_core.Signal<_ng_forge_dynamic_forms.DynamicText | undefined>;
12
- protected readonly hasAriaLabel: _angular_core.Signal<boolean>;
13
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatIconAddonComponent, never>;
14
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatIconAddonComponent, "df-mat-icon-addon", never, { "addon": { "alias": "addon"; "required": true; "isSignal": true; }; "fieldInputs": { "alias": "fieldInputs"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
- }
16
-
17
- export { MatIconAddonComponent };
5
+ export declare class MatIconAddonComponent {
6
+ readonly addon: import("@angular/core").InputSignal<MatIconAddon>;
7
+ /** Accepted for contract uniformity — `NgComponentOutlet` setInput is strict; every type must declare it. */
8
+ readonly fieldInputs: import("@angular/core").InputSignal<WrapperFieldInputs | undefined>;
9
+ protected readonly ariaLabel: import("@angular/core").Signal<import("@ng-forge/dynamic-forms").DynamicText | undefined>;
10
+ protected readonly hasAriaLabel: import("@angular/core").Signal<boolean>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatIconAddonComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatIconAddonComponent, "df-mat-icon-addon", never, {
13
+ "addon": {
14
+ "alias": "addon";
15
+ "required": true;
16
+ "isSignal": true;
17
+ };
18
+ "fieldInputs": {
19
+ "alias": "fieldInputs";
20
+ "required": false;
21
+ "isSignal": true;
22
+ };
23
+ }, {}, never, never, true, never>;
24
+ }
@@ -1,114 +1,120 @@
1
- import { FormEvent, AppendArrayItemEvent, ArrayAllowedChildren, InsertArrayItemEvent, NextPageEvent, PopArrayItemEvent, PrependArrayItemEvent, PreviousPageEvent, RemoveAtIndexEvent, ShiftArrayItemEvent, FormSubmitEvent } from '@ng-forge/dynamic-forms';
2
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
3
- import { ButtonField } from '@ng-forge/dynamic-forms/integration';
4
- import * as _angular_core from '@angular/core';
5
-
1
+ import { AppendArrayItemEvent, ArrayAllowedChildren, FormEvent, FormSubmitEvent, InsertArrayItemEvent, NextPageEvent, PopArrayItemEvent, PrependArrayItemEvent, PreviousPageEvent, RemoveAtIndexEvent, ShiftArrayItemEvent } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { ButtonField } from "@ng-forge/dynamic-forms/integration";
4
+ import * as i0 from "@angular/core";
6
5
  interface MatButtonProps {
7
- color?: 'primary' | 'accent' | 'warn';
8
- type?: 'button' | 'submit' | 'reset';
6
+ color?: 'primary' | 'accent' | 'warn';
7
+ type?: 'button' | 'submit' | 'reset';
9
8
  }
10
9
  type MatButtonField<TEvent extends FormEvent> = ButtonField<MatButtonProps, TEvent>;
11
10
  /** Specific button field types with preconfigured events */
12
11
  /** Submit button field - automatically disabled when form is invalid */
13
12
  type MatSubmitButtonField = Omit<MatButtonField<FormSubmitEvent>, 'event' | 'type' | 'eventArgs'> & {
14
- type: 'submit';
13
+ type: 'submit';
15
14
  };
16
15
  /** Next page button field - with preconfigured NextPageEvent */
17
16
  type MatNextButtonField = Omit<MatButtonField<NextPageEvent>, 'event' | 'type' | 'eventArgs'> & {
18
- type: 'next';
17
+ type: 'next';
19
18
  };
20
19
  /** Previous page button field - with preconfigured PreviousPageEvent */
21
20
  type MatPreviousButtonField = Omit<MatButtonField<PreviousPageEvent>, 'event' | 'type' | 'eventArgs'> & {
22
- type: 'previous';
21
+ type: 'previous';
23
22
  };
24
23
  /** Add array item button field - dispatches AppendArrayItemEvent */
25
24
  type MatAddArrayItemButtonField = Omit<MatButtonField<AppendArrayItemEvent>, 'event' | 'type' | 'eventArgs'> & {
26
- type: 'add-array-item' | 'addArrayItem';
27
- /**
28
- * The key of the array field to add items to.
29
- * Required when the button is placed outside the array.
30
- * When inside an array, this is automatically determined from context.
31
- */
32
- arrayKey?: string;
33
- /**
34
- * Template for the new array item. REQUIRED.
35
- * - Single field (ArrayAllowedChildren): Creates a primitive item (field's value is extracted directly)
36
- * - Array of fields (ArrayAllowedChildren[]): Creates an object item (fields merged into object)
37
- */
38
- template: ArrayAllowedChildren | readonly ArrayAllowedChildren[];
25
+ type: 'add-array-item' | 'addArrayItem';
26
+ /**
27
+ * The key of the array field to add items to.
28
+ * Required when the button is placed outside the array.
29
+ * When inside an array, this is automatically determined from context.
30
+ */
31
+ arrayKey?: string;
32
+ /**
33
+ * Template for the new array item. REQUIRED.
34
+ * - Single field (ArrayAllowedChildren): Creates a primitive item (field's value is extracted directly)
35
+ * - Array of fields (ArrayAllowedChildren[]): Creates an object item (fields merged into object)
36
+ */
37
+ template: ArrayAllowedChildren | readonly ArrayAllowedChildren[];
39
38
  };
40
39
  /** Prepend array item button field - dispatches PrependArrayItemEvent (adds at beginning) */
41
40
  type MatPrependArrayItemButtonField = Omit<MatButtonField<PrependArrayItemEvent>, 'event' | 'type' | 'eventArgs'> & {
42
- type: 'prepend-array-item' | 'prependArrayItem';
43
- /**
44
- * The key of the array field to prepend items to.
45
- * Required when the button is placed outside the array.
46
- * When inside an array, this is automatically determined from context.
47
- */
48
- arrayKey?: string;
49
- /**
50
- * Template for the new array item. REQUIRED.
51
- * - Single field (ArrayAllowedChildren): Creates a primitive item (field's value is extracted directly)
52
- * - Array of fields (ArrayAllowedChildren[]): Creates an object item (fields merged into object)
53
- */
54
- template: ArrayAllowedChildren | readonly ArrayAllowedChildren[];
41
+ type: 'prepend-array-item' | 'prependArrayItem';
42
+ /**
43
+ * The key of the array field to prepend items to.
44
+ * Required when the button is placed outside the array.
45
+ * When inside an array, this is automatically determined from context.
46
+ */
47
+ arrayKey?: string;
48
+ /**
49
+ * Template for the new array item. REQUIRED.
50
+ * - Single field (ArrayAllowedChildren): Creates a primitive item (field's value is extracted directly)
51
+ * - Array of fields (ArrayAllowedChildren[]): Creates an object item (fields merged into object)
52
+ */
53
+ template: ArrayAllowedChildren | readonly ArrayAllowedChildren[];
55
54
  };
56
55
  /** Insert array item button field - dispatches InsertArrayItemEvent (adds at specific index) */
57
56
  type MatInsertArrayItemButtonField = Omit<MatButtonField<InsertArrayItemEvent>, 'event' | 'type' | 'eventArgs'> & {
58
- type: 'insert-array-item' | 'insertArrayItem';
59
- /**
60
- * The key of the array field to insert items into.
61
- * Required when the button is placed outside the array.
62
- * When inside an array, this is automatically determined from context.
63
- */
64
- arrayKey?: string;
65
- /** The index at which to insert the new item. */
66
- index: number;
67
- /**
68
- * Template for the new array item. REQUIRED.
69
- * - Single field (ArrayAllowedChildren): Creates a primitive item (field's value is extracted directly)
70
- * - Array of fields (ArrayAllowedChildren[]): Creates an object item (fields merged into object)
71
- */
72
- template: ArrayAllowedChildren | readonly ArrayAllowedChildren[];
57
+ type: 'insert-array-item' | 'insertArrayItem';
58
+ /**
59
+ * The key of the array field to insert items into.
60
+ * Required when the button is placed outside the array.
61
+ * When inside an array, this is automatically determined from context.
62
+ */
63
+ arrayKey?: string;
64
+ /** The index at which to insert the new item. */
65
+ index: number;
66
+ /**
67
+ * Template for the new array item. REQUIRED.
68
+ * - Single field (ArrayAllowedChildren): Creates a primitive item (field's value is extracted directly)
69
+ * - Array of fields (ArrayAllowedChildren[]): Creates an object item (fields merged into object)
70
+ */
71
+ template: ArrayAllowedChildren | readonly ArrayAllowedChildren[];
73
72
  };
74
73
  /** Remove array item button field - dispatches RemoveAtIndexEvent or PopArrayItemEvent */
75
74
  type MatRemoveArrayItemButtonField = Omit<MatButtonField<RemoveAtIndexEvent>, 'event' | 'type' | 'eventArgs'> & {
76
- type: 'remove-array-item' | 'removeArrayItem';
77
- /**
78
- * The key of the array field to remove items from.
79
- * Required when the button is placed outside the array.
80
- * When inside an array, this is automatically determined from context.
81
- */
82
- arrayKey?: string;
75
+ type: 'remove-array-item' | 'removeArrayItem';
76
+ /**
77
+ * The key of the array field to remove items from.
78
+ * Required when the button is placed outside the array.
79
+ * When inside an array, this is automatically determined from context.
80
+ */
81
+ arrayKey?: string;
83
82
  };
84
83
  /** Pop array item button field - dispatches PopArrayItemEvent (removes last item) */
85
84
  type MatPopArrayItemButtonField = Omit<MatButtonField<PopArrayItemEvent>, 'event' | 'type' | 'eventArgs'> & {
86
- type: 'pop-array-item' | 'popArrayItem';
87
- /**
88
- * The key of the array field to remove the last item from.
89
- * REQUIRED - must specify which array to pop from.
90
- */
91
- arrayKey: string;
85
+ type: 'pop-array-item' | 'popArrayItem';
86
+ /**
87
+ * The key of the array field to remove the last item from.
88
+ * REQUIRED - must specify which array to pop from.
89
+ */
90
+ arrayKey: string;
92
91
  };
93
92
  /** Shift array item button field - dispatches ShiftArrayItemEvent (removes first item) */
94
93
  type MatShiftArrayItemButtonField = Omit<MatButtonField<ShiftArrayItemEvent>, 'event' | 'type' | 'eventArgs'> & {
95
- type: 'shift-array-item' | 'shiftArrayItem';
96
- /**
97
- * The key of the array field to remove the first item from.
98
- * REQUIRED - must specify which array to shift from.
99
- */
100
- arrayKey: string;
94
+ type: 'shift-array-item' | 'shiftArrayItem';
95
+ /**
96
+ * The key of the array field to remove the first item from.
97
+ * REQUIRED - must specify which array to shift from.
98
+ */
99
+ arrayKey: string;
101
100
  };
102
-
103
101
  declare class MatButtonFieldComponent<TEvent extends FormEvent> {
104
- protected readonly action: _ng_forge_dynamic_forms_integration.NgForgeAction<TEvent>;
105
- readonly props: _angular_core.InputSignal<MatButtonProps | undefined>;
106
- readonly buttonType: _angular_core.Signal<"button" | "submit" | "reset">;
107
- readonly buttonTestId: _angular_core.Signal<string>;
108
- onClick(): void;
109
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatButtonFieldComponent<any>, never>;
110
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatButtonFieldComponent<any>, "df-mat-button", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeActionHost; inputs: {}; outputs: {}; }]>;
102
+ protected readonly action: import("@ng-forge/dynamic-forms/integration").NgForgeAction<TEvent>;
103
+ readonly props: import("@angular/core").InputSignal<MatButtonProps | undefined>;
104
+ readonly buttonType: import("@angular/core").Signal<"button" | "submit" | "reset">;
105
+ readonly buttonTestId: import("@angular/core").Signal<string>;
106
+ onClick(): void;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatButtonFieldComponent<any>, never>;
108
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatButtonFieldComponent<any>, "df-mat-button", never, {
109
+ "props": {
110
+ "alias": "props";
111
+ "required": false;
112
+ "isSignal": true;
113
+ };
114
+ }, {}, never, never, true, [{
115
+ directive: typeof i1.NgForgeActionHost;
116
+ inputs: {};
117
+ outputs: {};
118
+ }]>;
111
119
  }
112
-
113
- export { MatButtonFieldComponent };
114
- export type { MatAddArrayItemButtonField, MatButtonField, MatButtonProps, MatInsertArrayItemButtonField, MatNextButtonField, MatPopArrayItemButtonField, MatPrependArrayItemButtonField, MatPreviousButtonField, MatRemoveArrayItemButtonField, MatShiftArrayItemButtonField, MatSubmitButtonField };
120
+ export { type MatAddArrayItemButtonField, type MatButtonField, MatButtonFieldComponent, type MatButtonProps, type MatInsertArrayItemButtonField, type MatNextButtonField, type MatPopArrayItemButtonField, type MatPrependArrayItemButtonField, type MatPreviousButtonField, type MatRemoveArrayItemButtonField, type MatShiftArrayItemButtonField, type MatSubmitButtonField };
@@ -1,26 +1,32 @@
1
- import * as _angular_core from '@angular/core';
2
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
3
- import { CheckboxField } from '@ng-forge/dynamic-forms/integration';
4
- import { DynamicText } from '@ng-forge/dynamic-forms';
5
- import { ThemePalette } from '@angular/material/core';
6
-
1
+ import { DynamicText } from "@ng-forge/dynamic-forms";
2
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
3
+ import { CheckboxField } from "@ng-forge/dynamic-forms/integration";
4
+ import { ThemePalette } from "@angular/material/core";
5
+ import * as i0 from "@angular/core";
7
6
  interface MatCheckboxProps {
8
- color?: ThemePalette;
9
- disableRipple?: boolean;
10
- labelPosition?: 'before' | 'after';
11
- hint?: DynamicText;
12
- indeterminate?: boolean;
7
+ color?: ThemePalette;
8
+ disableRipple?: boolean;
9
+ labelPosition?: 'before' | 'after';
10
+ hint?: DynamicText;
11
+ indeterminate?: boolean;
13
12
  }
14
13
  type MatCheckboxField = CheckboxField<MatCheckboxProps>;
15
-
16
14
  declare class MatCheckboxFieldComponent {
17
- private materialConfig;
18
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<boolean>;
19
- readonly props: _angular_core.InputSignal<MatCheckboxProps | undefined>;
20
- readonly disableRipple: _angular_core.Signal<boolean>;
21
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatCheckboxFieldComponent, never>;
22
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatCheckboxFieldComponent, "df-mat-checkbox", never, { "props": { "alias": "props"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _ng_forge_dynamic_forms_integration.NgForgeFieldHost; inputs: {}; outputs: {}; }]>;
15
+ private materialConfig;
16
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<boolean>;
17
+ readonly props: import("@angular/core").InputSignal<MatCheckboxProps | undefined>;
18
+ readonly disableRipple: import("@angular/core").Signal<boolean>;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatCheckboxFieldComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatCheckboxFieldComponent, "df-mat-checkbox", never, {
21
+ "props": {
22
+ "alias": "props";
23
+ "required": false;
24
+ "isSignal": true;
25
+ };
26
+ }, {}, never, never, true, [{
27
+ directive: typeof i1.NgForgeFieldHost;
28
+ inputs: {};
29
+ outputs: {};
30
+ }]>;
23
31
  }
24
-
25
- export { MatCheckboxFieldComponent };
26
- export type { MatCheckboxField, MatCheckboxProps };
32
+ export { type MatCheckboxField, MatCheckboxFieldComponent, type MatCheckboxProps };
@@ -1,45 +1,73 @@
1
- import * as _angular_material_form_field from '@angular/material/form-field';
2
- import { MatFormFieldAppearance, SubscriptSizing, FloatLabelType } from '@angular/material/form-field';
3
- import * as _angular_core from '@angular/core';
4
- import * as _ng_forge_dynamic_forms from '@ng-forge/dynamic-forms';
5
- import { DynamicText } from '@ng-forge/dynamic-forms';
6
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
7
- import { DatepickerField, DatepickerProps, WrapperFieldInputs } from '@ng-forge/dynamic-forms/integration';
8
-
1
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
2
+ import { DatepickerField, DatepickerProps, WrapperFieldInputs } from "@ng-forge/dynamic-forms/integration";
3
+ import { DynamicText } from "@ng-forge/dynamic-forms";
4
+ import { FloatLabelType, MatFormFieldAppearance, SubscriptSizing } from "@angular/material/form-field";
5
+ import * as i0 from "@angular/core";
9
6
  interface MatDatepickerProps extends DatepickerProps {
10
- appearance?: MatFormFieldAppearance;
11
- color?: 'primary' | 'accent' | 'warn';
12
- disableRipple?: boolean;
13
- subscriptSizing?: SubscriptSizing;
14
- floatLabel?: FloatLabelType;
15
- hideRequiredMarker?: boolean;
16
- startView?: 'month' | 'year' | 'multi-year';
17
- touchUi?: boolean;
18
- hint?: DynamicText;
7
+ appearance?: MatFormFieldAppearance;
8
+ color?: 'primary' | 'accent' | 'warn';
9
+ disableRipple?: boolean;
10
+ subscriptSizing?: SubscriptSizing;
11
+ floatLabel?: FloatLabelType;
12
+ hideRequiredMarker?: boolean;
13
+ startView?: 'month' | 'year' | 'multi-year';
14
+ touchUi?: boolean;
15
+ hint?: DynamicText;
19
16
  }
20
17
  type MatDatepickerField = DatepickerField<MatDatepickerProps>;
21
-
22
18
  declare class MatDatepickerFieldComponent {
23
- private materialConfig;
24
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<string>;
25
- protected readonly ngfa: _ng_forge_dynamic_forms_integration.TypedNgForgeAddons<_ng_forge_dynamic_forms.AnyAddon>;
26
- readonly minDate: _angular_core.InputSignal<Date | null>;
27
- readonly maxDate: _angular_core.InputSignal<Date | null>;
28
- readonly startAt: _angular_core.InputSignal<Date | null>;
29
- readonly props: _angular_core.InputSignal<MatDatepickerProps | undefined>;
30
- /**
31
- * Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
32
- * component level so `setInputIfDeclared` (which uses
33
- * `reflectComponentType`) can write it.
34
- */
35
- readonly fieldInputs: _angular_core.InputSignal<WrapperFieldInputs | undefined>;
36
- readonly appearance: _angular_core.Signal<_angular_material_form_field.MatFormFieldAppearance>;
37
- readonly subscriptSizing: _angular_core.Signal<_angular_material_form_field.SubscriptSizing>;
38
- readonly floatLabel: _angular_core.Signal<_angular_material_form_field.FloatLabelType>;
39
- readonly hideRequiredMarker: _angular_core.Signal<boolean>;
40
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatDatepickerFieldComponent, never>;
41
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatDatepickerFieldComponent, "df-mat-datepicker", never, { "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "startAt": { "alias": "startAt"; "required": false; "isSignal": true; }; "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: {}; }]>;
19
+ private materialConfig;
20
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<string>;
21
+ protected readonly ngfa: import("@ng-forge/dynamic-forms/integration").TypedNgForgeAddons<import("@ng-forge/dynamic-forms").AnyAddon>;
22
+ readonly minDate: import("@angular/core").InputSignal<Date | null>;
23
+ readonly maxDate: import("@angular/core").InputSignal<Date | null>;
24
+ readonly startAt: import("@angular/core").InputSignal<Date | null>;
25
+ readonly props: import("@angular/core").InputSignal<MatDatepickerProps | undefined>;
26
+ /**
27
+ * Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
28
+ * component level so `setInputIfDeclared` (which uses
29
+ * `reflectComponentType`) can write it.
30
+ */
31
+ readonly fieldInputs: import("@angular/core").InputSignal<WrapperFieldInputs | undefined>;
32
+ readonly appearance: import("@angular/core").Signal<import("@angular/material/form-field").MatFormFieldAppearance>;
33
+ readonly subscriptSizing: import("@angular/core").Signal<import("@angular/material/form-field").SubscriptSizing>;
34
+ readonly floatLabel: import("@angular/core").Signal<import("@angular/material/form-field").FloatLabelType>;
35
+ readonly hideRequiredMarker: import("@angular/core").Signal<boolean>;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatDatepickerFieldComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatDatepickerFieldComponent, "df-mat-datepicker", never, {
38
+ "minDate": {
39
+ "alias": "minDate";
40
+ "required": false;
41
+ "isSignal": true;
42
+ };
43
+ "maxDate": {
44
+ "alias": "maxDate";
45
+ "required": false;
46
+ "isSignal": true;
47
+ };
48
+ "startAt": {
49
+ "alias": "startAt";
50
+ "required": false;
51
+ "isSignal": true;
52
+ };
53
+ "props": {
54
+ "alias": "props";
55
+ "required": false;
56
+ "isSignal": true;
57
+ };
58
+ "fieldInputs": {
59
+ "alias": "fieldInputs";
60
+ "required": false;
61
+ "isSignal": true;
62
+ };
63
+ }, {}, never, never, true, [{
64
+ directive: typeof i1.NgForgeFieldHost;
65
+ inputs: {};
66
+ outputs: {};
67
+ }, {
68
+ directive: typeof i1.NgForgeAddons;
69
+ inputs: {};
70
+ outputs: {};
71
+ }]>;
42
72
  }
43
-
44
- export { MatDatepickerFieldComponent };
45
- export type { MatDatepickerField, MatDatepickerProps };
73
+ export { type MatDatepickerField, MatDatepickerFieldComponent, type MatDatepickerProps };
@@ -1,55 +1,67 @@
1
- import * as _angular_material_form_field from '@angular/material/form-field';
2
- import { MatFormFieldAppearance, SubscriptSizing, FloatLabelType } from '@angular/material/form-field';
3
- import * as _angular_core from '@angular/core';
4
- import * as _ng_forge_dynamic_forms_integration from '@ng-forge/dynamic-forms/integration';
5
- import { InputField, InputProps, WrapperFieldInputs } from '@ng-forge/dynamic-forms/integration';
6
- import { DynamicText, TextAddon, TemplateAddon } from '@ng-forge/dynamic-forms';
7
- import { MatIconAddon, MatButtonAddon } from '@ng-forge/dynamic-forms-material/shared';
8
-
1
+ import * as i1 from "@ng-forge/dynamic-forms/integration";
2
+ import { InputField, InputProps, WrapperFieldInputs } from "@ng-forge/dynamic-forms/integration";
3
+ import { DynamicText, TemplateAddon, TextAddon } from "@ng-forge/dynamic-forms";
4
+ import { FloatLabelType, MatFormFieldAppearance, SubscriptSizing } from "@angular/material/form-field";
5
+ import { MatButtonAddon, MatIconAddon } from "@ng-forge/dynamic-forms-material/shared";
6
+ import * as i0 from "@angular/core";
9
7
  interface MatInputProps extends InputProps {
10
- appearance?: MatFormFieldAppearance;
11
- disableRipple?: boolean;
12
- subscriptSizing?: SubscriptSizing;
13
- floatLabel?: FloatLabelType;
14
- hideRequiredMarker?: boolean;
15
- type?: 'text' | 'email' | 'password' | 'number' | 'tel' | 'url';
16
- hint?: DynamicText;
8
+ appearance?: MatFormFieldAppearance;
9
+ disableRipple?: boolean;
10
+ subscriptSizing?: SubscriptSizing;
11
+ floatLabel?: FloatLabelType;
12
+ hideRequiredMarker?: boolean;
13
+ hint?: DynamicText;
17
14
  }
18
15
  /**
19
16
  * Module-augmentable seam for adding custom addon types to `mat-input` at
20
17
  * the type level. Pair with `withCustomAddon(...)` for the runtime side:
21
18
  */
22
- interface MatAddonExtensions {
23
- }
19
+ interface MatAddonExtensions {}
24
20
  type MatAddonExtension = MatAddonExtensions[keyof MatAddonExtensions];
25
21
  /** Addon types accepted by `mat-input`. */
26
22
  type MatInputAddon = MatIconAddon | MatButtonAddon | TextAddon | TemplateAddon | MatAddonExtension;
27
23
  type MatInputField = InputField<MatInputProps> & {
28
- addons?: ReadonlyArray<MatInputAddon>;
24
+ addons?: ReadonlyArray<MatInputAddon>;
29
25
  };
30
-
31
26
  declare class MatInputFieldComponent {
32
- private materialConfig;
33
- protected readonly ngf: _ng_forge_dynamic_forms_integration.TypedNgForgeField<string>;
34
- protected readonly ngfa: _ng_forge_dynamic_forms_integration.TypedNgForgeAddons<MatInputAddon>;
35
- readonly props: _angular_core.InputSignal<MatInputProps | undefined>;
36
- /**
37
- * Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
38
- * component level so `setInputIfDeclared` (which uses
39
- * `reflectComponentType`) can write it.
40
- */
41
- readonly fieldInputs: _angular_core.InputSignal<WrapperFieldInputs | undefined>;
42
- /** Per-instance type override populated by `toggle-password-visibility` preset. */
43
- private readonly typeOverride;
44
- readonly appearance: _angular_core.Signal<_angular_material_form_field.MatFormFieldAppearance>;
45
- readonly subscriptSizing: _angular_core.Signal<_angular_material_form_field.SubscriptSizing>;
46
- readonly floatLabel: _angular_core.Signal<_angular_material_form_field.FloatLabelType>;
47
- readonly hideRequiredMarker: _angular_core.Signal<boolean>;
48
- /** Override (set by `toggle-password-visibility` preset) wins over `props().type`. */
49
- protected readonly type: _angular_core.Signal<string>;
50
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<MatInputFieldComponent, never>;
51
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<MatInputFieldComponent, "df-mat-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: {}; }]>;
27
+ private materialConfig;
28
+ protected readonly ngf: import("@ng-forge/dynamic-forms/integration").TypedNgForgeField<string>;
29
+ protected readonly ngfa: import("@ng-forge/dynamic-forms/integration").TypedNgForgeAddons<MatInputAddon>;
30
+ readonly props: import("@angular/core").InputSignal<MatInputProps | undefined>;
31
+ /**
32
+ * Wrapper-style host bag pushed by `DfFieldOutlet`. Declared at the
33
+ * component level so `setInputIfDeclared` (which uses
34
+ * `reflectComponentType`) can write it.
35
+ */
36
+ readonly fieldInputs: import("@angular/core").InputSignal<WrapperFieldInputs | undefined>;
37
+ /** Per-instance type override populated by `toggle-password-visibility` preset. */
38
+ private readonly typeOverride;
39
+ readonly appearance: import("@angular/core").Signal<import("@angular/material/form-field").MatFormFieldAppearance>;
40
+ readonly subscriptSizing: import("@angular/core").Signal<import("@angular/material/form-field").SubscriptSizing>;
41
+ readonly floatLabel: import("@angular/core").Signal<import("@angular/material/form-field").FloatLabelType>;
42
+ readonly hideRequiredMarker: import("@angular/core").Signal<boolean>;
43
+ /** Override (set by `toggle-password-visibility` preset) wins over `props().type`. */
44
+ protected readonly type: import("@angular/core").Signal<string>;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatInputFieldComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatInputFieldComponent, "df-mat-input", never, {
47
+ "props": {
48
+ "alias": "props";
49
+ "required": false;
50
+ "isSignal": true;
51
+ };
52
+ "fieldInputs": {
53
+ "alias": "fieldInputs";
54
+ "required": false;
55
+ "isSignal": true;
56
+ };
57
+ }, {}, never, never, true, [{
58
+ directive: typeof i1.NgForgeFieldHost;
59
+ inputs: {};
60
+ outputs: {};
61
+ }, {
62
+ directive: typeof i1.NgForgeAddons;
63
+ inputs: {};
64
+ outputs: {};
65
+ }]>;
52
66
  }
53
-
54
- export { MatInputFieldComponent };
55
- export type { MatInputField, MatInputProps };
67
+ export { type MatInputField, MatInputFieldComponent, type MatInputProps };