@igo2/common 21.0.0-next.2 → 21.0.0-next.21

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 (94) hide show
  1. package/fesm2022/igo2-common-action.mjs +46 -61
  2. package/fesm2022/igo2-common-action.mjs.map +1 -1
  3. package/fesm2022/igo2-common-backdrop.mjs +11 -19
  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-clone.mjs +7 -7
  9. package/fesm2022/igo2-common-collapsible.mjs +15 -23
  10. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  11. package/fesm2022/igo2-common-color.mjs +8 -8
  12. package/fesm2022/igo2-common-color.mjs.map +1 -1
  13. package/fesm2022/igo2-common-confirm-dialog.mjs +12 -11
  14. package/fesm2022/igo2-common-confirm-dialog.mjs.map +1 -1
  15. package/fesm2022/igo2-common-context-menu.mjs +15 -13
  16. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  17. package/fesm2022/igo2-common-custom-html.mjs +10 -10
  18. package/fesm2022/igo2-common-datepicker.mjs +23 -17
  19. package/fesm2022/igo2-common-datepicker.mjs.map +1 -1
  20. package/fesm2022/igo2-common-dom.mjs +10 -8
  21. package/fesm2022/igo2-common-dom.mjs.map +1 -1
  22. package/fesm2022/igo2-common-drag-drop.mjs +69 -37
  23. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  24. package/fesm2022/igo2-common-dynamic-component.mjs +23 -17
  25. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  26. package/fesm2022/igo2-common-entity.mjs +161 -128
  27. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  28. package/fesm2022/igo2-common-flexible.mjs +25 -77
  29. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  30. package/fesm2022/igo2-common-form.mjs +417 -116
  31. package/fesm2022/igo2-common-form.mjs.map +1 -1
  32. package/fesm2022/igo2-common-home-button.mjs +7 -7
  33. package/fesm2022/igo2-common-icon.mjs +7 -7
  34. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  35. package/fesm2022/igo2-common-image.mjs +10 -10
  36. package/fesm2022/igo2-common-image.mjs.map +1 -1
  37. package/fesm2022/igo2-common-interactive-tour.mjs +53 -30
  38. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  39. package/fesm2022/igo2-common-json-dialog.mjs +11 -11
  40. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  41. package/fesm2022/igo2-common-keyvalue.mjs +10 -8
  42. package/fesm2022/igo2-common-keyvalue.mjs.map +1 -1
  43. package/fesm2022/igo2-common-list.mjs +21 -16
  44. package/fesm2022/igo2-common-list.mjs.map +1 -1
  45. package/fesm2022/igo2-common-panel.mjs +8 -8
  46. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  47. package/fesm2022/igo2-common-resizable-bar.mjs +8 -10
  48. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
  49. package/fesm2022/igo2-common-select-value-dialog.mjs +23 -13
  50. package/fesm2022/igo2-common-select-value-dialog.mjs.map +1 -1
  51. package/fesm2022/igo2-common-sidenav.mjs +7 -7
  52. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  53. package/fesm2022/igo2-common-spinner.mjs +11 -11
  54. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  55. package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
  56. package/fesm2022/igo2-common-table.mjs +59 -66
  57. package/fesm2022/igo2-common-table.mjs.map +1 -1
  58. package/fesm2022/igo2-common-timepicker.mjs +11 -12
  59. package/fesm2022/igo2-common-timepicker.mjs.map +1 -1
  60. package/fesm2022/igo2-common-tool.mjs +32 -29
  61. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  62. package/fesm2022/igo2-common-widget.mjs +17 -17
  63. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  64. package/fesm2022/igo2-common-workspace.mjs +28 -32
  65. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  66. package/package.json +3 -3
  67. package/style/style.css +1 -1
  68. package/types/igo2-common-action.d.ts +2 -5
  69. package/types/igo2-common-backdrop.d.ts +2 -4
  70. package/types/igo2-common-badge.d.ts +4 -4
  71. package/types/igo2-common-collapsible.d.ts +2 -4
  72. package/types/igo2-common-confirm-dialog.d.ts +1 -1
  73. package/types/igo2-common-context-menu.d.ts +2 -2
  74. package/types/igo2-common-datepicker.d.ts +9 -9
  75. package/types/igo2-common-drag-drop.d.ts +14 -12
  76. package/types/igo2-common-dynamic-component.d.ts +3 -3
  77. package/types/igo2-common-entity.d.ts +63 -59
  78. package/types/igo2-common-flexible.d.ts +14 -28
  79. package/types/igo2-common-form.d.ts +213 -74
  80. package/types/igo2-common-icon.d.ts +1 -1
  81. package/types/igo2-common-interactive-tour.d.ts +6 -6
  82. package/types/igo2-common-json-dialog.d.ts +4 -4
  83. package/types/igo2-common-keyvalue.d.ts +4 -1
  84. package/types/igo2-common-list.d.ts +7 -7
  85. package/types/igo2-common-panel.d.ts +1 -1
  86. package/types/igo2-common-resizable-bar.d.ts +4 -5
  87. package/types/igo2-common-select-value-dialog.d.ts +2 -2
  88. package/types/igo2-common-sidenav.d.ts +2 -2
  89. package/types/igo2-common-spinner.d.ts +1 -1
  90. package/types/igo2-common-table.d.ts +16 -17
  91. package/types/igo2-common-timepicker.d.ts +3 -3
  92. package/types/igo2-common-tool.d.ts +7 -8
  93. package/types/igo2-common-widget.d.ts +7 -7
  94. package/types/igo2-common-workspace.d.ts +12 -12
