@provoly/dashboard 1.4.22 → 1.4.23

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.
Files changed (25) hide show
  1. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +1 -1
  2. package/esm2022/lib/core/store/search/search.effects.mjs +2 -2
  3. package/esm2022/lib/core/store/search/search.service.mjs +14 -5
  4. package/esm2022/lib/dashboard/components/dashboard.component.mjs +24 -9
  5. package/esm2022/lib/dashboard/components/widgets/data-widget.component.mjs +4 -2
  6. package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +1 -1
  7. package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +6 -4
  8. package/esm2022/lib/dashboard/resultset-utils.mjs +18 -11
  9. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +2 -2
  10. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +6 -4
  11. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +5 -2
  12. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +1 -1
  13. package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
  14. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  15. package/fesm2022/provoly-dashboard-toolbox.mjs +1 -1
  16. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  17. package/fesm2022/provoly-dashboard.mjs +72 -32
  18. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  19. package/lib/core/store/search/search.service.d.ts +2 -2
  20. package/lib/dashboard/components/dashboard.component.d.ts +3 -1
  21. package/lib/dashboard/filter/components/filter-group/filter-group.component.d.ts +2 -1
  22. package/lib/dashboard/resultset-utils.d.ts +1 -0
  23. package/lib/dashboard/store/dashboard.actions.d.ts +11 -1
  24. package/lib/dashboard/store/dashboard.effects.d.ts +1 -0
  25. package/package.json +43 -43
