@provoly/dashboard 0.13.2 → 0.13.4

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 (58) hide show
  1. package/dataset/i18n/en.translations.d.ts +9 -0
  2. package/dataset/i18n/fr.translations.d.ts +9 -0
  3. package/dataset/style/_o-pry-dataset-detail.scss +35 -1
  4. package/dataset/style/_o-pry-dataset.scss +2 -1
  5. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
  6. package/esm2022/dataset/i18n/en.translations.mjs +10 -1
  7. package/esm2022/dataset/i18n/fr.translations.mjs +10 -1
  8. package/esm2022/dataset/style/css.component.mjs +2 -2
  9. package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +3 -3
  10. package/esm2022/lib/core/i18n/en.translations.mjs +2 -1
  11. package/esm2022/lib/core/i18n/fr.translations.mjs +2 -1
  12. package/esm2022/lib/core/model/dataset.interface.mjs +1 -1
  13. package/esm2022/lib/dashboard/components/widgets/base-widget.component.mjs +4 -1
  14. package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +19 -4
  15. package/esm2022/presentation/style/css.component.mjs +2 -2
  16. package/esm2022/restitution/style/css.component.mjs +2 -2
  17. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +3 -3
  18. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +3 -3
  19. package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +3 -3
  20. package/esm2022/widgets/widget-iframe/component/widget-iframe.component.mjs +7 -5
  21. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +3 -3
  22. package/esm2022/widgets/widget-map/widget-map.module.mjs +5 -4
  23. package/esm2022/widgets/widget-table/component/widget-table.component.mjs +3 -3
  24. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +3 -3
  25. package/fesm2022/provoly-dashboard-dataset.mjs +22 -4
  26. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  27. package/fesm2022/provoly-dashboard-presentation.mjs +2 -2
  28. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  29. package/fesm2022/provoly-dashboard-restitution.mjs +2 -2
  30. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  31. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +2 -2
  32. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  33. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +2 -2
  34. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  35. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +2 -2
  36. package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
  37. package/fesm2022/provoly-dashboard-widgets-widget-iframe.mjs +6 -4
  38. package/fesm2022/provoly-dashboard-widgets-widget-iframe.mjs.map +1 -1
  39. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +6 -5
  40. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  41. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +2 -2
  42. package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
  43. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +2 -2
  44. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  45. package/fesm2022/provoly-dashboard.mjs +41 -5
  46. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  47. package/lib/core/components/modal-status/modal-status.component.d.ts +1 -1
  48. package/lib/core/i18n/en.translations.d.ts +1 -0
  49. package/lib/core/i18n/fr.translations.d.ts +1 -0
  50. package/lib/core/model/dataset.interface.d.ts +1 -1
  51. package/lib/dashboard/components/widgets/base-widget.component.d.ts +1 -0
  52. package/lib/dashboard/components/widgets/settings/settings.component.d.ts +10 -3
  53. package/package.json +7 -7
  54. package/presentation/style/_o-pry-presentation.scss +1 -2
  55. package/styles-theme/components-theme/_o-pry-dataset.theme.scss +6 -6
  56. package/styles-theme/main-theme.scss +1 -0
  57. package/widgets/widget-iframe/component/widget-iframe.component.d.ts +2 -0
  58. package/widgets/widget-map/widget-map.module.d.ts +1 -1