@@ -1,7 +1,7 @@
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
6
  import * as i1 from '@angular/material/dialog';
7
7
  import { MatDialogConfig, MatDialogRef } from '@angular/material/dialog';
@@ -72,20 +72,20 @@ declare class FormComponent implements OnChanges {
72
72
  /**
73
73
  * Form
74
74
  */
75
- readonly form: i0.InputSignal<Form>;
75
+ readonly form: _angular_core.InputSignal<Form>;
76
76
  /**
77
77
  * Input data
78
78
  */
79
- readonly formData: i0.InputSignal<Record<string, any>>;
79
+ readonly formData: _angular_core.InputSignal<Record<string, unknown> | undefined>;
80
80
  /**
81
81
  * Form autocomplete
82
82
  */
83
- readonly autocomplete: i0.InputSignal<string>;
83
+ readonly autocomplete: _angular_core.InputSignal<string>;
84
84
  /**
85
85
  * Event emitted when the form is submitted
86
86
  */
87
- readonly submitForm: i0.OutputEmitterRef<Record<string, any>>;
88
- readonly buttons: i0.Signal<ElementRef<any>>;
87
+ readonly submitForm: _angular_core.OutputEmitterRef<Record<string, unknown>>;
88
+ readonly buttons: _angular_core.Signal<ElementRef<any> | undefined>;
89
89
  get hasButtons(): boolean;
90
90
  /**
91
91
  * Is the entity or the template change, recreate the form or repopulate it.
@@ -98,24 +98,24 @@ declare class FormComponent implements OnChanges {
98
98
  * @internal
99
99
  */
100
100
  onSubmit(): void;
101
- getData(): Record<string, any>;
101
+ getData(): Record<string, unknown>;
102
102
  private setData;
103
103
  private updateDataWithFormField;
104
104
  /**
105
105
  * Clear form
106
106
  */
107
107
  private clear;
108
- static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
109
- static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "igo-form", never, { "form": { "alias": "form"; "required": false; "isSignal": true; }; "formData": { "alias": "formData"; "required": false; "isSignal": true; }; "autocomplete": { "alias": "autocomplete"; "required": false; "isSignal": true; }; }, { "submitForm": "submitForm"; }, never, ["*", "[formButtons]"], true, never>;
108
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormComponent, never>;
109
+ 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
110
  }
111
111
 
112
112
  /**
113
113
  * @deprecated import the FormComponent directly
114
114
  */
115
115
  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>;