@@ -24,9 +24,9 @@ export declare class SearchService {
24
24
  datasources: DataSource[];
25
25
  constructor(httpClient: HttpClient, store: Store<ConfigState | SearchState>);
26
26
  getItems(id: string, quickOrder?: ResultOrder, excludeGeo?: boolean, searchAfter?: string, linkedItems?: ('destination' | 'source')[]): Observable<ResultSet>;
27
- getItemsSerializedParams(id: string, quickOrder?: {
27
+ getItemsSerializedParams(id: string, quickOrder: {
28
28
  [id: string]: ResultOrder | undefined;
29
- }): string;
29
+ } | undefined, excludeGeo: boolean, linkedItems?: ('destination' | 'source')[]): string;
30
30
  getItemsFilter(id: string, cumulative?: HttpParams): HttpParams;
31
31
  getOrder(quickOrder: ResultOrder | undefined): HttpParams;
32
32
  /**
@@ -65,6 +65,8 @@ export declare class DashboardComponent extends SubscriptionnerDirective impleme
65
65
  backgroundArea$: Observable<string>;
66
66
  private confirmRemoveRef?;
67
67
  Array: any;
68
+ set linkedItems(linkedItems: ('destination' | 'source')[]);
69
+ linkedItems$: BehaviorSubject<('destination' | 'source')[] | undefined>;
68
70
  constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, el: ElementRef);
69
71
  ngAfterViewChecked(): void;
70
72
  ngOnInit(): void;
@@ -113,5 +115,5 @@ export declare class DashboardComponent extends SubscriptionnerDirective impleme
113
115
  trackWidgets(index: number, widgetManifest: WidgetManifest): string;
114
116
  changeSize(direction: string, offset: number): void;
115
117
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
116
- static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "pry-dashboard", never, { "staticDashboard": { "alias": "staticDashboard"; "required": false; }; "forceModeEdition": { "alias": "forceModeEdition"; "required": false; }; "CloseOnDragOut": { "alias": "CloseOnDragOut"; "required": false; }; "displayOptions": { "alias": "displayOptions"; "required": false; }; "noBackground": { "alias": "noBackground"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; }, { "rowHeight": "rowHeight"; "rows": "rows"; }, never, never, false, never>;
118
+ static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "pry-dashboard", never, { "staticDashboard": { "alias": "staticDashboard"; "required": false; }; "forceModeEdition": { "alias": "forceModeEdition"; "required": false; }; "CloseOnDragOut": { "alias": "CloseOnDragOut"; "required": false; }; "displayOptions": { "alias": "displayOptions"; "required": false; }; "noBackground": { "alias": "noBackground"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "linkedItems": { "alias": "linkedItems"; "required": false; }; }, { "rowHeight": "rowHeight"; "rows": "rows"; }, never, never, false, never>;
117
119
  }
@@ -10,6 +10,7 @@ export declare class FilterGroupComponent {
10
10
  isSelectOpen: boolean;
11
11
  enterTriggerFilter: boolean;
12
12
  clearTriggerFilter: boolean;
13
+ linkedItems?: ('destination' | 'source')[];
13
14
  constructor(store: Store, document: Document);
14
15
  filter(): void;
15
16
  clearFilters(): void;
@@ -17,5 +18,5 @@ export declare class FilterGroupComponent {
17
18
  enterPressed(): void;
18
19
  cleared(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterGroupComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FilterGroupComponent, "pry-filter-group", never, { "enterTriggerFilter": { "alias": "enterTriggerFilter"; "required": false; }; "clearTriggerFilter": { "alias": "clearTriggerFilter"; "required": false; }; }, {}, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilterGroupComponent, "pry-filter-group", never, { "enterTriggerFilter": { "alias": "enterTriggerFilter"; "required": false; }; "clearTriggerFilter": { "alias": "clearTriggerFilter"; "required": false; }; "linkedItems": { "alias": "linkedItems"; "required": false; }; }, {}, never, never, false, never>;
21
22
  }
@@ -1,4 +1,5 @@
1
1
  import { ResultSet } from '../core/model/result-set.interface';
2
2
  export declare class ResultsetUtils {
3
3
  static mergeResultSets(rs1: ResultSet, rs2: ResultSet): ResultSet;
4
+ private static mergeItems;
4
5
  }
@@ -290,8 +290,10 @@ export declare const DashboardActions: {
290
290
  } & import("@ngrx/store").Action<"[Dashboard] maximize widget">>;
291
291
  assertResultSets: import("@ngrx/store").ActionCreator<"[Dashboard] assert resultSet", (props: {
292
292
  staticManifest?: DashboardManifest;
293
+ linkedItems?: ("destination" | "source")[];
293
294
  }) => {
294
295
  staticManifest?: DashboardManifest;
296
+ linkedItems?: ("destination" | "source")[];
295
297
  } & import("@ngrx/store").Action<"[Dashboard] assert resultSet">>;
296
298
  updateResultSet: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) received named resultSet (not-active-action)", (props: {
297
299
  id: string;
@@ -395,10 +397,12 @@ export declare const DashboardActions: {
395
397
  datasourceId: string;
396
398
  attribute: string;
397
399
  asc: OrderValue;
400
+ linkedItems?: ("destination" | "source")[];
398
401
  }) => {
399
402
  datasourceId: string;
400
403
  attribute: string;
401
404
  asc: OrderValue;
405
+ linkedItems?: ("destination" | "source")[];
402
406
  } & import("@ngrx/store").Action<"[Dashboard] (bus) quick order">>;
403
407
  setGridLayout: import("@ngrx/store").ActionCreator<"[Dashboard] set grid layout", (props: {
404
408
  layout: string;
@@ -439,11 +443,17 @@ export declare const DashboardActions: {
439
443
  value: any;
440
444
  datasourceId: string;
441
445
  } & import("@ngrx/store").Action<"[Dashboard] (bus) update filter value">>;
442
- clearAllFilterValues: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) clear all filter values", () => import("@ngrx/store").Action<"[Dashboard] (bus) clear all filter values">>;
446
+ clearAllFilterValues: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) clear all filter values", (props: {
447
+ linkedItems?: ("destination" | "source")[];
448
+ }) => {
449
+ linkedItems?: ("destination" | "source")[];
450
+ } & import("@ngrx/store").Action<"[Dashboard] (bus) clear all filter values">>;
443
451
  dispatchFilters: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) apply filters to presentation datasources", (props: {
444
452
  staticManifest?: DashboardManifest;
453
+ linkedItems?: ("destination" | "source")[];
445
454
  }) => {
446
455
  staticManifest?: DashboardManifest;
456
+ linkedItems?: ("destination" | "source")[];
447
457
  } & import("@ngrx/store").Action<"[Dashboard] (bus) apply filters to presentation datasources">>;
448
458
  resetWmsFeatures: import("@ngrx/store").ActionCreator<"[Widget map] Reset Wms layer features", (props: {
449
459
  componentId: string;
@@ -109,6 +109,7 @@ export declare class DashboardEffects {
109
109
  } & import("@ngrx/store").Action<"[Dashboard] (bus) Triggering aggregates for datasource">> & import("@ngrx/effects").CreateEffectMetadata;
110
110
  startMissingViewAfterViewUpdate$: import("rxjs").Observable<import("@ngrx/store").Action<"[Dashboard] solving collisions"> | import("@ngrx/store").Action<"[Dashboard] opening missing views for manifest"> | ({
111
111
  staticManifest?: import("../../core/model/manifest.interface").DashboardManifest;
112
+ linkedItems?: ("destination" | "source")[];
112
113
  } & import("@ngrx/store").Action<"[Dashboard] assert resultSet">)> & import("@ngrx/effects").CreateEffectMetadata;
113
114
  updateTitle$: import("rxjs").Observable<[({
114
115
  tenants: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "1.4.22",
3
+ "version": "1.4.23",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "17.x || 18.x",
@@ -138,36 +138,6 @@
138
138
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
139
139
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
140
140
  },
141
- "./filters/autocomplete": {
142
- "types": "./filters/autocomplete/index.d.ts",
143
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
144
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
145
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
146
- },
147
- "./filters/date": {
148
- "types": "./filters/date/index.d.ts",
149
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
150
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
151
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
152
- },
153
- "./filters/list": {
154
- "types": "./filters/list/index.d.ts",
155
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
156
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
157
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
158
- },
159
- "./filters/number": {
160
- "types": "./filters/number/index.d.ts",
161
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
162
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
163
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
164
- },
165
- "./filters/text": {
166
- "types": "./filters/text/index.d.ts",
167
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
168
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
169
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
170
- },
171
141
  "./components/card": {
172
142
  "types": "./components/card/index.d.ts",
173
143
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -240,6 +210,36 @@
240
210
  "esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
241
211
  "default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
242
212
  },
213
+ "./filters/autocomplete": {
214
+ "types": "./filters/autocomplete/index.d.ts",
215
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
216
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
217
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
218
+ },
219
+ "./filters/date": {
220
+ "types": "./filters/date/index.d.ts",
221
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
222
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
223
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
224
+ },
225
+ "./filters/list": {
226
+ "types": "./filters/list/index.d.ts",
227
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
228
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
229
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
230
+ },
231
+ "./filters/number": {
232
+ "types": "./filters/number/index.d.ts",
233
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
234
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
235
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
236
+ },
237
+ "./filters/text": {
238
+ "types": "./filters/text/index.d.ts",
239
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
240
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
241
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
242
+ },
243
243
  "./pipeline-components/filter": {
244
244
  "types": "./pipeline-components/filter/index.d.ts",
245
245
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -252,12 +252,6 @@
252
252
  "esm": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
253
253
  "default": "./fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs"
254
254
  },
255
- "./pipeline-components/noop": {
256
- "types": "./pipeline-components/noop/index.d.ts",
257
- "esm2022": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
258
- "esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
259
- "default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
260
- },
261
255
  "./pipeline-components/output-dataset": {
262
256
  "types": "./pipeline-components/output-dataset/index.d.ts",
263
257
  "esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
@@ -270,6 +264,12 @@
270
264
  "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
271
265
  "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
272
266
  },
267
+ "./pipeline-components/noop": {
268
+ "types": "./pipeline-components/noop/index.d.ts",
269
+ "esm2022": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
270
+ "esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
271
+ "default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
272
+ },
273
273
  "./tooltips/attribute": {
274
274
  "types": "./tooltips/attribute/index.d.ts",
275
275
  "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
@@ -342,17 +342,17 @@
342
342
  "esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
343
343
  "default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
344
344
  },
345
- "./widgets/widget-template": {
346
- "types": "./widgets/widget-template/index.d.ts",
347
- "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
348
- "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
349
- "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
350
- },
351
345
  "./widgets/widget-vega": {
352
346
  "types": "./widgets/widget-vega/index.d.ts",
353
347
  "esm2022": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
354
348
  "esm": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
355
349
  "default": "./fesm2022/provoly-dashboard-widgets-widget-vega.mjs"
350
+ },
351
+ "./widgets/widget-template": {
352
+ "types": "./widgets/widget-template/index.d.ts",
353
+ "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
354
+ "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
355
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
356
356
  }
357
357
  },
358
358
  "schematics": "./schematics/collection.json",