@arsedizioni/ars-utils 22.5.16 → 22.5.18

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 (34) hide show
  1. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +399 -175
  2. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-core.validators.mjs +115 -1
  4. package/fesm2022/arsedizioni-ars-utils-core.validators.mjs.map +1 -1
  5. package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs +30 -17
  6. package/fesm2022/arsedizioni-ars-utils-ui.controls.mjs.map +1 -1
  7. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs +116 -49
  8. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.auth.mjs.map +1 -1
  9. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs +34 -13
  10. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs +149 -48
  12. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.prompt.mjs.map +1 -1
  13. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs +58 -44
  14. package/fesm2022/arsedizioni-ars-utils-ui.dialogs.select.mjs.map +1 -1
  15. package/fesm2022/arsedizioni-ars-utils-ui.files.mjs +54 -19
  16. package/fesm2022/arsedizioni-ars-utils-ui.files.mjs.map +1 -1
  17. package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs +33 -26
  18. package/fesm2022/arsedizioni-ars-utils-ui.filters.mjs.map +1 -1
  19. package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs +19 -11
  20. package/fesm2022/arsedizioni-ars-utils-ui.notifications.mjs.map +1 -1
  21. package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs +19 -11
  22. package/fesm2022/arsedizioni-ars-utils-ui.tinymce.mjs.map +1 -1
  23. package/package.json +1 -1
  24. package/types/arsedizioni-ars-utils-clipper.ui.d.ts +119 -9
  25. package/types/arsedizioni-ars-utils-core.validators.d.ts +52 -1
  26. package/types/arsedizioni-ars-utils-ui.controls.d.ts +16 -4
  27. package/types/arsedizioni-ars-utils-ui.dialogs.auth.d.ts +37 -9
  28. package/types/arsedizioni-ars-utils-ui.dialogs.d.ts +29 -21
  29. package/types/arsedizioni-ars-utils-ui.dialogs.prompt.d.ts +56 -7
  30. package/types/arsedizioni-ars-utils-ui.dialogs.select.d.ts +13 -4
  31. package/types/arsedizioni-ars-utils-ui.files.d.ts +15 -2
  32. package/types/arsedizioni-ars-utils-ui.filters.d.ts +10 -1
  33. package/types/arsedizioni-ars-utils-ui.notifications.d.ts +5 -0
  34. package/types/arsedizioni-ars-utils-ui.tinymce.d.ts +8 -2
@@ -1,3 +1,4 @@
1
+ import * as _angular_forms_signals from '@angular/forms/signals';
1
2
  import * as _angular_core from '@angular/core';
2
3
 
3
4
  /** Constants identifying each filter group slot and text filter channels. */
@@ -90,10 +91,18 @@ declare class FilterBarComponent {
90
91
  readonly text3Length: _angular_core.InputSignal<string>;
91
92
  readonly showTextSearchButton: _angular_core.InputSignal<boolean>;
92
93
  readonly appearance: _angular_core.InputSignal<"fill" | "outline">;
93
- /** Two-way bindable text filter values. */
94
+ /**
95
+ * Text filter values. Empty is represented as '' (never undefined) because the
96
+ * signals back the [formField] bindings; it is normalized to undefined when
97
+ * committed to the CurrentFilter.
98
+ */
94
99
  protected readonly text: _angular_core.WritableSignal<string>;
95
100
  protected readonly text2: _angular_core.WritableSignal<string>;
96
101
  protected readonly text3: _angular_core.WritableSignal<string>;
102
+ /** Signal forms for the three text inputs (max 100 characters each). */
103
+ protected readonly textForm: _angular_forms_signals.FieldTree<string, string | number, "writable">;
104
+ protected readonly text2Form: _angular_forms_signals.FieldTree<string, string | number, "writable">;
105
+ protected readonly text3Form: _angular_forms_signals.FieldTree<string, string | number, "writable">;
97
106
  /** Filter group for slot 1, derived reactively from the `filters` input. */
98
107
  protected readonly flt1: _angular_core.Signal<FilterGroup>;
99
108
  /** Filter group for slot 2, derived reactively from the `filters` input. */
@@ -1,3 +1,4 @@
1
+ import * as _angular_forms_signals from '@angular/forms/signals';
1
2
  import * as _angular_core from '@angular/core';
2
3
  import { MatPaginator, PageEvent } from '@angular/material/paginator';
3
4
  import { ScreenService, SelectableModel } from '@arsedizioni/ars-utils/core';
@@ -12,6 +13,10 @@ declare class SupportNotificationsBrowserComponent {
12
13
  private readonly destroyRef;
13
14
  protected selection: SelectableModel<SupportNotificationInfo, number>;
14
15
  protected searchParams: SupportNotificationsSearchParams;
16
+ /** Current free-text search value, bound to the search input. */
17
+ protected readonly searchText: _angular_core.WritableSignal<string>;
18
+ /** Signal form for the search box (max 200 characters). */
19
+ protected readonly searchForm: _angular_forms_signals.FieldTree<string, string | number, "writable">;
15
20
  protected total: _angular_core.WritableSignal<number>;
16
21
  protected items: _angular_core.WritableSignal<SupportNotificationInfo[]>;
17
22
  constructor();
@@ -2,6 +2,7 @@ import { RawEditorOptions, TinyMCE, Editor } from 'tinymce';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { OnInit, OnDestroy } from '@angular/core';
4
4
  import { ControlValueAccessor } from '@angular/forms';
5
+ import * as _angular_forms_signals from '@angular/forms/signals';
5
6
 
6
7
  /**
7
8
  * The editor profiles the applications ask for, ready to be handed to
@@ -258,8 +259,13 @@ declare class TinyMceEditorComponent {
258
259
  protected readonly dialogData: _angular_core.WritableSignal<TinyMceEditorDialogData>;
259
260
  /** Whether the editor is in read-only mode. */
260
261
  protected readonly disabled: _angular_core.WritableSignal<boolean>;
261
- /** Current editor content, kept as a plain field for [(ngModel)] two-way binding. */
262
- protected text: string;
262
+ /** Current editor content. */
263
+ protected readonly text: _angular_core.WritableSignal<string>;
264
+ /**
265
+ * Signal form bound to the editor textarea. The disabled state is pushed to the
266
+ * TinymceEditorDirective through the ControlValueAccessor interop.
267
+ */
268
+ protected readonly textForm: _angular_forms_signals.FieldTree<string, string | number, "writable">;
263
269
  /** The profile handed to the editor directive, merged over its defaults. */
264
270
  protected tinymceConfig: RawEditorOptions;
265
271
  constructor();