@arsedizioni/ars-utils 22.0.13 → 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.
@@ -718,7 +718,7 @@ class ClipperDocumentManager {
718
718
  return;
719
719
  const d = this.dialogService.open(SendToDialogComponent, {
720
720
  ariaLabel: 'invia documenti per email',
721
- autoFocus: false,
721
+ autoFocus: 'dialog',
722
722
  restoreFocus: false,
723
723
  disableClose: false,
724
724
  closeOnNavigation: false,
@@ -808,7 +808,7 @@ class ClipperDocumentManager {
808
808
  Promise.resolve().then(function () { return references_component; }).then(({ ClipperReferencesComponent }) => {
809
809
  const d = this.dialogService.open(ClipperReferencesComponent, {
810
810
  ariaLabel: 'riferimenti legati al documento',
811
- autoFocus: false,
811
+ autoFocus: 'dialog',
812
812
  restoreFocus: false,
813
813
  disableClose: false,
814
814
  closeOnNavigation: false,
@@ -1039,7 +1039,7 @@ class ClipperDocumentsUtils {
1039
1039
  Promise.resolve().then(function () { return document_component; }).then(({ ClipperDocumentComponent }) => {
1040
1040
  const ref = dialogService.open(ClipperDocumentComponent, {
1041
1041
  ariaLabel: 'documento',
1042
- autoFocus: false,
1042
+ autoFocus: 'dialog',
1043
1043
  restoreFocus: false,
1044
1044
  disableClose: false,
1045
1045
  data: {
@@ -1716,7 +1716,7 @@ class ClipperContactsSelector {
1716
1716
  Promise.resolve().then(function () { return contactEdit_component; }).then(({ ClipperContactEditComponent }) => {
1717
1717
  const d2 = dialogService.open(ClipperContactEditComponent, {
1718
1718
  ariaLabel: 'crea contatto',
1719
- autoFocus: false,
1719
+ autoFocus: 'dialog',
1720
1720
  restoreFocus: false,
1721
1721
  disableClose: true,
1722
1722
  data: { currentItem: null },
@@ -1742,7 +1742,7 @@ class ClipperContactsSelector {
1742
1742
  Promise.resolve().then(function () { return contactEdit_component; }).then(({ ClipperContactEditComponent }) => {
1743
1743
  const d2 = dialogService.open(ClipperContactEditComponent, {
1744
1744
  ariaLabel: 'modifica contatto',
1745
- autoFocus: false,
1745
+ autoFocus: 'dialog',
1746
1746
  restoreFocus: false,
1747
1747
  disableClose: true,
1748
1748
  data: { currentItem: result.item.bag },
@@ -1939,7 +1939,7 @@ class ClipperNoteBadgeComponent {
1939
1939
  Promise.resolve().then(function () { return noteEdit_component; }).then(({ ClipperNoteEditComponent }) => {
1940
1940
  const d = this.dialogService.open(ClipperNoteEditComponent, {
1941
1941
  ariaLabel: 'modifica annotazione',
1942
- autoFocus: false,
1942
+ autoFocus: 'dialog',
1943
1943
  restoreFocus: false,
1944
1944
  disableClose: true,
1945
1945
  closeOnNavigation: false,
@@ -1995,7 +1995,7 @@ class ClipperNoteBadgeComponent {
1995
1995
  return;
1996
1996
  const d = this.dialogService.open(SendToDialogComponent, {
1997
1997
  ariaLabel: 'invia documenti per email',
1998
- autoFocus: false,
1998
+ autoFocus: 'dialog',
1999
1999
  restoreFocus: false,
2000
2000
  disableClose: true,
2001
2001
  closeOnNavigation: true,
@@ -2459,7 +2459,7 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
2459
2459
  this.dialogService.info(message.data?.message ?? "Operazione completata con successo.");
2460
2460
  }
2461
2461
  else {
2462
- this.dialogService.toast(message.data?.message ?? "Si è verificato un errore sconosciuto.", message.data?.duration ?? 3000, message.data?.icon ?? 'check');
2462
+ this.dialogService.toast(message.data?.message ?? "Operazione completata con successo.", message.data?.duration ?? 3000, message.data?.icon ?? 'check');
2463
2463
  }
2464
2464
  }
2465
2465
  else if (message.id === ClipperMessages.COMMAND_DASHBOARD_UPDATED) {
@@ -3435,7 +3435,7 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
3435
3435
  Promise.resolve().then(function () { return searchFreeTextHelp_component; }).then(({ ClipperSearchFreeTextHelpComponent }) => {
3436
3436
  this.dialogService.open(ClipperSearchFreeTextHelpComponent, {
3437
3437
  ariaLabel: 'informazioni ricerca',
3438
- autoFocus: false,
3438
+ autoFocus: 'dialog',
3439
3439
  restoreFocus: true,
3440
3440
  disableClose: false,
3441
3441
  minWidth: '375px',
@@ -3451,7 +3451,7 @@ class ClipperBrowserComponent extends ClipperSearchResultManager {
3451
3451
  Promise.resolve().then(function () { return searchFreeTextQueryBuilder_component; }).then(({ ClipperSearchFreeTextQueryBuilderComponent }) => {
3452
3452
  const d = this.dialogService.open(ClipperSearchFreeTextQueryBuilderComponent, {
3453
3453
  ariaLabel: 'costruisci ricerca',
3454
- autoFocus: false,
3454
+ autoFocus: 'dialog',
3455
3455
  restoreFocus: true,
3456
3456
  disableClose: false,
3457
3457
  minWidth: '375px',
@@ -4244,7 +4244,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
4244
4244
  Promise.resolve().then(function () { return documentIndex_component; }).then(({ ClipperDocumentIndexComponent }) => {
4245
4245
  const d = this.dialogService.open(ClipperDocumentIndexComponent, {
4246
4246
  ariaLabel: 'indice documento',
4247
- autoFocus: false,
4247
+ autoFocus: 'dialog',
4248
4248
  restoreFocus: false,
4249
4249
  disableClose: true,
4250
4250
  closeOnNavigation: false,
@@ -4306,7 +4306,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
4306
4306
  this.dialogService.open(FilePreviewComponent, {
4307
4307
  panelClass: 'preview-panel',
4308
4308
  ariaLabel: 'anteprima',
4309
- autoFocus: false,
4309
+ autoFocus: 'dialog',
4310
4310
  restoreFocus: false,
4311
4311
  disableClose: true,
4312
4312
  data: { url, embed: r.value.canEmbed },
@@ -4383,7 +4383,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
4383
4383
  Promise.resolve().then(function () { return references_component; }).then(({ ClipperReferencesComponent }) => {
4384
4384
  this.dialogService.open(ClipperReferencesComponent, {
4385
4385
  ariaLabel: 'riferimenti legati al documento',
4386
- autoFocus: false,
4386
+ autoFocus: 'dialog',
4387
4387
  restoreFocus: false,
4388
4388
  disableClose: true,
4389
4389
  closeOnNavigation: false,