@hestia-earth/ui-components 0.32.34 → 0.32.35

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.
@@ -47,6 +47,7 @@ export interface IGroupedNodesValues<T> {
47
47
  [nodeId: string]: IGroupedNode<T>;
48
48
  }
49
49
  export interface IGroupedNodesValue<T> {
50
+ visible: boolean;
50
51
  term: ITermJSONLD;
51
52
  methodTier?: EmissionMethodTier;
52
53
  /**
@@ -70,5 +71,6 @@ export declare const grouppedKeys: <T>(values: {
70
71
  }[];
71
72
  export declare const methodTierOrder: (methodTier: EmissionMethodTier) => number;
72
73
  export declare const grouppedValueKeys: string[];
73
- export declare const groupNodesByTerm: <T extends ICycleJSONLD | IImpactAssessmentJSONLD | ISiteJSONLD | Animal | Transformation, R>(nodes: T[], key: blankNodesKey, includeNode?: (_node: any) => boolean, hideZeroValues?: boolean) => IGroupedNodes<R>;
74
+ export declare const groupNodesByTerm: <T extends ICycleJSONLD | IImpactAssessmentJSONLD | ISiteJSONLD | Animal | Transformation, R>(nodes: T[], key: blankNodesKey, includeNode?: (_node: any) => boolean, hideZeroValues?: boolean, hideIdenticalValues?: boolean) => IGroupedNodes<R>;
75
+ export declare const isGroupVisible: <T>(blankNodes: IGroupedKeys<T>[]) => boolean;
74
76
  export {};
@@ -29,6 +29,7 @@ export declare class CyclesNodesComponent {
29
29
  protected readonly selectedNodeKey: import("@angular/core").WritableSignal<BlankNodesKey>;
30
30
  protected readonly selectedGroup: import("@angular/core").WritableSignal<string>;
31
31
  protected readonly schemaBaseUrl: string;
32
+ protected readonly isGroupVisible: <T>(blankNodes: IGroupedKeys<T>[]) => boolean;
32
33
  protected readonly defaultLabel: (node?: any) => any;
33
34
  protected readonly headerKeys: import("@angular/core").Signal<string[]>;
34
35
  protected readonly View: typeof View;
@@ -183,7 +184,9 @@ export declare class CyclesNodesComponent {
183
184
  protected readonly filterTermTypes: import("@angular/core").Signal<TermTermType[]>;
184
185
  protected readonly filterTerm: import("@angular/core").WritableSignal<string>;
185
186
  protected readonly csvFilename: import("@angular/core").Signal<string>;
187
+ protected readonly showHideZeroValues: import("@angular/core").Signal<boolean>;
186
188
  protected readonly hideZeroValues: import("@angular/core").WritableSignal<boolean>;
189
+ protected readonly hideIdenticalValues: import("@angular/core").WritableSignal<boolean>;
187
190
  constructor();
188
191
  private groupNodesByKey;
189
192
  private groupEmissions;