@hestia-earth/ui-components 0.43.21 → 0.43.23

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/ui-components",
3
- "version": "0.43.21",
3
+ "version": "0.43.23",
4
4
  "description": "HESTIA reusable components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,6 +62,7 @@
62
62
  "shade-generator": "^1.2.7"
63
63
  },
64
64
  "dependencies": {
65
+ "@hestia-earth/ui-components-charts": "0.43.23",
65
66
  "tslib": "^2.8.0"
66
67
  },
67
68
  "module": "fesm2022/hestia-earth-ui-components.mjs",
package/styles.scss CHANGED
@@ -97,6 +97,11 @@ $popover-arrow-width: 1rem;
97
97
  $popover-arrow-height: 0.5rem;
98
98
  $popover-arrow-border: $popover-border-color;
99
99
 
100
+ // a modal opened from inside a popover (e.g. a chart download), overriding ngb's inline `z-index: 1055`
101
+ ngb-modal-window.is-above-popover {
102
+ z-index: 1057 !important;
103
+ }
104
+
100
105
  ngb-popover-window {
101
106
  font-size: $size-6;
102
107
  line-height: $size-5;
@@ -4,9 +4,12 @@ import * as _angular_forms from '@angular/forms';
4
4
  import { ControlValueAccessor as ControlValueAccessor$1, FormControl } from '@angular/forms';
5
5
  import * as _hestia_earth_schema from '@hestia-earth/schema';
6
6
  import { Source, Bibliography, TermTermType, blankNodesType, Term, Indicator, ITermJSONLD, EmissionMethodTier, ICycleJSONLD, IImpactAssessmentJSONLD, ISiteJSONLD, Animal, Transformation, blankNodesKey, NodeType, NonBlankNodesKey, Emission, CycleFunctionalUnit, BlankNodesKey, Practice, Input, Product, SchemaType, SiteSiteType, JSONLD, JSON, ISourceJSONLD, IndicatorMethodTier, sortConfig, Infrastructure, nonBlankNodesType, nonBlankNodesKey, Property, Measurement, Site, IOrganisationJSONLD, Organisation } from '@hestia-earth/schema';
7
- import * as chart_js from 'chart.js';
8
- import { Chart, BarOptions, Plugin, ChartEvent, Color, ChartDataset, Scale, ChartConfiguration, ChartComponentLike, ChartData, ActiveElement } from 'chart.js';
7
+ import * as _hestia_earth_ui_components_charts from '@hestia-earth/ui-components-charts';
8
+ import { AxisLabelEvent, AxisHoverSettings, LollipopPluginSettings, AfterBarDrawSettings, BarChartDataItem, ContributionTooltipData, ContributionChartDataItem, IEmissionCategory, IContributionLog, contributions, INodeContributions } from '@hestia-earth/ui-components-charts';
9
+ export { AfterBarDrawSettings, AxisHoverSettings, AxisLabelEvent, BarChartDataItem, ColorPalette, ContributionChartDataItem, ContributionTooltipData, IContributionCategory, IEmissionCategory, INodeContributions, LollipopPluginSettings, RgbColor, afterBarDrawPlugin, axisHoverPlugin, axisLabelCursor, backgroundHoverPlugin, chartLabelMaxLength, colorToRgba, contributions, defaultTicksFont, getColor, groupDataByCategory, hexToRgba, increaseScaleLimits, listColor, listColorContinuous, listColorWithAlpha, lollipopChartPlugin, parseColor, sumValues } from '@hestia-earth/ui-components-charts';
9
10
  import { PlacementArray } from '@ng-bootstrap/ng-bootstrap';
11
+ import * as chart_js from 'chart.js';
12
+ import { ChartConfiguration, ChartComponentLike, Chart, ChartData, ChartDataset, ChartEvent, ActiveElement } from 'chart.js';
10
13
  import * as rxjs from 'rxjs';
11
14
  import { Observable, ReplaySubject } from 'rxjs';
12
15
  import * as node_modules_chart_js_dist_types_basic from 'node_modules/chart.js/dist/types/basic';
@@ -81,80 +84,6 @@ declare class BibliographiesSearchConfirmComponent {
81
84
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<BibliographiesSearchConfirmComponent, "he-bibliographies-search-confirm", never, { "search": { "alias": "search"; "required": false; "isSignal": true; }; "searchSources": { "alias": "searchSources"; "required": false; "isSignal": true; }; "searchBibliographies": { "alias": "searchBibliographies"; "required": false; "isSignal": true; }; "searchBy": { "alias": "searchBy"; "required": false; "isSignal": true; }; }, { "search": "searchChange"; "searchSources": "searchSourcesChange"; "searchBibliographies": "searchBibliographiesChange"; "searchBy": "searchByChange"; "closed": "closed"; }, never, never, true, never>;
82
85
  }
83
86
 
84
- type placement = 'left' | 'right';
85
- type positionFn = (n: number, index: number, width: number, chart: Chart, data?: number | number[], placement?: placement) => number;
86
- interface AfterBarDrawSettings {
87
- placement?: placement;
88
- xPosFn?: positionFn;
89
- yPosFn?: positionFn;
90
- colorFn?: (m: BarOptions, index: number, chart: Chart, data?: number) => string;
91
- textFn?: (m: {
92
- label: string;
93
- data: number | number[];
94
- }, index: number, chart: Chart) => string | [string, string];
95
- font?: string;
96
- maxWidth?: number;
97
- emptyValueLabel?: string;
98
- }
99
- declare const afterBarDrawPlugin: (settings?: AfterBarDrawSettings) => Plugin;
100
-
101
- interface AxisLabelEvent {
102
- label: string;
103
- index: number;
104
- /**
105
- * The middle of the label column at the bottom edge of the row — the point a tooltip should hang
106
- * off. Anchoring on the pointer instead puts the tooltip on the label being read, because a row
107
- * is entered at the top of its hit band when the pointer is moving down.
108
- */
109
- anchorX: number;
110
- anchorY: number;
111
- event: ChartEvent;
112
- }
113
- interface AxisHoverSettings {
114
- onHoverLabel?: (data: AxisLabelEvent) => void;
115
- onClickLabel?: (data: AxisLabelEvent) => void;
116
- maxDistance?: number;
117
- }
118
- /**
119
- * Hover handler turning the pointer into a cursor over a clickable axis label.
120
- */
121
- declare const axisLabelCursor: ({ label, event }: AxisLabelEvent) => void;
122
- declare const axisHoverPlugin: Plugin;
123
-
124
- interface IBackgroundHoverSettings {
125
- threshold?: number;
126
- }
127
- declare const backgroundHoverPlugin: (settings?: IBackgroundHoverSettings) => {
128
- id: string;
129
- afterEvent: (chart: Chart, args: {
130
- event: ChartEvent;
131
- changed?: boolean;
132
- }) => void;
133
- beforeDraw: (chart: Chart) => void;
134
- };
135
-
136
- type colorFn = (m: BarOptions, index: number) => Color;
137
- type positionIndexFn = (x: number, y: number) => number;
138
- type isMouseInsideLollipopFn = (fn: positionIndexFn) => void;
139
- type valueFn = (dataset: ChartDataset, index: number, chart: Chart) => number | undefined | null;
140
- interface LollipopPluginSettings {
141
- circleRadius?: number;
142
- /**
143
- * Use when connecting 2 lollipops.
144
- */
145
- lineWidth?: number;
146
- colorFn?: colorFn;
147
- isMouseInsideLollipopFn?: isMouseInsideLollipopFn;
148
- /**
149
- * By default, lollipops will be drawn where the value is (or start/end when 2 values are used).
150
- * Use this function to return a specific value where the lollipop should be drawn.
151
- */
152
- valueFn?: valueFn;
153
- }
154
- declare const lollipopChartPlugin: (settings?: LollipopPluginSettings) => Plugin;
155
-
156
- declare const increaseScaleLimits: (scale: Scale, handleMinScaleZero?: boolean) => void;
157
-
158
87
  type chartTooltipContentFn<T> = (data: T) => string;
159
88
  interface ITooltipOptions {
160
89
  tooltipClass?: string;
@@ -228,14 +157,6 @@ declare class ChartConfigurationDirective {
228
157
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartConfigurationDirective, "[chartConfiguration]", ["chart"], { "chartConfiguration": { "alias": "chartConfiguration"; "required": false; "isSignal": true; }; "chartContainer": { "alias": "chartContainer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
229
158
  }
230
159
 
231
- declare const defaultTicksFont: {
232
- family: string;
233
- size: number;
234
- };
235
- /**
236
- * Maximum length of an axis label, past which the charts truncate it.
237
- */
238
- declare const chartLabelMaxLength = 50;
239
160
  declare class ChartComponent {
240
161
  protected readonly data: _angular_core.InputSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>;
241
162
  protected readonly config: _angular_core.InputSignal<Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>>;
@@ -294,14 +215,6 @@ declare class ResponsiveService {
294
215
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ResponsiveService>;
295
216
  }
296
217
 
297
- interface BarChartDataItem {
298
- label?: string;
299
- count?: number;
300
- color?: string;
301
- backgroundColor?: string;
302
- borderColor?: string;
303
- includedItems?: BarChartDataItem[];
304
- }
305
218
  declare class BarChartComponent {
306
219
  protected readonly responsiveService: ResponsiveService;
307
220
  /**
@@ -468,52 +381,6 @@ declare class ChartExportButtonComponent {
468
381
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartExportButtonComponent, "he-chart-export-button", never, { "buttonClass": { "alias": "buttonClass"; "required": false; "isSignal": true; }; "chart": { "alias": "chart"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "exportFormats": { "alias": "exportFormats"; "required": false; "isSignal": true; }; "chartExportFn": { "alias": "chartExportFn"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
469
382
  }
470
383
 
471
- interface ContributionChartDataItem {
472
- id?: string;
473
- label: string;
474
- values: number[];
475
- color?: string;
476
- backgroundColor?: string;
477
- borderColor?: string;
478
- includedItems?: ContributionChartDataItem[];
479
- }
480
- interface ContributionTooltipData {
481
- label: string;
482
- units: string;
483
- values: (ContributionChartDataItem & {
484
- value: number;
485
- })[];
486
- selectedLabel?: string;
487
- }
488
- /**
489
- * The subset of the `CyclesEmissionsCategoryService` needed to group the data.
490
- */
491
- interface IContributionCategory {
492
- emissionCategoryValue: (emissionId: string, category: string) => string;
493
- categoryLabel: (key: string) => string;
494
- }
495
- /**
496
- * Sum the values of every item of a group, skipping the items without a value at this index.
497
- *
498
- * An item has no value when the Node does not contain that Emission at all, which is not the same as a `0` value:
499
- * summing it as `NaN` would silently hide the whole group from the chart. When no item of the group has a value,
500
- * `undefined` is returned so the chart displays "No data", like it does when the data is not grouped.
501
- *
502
- * @param values The values of every item of the group, at a single index.
503
- * @returns The sum, or `undefined` when no item has a value.
504
- */
505
- declare const sumValues: (values: number[]) => number;
506
- /**
507
- * Group the contribution data by Category, summing the values of every Emission of the same Category.
508
- *
509
- * @param data The contribution data, one item per Emission.
510
- * @param labels The labels of the chart, one per Node compared.
511
- * @param category The Category to group by. When empty, the data is returned as-is.
512
- * @param service Used to resolve the Category of an Emission and its label.
513
- * @returns The data grouped by Category, or the original data when grouping is not needed.
514
- */
515
- declare const groupDataByCategory: (data: ContributionChartDataItem[], labels: string[], category: string, { emissionCategoryValue, categoryLabel }: IContributionCategory) => ContributionChartDataItem[];
516
-
517
384
  declare class ContributionChartComponent {
518
385
  private readonly emissionCategoryService;
519
386
  private readonly responsiveService;
@@ -741,7 +608,7 @@ declare class DistributionChartComponent {
741
608
  private readonly parametricConfig;
742
609
  private readonly histogramData;
743
610
  private readonly parametricData;
744
- protected readonly dataConfig: _angular_core.Signal<ChartData<"line" | "bar", (number | [number, number] | chart_js.Point)[], unknown>>;
611
+ protected readonly dataConfig: _angular_core.Signal<ChartData<"bar" | "line", (number | [number, number] | chart_js.Point)[], unknown>>;
745
612
  protected readonly configuration: _angular_core.Signal<Readonly<{
746
613
  type: "line";
747
614
  options: {
@@ -1006,25 +873,9 @@ declare class HorizontalBarChartComponent extends BarChartComponent {
1006
873
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalBarChartComponent, "he-horizontal-bar-chart", ["horizontalBarChart"], { "tooltipFn": { "alias": "tooltipFn"; "required": false; "isSignal": true; }; "afterBarDrawSettings": { "alias": "afterBarDrawSettings"; "required": false; "isSignal": true; }; "axisTooltipFn": { "alias": "axisTooltipFn"; "required": false; "isSignal": true; }; "axisLabelClickFn": { "alias": "axisLabelClickFn"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1007
874
  }
1008
875
 
1009
- declare enum ColorPalette {
1010
- categorial = 0,
1011
- continuous = 1,
1012
- divergent = 2
1013
- }
1014
- declare const getColor: (index: number, scheme?: ColorPalette) => string;
1015
- declare const listColor: <T>(_v: T, index: number) => string;
1016
- declare const listColorContinuous: <T>(_v: T, index: number) => string;
1017
- interface RgbColor {
1018
- r: number;
1019
- g: number;
1020
- b: number;
1021
- }
1022
- declare const parseColor: (color: string) => RgbColor;
1023
- declare const colorToRgba: (color: RgbColor, aplha: number) => string;
1024
- declare const hexToRgba: (hex: string, aplha?: number) => string;
1025
- declare const listColorWithAlpha: (alpha?: number) => <T>(_v: T, index: number) => string;
1026
-
1027
876
  declare const HE_API_BASE_URL: InjectionToken<string>;
877
+ /** `he-sites-maps` loads region polygons from `<base>/<term id>.geojson`; `null` draws markers only. */
878
+ declare const HE_REGION_GEOJSON_BASE_URL: InjectionToken<string>;
1028
879
  declare class HeCommonService {
1029
880
  private _apiBaseUrl;
1030
881
  get apiBaseUrl(): string;
@@ -2022,7 +1873,7 @@ declare class PopoverComponent {
2022
1873
  protected readonly message: _angular_core.InputSignal<string>;
2023
1874
  protected readonly content: _angular_core.InputSignal<TemplateRef<ContentContext>>;
2024
1875
  protected readonly data: _angular_core.InputSignal<any>;
2025
- protected readonly position: _angular_core.InputSignal<"top" | "bottom" | "left" | "right">;
1876
+ protected readonly position: _angular_core.InputSignal<"top" | "left" | "right" | "bottom">;
2026
1877
  protected onClick($event: any): void;
2027
1878
  readonly active: _angular_core.WritableSignal<boolean>;
2028
1879
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverComponent, never>;
@@ -2402,53 +2253,43 @@ declare const primaryProduct: ({ products }: Partial<ICycleJSONLD>) => _hestia_e
2402
2253
  */
2403
2254
  declare const logsKey: (node: any) => any;
2404
2255
 
2405
- interface IEmissionCategory {
2406
- key: string;
2407
- label: string;
2408
- }
2256
+ /**
2257
+ * The emission categories of the glossary, for components; the functions themselves are in
2258
+ * `@hestia-earth/ui-components-charts`, so an application without Angular reads the same ones.
2259
+ */
2409
2260
  declare class CyclesEmissionsCategoryService {
2410
- private readonly data;
2411
2261
  readonly categoryLabel: (key: string) => string;
2412
- /**
2413
- * The list of all available categories.
2414
- */
2415
- readonly categories: {
2416
- key: string;
2417
- label: string;
2418
- }[];
2419
- /**
2420
- * Return all possible values for a specific Category.
2421
- *
2422
- * @param category {string} The specific category
2423
- * @returns List of all values possible for this Category.
2424
- */
2262
+ readonly categories: IEmissionCategory[];
2425
2263
  readonly categoryValues: (category: string) => string[];
2426
- /**
2427
- * Return the different categories available for a single Emission.
2428
- *
2429
- * @param emissionId The `@id` of the Emission
2430
- * @returns List of categories.
2431
- */
2432
2264
  readonly emissionCategories: (emissionId: string) => string[];
2433
- /**
2434
- * Return the Category value for a specific Emission and Category.
2435
- *
2436
- * @param emissionId The `@id` of the Emission
2437
- * @param category The Category
2438
- * @returns The value
2439
- */
2440
2265
  readonly emissionCategoryValue: (emissionId: string, category: string) => string;
2441
2266
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CyclesEmissionsCategoryService, never>;
2442
2267
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<CyclesEmissionsCategoryService>;
2443
2268
  }
2444
2269
 
2270
+ /**
2271
+ * How one completeness area of an aggregated Cycle was decided, from the contributors it combined.
2272
+ */
2273
+ interface ICompletenessAggregationRow {
2274
+ key: string;
2275
+ value?: boolean;
2276
+ completeCount?: number;
2277
+ contributorsCount?: number;
2278
+ /**
2279
+ * Why the area ended up complete or not, in words: the counts alone do not say what decides it.
2280
+ */
2281
+ rule?: string;
2282
+ }
2283
+
2445
2284
  declare enum View$4 {
2446
2285
  table = "Table",
2447
- logs = "Recalculations logs"
2286
+ logs = "Recalculations logs",
2287
+ aggregationLogs = "Aggregation logs"
2448
2288
  }
2449
2289
  declare class CyclesCompletenessComponent {
2450
2290
  private readonly modalService;
2451
2291
  private readonly nodeStoreService;
2292
+ private readonly nodeLogsModelsService;
2452
2293
  protected readonly componentId: _angular_core.Signal<string>;
2453
2294
  protected readonly dataState: _angular_core.InputSignal<DataState>;
2454
2295
  protected readonly schemaBaseUrl: string;
@@ -2464,13 +2305,18 @@ declare class CyclesCompletenessComponent {
2464
2305
  protected readonly viewIcon: {
2465
2306
  Table: svgIconNames;
2466
2307
  "Recalculations logs": svgIconNames;
2308
+ "Aggregation logs": svgIconNames;
2467
2309
  };
2468
2310
  private readonly showView;
2469
2311
  protected readonly views: _angular_core.Signal<View$4[]>;
2470
2312
  protected readonly selectedView: _angular_core.WritableSignal<View$4>;
2471
2313
  private readonly originalCycles;
2472
2314
  protected readonly cycles: _angular_core.Signal<ICycleJSONLD[]>;
2473
- private readonly selectedIndex;
2315
+ protected readonly selectableCycles: _angular_core.Signal<{
2316
+ cycle: ICycleJSONLD;
2317
+ index: number;
2318
+ }[]>;
2319
+ protected readonly selectedIndex: _angular_core.WritableSignal<number>;
2474
2320
  private readonly ogirinalSelectedCycle;
2475
2321
  private readonly selectedCycle;
2476
2322
  protected readonly selectedLogsKey: _angular_core.Signal<any>;
@@ -2533,6 +2379,8 @@ declare class CyclesCompletenessComponent {
2533
2379
  '@id': string;
2534
2380
  name: string;
2535
2381
  }>;
2382
+ private readonly aggregationJlog;
2383
+ protected readonly aggregationRows: _angular_core.Signal<ICompletenessAggregationRow[]>;
2536
2384
  protected readonly hasData: _angular_core.Signal<number>;
2537
2385
  protected readonly isOriginal: _angular_core.Signal<boolean>;
2538
2386
  readonly hideIdenticalValues: _angular_core.InputSignal<boolean>;
@@ -4458,10 +4306,7 @@ declare class ImpactAssessmentsGraphComponent {
4458
4306
  protected readonly selectedModelId: _angular_core.WritableSignal<string>;
4459
4307
  private readonly hasDefaultModelLogs;
4460
4308
  protected readonly models: _angular_core.Signal<Partial<ITermJSONLD>[]>;
4461
- protected readonly categories: {
4462
- key: string;
4463
- label: string;
4464
- }[];
4309
+ protected readonly categories: _hestia_earth_ui_components.IEmissionCategory[];
4465
4310
  protected readonly selectedCategory: _angular_core.WritableSignal<string>;
4466
4311
  protected readonly chartData: _angular_core.Signal<IChartData[]>;
4467
4312
  protected readonly loading: _angular_core.Signal<boolean>;
@@ -4595,16 +4440,6 @@ declare class ImpactAssessmentsProductsComponent {
4595
4440
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImpactAssessmentsProductsComponent, "he-impact-assessments-products", never, { "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "filterTermTypes": { "alias": "filterTermTypes"; "required": false; "isSignal": true; }; "enableFilterMethodModel": { "alias": "enableFilterMethodModel"; "required": false; "isSignal": true; }; "hideIdenticalValues": { "alias": "hideIdenticalValues"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
4596
4441
  }
4597
4442
 
4598
- interface ILog$1 {
4599
- modelId: string;
4600
- impactTermId: string;
4601
- impactTermUnits?: string;
4602
- blankNodeTermId: string;
4603
- value: number;
4604
- name?: string;
4605
- color?: string;
4606
- inputs?: string[];
4607
- }
4608
4443
  declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4609
4444
  private readonly searchService;
4610
4445
  private readonly nodeService;
@@ -4613,19 +4448,9 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4613
4448
  protected readonly impactAssessment: _angular_core.InputSignal<IImpactAssessmentJSONLD>;
4614
4449
  protected readonly indicators: _angular_core.InputSignal<Indicator[]>;
4615
4450
  protected readonly maximumValues: _angular_core.Signal<20 | 10>;
4616
- protected readonly categories: {
4617
- key: string;
4618
- label: string;
4619
- }[];
4451
+ protected readonly categories: _hestia_earth_ui_components_charts.IEmissionCategory[];
4620
4452
  protected readonly selectedCategory: _angular_core.WritableSignal<string>;
4621
- protected readonly logsResource: _angular_core.ResourceRef<{
4622
- modelId: string;
4623
- impactTermId: string;
4624
- impactTermUnits: string;
4625
- blankNodeTermId: any;
4626
- value: number;
4627
- inputs: any[];
4628
- }[]>;
4453
+ protected readonly logsResource: _angular_core.ResourceRef<IContributionLog[]>;
4629
4454
  private readonly logs;
4630
4455
  private readonly nonZeroLogs;
4631
4456
  private readonly emissions;
@@ -4651,17 +4476,11 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4651
4476
  value: number;
4652
4477
  inputs?: string[];
4653
4478
  }[]>;
4654
- protected readonly groupedValues: _angular_core.Signal<Record<string, ILog$1[]>>;
4655
- protected readonly chartData: _angular_core.Signal<{
4656
- label: string;
4657
- count: number;
4658
- backgroundColor: string;
4659
- }[]>;
4479
+ protected readonly chartData: _angular_core.Signal<BarChartDataItem[]>;
4660
4480
  protected readonly chartTooltipFn: chartTooltipContentFn<BarChartDataItem & {
4661
4481
  index: number;
4662
4482
  }>;
4663
- protected readonly afterBarDrawSettings: _angular_core.Signal<AfterBarDrawSettings>;
4664
- private readonly chartMin;
4483
+ protected readonly afterBarDrawSettings: _angular_core.Signal<_hestia_earth_ui_components_charts.AfterBarDrawSettings>;
4665
4484
  protected readonly configuration: _angular_core.Signal<{
4666
4485
  options: {
4667
4486
  scales: {
@@ -4677,7 +4496,7 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
4677
4496
  private readonly csvContent;
4678
4497
  protected readonly chartExportFn: chartExportFn;
4679
4498
  constructor();
4680
- protected trackByLog({ blankNodeTermId, modelId, impactTermId }: ILog$1): string;
4499
+ protected trackByLog({ blankNodeTermId, modelId, impactTermId }: IContributionLog): string;
4681
4500
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImpactAssessmentsIndicatorBreakdownChartComponent, never>;
4682
4501
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImpactAssessmentsIndicatorBreakdownChartComponent, "he-impact-assessments-indicator-breakdown-chart", never, { "impactAssessment": { "alias": "impactAssessment"; "required": true; "isSignal": true; }; "indicators": { "alias": "indicators"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4683
4502
  }
@@ -4692,10 +4511,7 @@ declare class ImpactAssessmentsIndicatorsChartComponent {
4692
4511
  protected readonly chart: _angular_core.Signal<ContributionChartComponent | HorizontalBarChartComponent>;
4693
4512
  protected readonly key: _angular_core.InputSignal<modelKey>;
4694
4513
  protected readonly filterTermTypes: _angular_core.InputSignal<TermTermType[]>;
4695
- protected readonly categories: {
4696
- key: string;
4697
- label: string;
4698
- }[];
4514
+ protected readonly categories: _hestia_earth_ui_components_charts.IEmissionCategory[];
4699
4515
  protected readonly selectedCategory: _angular_core.WritableSignal<string>;
4700
4516
  private readonly dataVersion;
4701
4517
  private readonly allImpactAssessments;
@@ -4987,17 +4803,7 @@ interface INodeErrorLog {
4987
4803
  stack?: string;
4988
4804
  }
4989
4805
  type onHeadersCallback = (headers: HttpHeaders) => any;
4990
- type contributions = Record<string, Record<string, number>>;
4991
- interface INodeContributions {
4992
- /**
4993
- * Contributions of each `emissionsResourceUse` to the `impacts`.
4994
- */
4995
- emissionsResourceUse: Record<string, contributions>;
4996
- /**
4997
- * Contributions of each `impacts` to the `endpoints`.
4998
- */
4999
- impacts: Record<string, contributions>;
5000
- }
4806
+
5001
4807
  type nodeContributionsSimplified = Record<string, contributions>;
5002
4808
  /**
5003
4809
  * Re-create the simplified version of the contributions loaded in the Data Explorer.
@@ -5299,6 +5105,17 @@ interface IContributorNames {
5299
5105
  group: string;
5300
5106
  heading: string;
5301
5107
  }
5108
+ /**
5109
+ * One plantation phase a value was combined from, as the aggregation recorded it: the weight `w_p`
5110
+ * its Cycles shared, how many of them shared it, and the share of the value they ended up with.
5111
+ */
5112
+ interface IPlantationPhase {
5113
+ id: string;
5114
+ label: string;
5115
+ count?: number;
5116
+ weight?: number;
5117
+ share?: number;
5118
+ }
5302
5119
  /**
5303
5120
  * Which Cycles contributed to an aggregated value, and what a Cycle reporting none of it counted
5304
5121
  * as. It is the half of the calculation the formulas cannot show: they combine what went in, this
@@ -5360,6 +5177,7 @@ declare class NodeAggregatedFormulasComponent {
5360
5177
  */
5361
5178
  protected readonly sections: _angular_core.Signal<IAggregationSection[]>;
5362
5179
  protected readonly inclusion: _angular_core.Signal<IInclusionRule>;
5180
+ protected readonly weighted: _angular_core.Signal<boolean>;
5363
5181
  protected readonly hasSubstitutions: _angular_core.Signal<boolean>;
5364
5182
  /**
5365
5183
  * What this value was combined from, as the aggregation recorded it: one row per contributor,
@@ -5380,6 +5198,7 @@ declare class NodeAggregatedFormulasComponent {
5380
5198
  columns: IContributorColumn[];
5381
5199
  count?: number;
5382
5200
  }>;
5201
+ protected readonly phases: _angular_core.Signal<IPlantationPhase[]>;
5383
5202
  protected readonly contributor: _angular_core.Signal<IContributorNames>;
5384
5203
  protected readonly renderedSections: _angular_core.Signal<{
5385
5204
  formulas: {
@@ -6017,8 +5836,8 @@ declare class SchemaInfoComponent {
6017
5836
  protected readonly type: _angular_core.InputSignal<SchemaType>;
6018
5837
  protected readonly field: _angular_core.InputSignal<string>;
6019
5838
  protected readonly content: _angular_core.InputSignal<string>;
6020
- protected readonly placement: _angular_core.InputSignal<"top" | "bottom" | "left" | "right">;
6021
- protected readonly triggers: _angular_core.InputSignal<"click" | "hover">;
5839
+ protected readonly placement: _angular_core.InputSignal<"top" | "left" | "right" | "bottom">;
5840
+ protected readonly triggers: _angular_core.InputSignal<"hover" | "click">;
6022
5841
  protected readonly container: _angular_core.InputSignal<"-" | "body">;
6023
5842
  protected readonly iconName: _angular_core.InputSignal<svgIconNames>;
6024
5843
  protected readonly iconSize: _angular_core.InputSignal<svgIconSizes>;
@@ -6159,6 +5978,23 @@ declare const siteTooBig: ({ area }: any) => boolean;
6159
5978
  declare const measurementValue: ({ value, depthLower, depthUpper, nodes }: Partial<IGroupedNode<Measurement>>, termId: string) => any;
6160
5979
  declare const siteTypeToIcon: Record<SiteSiteType, svgIconNames>;
6161
5980
  declare const siteTypeToColor: Record<SiteSiteType, string>;
5981
+ interface IAggregatedCycle {
5982
+ '@id'?: string;
5983
+ site?: {
5984
+ '@id'?: string;
5985
+ };
5986
+ products?: {
5987
+ primary?: boolean;
5988
+ term?: {
5989
+ '@id'?: string;
5990
+ termType?: string;
5991
+ };
5992
+ }[];
5993
+ }
5994
+ declare const aggregatedSitePrimaryProduct: (cycles: IAggregatedCycle[], siteId?: string) => {
5995
+ '@id'?: string;
5996
+ termType?: string;
5997
+ };
6162
5998
 
6163
5999
  interface ISelectedChart {
6164
6000
  termType: TermTermType;
@@ -6252,6 +6088,7 @@ declare class SitesMapsComponent implements OnDestroy {
6252
6088
  protected readonly mapLoaded$: Observable<boolean>;
6253
6089
  private readonly nodeService;
6254
6090
  private readonly nodeStoreService;
6091
+ private readonly regionGeojsonBaseUrl;
6255
6092
  private _loadPolygonsRequests;
6256
6093
  private readonly _mapReady;
6257
6094
  private readonly map;
@@ -6296,7 +6133,8 @@ type siteGroupedNodeExtended = siteGroupedNode & {
6296
6133
  declare enum View {
6297
6134
  table = "Table",
6298
6135
  chart = "Chart",
6299
- logs = "Recalculations logs"
6136
+ logs = "Recalculations logs",
6137
+ aggregationLogs = "Aggregation logs"
6300
6138
  }
6301
6139
  declare class SitesNodesComponent {
6302
6140
  private readonly modalService;
@@ -6322,6 +6160,7 @@ declare class SitesNodesComponent {
6322
6160
  Table: svgIconNames;
6323
6161
  Chart: svgIconNames;
6324
6162
  "Recalculations logs": svgIconNames;
6163
+ "Aggregation logs": svgIconNames;
6325
6164
  };
6326
6165
  private readonly showView;
6327
6166
  protected readonly views: _angular_core.Signal<View[]>;
@@ -6419,6 +6258,10 @@ declare class SitesNodesComponent {
6419
6258
  protected readonly isMeasurement: _angular_core.Signal<boolean>;
6420
6259
  protected readonly isNodeKeyAllowed: _angular_core.Signal<boolean>;
6421
6260
  private readonly hasRecalculatedNodes;
6261
+ private readonly hasAggregatedNodes;
6262
+ private readonly primaryProduct;
6263
+ protected readonly primaryProductTermType: _angular_core.Signal<string>;
6264
+ protected readonly primaryProductTermId: _angular_core.Signal<string>;
6422
6265
  protected readonly showSwitchToRecalculated: _angular_core.Signal<boolean>;
6423
6266
  protected readonly showAreaTooBig: _angular_core.Signal<boolean>;
6424
6267
  protected readonly hasData: _angular_core.Signal<boolean>;
@@ -6485,5 +6328,5 @@ declare class TermsUnitsDescriptionComponent {
6485
6328
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<TermsUnitsDescriptionComponent, "he-terms-units-description", never, { "term": { "alias": "term"; "required": true; "isSignal": true; }; "iconTemplate": { "alias": "iconTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6486
6329
  }
6487
6330
 
6488
- export { ARRAY_DELIMITER, ApplyPurePipe, BarChartComponent, BibliographiesSearchConfirmComponent, BlankNodeStateComponent, BlankNodeStateNoticeComponent, BlankNodeValueDeltaComponent, CapitalizePipe, ChartComponent, ChartConfigurationDirective, ChartExportButtonComponent, ChartTooltipComponent, ClickOutsideDirective, ClipboardComponent, CollapsibleBlockComponent, CollapsibleBoxComponent, CollapsibleBoxStyle, ColorPalette, CompoundDirective, CompoundPipe, ContributionChartComponent, ControlValueAccessor, CycleNodesKeyGroup, CyclesCompletenessComponent, CyclesEmissionsCategoryService, CyclesEmissionsChartComponent, CyclesFunctionalUnitMeasureComponent, CyclesMetadataComponent, CyclesNodesComponent, CyclesNodesTimelineComponent, CyclesResultComponent, DataTableComponent, DefaultPipe, DeltaColour, DistributionChartComponent, DrawerContainerComponent, DurationPipe, EllipsisPipe, EngineModelsLinkComponent, EngineModelsLookupInfoComponent, EngineModelsStageComponent, EngineModelsStageDeepComponent, EngineModelsStageDeepService, EngineModelsVersionInfoComponent, EngineModelsVersionLinkComponent, EngineOrchestratorEditComponent, EngineRequirementsFormComponent, FileSizePipe, FileUploadErrorKeys, FilesDragDropDirective, FilesDropZoneComponent, FilesErrorSummaryComponent, FilesFormComponent, FilesFormEditableComponent, FilesUploadErrorsComponent, FilterAccordionComponent, FormulaBlockComponent, GUIDE_ENABLED, GetPipe, GlossaryMigrationFormat, GuideOverlayComponent, HE_API_BASE_URL, HE_CALCULATIONS_BASE_URL, HE_MAP_LOADED, HeAuthService, HeCommonService, HeEngineService, HeGlossaryService, HeMendeleyService, HeNodeCsvService, HeNodeService, HeNodeStoreService, HeSchemaService, HeSearchService, HeToastService, HorizontalBarChartComponent, HorizontalButtonsGroupComponent, ImpactAssessmentsGraphComponent, ImpactAssessmentsIndicatorBreakdownChartComponent, ImpactAssessmentsIndicatorsChartComponent, ImpactAssessmentsProductsComponent, IsArrayPipe, IsObjectPipe, IssueConfirmComponent, KeyToLabelPipe, Level, LineChartComponent, LinkKeyValueComponent, LogStatus, LongPressDirective, MAX_RESULTS, MapsDrawingComponent, MapsDrawingConfirmComponent, MaxPipe, MeanPipe, MedianPipe, MendeleySearchResult, MinPipe, MobileShellComponent, NavigationMenuComponent, NoExtPipe, NodeAggregatedComponent, NodeAggregatedFormulasComponent, NodeAggregatedInfoComponent, NodeAggregatedQualityScoreComponent, NodeAggregationLogsComponent, NodeCsvExportConfirmComponent, NodeCsvPreviewComponent, NodeCsvSelectHeadersComponent, NodeIconComponent, NodeJLogModelsComponent, NodeJsonldComponent, NodeJsonldSchemaComponent, NodeKeyState, NodeLinkComponent, NodeLogsFileComponent, NodeLogsModelsComponent, NodeLogsTimeComponent, NodeMissingLookupFactorsComponent, NodeQualityScore, NodeRecommendationsComponent, NodeSelectComponent, NodeValueDetailsComponent, PipelineStagesProgressComponent, PluralizePipe, PopoverComponent, PopoverConfirmComponent, PrecisionPipe, RelatedNodeResult, RemoveMarkdownPipe, RepeatPipe, Repository, ResizedDirective, ResizedEvent, ResponsiveService, SchemaInfoComponent, SchemaVersionLinkComponent, SearchExtendComponent, ShelfDialogComponent, ShellComponent, SiteNodesKeyGroup, SitesManagementChartComponent, SitesMapsComponent, SitesNodesComponent, SkeletonTextComponent, SocialTagsComponent, SortByPipe, SortSelectComponent, SumPipe, TagsInputDirective, Template, TermsPropertyContentComponent, TermsSubClassOfContentComponent, TermsUnitsDescriptionComponent, ThousandSuffixesPipe, ThousandsPipe, TimesPipe, ToastComponent, UncapitalizePipe, addPolygonToFeature, afterBarDrawPlugin, allCountriesQuery, allGroups, allOptions, availableProperties, axisHoverPlugin, axisLabelCursor, axisLabelSettings, backgroundHoverPlugin, backgroundModelParams, baseApiUrl, baseUrl, bottom, buildSummary, bytesSize, calculateCycleDuration, calculateCycleDurationEnabled, calculateCycleStartDate, calculateCycleStartDateEnabled, capitalize, changelogUrl, chartLabelMaxLength, clustererImage, code, colorToRgba, compoundToHtml, computeKeys, computeTerms, contactUsEmail, contactUsLink, convertToSvg, coordinatesToPoint, copyObject, countGroupVisibleNodes, countriesQuery, createMarker, cropsQuery, d3ellipse, d3wrap, dataPathLabel, dataPathToKey, dataVersionHeader, dataVersionHeaderKey, defaultFeature, defaultLabel, defaultSuggestionType, defaultTicksFont, definitionToSchemaType, distinctUntilChangedDeep, downloadFile, downloadPng, downloadSvg, ellipsis, engineGitBaseUrl, engineGitUrl, errorText, errorsLabel, evaluateSuccess, exportAsSVG, exportFormats, externalLink, externalNodeLink, fillColor, fillStyle, filterBlankNode, filterParams, findBackgroundModel, findConfigModels, findMatchingModel, findModels, findNodeModel, findOrchestratorModel, findProperty, findPropertyById, findTermModels, flatFilterData, flatFilterNode, formatCustomErrorMessage, formatDate, formatError, formatPropertyError, formatter, getColor, getDatesBetween, gitBranch, gitHome, glossaryBaseUrl, glossaryLink, groupBlankNodesByTermIdentity, groupChanged, groupDataByCategory, groupJLogByField, groupJLogByTerm, groupLogsByTerm, groupNodesByTerm, groupdLogsByKey, grouppedKeys, grouppedValueKeys, groupsLogsByFields, guideModelUrl, guideNamespace, handleAPIError, handleGuideEvent, hasError, hasValidationError, hasWarning, hexToRgba, highestMethodTier, ignoreKeys, impactAssessmentProduct, increaseScaleLimits, initialFilterState, injectResizeEvent$, inputGroupsTermTypes, isAddPropertyEnabled, isChrome, isDateBetween, isEqual, isExternal, isIdenticalNodeValue, isKeyClosedVisible, isKeyHidden, isMaxStage, isMethodModelAllowed, isNonNodeModelKey, isSchemaIri, isScrolledBelow, isState, isTermTypeAllowed, isValidKey, jLogModelCount, keyToDataPath, levels, listColor, listColorContinuous, listColorWithAlpha, loadMapApi, locationQuery, logToCsv, logValueArray, logsKey, lollipopChartPlugin, lookupUrl, mapFilterData, mapsUrl, markerIcon, markerPie, matchAggregatedQuery, matchAggregatedValidatedQuery, matchBoolPrefixQuery, matchCountry, matchExactQuery, matchGlobalRegion, matchId, matchNameNormalized, matchNestedKey, matchPhrasePrefixQuery, matchPhraseQuery, matchPrimaryProductQuery, matchQuery, matchRegex, matchRegion, matchTermType, matchType, maxAreaSize, measurementValue, mergeDataWithHeaders, methodTierOrder, migrationErrorMessage, migrationsUrl, modelCount, modelKeyParams, modelParams, models, multiMatchQuery, nestedProperty, nestingEnabled, nestingTypeEnabled, noValue, nodeAvailableProperties, nodeById, nodeChartLabels, nodeColours, nodeDataState, nodeDataStates, nodeDataVersion, nodeId, nodeIdWithoutDataVersion, nodeIds, nodeLink, nodeLinkEnabled, nodeLinkTypeEnabled, nodeLogsUrl, nodeQualityScoreColor, nodeQualityScoreLevel, nodeQualityScoreMaxDefault, nodeQualityScoreOrder, nodeRequestId, nodeSecondaryColours, nodeToAggregationFilename, nodeType, nodeTypeDataState, nodeTypeIcon, nodeTypeIconSchema, nodeUrl, nodeUrlParams, nodeVersion, nodeVersionKey, nodesByState, nodesByType, numberGte, openNodeUrl, openUrl, optionsFromGroup, parentKey, parentProperty, parseColor, parseData, parseDataPath, parseLines, parseMessage, parseNewValue, pluralize, pointToCoordinates, polygonBounds, polygonToCoordinates, polygonToMap, polygonsFromFeature, populateWithTrackIdsFilterData, postGuideEvent, primaryProduct, productsQuery, propertyError, propertyId, recursiveProperties, refToSchemaType, refreshPropertyKeys, regionsQuery, registerChart, repeat, reportIssueLink, reportIssueUrl, safeJSONParse, safeJSONStringify, schemaBaseUrl, schemaDataBaseUrl, schemaLink, schemaRequiredProperties, schemaTypeToDefaultValue, scrollToEl, scrollTop, searchFilterData, searchableTypes, siblingProperty, simplifyContributions, singleProperty, siteTooBig, siteTypeToColor, siteTypeToIcon, sortProperties, sortedDates, strokeColor, strokeStyle, subValueKeys, suggestMatchQuery, suggestQuery, suggestTerms, sumValues, takeAfterViewInit, termLocation, termLocationName, termProperties, termSearch, termTypeLabel, toSnakeCase, toTextParts, toThousands, typeToNewProperty, typeaheadFocus, uncapitalize, uniqueDatesBetween, updateProperties, valueLink, valueToString, valueTypeToDefault, valueValue, waitFor, wildcardQuery };
6489
- export type { AfterBarDrawSettings, AxisHoverSettings, AxisLabelEvent, BarChartDataItem, ButtonGroupItem, ChartExportMetadata, ContributionChartDataItem, ContributionTooltipData, FilterData, FilterElement, FilterFn, FilterGroup, FilterOption, FilterState, HistogramChartDataItem, IBlankNodeIdentityGroup, IBlankNodeIdentityRow, IBlankNodeLog, IBlankNodeLogSubValue, ICalculationsModel, ICalculationsModelsParams, ICalculationsRequirementsParams, IChartExportFormat, ICloseMessage, IConfigModel, IContributionCategory, ICustomValidationRules, ICycleJSONLDExtended, IEmissionCategory, IErrorProperty, IFeature, IFeatureCollection, IFileUploadError, IFilesDropped, IFormulaTextPart, IFormulaVariable, IGeometryCollection, IGlossaryMigration, IGlossaryMigrations, IGroupedKeys, IGroupedNode, IGroupedNodes, IGroupedNodesValue, IGroupedNodesValues, IIdentityScalar, IIdentitySegment, IImpactAssessmentJSONLDExtended, IIssueParams, IJLogBlankNode, IJLogModelColumn, IJLogModelRun, IJLogTermGroup, IJSONData, IJSONNode, ILine, ILog, IMarker, IMessage, IMobileShellMenuButton, INavigationMenuLink, INewProperty, INodeContributions, INodeErrorLog, INodeHeaders, INodeLogs, INodeMissingLookupLog, INodeProperty, INodeRequestParams, INodeTermLog, INodeTermLogs, INonBlankNodeLog, IPolygonMap, IRelatedNode, IRenderedFormula, ISearchParams, ISearchResultExtended, ISearchResults, IShellMenuButton, ISiteJSONLDExtended, IStoredNode, ISummary, ISummaryError, IToast, IValidationError, LollipopPluginSettings, RgbColor, SelectValue, SortOption, SortSelectEvent, SortSelectOrder, axisLabelClickFn, axisLabelTooltipFn, blankNodesTypeValue, chartExportFn, chartTooltipContentFn, contributions, feature, horizontalTooltipData, modelKey, nodeContributionsSimplified, nodes, nonBlankNodesTypeValue, searchResult, searchableType, sortOrders, suggestionType, validationErrorKeyword, validationErrorLevel, validationErrorParam };
6331
+ export { ARRAY_DELIMITER, ApplyPurePipe, BarChartComponent, BibliographiesSearchConfirmComponent, BlankNodeStateComponent, BlankNodeStateNoticeComponent, BlankNodeValueDeltaComponent, CapitalizePipe, ChartComponent, ChartConfigurationDirective, ChartExportButtonComponent, ChartTooltipComponent, ClickOutsideDirective, ClipboardComponent, CollapsibleBlockComponent, CollapsibleBoxComponent, CollapsibleBoxStyle, CompoundDirective, CompoundPipe, ContributionChartComponent, ControlValueAccessor, CycleNodesKeyGroup, CyclesCompletenessComponent, CyclesEmissionsCategoryService, CyclesEmissionsChartComponent, CyclesFunctionalUnitMeasureComponent, CyclesMetadataComponent, CyclesNodesComponent, CyclesNodesTimelineComponent, CyclesResultComponent, DataTableComponent, DefaultPipe, DeltaColour, DistributionChartComponent, DrawerContainerComponent, DurationPipe, EllipsisPipe, EngineModelsLinkComponent, EngineModelsLookupInfoComponent, EngineModelsStageComponent, EngineModelsStageDeepComponent, EngineModelsStageDeepService, EngineModelsVersionInfoComponent, EngineModelsVersionLinkComponent, EngineOrchestratorEditComponent, EngineRequirementsFormComponent, FileSizePipe, FileUploadErrorKeys, FilesDragDropDirective, FilesDropZoneComponent, FilesErrorSummaryComponent, FilesFormComponent, FilesFormEditableComponent, FilesUploadErrorsComponent, FilterAccordionComponent, FormulaBlockComponent, GUIDE_ENABLED, GetPipe, GlossaryMigrationFormat, GuideOverlayComponent, HE_API_BASE_URL, HE_CALCULATIONS_BASE_URL, HE_MAP_LOADED, HE_REGION_GEOJSON_BASE_URL, HeAuthService, HeCommonService, HeEngineService, HeGlossaryService, HeMendeleyService, HeNodeCsvService, HeNodeService, HeNodeStoreService, HeSchemaService, HeSearchService, HeToastService, HorizontalBarChartComponent, HorizontalButtonsGroupComponent, ImpactAssessmentsGraphComponent, ImpactAssessmentsIndicatorBreakdownChartComponent, ImpactAssessmentsIndicatorsChartComponent, ImpactAssessmentsProductsComponent, IsArrayPipe, IsObjectPipe, IssueConfirmComponent, KeyToLabelPipe, Level, LineChartComponent, LinkKeyValueComponent, LogStatus, LongPressDirective, MAX_RESULTS, MapsDrawingComponent, MapsDrawingConfirmComponent, MaxPipe, MeanPipe, MedianPipe, MendeleySearchResult, MinPipe, MobileShellComponent, NavigationMenuComponent, NoExtPipe, NodeAggregatedComponent, NodeAggregatedFormulasComponent, NodeAggregatedInfoComponent, NodeAggregatedQualityScoreComponent, NodeAggregationLogsComponent, NodeCsvExportConfirmComponent, NodeCsvPreviewComponent, NodeCsvSelectHeadersComponent, NodeIconComponent, NodeJLogModelsComponent, NodeJsonldComponent, NodeJsonldSchemaComponent, NodeKeyState, NodeLinkComponent, NodeLogsFileComponent, NodeLogsModelsComponent, NodeLogsTimeComponent, NodeMissingLookupFactorsComponent, NodeQualityScore, NodeRecommendationsComponent, NodeSelectComponent, NodeValueDetailsComponent, PipelineStagesProgressComponent, PluralizePipe, PopoverComponent, PopoverConfirmComponent, PrecisionPipe, RelatedNodeResult, RemoveMarkdownPipe, RepeatPipe, Repository, ResizedDirective, ResizedEvent, ResponsiveService, SchemaInfoComponent, SchemaVersionLinkComponent, SearchExtendComponent, ShelfDialogComponent, ShellComponent, SiteNodesKeyGroup, SitesManagementChartComponent, SitesMapsComponent, SitesNodesComponent, SkeletonTextComponent, SocialTagsComponent, SortByPipe, SortSelectComponent, SumPipe, TagsInputDirective, Template, TermsPropertyContentComponent, TermsSubClassOfContentComponent, TermsUnitsDescriptionComponent, ThousandSuffixesPipe, ThousandsPipe, TimesPipe, ToastComponent, UncapitalizePipe, addPolygonToFeature, aggregatedSitePrimaryProduct, allCountriesQuery, allGroups, allOptions, availableProperties, axisLabelSettings, backgroundModelParams, baseApiUrl, baseUrl, bottom, buildSummary, bytesSize, calculateCycleDuration, calculateCycleDurationEnabled, calculateCycleStartDate, calculateCycleStartDateEnabled, capitalize, changelogUrl, clustererImage, code, compoundToHtml, computeKeys, computeTerms, contactUsEmail, contactUsLink, convertToSvg, coordinatesToPoint, copyObject, countGroupVisibleNodes, countriesQuery, createMarker, cropsQuery, d3ellipse, d3wrap, dataPathLabel, dataPathToKey, dataVersionHeader, dataVersionHeaderKey, defaultFeature, defaultLabel, defaultSuggestionType, definitionToSchemaType, distinctUntilChangedDeep, downloadFile, downloadPng, downloadSvg, ellipsis, engineGitBaseUrl, engineGitUrl, errorText, errorsLabel, evaluateSuccess, exportAsSVG, exportFormats, externalLink, externalNodeLink, fillColor, fillStyle, filterBlankNode, filterParams, findBackgroundModel, findConfigModels, findMatchingModel, findModels, findNodeModel, findOrchestratorModel, findProperty, findPropertyById, findTermModels, flatFilterData, flatFilterNode, formatCustomErrorMessage, formatDate, formatError, formatPropertyError, formatter, getDatesBetween, gitBranch, gitHome, glossaryBaseUrl, glossaryLink, groupBlankNodesByTermIdentity, groupChanged, groupJLogByField, groupJLogByTerm, groupLogsByTerm, groupNodesByTerm, groupdLogsByKey, grouppedKeys, grouppedValueKeys, groupsLogsByFields, guideModelUrl, guideNamespace, handleAPIError, handleGuideEvent, hasError, hasValidationError, hasWarning, highestMethodTier, ignoreKeys, impactAssessmentProduct, initialFilterState, injectResizeEvent$, inputGroupsTermTypes, isAddPropertyEnabled, isChrome, isDateBetween, isEqual, isExternal, isIdenticalNodeValue, isKeyClosedVisible, isKeyHidden, isMaxStage, isMethodModelAllowed, isNonNodeModelKey, isSchemaIri, isScrolledBelow, isState, isTermTypeAllowed, isValidKey, jLogModelCount, keyToDataPath, levels, loadMapApi, locationQuery, logToCsv, logValueArray, logsKey, lookupUrl, mapFilterData, mapsUrl, markerIcon, markerPie, matchAggregatedQuery, matchAggregatedValidatedQuery, matchBoolPrefixQuery, matchCountry, matchExactQuery, matchGlobalRegion, matchId, matchNameNormalized, matchNestedKey, matchPhrasePrefixQuery, matchPhraseQuery, matchPrimaryProductQuery, matchQuery, matchRegex, matchRegion, matchTermType, matchType, maxAreaSize, measurementValue, mergeDataWithHeaders, methodTierOrder, migrationErrorMessage, migrationsUrl, modelCount, modelKeyParams, modelParams, models, multiMatchQuery, nestedProperty, nestingEnabled, nestingTypeEnabled, noValue, nodeAvailableProperties, nodeById, nodeChartLabels, nodeColours, nodeDataState, nodeDataStates, nodeDataVersion, nodeId, nodeIdWithoutDataVersion, nodeIds, nodeLink, nodeLinkEnabled, nodeLinkTypeEnabled, nodeLogsUrl, nodeQualityScoreColor, nodeQualityScoreLevel, nodeQualityScoreMaxDefault, nodeQualityScoreOrder, nodeRequestId, nodeSecondaryColours, nodeToAggregationFilename, nodeType, nodeTypeDataState, nodeTypeIcon, nodeTypeIconSchema, nodeUrl, nodeUrlParams, nodeVersion, nodeVersionKey, nodesByState, nodesByType, numberGte, openNodeUrl, openUrl, optionsFromGroup, parentKey, parentProperty, parseData, parseDataPath, parseLines, parseMessage, parseNewValue, pluralize, pointToCoordinates, polygonBounds, polygonToCoordinates, polygonToMap, polygonsFromFeature, populateWithTrackIdsFilterData, postGuideEvent, primaryProduct, productsQuery, propertyError, propertyId, recursiveProperties, refToSchemaType, refreshPropertyKeys, regionsQuery, registerChart, repeat, reportIssueLink, reportIssueUrl, safeJSONParse, safeJSONStringify, schemaBaseUrl, schemaDataBaseUrl, schemaLink, schemaRequiredProperties, schemaTypeToDefaultValue, scrollToEl, scrollTop, searchFilterData, searchableTypes, siblingProperty, simplifyContributions, singleProperty, siteTooBig, siteTypeToColor, siteTypeToIcon, sortProperties, sortedDates, strokeColor, strokeStyle, subValueKeys, suggestMatchQuery, suggestQuery, suggestTerms, takeAfterViewInit, termLocation, termLocationName, termProperties, termSearch, termTypeLabel, toSnakeCase, toTextParts, toThousands, typeToNewProperty, typeaheadFocus, uncapitalize, uniqueDatesBetween, updateProperties, valueLink, valueToString, valueTypeToDefault, valueValue, waitFor, wildcardQuery };
6332
+ export type { ButtonGroupItem, ChartExportMetadata, FilterData, FilterElement, FilterFn, FilterGroup, FilterOption, FilterState, HistogramChartDataItem, IBlankNodeIdentityGroup, IBlankNodeIdentityRow, IBlankNodeLog, IBlankNodeLogSubValue, ICalculationsModel, ICalculationsModelsParams, ICalculationsRequirementsParams, IChartExportFormat, ICloseMessage, IConfigModel, ICustomValidationRules, ICycleJSONLDExtended, IErrorProperty, IFeature, IFeatureCollection, IFileUploadError, IFilesDropped, IFormulaTextPart, IFormulaVariable, IGeometryCollection, IGlossaryMigration, IGlossaryMigrations, IGroupedKeys, IGroupedNode, IGroupedNodes, IGroupedNodesValue, IGroupedNodesValues, IIdentityScalar, IIdentitySegment, IImpactAssessmentJSONLDExtended, IIssueParams, IJLogBlankNode, IJLogModelColumn, IJLogModelRun, IJLogTermGroup, IJSONData, IJSONNode, ILine, ILog, IMarker, IMessage, IMobileShellMenuButton, INavigationMenuLink, INewProperty, INodeErrorLog, INodeHeaders, INodeLogs, INodeMissingLookupLog, INodeProperty, INodeRequestParams, INodeTermLog, INodeTermLogs, INonBlankNodeLog, IPolygonMap, IRelatedNode, IRenderedFormula, ISearchParams, ISearchResultExtended, ISearchResults, IShellMenuButton, ISiteJSONLDExtended, IStoredNode, ISummary, ISummaryError, IToast, IValidationError, SelectValue, SortOption, SortSelectEvent, SortSelectOrder, axisLabelClickFn, axisLabelTooltipFn, blankNodesTypeValue, chartExportFn, chartTooltipContentFn, feature, horizontalTooltipData, modelKey, nodeContributionsSimplified, nodes, nonBlankNodesTypeValue, searchResult, searchableType, sortOrders, suggestionType, validationErrorKeyword, validationErrorLevel, validationErrorParam };