@hestia-earth/ui-components 0.4.1 → 0.4.2
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 +195 -160
- package/bundles/hestia-earth-ui-components.umd.js.map +1 -1
- package/common/utils.d.ts +1 -0
- package/cycles/cycles-activity/cycles-activity.component.d.ts +2 -0
- package/cycles/cycles-emissions/cycles-emissions.component.d.ts +1 -0
- package/cycles/cycles-practices/cycles-practices.component.d.ts +1 -0
- package/esm2015/common/issue-confirm/issue-confirm.component.js +2 -2
- package/esm2015/common/utils.js +2 -1
- package/esm2015/cycles/cycles-activity/cycles-activity.component.js +19 -13
- package/esm2015/cycles/cycles-emissions/cycles-emissions.component.js +7 -3
- package/esm2015/cycles/cycles-practices/cycles-practices.component.js +7 -3
- package/esm2015/engine/engine.service.js +2 -2
- package/esm2015/files/files-error.model.js +5 -2
- package/esm2015/impact-assessments/impact-assessments-indicator-breakdown-chart/impact-assessments-indicator-breakdown-chart.component.js +16 -12
- package/esm2015/impact-assessments/impact-assessments-products/impact-assessments-products.component.js +7 -3
- package/esm2015/node/node-logs-models/node-logs-models.component.js +2 -2
- package/esm2015/search/search.model.js +9 -5
- package/esm2015/sites/sites-measurements/sites-measurements.component.js +7 -3
- package/fesm2015/hestia-earth-ui-components.js +170 -137
- package/fesm2015/hestia-earth-ui-components.js.map +1 -1
- package/impact-assessments/impact-assessments-products/impact-assessments-products.component.d.ts +1 -0
- package/package.json +1 -1
- package/search/search.model.d.ts +1 -4
- package/sites/sites-measurements/sites-measurements.component.d.ts +1 -0
package/impact-assessments/impact-assessments-products/impact-assessments-products.component.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export declare class ImpactAssessmentsProductsComponent implements OnChanges {
|
|
|
44
44
|
impactName(impact: IImpactAssessmentJSONLD): any;
|
|
45
45
|
cycleLabel({ '@id': id, name }: any): any;
|
|
46
46
|
get enableBreakdown(): boolean;
|
|
47
|
+
private updateSelectedIndex;
|
|
47
48
|
selectIndex({ target: { value } }: {
|
|
48
49
|
target: {
|
|
49
50
|
value: any;
|
package/package.json
CHANGED
package/search/search.model.d.ts
CHANGED
|
@@ -206,10 +206,6 @@ export declare const regionsQuery: Readonly<{
|
|
|
206
206
|
}>)[];
|
|
207
207
|
};
|
|
208
208
|
}>;
|
|
209
|
-
export declare const worldRegion: Readonly<{
|
|
210
|
-
'@id': string;
|
|
211
|
-
name: string;
|
|
212
|
-
}>;
|
|
213
209
|
export declare const cropsQuery: Readonly<{
|
|
214
210
|
bool: {
|
|
215
211
|
must: (Readonly<{
|
|
@@ -232,6 +228,7 @@ export declare const matchAggregatedQuery: Readonly<{
|
|
|
232
228
|
};
|
|
233
229
|
}>;
|
|
234
230
|
export declare const matchNestedKey: (key: string, query: any) => any;
|
|
231
|
+
export declare const matchPrimaryProductQuery: (product: string) => any;
|
|
235
232
|
/**
|
|
236
233
|
* List of fields to return in the search results.
|
|
237
234
|
*/
|
|
@@ -26,6 +26,7 @@ export declare class SitesMeasurementsComponent implements OnChanges {
|
|
|
26
26
|
private update;
|
|
27
27
|
togglePopover(popover: any, context: any): any;
|
|
28
28
|
get showAreaTooBig(): boolean;
|
|
29
|
+
private updateSelectedIndex;
|
|
29
30
|
selectIndex({ target: { value } }: {
|
|
30
31
|
target: {
|
|
31
32
|
value: any;
|