@hestia-earth/ui-components 0.2.6 → 0.2.9
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/bundles/hestia-earth-ui-components.umd.js +134 -121
- package/bundles/hestia-earth-ui-components.umd.js.map +1 -1
- package/common/maps-utils.d.ts +1 -1
- package/common/node-utils.d.ts +3 -2
- package/engine/engine.service.d.ts +1 -0
- package/esm2015/common/link-key-value/link-key-value.component.js +15 -6
- package/esm2015/common/maps-utils.js +12 -9
- package/esm2015/common/node-utils.js +3 -1
- package/esm2015/engine/engine.service.js +2 -2
- package/esm2015/files/files-form.model.js +2 -1
- package/esm2015/impact-assessments/impact-assessments-indicator-breakdown-chart/impact-assessments-indicator-breakdown-chart.component.js +26 -18
- package/esm2015/impact-assessments/impact-assessments-products/impact-assessments-products.component.js +3 -11
- package/esm2015/impact-assessments/impact-assessments-products-logs/impact-assessments-products-logs.component.js +6 -5
- package/esm2015/node/node-logs-models/node-logs-models.component.js +46 -47
- package/esm2015/node/node-value-details/node-value-details.component.js +2 -2
- package/esm2015/sites/sites-maps/sites-maps.component.js +2 -7
- package/esm2015/terms/terms.model.js +2 -2
- package/fesm2015/hestia-earth-ui-components.js +106 -96
- package/fesm2015/hestia-earth-ui-components.js.map +1 -1
- package/impact-assessments/impact-assessments-indicator-breakdown-chart/impact-assessments-indicator-breakdown-chart.component.d.ts +2 -0
- package/impact-assessments/impact-assessments-products/impact-assessments-products.component.d.ts +1 -1
- package/impact-assessments/impact-assessments-products-logs/impact-assessments-products-logs.component.d.ts +1 -1
- package/node/node-logs-models/node-logs-models.component.d.ts +8 -5
- package/package.json +3 -3
|
@@ -18,6 +18,8 @@ export declare class ImpactAssessmentsIndicatorBreakdownChartComponent implement
|
|
|
18
18
|
loading: boolean;
|
|
19
19
|
terms: Term[];
|
|
20
20
|
selectedTerm?: Term;
|
|
21
|
+
methods: Term[];
|
|
22
|
+
selectedMethod?: Term;
|
|
21
23
|
noData: boolean;
|
|
22
24
|
csvContent?: SafeResourceUrl;
|
|
23
25
|
constructor(ngZone: NgZone, domSanitizer: DomSanitizer, searchService: HeSearchService, nodeService: HeNodeService);
|
package/impact-assessments/impact-assessments-products/impact-assessments-products.component.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare class ImpactAssessmentsProductsComponent implements OnChanges {
|
|
|
16
16
|
private cycles?;
|
|
17
17
|
impactAssessments: IImpactAssessmentJSONLD[];
|
|
18
18
|
selected: string[];
|
|
19
|
-
key: 'impacts' | 'emissionsResourceUse';
|
|
19
|
+
key: 'endpoints' | 'impacts' | 'emissionsResourceUse';
|
|
20
20
|
dataState?: DataState;
|
|
21
21
|
filterTermTypes?: TermTermType[];
|
|
22
22
|
enableFilterMethodModel: boolean;
|
|
@@ -16,7 +16,7 @@ export declare class ImpactAssessmentsProductsLogsComponent implements OnInit {
|
|
|
16
16
|
NodeType: typeof NodeType;
|
|
17
17
|
logs: any;
|
|
18
18
|
models: ITermJSONLD[];
|
|
19
|
-
|
|
19
|
+
terms: ITermJSONLD[];
|
|
20
20
|
constructor(searchService: HeSearchService, nodeService: HeNodeService);
|
|
21
21
|
ngOnInit(): Promise<void>;
|
|
22
22
|
private get node();
|
|
@@ -61,12 +61,13 @@ export declare class NodeLogsModelsComponent implements OnInit {
|
|
|
61
61
|
filteredType?: string;
|
|
62
62
|
baseUrl: string;
|
|
63
63
|
isExternal: boolean;
|
|
64
|
+
hasLog: (log: INodeTermLog, withOrchestrator?: boolean) => boolean;
|
|
64
65
|
loading: boolean;
|
|
65
66
|
blankNodes: IBlankNodeLog[];
|
|
66
67
|
methodModelsCount: number;
|
|
67
68
|
rowsCount: number;
|
|
68
69
|
methodsById?: any;
|
|
69
|
-
|
|
70
|
+
onlyRequired: boolean;
|
|
70
71
|
showLegend: boolean;
|
|
71
72
|
LogStatus: typeof LogStatus;
|
|
72
73
|
logIcon: {
|
|
@@ -91,18 +92,20 @@ export declare class NodeLogsModelsComponent implements OnInit {
|
|
|
91
92
|
private suggestByTerm;
|
|
92
93
|
trackByBlankNode(_index: number, node: IBlankNodeLog): string;
|
|
93
94
|
keyValue(blankNodes: blankNode[], key: string): any;
|
|
94
|
-
|
|
95
|
+
openPopover(popover: any, { blankNode, methodId, subValue, logs }: {
|
|
96
|
+
blankNode: any;
|
|
97
|
+
methodId: any;
|
|
98
|
+
subValue: any;
|
|
99
|
+
logs: any;
|
|
100
|
+
}): any;
|
|
95
101
|
filterResults(): void;
|
|
96
102
|
/** Logs **/
|
|
97
103
|
private getSubvalueLogs;
|
|
98
104
|
getLogs(node: IBlankNodeLog, methodId: string, subValue?: IBlankNodeLogSubValue): any;
|
|
99
105
|
private isBackground;
|
|
100
|
-
private isRunOrchestrator;
|
|
101
106
|
private isUserProvided;
|
|
102
|
-
validSubValue(node: IBlankNodeLog, index: number, subValue?: IBlankNodeLogSubValue): boolean;
|
|
103
107
|
getMethodIdAt(node: IBlankNodeLog, index: number, subValue?: IBlankNodeLogSubValue): string;
|
|
104
108
|
methodName(node: IBlankNodeLog, methodId: string, subValue?: IBlankNodeLogSubValue): any;
|
|
105
|
-
hasLog(log: INodeTermLog, withOrchestrator?: boolean): boolean;
|
|
106
109
|
hasLogDetails(node: IBlankNodeLog, methodId: string, subValue?: IBlankNodeLogSubValue): any;
|
|
107
110
|
logStatus(node: IBlankNodeLog, methodId: string, subValue?: IBlankNodeLogSubValue): LogStatus;
|
|
108
111
|
requirementKeys(requirements: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hestia-earth/ui-components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.9",
|
|
4
4
|
"description": "Hestia reusable components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
24
24
|
"@google/markerclustererplus": "^5.1.3",
|
|
25
25
|
"@hestia-earth/api": ">=0.12.0",
|
|
26
|
-
"@hestia-earth/glossary": "^0.
|
|
26
|
+
"@hestia-earth/glossary": "^0.5.0",
|
|
27
27
|
"@hestia-earth/json-schema": "^9.0.0",
|
|
28
28
|
"@hestia-earth/schema": "^9.0.0",
|
|
29
29
|
"@hestia-earth/schema-convert": "^9.0.0",
|
|
30
30
|
"@hestia-earth/ui-framework": "^1.11.0",
|
|
31
|
-
"@hestia-earth/utils": "^0.10.
|
|
31
|
+
"@hestia-earth/utils": "^0.10.24",
|
|
32
32
|
"@ng-bootstrap/ng-bootstrap": ">=8.0.4",
|
|
33
33
|
"chart.js": "^2.9.4",
|
|
34
34
|
"chartjs-plugin-datalabels": "^1.0.0",
|