@@ -9,7 +9,7 @@ export declare class PryModalStatusComponent {
9
9
  datasetPreviews$?: Observable<{
10
10
  count: number;
11
11
  datasetVersionId: string;
12
- extractErrorCode: string;
12
+ extractMessageCode: string;
13
13
  level: 'ERROR' | 'WARNING';
14
14
  name: string;
15
15
  recordId: string;
@@ -10,6 +10,7 @@ export declare const enTranslations: {
10
10
  updatedInView: string;
11
11
  settings: {
12
12
  title: string;
13
+ changeTitle: string;
13
14
  validateUpdating: string;
14
15
  };
15
16
  defineCatalog: string;
@@ -10,6 +10,7 @@ export declare const frTranslations: {
10
10
  updatedInView: string;
11
11
  settings: {
12
12
  title: string;
13
+ changeTitle: string;
13
14
  validateUpdating: string;
14
15
  };
15
16
  defineCatalog: string;
@@ -23,7 +23,7 @@ export declare enum GeoMetadata {
23
23
  OPACITY = "_geoOpacity"
24
24
  }
25
25
  export interface DatasetMessage {
26
- extractErrorCode: string;
26
+ extractMessageCode: string;
27
27
  type: string;
28
28
  name: string;
29
29
  recordId: string;
@@ -31,6 +31,7 @@ export declare class BaseWidgetComponent extends SubscriptionnerDirective implem
31
31
  constructor(store: Store<any>, el: ElementRef);
32
32
  ngAfterViewChecked(): void;
33
33
  toImage(): Promise<string>;
34
+ changeWidgetTitle($event: string): void;
34
35
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseWidgetComponent, never>;
35
36
  static ɵcmp: i0.ɵɵComponentDeclaration<BaseWidgetComponent, "pry-base-widget", never, { "open$": { "alias": "open$"; "required": false; }; "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "staticManifest": { "alias": "staticManifest"; "required": false; }; }, { "manifestModified": "manifestModified"; }, never, never, false, never>;
36
37
  }
@@ -1,14 +1,18 @@
1
1
  import { Overlay } from '@angular/cdk/overlay';
2
- import { ElementRef, EventEmitter, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
2
+ import { ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Store } from '@ngrx/store';
4
4
  import { BehaviorSubject, Observable, Subject } from 'rxjs';
5
5
  import { PryWidgetHeaderComponent } from '../header/widget-header.component';
6
+ import { WidgetManifest } from '../../../../core/model/manifest.interface';
7
+ import { SubscriptionnerDirective } from '../../subscriptionner.directive';
6
8
  import * as i0 from "@angular/core";
7
- export declare class SettingsComponent implements OnDestroy {
9
+ export declare class SettingsComponent extends SubscriptionnerDirective implements OnInit, OnDestroy {
8
10
  private store;
9
11
  private overlay;
10
12
  private viewContainerRef;
11
13
  _widgetIndex$: BehaviorSubject<number>;
14
+ manifest$?: Observable<WidgetManifest>;
15
+ manifest?: WidgetManifest;
12
16
  private openSub?;
13
17
  set widgetIndex(widgetIndex: number);
14
18
  isDisable?: boolean;
@@ -19,17 +23,20 @@ export declare class SettingsComponent implements OnDestroy {
19
23
  header?: PryWidgetHeaderComponent;
20
24
  saveTriggered: EventEmitter<void>;
21
25
  open: boolean;
26
+ changeTitle: EventEmitter<string>;
22
27
  private overlayRef?;
23
28
  template: TemplateRef<any>;
24
29
  cross: ElementRef<HTMLButtonElement>;
25
30
  validate: ElementRef<HTMLButtonElement>;
26
31
  constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef);
32
+ ngOnInit(): void;
27
33
  toggle(): void;
28
34
  saveAndClose(): void;
29
35
  openWithTemplate(): void;
30
36
  focusCrossElement(): void;
31
37
  focusValidation(): void;
38
+ emitTitle($event: Event): void;
32
39
  ngOnDestroy(): void;
33
40
  static ɵfac: i0.ɵɵFactoryDeclaration<SettingsComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pry-settings", never, { "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "isDisable": { "alias": "isDisable"; "required": false; }; "headerPresent": { "alias": "headerPresent"; "required": false; }; "open$": { "alias": "open$"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, { "saveTriggered": "saveTriggered"; }, never, ["*"], false, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<SettingsComponent, "pry-settings", never, { "widgetIndex": { "alias": "widgetIndex"; "required": false; }; "isDisable": { "alias": "isDisable"; "required": false; }; "headerPresent": { "alias": "headerPresent"; "required": false; }; "open$": { "alias": "open$"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, { "saveTriggered": "saveTriggered"; "changeTitle": "changeTitle"; }, never, ["*"], false, never>;
35
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.13.2",
3
+ "version": "0.13.4",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "15.x || 16.x",
@@ -175,18 +175,18 @@
175
175
  "esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
176
176
  "default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
177
177
  },
178
- "./pipeline-components/subgraph": {
179
- "types": "./pipeline-components/subgraph/index.d.ts",
180
- "esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
181
- "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
182
- "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
183
- },
184
178
  "./pipeline-components/output-dataset": {
185
179
  "types": "./pipeline-components/output-dataset/index.d.ts",
186
180
  "esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
187
181
  "esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
188
182
  "default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
189
183
  },
184
+ "./pipeline-components/subgraph": {
185
+ "types": "./pipeline-components/subgraph/index.d.ts",
186
+ "esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
187
+ "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
188
+ "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
189
+ },
190
190
  "./tooltips/attribute": {
191
191
  "types": "./tooltips/attribute/index.d.ts",
192
192
  "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
@@ -34,7 +34,7 @@
34
34
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
35
35
  grid-gap: toRem(30);
36
36
  padding: toRem(4) toRem(4) toRem(20) toRem(4);
37
- overflow-y: auto;
37
+ overflow-y: visible;
38
38
 
39
39
  .a-h3 {
40
40
  white-space: nowrap;
@@ -106,7 +106,6 @@
106
106
  padding: toRem(15);
107
107
  }
108
108
 
109
-
110
109
  .description-container {
111
110
  position: relative;
112
111
  width: 100%;
@@ -3,10 +3,10 @@
3
3
 
4
4
  /* Theme Organism - pry-dataset */
5
5
 
6
- .o-pry-dataset {
7
- &__search {
8
- pry-icon {
9
- color: red;
10
- }
11
- }
6
+ .description-tooltip {
7
+ background-color: #fff;
8
+ }
9
+
10
+ .info-icon {
11
+ background-color: #ccc;
12
12
  }
@@ -67,6 +67,7 @@
67
67
  @use 'components-theme/o-pry-card.theme' as *;
68
68
  @use 'components-theme/o-pry-card-menu.theme' as *;
69
69
  @use 'components-theme/o-pry-dataset-card.theme' as *;
70
+ @use 'components-theme/o-pry-dataset.theme' as *;
70
71
  @use 'components-theme/o-pry-expand-panel.theme' as *;
71
72
  @use 'components-theme/o-pry-new-presentation.theme' as *;
72
73
  @use 'components-theme/o-pry-presentation.theme' as *;
@@ -10,7 +10,9 @@ export declare class WidgetIframeComponent extends BaseWidgetComponent {
10
10
  private iframeMessagingService;
11
11
  options$: Observable<IframeWidgetOptions>;
12
12
  src$: Observable<SafeResourceUrl | undefined>;
13
+ height$: Observable<number>;
13
14
  optionsCopy: IframeWidgetOptions;
15
+ WIDGET_HEADER_HEIGHT: number;
14
16
  iframe?: ElementRef;
15
17
  constructor(store: Store<any>, domSanitizer: DomSanitizer, iframeMessagingService: IframeMessagingService, el: ElementRef);
16
18
  changeSrc($event: Event): void;
@@ -15,6 +15,6 @@ export declare class WidgetMapModule extends BaseWidgetModule {
15
15
  constructor(pryTranslateService: PryI18nService);
16
16
  getComponent(): Type<BaseWidgetComponent>;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetMapModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetMapModule, [typeof i1.WidgetMapComponent, typeof i2.GeometryFieldsForPipe, typeof i3.PryWidgetMapCssComponent, typeof i4.WidgetMapLegendUrlPipe], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.OverlayModule, typeof i8.PryCoreModule, typeof i8.PryDashboardModule, typeof i8.PrySelectModule, typeof i8.PryIconModule, typeof i9.PryCheckboxModule, typeof i8.PryToggleModule, typeof i8.PryOverlayModule, typeof i8.PryI18nModule, typeof i8.PryRangeModule], [typeof i1.WidgetMapComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetMapModule, [typeof i1.WidgetMapComponent, typeof i2.GeometryFieldsForPipe, typeof i3.PryWidgetMapCssComponent, typeof i4.WidgetMapLegendUrlPipe], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.OverlayModule, typeof i8.PryCoreModule, typeof i8.PryDashboardModule, typeof i8.PrySelectModule, typeof i8.PryIconModule, typeof i9.PryCheckboxModule, typeof i8.PryToggleModule, typeof i8.PryOverlayModule, typeof i8.PryI18nModule, typeof i8.PryRangeModule], [typeof i1.WidgetMapComponent, typeof i2.GeometryFieldsForPipe, typeof i3.PryWidgetMapCssComponent, typeof i4.WidgetMapLegendUrlPipe]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<WidgetMapModule>;
20
20
  }