@arsedizioni/ars-utils 22.0.12 → 22.0.14

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.
@@ -629,7 +629,7 @@ class DialogService extends UIService {
629
629
  this.clearBusy();
630
630
  return this.open(InfoDialogComponent, {
631
631
  ariaLabel: 'informazioni',
632
- autoFocus: false,
632
+ autoFocus: 'dialog',
633
633
  restoreFocus: false,
634
634
  data: {
635
635
  message,
@@ -671,7 +671,7 @@ class DialogService extends UIService {
671
671
  }
672
672
  const ref = this.open(InfoDialogComponent, {
673
673
  ariaLabel: 'errore',
674
- autoFocus: true,
674
+ autoFocus: 'dialog',
675
675
  restoreFocus: false,
676
676
  data: {
677
677
  message,
@@ -723,7 +723,7 @@ class DialogService extends UIService {
723
723
  confirm(message, title = 'Conferma', okCaption = 'Si', cancelCaption = 'No', otherCaption, options, width = 500, details) {
724
724
  return this.open(ConfirmDialogComponent, {
725
725
  ariaLabel: 'conferma',
726
- autoFocus: true,
726
+ autoFocus: 'dialog',
727
727
  restoreFocus: false,
728
728
  data: {
729
729
  message,
@@ -756,7 +756,7 @@ class DialogService extends UIService {
756
756
  delete(message, title = 'Attenzione', confirmMode = DeleteDialogConfirmMode.None, okCaption = 'Si', cancelCaption = 'No', width = 500, details) {
757
757
  return this.open(DeleteDialogComponent, {
758
758
  ariaLabel: 'attenzione',
759
- autoFocus: true,
759
+ autoFocus: 'dialog',
760
760
  restoreFocus: false,
761
761
  data: {
762
762
  message,