@arsedizioni/ars-utils 20.3.36 → 20.3.37

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.
@@ -1033,7 +1033,7 @@ declare class ClipperDocumentMenuComponent implements OnInit, OnDestroy {
1033
1033
  private changeDetector;
1034
1034
  private clipperService;
1035
1035
  readonly useSelections: _angular_core.InputSignal<boolean>;
1036
- readonly selectionSource: _angular_core.InputSignal<"selection" | "bag" | "none">;
1036
+ readonly selectionSource: _angular_core.InputSignal<"none" | "selection" | "bag">;
1037
1037
  protected selection: () => ClipperDocumentInfo[];
1038
1038
  readonly parent: _angular_core.InputSignal<ClipperSearchResultManager>;
1039
1039
  readonly item: _angular_core.InputSignal<ClipperDocumentInfo>;
@@ -1429,8 +1429,9 @@ class ApplicationDialogService {
1429
1429
  * @param cancelCaption : cancel button caption
1430
1430
  * @param options : checkable option list
1431
1431
  * @param width: the preferred width
1432
+ * @param required: ture if the input is required
1432
1433
  */
1433
- prompt(title, type = 0, description, initialValue, okCaption = 'Ok', cancelCaption = 'Annulla', options, width = 500) {
1434
+ prompt(title, type = 0, description, initialValue, okCaption = 'Ok', cancelCaption = 'Annulla', options, width = 500, required) {
1434
1435
  return this.dialogService.open(PromptDialogComponent, {
1435
1436
  ariaLabel: 'inserisci valore',
1436
1437
  autoFocus: true,
@@ -1443,6 +1444,7 @@ class ApplicationDialogService {
1443
1444
  okCaption: okCaption,
1444
1445
  cancelCaption: cancelCaption,
1445
1446
  appearance: 'fill',
1447
+ required: required,
1446
1448
  options: options
1447
1449
  },
1448
1450
  closeOnNavigation: false,