116
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormFormModule, never>;
117
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormFormModule, never, [typeof FormComponent], [typeof FormComponent]>;
118
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormFormModule>;
119
119
  }
120
120
 
121
121
  /**
@@ -127,11 +127,11 @@ declare class FormGroupComponent {
127
127
  /**
128
128
  * Form field group
129
129
  */
130
- readonly group: i0.InputSignal<FormFieldGroup>;
130
+ readonly group: _angular_core.InputSignal<FormFieldGroup>;
131
131
  /**
132
132
  * Field placeholder
133
133
  */
134
- readonly errors: i0.InputSignal<Record<string, string>>;
134
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
135
135
  /**
136
136
  * Form group control
137
137
  */
@@ -156,17 +156,17 @@ declare class FormGroupComponent {
156
156
  * Get error message
157
157
  */
158
158
  getErrorMessage(): string;
159
- static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
160
- static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "igo-form-group", never, { "group": { "alias": "group"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
159
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormGroupComponent, never>;
160
+ 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
161
  }
162
162
 
163
163
  /**
164
164
  * @deprecated import the FormGroupComponent directly
165
165
  */
166
166
  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>;
167
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormGroupModule, never>;
168
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormGroupModule, never, [typeof FormGroupComponent], [typeof FormGroupComponent]>;
169
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormGroupModule>;
170
170
  }
171
171
 
172
172
  /**
@@ -178,52 +178,183 @@ declare class FormFieldComponent {
178
178
  /**
179
179
  * Field configuration
180
180
  */
181
- readonly field: i0.InputSignal<FormField<FormFieldInputs>>;
181
+ readonly field: _angular_core.InputSignal<FormField<FormFieldInputs>>;
182
182
  /**
183
183
  * Field inputs cache
184
184
  */
185
- private fieldInputs;
185
+ private fieldInputs?;
186
186
  /**
187
187
  * Field subscribers cache
188
188
  */
189
- private fieldSubscribers;
189
+ private fieldSubscribers?;
190
190
  get fieldOptions(): FormFieldOptions;
191
191
  getFieldComponent(): any;
192
192
  getFieldInputs(): FormFieldInputs;
193
193
  getFieldSubscribers(): FormFieldSubscribers;
194
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
195
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "igo-form-field", never, { "field": { "alias": "field"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
194
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
195
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "igo-form-field", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
196
+ }
197
+
198
+ declare class FormFieldDatetimeComponent implements OnInit, OnDestroy {
199
+ readonly disabled: _angular_core.WritableSignal<boolean>;
200
+ readonly dateTimeGroup: FormGroup<{
201
+ date: FormControl<Date | null>;
202
+ time: FormControl<Date | null>;
203
+ }>;
204
+ get dateControl(): FormControl<Date | null>;
205
+ get timeControl(): FormControl<Date | null>;
206
+ private destroy$;
207
+ private syncingExternalToInternal;
208
+ private syncingInternalToExternal;
209
+ /**
210
+ * The field's form control
211
+ */
212
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
213
+ /**
214
+ * Field showLabel
215
+ */
216
+ readonly showLabel: _angular_core.InputSignal<boolean>;
217
+ /**
218
+ * Field placeholder used for date input
219
+ */
220
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
221
+ /**
222
+ * Placeholder used for time input
223
+ */
224
+ readonly timePlaceholder: _angular_core.InputSignal<string | undefined>;
225
+ /**
226
+ * Minimum selectable date
227
+ */
228
+ readonly minDate: _angular_core.InputSignal<Date | undefined>;
229
+ /**
230
+ * Maximum selectable date
231
+ */
232
+ readonly maxDate: _angular_core.InputSignal<Date | undefined>;
233
+ /**
234
+ * Minimum selectable time
235
+ */
236
+ readonly minTime: _angular_core.InputSignal<string | Date | null>;
237
+ /**
238
+ * Maximum selectable time
239
+ */
240
+ readonly maxTime: _angular_core.InputSignal<string | Date | null>;
241
+ /**
242
+ * Optional explicit options rendered in the timepicker panel.
243
+ */
244
+ readonly options: _angular_core.InputSignal<readonly {
245
+ value: Date;
246
+ label: string;
247
+ }[] | null>;
248
+ /**
249
+ * Time option interval for the panel.
250
+ */
251
+ readonly interval: _angular_core.InputSignal<string | number | null>;
252
+ /**
253
+ * Whether clicking the input should open the timepicker.
254
+ */
255
+ readonly openOnClick: _angular_core.InputSignal<boolean>;
256
+ /**
257
+ * Whether a disable switch should be available
258
+ */
259
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
260
+ /**
261
+ * Error messages mapping
262
+ */
263
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
264
+ /**
265
+ * Whether the field is required
266
+ */
267
+ get required(): boolean;
268
+ ngOnInit(): void;
269
+ ngOnDestroy(): void;
270
+ getErrorMessage(): string;
271
+ clearDate(): void;
272
+ clearTime(): void;
273
+ onDisableSwitchClick(): void;
274
+ private syncInternalFromExternal;
275
+ private pushInternalToExternal;
276
+ private updateTimeControlState;
277
+ private toDateValue;
278
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldDatetimeComponent, never>;
279
+ 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>;
280
+ }
281
+
282
+ /**
283
+ * This component renders a number field
284
+ */
285
+ declare class FormFieldNumberComponent implements OnInit {
286
+ private cdRef;
287
+ readonly disabled: _angular_core.WritableSignal<boolean>;
288
+ hide: boolean;
289
+ private lastTimeoutRequest?;
290
+ /**
291
+ * The field's form control
292
+ */
293
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
294
+ /**
295
+ * Field showLabel
296
+ */
297
+ readonly showLabel: _angular_core.InputSignal<boolean>;
298
+ /**
299
+ * Field placeholder
300
+ */
301
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
302
+ /**
303
+ * Field placeholder
304
+ */
305
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
306
+ /**
307
+ * Wheter a disable switch should be available
308
+ */
309
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
310
+ /**
311
+ * Whether the field is required
312
+ */
313
+ get required(): boolean;
314
+ ngOnInit(): void;
315
+ /**
316
+ * Get error message
317
+ */
318
+ getErrorMessage(): string;
319
+ onDisableSwitchClick(): void;
320
+ private toggleDisabled;
321
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldNumberComponent, never>;
322
+ 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>;
196
323
  }
197
324
 
198
325
  /**
199
326
  * This component renders a select field
200
327
  */
201
328
  declare class FormFieldSelectComponent implements OnInit {
202
- readonly disabled: i0.WritableSignal<boolean>;
329
+ readonly disabled: _angular_core.WritableSignal<boolean>;
203
330
  /**
204
331
  * Select input choices
205
332
  */
206
- readonly choices: i0.InputSignal<FormFieldSelectChoice[]>;
333
+ readonly choices: _angular_core.InputSignal<FormFieldSelectChoice[]>;
207
334
  /**
208
335
  * If the select allow multiple selections
209
336
  */
210
- readonly multiple: i0.InputSignal<boolean>;
337
+ readonly multiple: _angular_core.InputSignal<boolean>;
211
338
  /**
212
339
  * The field's form control
213
340
  */
214
- readonly formControl: i0.InputSignal<UntypedFormControl>;
341
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
342
+ /**
343
+ * Field showLabel
344
+ */
345
+ readonly showLabel: _angular_core.InputSignal<boolean>;
215
346
  /**
216
347
  * Field placeholder
217
348
  */
218
- readonly placeholder: i0.InputSignal<string>;
349
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
219
350
  /**
220
351
  * Field placeholder
221
352
  */
222
- readonly errors: i0.InputSignal<Record<string, string>>;
353
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
223
354
  /**
224
355
  * Wheter a disable switch should be available
225
356
  */
226
- readonly disableSwitch: i0.InputSignal<boolean>;
357
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
227
358
  /**
228
359
  * Whether the field is required
229
360
  */
@@ -235,8 +366,8 @@ declare class FormFieldSelectComponent implements OnInit {
235
366
  getErrorMessage(): string;
236
367
  onDisableSwitchClick(): void;
237
368
  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": 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>;
369
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldSelectComponent, never>;
370
+ 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
371
  }
241
372
 
242
373
  /**
@@ -244,29 +375,33 @@ declare class FormFieldSelectComponent implements OnInit {
244
375
  */
245
376
  declare class FormFieldTextComponent implements OnInit {
246
377
  private cdRef;
247
- disabled$: BehaviorSubject<boolean>;
378
+ readonly disabled: _angular_core.WritableSignal<boolean>;
248
379
  hide: boolean;
249
- private lastTimeoutRequest;
380
+ private lastTimeoutRequest?;
250
381
  /**
251
382
  * The field's form control
252
383
  */
253
- readonly formControl: i0.InputSignal<UntypedFormControl>;
384
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
385
+ /**
386
+ * Field showLabel
387
+ */
388
+ readonly showLabel: _angular_core.InputSignal<boolean>;
254
389
  /**
255
390
  * Field placeholder
256
391
  */
257
- readonly placeholder: i0.InputSignal<string>;
392
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
258
393
  /**
259
394
  * if the input is a password
260
395
  */
261
- readonly isPassword: i0.InputSignal<boolean>;
396
+ readonly isPassword: _angular_core.InputSignal<boolean | undefined>;
262
397
  /**
263
398
  * Field placeholder
264
399
  */
265
- readonly errors: i0.InputSignal<Record<string, string>>;
400
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
266
401
  /**
267
402
  * Wheter a disable switch should be available
268
403
  */
269
- readonly disableSwitch: i0.InputSignal<boolean>;
404
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
270
405
  /**
271
406
  * Whether the field is required
272
407
  */
@@ -280,31 +415,35 @@ declare class FormFieldTextComponent implements OnInit {
280
415
  private toggleDisabled;
281
416
  togglePassword(): void;
282
417
  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": 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>;
418
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldTextComponent, never>;
419
+ 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
420
  }
286
421
 
287
422
  /**
288
423
  * This component renders a textarea field
289
424
  */
290
425
  declare class FormFieldTextareaComponent implements OnInit {
291
- disabled$: BehaviorSubject<boolean>;
426
+ readonly disabled: _angular_core.WritableSignal<boolean>;
292
427
  /**
293
428
  * The field's form control
294
429
  */
295
- readonly formControl: i0.InputSignal<UntypedFormControl>;
430
+ readonly formControl: _angular_core.InputSignal<UntypedFormControl>;
431
+ /**
432
+ * Field showLabel
433
+ */
434
+ readonly showLabel: _angular_core.InputSignal<boolean>;
296
435
  /**
297
436
  * Field placeholder
298
437
  */
299
- readonly placeholder: i0.InputSignal<string>;
438
+ readonly placeholder: _angular_core.InputSignal<string | undefined>;
300
439
  /**
301
440
  * Field placeholder
302
441
  */
303
- readonly errors: i0.InputSignal<Record<string, string>>;
442
+ readonly errors: _angular_core.InputSignal<Record<string, string> | undefined>;
304
443
  /**
305
444
  * Wheter a disable switch should be available
306
445
  */
307
- readonly disableSwitch: i0.InputSignal<boolean>;
446
+ readonly disableSwitch: _angular_core.InputSignal<boolean>;
308
447
  /**
309
448
  * Whether the field is required
310
449
  */
@@ -316,25 +455,25 @@ declare class FormFieldTextareaComponent implements OnInit {
316
455
  getErrorMessage(): string;
317
456
  onDisableSwitchClick(): void;
318
457
  private toggleDisabled;
319
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldTextareaComponent, never>;
320
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldTextareaComponent, "igo-form-field-textarea", never, { "formControl": { "alias": "formControl"; "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>;
458
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldTextareaComponent, never>;
459
+ 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
460
  }
322
461
 
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];
462
+ declare const FORM_DIRECTIVES: readonly [typeof _igo2_common_form.FormFieldComponent, typeof _igo2_common_form.FormFieldDatetimeComponent, typeof _igo2_common_form.FormFieldNumberComponent, typeof _igo2_common_form.FormFieldSelectComponent, typeof _igo2_common_form.FormFieldTextComponent, typeof _igo2_common_form.FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent];
324
463
  /**
325
464
  * @deprecated import the components directly or FORM_DIRECTIVES for every components/directives
326
465
  */
327
466
  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>;
467
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormModule, never>;
468
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormModule, never, [typeof FormFieldComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent], [typeof FormFieldComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent, typeof FormGroupComponent, typeof FormComponent]>;
469
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormModule>;
331
470
  }
332
471
 
333
472
  declare function formControlIsRequired(control: AbstractControl): boolean;
334
473
  declare function getDefaultErrorMessages(): Record<string, string>;
335
474
  declare function getControlErrorMessage(control: AbstractControl, messages: Record<string, string>): string;
336
475
  declare function getAllFormFields(form: Form): FormField[];
337
- declare function getFormFieldByName(form: Form, name: string): FormField;
476
+ declare function getFormFieldByName(form: Form, name: string): FormField | undefined;
338
477
 
339
478
  declare class FormService {
340
479
  private formBuilder;
@@ -344,8 +483,8 @@ declare class FormService {
344
483
  extendFieldConfig(config: FormFieldConfig, partial: Partial<FormFieldConfig>): FormFieldConfig;
345
484
  private getValidators;
346
485
  private getValidator;
347
- static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
348
- static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
486
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormService, never>;
487
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormService>;
349
488
  }
350
489
 
351
490
  /**
@@ -360,8 +499,8 @@ declare class FormFieldService {
360
499
  * @returns Field component
361
500
  */
362
501
  getFieldByType(type: string): any;
363
- static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldService, never>;
364
- static ɵprov: i0.ɵɵInjectableDeclaration<FormFieldService>;
502
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldService, never>;
503
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormFieldService>;
365
504
  }
366
505
 
367
506
  declare function IgoFormFieldComponent(type: string): (cls: any) => any;
@@ -370,12 +509,12 @@ declare function IgoFormFieldComponent(type: string): (cls: any) => any;
370
509
  * @deprecated import the components directly or FORM_FIELD_DIRECTIVES for every components/directives
371
510
  */
372
511
  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>;
512
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormFieldModule, never>;
513
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormFieldModule, never, [typeof FormFieldComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent], [typeof FormFieldComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent]>;
514
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormFieldModule>;
376
515
  }
377
516
 
378
- declare const FORM_FIELD_DIRECTIVES: readonly [typeof FormFieldComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent];
517
+ declare const FORM_FIELD_DIRECTIVES: readonly [typeof FormFieldComponent, typeof FormFieldDatetimeComponent, typeof FormFieldNumberComponent, typeof FormFieldSelectComponent, typeof FormFieldTextComponent, typeof FormFieldTextareaComponent];
379
518
 
380
519
  interface FormDialogFormConfig {
381
520
  formFieldConfigs?: FormFieldConfig[];
@@ -396,13 +535,13 @@ declare class FormDialogComponent {
396
535
  dialogRef: MatDialogRef<FormDialogComponent, any>;
397
536
  private formService;
398
537
  data: FormDialogData;
399
- form$: BehaviorSubject<Form>;
538
+ form$: BehaviorSubject<Form | undefined>;
400
539
  data$: BehaviorSubject<Record<string, any>>;
401
540
  constructor();
402
- onSubmit(data: Record<string, any>): void;
541
+ onSubmit(data: Record<string, unknown>): void;
403
542
  cancel(): void;
404
- static ɵfac: i0.ɵɵFactoryDeclaration<FormDialogComponent, never>;
405
- static ɵcmp: i0.ɵɵComponentDeclaration<FormDialogComponent, "igo-form-dialog", never, {}, {}, never, never, true, never>;
543
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormDialogComponent, never>;
544
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormDialogComponent, "igo-form-dialog", never, {}, {}, never, never, true, never>;
406
545
  }
407
546
 
408
547
  /**
@@ -413,17 +552,17 @@ declare class IgoFormDialogModule {
413
552
  * @deprecated it has no effect
414
553
  */
415
554
  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>;
555
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoFormDialogModule, never>;
556
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoFormDialogModule, never, [typeof i1.MatDialogModule, typeof FormDialogComponent], [typeof FormDialogComponent]>;
557
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoFormDialogModule>;
419
558
  }
420
559
 
421
560
  declare class FormDialogService {
422
561
  private dialog;
423
562
  open(formDialogConfig?: FormDialogFormConfig, options?: FormDialogOptions): Observable<Record<string, any>>;
424
- static ɵfac: i0.ɵɵFactoryDeclaration<FormDialogService, never>;
425
- static ɵprov: i0.ɵɵInjectableDeclaration<FormDialogService>;
563
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormDialogService, never>;
564
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<FormDialogService>;
426
565
  }
427
566
 
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 };
567
+ export { FORM_DIRECTIVES, FORM_FIELD_DIRECTIVES, FormComponent, FormDialogComponent, FormDialogService, FormFieldComponent, FormFieldDatetimeComponent, FormFieldNumberComponent, FormFieldSelectComponent, FormFieldService, FormFieldTextComponent, FormFieldTextareaComponent, FormGroupComponent, FormService, IgoFormDialogModule, IgoFormFieldComponent, IgoFormFieldModule, IgoFormFormModule, IgoFormGroupModule, IgoFormModule, formControlIsRequired, getAllFormFields, getControlErrorMessage, getDefaultErrorMessages, getFormFieldByName };
429
568
  export type { Form, FormDialogData, FormDialogFormConfig, FormDialogOptions, FormField, FormFieldConfig, FormFieldGroup, FormFieldGroupConfig, FormFieldGroupOptions, FormFieldInputs, FormFieldOptions, FormFieldSelectChoice, FormFieldSelectInputs, FormFieldSubscribers, FormGroupsConfig };
@@ -30,7 +30,7 @@ declare function provideIcon(style?: MaterialSymbolStyle): EnvironmentProviders;
30
30
 
31
31
  declare class IgoIconComponent {
32
32
  private iconService;
33
- readonly color: i0.InputSignal<string>;
33
+ readonly color: i0.InputSignal<string | null | undefined>;
34
34
  readonly icon: i0.InputSignal<string | IconSvg>;
35
35
  constructor();
36
36
  registerSvg(icon: IconSvg): void;
@@ -13,7 +13,7 @@ declare class InteractiveTourComponent {
13
13
  * Toolbox that holds main tools
14
14
  */
15
15
  readonly tourToStart: i0.InputSignal<string>;
16
- readonly styleButton: i0.InputSignal<"icon" | "raised">;
16
+ readonly styleButton: i0.InputSignal<"icon" | "raised" | undefined>;
17
17
  readonly discoverTitleInLocale$: i0.InputSignal<Observable<string>>;
18
18
  constructor();
19
19
  getClass(): {
@@ -21,8 +21,8 @@ declare class InteractiveTourComponent {
21
21
  'tour-button-tool': boolean;
22
22
  };
23
23
  get toolbox(): _igo2_common_tool.Toolbox;
24
- getTourToStart(): string;
25
- get activeToolName(): string;
24
+ getTourToStart(): string | undefined;
25
+ get activeToolName(): string | undefined;
26
26
  get isActiveTool(): boolean;
27
27
  get isToolHaveTour(): boolean;
28
28
  get showTourButton(): boolean;
@@ -45,7 +45,7 @@ declare class InteractiveTourService {
45
45
  private languageService;
46
46
  private interactiveTourLoader;
47
47
  private shepherdService;
48
- private previousStep;
48
+ private previousStep?;
49
49
  constructor();
50
50
  isAppHaveTour(): any;
51
51
  isToolHaveTourConfig(toolName: string): boolean;
@@ -102,12 +102,12 @@ declare class InteractiveTourLoader {
102
102
  private http;
103
103
  private configService;
104
104
  private jsonURL;
105
- private allToursOptions;
105
+ private allToursOptions?;
106
106
  constructor();
107
107
  loadConfigTour(): void;
108
108
  getPathToConfigFile(): string;
109
109
  getJSON(): Observable<any>;
110
- getTourOptionData(toolName: any): InteractiveTourOptions;
110
+ getTourOptionData(toolName: string): InteractiveTourOptions | undefined;
111
111
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveTourLoader, never>;
112
112
  static ɵprov: i0.ɵɵInjectableDeclaration<InteractiveTourLoader>;
113
113
  }
@@ -5,11 +5,11 @@ import { Observable } from 'rxjs';
5
5
 
6
6
  declare class JsonDialogComponent {
7
7
  dialogRef: MatDialogRef<JsonDialogComponent, any>;
8
- title: string;
8
+ title?: string;
9
9
  data: any;
10
- ignoreKeys: string[];
10
+ ignoreKeys?: string[];
11
11
  isObject(val: any): boolean;
12
- getKey(baseKey: any, key: any): string;
12
+ getKey(baseKey: string, key: string): string;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonDialogComponent, never>;
14
14
  static ɵcmp: i0.ɵɵComponentDeclaration<JsonDialogComponent, "igo-json-dialog", never, {}, {}, never, never, true, never>;
15
15
  }
@@ -26,7 +26,7 @@ declare class IgoJsonDialogModule {
26
26
 
27
27
  declare class JsonDialogService {
28
28
  private dialog;
29
- open(title: any, data: any, ignoreKeys?: string[]): Observable<any>;
29
+ open(title: string, data: any, ignoreKeys?: string[]): Observable<any>;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<JsonDialogService, never>;
31
31
  static ɵprov: i0.ɵɵInjectableDeclaration<JsonDialogService>;
32
32
  }
@@ -2,7 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { PipeTransform, ModuleWithProviders } from '@angular/core';
3
3
 
4
4
  declare class KeyValuePipe implements PipeTransform {
5
- transform(value: any): any;
5
+ transform(value: any): {
6
+ key: string;
7
+ value: any;
8
+ }[];
6
9
  static ɵfac: i0.ɵɵFactoryDeclaration<KeyValuePipe, never>;
7
10
  static ɵpipe: i0.ɵɵPipeDeclaration<KeyValuePipe, "keyvalue", true>;
8
11
  }
@@ -50,12 +50,12 @@ declare class ListComponent implements AfterViewInit, OnInit, OnDestroy {
50
50
  get selection(): boolean;
51
51
  set selection(value: boolean);
52
52
  private _selection;
53
- get selectedItem(): ListItemDirective;
54
- set selectedItem(value: ListItemDirective);
55
- private _selectedItem;
56
- get focusedItem(): ListItemDirective;
57
- set focusedItem(value: ListItemDirective);
58
- private _focusedItem;
53
+ get selectedItem(): ListItemDirective | undefined;
54
+ set selectedItem(value: ListItemDirective | undefined);
55
+ private _selectedItem?;
56
+ get focusedItem(): ListItemDirective | undefined;
57
+ set focusedItem(value: ListItemDirective | undefined);
58
+ private _focusedItem?;
59
59
  private navigationEnabled;
60
60
  private subscriptions;
61
61
  private listItemsEffect;
@@ -73,7 +73,7 @@ declare class ListComponent implements AfterViewInit, OnInit, OnDestroy {
73
73
  enableNavigation(): void;
74
74
  disableNavigation(): void;
75
75
  scrollToItem(item: ListItemDirective): void;
76
- isScrolledIntoView(elem: any): boolean;
76
+ isScrolledIntoView(elem: HTMLElement): boolean;
77
77
  private init;
78
78
  private subscribe;
79
79
  private unsubscribe;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
 
3
3
  declare class PanelComponent {
4
- readonly title: i0.InputSignal<string>;
4
+ readonly title: i0.InputSignal<string | undefined>;
5
5
  readonly withHeader: i0.InputSignal<boolean>;
6
6
  readonly cursorPointer: i0.InputSignal<boolean>;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;