@hestia-earth/ui-components 0.41.37 → 0.41.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/ui-components",
3
- "version": "0.41.37",
3
+ "version": "0.41.39",
4
4
  "description": "HESTIA reusable components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -3822,6 +3822,8 @@ interface IChartInputLog {
3822
3822
  }
3823
3823
  interface IChartData {
3824
3824
  indicator: string;
3825
+ category?: string;
3826
+ categoryLabel?: string;
3825
3827
  contributor: string;
3826
3828
  coefficient: number;
3827
3829
  value: number;
@@ -3839,6 +3841,7 @@ interface ITermMapping {
3839
3841
  declare class ImpactAssessmentsGraphComponent {
3840
3842
  private readonly searchService;
3841
3843
  private readonly nodeService;
3844
+ private readonly emissionCategoryService;
3842
3845
  private readonly initialTerms;
3843
3846
  protected readonly impactAssessments: _angular_core.InputSignal<IImpactAssessmentJSONLD[]>;
3844
3847
  protected readonly dataState: _angular_core.InputSignal<DataState>;
@@ -3859,7 +3862,22 @@ declare class ImpactAssessmentsGraphComponent {
3859
3862
  protected readonly selectedModelId: _angular_core.WritableSignal<string>;
3860
3863
  private readonly hasDefaultModelLogs;
3861
3864
  protected readonly models: _angular_core.Signal<Partial<ITermJSONLD>[]>;
3862
- protected readonly chartData: _angular_core.Signal<IChartData[]>;
3865
+ protected readonly categories: {
3866
+ key: string;
3867
+ label: string;
3868
+ }[];
3869
+ protected readonly selectedCategory: _angular_core.WritableSignal<string>;
3870
+ protected readonly chartData: _angular_core.Signal<(IChartData | {
3871
+ category: any;
3872
+ categoryLabel: string;
3873
+ indicator: string;
3874
+ contributor: string;
3875
+ coefficient: number;
3876
+ value: number;
3877
+ weightedValue: number;
3878
+ modelId: string;
3879
+ inputs?: IChartInputLog[];
3880
+ })[]>;
3863
3881
  protected readonly loading: _angular_core.Signal<boolean>;
3864
3882
  protected readonly showChart: _angular_core.Signal<boolean>;
3865
3883
  constructor();