@arsedizioni/ars-utils 21.2.209 → 21.2.221

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.common.mjs +179 -159
  2. package/fesm2022/arsedizioni-ars-utils-clipper.common.mjs.map +1 -1
  3. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +2939 -2939
  4. package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
  5. package/fesm2022/arsedizioni-ars-utils-core.mjs +101 -101
  6. package/fesm2022/arsedizioni-ars-utils-core.mjs.map +1 -1
  7. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs +280 -252
  8. package/fesm2022/arsedizioni-ars-utils-evolution.common.mjs.map +1 -1
  9. package/fesm2022/arsedizioni-ars-utils-help.mjs +115 -102
  10. package/fesm2022/arsedizioni-ars-utils-help.mjs.map +1 -1
  11. package/fesm2022/arsedizioni-ars-utils-support.common.mjs +43 -36
  12. package/fesm2022/arsedizioni-ars-utils-support.common.mjs.map +1 -1
  13. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs +68 -77
  14. package/fesm2022/arsedizioni-ars-utils-support.ui.mjs.map +1 -1
  15. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs +41 -26
  16. package/fesm2022/arsedizioni-ars-utils-tinymce.mjs.map +1 -1
  17. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +1461 -1390
  18. package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
  19. package/fesm2022/arsedizioni-ars-utils-ui.mjs +1349 -1204
  20. package/fesm2022/arsedizioni-ars-utils-ui.mjs.map +1 -1
  21. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs +29 -25
  22. package/fesm2022/arsedizioni-ars-utils-ui.oauth.mjs.map +1 -1
  23. package/package.json +1 -1
  24. package/types/arsedizioni-ars-utils-clipper.common.d.ts +88 -62
  25. package/types/arsedizioni-ars-utils-clipper.ui.d.ts +196 -196
  26. package/types/arsedizioni-ars-utils-core.d.ts +16 -16
  27. package/types/arsedizioni-ars-utils-evolution.common.d.ts +131 -70
  28. package/types/arsedizioni-ars-utils-help.d.ts +76 -66
  29. package/types/arsedizioni-ars-utils-support.common.d.ts +29 -19
  30. package/types/arsedizioni-ars-utils-support.ui.d.ts +29 -25
  31. package/types/arsedizioni-ars-utils-tinymce.d.ts +25 -10
  32. package/types/arsedizioni-ars-utils-ui.application.d.ts +597 -467
  33. package/types/arsedizioni-ars-utils-ui.d.ts +474 -337
  34. package/types/arsedizioni-ars-utils-ui.oauth.d.ts +25 -18
@@ -1,30 +1,43 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { OnInit, OnDestroy, DoCheck, OnChanges, ElementRef, SimpleChanges, AfterContentInit } from '@angular/core';
3
- import { NgForm, ControlValueAccessor, NgControl } from '@angular/forms';
2
+ import { OnInit, OnDestroy, AfterContentInit, DoCheck, ElementRef } from '@angular/core';
4
3
  import { Searchable, SearchBag, NameValueItem, DateInterval, SearchFilterMetadata, FileInfo } from '@arsedizioni/ars-utils/core';
5
4
  import { MatFormFieldAppearance, MatFormFieldControl } from '@angular/material/form-field';
5
+ import { MatDialogRef } from '@angular/material/dialog';
6
+ import { DialogService } from '@arsedizioni/ars-utils/ui';
6
7
  import { FlatTreeControl } from '@angular/cdk/tree';
7
8
  import { MatTreeFlatDataSource } from '@angular/material/tree';
8
9
  import { BehaviorSubject, Subject } from 'rxjs';
10
+ import { NgForm, ControlValueAccessor, NgControl } from '@angular/forms';
9
11
  import { MatCheckboxChange } from '@angular/material/checkbox';
10
12
  import { MatSelectionList, MatSelectionListChange } from '@angular/material/list';
11
13
  import { MatPaginator, PageEvent } from '@angular/material/paginator';
12
- import { MatDialogRef } from '@angular/material/dialog';
13
- import { DialogService } from '@arsedizioni/ars-utils/ui';
14
14
 
