@igo2/common 21.0.0-next.4 → 21.0.0-next.40

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 (82) hide show
  1. package/fesm2022/igo2-common-action.mjs +16 -16
  2. package/fesm2022/igo2-common-action.mjs.map +1 -1
  3. package/fesm2022/igo2-common-backdrop.mjs +7 -7
  4. package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
  5. package/fesm2022/igo2-common-badge.mjs +7 -7
  6. package/fesm2022/igo2-common-badge.mjs.map +1 -1
  7. package/fesm2022/igo2-common-clickout.mjs +7 -7
  8. package/fesm2022/igo2-common-clickout.mjs.map +1 -1
  9. package/fesm2022/igo2-common-clone.mjs +7 -7
  10. package/fesm2022/igo2-common-clone.mjs.map +1 -1
  11. package/fesm2022/igo2-common-collapsible.mjs +10 -10
  12. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  13. package/fesm2022/igo2-common-color.mjs +8 -8
  14. package/fesm2022/igo2-common-color.mjs.map +1 -1
  15. package/fesm2022/igo2-common-confirm-dialog.mjs +10 -10
  16. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  17. package/fesm2022/igo2-common-context-menu.mjs +10 -10
  18. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  19. package/fesm2022/igo2-common-custom-html.mjs +10 -10
  20. package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
  21. package/fesm2022/igo2-common-datepicker.mjs +3 -3
  22. package/fesm2022/igo2-common-datepicker.mjs.map +1 -1
  23. package/fesm2022/igo2-common-dom.mjs +7 -7
  24. package/fesm2022/igo2-common-dom.mjs.map +1 -1
  25. package/fesm2022/igo2-common-drag-drop.mjs +31 -10
  26. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  27. package/fesm2022/igo2-common-dynamic-component.mjs +14 -14
  28. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  29. package/fesm2022/igo2-common-entity.mjs +31 -31
  30. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  31. package/fesm2022/igo2-common-flexible.mjs +17 -14
  32. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  33. package/fesm2022/igo2-common-form.mjs +811 -110
  34. package/fesm2022/igo2-common-form.mjs.map +1 -1
  35. package/fesm2022/igo2-common-home-button.mjs +7 -7
  36. package/fesm2022/igo2-common-home-button.mjs.map +1 -1
  37. package/fesm2022/igo2-common-icon.mjs +6 -6
  38. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  39. package/fesm2022/igo2-common-image.mjs +10 -10
  40. package/fesm2022/igo2-common-image.mjs.map +1 -1
  41. package/fesm2022/igo2-common-interactive-tour.mjs +13 -13
  42. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  43. package/fesm2022/igo2-common-json-dialog.mjs +10 -10
  44. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  45. package/fesm2022/igo2-common-keyvalue.mjs +7 -7
  46. package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
  47. package/fesm2022/igo2-common-list.mjs +10 -10
  48. package/fesm2022/igo2-common-list.mjs.map +1 -1
  49. package/fesm2022/igo2-common-panel.mjs +7 -7
  50. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  51. package/fesm2022/igo2-common-resizable-bar.mjs +6 -6
  52. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
  53. package/fesm2022/igo2-common-sidenav.mjs +7 -7
  54. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  55. package/fesm2022/igo2-common-spinner.mjs +10 -10
  56. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  57. package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
  58. package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -1
  59. package/fesm2022/igo2-common-table.mjs +7 -7
  60. package/fesm2022/igo2-common-table.mjs.map +1 -1
  61. package/fesm2022/igo2-common-timepicker.mjs +3 -3
  62. package/fesm2022/igo2-common-timepicker.mjs.map +1 -1
  63. package/fesm2022/igo2-common-tool.mjs +14 -14
  64. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  65. package/fesm2022/igo2-common-widget.mjs +14 -14
  66. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  67. package/fesm2022/igo2-common-workspace.mjs +18 -18
  68. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  69. package/fesm2022/igo2-common.mjs +0 -1
  70. package/fesm2022/igo2-common.mjs.map +1 -1
  71. package/locale/en.common.json +0 -7
  72. package/locale/fr.common.json +0 -7
  73. package/package.json +3 -7
  74. package/style/style.css +1 -1
  75. package/types/igo2-common-drag-drop.d.ts +3 -1
  76. package/types/igo2-common-entity.d.ts +2 -2
  77. package/types/igo2-common-flexible.d.ts +3 -2
  78. package/types/igo2-common-form.d.ts +365 -76
  79. package/types/igo2-common.d.ts +0 -1
  80. package/fesm2022/igo2-common-select-value-dialog.mjs +0 -155
  81. package/fesm2022/igo2-common-select-value-dialog.mjs.map +0 -1
  82. package/types/igo2-common-select-value-dialog.d.ts +0 -65
@@ -1,8 +1,9 @@
1
1
  import * as _igo2_common_form from '@igo2/common/form';
