@arsedizioni/ars-utils 22.6.86 → 22.6.88

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 (79) hide show
  1. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs +3158 -3344
  2. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +7616 -4772
  4. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  5. package/fesm2022/arsedizioni-ars-utils-core.date.mjs +321 -702
  6. package/fesm2022/arsedizioni-ars-utils-core.date.mjs.map +1 -1
  7. package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs +445 -590
  8. package/fesm2022/arsedizioni-ars-utils-core.markdown.mjs.map +1 -1
  9. package/fesm2022/arsedizioni-ars-utils-core.mjs +1735 -2370
  10. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-core.validators.mjs +1280 -1470
  12. package/fesm2022/arsedizioni-ars-utils-core.validators.mjs.map +1 -1
  13. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +1097 -1528
  14. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
  15. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +198 -294
  16. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  17. package/fesm2022/arsedizioni-ars-utils-ui.controls.date.mjs +115 -117
  18. package/fesm2022/arsedizioni-ars-utils-ui.controls.date.mjs.map +1 -1
  19. package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs +1607 -613
  20. package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs.map +1 -1
  21. package/fesm2022/arsedizioni-ars-utils-ui.controls.tree.mjs +840 -367
  22. package/fesm2022/arsedizioni-ars-utils-ui.controls.tree.mjs.map +1 -1
  23. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs +1634 -651
  24. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs.map +1 -1
  25. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs +1255 -792
  26. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs.map +1 -1
  27. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs +1410 -357
  28. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs.map +1 -1
  29. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs +2401 -944
  30. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs.map +1 -1
  31. package/fesm2022/arsedizioni-ars-utils-ui.files.mjs +1553 -741
  32. package/fesm2022/arsedizioni-ars-utils-ui.files.mjs.map +1 -1
  33. package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs +901 -430
  34. package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs.map +1 -1
  35. package/fesm2022/arsedizioni-ars-utils-ui.help.mjs +737 -530
  36. package/fesm2022/arsedizioni-ars-utils-ui.help.mjs.map +1 -1
  37. package/fesm2022/arsedizioni-ars-utils-ui.mjs +6638 -1755
  38. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  39. package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs +1479 -1207
  40. package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs.map +1 -1
  41. package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs +1003 -270
  42. package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs.map +1 -1
  43. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +497 -278
  44. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
  45. package/fesm2022/arsedizioni-ars-utils-ui.paginator.mjs +48 -52
  46. package/fesm2022/arsedizioni-ars-utils-ui.paginator.mjs.map +1 -1
  47. package/fesm2022/arsedizioni-ars-utils-ui.shell.mjs +464 -704
  48. package/fesm2022/arsedizioni-ars-utils-ui.shell.mjs.map +1 -1
  49. package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs +724 -657
  50. package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs.map +1 -1
  51. package/fesm2022/arsedizioni-ars-utils.mjs +3 -19
  52. package/fesm2022/arsedizioni-ars-utils.mjs.map +1 -1
  53. package/package.json +1 -1
  54. package/types/arsedizioni-ars-utils-clipper.common.d.ts +1151 -1163
  55. package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1588 -1426
  56. package/types/arsedizioni-ars-utils-core.d.ts +1169 -1172
  57. package/types/arsedizioni-ars-utils-core.date.d.ts +204 -208
  58. package/types/arsedizioni-ars-utils-core.markdown.d.ts +128 -126
  59. package/types/arsedizioni-ars-utils-core.validators.d.ts +270 -236
  60. package/types/arsedizioni-ars-utils-evolution.common.d.ts +1054 -1067
  61. package/types/arsedizioni-ars-utils-support.common.d.ts +225 -234
  62. package/types/arsedizioni-ars-utils-ui.controls.d.ts +440 -278
  63. package/types/arsedizioni-ars-utils-ui.controls.date.d.ts +24 -28
  64. package/types/arsedizioni-ars-utils-ui.controls.tree.d.ts +172 -136
  65. package/types/arsedizioni-ars-utils-ui.d.ts +2035 -821
  66. package/types/arsedizioni-ars-utils-ui.dialogs.auth.d.ts +327 -322
  67. package/types/arsedizioni-ars-utils-ui.dialogs.d.ts +343 -347
  68. package/types/arsedizioni-ars-utils-ui.dialogs.prompt.d.ts +167 -167
  69. package/types/arsedizioni-ars-utils-ui.dialogs.select.d.ts +373 -367
  70. package/types/arsedizioni-ars-utils-ui.files.d.ts +335 -283
  71. package/types/arsedizioni-ars-utils-ui.filters.d.ts +232 -160
  72. package/types/arsedizioni-ars-utils-ui.help.d.ts +204 -211
  73. package/types/arsedizioni-ars-utils-ui.navigation.d.ts +811 -646
  74. package/types/arsedizioni-ars-utils-ui.notifications.d.ts +74 -78
  75. package/types/arsedizioni-ars-utils-ui.oauth.d.ts +102 -62
  76. package/types/arsedizioni-ars-utils-ui.paginator.d.ts +19 -22
  77. package/types/arsedizioni-ars-utils-ui.shell.d.ts +376 -382
  78. package/types/arsedizioni-ars-utils-ui.tinymce.d.ts +244 -231
  79. package/types/arsedizioni-ars-utils.d.ts +1 -3
