@hestia-earth/ui-components 0.41.35 → 0.41.36

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.
@@ -1291,7 +1291,7 @@ declare class BlankNodeValueDeltaComponent {
1291
1291
 
1292
1292
  type svgIconSizes = '16' | '20' | '24' | '40' | '48';
1293
1293
  declare const iconSizes: string[];
1294
- type svgIconNames = 'aggregation' | 'api' | 'api-circle' | 'archive' | 'arrow-down' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'autogenerate' | 'autogenerate-circle' | 'aws' | 'ban' | 'bell' | 'bell-with-badge' | 'book' | 'breakdown' | 'bug' | 'buoy' | 'calculation-toolkit' | 'calculator' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'certificate' | 'chart' | 'checkmark' | 'checkmark-circle' | 'checkmark-circle-filled' | 'checkmark-circle-filled-with-shadow' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'citation' | 'citation-square' | 'clock' | 'cloud' | 'collapse' | 'collapse-panel' | 'commit' | 'community' | 'community-edition' | 'compare' | 'copy' | 'corner-drag' | 'csv-file' | 'cycle' | 'dashboard' | 'data-format' | 'database-wheat' | 'dot-circle' | 'dot-filled' | 'download' | 'drag' | 'edit' | 'edit-withfield' | 'embed' | 'exclamation' | 'exclamation-triangle' | 'exclamation-triangle-filled' | 'export' | 'external-link' | 'feedback' | 'fence' | 'film' | 'filter-funnel' | 'filter-slider' | 'flash' | 'folder' | 'folder-open' | 'foodprocessor' | 'globe-continents' | 'globe-lines' | 'glossary' | 'greenhouse' | 'guide' | 'guide-overlay' | 'help' | 'help-circle' | 'history' | 'home' | 'husk' | 'image' | 'incognito' | 'indexed' | 'info' | 'info-circle' | 'lake' | 'link' | 'list-indented' | 'livestock' | 'loading' | 'loading-bar' | 'loading-circle-filled' | 'loading-circle-filled-withshadow' | 'log' | 'mail' | 'map' | 'menu' | 'messages' | 'messages-with-badge' | 'metrics' | 'migration' | 'minus' | 'model-docs' | 'news' | 'node' | 'notepad' | 'ocean' | 'organisation' | 'overflow-menu' | 'pin' | 'plus' | 'pond' | 'private-eye' | 'private-eye-crossed' | 'private-lock' | 'profile-checkmark' | 'profile-circle' | 'profile-gear' | 'progress' | 'python' | 'refresh' | 'rename' | 'retailer' | 'review' | 'river' | 'save' | 'schema' | 'search' | 'search-with-exclamation' | 'search-with-minus' | 'search-with-plus' | 'settings' | 'share' | 'share-socials' | 'shrub' | 'sign-out' | 'slack' | 'socials-gitlab' | 'socials-google' | 'socials-linkedin' | 'socials-linkedin-circle' | 'socials-orcid' | 'socials-orcid-circle' | 'sort-ascending' | 'sort-caret-down-filled' | 'sort-caret-stacked-filled-stacked' | 'sort-caret-up-filled' | 'source' | 'star' | 'star-filled' | 'table' | 'tag-filled' | 'target' | 'term' | 'textform-list' | 'tool' | 'transport' | 'trash' | 'tree' | 'turn-phone' | 'unit' | 'upload' | 'video' | 'xmark' | 'xmark-circle' | 'xmark-circle-filled' | 'xmark-circle-filled-with-shadow' | 'zip';
1294
+ type svgIconNames = 'aggregation' | 'api' | 'api-circle' | 'archive' | 'arrow-down' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'autogenerate' | 'autogenerate-circle' | 'aws' | 'ban' | 'bell' | 'bell-with-badge' | 'book' | 'breakdown' | 'bug' | 'buoy' | 'calculation-toolkit' | 'calculator' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'certificate' | 'chart' | 'checkmark' | 'checkmark-circle' | 'checkmark-circle-filled' | 'checkmark-circle-filled-with-shadow' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'citation' | 'citation-square' | 'clock' | 'cloud' | 'collapse' | 'collapse-panel' | 'commit' | 'community' | 'community-edition' | 'compare' | 'copy' | 'corner-drag' | 'csv-file' | 'cycle' | 'dashboard' | 'data-format' | 'database-wheat' | 'dot-circle' | 'dot-filled' | 'download' | 'drag' | 'edit' | 'edit-withfield' | 'embed' | 'exclamation' | 'exclamation-triangle' | 'exclamation-triangle-filled' | 'export' | 'external-link' | 'feedback' | 'fence' | 'film' | 'filter-funnel' | 'filter-slider' | 'flash' | 'folder' | 'folder-open' | 'foodprocessor' | 'globe-continents' | 'globe-lines' | 'glossary' | 'greenhouse' | 'guide' | 'guide-overlay' | 'heart' | 'help' | 'help-circle' | 'history' | 'home' | 'husk' | 'image' | 'incognito' | 'indexed' | 'info' | 'info-circle' | 'lake' | 'link' | 'list-indented' | 'livestock' | 'loading' | 'loading-bar' | 'loading-circle-filled' | 'loading-circle-filled-withshadow' | 'log' | 'mail' | 'map' | 'menu' | 'messages' | 'messages-with-badge' | 'metrics' | 'migration' | 'minus' | 'model-docs' | 'news' | 'node' | 'notepad' | 'ocean' | 'organisation' | 'overflow-menu' | 'pin' | 'plus' | 'pond' | 'private-eye' | 'private-eye-crossed' | 'private-lock' | 'private-lock-filled' | 'private-unlocked' | 'profile-checkmark' | 'profile-circle' | 'profile-gear' | 'progress' | 'python' | 'refresh' | 'rename' | 'retailer' | 'review' | 'river' | 'save' | 'schema' | 'search' | 'search-with-exclamation' | 'search-with-minus' | 'search-with-plus' | 'settings' | 'share' | 'share-socials' | 'shrub' | 'sign-out' | 'slack' | 'socials-gitlab' | 'socials-google' | 'socials-linkedin' | 'socials-linkedin-circle' | 'socials-orcid' | 'socials-orcid-circle' | 'sort-ascending' | 'sort-caret-down-filled' | 'sort-caret-stacked-filled-stacked' | 'sort-caret-up-filled' | 'source' | 'star' | 'star-filled' | 'table' | 'tag-filled' | 'target' | 'term' | 'textform-list' | 'tool' | 'transport' | 'trash' | 'tree' | 'turn-phone' | 'unit' | 'upload' | 'video' | 'xmark' | 'xmark-circle' | 'xmark-circle-filled' | 'xmark-circle-filled-with-shadow' | 'zip';
1295
1295
  declare const icons: svgIconNames[];
1296
1296
 
1297
1297
  declare class ClipboardComponent {
@@ -3848,7 +3848,6 @@ declare class ImpactAssessmentsGraphComponent {
3848
3848
  private readonly selectedImpactAssessment;
3849
3849
  private readonly indicators;
3850
3850
  private readonly nodeLogsResource;
3851
- private readonly parsedNodeLogsResource;
3852
3851
  private readonly nodeLogs;
3853
3852
  private readonly logTermIds;
3854
3853
  private readonly allTermsResource;
@@ -3870,8 +3869,8 @@ declare class ImpactAssessmentsGraphComponent {
3870
3869
 
3871
3870
  declare enum View$1 {
3872
3871
  table = "Table",
3873
- chart = "Chart",
3874
3872
  breakdown = "Breakdown",
3873
+ chart = "Compare",
3875
3874
  logs = "Recalculations logs"
3876
3875
  }
3877
3876
  type groupedEmissions = {
@@ -3891,8 +3890,8 @@ declare class ImpactAssessmentsProductsComponent {
3891
3890
  protected readonly View: typeof View$1;
3892
3891
  protected readonly viewIcon: {
3893
3892
  Table: svgIconNames;
3894
- Chart: svgIconNames;
3895
3893
  Breakdown: svgIconNames;
3894
+ Compare: svgIconNames;
3896
3895
  "Recalculations logs": svgIconNames;
3897
3896
  };
3898
3897
  private readonly showView;
@@ -3990,16 +3989,10 @@ interface ILog$1 {
3990
3989
  impactTermId: string;
3991
3990
  impactTermUnits?: string;
3992
3991
  blankNodeTermId: string;
3993
- coefficient: number;
3994
3992
  value: number;
3995
- inputs?: {
3996
- name: string;
3997
- value: number;
3998
- }[];
3999
- inputsValue?: number;
4000
3993
  name?: string;
4001
3994
  color?: string;
4002
- subLogs?: ILog$1[];
3995
+ inputs?: string[];
4003
3996
  }
4004
3997
  declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4005
3998
  private readonly searchService;
@@ -4014,7 +4007,14 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4014
4007
  label: string;
4015
4008
  }[];
4016
4009
  protected readonly selectedCategory: _angular_core.WritableSignal<string>;
4017
- protected readonly logsResource: _angular_core.ResourceRef<unknown>;
4010
+ protected readonly logsResource: _angular_core.ResourceRef<{
4011
+ modelId: string;
4012
+ impactTermId: string;
4013
+ impactTermUnits: string;
4014
+ blankNodeTermId: any;
4015
+ value: number;
4016
+ inputs: any[];
4017
+ }[]>;
4018
4018
  private readonly logs;
4019
4019
  private readonly nonZeroLogs;
4020
4020
  private readonly emissions;
@@ -4024,7 +4024,6 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4024
4024
  protected readonly selectedMethodId: _angular_core.WritableSignal<string>;
4025
4025
  protected readonly methods: _angular_core.Signal<_hestia_earth_schema.Term[]>;
4026
4026
  protected readonly selectedMethod: _angular_core.Signal<_hestia_earth_schema.Term>;
4027
- private readonly impacts;
4028
4027
  protected readonly noData: _angular_core.Signal<boolean>;
4029
4028
  protected readonly values: _angular_core.Signal<{
4030
4029
  name: string;
@@ -4033,14 +4032,8 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4033
4032
  impactTermId: string;
4034
4033
  impactTermUnits?: string;
4035
4034
  blankNodeTermId: string;
4036
- coefficient: number;
4037
4035
  value: number;
4038
- inputs?: {
4039
- name: string;
4040
- value: number;
4041
- }[];
4042
- inputsValue?: number;
4043
- subLogs?: ILog$1[];
4036
+ inputs?: string[];
4044
4037
  }[]>;
4045
4038
  private readonly id;
4046
4039
  protected readonly downloadFilename: _angular_core.Signal<string>;
@@ -4368,20 +4361,21 @@ interface INodeContributions {
4368
4361
  declare class HeNodeService {
4369
4362
  protected http: HttpClient;
4370
4363
  protected commonService: HeCommonService;
4371
- getWithHeaders$<T>({ dataState, ...node }: IJSONNode, params?: {}): rxjs.Observable<{
4364
+ getWithHeaders$<T>({ dataState, ...node }: IJSONNode, params?: {}): Observable<{
4372
4365
  headers: HttpHeaders;
4373
4366
  data: T;
4374
4367
  }>;
4375
- get$<T>(node: IJSONNode, params?: {}, onHeaders?: onHeadersCallback): rxjs.Observable<T>;
4368
+ get$<T>(node: IJSONNode, params?: {}, onHeaders?: onHeadersCallback): Observable<T>;
4376
4369
  get<T>(node: IJSONNode, defaultForState?: boolean): Promise<T>;
4377
- head$(node: IJSONNode, dataVersion?: string): rxjs.Observable<INodeHeaders>;
4378
- getRelated$(node: IJSONNode, relatedType: NodeType, limit?: number, offset?: number, relationship?: string): rxjs.Observable<RelatedNodeResult>;
4379
- getLog$({ dataState, aggregated, ...node }: IJSONNode, format?: 'text' | 'json'): rxjs.Observable<any>;
4380
- getContributions$(node: IJSONNode): rxjs.Observable<INodeContributions>;
4381
- getErrorLog$({ dataState, aggregated, ...node }: IJSONNode): rxjs.Observable<INodeErrorLog>;
4382
- getMissingLookupsLog$({ dataState, ...node }: IJSONNode): rxjs.Observable<INodeMissingLookupLog[]>;
4370
+ head$(node: IJSONNode, dataVersion?: string): Observable<INodeHeaders>;
4371
+ getRelated$(node: IJSONNode, relatedType: NodeType, limit?: number, offset?: number, relationship?: string): Observable<RelatedNodeResult>;
4372
+ getLog$({ dataState, aggregated, ...node }: IJSONNode, format?: 'text' | 'json'): Observable<any>;
4373
+ getContributions$({ dataState, ...impactAssessment }: IJSONNode & IImpactAssessmentJSONLD): Observable<INodeContributions>;
4374
+ private getContributionsFromLog$;
4375
+ getErrorLog$({ dataState, aggregated, ...node }: IJSONNode): Observable<INodeErrorLog>;
4376
+ getMissingLookupsLog$({ dataState, ...node }: IJSONNode): Observable<INodeMissingLookupLog[]>;
4383
4377
  triggerPipeline({ dataState, ...node }: IJSONNode): Promise<Object>;
4384
- downloadRaw$<T = any>(url: string, responseType?: any): rxjs.Observable<T>;
4378
+ downloadRaw$<T = any>(url: string, responseType?: any): Observable<T>;
4385
4379
  nodeTypeUrl(type: any): string;
4386
4380
  nodeUrl(node: IJSONNode): string;
4387
4381
  nodeLogsUrl(node: IJSONNode): string;