@hestia-earth/ui-components 0.41.36 → 0.41.38
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
|
@@ -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
|
|
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();
|
|
@@ -4370,7 +4388,7 @@ declare class HeNodeService {
|
|
|
4370
4388
|
head$(node: IJSONNode, dataVersion?: string): Observable<INodeHeaders>;
|
|
4371
4389
|
getRelated$(node: IJSONNode, relatedType: NodeType, limit?: number, offset?: number, relationship?: string): Observable<RelatedNodeResult>;
|
|
4372
4390
|
getLog$({ dataState, aggregated, ...node }: IJSONNode, format?: 'text' | 'json'): Observable<any>;
|
|
4373
|
-
getContributions$({ dataState, ...impactAssessment }: IJSONNode & IImpactAssessmentJSONLD): Observable<INodeContributions>;
|
|
4391
|
+
getContributions$({ dataState, ...impactAssessment }: IJSONNode & Partial<IImpactAssessmentJSONLD>): Observable<INodeContributions>;
|
|
4374
4392
|
private getContributionsFromLog$;
|
|
4375
4393
|
getErrorLog$({ dataState, aggregated, ...node }: IJSONNode): Observable<INodeErrorLog>;
|
|
4376
4394
|
getMissingLookupsLog$({ dataState, ...node }: IJSONNode): Observable<INodeMissingLookupLog[]>;
|
|
@@ -4740,6 +4758,7 @@ declare class NodeLogsModelsComponent {
|
|
|
4740
4758
|
protected readonly isEmpty: (value: any, minKeys?: number) => boolean;
|
|
4741
4759
|
protected readonly schemaBaseUrl: string;
|
|
4742
4760
|
protected readonly isExternal: boolean;
|
|
4761
|
+
protected readonly NodeType: typeof NodeType;
|
|
4743
4762
|
protected readonly CycleFunctionalUnit: typeof CycleFunctionalUnit;
|
|
4744
4763
|
protected readonly EmissionMethodTier: typeof EmissionMethodTier;
|
|
4745
4764
|
protected readonly LogStatus: typeof LogStatus;
|
|
@@ -4761,6 +4780,7 @@ declare class NodeLogsModelsComponent {
|
|
|
4761
4780
|
protected readonly isInSystemBoundary: (id: string) => boolean;
|
|
4762
4781
|
protected readonly showLegend: _angular_core.WritableSignal<boolean>;
|
|
4763
4782
|
protected readonly onlyRequired: _angular_core.WritableSignal<boolean>;
|
|
4783
|
+
protected readonly showContributionsLogs: _angular_core.WritableSignal<boolean>;
|
|
4764
4784
|
private readonly schemaType;
|
|
4765
4785
|
protected readonly filteredType: _angular_core.Signal<string>;
|
|
4766
4786
|
protected readonly functionalUnit: _angular_core.Signal<any>;
|
|
@@ -4916,8 +4936,10 @@ declare class NodeValueDetailsComponent<T extends Exclude<blankNodesType, Infras
|
|
|
4916
4936
|
protected readonly nodeType: _angular_core.InputSignal<NodeType>;
|
|
4917
4937
|
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
4918
4938
|
protected readonly dataKey: _angular_core.InputSignal<string>;
|
|
4939
|
+
protected readonly aggregated: _angular_core.InputSignal<boolean>;
|
|
4919
4940
|
protected readonly nodes: _angular_core.Signal<T[]>;
|
|
4920
4941
|
protected readonly node: _angular_core.Signal<T>;
|
|
4942
|
+
protected readonly term: _angular_core.Signal<_hestia_earth_schema.Term>;
|
|
4921
4943
|
protected readonly type: _angular_core.Signal<SchemaType>;
|
|
4922
4944
|
private readonly type$;
|
|
4923
4945
|
protected readonly showInline: _angular_core.Signal<boolean>;
|
|
@@ -4925,6 +4947,10 @@ declare class NodeValueDetailsComponent<T extends Exclude<blankNodesType, Infras
|
|
|
4925
4947
|
protected readonly chartDistribution: _angular_core.Signal<number[]>;
|
|
4926
4948
|
protected readonly chartValue: _angular_core.Signal<any>;
|
|
4927
4949
|
protected readonly chartLabel: _angular_core.Signal<string>;
|
|
4950
|
+
protected readonly models: _angular_core.Signal<{
|
|
4951
|
+
name: string;
|
|
4952
|
+
link: string;
|
|
4953
|
+
}[]>;
|
|
4928
4954
|
constructor();
|
|
4929
4955
|
private updateSchemaTableKeys;
|
|
4930
4956
|
private createSchemaTableKeys;
|
|
@@ -4933,7 +4959,7 @@ declare class NodeValueDetailsComponent<T extends Exclude<blankNodesType, Infras
|
|
|
4933
4959
|
protected onTableKeyChange(key: IStoredKey, index: number, selected: boolean): void;
|
|
4934
4960
|
protected dropTableKey({ previousIndex, currentIndex }: CdkDragDrop<any, any, IStoredKey>): void;
|
|
4935
4961
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeValueDetailsComponent<any>, never>;
|
|
4936
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeValueDetailsComponent<any>, "he-node-value-details", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "nodeType": { "alias": "nodeType"; "required": true; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": true; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4962
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeValueDetailsComponent<any>, "he-node-value-details", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "nodeType": { "alias": "nodeType"; "required": true; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": true; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": true; "isSignal": true; }; "aggregated": { "alias": "aggregated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4937
4963
|
}
|
|
4938
4964
|
|
|
4939
4965
|
declare class SchemaInfoComponent {
|