15
- declare class ResizeTableColumnDirective implements OnInit {
15
+ declare class ResizeTableColumnDirective {
16
+ /** Whether this column is resizable. Bound via the `resizeColumn` attribute. */
16
17
  readonly resizable: _angular_core.InputSignal<boolean>;
18
+ /** Zero-based index of this column in the table, used to resize body cells. */
17
19
  readonly index: _angular_core.InputSignal<number>;
18
20
  private readonly renderer;
19
21
  private readonly elementRef;
20
22
  private startX;
21
23
  private startWidth;
22
- private column;
24
+ private readonly column;
23
25
  private table;
24
26
  private pressed;
25
- ngOnInit(): void;
27
+ constructor();
28
+ /**
29
+ * Record the drag start position and initial column width.
30
+ * @param e - The mousedown event.
31
+ */
26
32
  onMouseDown: (e: MouseEvent) => void;
33
+ /**
34
+ * Resize the column header and all body cells while dragging.
35
+ * @param e - The mousemove event.
36
+ */
27
37
  onMouseMove: (e: MouseEvent) => void;
38
+ /**
39
+ * End the drag and remove the resizing CSS class from the table.
40
+ */
28
41
  onMouseUp: () => void;
29
42
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResizeTableColumnDirective, never>;
30
43
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ResizeTableColumnDirective, "[resizeColumn]", never, { "resizable": { "alias": "resizeColumn"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -40,24 +53,27 @@ interface SendToDialogData {
40
53
  appearance?: MatFormFieldAppearance;
41
54
  options?: any;
42
55
  }
43
- declare class SendToDialogComponent implements OnInit {
56
+ declare class SendToDialogComponent {
57
+ /** Emitted when the user confirms and sends the message. */
44
58
  readonly done: _angular_core.OutputEmitterRef<SendToDialogResult>;
59
+ /** Emitted when the user requests to populate the recipient list. */
45
60
  readonly populate: _angular_core.OutputEmitterRef<SendToPopulateData>;
46
- private changeDetector;
47
- protected dialogData: SendToDialogData;
61
+ /** Dialog configuration, injected and exposed as a signal. */
62
+ protected readonly dialogData: _angular_core.WritableSignal<SendToDialogData>;
63
+ /** Form model for the send-to form fields. */
48
64
  protected item: SendToDialogResult;
49
- ngOnInit(): void;
50
65
  /**
51
- * Submit
66
+ * Confirm the form and emit the result.
52
67
  */
53
68
  protected ok(): void;
54
69
  /**
55
- * Populate recipients
70
+ * Request the host to populate the recipient list.
71
+ * Only emits if `canPopulate` is enabled in the dialog data.
56
72
  */
57
73
  protected populateRecipients(): void;
58
74
  /**
59
- * Update recipients
60
- * @param recipients the new recipients value
75
+ * Update the recipient list from an external caller.
76
+ * @param recipients - The new recipients string (semicolon-separated).
61
77
  */
62
78
  updateRecipients(recipients: string): void;
63
79
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SendToDialogComponent, never>;
@@ -175,9 +191,7 @@ interface ISelectableItem extends Searchable {
175
191
  declare class SelectableItem implements ISelectableItem {
176
192
  bag: any;
177
193
  template: string;
178
- /**
179
- * Searchable
180
- */
194
+ /** Searchable index bag. */
181
195
  searchBag: SearchBag;
182
196
  }
183
197
  declare class ItemNode {
@@ -191,10 +205,13 @@ declare class ItemNode {
191
205
  declare class SelectableNode extends ItemNode implements Searchable {
192
206
  expandable: boolean;
193
207
  level: number;
208
+ /** Searchable index bag. */
209
+ searchBag: SearchBag;
194
210
  /**
195
- * Searchable
211
+ * Create a flattened tree node from a source ItemNode.
212
+ * @param item - The source tree node.
213
+ * @param level - The depth level of this node in the tree.
196
214
  */
197
- searchBag: SearchBag;
198
215
  constructor(item: ItemNode, level: number);
199
216
  }
200
217
  interface SendToPopulateData {
@@ -202,9 +219,9 @@ interface SendToPopulateData {
202
219
  source: SendToDialogComponent;
203
220
  }
204
221
  interface SendToDialogResult {
205
- recipients: string;
206
- subject: string;
207
- text: string;
222
+ recipients: string | null;
223
+ subject: string | undefined;
224
+ text: string | undefined;
208
225
  options?: any;
209
226
  }
210
227
  interface PromptDialogResult {
@@ -246,6 +263,7 @@ interface PromptTimeDialogData extends PromptDialogData {
246
263
  slots?: string;
247
264
  }
248
265
 
266
+ /** Constants identifying each filter group slot and text filter channels. */
249
267
  declare const Filters: {
250
268
  FLT_1: number;
251
269
  FLT_2: number;
@@ -257,6 +275,7 @@ declare const Filters: {
257
275
  FLT_TEXT_2: number;
258
276
  FLT_TEXT_3: number;
259
277
  };
278
+ /** Describes a top-level filter group with optional items or a custom action. */
260
279
  interface FilterGroup {
261
280
  group?: number;
262
281
  title?: string;
@@ -264,6 +283,7 @@ interface FilterGroup {
264
283
  items?: FilterItem[];
265
284
  action?: any;
266
285
  }
286
+ /** A single selectable entry within a FilterGroup. */
267
287
  interface FilterItem {
268
288
  group?: number;
269
289
  title?: string;
@@ -272,10 +292,14 @@ interface FilterItem {
272
292
  divider?: boolean;
273
293
  value?: any;
274
294
  }
295
+ /** Event payload emitted when an active filter changes. */
275
296
  declare class CurrentFilterChanged {
297
+ /** The updated filter state. */
276
298
  filter: CurrentFilter;
299
+ /** The group slot that changed (see Filters constants). */
277
300
  group: number;
278
301
  }
302
+ /** Holds the current state of all active filters for a filter-bar component. */
279
303
  declare class CurrentFilter {
280
304
  flt1?: any;
281
305
  flt1Name?: string;
@@ -291,16 +315,21 @@ declare class CurrentFilter {
291
315
  text2?: string;
292
316
  text3?: string;
293
317
  /**
294
- * Update filtered value
318
+ * Returns true if any filter slot or text field is currently active.
319
+ * @returns Whether at least one filter is applied.
295
320
  */
296
321
  filtered(): boolean;
297
322
  }
323
+ /** Holds the selected value and display state for a single typed filter slot. */
298
324
  declare class CurrentFilterItem<T> {
299
325
  items?: any[];
300
326
  value?: T;
301
327
  enabled?: boolean;
302
328
  title?: string;
303
329
  selectedTitle?: string;
330
+ /**
331
+ * Reset the filter to its empty state.
332
+ */
304
333
  clear(): void;
305
334
  }
306
335
 
@@ -310,29 +339,31 @@ declare class TreeDataSource implements OnDestroy {
310
339
  ngOnDestroy(): void;
311
340
  initialize(data: ItemNode[]): void;
312
341
  /**
313
- * Find a node by id recursively
314
- * @param node: the source node
315
- * @param id : the id to search for
342
+ * Find a node by id recursively.
343
+ * @param node - The source node to search from, or null to search from root.
344
+ * @param id - The id to search for.
345
+ * @returns The matching node, or undefined if not found.
316
346
  */
317
- findNode(node: ItemNode, id: string): ItemNode;
347
+ findNode(node: ItemNode | null, id: string): ItemNode | undefined;
318
348
  /**
319
- * Remove a node
320
- * @param id : the node id to remove
349
+ * Remove a node from the tree.
350
+ * @param id - The id of the node to remove.
321
351
  */
322
352
  removeNode(id: string): void;
323
353
  /**
324
- * Insert a new node
325
- * @param node : the new node
354
+ * Insert a new node at the top of its parent (or root).
355
+ * @param node - The new node to insert.
326
356
  */
327
357
  insertNode(node: ItemNode): void;
328
358
  /**
329
- * Rename a node
330
- * @param id : the node id
331
- * @param name : the new node name
359
+ * Rename a node in the tree.
360
+ * @param id - The id of the node to rename.
361
+ * @param name - The new name for the node.
362
+ * @returns The renamed node, or undefined if not found.
332
363
  */
333
- renameNode(id: string, name: string): ItemNode;
364
+ renameNode(id: string, name: string): ItemNode | undefined;
334
365
  /**
335
- * Update data
366
+ * Notify all subscribers of the current data state.
336
367
  */
337
368
  update(): void;
338
369
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeDataSource, never>;
@@ -343,21 +374,24 @@ interface SelectTreeDialogAppend {
343
374
  owner?: any;
344
375
  }
345
376
  declare class SelectTreeDialogComponent implements OnInit {
377
+ /** Emitted when the user confirms a selection. */
346
378
  readonly done: _angular_core.OutputEmitterRef<SelectTreeDialogResult>;
379
+ /** Emitted when the user requests to append a new node. */
347
380
  readonly append: _angular_core.OutputEmitterRef<SelectTreeDialogAppend>;
348
381
  private readonly destroyRef;
349
- private readonly changeDetector;
350
382
  private readonly dialogRef;
351
- protected dialogData: SelectTreeDialogData;
352
- private tree;
383
+ /** Dialog configuration, injected and exposed as a signal. */
384
+ protected readonly dialogData: _angular_core.WritableSignal<SelectTreeDialogData>;
385
+ private readonly tree;
353
386
  private treeFlattener;
354
387
  protected treeControl: FlatTreeControl<SelectableNode>;
355
388
  protected treeData: MatTreeFlatDataSource<ItemNode, SelectableNode>;
356
- protected currentNode: ItemNode;
389
+ /** Currently selected tree node. */
390
+ protected readonly currentNode: _angular_core.WritableSignal<SelectableNode>;
357
391
  protected filterText: string;
358
392
  protected filteredItems: SelectableNode[];
359
393
  protected filterIndex: number;
360
- protected canAppend: _angular_core.WritableSignal<boolean>;
394
+ protected readonly canAppend: _angular_core.WritableSignal<boolean>;
361
395
  /**
362
396
  * Manage flat tree view
363
397
  */
@@ -368,41 +402,41 @@ declare class SelectTreeDialogComponent implements OnInit {
368
402
  protected transformer: (item: ItemNode, level: number) => SelectableNode;
369
403
  ngOnInit(): void;
370
404
  /**
371
- * Submit selection
405
+ * Confirm the current selection and close the dialog.
372
406
  */
373
407
  protected ok(): void;
374
408
  /**
375
- * Select a node
376
- * @param e : the event
377
- * @param node : the
409
+ * Toggle selection of a tree node. Clicking the already-selected node deselects it.
410
+ * @param e - The mouse event (propagation is stopped).
411
+ * @param node - The node that was clicked.
378
412
  */
379
413
  protected select(e: MouseEvent, node: SelectableNode): void;
380
414
  /**
381
- * Clear filter
415
+ * Clear the active filter text.
382
416
  */
383
417
  protected clearFilter(): void;
384
418
  /**
385
- * Apply filter
386
- * @param text : the text to filter
419
+ * Filter the tree nodes by name.
420
+ * @param text - Optional text to set as the filter before applying.
387
421
  */
388
422
  protected doFilter(text?: string): void;
389
423
  /**
390
- * Goto next filtered item
424
+ * Advance to the next matching filtered node and scroll it into view.
391
425
  */
392
426
  protected nextFiltered(): void;
393
427
  /**
394
- * Expand a node and all its parents
395
- * @param node : the selectable node to expand
428
+ * Expand a node and all of its parent nodes.
429
+ * @param node - The selectable node to expand.
396
430
  */
397
431
  expand(node: SelectableNode): boolean;
398
432
  /**
399
- * Append a node to the tree
400
- * @param node : the nodo to append
433
+ * Append a new node to the tree.
434
+ * @param node - The node to insert.
401
435
  */
402
436
  appendNode(node: ItemNode): void;
403
437
  /**
404
- * Append
405
- */
438
+ * Emit an append request with the currently selected node as the parent.
439
+ */
406
440
  protected doAppend(): void;
407
441
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectTreeDialogComponent, never>;
408
442
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectTreeDialogComponent, "ng-component", never, {}, { "done": "done"; "append": "append"; }, never, never, true, never>;
@@ -410,46 +444,57 @@ declare class SelectTreeDialogComponent implements OnInit {
410
444
 
411
445
  declare class SelectPictureDialogComponent {
412
446
  readonly done: _angular_core.OutputEmitterRef<SelectFile>;
413
- private readonly changeDetector;
414
447
  private readonly dialogService;
415
448
  private readonly dialogRef;
416
- protected dialogData: SelectPictureFileDialogData;
417
- protected file?: File;
449
+ protected readonly dialogData: _angular_core.WritableSignal<SelectPictureFileDialogData>;
450
+ protected readonly file: _angular_core.WritableSignal<File>;
418
451
  protected fileClass: _angular_core.WritableSignal<"selectpicture-file" | "selectpicture-file-drop">;
419
452
  protected pictureWidth: _angular_core.WritableSignal<number>;
420
453
  protected pictureHeight: _angular_core.WritableSignal<number>;
421
454
  protected picturePreview: _angular_core.WritableSignal<any>;
422
455
  /**
423
- * Update preview
424
- * @param e : the event
456
+ * Handles the native file input change event and delegates to `selectFile`.
457
+ * @param e - The DOM change event from the file input.
425
458
  */
426
- protected update(e: any): void;
459
+ protected update(e: Event): void;
427
460
  /**
428
- * Select a file
429
- * @param file : the file to select
461
+ * Validates the file size and type, then reads it as a data URL to generate a preview.
462
+ * @param file - The `File` object to validate and preview.
430
463
  */
431
464
  private selectFile;
432
465
  /**
433
- * Format size
434
- * @param size the file size
466
+ * Formats a byte count into a human-readable size string.
467
+ * @param size - File size in bytes.
468
+ * @returns A formatted size string (e.g. "1.2 MB").
435
469
  */
436
470
  protected size(size: number): string;
437
- /**
438
- * Submit selection
439
- */
471
+ /** Emits the selected file and options, then closes the dialog. */
440
472
  protected ok(): void;
441
- /**
442
- * Drag & drop functions
443
- */
473
+ /** Highlights the drop zone when a dragged item is over it.
474
+ * @param e - The drag event.
475
+ */
444
476
  protected onDragOver(e: DragEvent): void;
477
+ /** Highlights the drop zone when a dragged item enters.
478
+ * @param e - The drag event.
479
+ */
445
480
  protected onDragEnter(e: DragEvent): void;
481
+ /** Resets the drop zone style when dragging ends.
482
+ * @param e - The drag event.
483
+ */
446
484
  protected onDragEnd(e: DragEvent): void;
485
+ /** Resets the drop zone style when a dragged item leaves.
486
+ * @param e - The drag event.
487
+ */
447
488
  protected onDragLeave(e: DragEvent): void;
489
+ /**
490
+ * Handles a file drop event, extracting and processing the dropped image.
491
+ * @param e - The drop event.
492
+ */
448
493
  protected onDrop(e: DragEvent): void;
449
494
  /**
450
- * Add files
451
- * @param files : the files to add
452
- */
495
+ * Picks the first file from the list and passes it to `selectFile`.
496
+ * @param files - The `FileList` from the drag-and-drop event.
497
+ */
453
498
  private addFiles;
454
499
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectPictureDialogComponent, never>;
455
500
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectPictureDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
@@ -459,112 +504,118 @@ declare class SelectFileDialogComponent {
459
504
  readonly done: _angular_core.OutputEmitterRef<SelectFile>;
460
505
  private readonly dialogService;
461
506
  private readonly dialogRef;
462
- protected dialogData: SelectFileDialogData;
463
- protected file?: File;
507
+ protected readonly dialogData: _angular_core.WritableSignal<SelectFileDialogData>;
508
+ protected readonly file: _angular_core.WritableSignal<File>;
464
509
  protected fileClass: _angular_core.WritableSignal<"selectfile-file" | "selectfile-file-drop">;
465
510
  /**
466
- * Update preview
467
- * @param e : the event
511
+ * Handles the native file input change event and delegates to `selectFile`.
512
+ * @param e - The DOM change event from the file input.
468
513
  */
469
- protected update(e: any): void;
514
+ protected update(e: Event): void;
470
515
  /**
471
- * Select a file
472
- * @param file : the file to select
473
-
516
+ * Validates and sets the selected file, showing an error if size or type constraints are violated.
517
+ * @param file - The `File` object to validate and store.
474
518
  */
475
519
  private selectFile;
476
520
  /**
477
- * Format size
478
- * @param size the file size
521
+ * Formats a byte count into a human-readable size string.
522
+ * @param size - File size in bytes.
523
+ * @returns A formatted size string (e.g. "1.2 MB").
479
524
  */
480
525
  protected size(size: number): string;
481
- /**
482
- * Submit selection
483
- */
526
+ /** Emits the selected file and options, then closes the dialog. */
484
527
  protected ok(): void;
485
- /**
486
- * Drag & drop functions
487
- */
528
+ /** Highlights the drop zone when a drag enters the area.
529
+ * @param e - The drag event.
530
+ */
488
531
  protected onDragOver(e: DragEvent): void;
532
+ /** Highlights the drop zone when a dragged item enters.
533
+ * @param e - The drag event.
534
+ */
489
535
  protected onDragEnter(e: DragEvent): void;
536
+ /** Resets the drop zone style when dragging ends.
537
+ * @param e - The drag event.
538
+ */
490
539
  protected onDragEnd(e: DragEvent): void;
540
+ /** Resets the drop zone style when a dragged item leaves the area.
541
+ * @param e - The drag event.
542
+ */
491
543
  protected onDragLeave(e: DragEvent): void;
544
+ /**
545
+ * Handles a file drop event, extracting and processing the dropped files.
546
+ * @param e - The drop event.
547
+ */
492
548
  protected onDrop(e: DragEvent): void;
493
549
  /**
494
- * Add files
495
- * @param files : the files to add
496
- */
550
+ * Picks the first file from the list and passes it to `selectFile`.
551
+ * @param files - The `FileList` from the drag-and-drop event.
552
+ */
497
553
  private addFiles;
498
554
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectFileDialogComponent, never>;
499
555
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectFileDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
500
556
  }
501
557
 
502
- declare class PromptDialogComponent implements OnInit {
558
+ declare class PromptDialogComponent {
503
559
  readonly f: _angular_core.Signal<NgForm>;
504
560
  readonly done: _angular_core.OutputEmitterRef<PromptDialogResult>;
505
561
  private readonly dialogService;
506
- protected dialogData: PromptDialogData;
507
- protected value?: any;
508
- ngOnInit(): void;
562
+ protected readonly dialogData: _angular_core.WritableSignal<PromptDialogData>;
563
+ protected value: any;
509
564
  /**
510
- * Done
565
+ * Validates the form and emits the result, or shows an error if validation fails.
511
566
  */
512
567
  protected ok(): void;
513
568
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptDialogComponent, never>;
514
569
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
515
570
  }
516
571
 
517
- declare class PromptDateDialogComponent implements OnInit {
572
+ declare class PromptDateDialogComponent {
518
573
  readonly f: _angular_core.Signal<NgForm>;
519
574
  readonly done: _angular_core.OutputEmitterRef<PromptDateDialogResult>;
520
575
  private readonly dialogService;
521
- protected dialogData: PromptDialogData;
522
- protected value?: any;
523
- ngOnInit(): void;
576
+ protected readonly dialogData: _angular_core.WritableSignal<PromptDialogData>;
577
+ protected value: any;
524
578
  /**
525
- * Done
579
+ * Validates the form and emits the result, or shows an error if validation fails.
526
580
  */
527
581
  protected ok(): void;
528
582
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptDateDialogComponent, never>;
529
583
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptDateDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
530
584
  }
531
585
 
532
- declare class PromptOtpDialogComponent implements OnInit {
586
+ declare class PromptOtpDialogComponent {
533
587
  readonly f: _angular_core.Signal<NgForm>;
534
588
  readonly done: _angular_core.OutputEmitterRef<PromptOtpDialogResult>;
535
589
  private readonly dialogService;
536
- protected dialogData: PromptDialogData;
537
- protected value?: any;
538
- ngOnInit(): void;
590
+ protected readonly dialogData: _angular_core.WritableSignal<PromptDialogData>;
591
+ protected value: any;
539
592
  /**
540
- * Done
593
+ * Validates the form and emits the OTP result, or shows an error if validation fails.
541
594
  */
542
595
  protected ok(): void;
543
596
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptOtpDialogComponent, never>;
544
597
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptOtpDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
545
598
  }
546
599
 
547
- declare class PromptTimeDialogComponent implements OnInit {
600
+ declare class PromptTimeDialogComponent {
548
601
  readonly f: _angular_core.Signal<NgForm>;
549
602
  readonly done: _angular_core.OutputEmitterRef<PromptDialogResult>;
550
603
  private readonly dialogService;
551
- protected dialogData: PromptTimeDialogData;
552
- protected value?: any;
553
- ngOnInit(): void;
604
+ protected readonly dialogData: _angular_core.WritableSignal<PromptTimeDialogData>;
605
+ protected value: any;
554
606
  /**
555
- * Done
607
+ * Validates the form and emits the result, or shows an error if validation fails.
556
608
  */
557
609
  protected ok(): void;
558
610
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptTimeDialogComponent, never>;
559
611
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptTimeDialogComponent, "ng-component", never, {}, { "done": "done"; }, never, never, true, never>;
560
612
  }
561
613
 
562
- declare class SelectDialogComponent implements OnInit {
614
+ declare class SelectDialogComponent {
563
615
  readonly paginator: _angular_core.Signal<MatPaginator>;
564
616
  readonly selection: _angular_core.Signal<MatSelectionList>;
565
- private readonly changeDetector;
566
617
  private readonly dialogRef;
567
- protected dialogData: SelectDialogData;
618
+ protected readonly dialogData: _angular_core.WritableSignal<SelectDialogData>;
568
619
  readonly done: _angular_core.OutputEmitterRef<SelectDialogResult>;
569
620
  readonly edit: _angular_core.OutputEmitterRef<SelectDialogEdit>;
570
621
  readonly view: _angular_core.OutputEmitterRef<SelectableItem>;
@@ -589,100 +640,80 @@ declare class SelectDialogComponent implements OnInit {
589
640
  protected selectionMasterIndeterminate: _angular_core.WritableSignal<boolean>;
590
641
  protected selectionMasterChecked: _angular_core.WritableSignal<boolean>;
591
642
  protected total: _angular_core.WritableSignal<number>;
643
+ constructor();
592
644
  ngOnInit(): void;
593
645
  /**
594
- * Mark for check
595
- * @param newTotal: the optional new total
646
+ * Updates the total item count signal, triggering UI refresh.
647
+ * @param newTotal - The new total count; defaults to 0 if omitted.
596
648
  */
597
649
  notifyChanges(newTotal?: number): void;
598
- /**
599
- * Check if every element are selected
600
- */
650
+ /** Returns `true` when every list item is currently selected. */
601
651
  private isAllSelected;
602
- /**
603
- * Checks if exists a selection
604
- */
652
+ /** Returns `true` when at least one list item is selected. */
605
653
  private hasSelection;
606
654
  /**
607
- * Master selection toggle
608
- * @param e: the event
655
+ * Selects or deselects all items based on the master checkbox state.
656
+ * @param e - The checkbox change event.
609
657
  */
610
658
  protected masterSelectionToggle(e: MatCheckboxChange): void;
611
659
  /**
612
- * Handle selection/deselection of an item
613
- * @param e: the event
660
+ * Handles selection or deselection of a list item.
661
+ * @param e - The selection list change event.
614
662
  */
615
663
  protected select(e: MatSelectionListChange): void;
616
- /**
617
- * Update selection info
618
- */
664
+ /** Refreshes the selection info label shown in the dialog footer. */
619
665
  private updateSelectionInfo;
620
- /**
621
- * Clear current selection
622
- */
666
+ /** Deselects all items and resets the master checkbox state. */
623
667
  clearSelection(): void;
624
- /**
625
- * Submit selection
626
- */
668
+ /** Emits the current selection and closes the dialog. */
627
669
  protected ok(): void;
628
- /**
629
- * Clear filter
630
- */
670
+ /** Clears the current filter text input. */
631
671
  protected clearFilter(): void;
632
672
  /**
633
- * Set filter text
634
- * @param text : the new value
673
+ * Sets the filter text programmatically.
674
+ * @param text - The new filter string to apply.
635
675
  */
636
676
  setFilter(text: string): void;
637
677
  /**
638
- * Gt the current filter text
639
- * @returns the filter text
678
+ * Returns the current filter text.
679
+ * @returns The active filter string.
640
680
  */
641
681
  getFilter(): string;
642
- /**
643
- * Show filter options
644
- */
682
+ /** Emits the `lookupOptions` output event to open the filter options panel. */
645
683
  protected showFilterOptions(): void;
646
684
  /**
647
- * Apply filter
648
- * @param text : the string to filter to
685
+ * Applies the given text filter, emitting a lookup when enabled.
686
+ * @param text - Optional filter string; populates `filterText` when provided.
687
+ * @param e - Optional keyboard event; lookup only fires on Enter.
649
688
  */
650
689
  protected doFilter(text?: string, e?: KeyboardEvent): void;
651
690
  /**
652
- * Apply filter using filter options
653
- * @param filterOption : the current filter option
691
+ * Applies a structured filter option, emitting the filter output event.
692
+ * @param filterOption - The selected filter option object.
654
693
  */
655
694
  protected doFilterByOptions(filterOption: any): void;
656
695
  /**
657
- * Apply filter. This is accessible from public
658
- * @param params : the object with current parameters
696
+ * Triggers a server-side lookup with the given parameters (public API).
697
+ * @param params - An object containing the lookup query parameters.
659
698
  */
660
699
  doLookup(params: any): void;
661
700
  /**
662
- * Update lookup paginatro
663
- * @param total : the new total items
701
+ * Updates the paginator length and resets it to the first page.
702
+ * @param total - The new total number of items.
664
703
  */
665
704
  protected updateLookupPaginator(total: number): void;
666
705
  /**
667
- * Apply filter
668
- * @param e : the MatPaginator PageEvent data
669
- */
670
- protected doLookupPage(e: PageEvent): void;
671
- /**
672
- * Append
706
+ * Handles a paginator page change and triggers a new lookup.
707
+ * @param e - The paginator page change event.
673
708
  */
709
+ protected doLookupPage(e: PageEvent): void;
710
+ /** Emits the `append` output event to open the add-item flow. */
674
711
  protected doAppend(): void;
675
- /**
676
- * Edit
677
- */
712
+ /** Emits the `edit` output event for the currently selected item. */
678
713
  protected doEdit(): void;
679
- /**
680
- * View
681
- */
714
+ /** Emits the `view` output event for the currently selected item. */
682
715
  protected doView(): void;
683
- /**
684
- * Delete
685
- */
716
+ /** Emits the `delete` output event with all currently selected items. */
686
717
  protected doDelete(): void;
687
718
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectDialogComponent, never>;
688
719
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SelectDialogComponent, "ng-component", never, {}, { "done": "done"; "edit": "edit"; "view": "view"; "append": "append"; "delete": "delete"; "lookup": "lookup"; "lookupOptions": "lookupOptions"; "filter": "filter"; }, never, never, true, never>;
@@ -690,104 +721,114 @@ declare class SelectDialogComponent implements OnInit {
690
721
 
691
722
  declare class ApplicationDialogService extends DialogService {
692
723
  /**
693
- * Sent to
694
- * @param title : title
695
- * @param text : text
696
- * @param subject : subject
697
- * @param canPopulate: true if the populate fuction is allowed
698
- * @param count : elements to send or null
699
- * @param options : checkable option list
700
- * @param width: the preferred width
701
- */
724
+ * Open a send-to-email dialog.
725
+ * @param title - Dialog title.
726
+ * @param text - Pre-filled message body.
727
+ * @param subject - Pre-filled subject line.
728
+ * @param canPopulate - Whether the populate-recipients action is available.
729
+ * @param count - Number of documents being sent.
730
+ * @param options - Checkable option list.
731
+ * @param width - Maximum dialog width in pixels.
732
+ * @returns The opened dialog reference.
733
+ */
702
734
  sendTo(title?: string, text?: string, subject?: string, canPopulate?: boolean, count?: number, options?: any, width?: number): MatDialogRef<SendToDialogComponent, any>;
703
735
  /**
704
- * Select a tree node
705
- * @param nodes : tree nodes
706
- * @param title : title
707
- * @param description : description
708
- * @param initialFilter : initial filter
709
- * @param width: the preferred width
710
- * @param okCaption : ok catpion button
711
- */
736
+ * Open a tree-node selection dialog.
737
+ * @param nodes - The tree nodes to display.
738
+ * @param title - Dialog title.
739
+ * @param description - Optional description shown below the title.
740
+ * @param initialFilter - Pre-applied filter text.
741
+ * @param width - Maximum dialog width in pixels.
742
+ * @param okCaption - Label for the confirm button.
743
+ * @param canAppend - Whether the append-node action is available.
744
+ * @returns The opened dialog reference.
745
+ */
712
746
  selectTree(nodes: any, title?: string, description?: string, initialFilter?: string, width?: number, okCaption?: string, canAppend?: boolean): MatDialogRef<SelectTreeDialogComponent, any>;
713
747
  /**
714
- * Display a select a picture dialog
715
- * @param title : dialog title
716
- * @param descritpion : brief description
717
- * @param okCaption : ok button caption
718
- * @param options : checkable option list
719
- * @param width: the preferred width
720
- * @param maxSize: the maximum file size accepted in mb
721
- * @param maxPictureWidth: the maximum picture width accepted
722
- * @param maxPictureHeight: the maximum picture height accepted
723
- */
724
- selectPicture(title?: string, descritpion?: string, okCaption?: string, options?: any, width?: number, maxSize?: number, maxPictureWidth?: number, maxPictureHeight?: number): MatDialogRef<SelectPictureDialogComponent, any>;
725
- /**
726
- * Display a select a file dialog
727
- * @param title : dialog title
728
- * @param descritpion : brief description
729
- * @param okCaption : ok button caption
730
- * @param helpLink : help link url
731
- * @param helpCaption : help link caption
732
- * @param options : checkable option list
733
- * @param width: the preferred width
734
- * @param maxSize: the maximum file size accepted in mb
735
- * @param accept: the accepted file extensions
736
- */
737
- selectFile(title?: string, descritpion?: string, okCaption?: string, helpLink?: string, helpCaption?: string, options?: any, width?: number, maxSize?: number, accept?: string): MatDialogRef<SelectFileDialogComponent, any>;
738
- /**
739
- * Display a multipourpose selection and CRUD dialog
740
- * @param data : the dialog configuration model
741
- * @param disableClose : dialog disable close param
742
- * @param closeOnNavigation : dialog close on navigation param
743
- */
748
+ * Open a picture-selection dialog.
749
+ * @param title - Dialog title.
750
+ * @param description - Brief description shown in the dialog.
751
+ * @param okCaption - Label for the confirm button.
752
+ * @param options - Checkable option list.
753
+ * @param width - Maximum dialog width in pixels.
754
+ * @param maxSize - Maximum accepted file size in MB.
755
+ * @param maxPictureWidth - Maximum accepted picture width in pixels.
756
+ * @param maxPictureHeight - Maximum accepted picture height in pixels.
757
+ * @returns The opened dialog reference.
758
+ */
759
+ selectPicture(title?: string, description?: string, okCaption?: string, options?: any, width?: number, maxSize?: number, maxPictureWidth?: number, maxPictureHeight?: number): MatDialogRef<SelectPictureDialogComponent, any>;
760
+ /**
761
+ * Open a file-selection dialog.
762
+ * @param title - Dialog title.
763
+ * @param description - Brief description shown in the dialog.
764
+ * @param okCaption - Label for the confirm button.
765
+ * @param helpLink - URL for the help link.
766
+ * @param helpCaption - Display text for the help link.
767
+ * @param options - Checkable option list.
768
+ * @param width - Maximum dialog width in pixels.
769
+ * @param maxSize - Maximum accepted file size in MB.
770
+ * @param accept - Accepted file extensions (e.g. `.pdf,.docx`).
771
+ * @returns The opened dialog reference.
772
+ */
773
+ selectFile(title?: string, description?: string, okCaption?: string, helpLink?: string, helpCaption?: string, options?: any, width?: number, maxSize?: number, accept?: string): MatDialogRef<SelectFileDialogComponent, any>;
774
+ /**
775
+ * Open a multipurpose selection and CRUD dialog.
776
+ * @param data - The dialog configuration model.
777
+ * @param disableClose - Whether the dialog can be closed by clicking outside.
778
+ * @param closeOnNavigation - Whether the dialog closes on route navigation.
779
+ * @returns The opened dialog reference.
780
+ */
744
781
  select(data: SelectDialogData, disableClose?: boolean, closeOnNavigation?: boolean): MatDialogRef<SelectDialogComponent, any>;
745
782
  /**
746
- * Prompt user to insert a value
747
- * @param title : the dialog title
748
- * @param type : the input type
749
- * @param description : the placeholder description
750
- * @param initialValue : the initial value
751
- * @param okCaption : ok button caption
752
- * @param cancelCaption : cancel button caption
753
- * @param options : checkable option list
754
- * @param width: the preferred width
755
- * @param required: true if the input is required
756
- */
783
+ * Prompt the user to enter a value.
784
+ * @param title - Dialog title.
785
+ * @param type - The input type (default, text, number, etc.).
786
+ * @param description - Placeholder or description text.
787
+ * @param initialValue - Pre-filled value.
788
+ * @param okCaption - Label for the confirm button.
789
+ * @param cancelCaption - Label for the cancel button.
790
+ * @param options - Checkable option list.
791
+ * @param width - Maximum dialog width in pixels.
792
+ * @param required - Whether the input is required.
793
+ * @returns The opened dialog reference.
794
+ */
757
795
  prompt(title: string, type?: PromptDialogType, description?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptDialogComponent>;
758
796
  /**
759
- * Prompt user to insert a date or date interval
760
- * @param title : the dialog title
761
- * @param type : Date or DateInterval
762
- * @param description : the placeholder description
763
- * @param initialValue : the initial value
764
- * @param okCaption : ok button caption
765
- * @param cancelCaption : cancel button caption
766
- * @param options : checkable option list
767
- * @param width: the preferred width
768
- * @param required: true if the input is required
797
+ * Prompt the user to enter a date or date interval.
798
+ * @param title - Dialog title.
799
+ * @param type - Date or DateInterval.
800
+ * @param description - Placeholder or description text.
801
+ * @param initialValue - Pre-filled value.
802
+ * @param okCaption - Label for the confirm button.
803
+ * @param cancelCaption - Label for the cancel button.
804
+ * @param options - Checkable option list.
805
+ * @param width - Maximum dialog width in pixels.
806
+ * @param required - Whether the input is required.
807
+ * @returns The opened dialog reference.
769
808
  */
770
809
  promptDate(title: string, type?: PromptDialogType.Date | PromptDialogType.DateInterval, description?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptDateDialogComponent>;
771
810
  /**
772
- * Prompt user to insert a time value
773
- * @param title : the dialog title
774
- * @param description : the placeholder description
775
- * @param slots : time slots (optional)
776
- * @param initialValue : the initial value
777
- * @param okCaption : ok button caption
778
- * @param cancelCaption : cancel button caption
779
- * @param options : checkable option list
780
- * @param width: the preferred width
781
- * @param required: true if the input is required
811
+ * Prompt the user to enter a time value.
812
+ * @param title - Dialog title.
813
+ * @param description - Placeholder or description text.
814
+ * @param slots - Optional time slots string.
815
+ * @param initialValue - Pre-filled value.
816
+ * @param okCaption - Label for the confirm button.
817
+ * @param cancelCaption - Label for the cancel button.
818
+ * @param options - Checkable option list.
819
+ * @param width - Maximum dialog width in pixels.
820
+ * @param required - Whether the input is required.
821
+ * @returns The opened dialog reference.
782
822
  */
783
823
  promptTime(title: string, description?: string, slots?: string, initialValue?: any, okCaption?: string, cancelCaption?: string, options?: any, width?: number, required?: boolean): MatDialogRef<PromptTimeDialogComponent>;
784
824
  /**
785
- * Prompt user to insert an OTP code
786
- * @param title : the dialog title
787
- * @param description : the description text
788
- * @param okCaption : ok button caption
789
- * @param cancelCaption : cancel button caption
790
- * @param width: the preferred width
825
+ * Prompt the user to enter an OTP code.
826
+ * @param title - Dialog title.
827
+ * @param description - Description text shown in the dialog.
828
+ * @param okCaption - Label for the confirm button.
829
+ * @param cancelCaption - Label for the cancel button.
830
+ * @param width - Maximum dialog width in pixels.
831
+ * @returns The opened dialog reference.
791
832
  */
792
833
  promptOtp(title?: string, description?: string, okCaption?: string, cancelCaption?: string, width?: number): MatDialogRef<PromptOtpDialogComponent>;
793
834
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ApplicationDialogService, never>;
@@ -800,19 +841,256 @@ declare class ArsUIApplicationModule {
800
841
  static ɵinj: _angular_core.ɵɵInjectorDeclaration<ArsUIApplicationModule>;
801
842
  }
802
843
 
803
- declare class FileInputComponent implements OnInit, OnDestroy, DoCheck, OnChanges, MatFormFieldControl<FileInfo>, ControlValueAccessor {
844
+ declare class ButtonSelectorComponent implements OnInit, OnDestroy, ControlValueAccessor {
845
+ ngControl: NgControl;
846
+ /** Emitted whenever the selected value changes (including programmatic resets). */
847
+ readonly changed: _angular_core.OutputEmitterRef<NameValueItem<any>>;
848
+ /** Emitted when the user explicitly picks an item from the menu. */
849
+ readonly selected: _angular_core.OutputEmitterRef<NameValueItem<any>>;
850
+ private readonly stateChanges;
851
+ private focused;
852
+ private _value;
853
+ set value(value: NameValueItem<any> | undefined);
854
+ get value(): NameValueItem<any> | undefined;
855
+ private _disabled;
856
+ get disabled(): boolean;
857
+ set disabled(value: boolean);
858
+ private propagateChange;
859
+ private propagateTouched;
860
+ id: string;
861
+ describedBy: string;
862
+ private renderer;
863
+ /** Currently selected item, kept in sync with the form control value. */
864
+ protected current: _angular_core.WritableSignal<NameValueItem<any>>;
865
+ /** Width of the trigger button in pixels. Use `-1` for 100 %, `0` for `auto`. */
866
+ readonly width: _angular_core.InputSignal<number>;
867
+ /** Border thickness override. Use `-1` to inherit. */
868
+ readonly border: _angular_core.InputSignal<number>;
869
+ /** CSS border-radius of the trigger button. Defaults to a pill shape. */
870
+ readonly borderRadius: _angular_core.InputSignal<string>;
871
+ /** Placeholder label shown when nothing is selected. */
872
+ readonly label: _angular_core.InputSignal<string>;
873
+ /** Label shown above the selected value (replaces `label` when an item is selected). */
874
+ readonly labelSelected: _angular_core.InputSignal<string>;
875
+ /** List of selectable options. */
876
+ readonly options: _angular_core.InputSignal<NameValueItem<any>[]>;
877
+ /** When `true`, the first available option is pre-selected on init. */
878
+ readonly autoSelect: _angular_core.InputSignal<boolean>;
879
+ constructor(ngControl: NgControl);
880
+ ngOnInit(): void;
881
+ ngOnDestroy(): void;
882
+ /**
883
+ * Writes a new value to the component (called by the form layer).
884
+ * @param value - The new value to display.
885
+ */
886
+ writeValue(value: any): void;
887
+ /**
888
+ * Registers the on-change callback (called by the form layer).
889
+ * @param fn - Callback to invoke whenever the value changes.
890
+ */
891
+ registerOnChange(fn: (_: any) => void): void;
892
+ /**
893
+ * Registers the on-touched callback (called by the form layer).
894
+ * @param fn - Callback to invoke when the control is touched.
895
+ */
896
+ registerOnTouched(fn: () => void): void;
897
+ setDescribedByIds(ids: string[]): void;
898
+ setDisabledState?(isDisabled: boolean): void;
899
+ onContainerClick(): void;
900
+ /**
901
+ * Selects an option and optionally emits the `selected` output event.
902
+ * @param item - The item to select.
903
+ * @param notify - When `true` (default), emits the `selected` event.
904
+ */
905
+ select(item: NameValueItem<any>, notify?: boolean): void;
906
+ /** Clears the current selection and resets the control to an empty state. */
907
+ reset(): void;
908
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonSelectorComponent, [{ optional: true; self: true; }]>;
909
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonSelectorComponent, "button-selector", never, { "disabled": { "alias": "disabled"; "required": false; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelSelected": { "alias": "labelSelected"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "autoSelect": { "alias": "autoSelect"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "selected": "selected"; }, never, never, true, never>;
910
+ }
911
+
912
+ interface ButtonToggleInfo {
913
+ value: boolean;
914
+ toggled: boolean;
915
+ }
916
+ declare class ButtonToggleComponent {
917
+ /** Emitted each time the button is clicked. Carries the current `value` and the new `toggled` state. */
918
+ readonly changed: _angular_core.OutputEmitterRef<ButtonToggleInfo>;
919
+ /** Tracks whether the button has been toggled (opposite of the current `value` input). */
920
+ protected readonly toggled: _angular_core.WritableSignal<boolean>;
921
+ /** Current value bound from the parent. Drives label and icon selection. */
922
+ readonly value: _angular_core.InputSignal<boolean>;
923
+ /** Width of the button in pixels. Use `-1` for automatic sizing. */
924
+ readonly width: _angular_core.InputSignal<number>;
925
+ /** Border thickness override in pixels. Use `-1` to inherit. */
926
+ readonly border: _angular_core.InputSignal<number>;
927
+ /** Label shown when `value` is `true`. */
928
+ readonly labelOn: _angular_core.InputSignal<string>;
929
+ /** Label shown when `value` is `false`. */
930
+ readonly labelOff: _angular_core.InputSignal<string>;
931
+ /** Material icon name shown when `value` is `true`. */
932
+ readonly iconOn: _angular_core.InputSignal<string>;
933
+ /** Material icon name shown when `value` is `false`. */
934
+ readonly iconOff: _angular_core.InputSignal<string>;
935
+ /** CSS class applied to the button at all breakpoints. */
936
+ readonly cssClass: _angular_core.InputSignal<string>;
937
+ /** CSS class applied to the button on `xs` screens. */
938
+ readonly cssClassSmall: _angular_core.InputSignal<string>;
939
+ /** Resolves the appropriate label for the current value state. */
940
+ protected readonly label: _angular_core.Signal<string>;
941
+ /** Resolves the appropriate icon name for the current value state. */
942
+ protected readonly icon: _angular_core.Signal<string>;
943
+ /**
944
+ * Toggles the button state and emits the `changed` event.
945
+ * The emitted `toggled` value is the logical inverse of the current `value`.
946
+ */
947
+ toggle(): void;
948
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonToggleComponent, never>;
949
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonToggleComponent, "button-toggle", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "labelOn": { "alias": "labelOn"; "required": false; "isSignal": true; }; "labelOff": { "alias": "labelOff"; "required": false; "isSignal": true; }; "iconOn": { "alias": "iconOn"; "required": false; "isSignal": true; }; "iconOff": { "alias": "iconOff"; "required": false; "isSignal": true; }; "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "cssClassSmall": { "alias": "cssClassSmall"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
950
+ }
951
+
952
+ /**
953
+ * A blank calendar header that hides the month/year navigation controls.
954
+ * Used when an inline calendar should render without any navigation UI.
955
+ */
956
+ declare class CalendarEmptyHeader<D> {
957
+ private readonly destroyRef;
958
+ private readonly calendar;
959
+ private readonly changeDetector;
960
+ constructor();
961
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalendarEmptyHeader<any>, never>;
962
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalendarEmptyHeader<any>, "ng-component", never, {}, {}, never, never, true, never>;
963
+ }
964
+
965
+ declare class ChipsSelectorComponent implements OnInit, OnDestroy, AfterContentInit, ControlValueAccessor {
966
+ ngControl: NgControl;
967
+ /** Emitted when the selection changes. Carries the new array of selected items, or `undefined` when cleared. */
968
+ readonly changed: _angular_core.OutputEmitterRef<NameValueItem<any>[]>;
969
+ protected readonly containerId: string;
970
+ protected containerWidth: _angular_core.WritableSignal<number>;
971
+ private focused;
972
+ private readonly stateChanges;
973
+ private readonly destroyRef;
974
+ private changesEnabled;
975
+ /** List of available options to display as chips. */
976
+ readonly options: _angular_core.InputSignal<NameValueItem<any>[]>;
977
+ /** Minimum width in pixels when collapsed. Use `-1` for automatic. */
978
+ readonly collapsedWidth: _angular_core.InputSignal<number>;
979
+ /** Display mode used when the selector is in collapsed state. */
980
+ readonly collapsedDisplayMode: _angular_core.InputSignal<"button" | "dropdown">;
981
+ /** Pixel threshold below which the selector collapses. Use `-1` to disable. */
982
+ readonly collapseAt: _angular_core.InputSignal<number>;
983
+ /** When `true`, `collapseAt` is compared against the container width rather than the window width. */
984
+ readonly collapseAtContainer: _angular_core.InputSignal<boolean>;
985
+ protected readonly collapsed: _angular_core.Signal<boolean>;
986
+ /** Label shown in the dropdown / above the chip list. */
987
+ readonly label: _angular_core.InputSignal<string>;
988
+ /** When `true`, multiple chips can be selected simultaneously. */
989
+ readonly multiple: _angular_core.InputSignal<boolean>;
990
+ /** When `true`, at least one item must remain selected. */
991
+ readonly mustSelect: _angular_core.InputSignal<boolean>;
992
+ /** Layout mode: `'collapsed'` forces dropdown mode, `'dynamic'` collapses based on `collapseAt`. */
993
+ readonly mode: _angular_core.InputSignal<"collapsed" | "dynamic">;
994
+ /** When `true`, chips are stacked vertically instead of wrapping horizontally. */
995
+ readonly stacked: _angular_core.InputSignal<boolean>;
996
+ /** Chips below this index receive extra padding to align with other UI elements. */
997
+ readonly padAt: _angular_core.InputSignal<number>;
998
+ private _value?;
999
+ set value(value: NameValueItem<any>[] | undefined);
1000
+ get value(): NameValueItem<any>[] | undefined;
1001
+ get empty(): boolean;
1002
+ get errorState(): boolean;
1003
+ private _required;
1004
+ get required(): boolean;
1005
+ set required(value: boolean);
1006
+ private _disabled;
1007
+ get disabled(): boolean;
1008
+ set disabled(value: boolean);
1009
+ private _placeholder;
1010
+ get placeholder(): string;
1011
+ set placeholder(value: string);
1012
+ private propagateChange;
1013
+ private propagateTouched;
1014
+ id: string;
1015
+ get shouldLabelFloat(): boolean;
1016
+ describedBy: string;
1017
+ private renderer;
1018
+ /** Currently selected items (may contain multiple entries when `multiple` is `true`). */
1019
+ protected selection: NameValueItem<any>[];
1020
+ /** The single selected item — used in `button` collapsed-display mode. */
1021
+ protected singleSelection?: NameValueItem<any>;
1022
+ constructor(ngControl: NgControl);
1023
+ ngOnInit(): void;
1024
+ ngOnDestroy(): void;
1025
+ ngAfterContentInit(): void;
1026
+ /**
1027
+ * Measures the container (or window) width and updates the `containerWidth` signal,
1028
+ * retrying after 100 ms if the element is not yet laid out.
1029
+ */
1030
+ private updateContainerWidth;
1031
+ /**
1032
+ * Resolves the effective selection array for the current display mode.
1033
+ * In single-select collapsed button mode the `singleSelection` item is wrapped in an array.
1034
+ * @returns The array of currently selected items.
1035
+ */
1036
+ private getSelection;
1037
+ /**
1038
+ * Schedules a value update after a short delay, giving the template time to sync `ngModel`.
1039
+ */
1040
+ updateValue(): void;
1041
+ /**
1042
+ * Returns `true` when the given item can be selected in the current mode.
1043
+ * In single-select mode an already-selected item is not re-selectable.
1044
+ * @param item - The item to check.
1045
+ */
1046
+ isSelectable(item: NameValueItem<any>): boolean;
1047
+ /**
1048
+ * Writes a new value to the component (called by the form layer).
1049
+ * @param value - The new selection to display.
1050
+ */
1051
+ writeValue(value: any): void;
1052
+ /**
1053
+ * Registers the on-change callback (called by the form layer).
1054
+ * @param fn - Callback to invoke whenever the value changes.
1055
+ */
1056
+ registerOnChange(fn: (_: any) => void): void;
1057
+ /**
1058
+ * Registers the on-touched callback (called by the form layer).
1059
+ * @param fn - Callback to invoke when the control is touched.
1060
+ */
1061
+ registerOnTouched(fn: () => void): void;
1062
+ setDescribedByIds(ids: string[]): void;
1063
+ setDisabledState?(isDisabled: boolean): void;
1064
+ onContainerClick(): void;
1065
+ /**
1066
+ * Clears the current selection and stops the event from bubbling.
1067
+ * @param e - The originating click event.
1068
+ */
1069
+ clear(e: Event): void;
1070
+ /**
1071
+ * Selects a single item, replacing any existing selection.
1072
+ * @param item - The item to select. Does nothing when `undefined`.
1073
+ */
1074
+ select(item?: NameValueItem<any>): void;
1075
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChipsSelectorComponent, [{ optional: true; self: true; }]>;
1076
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChipsSelectorComponent, "chips-selector", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "collapsedWidth": { "alias": "collapsedWidth"; "required": false; "isSignal": true; }; "collapsedDisplayMode": { "alias": "collapsedDisplayMode"; "required": false; "isSignal": true; }; "collapseAt": { "alias": "collapseAt"; "required": false; "isSignal": true; }; "collapseAtContainer": { "alias": "collapseAtContainer"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "mustSelect": { "alias": "mustSelect"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "padAt": { "alias": "padAt"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
1077
+ }
1078
+
1079
+ declare class FileInputComponent implements OnInit, OnDestroy, DoCheck, MatFormFieldControl<FileInfo>, ControlValueAccessor {
804
1080
  ngControl: NgControl;
805
1081
  __file: ElementRef;
806
1082
  private readonly renderer;
807
1083
  private readonly uiService;
808
- private readonly changeDetector;
809
1084
  static nextId: number;
810
1085
  readonly stateChanges: Subject<void>;
811
1086
  private previousNativeValue;
812
1087
  controlType: string;
813
1088
  focused: boolean;
814
- protected fileSize: number;
815
- protected canCapture: boolean;
1089
+ /** Whether the device supports camera capture. */
1090
+ protected readonly canCapture: _angular_core.WritableSignal<boolean>;
1091
+ /** Size in MB of the currently selected file. */
1092
+ protected readonly fileSize: _angular_core.WritableSignal<number>;
1093
+ private readonly _placeholder;
816
1094
  private _value;
817
1095
  set value(value: FileInfo);
818
1096
  get value(): FileInfo;
@@ -823,7 +1101,6 @@ declare class FileInputComponent implements OnInit, OnDestroy, DoCheck, OnChange
823
1101
  private _disabled;
824
1102
  get disabled(): boolean;
825
1103
  set disabled(value: boolean);
826
- private _placeholder;
827
1104
  get placeholder(): string;
828
1105
  set placeholder(value: string);
829
1106
  fileName?: string;
@@ -846,39 +1123,63 @@ declare class FileInputComponent implements OnInit, OnDestroy, DoCheck, OnChange
846
1123
  constructor(ngControl: NgControl);
847
1124
  ngOnInit(): Promise<void>;
848
1125
  /**
849
- * Setup capture devices
1126
+ * Detects camera availability and updates the placeholder accordingly.
850
1127
  */
851
- setupDevices(): Promise<void>;
1128
+ private setupDevices;
852
1129
  ngOnDestroy(): void;
853
1130
  ngDoCheck(): void;
854
- ngOnChanges(changes: SimpleChanges): void;
1131
+ /**
1132
+ * Writes a new value to the component (called by the form layer).
1133
+ * @param value - The new file info to display.
1134
+ */
855
1135
  writeValue(value: any): void;
1136
+ /**
1137
+ * Registers the on-change callback (called by the form layer).
1138
+ * @param fn - Callback to invoke whenever the value changes.
1139
+ */
856
1140
  registerOnChange(fn: any): void;
1141
+ /**
1142
+ * Registers the on-touched callback (called by the form layer).
1143
+ * @param fn - Callback to invoke when the control is touched.
1144
+ */
857
1145
  registerOnTouched(fn: any): void;
1146
+ /**
1147
+ * Sets the ARIA describedby attribute from the given element IDs.
1148
+ * @param ids - Array of element IDs that describe this control.
1149
+ */
858
1150
  setDescribedByIds(ids: string[]): void;
1151
+ /**
1152
+ * Updates the disabled state of the underlying native element.
1153
+ * @param isDisabled - Whether the control should be disabled.
1154
+ */
859
1155
  setDisabledState?(isDisabled: boolean): void;
1156
+ /** Focuses the native input element and marks the control as touched. */
860
1157
  onContainerClick(): void;
1158
+ /**
1159
+ * Checks whether the value has changed since the last dirty check and emits `stateChanges` if needed.
1160
+ */
861
1161
  protected updateInputDirtyCheck(): void;
862
1162
  /**
863
- * Select a file
864
- * @param e : event
1163
+ * Handles file selection from the native input element.
1164
+ * @param e - The DOM change event from the file input.
865
1165
  */
866
- protected selectFile(e: any): void;
1166
+ protected selectFile(e: Event): void;
867
1167
  /**
868
- * Check if a file has been selected
1168
+ * Checks whether a file is currently selected.
1169
+ * @returns `true` if a file is attached to the current value.
869
1170
  */
870
1171
  protected hasFile(): boolean;
871
1172
  /**
872
- * Clear file
1173
+ * Clears the currently selected file and resets the control.
873
1174
  */
874
1175
  protected clearFile(): void;
875
1176
  /**
876
- * Download
1177
+ * Emits the `download` output event if the file is not newly added.
877
1178
  */
878
1179
  protected downloadFile(): void;
879
1180
  /**
880
- * Preview
881
- */
1181
+ * Emits the `preview` output event if the file is not new and preview is enabled.
1182
+ */
882
1183
  protected previewFile(): void;
883
1184
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FileInputComponent, [{ optional: true; self: true; }]>;
884
1185
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FileInputComponent, "file-input", never, { "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "maxSizeMb": { "alias": "maxSizeMb"; "required": false; "isSignal": true; }; "minSizeMb": { "alias": "minSizeMb"; "required": false; "isSignal": true; }; "isNew": { "alias": "isNew"; "required": false; "isSignal": true; }; "canPreview": { "alias": "canPreview"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "download": "download"; "preview": "preview"; }, never, never, true, never>;
@@ -889,33 +1190,31 @@ interface FilePreviewDialogData {
889
1190
  embed?: boolean;
890
1191
  authToken?: string;
891
1192
  }
892
- declare class FilePreviewComponent implements OnInit, OnDestroy {
1193
+ declare class FilePreviewComponent {
893
1194
  readonly iframe: _angular_core.Signal<ElementRef<any>>;
894
1195
  private readonly httpClient;
895
1196
  private readonly dialogService;
896
1197
  protected readonly dialogData: FilePreviewDialogData;
897
1198
  protected readonly url: _angular_core.WritableSignal<string>;
898
- ngOnInit(): void;
899
- ngOnDestroy(): void;
1199
+ constructor();
900
1200
  /**
901
- * Load completed
1201
+ * Handles the iframe load event: scrolls to the top and centers a single image when present.
902
1202
  */
903
1203
  protected loaded(): void;
904
1204
  /**
905
- * Download manually
1205
+ * Opens the current file URL in a new browser tab for manual download.
906
1206
  */
907
1207
  protected download(): void;
908
1208
  /**
909
- * Troubles with pdf?
1209
+ * Displays a help dialog with browser-specific instructions for enabling PDF preview.
910
1210
  */
911
1211
  protected troubles(): void;
912
1212
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilePreviewComponent, never>;
913
1213
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilePreviewComponent, "ng-component", never, {}, {}, never, never, true, never>;
914
1214
  }
915
1215
 
916
- declare class FilterBarComponent implements OnInit {
1216
+ declare class FilterBarComponent {
917
1217
  readonly changed: _angular_core.OutputEmitterRef<CurrentFilterChanged>;
918
- private readonly changeDetector;
919
1218
  readonly filters: _angular_core.InputSignal<any>;
920
1219
  readonly canFilterByFlt1: _angular_core.WritableSignal<boolean>;
921
1220
  readonly canFilterByFlt2: _angular_core.WritableSignal<boolean>;
@@ -939,218 +1238,49 @@ declare class FilterBarComponent implements OnInit {
939
1238
  protected text?: string;
940
1239
  protected text2?: string;
941
1240
  protected text3?: string;
942
- protected flt1: FilterGroup;
943
- protected flt2: FilterGroup;
944
- protected flt3: FilterGroup;
945
- protected flt4: FilterGroup;
946
- protected flt5: FilterGroup;
1241
+ protected flt1: FilterGroup | undefined;
1242
+ protected flt2: FilterGroup | undefined;
1243
+ protected flt3: FilterGroup | undefined;
1244
+ protected flt4: FilterGroup | undefined;
1245
+ protected flt5: FilterGroup | undefined;
947
1246
  readonly currentFilter: CurrentFilter;
948
1247
  constructor();
949
- ngOnInit(): void;
1248
+ /** Reads the `filters` input and populates the filter group fields and capability signals. */
950
1249
  initializeFilters(): void;
951
1250
  /**
952
- * Apply a filter
953
- * @param filter : the filter to apply
1251
+ * Applies the selected filter item to the current filter state and emits the change.
1252
+ * @param filter - The filter item to apply.
954
1253
  */
955
1254
  applyFilter(filter: FilterItem): void;
956
1255
  /**
957
- * Apply a filter action
958
- * @param filter : the filter to apply
959
- * @param clear : true if the filter mus be removed
960
- * @param event : the click event
1256
+ * Executes the action associated with a filter group, or clears the filter.
1257
+ * @param group - The filter group number.
1258
+ * @param clear - When `true`, clears the filter instead of triggering its action.
961
1259
  */
962
1260
  applyFilterAction(group: number, clear?: boolean): void;
963
- /**
964
- * Apply text filter
965
- */
1261
+ /** Commits the current text inputs to the filter state and emits the change. */
966
1262
  applyTextFilter(): void;
967
1263
  /**
968
- * Clear a filter
969
- * @param group : the filter group
1264
+ * Clears the active filter for the specified group and emits the change if it was set.
1265
+ * @param group - The filter group number to clear.
970
1266
  */
971
1267
  clearFilter(group: number): void;
972
- /**
973
- * Clear all filters
974
- */
1268
+ /** Resets all active filters and text inputs, then emits the change. */
975
1269
  clearAllFilters(): void;
976
1270
  /**
977
- * Check if can clear all filters button cab be showed
1271
+ * Returns `true` when more than one filter type is active, showing the "clear all" button.
978
1272
  */
979
1273
  canClearAllFilters(): boolean;
980
1274
  /**
981
- * Get the filter group
982
- * @param id : the filter id
1275
+ * Returns the filter group matching the given id, or `undefined` if not found.
1276
+ * @param id - The group id to look up.
983
1277
  */
984
1278
  private getFilterGroup;
985
- /**
986
- * Update filter bar using current search params
987
- * @param params : search params
988
- */
1279
+ /** Synchronises the filter bar display with the values currently stored in `currentFilter`. */
989
1280
  syncFilter(): void;
990
1281
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterBarComponent, never>;
991
1282
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterBarComponent, "filter-bar", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "canFilterByText": { "alias": "canFilterByText"; "required": false; "isSignal": true; }; "canFilterByText2": { "alias": "canFilterByText2"; "required": false; "isSignal": true; }; "canFilterByText3": { "alias": "canFilterByText3"; "required": false; "isSignal": true; }; "initialText": { "alias": "initialText"; "required": false; "isSignal": true; }; "initialText2": { "alias": "initialText2"; "required": false; "isSignal": true; }; "initialText3": { "alias": "initialText3"; "required": false; "isSignal": true; }; "textName": { "alias": "textName"; "required": false; "isSignal": true; }; "text2Name": { "alias": "text2Name"; "required": false; "isSignal": true; }; "text3Name": { "alias": "text3Name"; "required": false; "isSignal": true; }; "textLength": { "alias": "textLength"; "required": false; "isSignal": true; }; "text2Length": { "alias": "text2Length"; "required": false; "isSignal": true; }; "text3Length": { "alias": "text3Length"; "required": false; "isSignal": true; }; "showTextSearchButton": { "alias": "showTextSearchButton"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
992
1283
  }
993
1284
 
994
- declare class CalendarEmptyHeader<D> {
995
- private readonly destroyRef;
996
- private readonly calendar;
997
- private readonly changeDetector;
998
- constructor();
999
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalendarEmptyHeader<any>, never>;
1000
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CalendarEmptyHeader<any>, "ng-component", never, {}, {}, never, never, true, never>;
1001
- }
1002
-
1003
- declare class ChipsSelectorComponent implements OnInit, OnDestroy, AfterContentInit, ControlValueAccessor {
1004
- ngControl: NgControl;
1005
- readonly changed: _angular_core.OutputEmitterRef<NameValueItem<any>[]>;
1006
- protected readonly containerId: string;
1007
- protected containerWidth: _angular_core.WritableSignal<number>;
1008
- private focused;
1009
- private readonly stateChanges;
1010
- private readonly destroyRef;
1011
- private readonly changeDetector;
1012
- private changesEnabled;
1013
- readonly options: _angular_core.InputSignal<NameValueItem<any>[]>;
1014
- readonly collapsedWidth: _angular_core.InputSignal<number>;
1015
- readonly collapsedDisplayMode: _angular_core.InputSignal<"dropdown" | "button">;
1016
- readonly collapseAt: _angular_core.InputSignal<number>;
1017
- readonly collapseAtContainer: _angular_core.InputSignal<boolean>;
1018
- protected readonly collapsed: _angular_core.Signal<boolean>;
1019
- readonly label: _angular_core.InputSignal<string>;
1020
- readonly multiple: _angular_core.InputSignal<boolean>;
1021
- readonly mustSelect: _angular_core.InputSignal<boolean>;
1022
- readonly mode: _angular_core.InputSignal<"collapsed" | "dynamic">;
1023
- readonly stacked: _angular_core.InputSignal<boolean>;
1024
- readonly padAt: _angular_core.InputSignal<number>;
1025
- private _value?;
1026
- set value(value: NameValueItem<any>[] | undefined);
1027
- get value(): NameValueItem<any>[] | undefined;
1028
- get empty(): boolean;
1029
- get errorState(): boolean;
1030
- private _required;
1031
- get required(): boolean;
1032
- set required(value: boolean);
1033
- private _disabled;
1034
- get disabled(): boolean;
1035
- set disabled(value: boolean);
1036
- private _placeholder;
1037
- get placeholder(): string;
1038
- set placeholder(value: string);
1039
- private propagateChange;
1040
- private propagateTouched;
1041
- id: string;
1042
- get shouldLabelFloat(): boolean;
1043
- describedBy: string;
1044
- private renderer;
1045
- protected selection: NameValueItem<any>[];
1046
- protected singleSelection?: NameValueItem<any>;
1047
- constructor(ngControl: NgControl);
1048
- ngOnInit(): void;
1049
- ngOnDestroy(): void;
1050
- ngAfterContentInit(): void;
1051
- /**
1052
- * Update container width
1053
- */
1054
- private updateContainerWidth;
1055
- /**
1056
- * Get current selection
1057
- * @returns current selection
1058
- */
1059
- private getSelection;
1060
- /**
1061
- * Update current value with a little delay
1062
- */
1063
- updateValue(): void;
1064
- /**
1065
- * Check if a item is selectable
1066
- * @param item: the item to check
1067
- */
1068
- isSelectable(item: NameValueItem<any>): boolean;
1069
- writeValue(value: any): void;
1070
- registerOnChange(fn: any): void;
1071
- registerOnTouched(fn: any): void;
1072
- setDescribedByIds(ids: string[]): void;
1073
- setDisabledState?(isDisabled: boolean): void;
1074
- onContainerClick(): void;
1075
- /**
1076
- * Clear selection
1077
- * @param e : the click event
1078
- */
1079
- clear(e: Event): void;
1080
- select(item?: NameValueItem<any>): void;
1081
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChipsSelectorComponent, [{ optional: true; self: true; }]>;
1082
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChipsSelectorComponent, "chips-selector", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "collapsedWidth": { "alias": "collapsedWidth"; "required": false; "isSignal": true; }; "collapsedDisplayMode": { "alias": "collapsedDisplayMode"; "required": false; "isSignal": true; }; "collapseAt": { "alias": "collapseAt"; "required": false; "isSignal": true; }; "collapseAtContainer": { "alias": "collapseAtContainer"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "mustSelect": { "alias": "mustSelect"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "padAt": { "alias": "padAt"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "changed": "changed"; }, never, never, true, never>;
1083
- }
1084
-
1085
- declare class ButtonSelectorComponent implements OnInit, OnDestroy, ControlValueAccessor {
1086
- ngControl: NgControl;
1087
- readonly changed: _angular_core.OutputEmitterRef<NameValueItem<any>>;
1088
- readonly selected: _angular_core.OutputEmitterRef<NameValueItem<any>>;
1089
- private readonly changeDetector;
1090
- private readonly stateChanges;
1091
- private focused;
1092
- private _value;
1093
- set value(value: NameValueItem<any> | undefined);
1094
- get value(): NameValueItem<any> | undefined;
1095
- private _disabled;
1096
- get disabled(): boolean;
1097
- set disabled(value: boolean);
1098
- private propagateChange;
1099
- private propagateTouched;
1100
- id: string;
1101
- describedBy: string;
1102
- private renderer;
1103
- protected current: _angular_core.WritableSignal<NameValueItem<any>>;
1104
- readonly width: _angular_core.InputSignal<number>;
1105
- readonly border: _angular_core.InputSignal<number>;
1106
- readonly borderRadius: _angular_core.InputSignal<string>;
1107
- readonly label: _angular_core.InputSignal<string>;
1108
- readonly labelSelected: _angular_core.InputSignal<string>;
1109
- readonly options: _angular_core.InputSignal<NameValueItem<any>[]>;
1110
- readonly autoSelect: _angular_core.InputSignal<boolean>;
1111
- constructor(ngControl: NgControl);
1112
- ngOnInit(): void;
1113
- ngOnDestroy(): void;
1114
- writeValue(value: any): void;
1115
- registerOnChange(fn: any): void;
1116
- registerOnTouched(fn: any): void;
1117
- setDescribedByIds(ids: string[]): void;
1118
- setDisabledState?(isDisabled: boolean): void;
1119
- onContainerClick(): void;
1120
- /**
1121
- * Select an element
1122
- * @param item : the item to select
1123
- * @param notify: true if selection notification must be rised. Default is true
1124
- */
1125
- select(item: NameValueItem<any>, notify?: boolean): void;
1126
- reset(): void;
1127
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonSelectorComponent, [{ optional: true; self: true; }]>;
1128
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonSelectorComponent, "button-selector", never, { "disabled": { "alias": "disabled"; "required": false; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "borderRadius": { "alias": "borderRadius"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelSelected": { "alias": "labelSelected"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "autoSelect": { "alias": "autoSelect"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "selected": "selected"; }, never, never, true, never>;
1129
- }
1130
-
1131
- interface ButtonToggleInfo {
1132
- value: boolean;
1133
- toggled: boolean;
1134
- }
1135
- declare class ButtonToggleComponent {
1136
- readonly changed: _angular_core.OutputEmitterRef<ButtonToggleInfo>;
1137
- protected readonly current: _angular_core.Signal<boolean>;
1138
- toggled: boolean;
1139
- readonly value: _angular_core.InputSignal<boolean>;
1140
- readonly width: _angular_core.InputSignal<number>;
1141
- readonly border: _angular_core.InputSignal<number>;
1142
- readonly labelOn: _angular_core.InputSignal<string>;
1143
- readonly labelOff: _angular_core.InputSignal<string>;
1144
- readonly iconOn: _angular_core.InputSignal<string>;
1145
- readonly iconOff: _angular_core.InputSignal<string>;
1146
- readonly cssClass: _angular_core.InputSignal<string>;
1147
- readonly cssClassSmall: _angular_core.InputSignal<string>;
1148
- protected readonly label: _angular_core.Signal<string>;
1149
- protected readonly icon: _angular_core.Signal<string>;
1150
- toggle(): void;
1151
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonToggleComponent, never>;
1152
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonToggleComponent, "button-toggle", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "labelOn": { "alias": "labelOn"; "required": false; "isSignal": true; }; "labelOff": { "alias": "labelOff"; "required": false; "isSignal": true; }; "iconOn": { "alias": "iconOn"; "required": false; "isSignal": true; }; "iconOff": { "alias": "iconOff"; "required": false; "isSignal": true; }; "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "cssClassSmall": { "alias": "cssClassSmall"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, true, never>;
1153
- }
1154
-
1155
1285
  export { ApplicationDialogService, ArsUIApplicationModule, ButtonSelectorComponent, ButtonToggleComponent, CalendarEmptyHeader, ChipsSelectorComponent, CurrentFilter, CurrentFilterChanged, CurrentFilterItem, FileInputComponent, FilePreviewComponent, FilterBarComponent, Filters, ItemNode, PromptDateDialogComponent, PromptDialogComponent, PromptDialogType, PromptOtpDialogComponent, PromptTimeDialogComponent, ResizeTableColumnDirective, SelectDialogComponent, SelectFileDialogComponent, SelectPictureDialogComponent, SelectTreeDialogComponent, SelectableItem, SelectableNode, SendToDialogComponent, TreeDataSource };
1156
1286
  export type { ButtonToggleInfo, FilePreviewDialogData, FilterGroup, FilterItem, ISelectableItem, PromptDateDialogResult, PromptDialogData, PromptDialogResult, PromptOtpDialogResult, PromptTimeDialogData, SelectDialogAppend, SelectDialogData, SelectDialogDelete, SelectDialogEdit, SelectDialogFilter, SelectDialogLookup, SelectDialogResult, SelectFile, SelectFileDialogData, SelectFileOption, SelectPictureFileDialogData, SelectTreeDialogAppend, SelectTreeDialogData, SelectTreeDialogResult, SelectableFilter, SendToDialogData, SendToDialogResult, SendToPopulateData };