@provoly/dashboard 0.14.0 → 0.14.2
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/components/modal-status/modal-status.component.mjs +3 -3
- package/esm2022/lib/core/store/search/search.actions.mjs +3 -3
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +7 -2
- package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +7 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +5 -5
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/modal-status/modal-status.component.d.ts +0 -1
- package/lib/core/store/search/search.actions.d.ts +4 -4
- package/lib/core/store/search/search.effects.d.ts +4 -4
- package/package.json +34 -34
|
@@ -2496,8 +2496,8 @@ class PryModalStatusComponent {
|
|
|
2496
2496
|
this.store.dispatch(DataSourceActions.dataset.previews.getById({ id: version.id }));
|
|
2497
2497
|
this.datasetPreviews$ = this.store
|
|
2498
2498
|
.select(DataSourceSelectors.datasetPreviews)
|
|
2499
|
-
.pipe(map((previews) => previews.map((preview) => preview.messages
|
|
2500
|
-
this.messageCount$ = this.datasetPreviews
|
|
2499
|
+
.pipe(map((previews) => previews.map((preview) => preview.messages).flat()));
|
|
2500
|
+
this.messageCount$ = this.store.select(DataSourceSelectors.datasetPreviews).pipe(map((previews) => {
|
|
2501
2501
|
return previews.map((preview) => preview.count).reduce((p, c) => p + c, 0);
|
|
2502
2502
|
}));
|
|
2503
2503
|
}
|
|
@@ -3906,8 +3906,8 @@ const SearchActions = {
|
|
|
3906
3906
|
search: createAction('[Search] search', props()),
|
|
3907
3907
|
getDatasourceItems: createAction('[Search] (bus) search named', props()),
|
|
3908
3908
|
// result Search
|
|
3909
|
-
searchSuccess: createAction('[Search Api] Search Success', props()),
|
|
3910
|
-
searchFailure: createAction('[Search Api] Search Failure', props())
|
|
3909
|
+
searchSuccess: createAction('[Search Api] (bus) Search Success', props()),
|
|
3910
|
+
searchFailure: createAction('[Search Api] (bus) Search Failure', props())
|
|
3911
3911
|
};
|
|
3912
3912
|
|
|
3913
3913
|
class SearchService {
|
|
@@ -10284,7 +10284,7 @@ const internalReducer = createReducer(dashboardInitialState, on(DashboardActions
|
|
|
10284
10284
|
}), on(DashboardActions.updateWidgetManifest, (state, action) => {
|
|
10285
10285
|
const myRank = state.manifests.tenants.indexOf(state.manifests.sender);
|
|
10286
10286
|
const newWindows = JSON.parse(JSON.stringify(state.manifests.manifest.windows));
|
|
10287
|
-
newWindows[myRank].widgets[action.index] = action.manifest;
|
|
10287
|
+
(newWindows[myRank] ?? { widgets: [] }).widgets[action.index] = action.manifest;
|
|
10288
10288
|
return {
|
|
10289
10289
|
...state,
|
|
10290
10290
|
manifests: {
|