@provoly/dashboard 0.12.1 → 0.12.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.
Files changed (29) hide show
  1. package/README.md +1 -1
  2. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  3. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +4 -1
  4. package/esm2022/lib/dashboard/store/manifest.service.mjs +1 -1
  5. package/esm2022/notification/components/notification/content/notification-content.component.mjs +1 -1
  6. package/esm2022/notification/style/css.component.mjs +2 -2
  7. package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +10 -11
  8. package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +2 -1
  9. package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +2 -1
  10. package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +2 -1
  11. package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -2
  12. package/esm2022/toolbox/components/save-view/save-view.component.mjs +2 -1
  13. package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +2 -1
  14. package/esm2022/toolbox/components/toolbox-action/toolbox-action.component.mjs +4 -1
  15. package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
  16. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  17. package/fesm2022/provoly-dashboard-notification.mjs +2 -2
  18. package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
  19. package/fesm2022/provoly-dashboard-toolbox.mjs +14 -6
  20. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  21. package/fesm2022/provoly-dashboard.mjs +92 -90
  22. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  23. package/lib/dashboard/store/dashboard.selectors.d.ts +8 -0
  24. package/lib/dashboard/store/manifest.service.d.ts +1 -1
  25. package/notification/style/_m-notifications.scss +1 -1
  26. package/package.json +1 -1
  27. package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +3 -2
  28. package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +1 -1
  29. package/toolbox/components/toolbox-action/toolbox-action.component.d.ts +1 -0
@@ -46,6 +46,14 @@ export declare const DashboardSelectors: {
46
46
  locked?: boolean | undefined;
47
47
  filters?: Filter[] | undefined;
48
48
  }>;
49
+ manifestDatasources: MemoizedSelector<object, string[], (s1: {
50
+ windows: DashboardManifest[];
51
+ refreshRates?: {
52
+ [key: string]: number;
53
+ } | undefined;
54
+ locked?: boolean | undefined;
55
+ filters?: Filter[] | undefined;
56
+ }) => string[]>;
49
57
  refreshRates: MemoizedSelector<object, {
50
58
  [key: string]: number;
51
59
  }, (s1: {
@@ -21,7 +21,7 @@ export declare class ManifestService {
21
21
  }>;
22
22
  delete(id: string): Observable<void>;
23
23
  default(id: string): Observable<boolean>;
24
- static getDatasourcesUsedByManifest(manifest: GlobalManifest): (string | undefined)[];
24
+ static getDatasourcesUsedByManifest(manifest: GlobalManifest): string[];
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<ManifestService, never>;
26
26
  static ɵprov: i0.ɵɵInjectableDeclaration<ManifestService>;
27
27
  }
@@ -37,7 +37,7 @@
37
37
  display: flex;
38
38
  align-items: center;
39
39
  flex-direction: column;
40
- width: toRem(275);
40
+ min-width: toRem(275);
41
41
  max-height: toRem(665);
42
42
  border-radius: toRem(5);
43
43
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "type": "module",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "15.x || 16.x",
@@ -1,8 +1,8 @@
1
+ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
1
2
  import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
2
3
  import { Store } from '@ngrx/store';
3
- import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
4
4
  import { Observable } from 'rxjs';
5
- import { Overlay, OverlayRef } from '@angular/cdk/overlay';
5
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AutomateRefreshComponent extends ToolboxActionComponent implements OnInit {
8
8
  private overlay;
@@ -15,6 +15,7 @@ export declare class AutomateRefreshComponent extends ToolboxActionComponent imp
15
15
  [p: string]: number;
16
16
  }>;
17
17
  selectedDatasourceId: string;
18
+ allRefreshRate$: Observable<number>;
18
19
  private overlayRefDatasourceList?;
19
20
  private overlayRefRefreshList?;
20
21
  constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
@@ -1,7 +1,7 @@
1
1
  import { Store } from '@ngrx/store';
2
- import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
3
2
  import { GlobalManifest } from '@provoly/dashboard';
4
3
  import { Observable } from 'rxjs';
4
+ import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class RefreshDatasetsComponent extends ToolboxActionComponent {
7
7
  manifest$: Observable<GlobalManifest>;
@@ -7,6 +7,7 @@ export declare class ToolboxActionComponent extends SubscriptionnerDirective {
7
7
  displayLabels: boolean;
8
8
  closeOptions: EventEmitter<void>;
9
9
  constructor(store: Store);
10
+ close(): void;
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ToolboxActionComponent, never>;
11
12
  static ɵcmp: i0.ɵɵComponentDeclaration<ToolboxActionComponent, "pry-toolbox-action", never, { "displayLabels": { "alias": "displayLabels"; "required": false; }; }, { "closeOptions": "closeOptions"; }, never, never, false, never>;
12
13
  }