@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.
Files changed (24) hide show
  1. package/bundles/hestia-earth-ui-components.umd.js +195 -160
  2. package/bundles/hestia-earth-ui-components.umd.js.map +1 -1
  3. package/common/utils.d.ts +1 -0
  4. package/cycles/cycles-activity/cycles-activity.component.d.ts +2 -0
  5. package/cycles/cycles-emissions/cycles-emissions.component.d.ts +1 -0
  6. package/cycles/cycles-practices/cycles-practices.component.d.ts +1 -0
  7. package/esm2015/common/issue-confirm/issue-confirm.component.js +2 -2
  8. package/esm2015/common/utils.js +2 -1
  9. package/esm2015/cycles/cycles-activity/cycles-activity.component.js +19 -13
  10. package/esm2015/cycles/cycles-emissions/cycles-emissions.component.js +7 -3
  11. package/esm2015/cycles/cycles-practices/cycles-practices.component.js +7 -3
  12. package/esm2015/engine/engine.service.js +2 -2
  13. package/esm2015/files/files-error.model.js +5 -2
  14. package/esm2015/impact-assessments/impact-assessments-indicator-breakdown-chart/impact-assessments-indicator-breakdown-chart.component.js +16 -12
  15. package/esm2015/impact-assessments/impact-assessments-products/impact-assessments-products.component.js +7 -3
  16. package/esm2015/node/node-logs-models/node-logs-models.component.js +2 -2
  17. package/esm2015/search/search.model.js +9 -5
  18. package/esm2015/sites/sites-measurements/sites-measurements.component.js +7 -3
  19. package/fesm2015/hestia-earth-ui-components.js +170 -137
  20. package/fesm2015/hestia-earth-ui-components.js.map +1 -1
  21. package/impact-assessments/impact-assessments-products/impact-assessments-products.component.d.ts +1 -0
  22. package/package.json +1 -1
  23. package/search/search.model.d.ts +1 -4
  24. package/sites/sites-measurements/sites-measurements.component.d.ts +1 -0
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/ui-components",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Hestia reusable components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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;