@provoly/dashboard 0.21.6 → 0.21.7

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.
@@ -502,7 +502,7 @@ const enTranslations$1 = {
502
502
  noItemSelected: 'No user group selected',
503
503
  groups: {
504
504
  ALL: 'Public',
505
- CONNECTED: 'Connected users'
505
+ AUTHENTICATED: 'Connected users'
506
506
  }
507
507
  }
508
508
  },
@@ -889,7 +889,7 @@ const frTranslations$1 = {
889
889
  noItemSelected: "Aucun groupe d'utilisateurs sélectionné",
890
890
  groups: {
891
891
  ALL: 'Publique',
892
- CONNECTED: 'Les utilisateurs connectés'
892
+ AUTHENTICATED: 'Les utilisateurs connectés'
893
893
  }
894
894
  }
895
895
  }
@@ -10475,7 +10475,7 @@ class ManifestService {
10475
10475
  .select(ConfigSelectors.refUrl)
10476
10476
  .pipe(mergeMap((url) => this.httpClient.get(encodeURI(`${url}/users/me/dashboards/id/${id}/manifest`))));
10477
10477
  }
10478
- save(name, manifest, id, description, image, cover, metadata, groups, visibility) {
10478
+ save(name, manifest, id, description, image, cover, metadata, groups) {
10479
10479
  return this.store.select(ConfigSelectors.refUrl).pipe(mergeMap((url) => this.httpClient.post(encodeURI(`${url}/users/me/dashboards`), {
10480
10480
  id,
10481
10481
  name,
@@ -10485,8 +10485,7 @@ class ManifestService {
10485
10485
  cover,
10486
10486
  metadata,
10487
10487
  datasource: ManifestUtils.getDatasourcesUsedByManifest(manifest).map((ds) => ds.datasetId),
10488
- groups,
10489
- visibility
10488
+ groups
10490
10489
  })));
10491
10490
  }
10492
10491
  delete(id) {
@@ -10788,7 +10787,7 @@ class DashboardEffects {
10788
10787
  });
10789
10788
  })), { dispatch: false });
10790
10789
  this.saveManifest$ = createEffect(() => this.actions$.pipe(ofType(DashboardActions.saveManifest), withLatestFrom(this.store.select(DashboardSelectors.globalManifest)), mergeMap$1(([action, currentManifest]) => this.manifestService
10791
- .save(action.name, action.manifest ?? currentManifest, action.id, action.description, action.image, action.cover, action.metadata, action.groups, action.visibility ?? { type: PryVisibilityType.PRIVATE })
10790
+ .save(action.name, action.manifest ?? currentManifest, action.id, action.description, action.image, action.cover, action.metadata, action.groups)
10792
10791
  .pipe(tap(() => this.snackBar.open({
10793
10792
  message: this.translateService.instant('@pry.toolbox.manifest.saved', { viewId: action.name }),
10794
10793
  type: 'success'