2
- import * as i0 from '@angular/core';
3
- import { OnChanges, ElementRef, SimpleChanges, OnInit, ModuleWithProviders } from '@angular/core';
4
- import { ValidatorFn, UntypedFormControl, UntypedFormGroup, AbstractControl } from '@angular/forms';
2
+ import * as _angular_core from '@angular/core';
3
+ import { OnChanges, ElementRef, SimpleChanges, OnInit, OnDestroy, ModuleWithProviders } from '@angular/core';
4
+ import { ValidatorFn, UntypedFormControl, UntypedFormGroup, FormGroup, FormControl, AbstractControl } from '@angular/forms';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
6
+ import { MatCheckboxChange } from '@angular/material/checkbox';
6
7
  import * as i1 from '@angular/material/dialog';
7
8
  import { MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
8
9
  import { LanguageService } from '@igo2/core/language';
@@ -60,8 +61,15 @@ interface FormFieldInputs {
60
61
  interface FormFieldSelectInputs extends FormFieldInputs {
61
62
  choices: BehaviorSubject<FormFieldSelectChoice[]> | FormFieldSelectChoice[];
62
63
  }
64
+ interface FormFieldChoiceInputs extends FormFieldInputs {
65
+ choices: FormFieldSelectChoice[];
66
+ }
67
+ interface FormFieldCheckboxInputs extends FormFieldChoiceInputs {
68
+ maxSelected?: number;
69
+ }
70
+ type FormFieldRadiobuttonInputs = FormFieldChoiceInputs;
63
71
  interface FormFieldSelectChoice {
64
- value: any;
72
+ value: unknown;
65
73
  title: string;
66
74
  }
67
75
 
@@ -72,20 +80,20 @@ declare class FormComponent implements OnChanges {
72
80
  /**
73
81
  * Form
74
82
  */
75
- readonly form: i0.InputSignal<Form>;
83
+ readonly form: _angular_core.InputSignal<Form>;
76
84
  /**
77
85
  * Input data
78
86
  */
79
- readonly formData: i0.InputSignal<Record<string, unknown> | undefined>;
87
+ readonly formData: _angular_core.InputSignal<Record<string, unknown> | undefined>;
80
88
  /**
81
89
  * Form autocomplete
82
90
  */
83
- readonly autocomplete: i0.InputSignal<string>;
91
+ readonly autocomplete: _angular_core.InputSignal<string>;
84
92
  /**
85
93
  * Event emitted when the form is submitted
86
94
  */
87
- readonly submitForm: i0.OutputEmitterRef<Record<string, unknown>>;
88
- readonly buttons: i0.Signal<ElementRef<any> | undefined>;
95
+ readonly submitForm: _angular_core.OutputEmitterRef<Record<string, unknown>>;
96
+ readonly buttons: _angular_core.Signal<ElementRef<any> | undefined>;
89
97
  get hasButtons(): boolean;
90
98
  /**
91
99
  * Is the entity or the template change, recreate the form or repopulate it.
@@ -105,17 +113,17 @@ declare class FormComponent implements OnChanges {
105
113
  * Clear form
106
114
  */
107
115
  private clear;
108
- static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
109
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "igo-form", never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; "formData": { "alias": "formData"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "submitForm": "submitForm"; }, never, ["*", "[formButtons]"], true, never>;
116
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormComponent, never>;
117
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormComponent, "igo-form", never, { "form": { "alias": "form"; "required": true; "isSignal": true; }; "formData": { "alias": "formData"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "submitForm": "submitForm"; }, never, ["*", "[formButtons]"], true, never>;
110
118
  }
111
119
 
112
120
  /**
113
121
  * @deprecated import the FormComponent directly
114
122
  */
115
123
  declare class IgoFormFormModule {
116
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoFormFormModule, never>;
117
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFormFormModule, never, [typeof FormComponent], [typeof FormComponent]>;
118
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoFormFormModule>;
124
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormFormModule, never>;
125
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormFormModule, never, [typeof FormComponent], [typeof FormComponent]>;
126
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormFormModule>;
119
127
  }
120
128
 
121
129
  /**
@@ -127,11 +135,11 @@ declare class FormGroupComponent {
127
135
  /**
128
136
  * Form field group
129
137
  */
130
- readonly group: i0.InputSignal<FormFieldGroup>;
138
+ readonly group: _angular_core.InputSignal<FormFieldGroup>;
131
139
  /**
132
140
  * Field placeholder
133
141
  */
134
- readonly errors: i0.InputSignal<Record<string, string> | undefined>;
142
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
135
143
  /**
136
144
  * Form group control
137
145
  */
@@ -156,17 +164,17 @@ declare class FormGroupComponent {
156
164
  * Get error message
157
165
  */
158
166
  getErrorMessage(): string;
159
- static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
160
- static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "igo-form-group", never, { "group": { "alias": "group"; "required": true; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
167
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormGroupComponent, never>;
168
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormGroupComponent, "igo-form-group", never, { "group": { "alias": "group"; "required": true; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
161
169
  }
162
170
 
163
171
  /**
164
172
  * @deprecated import the FormGroupComponent directly
165
173
  */
166
174
  declare class IgoFormGroupModule {
167
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoFormGroupModule, never>;
168
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFormGroupModule, never, [typeof FormGroupComponent], [typeof FormGroupComponent]>;
169
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoFormGroupModule>;
175
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormGroupModule, never>;
176
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormGroupModule, never, [typeof FormGroupComponent], [typeof FormGroupComponent]>;
177
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormGroupModule>;
170
178
  }
171
179
 
172
180
  /**
@@ -178,7 +186,7 @@ declare class FormFieldComponent {
178
186
  /**
179
187
  * Field configuration
180
188
  */
181
- readonly field: i0.InputSignal<FormField<FormFieldInputs>>;
189
+ readonly field: _angular_core.InputSignal<FormField<FormFieldInputs>>;
182
190
  /**
183
191
  * Field inputs cache
184
192
  */
@@ -191,39 +199,224 @@ declare class FormFieldComponent {
191
199
  getFieldComponent(): any;
192
200
  getFieldInputs(): FormFieldInputs;
193
201
  getFieldSubscribers(): FormFieldSubscribers;
194
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
195
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "igo-form-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
202
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
203
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "igo-form-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
204
+ }
205
+
206
+ declare class FormFieldCheckboxComponent implements OnInit, OnDestroy {
207
+ private errorStateMatcher;
208
+ private parentForm;
209
+ private parentFormGroup;
210
+ readonly disabled: _angular_core.WritableSignal<boolean>;
211
+ private readonly showErrorState;
212
+ private selectedValues;
213
+ private destroy$;
214
+ readonly choices: _angular_core.InputSignal<_igo2_common_form.FormFieldSelectChoice[]>;
215
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
216
+ readonly showLabel: _angular_core.InputSignal<boolean>;
217
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
218
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
219
+ readonly maxSelected: _angular_core.InputSignal<number | undefined>;
220
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
221
+ get required(): boolean;
222
+ ngOnInit(): void;
223
+ ngOnDestroy(): void;
224
+ getErrorMessage(): string;
225
+ showError(): boolean;
226
+ isChecked(value: unknown): boolean;
227
+ onChoiceChange(value: unknown, event: MatCheckboxChange): void;
228
+ onDisableSwitchClick(): void;
229
+ private normalizeValue;
230
+ private syncState;
231
+ private toggleDisabled;
232
+ private maxSelectedValidator;
233
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldCheckboxComponent, never>;
234
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldCheckboxComponent, "igo-form-field-checkbox", never, { "choices": { "alias": "choices"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "maxSelected": { "alias": "maxSelected"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
235
+ }
236
+
237
+ declare class FormFieldDatetimeComponent implements OnInit, OnDestroy {
238
+ readonly disabled: _angular_core.WritableSignal<boolean>;
239
+ readonly dateTimeGroup: FormGroup<{
240
+ date: FormControl<Date | null>;
241
+ time: FormControl<Date | null>;
242
+ }>;
243
+ get dateControl(): FormControl<Date | null>;
244
+ get timeControl(): FormControl<Date | null>;
245
+ private destroy$;
246
+ private syncingExternalToInternal;
247
+ private syncingInternalToExternal;
248
+ /**
249
+ * The field's form control
250
+ */
251
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
252
+ /**
253
+ * Field showLabel
254
+ */
255
+ readonly showLabel: _angular_core.InputSignal<boolean>;
256
+ /**
257
+ * Field placeholder used for date input
258
+ */
259
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
260
+ /**
261
+ * Placeholder used for time input
262
+ */
263
+ readonly timePlaceholder: _angular_core.InputSignal<string | undefined>;
264
+ /**
265
+ * Minimum selectable date
266
+ */
267
+ readonly minDate: _angular_core.InputSignal<Date | undefined>;
268
+ /**
269
+ * Maximum selectable date
270
+ */
271
+ readonly maxDate: _angular_core.InputSignal<Date | undefined>;
272
+ /**
273
+ * Minimum selectable time
274
+ */
275
+ readonly minTime: _angular_core.InputSignal<string | Date | null>;
276
+ /**
277
+ * Maximum selectable time
278
+ */
279
+ readonly maxTime: _angular_core.InputSignal<string | Date | null>;
280
+ /**
281
+ * Optional explicit options rendered in the timepicker panel.
282
+ */
283
+ readonly options: _angular_core.InputSignal<readonly {
284
+ value: Date;
285
+ label: string;
286
+ }[] | null>;
287
+ /**
288
+ * Time option interval for the panel.
289
+ */
290
+ readonly interval: _angular_core.InputSignal<string | number | null>;
291
+ /**
292
+ * Whether clicking the input should open the timepicker.
293
+ */
294
+ readonly openOnClick: _angular_core.InputSignal<boolean>;
295
+ /**
296
+ * Whether a disable switch should be available
297
+ */
298
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
299
+ /**
300
+ * Error messages mapping
301
+ */
302
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
303
+ /**
304
+ * Whether the field is required
305
+ */
306
+ get required(): boolean;
307
+ ngOnInit(): void;
308
+ ngOnDestroy(): void;
309
+ getErrorMessage(): string;
310
+ clearDate(): void;
311
+ clearTime(): void;
312
+ onDisableSwitchClick(): void;
313
+ private syncInternalFromExternal;
314
+ private pushInternalToExternal;
315
+ private updateTimeControlState;
316
+ private toDateValue;
317
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldDatetimeComponent, never>;
318
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldDatetimeComponent, "igo-form-field-datetime", never, { "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "timePlaceholder": { "alias": "timePlaceholder"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "interval": { "alias": "interval"; "required": false; "isSignal": true; }; "openOnClick": { "alias": "openOnClick"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
319
+ }
320
+
321
+ /**
322
+ * This component renders a number field
323
+ */
324
+ declare class FormFieldNumberComponent implements OnInit {
325
+ readonly disabled: _angular_core.WritableSignal<boolean>;
326
+ hide: boolean;
327
+ /**
328
+ * The field's form control
329
+ */
330
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
331
+ /**
332
+ * Field showLabel
333
+ */
334
+ readonly showLabel: _angular_core.InputSignal<boolean>;
335
+ /**
336
+ * Field placeholder
337
+ */
338
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
339
+ /**
340
+ * Field placeholder
341
+ */
342
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
343
+ /**
344
+ * Wheter a disable switch should be available
345
+ */
346
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
347
+ /**
348
+ * Whether the field is required
349
+ */
350
+ get required(): boolean;
351
+ ngOnInit(): void;
352
+ /**
353
+ * Get error message
354
+ */
355
+ getErrorMessage(): string;
356
+ onDisableSwitchClick(): void;
357
+ private toggleDisabled;
358
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldNumberComponent, never>;
359
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldNumberComponent, "igo-form-field-number", never, { "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
360
+ }
361
+
362
+ declare class FormFieldRadiobuttonComponent implements OnInit, OnDestroy {
363
+ private errorStateMatcher;
364
+ private parentForm;
365
+ private parentFormGroup;
366
+ readonly disabled: _angular_core.WritableSignal<boolean>;
367
+ private readonly showErrorState;
368
+ private destroy$;
369
+ readonly choices: _angular_core.InputSignal<_igo2_common_form.FormFieldSelectChoice[]>;
370
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
371
+ readonly showLabel: _angular_core.InputSignal<boolean>;
372
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
373
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
374
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
375
+ get required(): boolean;
376
+ ngOnInit(): void;
377
+ ngOnDestroy(): void;
378
+ getErrorMessage(): string;
379
+ showError(): boolean;
380
+ onDisableSwitchClick(): void;
381
+ private syncState;
382
+ private toggleDisabled;
383
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldRadiobuttonComponent, never>;
384
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldRadiobuttonComponent, "igo-form-field-radiobutton", never, { "choices": { "alias": "choices"; "required": true; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
196
385
  }
197
386
 
198
387
  /**
199
388
  * This component renders a select field
200
389
  */
201
390
  declare class FormFieldSelectComponent implements OnInit {
202
- readonly disabled: i0.WritableSignal<boolean>;
391
+ readonly disabled: _angular_core.WritableSignal<boolean>;
203
392
  /**
204
393
  * Select input choices
205
394
  */
206
- readonly choices: i0.InputSignal<FormFieldSelectChoice[]>;
395
+ readonly choices: _angular_core.InputSignal<FormFieldSelectChoice[]>;
207
396
  /**
208
397
  * If the select allow multiple selections
209
398
  */
210
- readonly multiple: i0.InputSignal<boolean>;
399
+ readonly multiple: _angular_core.InputSignal<boolean>;
211
400
  /**
212
401
  * The field's form control
213
402
  */
214
- readonly formControl: i0.InputSignal<UntypedFormControl>;
403
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
404
+ /**
405
+ * Field showLabel
406
+ */
407
+ readonly showLabel: _angular_core.InputSignal<boolean>;
215
408
  /**
216
409
  * Field placeholder
217
410
  */
218
- readonly placeholder: i0.InputSignal<string | undefined>;
411
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
219
412
  /**
220
413
  * Field placeholder
221
414
  */
222
- readonly errors: i0.InputSignal<Record<string, string> | undefined>;
415
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
223
416
  /**
224
417
  * Wheter a disable switch should be available
225
418
  */
226
- readonly disableSwitch: i0.InputSignal<boolean>;
419
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
227
420
  /**
228
421
  * Whether the field is required
229
422
  */
@@ -235,8 +428,8 @@ declare class FormFieldSelectComponent implements OnInit {
235
428
  getErrorMessage(): string;
236
429
  onDisableSwitchClick(): void;
237
430
  private toggleDisabled;
238
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldSelectComponent, never>;
239
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldSelectComponent, "igo-form-field-select", never, { "choices": { "alias": "choices"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
431
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldSelectComponent, never>;
432
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldSelectComponent, "igo-form-field-select", never, { "choices": { "alias": "choices"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
240
433
  }
241
434
 
242
435
  /**
@@ -244,29 +437,33 @@ declare class FormFieldSelectComponent implements OnInit {
244
437
  */
245
438
  declare class FormFieldTextComponent implements OnInit {
246
439
  private cdRef;
247
- disabled$: BehaviorSubject<boolean>;
440
+ readonly disabled: _angular_core.WritableSignal<boolean>;
248
441
  hide: boolean;
249
442
  private lastTimeoutRequest?;
250
443
  /**
251
444
  * The field's form control
252
445
  */
253
- readonly formControl: i0.InputSignal<UntypedFormControl>;
446
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
447
+ /**
448
+ * Field showLabel
449
+ */
450
+ readonly showLabel: _angular_core.InputSignal<boolean>;
254
451
  /**
255
452
  * Field placeholder
256
453
  */
257
- readonly placeholder: i0.InputSignal<string | undefined>;
454
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
258
455
  /**
259
456
  * if the input is a password
260
457
  */
261
- readonly isPassword: i0.InputSignal<boolean | undefined>;
458
+ readonly isPassword: _angular_core.InputSignal<boolean | undefined>;
262
459
  /**
263
460
  * Field placeholder
264
461
  */
265
- readonly errors: i0.InputSignal<Record<string, string> | undefined>;
462
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
266
463
  /**
267
464
  * Wheter a disable switch should be available
268
465
  */
269
- readonly disableSwitch: i0.InputSignal<boolean>;
466
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
270
467
  /**
271
468
  * Whether the field is required
272
469
  */
@@ -280,31 +477,35 @@ declare class FormFieldTextComponent implements OnInit {
280
477
  private toggleDisabled;
281
478
  togglePassword(): void;
282
479
  delayedHide(delayMS?: number): void;
283
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTextComponent, never>;
284
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTextComponent, "igo-form-field-text", never, { "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "isPassword": { "alias": "isPassword"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
480
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldTextComponent, never>;
481
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldTextComponent, "igo-form-field-text", never, { "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "isPassword": { "alias": "isPassword"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
285
482
  }
286
483
 
287
484
  /**
288
485
  * This component renders a textarea field
289
486
  */
290
487
  declare class FormFieldTextareaComponent implements OnInit {
291
- disabled$: BehaviorSubject<boolean>;
488
+ readonly disabled: _angular_core.WritableSignal<boolean>;
292
489
  /**
293
490
  * The field's form control
294
491
  */
295
- readonly formControl: i0.InputSignal<UntypedFormControl>;
492
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
493
+ /**
494
+ * Field showLabel
495
+ */
496
+ readonly showLabel: _angular_core.InputSignal<boolean>;
296
497
  /**
297
498
  * Field placeholder
298
499
  */
299
- readonly placeholder: i0.InputSignal<string | undefined>;
500
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
300
501
  /**
301
502
  * Field placeholder
302
503
  */
303
- readonly errors: i0.InputSignal<Record<string, string> | undefined>;
504
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
304
505
  /**
305
506
  * Wheter a disable switch should be available
306
507
  */
307
- readonly disableSwitch: i0.InputSignal<boolean>;
508
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
308
509
  /**
309
510
  * Whether the field is required
310
511
  */
@@ -316,20 +517,50 @@ declare class FormFieldTextareaComponent implements OnInit {
316
517
  getErrorMessage(): string;
317
518
  onDisableSwitchClick(): void;
318
519
  private toggleDisabled;
319
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTextareaComponent, never>;
320
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTextareaComponent, "igo-form-field-textarea", never, { "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
520
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldTextareaComponent, never>;
521
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldTextareaComponent, "igo-form-field-textarea", never, { "formControl": { "alias": "formControl"; "required": true; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "disableSwitch": { "alias": "disableSwitch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
321
522
  }
322
523
 
323
- declare const FORM_DIRECTIVES: readonly [typeof _igo2_common_form.FormFieldComponent, typeof _igo2_common_form.FormFieldSelectComponent, typeof _igo2_common_form.FormFieldTextComponent, typeof _igo2_common_form.FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent];
524
+ declare const FORM_DIRECTIVES: readonly [typeof _igo2_common_form.FormFieldComponent, typeof _igo2_common_form.FormFieldCheckboxComponent, typeof _igo2_common_form.FormFieldDatetimeComponent, typeof _igo2_common_form.FormFieldNumberComponent, typeof _igo2_common_form.FormFieldRadiobuttonComponent, typeof _igo2_common_form.FormFieldSelectComponent, typeof _igo2_common_form.FormFieldTextComponent, typeof _igo2_common_form.FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent];
324
525
  /**
325
526
  * @deprecated import the components directly or FORM_DIRECTIVES for every components/directives
326
527
  */
327
528
  declare class IgoFormModule {
328
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoFormModule, never>;
329
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFormModule, never, [typeof FormFieldComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent], [typeof FormFieldComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent]>;
330
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoFormModule>;
529
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormModule, never>;
530
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormModule, never, [typeof FormFieldComponent, typeof FormFieldCheckboxComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldRadiobuttonComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent], [typeof FormFieldComponent, typeof FormFieldCheckboxComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldRadiobuttonComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent]>;
531
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormModule>;
331
532
  }
332
533
 
534
+ interface FormStepperLabels {
535
+ nextButton: string;
536
+ previousButton: string;
537
+ processButton: string;
538
+ cancelButton: string;
539
+ /** Supports `{{current}}` and `{{total}}` placeholders. */
540
+ stepCounter: string;
541
+ }
542
+ interface FormStepperFormConfig {
543
+ formFieldConfigs?: FormFieldConfig[];
544
+ formGroupsConfigs?: FormGroupsConfig[];
545
+ }
546
+ interface FormStepperStepContext {
547
+ data: Readonly<Record<string, unknown>>;
548
+ stepIndex: number;
549
+ steps: readonly FormStepperStepConfig[];
550
+ }
551
+ type FormStepperStepFormConfigResolver = (context: FormStepperStepContext) => FormStepperFormConfig;
552
+ interface FormStepperStepConfig {
553
+ label: string;
554
+ title?: string;
555
+ notice?: string;
556
+ form: FormStepperFormConfig | FormStepperStepFormConfigResolver;
557
+ }
558
+ interface FormStepperConfig {
559
+ steps: FormStepperStepConfig[];
560
+ }
561
+
562
+ declare function buildFormFromConfig(formService: FormService, formConfig?: FormStepperFormConfig): Form;
563
+ declare function markFormAsTouched(form: Form): void;
333
564
  declare function formControlIsRequired(control: AbstractControl): boolean;
334
565
  declare function getDefaultErrorMessages(): Record<string, string>;
335
566
  declare function getControlErrorMessage(control: AbstractControl, messages: Record<string, string>): string;
@@ -344,8 +575,8 @@ declare class FormService {
344
575
  extendFieldConfig(config: FormFieldConfig, partial: Partial<FormFieldConfig>): FormFieldConfig;
345
576
  private getValidators;
346
577
  private getValidator;
347
- static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
348
- static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
578
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormService, never>;
579
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormService>;
349
580
  }
350
581
 
351
582
  /**
@@ -360,8 +591,8 @@ declare class FormFieldService {
360
591
  * @returns Field component
361
592
  */
362
593
  getFieldByType(type: string): any;
363
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldService, never>;
364
- static ɵprov: i0.ɵɵInjectableDeclaration<FormFieldService>;
594
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldService, never>;
595
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormFieldService>;
365
596
  }
366
597
 
367
598
  declare function IgoFormFieldComponent(type: string): (cls: any) => any;
@@ -370,21 +601,64 @@ declare function IgoFormFieldComponent(type: string): (cls: any) => any;
370
601
  * @deprecated import the components directly or FORM_FIELD_DIRECTIVES for every components/directives
371
602
  */
372
603
  declare class IgoFormFieldModule {
373
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoFormFieldModule, never>;
374
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFormFieldModule, never, [typeof FormFieldComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent], [typeof FormFieldComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent]>;
375
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoFormFieldModule>;
604
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormFieldModule, never>;
605
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormFieldModule, never, [typeof FormFieldComponent, typeof FormFieldCheckboxComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldRadiobuttonComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent], [typeof FormFieldComponent, typeof FormFieldCheckboxComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldRadiobuttonComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent]>;
606
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormFieldModule>;
376
607
  }
377
608
 
378
- declare const FORM_FIELD_DIRECTIVES: readonly [typeof FormFieldComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent];
609
+ declare const FORM_FIELD_DIRECTIVES: readonly [typeof FormFieldComponent, typeof FormFieldCheckboxComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldRadiobuttonComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent];
379
610
 
380
- interface FormDialogFormConfig {
381
- formFieldConfigs?: FormFieldConfig[];
382
- formGroupsConfigs?: FormGroupsConfig[];
611
+ declare class FormStepperComponent {
612
+ private readonly formService;
613
+ readonly steps: _angular_core.InputSignal<FormStepperStepConfig[]>;
614
+ readonly initialData: _angular_core.InputSignal<Record<string, unknown>>;
615
+ readonly notice: _angular_core.InputSignal<string | undefined>;
616
+ readonly labels: _angular_core.InputSignalWithTransform<FormStepperLabels, Partial<FormStepperLabels> | undefined>;
617
+ readonly showCancelButton: _angular_core.InputSignal<boolean>;
618
+ readonly completed: _angular_core.OutputEmitterRef<Record<string, unknown>>;
619
+ readonly cancelled: _angular_core.OutputEmitterRef<void>;
620
+ readonly dataChange: _angular_core.OutputEmitterRef<Record<string, unknown>>;
621
+ readonly stepIndex: _angular_core.WritableSignal<number>;
622
+ private readonly stepResults;
623
+ readonly activeStep: _angular_core.Signal<FormStepperStepConfig>;
624
+ readonly activeContextData: _angular_core.Signal<Record<string, unknown>>;
625
+ readonly activeFormData: _angular_core.Signal<Record<string, unknown>>;
626
+ readonly activeForm: _angular_core.Signal<Form>;
627
+ readonly activeNotice: _angular_core.Signal<string | undefined>;
628
+ readonly stepCount: _angular_core.Signal<number>;
629
+ readonly stepNumber: _angular_core.Signal<number>;
630
+ readonly resolvedLabels: _angular_core.Signal<FormStepperLabels>;
631
+ readonly stepCounterLabel: _angular_core.Signal<string>;
632
+ readonly progressWidth: _angular_core.Signal<string>;
633
+ readonly maxNavigableStepIndex: _angular_core.Signal<number>;
634
+ readonly isLastStep: _angular_core.Signal<boolean>;
635
+ onSubmitStep(stepData: Record<string, unknown>): void;
636
+ previous(): void;
637
+ cancel(): void;
638
+ reset(): void;
639
+ onSelectedIndexChange(index: number): void;
640
+ isCompletedStep(index: number): boolean;
641
+ isEditableStep(index: number): boolean;
642
+ private buildAggregateData;
643
+ private buildAggregateDataFrom;
644
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormStepperComponent, never>;
645
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormStepperComponent, "igo-form-stepper", never, { "steps": { "alias": "steps"; "required": true; "isSignal": true; }; "initialData": { "alias": "initialData"; "required": false; "isSignal": true; }; "notice": { "alias": "notice"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; "isSignal": true; }; }, { "completed": "completed"; "cancelled": "cancelled"; "dataChange": "dataChange"; }, never, never, true, never>;
383
646
  }
647
+
648
+ type FormDialogFormConfig = FormStepperFormConfig;
649
+ type FormDialogStepContext = FormStepperStepContext;
650
+ type FormDialogStepFormConfigResolver = FormStepperStepFormConfigResolver;
651
+ type FormDialogStepConfig = FormStepperStepConfig;
652
+ type FormDialogStepperConfig = FormStepperConfig;
384
653
  interface FormDialogData extends FormDialogOptions, FormDialogFormConfig {
385
654
  }
655
+ interface FormDialogStepperOptions extends FormDialogOptions {
656
+ labels?: Partial<FormStepperLabels>;
657
+ }
658
+ interface FormDialogStepperData extends FormDialogStepperOptions, FormDialogStepperConfig {
659
+ }
386
660
  interface FormDialogOptions extends MatDialogConfig {
387
- data$?: BehaviorSubject<Record<string, any>>;
661
+ data$?: BehaviorSubject<Record<string, unknown>>;
388
662
  title?: string;
389
663
  processButtonText?: string;
390
664
  cancelButtonText?: string;
@@ -396,13 +670,27 @@ declare class FormDialogComponent {
396
670
  dialogRef: MatDialogRef<FormDialogComponent, any>;
397
671
  private formService;
398
672
  data: FormDialogData;
399
- form$: BehaviorSubject<Form | undefined>;
400
- data$: BehaviorSubject<Record<string, any>>;
673
+ form$: BehaviorSubject<_igo2_common_form.Form | undefined>;
674
+ data$: BehaviorSubject<Record<string, unknown>>;
401
675
  constructor();
402
676
  onSubmit(data: Record<string, unknown>): void;
403
677
  cancel(): void;
404
- static ɵfac: i0.ɵɵFactoryDeclaration<FormDialogComponent, never>;
405
- static ɵcmp: i0.ɵɵComponentDeclaration<FormDialogComponent, "igo-form-dialog", never, {}, {}, never, never, true, never>;
678
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormDialogComponent, never>;
679
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormDialogComponent, "igo-form-dialog", never, {}, {}, never, never, true, never>;
680
+ }
681
+
682
+ declare const DEFAULT_FORM_STEPPER_DIALOG_TITLE = "Veuillez remplir le formulaire";
683
+ declare class FormStepperDialogComponent {
684
+ readonly formStepper: _angular_core.Signal<FormStepperComponent | undefined>;
685
+ readonly dialogRef: MatDialogRef<FormStepperDialogComponent, any>;
686
+ readonly data: FormDialogStepperData;
687
+ readonly initialData: Record<string, unknown>;
688
+ constructor();
689
+ onDataChange(data: Record<string, unknown>): void;
690
+ cancel(): void;
691
+ onCompleted(data: Record<string, unknown>): void;
692
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormStepperDialogComponent, never>;
693
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormStepperDialogComponent, "igo-form-stepper-dialog", never, {}, {}, never, never, true, never>;
406
694
  }
407
695
 
408
696
  /**
@@ -413,17 +701,18 @@ declare class IgoFormDialogModule {
413
701
  * @deprecated it has no effect
414
702
  */
415
703
  static forRoot(): ModuleWithProviders<IgoFormDialogModule>;
416
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoFormDialogModule, never>;
417
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoFormDialogModule, never, [typeof i1.MatDialogModule, typeof FormDialogComponent], [typeof FormDialogComponent]>;
418
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoFormDialogModule>;
704
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormDialogModule, never>;
705
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormDialogModule, never, [typeof i1.MatDialogModule, typeof FormDialogComponent, typeof FormStepperComponent, typeof FormStepperDialogComponent], [typeof FormDialogComponent, typeof FormStepperComponent, typeof FormStepperDialogComponent]>;
706
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormDialogModule>;
419
707
  }
420
708
 
421
709
  declare class FormDialogService {
422
710
  private dialog;
423
- open(formDialogConfig?: FormDialogFormConfig, options?: FormDialogOptions): Observable<Record<string, any>>;
424
- static ɵfac: i0.ɵɵFactoryDeclaration<FormDialogService, never>;
425
- static ɵprov: i0.ɵɵInjectableDeclaration<FormDialogService>;
711
+ open<T extends Record<string, unknown> = Record<string, unknown>>(formDialogConfig?: FormDialogFormConfig, options?: FormDialogOptions): Observable<T | undefined>;
712
+ openStepper<T extends Record<string, unknown> = Record<string, unknown>>(formDialogStepperConfig: FormStepperConfig, options?: FormDialogStepperOptions): Observable<T | undefined>;
713
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormDialogService, never>;
714
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormDialogService>;
426
715
  }
427
716
 
428
- export { FORM_DIRECTIVES, FORM_FIELD_DIRECTIVES, FormComponent, FormDialogComponent, FormDialogService, FormFieldComponent, FormFieldSelectComponent, FormFieldService, FormFieldTextComponent, FormFieldTextareaComponent, FormGroupComponent, FormService, IgoFormDialogModule, IgoFormFieldComponent, IgoFormFieldModule, IgoFormFormModule, IgoFormGroupModule, IgoFormModule, formControlIsRequired, getAllFormFields, getControlErrorMessage, getDefaultErrorMessages, getFormFieldByName };
429
- export type { Form, FormDialogData, FormDialogFormConfig, FormDialogOptions, FormField, FormFieldConfig, FormFieldGroup, FormFieldGroupConfig, FormFieldGroupOptions, FormFieldInputs, FormFieldOptions, FormFieldSelectChoice, FormFieldSelectInputs, FormFieldSubscribers, FormGroupsConfig };
717
+ export { DEFAULT_FORM_STEPPER_DIALOG_TITLE, FORM_DIRECTIVES, FORM_FIELD_DIRECTIVES, FormComponent, FormDialogComponent, FormDialogService, FormFieldCheckboxComponent, FormFieldComponent, FormFieldDatetimeComponent, FormFieldNumberComponent, FormFieldRadiobuttonComponent, FormFieldSelectComponent, FormFieldService, FormFieldTextComponent, FormFieldTextareaComponent, FormGroupComponent, FormService, FormStepperComponent, FormStepperDialogComponent, IgoFormDialogModule, IgoFormFieldComponent, IgoFormFieldModule, IgoFormFormModule, IgoFormGroupModule, IgoFormModule, buildFormFromConfig, formControlIsRequired, getAllFormFields, getControlErrorMessage, getDefaultErrorMessages, getFormFieldByName, markFormAsTouched };
718
+ export type { Form, FormDialogData, FormDialogFormConfig, FormDialogOptions, FormDialogStepConfig, FormDialogStepContext, FormDialogStepFormConfigResolver, FormDialogStepperConfig, FormDialogStepperData, FormDialogStepperOptions, FormField, FormFieldCheckboxInputs, FormFieldChoiceInputs, FormFieldConfig, FormFieldGroup, FormFieldGroupConfig, FormFieldGroupOptions, FormFieldInputs, FormFieldOptions, FormFieldRadiobuttonInputs, FormFieldSelectChoice, FormFieldSelectInputs, FormFieldSubscribers, FormGroupsConfig, FormStepperConfig, FormStepperFormConfig, FormStepperLabels, FormStepperStepConfig, FormStepperStepContext, FormStepperStepFormConfigResolver };