@@ -1,8 +1,6 @@
1
- import * as _angular_forms_signals from '@angular/forms/signals';
2
- import * as _angular_core from '@angular/core';
3
- import { PromptDialogResult, PromptDialogData, PromptDateDialogResult, PromptTimeDialogData } from '@arsedizioni/ars-utils/ui';
4
- import { SignalsUtils } from '@arsedizioni/ars-utils/core.validators';
5
-
1
+ import { PromptDateDialogResult, PromptDialogData, PromptDialogResult, PromptTimeDialogData } from "@arsedizioni/ars-utils/ui";
2
+ import { SignalsUtils } from "@arsedizioni/ars-utils/core.validators";
3
+ import * as i0 from "@angular/core";
6
4
  /**
7
5
  * Form model of the generic prompt.
8
6
  *
@@ -11,50 +9,51 @@ import { SignalsUtils } from '@arsedizioni/ars-utils/core.validators';
11
9
  * always owns the field. `value` stays `any` because its shape follows the prompt type.
12
10
  */
13
11
  interface PromptForm {
14
- /** The prompted value: `''` for textual types, `null` for the number and list types. */
15
- value: any;
12
+ /** The prompted value: `''` for textual types, `null` for the number and list types. */
13
+ value: any;
16
14
  }
17
- declare class PromptDialogComponent {
18
- /** Error text of a field: the message declared in the schema, or the shared fallback. */
19
- protected readonly getErrorMessage: typeof SignalsUtils.getFieldErrorMessage;
20
- readonly done: _angular_core.OutputEmitterRef<PromptDialogResult>;
21
- private readonly dialogService;
22
- protected readonly dialogData: _angular_core.WritableSignal<PromptDialogData>;
23
- /** Model backing the signal form. `value` type depends on the prompt type. */
24
- private readonly model;
25
- /**
26
- * Builds the form model from the value carried by the dialog data.
27
- *
28
- * Ad-hoc because the empty value follows the prompt type: native inputs bound via
29
- * `[formField]` report an empty number or an unselected option as `null`, while a
30
- * text, date or textarea input reports `''`. The list type never takes an initial
31
- * value: its options are matched by the template.
32
- * @returns A fresh form model.
33
- */
34
- private toForm;
35
- /**
36
- * Builds the dialog result from the current form model.
37
- *
38
- * Ad-hoc because the result also carries the prompt type and the caller's `options`,
39
- * which are not part of the form model; the value itself goes through
40
- * {@link DtoUtils.toPayload}, so an input left empty travels as absent instead of as
41
- * an empty string or a `null`.
42
- * @returns The result to emit through `done`.
43
- */
44
- private toPayload;
45
- /**
46
- * Signal form for the prompt value. Validators mirror the previous template-driven
47
- * form: `required` follows the dialog data, `min`/`max` apply to the Number type.
48
- */
49
- protected readonly form: _angular_forms_signals.FieldTree<PromptForm, string | number, "writable">;
50
- /**
51
- * Validates the form and emits the result, or shows an error if validation fails.
52
- */
53
- protected ok(): void;
54
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptDialogComponent, never>;
55
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
15
+ export declare class PromptDialogComponent {
16
+ /** Error text of a field: the message declared in the schema, or the shared fallback. */
17
+ protected readonly getErrorMessage: typeof SignalsUtils.getFieldErrorMessage;
18
+ readonly done: import("@angular/core").OutputEmitterRef<PromptDialogResult>;
19
+ private readonly dialogService;
20
+ protected readonly dialogData: import("@angular/core").WritableSignal<PromptDialogData>;
21
+ /** Model backing the signal form. `value` type depends on the prompt type. */
22
+ private readonly model;
23
+ /**
24
+ * Builds the form model from the value carried by the dialog data.
25
+ *
26
+ * Ad-hoc because the empty value follows the prompt type: native inputs bound via
27
+ * `[formField]` report an empty number or an unselected option as `null`, while a
28
+ * text, date or textarea input reports `''`. The list type never takes an initial
29
+ * value: its options are matched by the template.
30
+ * @returns A fresh form model.
31
+ */
32
+ private toForm;
33
+ /**
34
+ * Builds the dialog result from the current form model.
35
+ *
36
+ * Ad-hoc because the result also carries the prompt type and the caller's `options`,
37
+ * which are not part of the form model; the value itself goes through
38
+ * {@link DtoUtils.toPayload}, so an input left empty travels as absent instead of as
39
+ * an empty string or a `null`.
40
+ * @returns The result to emit through `done`.
41
+ */
42
+ private toPayload;
43
+ /**
44
+ * Signal form for the prompt value. Validators mirror the previous template-driven
45
+ * form: `required` follows the dialog data, `min`/`max` apply to the Number type.
46
+ */
47
+ protected readonly form: import("@angular/forms/signals").FieldTree<PromptForm, string | number, "writable">;
48
+ /**
49
+ * Validates the form and emits the result, or shows an error if validation fails.
50
+ */
51
+ protected ok(): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<PromptDialogComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<PromptDialogComponent, "ng-component", never, {}, {
54
+ "done": "done";
55
+ }, never, never, true, never>;
56
56
  }
57
-
58
57
  /**
59
58
  * Form model of the date prompt.
60
59
  *
@@ -65,90 +64,91 @@ declare class PromptDialogComponent {
65
64
  * when a datepicker input is cleared.
66
65
  */
67
66
  interface PromptDateForm {
68
- /** Value of the single-date type; `null` when the input is empty. */
69
- date: Date | null;
70
- /** Start of the range of the date-interval type; `null` when the input is empty. */
71
- from: Date | null;
72
- /** End of the range of the date-interval type; `null` when the input is empty. */
73
- to: Date | null;
67
+ /** Value of the single-date type; `null` when the input is empty. */
68
+ date: Date | null;
69
+ /** Start of the range of the date-interval type; `null` when the input is empty. */
70
+ from: Date | null;
71
+ /** End of the range of the date-interval type; `null` when the input is empty. */
72
+ to: Date | null;
74
73
  }
75
- declare class PromptDateDialogComponent {
76
- /** Error text of a field: the message declared in the schema, or the shared fallback. */
77
- protected readonly getErrorMessage: typeof SignalsUtils.getFieldErrorMessage;
78
- /**
79
- * Error text for a date range: whichever end is in error speaks for the pair.
80
- * @param from - Errors of the start field, from `f.from().errors()`.
81
- * @param to - Errors of the end field, from `f.to().errors()`.
82
- * @returns The text to show under the range, or `undefined` when neither end is in error.
83
- */
84
- protected rangeErrorMessage(from: readonly {
85
- kind: string;
86
- message?: string;
87
- }[], to: readonly {
88
- kind: string;
89
- message?: string;
90
- }[]): string | undefined;
91
- readonly done: _angular_core.OutputEmitterRef<PromptDateDialogResult>;
92
- private readonly dialogService;
93
- protected readonly dialogData: _angular_core.WritableSignal<PromptDialogData>;
94
- /**
95
- * Model backing the signal form: `date` serves the single-date type, while
96
- * `from`/`to` serve the date-interval type. Empty values are `null` (not
97
- * `undefined`) because signal forms only build child fields for keys whose
98
- * value is defined, and Material's datepicker accessors report an empty
99
- * input as `null` anyway; values are normalized to `undefined` on emit.
100
- */
101
- private readonly model;
102
- /**
103
- * Builds the form model from the value carried by the dialog data: a `Date` for the
104
- * single-date type, a {@link DateInterval} for the date-interval one.
105
- * @returns A fresh form model, empty when the dialog was opened without a value.
106
- */
107
- private toForm;
108
- /**
109
- * Builds the dialog result from the current form model.
110
- *
111
- * Ad-hoc because the two prompt types produce different values out of the same model
112
- * — a `Date` or a {@link DateInterval} — and because the result also carries the type
113
- * and the caller's `options`, which are not part of the form model. The dates
114
- * themselves go through {@link DtoUtils.toPayload}, so a bound left empty travels as
115
- * absent instead of as `null`.
116
- * @returns The result to emit through `done`.
117
- */
118
- private toPayload;
119
- /**
120
- * Signal form for the date value(s). `required` follows the dialog data and only
121
- * applies to the fields of the active prompt type; the datepicker's own parse
122
- * validators are picked up through the ControlValueAccessor interop.
123
- */
124
- protected readonly form: _angular_forms_signals.FieldTree<PromptDateForm, string | number, "writable">;
125
- /** Debounced stream of keyup events on the interval inputs (shorthand typing support). */
126
- private readonly intervalKeyup;
127
- constructor();
128
- /**
129
- * Blocks the space key on the interval inputs; it is reserved as the
130
- * "copy the other bound" shortcut handled by onIntervalKeyup.
131
- * @param event - The keydown event from the start or end date input.
132
- */
133
- protected onIntervalKeydown(event: KeyboardEvent): void;
134
- /**
135
- * Forwards keyup events of the interval inputs to the debounced shorthand parser.
136
- * @param event - The keyup event from the start or end date input.
137
- * @param end - `true` when the event comes from the end-date input.
138
- */
139
- protected onIntervalKeyup(event: KeyboardEvent, end: boolean): void;
140
- /**
141
- * Clears both bounds of the date interval.
142
- */
143
- protected clearInterval(): void;
144
- /**
145
- * Validates the form and emits the result, or shows an error if validation fails.
146
- */
147
- protected ok(): void;
148
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptDateDialogComponent, never>;
149
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptDateDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
74
+ export declare class PromptDateDialogComponent {
75
+ /** Error text of a field: the message declared in the schema, or the shared fallback. */
76
+ protected readonly getErrorMessage: typeof SignalsUtils.getFieldErrorMessage;
77
+ /**
78
+ * Error text for a date range: whichever end is in error speaks for the pair.
79
+ * @param from - Errors of the start field, from `f.from().errors()`.
80
+ * @param to - Errors of the end field, from `f.to().errors()`.
81
+ * @returns The text to show under the range, or `undefined` when neither end is in error.
82
+ */
83
+ protected rangeErrorMessage(from: readonly {
84
+ kind: string;
85
+ message?: string;
86
+ }[], to: readonly {
87
+ kind: string;
88
+ message?: string;
89
+ }[]): string | undefined;
90
+ readonly done: import("@angular/core").OutputEmitterRef<PromptDateDialogResult>;
91
+ private readonly dialogService;
92
+ protected readonly dialogData: import("@angular/core").WritableSignal<PromptDialogData>;
93
+ /**
94
+ * Model backing the signal form: `date` serves the single-date type, while
95
+ * `from`/`to` serve the date-interval type. Empty values are `null` (not
96
+ * `undefined`) because signal forms only build child fields for keys whose
97
+ * value is defined, and Material's datepicker accessors report an empty
98
+ * input as `null` anyway; values are normalized to `undefined` on emit.
99
+ */
100
+ private readonly model;
101
+ /**
102
+ * Builds the form model from the value carried by the dialog data: a `Date` for the
103
+ * single-date type, a {@link DateInterval} for the date-interval one.
104
+ * @returns A fresh form model, empty when the dialog was opened without a value.
105
+ */
106
+ private toForm;
107
+ /**
108
+ * Builds the dialog result from the current form model.
109
+ *
110
+ * Ad-hoc because the two prompt types produce different values out of the same model
111
+ * — a `Date` or a {@link DateInterval} — and because the result also carries the type
112
+ * and the caller's `options`, which are not part of the form model. The dates
113
+ * themselves go through {@link DtoUtils.toPayload}, so a bound left empty travels as
114
+ * absent instead of as `null`.
115
+ * @returns The result to emit through `done`.
116
+ */
117
+ private toPayload;
118
+ /**
119
+ * Signal form for the date value(s). `required` follows the dialog data and only
120
+ * applies to the fields of the active prompt type; the datepicker's own parse
121
+ * validators are picked up through the ControlValueAccessor interop.
122
+ */
123
+ protected readonly form: import("@angular/forms/signals").FieldTree<PromptDateForm, string | number, "writable">;
124
+ /** Debounced stream of keyup events on the interval inputs (shorthand typing support). */
125
+ private readonly intervalKeyup;
126
+ constructor();
127
+ /**
128
+ * Blocks the space key on the interval inputs; it is reserved as the
129
+ * "copy the other bound" shortcut handled by onIntervalKeyup.
130
+ * @param event - The keydown event from the start or end date input.
131
+ */
132
+ protected onIntervalKeydown(event: KeyboardEvent): void;
133
+ /**
134
+ * Forwards keyup events of the interval inputs to the debounced shorthand parser.
135
+ * @param event - The keyup event from the start or end date input.
136
+ * @param end - `true` when the event comes from the end-date input.
137
+ */
138
+ protected onIntervalKeyup(event: KeyboardEvent, end: boolean): void;
139
+ /**
140
+ * Clears both bounds of the date interval.
141
+ */
142
+ protected clearInterval(): void;
143
+ /**
144
+ * Validates the form and emits the result, or shows an error if validation fails.
145
+ */
146
+ protected ok(): void;
147
+ static ɵfac: i0.ɵɵFactoryDeclaration<PromptDateDialogComponent, never>;
148
+ static ɵcmp: i0.ɵɵComponentDeclaration<PromptDateDialogComponent, "ng-component", never, {}, {
149
+ "done": "done";
150
+ }, never, never, true, never>;
150
151
  }
151
-
152
152
  /**
153
153
  * Form model of the time prompt.
154
154
  *
@@ -157,42 +157,42 @@ declare class PromptDateDialogComponent {
157
157
  * is none, while the form always owns the field and holds `''` when empty.
158
158
  */
159
159
  interface PromptTimeForm {
160
- /** The `"HH:MM"` time value; `''` when the input is empty. */
161
- value: string;
160
+ /** The `"HH:MM"` time value; `''` when the input is empty. */
161
+ value: string;
162
162
  }
163
- declare class PromptTimeDialogComponent {
164
- /** Error text of a field: the message declared in the schema, or the shared fallback. */
165
- protected readonly getErrorMessage: typeof SignalsUtils.getFieldErrorMessage;
166
- readonly done: _angular_core.OutputEmitterRef<PromptDialogResult>;
167
- private readonly dialogService;
168
- protected readonly dialogData: _angular_core.WritableSignal<PromptTimeDialogData>;
169
- /** Model backing the signal form. The value is a `"HH:MM"` time string. */
170
- private readonly model;
171
- /**
172
- * Builds the form model from the value carried by the dialog data.
173
- * @returns A fresh form model, empty when the dialog was opened without a value.
174
- */
175
- private toForm;
176
- /**
177
- * Builds the dialog result from the current form model.
178
- *
179
- * Ad-hoc because the result also carries the caller's `options`, which are not part
180
- * of the form model; the time itself goes through {@link DtoUtils.toPayload}, so an
181
- * empty input travels as absent instead of as an empty string.
182
- * @returns The result to emit through `done`.
183
- */
184
- private toPayload;
185
- /**
186
- * Signal form for the time value: `required` follows the dialog data and the
187
- * time validator enforces format and the optional allowed slots.
188
- */
189
- protected readonly form: _angular_forms_signals.FieldTree<PromptTimeForm, string | number, "writable">;
190
- /**
191
- * Validates the form and emits the result, or shows an error if validation fails.
192
- */
193
- protected ok(): void;
194
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptTimeDialogComponent, never>;
195
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptTimeDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
196
- }
197
-
198
- export { PromptDateDialogComponent, PromptDialogComponent, PromptTimeDialogComponent };
163
+ export declare class PromptTimeDialogComponent {
164
+ /** Error text of a field: the message declared in the schema, or the shared fallback. */
165
+ protected readonly getErrorMessage: typeof SignalsUtils.getFieldErrorMessage;
166
+ readonly done: import("@angular/core").OutputEmitterRef<PromptDialogResult>;
167
+ private readonly dialogService;
168
+ protected readonly dialogData: import("@angular/core").WritableSignal<PromptTimeDialogData>;
169
+ /** Model backing the signal form. The value is a `"HH:MM"` time string. */
170
+ private readonly model;
171
+ /**
172
+ * Builds the form model from the value carried by the dialog data.
173
+ * @returns A fresh form model, empty when the dialog was opened without a value.
174
+ */
175
+ private toForm;
176
+ /**
177
+ * Builds the dialog result from the current form model.
178
+ *
179
+ * Ad-hoc because the result also carries the caller's `options`, which are not part
180
+ * of the form model; the time itself goes through {@link DtoUtils.toPayload}, so an
181
+ * empty input travels as absent instead of as an empty string.
182
+ * @returns The result to emit through `done`.
183
+ */
184
+ private toPayload;
185
+ /**
186
+ * Signal form for the time value: `required` follows the dialog data and the
187
+ * time validator enforces format and the optional allowed slots.
188
+ */
189
+ protected readonly form: import("@angular/forms/signals").FieldTree<PromptTimeForm, string | number, "writable">;
190
+ /**
191
+ * Validates the form and emits the result, or shows an error if validation fails.
192
+ */
193
+ protected ok(): void;
194
+ static ɵfac: i0.ɵɵFactoryDeclaration<PromptTimeDialogComponent, never>;
195
+ static ɵcmp: i0.ɵɵComponentDeclaration<PromptTimeDialogComponent, "ng-component", never, {}, {
196
+ "done": "done";
197
+ }, never, never, true, never>;
198
+ }