@provoly/dashboard 0.21.6 → 0.21.8
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.
- package/esm2022/lib/core/i18n/en.translations.mjs +2 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +2 -2
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/store/search/search.effects.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -1
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +2 -3
- package/esm2022/lib/dashboard/store/manifest.service.mjs +3 -4
- package/esm2022/presentation/components/presentation.component.mjs +5 -9
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +6 -10
- package/esm2022/toolbox/components/share/share.component.mjs +5 -8
- package/fesm2022/provoly-dashboard-presentation.mjs +4 -8
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +8 -15
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +6 -7
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +1 -1
- package/lib/core/i18n/fr.translations.d.ts +1 -1
- package/lib/core/model/manifest.interface.d.ts +0 -2
- package/lib/dashboard/store/dashboard.actions.d.ts +0 -3
- package/lib/dashboard/store/manifest.service.d.ts +1 -2
- package/package.json +1 -1
- package/presentation/components/presentation.component.d.ts +1 -3
- package/toolbox/components/save-view/save-view.component.d.ts +2 -3
- package/toolbox/components/share/share.component.d.ts +1 -2
|
@@ -502,7 +502,7 @@ const enTranslations$1 = {
|
|
|
502
502
|
noItemSelected: 'No user group selected',
|
|
503
503
|
groups: {
|
|
504
504
|
ALL: 'Public',
|
|
505
|
-
|
|
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
|
-
|
|
892
|
+
AUTHENTICATED: 'Les utilisateurs connectés'
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
895
|
}
|
|
@@ -4967,7 +4967,7 @@ class SearchEffects {
|
|
|
4967
4967
|
id: props.id,
|
|
4968
4968
|
params: this.searchService.getItemsSerializedParams(props.id, quickOrder)
|
|
4969
4969
|
})), catchError$1((error) => [SearchActions.searchFailure({ error, id: props.id })])))));
|
|
4970
|
-
this.search$ = createEffect(() => this.actions$.pipe(ofType(SearchActions.search), mergeMap((props) => this.searchService.search(props.payload).pipe(map((resultSet) => SearchActions.searchSuccess({ resultSet, id: props.id })), catchError$1((error) => [SearchActions.searchFailure({ error })])))));
|
|
4970
|
+
this.search$ = createEffect(() => this.actions$.pipe(ofType(SearchActions.search), mergeMap((props) => this.searchService.search(props.payload).pipe(map((resultSet) => SearchActions.searchSuccess({ resultSet, id: props.id })), catchError$1((error) => [SearchActions.searchFailure({ error, id: props.id })])))));
|
|
4971
4971
|
this.searchSuccess$ = createEffect(() => this.actions$.pipe(ofType(SearchActions.searchSuccess), map((action) => DashboardActions.updateResultSet({
|
|
4972
4972
|
id: action.id ?? DEFAULT_NAMED_QUERY_ID,
|
|
4973
4973
|
resultSet: action.resultSet,
|
|
@@ -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
|
|
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
|
|
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'
|