@hestia-earth/ui-components 0.43.23 → 0.43.24
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.
|
@@ -3,20 +3,17 @@ import { Signal, InjectionToken, OnInit, OnDestroy, ElementRef, TemplateRef, Pip
|
|
|
3
3
|
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
|
-
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,
|
|
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, IndicatorMethodTier, sortConfig, Infrastructure, nonBlankNodesType, nonBlankNodesKey, Property, ISourceJSONLD, Measurement, Site, IOrganisationJSONLD, Organisation } from '@hestia-earth/schema';
|
|
7
7
|
import * as _hestia_earth_ui_components_charts from '@hestia-earth/ui-components-charts';
|
|
8
|
-
import { AxisLabelEvent, AxisHoverSettings,
|
|
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';
|
|
8
|
+
import { AxisLabelEvent, AxisHoverSettings, ChartExportMetadata, BarChartDataItem, ContributionTooltipData, ContributionChartDataItem, AfterBarDrawSettings, IEmissionCategory, ITermMapping, IChartData, IContributionLog, contributions, INodeContributions } from '@hestia-earth/ui-components-charts';
|
|
9
|
+
export { AfterBarDrawSettings, AxisHoverSettings, AxisLabelEvent, BarChartDataItem, ChartExportMetadata, ColorPalette, ContributionChartDataItem, ContributionTooltipData, HistogramChartDataItem, IContributionCategory, IEmissionCategory, INodeContributions, LollipopPluginSettings, RgbColor, afterBarDrawPlugin, axisHoverPlugin, axisLabelCursor, backgroundHoverPlugin, chartLabelMaxLength, colorToRgba, contributions, convertToSvg, d3ellipse, d3wrap, defaultTicksFont, downloadFile, downloadPng, downloadSvg, exportAsSVG, getColor, groupDataByCategory, hexToRgba, increaseScaleLimits, listColor, listColorContinuous, listColorWithAlpha, lollipopChartPlugin, parseColor, registerChart, sumValues } from '@hestia-earth/ui-components-charts';
|
|
10
10
|
import { PlacementArray } from '@ng-bootstrap/ng-bootstrap';
|
|
11
11
|
import * as chart_js from 'chart.js';
|
|
12
|
-
import { ChartConfiguration,
|
|
12
|
+
import { ChartConfiguration, Chart, ChartData, ChartDataset, ChartEvent, ActiveElement } from 'chart.js';
|
|
13
13
|
import * as rxjs from 'rxjs';
|
|
14
14
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
15
15
|
import * as node_modules_chart_js_dist_types_basic from 'node_modules/chart.js/dist/types/basic';
|
|
16
|
-
import * as chartjs_plugin_annotation from 'chartjs-plugin-annotation';
|
|
17
|
-
import { AnnotationOptions } from 'chartjs-plugin-annotation';
|
|
18
16
|
import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
|
|
19
|
-
import { Selection } from 'd3-selection';
|
|
20
17
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
21
18
|
import { propertyValueType } from '@hestia-earth/utils/term';
|
|
22
19
|
import * as _hestia_earth_engine_models from '@hestia-earth/engine-models';
|
|
@@ -39,6 +36,7 @@ import * as _angular_cdk_overlay from '@angular/cdk/overlay';
|
|
|
39
36
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
40
37
|
import { ResizeEvent } from 'angular-resizable-element';
|
|
41
38
|
import { IFormula } from '@hestia-earth/aggregation-engine';
|
|
39
|
+
import * as chartjs_plugin_annotation from 'chartjs-plugin-annotation';
|
|
42
40
|
export * from '@hestia-earth/ui-components/katex';
|
|
43
41
|
|
|
44
42
|
declare class HeAuthService {
|
|
@@ -111,25 +109,6 @@ type axisLabelClickFn = (index: number) => void;
|
|
|
111
109
|
*/
|
|
112
110
|
declare const axisLabelSettings: (tooltip: () => ChartTooltipComponent<AxisLabelEvent>, tooltipFn: () => axisLabelTooltipFn, clickFn: () => axisLabelClickFn) => AxisHoverSettings;
|
|
113
111
|
|
|
114
|
-
interface ChartExportMetadata {
|
|
115
|
-
title?: string;
|
|
116
|
-
fileName?: string;
|
|
117
|
-
width?: number;
|
|
118
|
-
height?: number;
|
|
119
|
-
units?: string;
|
|
120
|
-
lollipopConfig?: Omit<LollipopPluginSettings, 'isMouseInsideLollipopFn'>;
|
|
121
|
-
afterBarDrawConfig?: AfterBarDrawSettings | AfterBarDrawSettings[];
|
|
122
|
-
}
|
|
123
|
-
declare const convertToSvg: (config: Partial<ChartConfiguration>, metadata?: ChartExportMetadata) => Promise<string>;
|
|
124
|
-
declare const exportAsSVG: (config: Partial<ChartConfiguration>, metadata: ChartExportMetadata) => Promise<void>;
|
|
125
|
-
declare const downloadSvg: (svgElement: HTMLElement) => void;
|
|
126
|
-
declare const downloadPng: (svgElement: HTMLElement, { width, height }?: {
|
|
127
|
-
width?: number;
|
|
128
|
-
height?: number;
|
|
129
|
-
}) => Promise<void>;
|
|
130
|
-
|
|
131
|
-
declare const registerChart: (items?: ChartComponentLike[]) => () => void;
|
|
132
|
-
|
|
133
112
|
declare class ChartConfigurationDirective {
|
|
134
113
|
private readonly _elementRef;
|
|
135
114
|
private _chart;
|
|
@@ -432,7 +411,6 @@ declare class ContributionChartComponent {
|
|
|
432
411
|
protected readonly axisTooltipContent: _angular_core.Signal<(data: AxisLabelEvent) => string>;
|
|
433
412
|
readonly exporting: _angular_core.Signal<boolean>;
|
|
434
413
|
protected readonly chartHeight: _angular_core.Signal<number>;
|
|
435
|
-
private readonly hasNegativeContributions;
|
|
436
414
|
protected readonly displayData: _angular_core.Signal<ContributionChartDataItem[]>;
|
|
437
415
|
private readonly defaultConfig;
|
|
438
416
|
readonly dataConfig: _angular_core.Signal<{
|
|
@@ -503,7 +481,7 @@ declare class ContributionChartComponent {
|
|
|
503
481
|
};
|
|
504
482
|
}> & {
|
|
505
483
|
options: {
|
|
506
|
-
onClick: (event: ChartEvent, activeElements: ActiveElement[], chart: Chart
|
|
484
|
+
onClick: (event: ChartEvent, activeElements: ActiveElement[], chart: Chart) => void;
|
|
507
485
|
plugins: any;
|
|
508
486
|
scales: {
|
|
509
487
|
x: {
|
|
@@ -540,13 +518,7 @@ declare class ContributionChartComponent {
|
|
|
540
518
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContributionChartComponent, "he-contribution-chart", ["contributionChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showExportButton": { "alias": "showExportButton"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "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; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "category": { "alias": "category"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
541
519
|
}
|
|
542
520
|
|
|
543
|
-
|
|
544
|
-
label: string;
|
|
545
|
-
values: number[];
|
|
546
|
-
color?: string;
|
|
547
|
-
backgroundColor?: string;
|
|
548
|
-
borderColor?: string;
|
|
549
|
-
}
|
|
521
|
+
/** A distribution as a histogram, or as a normal curve; drawn from `@hestia-earth/ui-components-charts`. */
|
|
550
522
|
declare class DistributionChartComponent {
|
|
551
523
|
/**
|
|
552
524
|
* Distribution values.
|
|
@@ -592,123 +564,9 @@ declare class DistributionChartComponent {
|
|
|
592
564
|
* for a physical amount. Left unset the curve is drawn symmetrically about `mu`.
|
|
593
565
|
*/
|
|
594
566
|
protected readonly minX: _angular_core.InputSignal<number>;
|
|
595
|
-
|
|
596
|
-
* `sd` must be strictly positive: a zero or negative deviation makes the PDF a division by zero.
|
|
597
|
-
*/
|
|
598
|
-
private readonly parametric;
|
|
599
|
-
private readonly curve;
|
|
600
|
-
private readonly maxPercentileValue;
|
|
601
|
-
private readonly groupedData;
|
|
602
|
-
private readonly singlePoint;
|
|
603
|
-
private readonly defaultConfig;
|
|
604
|
-
/**
|
|
605
|
-
* The x axis is `linear` here, not the category axis the histogram uses: the curve is `{x, y}`
|
|
606
|
-
* points, and the annotations position the interval and the marker at real x values.
|
|
607
|
-
*/
|
|
608
|
-
private readonly parametricConfig;
|
|
609
|
-
private readonly histogramData;
|
|
610
|
-
private readonly parametricData;
|
|
567
|
+
private readonly chart;
|
|
611
568
|
protected readonly dataConfig: _angular_core.Signal<ChartData<"bar" | "line", (number | [number, number] | chart_js.Point)[], unknown>>;
|
|
612
|
-
protected readonly configuration: _angular_core.Signal<
|
|
613
|
-
type: "line";
|
|
614
|
-
options: {
|
|
615
|
-
events: any[];
|
|
616
|
-
responsive: true;
|
|
617
|
-
plugins: {
|
|
618
|
-
tooltip: {
|
|
619
|
-
enabled: false;
|
|
620
|
-
};
|
|
621
|
-
legend: {
|
|
622
|
-
display: false;
|
|
623
|
-
align: "center";
|
|
624
|
-
};
|
|
625
|
-
};
|
|
626
|
-
scales: {
|
|
627
|
-
y: {
|
|
628
|
-
display: true;
|
|
629
|
-
position: "left";
|
|
630
|
-
grid: {
|
|
631
|
-
display: true;
|
|
632
|
-
};
|
|
633
|
-
beginAtZero: true;
|
|
634
|
-
ticks: {
|
|
635
|
-
crossAlign: "center";
|
|
636
|
-
};
|
|
637
|
-
};
|
|
638
|
-
};
|
|
639
|
-
};
|
|
640
|
-
}> & (({
|
|
641
|
-
options: {
|
|
642
|
-
scales: {
|
|
643
|
-
x: {
|
|
644
|
-
display: true;
|
|
645
|
-
grid: {
|
|
646
|
-
offset: true;
|
|
647
|
-
};
|
|
648
|
-
min: number;
|
|
649
|
-
ticks: {
|
|
650
|
-
callback: (this: chart_js.Scale, value: string | number) => string;
|
|
651
|
-
};
|
|
652
|
-
title: {
|
|
653
|
-
display: true;
|
|
654
|
-
text: string;
|
|
655
|
-
};
|
|
656
|
-
};
|
|
657
|
-
y: {
|
|
658
|
-
ticks: {
|
|
659
|
-
font: {
|
|
660
|
-
family: string;
|
|
661
|
-
size: number;
|
|
662
|
-
weight: number;
|
|
663
|
-
};
|
|
664
|
-
color: string;
|
|
665
|
-
};
|
|
666
|
-
title: {
|
|
667
|
-
display: true;
|
|
668
|
-
text: string;
|
|
669
|
-
};
|
|
670
|
-
};
|
|
671
|
-
};
|
|
672
|
-
};
|
|
673
|
-
} | {
|
|
674
|
-
options: {
|
|
675
|
-
plugins: {
|
|
676
|
-
annotation: {
|
|
677
|
-
annotations: Record<string, AnnotationOptions>;
|
|
678
|
-
};
|
|
679
|
-
};
|
|
680
|
-
scales: {
|
|
681
|
-
x: {
|
|
682
|
-
type: "linear";
|
|
683
|
-
display: true;
|
|
684
|
-
ticks: {
|
|
685
|
-
font: {
|
|
686
|
-
family: string;
|
|
687
|
-
size: number;
|
|
688
|
-
weight: number;
|
|
689
|
-
};
|
|
690
|
-
color: string;
|
|
691
|
-
callback: (this: chart_js.Scale, value: string | number) => string;
|
|
692
|
-
};
|
|
693
|
-
title: {
|
|
694
|
-
display: true;
|
|
695
|
-
text: string;
|
|
696
|
-
};
|
|
697
|
-
};
|
|
698
|
-
y: {
|
|
699
|
-
ticks: {
|
|
700
|
-
display: false;
|
|
701
|
-
};
|
|
702
|
-
grid: {
|
|
703
|
-
display: false;
|
|
704
|
-
};
|
|
705
|
-
title: {
|
|
706
|
-
display: false;
|
|
707
|
-
};
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
|
-
};
|
|
711
|
-
}) & Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>)>;
|
|
569
|
+
protected readonly configuration: _angular_core.Signal<Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>>;
|
|
712
570
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DistributionChartComponent, never>;
|
|
713
571
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DistributionChartComponent, "he-distribution-chart", ["distributionChart"], { "distribution": { "alias": "distribution"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "nbBins": { "alias": "nbBins"; "required": false; "isSignal": true; }; "maxPercentile": { "alias": "maxPercentile"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "mu": { "alias": "mu"; "required": false; "isSignal": true; }; "sd": { "alias": "sd"; "required": false; "isSignal": true; }; "intervalMin": { "alias": "intervalMin"; "required": false; "isSignal": true; }; "intervalMax": { "alias": "intervalMax"; "required": false; "isSignal": true; }; "minX": { "alias": "minX"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
714
572
|
}
|
|
@@ -916,17 +774,6 @@ declare class HeToastService {
|
|
|
916
774
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<HeToastService>;
|
|
917
775
|
}
|
|
918
776
|
|
|
919
|
-
declare const d3ellipse: <Datum>(selection: Selection<SVGTextElement, Datum, any, any>, maxWidth: number, ellipsisStr?: string) => void;
|
|
920
|
-
declare const d3wrap: <Datum>(t: Selection<SVGTextElement, Datum, any, any>, { maxWidth, maxLines, words, nHeight, lHeight, vcentre, ownLineWord }: {
|
|
921
|
-
maxWidth: number;
|
|
922
|
-
maxLines: number;
|
|
923
|
-
words: string[];
|
|
924
|
-
nHeight: number;
|
|
925
|
-
lHeight: number;
|
|
926
|
-
vcentre?: boolean;
|
|
927
|
-
ownLineWord?: string;
|
|
928
|
-
}) => void;
|
|
929
|
-
|
|
930
777
|
declare enum DeltaColour {
|
|
931
778
|
Success = "success",
|
|
932
779
|
Warning = "warning",
|
|
@@ -1301,7 +1148,7 @@ declare const bytesSize: (bytes: number) => string;
|
|
|
1301
1148
|
declare const capitalize: <T extends string>(text: T) => Capitalize<T>;
|
|
1302
1149
|
declare const uncapitalize: <T extends string>(text: T) => Uncapitalize<T>;
|
|
1303
1150
|
declare const toSnakeCase: (value: string) => string;
|
|
1304
|
-
|
|
1151
|
+
|
|
1305
1152
|
declare const dataVersionHeaderKey = "X-DATA-VERSION";
|
|
1306
1153
|
declare const dataVersionHeader: (dataVersion?: string) => {
|
|
1307
1154
|
"X-DATA-VERSION": string;
|
|
@@ -1873,7 +1720,7 @@ declare class PopoverComponent {
|
|
|
1873
1720
|
protected readonly message: _angular_core.InputSignal<string>;
|
|
1874
1721
|
protected readonly content: _angular_core.InputSignal<TemplateRef<ContentContext>>;
|
|
1875
1722
|
protected readonly data: _angular_core.InputSignal<any>;
|
|
1876
|
-
protected readonly position: _angular_core.InputSignal<"
|
|
1723
|
+
protected readonly position: _angular_core.InputSignal<"left" | "top" | "right" | "bottom">;
|
|
1877
1724
|
protected onClick($event: any): void;
|
|
1878
1725
|
readonly active: _angular_core.WritableSignal<boolean>;
|
|
1879
1726
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
@@ -2468,10 +2315,10 @@ declare class CyclesMetadataComponent {
|
|
|
2468
2315
|
private readonly ogirinalSelectedCycle;
|
|
2469
2316
|
protected readonly selectedCycle: _angular_core.Signal<ICycleJSONLD>;
|
|
2470
2317
|
protected readonly selectedOriginalValues: _angular_core.Signal<{
|
|
2471
|
-
[k: string]: string | number | boolean | string[] |
|
|
2318
|
+
[k: string]: string | number | boolean | number[] | string[] | Date | (string | _hestia_earth_schema.IContext)[] | _hestia_earth_schema.ISiteJSONLD | _hestia_earth_schema.Input[] | _hestia_earth_schema.Product[] | _hestia_earth_schema.Animal[] | _hestia_earth_schema.Emission[] | _hestia_earth_schema.Practice[] | _hestia_earth_schema.Transformation[] | _hestia_earth_schema.ISourceJSONLD | _hestia_earth_schema.ISourceJSONLD[] | _hestia_earth_schema.Completeness | ICycleJSONLD[] | _hestia_earth_schema.ISiteJSONLD[] | null[][];
|
|
2472
2319
|
}>;
|
|
2473
2320
|
protected readonly selectedRecalculatedValues: _angular_core.Signal<{
|
|
2474
|
-
[k: string]: string | number | boolean | string[] |
|
|
2321
|
+
[k: string]: string | number | boolean | number[] | string[] | Date | (string | _hestia_earth_schema.IContext)[] | _hestia_earth_schema.ISiteJSONLD | _hestia_earth_schema.Input[] | _hestia_earth_schema.Product[] | _hestia_earth_schema.Animal[] | _hestia_earth_schema.Emission[] | _hestia_earth_schema.Practice[] | _hestia_earth_schema.Transformation[] | _hestia_earth_schema.ISourceJSONLD | _hestia_earth_schema.ISourceJSONLD[] | _hestia_earth_schema.Completeness | ICycleJSONLD[] | _hestia_earth_schema.ISiteJSONLD[] | null[][];
|
|
2475
2322
|
}>;
|
|
2476
2323
|
readonly hideIdenticalValues: _angular_core.InputSignal<boolean>;
|
|
2477
2324
|
protected readonly hideIdenticalSelected: _angular_core.WritableSignal<boolean>;
|
|
@@ -3846,507 +3693,73 @@ interface IImpactAssessmentJSONLDExtended extends IImpactAssessmentJSONLD {
|
|
|
3846
3693
|
};
|
|
3847
3694
|
}
|
|
3848
3695
|
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
}
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
}
|
|
3894
|
-
declare
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
};
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
};
|
|
3917
|
-
}>;
|
|
3918
|
-
declare const matchPhraseQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
3919
|
-
match: {
|
|
3920
|
-
[x: string]: {
|
|
3921
|
-
boost?: number;
|
|
3922
|
-
query: any;
|
|
3923
|
-
};
|
|
3924
|
-
};
|
|
3925
|
-
}> | Readonly<{
|
|
3926
|
-
multi_match: {
|
|
3927
|
-
analyzer?: "standard";
|
|
3928
|
-
boost?: number;
|
|
3929
|
-
query: string;
|
|
3930
|
-
fields: string[];
|
|
3931
|
-
type: multiMatchType;
|
|
3932
|
-
};
|
|
3933
|
-
}>;
|
|
3934
|
-
declare const matchPhrasePrefixQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
3935
|
-
multi_match: {
|
|
3936
|
-
analyzer?: "standard";
|
|
3937
|
-
boost?: number;
|
|
3938
|
-
query: string;
|
|
3939
|
-
fields: string[];
|
|
3940
|
-
type: multiMatchType;
|
|
3941
|
-
};
|
|
3942
|
-
}> | Readonly<{
|
|
3943
|
-
match_phrase_prefix: {
|
|
3944
|
-
nameSearchAsYouType: {
|
|
3945
|
-
query: string;
|
|
3946
|
-
boost: number;
|
|
3947
|
-
};
|
|
3948
|
-
};
|
|
3949
|
-
}>;
|
|
3950
|
-
declare const matchBoolPrefixQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
3951
|
-
multi_match: {
|
|
3952
|
-
analyzer?: "standard";
|
|
3953
|
-
boost?: number;
|
|
3954
|
-
query: string;
|
|
3955
|
-
fields: string[];
|
|
3956
|
-
type: multiMatchType;
|
|
3957
|
-
};
|
|
3958
|
-
}> | Readonly<{
|
|
3959
|
-
match_bool_prefix: {
|
|
3960
|
-
name: {
|
|
3961
|
-
query: string;
|
|
3962
|
-
boost: number;
|
|
3963
|
-
};
|
|
3964
|
-
};
|
|
3965
|
-
}>;
|
|
3966
|
-
declare const wildcardQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
3967
|
-
simple_query_string: {
|
|
3968
|
-
query: string;
|
|
3969
|
-
fields: string[];
|
|
3970
|
-
analyze_wildcard: boolean;
|
|
3971
|
-
boost: number;
|
|
3972
|
-
};
|
|
3973
|
-
}>;
|
|
3974
|
-
declare const matchGlobalRegion: {
|
|
3975
|
-
regexp: {
|
|
3976
|
-
'@id': string;
|
|
3977
|
-
};
|
|
3978
|
-
};
|
|
3979
|
-
declare const matchCountry: Readonly<{
|
|
3980
|
-
bool: {
|
|
3981
|
-
should: ({
|
|
3982
|
-
match: {
|
|
3983
|
-
gadmLevel: number;
|
|
3984
|
-
};
|
|
3985
|
-
} | {
|
|
3986
|
-
regexp: {
|
|
3987
|
-
'@id': string;
|
|
3988
|
-
};
|
|
3989
|
-
})[];
|
|
3990
|
-
minimum_should_match: number;
|
|
3991
|
-
};
|
|
3992
|
-
}>;
|
|
3993
|
-
declare const countriesQuery: Readonly<{
|
|
3994
|
-
bool: {
|
|
3995
|
-
must: ({
|
|
3996
|
-
match: {
|
|
3997
|
-
gadmLevel: number;
|
|
3998
|
-
};
|
|
3999
|
-
} | Readonly<{
|
|
4000
|
-
match: {
|
|
4001
|
-
'@type.keyword': string;
|
|
4002
|
-
};
|
|
4003
|
-
}> | Readonly<Readonly<{
|
|
4004
|
-
match: {
|
|
4005
|
-
[x: string]: {
|
|
4006
|
-
boost?: number;
|
|
4007
|
-
query: any;
|
|
4008
|
-
};
|
|
4009
|
-
};
|
|
4010
|
-
}>>)[];
|
|
4011
|
-
};
|
|
4012
|
-
}>;
|
|
4013
|
-
declare const allCountriesQuery: Readonly<{
|
|
4014
|
-
bool: {
|
|
4015
|
-
should: ({
|
|
4016
|
-
match: {
|
|
4017
|
-
gadmLevel: number;
|
|
4018
|
-
};
|
|
4019
|
-
} | {
|
|
4020
|
-
regexp: {
|
|
4021
|
-
'@id': string;
|
|
4022
|
-
};
|
|
4023
|
-
})[];
|
|
4024
|
-
minimum_should_match: number;
|
|
4025
|
-
must: (Readonly<{
|
|
4026
|
-
match: {
|
|
4027
|
-
'@type.keyword': string;
|
|
4028
|
-
};
|
|
4029
|
-
}> | Readonly<Readonly<{
|
|
4030
|
-
match: {
|
|
4031
|
-
[x: string]: {
|
|
4032
|
-
boost?: number;
|
|
4033
|
-
query: any;
|
|
4034
|
-
};
|
|
4035
|
-
};
|
|
4036
|
-
}>>)[];
|
|
4037
|
-
};
|
|
4038
|
-
}>;
|
|
4039
|
-
declare const matchRegion: Readonly<{
|
|
4040
|
-
range: {
|
|
4041
|
-
[x: string]: {
|
|
4042
|
-
gte: number;
|
|
4043
|
-
};
|
|
4044
|
-
};
|
|
4045
|
-
}>;
|
|
4046
|
-
declare const regionsQuery: Readonly<{
|
|
4047
|
-
bool: {
|
|
4048
|
-
must: (Readonly<{
|
|
4049
|
-
match: {
|
|
4050
|
-
'@type.keyword': string;
|
|
4051
|
-
};
|
|
4052
|
-
}> | Readonly<Readonly<{
|
|
4053
|
-
match: {
|
|
4054
|
-
[x: string]: {
|
|
4055
|
-
boost?: number;
|
|
4056
|
-
query: any;
|
|
4057
|
-
};
|
|
4058
|
-
};
|
|
4059
|
-
}>> | Readonly<{
|
|
4060
|
-
range: {
|
|
4061
|
-
[x: string]: {
|
|
4062
|
-
gte: number;
|
|
4063
|
-
};
|
|
4064
|
-
};
|
|
4065
|
-
}>)[];
|
|
4066
|
-
};
|
|
4067
|
-
}>;
|
|
4068
|
-
declare const cropsQuery: Readonly<{
|
|
4069
|
-
bool: {
|
|
4070
|
-
must: (Readonly<{
|
|
4071
|
-
match: {
|
|
4072
|
-
'@type.keyword': string;
|
|
4073
|
-
};
|
|
4074
|
-
}> | Readonly<Readonly<{
|
|
4075
|
-
match: {
|
|
4076
|
-
[x: string]: {
|
|
4077
|
-
boost?: number;
|
|
4078
|
-
query: any;
|
|
4079
|
-
};
|
|
4080
|
-
};
|
|
4081
|
-
}>>)[];
|
|
4082
|
-
};
|
|
4083
|
-
}>;
|
|
4084
|
-
declare const productsQuery: Readonly<{
|
|
4085
|
-
bool: {
|
|
4086
|
-
must: Readonly<{
|
|
4087
|
-
match: {
|
|
4088
|
-
'@type.keyword': string;
|
|
4089
|
-
};
|
|
4090
|
-
}>[];
|
|
4091
|
-
should: Readonly<Readonly<{
|
|
4092
|
-
match: {
|
|
4093
|
-
[x: string]: {
|
|
4094
|
-
boost?: number;
|
|
4095
|
-
query: any;
|
|
4096
|
-
};
|
|
4097
|
-
};
|
|
4098
|
-
}>>[];
|
|
4099
|
-
minimum_should_match: number;
|
|
4100
|
-
};
|
|
4101
|
-
}>;
|
|
4102
|
-
declare const matchAggregatedQuery: Readonly<{
|
|
4103
|
-
match: {
|
|
4104
|
-
[x: string]: {
|
|
4105
|
-
boost?: number;
|
|
4106
|
-
query: any;
|
|
4107
|
-
};
|
|
4108
|
-
};
|
|
4109
|
-
}>;
|
|
4110
|
-
declare const matchAggregatedValidatedQuery: Readonly<{
|
|
4111
|
-
match: {
|
|
4112
|
-
[x: string]: {
|
|
4113
|
-
boost?: number;
|
|
4114
|
-
query: any;
|
|
4115
|
-
};
|
|
4116
|
-
};
|
|
4117
|
-
}>;
|
|
4118
|
-
declare const matchNestedKey: (key: string, query: any) => any;
|
|
4119
|
-
declare const matchPrimaryProductQuery: (product: string) => any;
|
|
4120
|
-
|
|
4121
|
-
type searchResult = ICycleJSONLD | ISourceJSONLD | IImpactAssessmentJSONLD | ITermJSONLD;
|
|
4122
|
-
type sortOrders = 'asc' | 'desc';
|
|
4123
|
-
interface ISearchParamSort {
|
|
4124
|
-
[key: string]: sortOrders;
|
|
4125
|
-
}
|
|
4126
|
-
interface ISearchScript {
|
|
4127
|
-
_script: {
|
|
4128
|
-
type?: string;
|
|
4129
|
-
order?: sortOrders;
|
|
4130
|
-
script: string;
|
|
4131
|
-
};
|
|
4132
|
-
}
|
|
4133
|
-
interface ISearchParams {
|
|
4134
|
-
limit?: number;
|
|
4135
|
-
offset?: number;
|
|
4136
|
-
fields?: string[];
|
|
4137
|
-
sort?: ISearchParamSort[] | ISearchScript;
|
|
4138
|
-
query?: any;
|
|
4139
|
-
}
|
|
4140
|
-
interface ISearchResultExtended {
|
|
4141
|
-
_score: number;
|
|
4142
|
-
location?: {
|
|
4143
|
-
lat: number;
|
|
4144
|
-
lon: number;
|
|
4145
|
-
};
|
|
4146
|
-
properties?: string[];
|
|
4147
|
-
expanded?: boolean;
|
|
4148
|
-
extended?: boolean;
|
|
4149
|
-
pinned?: boolean;
|
|
4150
|
-
loading?: boolean;
|
|
4151
|
-
selected?: boolean;
|
|
4152
|
-
inputsCount?: number;
|
|
4153
|
-
emissionsCount?: number;
|
|
4154
|
-
productsCount?: number;
|
|
4155
|
-
}
|
|
4156
|
-
interface ISearchResults<C extends JSONLD<T>, T extends NodeType = searchableType> {
|
|
4157
|
-
/**
|
|
4158
|
-
* Amount of time the query took
|
|
4159
|
-
*/
|
|
4160
|
-
time: number;
|
|
4161
|
-
/**
|
|
4162
|
-
* Numnber of results
|
|
4163
|
-
*/
|
|
4164
|
-
count: number;
|
|
4165
|
-
results: (C & ISearchResultExtended)[];
|
|
4166
|
-
}
|
|
4167
|
-
declare const MAX_RESULTS = 10000;
|
|
4168
|
-
declare const suggestMatchQuery: (query: string) => (Readonly<{
|
|
4169
|
-
match: {
|
|
4170
|
-
[x: string]: {
|
|
4171
|
-
boost?: number;
|
|
4172
|
-
query: any;
|
|
4173
|
-
};
|
|
4174
|
-
};
|
|
4175
|
-
}> | Readonly<{
|
|
4176
|
-
match: {
|
|
4177
|
-
nameNormalized: {
|
|
4178
|
-
query: string;
|
|
4179
|
-
boost: number;
|
|
4180
|
-
};
|
|
4181
|
-
};
|
|
4182
|
-
}> | Readonly<{
|
|
4183
|
-
multi_match: {
|
|
4184
|
-
analyzer?: "standard";
|
|
4185
|
-
boost?: number;
|
|
4186
|
-
query: string;
|
|
4187
|
-
fields: string[];
|
|
4188
|
-
type: "best_fields" | "most_fields" | "cross_fields" | "phrase" | "phrase_prefix" | "bool_prefix";
|
|
4189
|
-
};
|
|
4190
|
-
}> | Readonly<{
|
|
4191
|
-
match_phrase_prefix: {
|
|
4192
|
-
nameSearchAsYouType: {
|
|
4193
|
-
query: string;
|
|
4194
|
-
boost: number;
|
|
4195
|
-
};
|
|
4196
|
-
};
|
|
4197
|
-
}>)[];
|
|
4198
|
-
declare const suggestQuery: <T extends NodeType = searchableType>(query: string, type?: T, extraQueries?: any[]) => {
|
|
4199
|
-
bool: {
|
|
4200
|
-
must: any[];
|
|
4201
|
-
should: {
|
|
4202
|
-
bool: {
|
|
4203
|
-
must: Readonly<{
|
|
4204
|
-
match: {
|
|
4205
|
-
'@type.keyword': string;
|
|
4206
|
-
};
|
|
4207
|
-
}>[];
|
|
4208
|
-
should: (Readonly<{
|
|
4209
|
-
match: {
|
|
4210
|
-
[x: string]: {
|
|
4211
|
-
boost?: number;
|
|
4212
|
-
query: any;
|
|
4213
|
-
};
|
|
4214
|
-
};
|
|
4215
|
-
}> | Readonly<{
|
|
4216
|
-
match: {
|
|
4217
|
-
nameNormalized: {
|
|
4218
|
-
query: string;
|
|
4219
|
-
boost: number;
|
|
4220
|
-
};
|
|
4221
|
-
};
|
|
4222
|
-
}> | Readonly<{
|
|
4223
|
-
multi_match: {
|
|
4224
|
-
analyzer?: "standard";
|
|
4225
|
-
boost?: number;
|
|
4226
|
-
query: string;
|
|
4227
|
-
fields: string[];
|
|
4228
|
-
type: "best_fields" | "most_fields" | "cross_fields" | "phrase" | "phrase_prefix" | "bool_prefix";
|
|
4229
|
-
};
|
|
4230
|
-
}> | Readonly<{
|
|
4231
|
-
match_phrase_prefix: {
|
|
4232
|
-
nameSearchAsYouType: {
|
|
4233
|
-
query: string;
|
|
4234
|
-
boost: number;
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
}>)[];
|
|
4238
|
-
minimum_should_match: number;
|
|
4239
|
-
};
|
|
4240
|
-
}[];
|
|
4241
|
-
minimum_should_match: number;
|
|
4242
|
-
};
|
|
4243
|
-
};
|
|
4244
|
-
declare class HeSearchService {
|
|
4245
|
-
protected readonly http: HttpClient;
|
|
4246
|
-
protected readonly commonService: HeCommonService;
|
|
4247
|
-
search$<C extends JSONLD<T>, T extends NodeType = searchableType>(params: ISearchParams, dataVersion?: string, searchPath?: string): rxjs.Observable<ISearchResults<C, T>>;
|
|
4248
|
-
count$(params?: {}, dataVersion?: string, countPath?: string): rxjs.Observable<number>;
|
|
4249
|
-
get$<C extends JSONLD<T>, T extends NodeType>(type: T, id: string, searchPath?: string): rxjs.Observable<C & ISearchResultExtended>;
|
|
4250
|
-
suggest$<C extends JSONLD<T>, T extends NodeType = searchableType>(term: string, type?: T, extraQueries?: any[], fullQuery?: any, limit?: number, includes?: string[], searchPath?: string): rxjs.Observable<Omit<C & ISearchResultExtended, "_score">[]>;
|
|
4251
|
-
suggestSource$(term: string, limit?: number, fields?: string[], includes?: string[]): rxjs.Observable<Partial<Source>[]>;
|
|
4252
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeSearchService, never>;
|
|
4253
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<HeSearchService>;
|
|
4254
|
-
}
|
|
4255
|
-
|
|
4256
|
-
interface IChartInputLog {
|
|
4257
|
-
id: string;
|
|
4258
|
-
label: string;
|
|
4259
|
-
units: string;
|
|
4260
|
-
weightedValue: number;
|
|
4261
|
-
value: number;
|
|
4262
|
-
operations: IChartInputLog[];
|
|
4263
|
-
}
|
|
4264
|
-
interface IChartData {
|
|
4265
|
-
indicator: string;
|
|
4266
|
-
category?: string;
|
|
4267
|
-
categoryLabel?: string;
|
|
4268
|
-
contributor: string;
|
|
4269
|
-
coefficient: number;
|
|
4270
|
-
value: number;
|
|
4271
|
-
weightedValue: number;
|
|
4272
|
-
modelId: string;
|
|
4273
|
-
inputs?: IChartInputLog[];
|
|
4274
|
-
}
|
|
4275
|
-
type term = ITermJSONLD & ISearchResultExtended & {
|
|
4276
|
-
docs?: string;
|
|
4277
|
-
};
|
|
4278
|
-
interface ITermMapping {
|
|
4279
|
-
[id: string]: term;
|
|
4280
|
-
}
|
|
4281
|
-
|
|
4282
|
-
declare class ImpactAssessmentsGraphComponent {
|
|
4283
|
-
private readonly searchService;
|
|
4284
|
-
private readonly nodeService;
|
|
4285
|
-
private readonly emissionCategoryService;
|
|
4286
|
-
private readonly initialTerms;
|
|
4287
|
-
protected readonly nodeVersionKey: (node?: {
|
|
4288
|
-
"@id"?: string;
|
|
4289
|
-
dataVersion?: string;
|
|
4290
|
-
}) => string;
|
|
4291
|
-
protected readonly impactAssessments: _angular_core.InputSignal<IImpactAssessmentJSONLD[]>;
|
|
4292
|
-
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
4293
|
-
protected readonly isRecalculated: _angular_core.Signal<boolean>;
|
|
4294
|
-
protected readonly filteredImpactAssessments: _angular_core.Signal<IImpactAssessmentJSONLD[]>;
|
|
4295
|
-
protected readonly selectedImpactAssessmentId: _angular_core.WritableSignal<string>;
|
|
4296
|
-
private readonly selectedImpactAssessment;
|
|
4297
|
-
private readonly nodeLogsResource;
|
|
4298
|
-
private readonly nodeLogs;
|
|
4299
|
-
private readonly logTermIds;
|
|
4300
|
-
private readonly allTermsResource;
|
|
4301
|
-
protected readonly allTerms: _angular_core.Signal<ITermMapping>;
|
|
4302
|
-
protected readonly noData: _angular_core.Signal<boolean>;
|
|
4303
|
-
protected readonly warnings: _angular_core.Signal<string[]>;
|
|
4304
|
-
protected readonly showWarnings: _angular_core.WritableSignal<boolean>;
|
|
4305
|
-
protected readonly error: _angular_core.WritableSignal<string>;
|
|
4306
|
-
protected readonly selectedModelId: _angular_core.WritableSignal<string>;
|
|
4307
|
-
private readonly hasDefaultModelLogs;
|
|
4308
|
-
protected readonly models: _angular_core.Signal<Partial<ITermJSONLD>[]>;
|
|
4309
|
-
protected readonly categories: _hestia_earth_ui_components.IEmissionCategory[];
|
|
4310
|
-
protected readonly selectedCategory: _angular_core.WritableSignal<string>;
|
|
4311
|
-
protected readonly chartData: _angular_core.Signal<IChartData[]>;
|
|
4312
|
-
protected readonly loading: _angular_core.Signal<boolean>;
|
|
4313
|
-
protected readonly showChart: _angular_core.Signal<boolean>;
|
|
4314
|
-
constructor();
|
|
4315
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImpactAssessmentsGraphComponent, never>;
|
|
4316
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImpactAssessmentsGraphComponent, "he-impact-assessments-graph", never, { "impactAssessments": { "alias": "impactAssessments"; "required": false; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4317
|
-
}
|
|
4318
|
-
|
|
4319
|
-
declare enum View$1 {
|
|
4320
|
-
table = "Table",
|
|
4321
|
-
breakdown = "Breakdown",
|
|
4322
|
-
chart = "Compare",
|
|
4323
|
-
logs = "Recalculations logs"
|
|
4324
|
-
}
|
|
4325
|
-
type groupedEmissions = {
|
|
4326
|
-
[methodTier in IndicatorMethodTier]: IGroupedKeys<Indicator>[];
|
|
4327
|
-
};
|
|
4328
|
-
declare class ImpactAssessmentsProductsComponent {
|
|
4329
|
-
private readonly modalService;
|
|
4330
|
-
private readonly nodeStoreService;
|
|
4331
|
-
protected readonly componentId: _angular_core.Signal<string>;
|
|
4332
|
-
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
4333
|
-
protected readonly nodeKey: _angular_core.InputSignal<BlankNodesKey>;
|
|
4334
|
-
protected readonly filterTermTypes: _angular_core.InputSignal<TermTermType[]>;
|
|
4335
|
-
protected readonly enableFilterMethodModel: _angular_core.InputSignal<boolean>;
|
|
4336
|
-
protected readonly schemaBaseUrl: string;
|
|
4337
|
-
protected readonly productTerm: (impactAssessment: any) => Term;
|
|
4338
|
-
protected readonly nodeVersionKey: (node?: {
|
|
4339
|
-
"@id"?: string;
|
|
4340
|
-
dataVersion?: string;
|
|
4341
|
-
}) => string;
|
|
4342
|
-
protected readonly countGroupVisibleNodes: <T>(blankNodes: IGroupedKeys<T>[]) => number;
|
|
4343
|
-
protected readonly headerKeys: _angular_core.Signal<string[]>;
|
|
4344
|
-
protected readonly View: typeof View$1;
|
|
4345
|
-
protected readonly viewIcon: {
|
|
4346
|
-
Table: svgIconNames;
|
|
4347
|
-
Breakdown: svgIconNames;
|
|
4348
|
-
Compare: svgIconNames;
|
|
4349
|
-
"Recalculations logs": svgIconNames;
|
|
3696
|
+
declare class ImpactAssessmentsGraphComponent {
|
|
3697
|
+
private readonly searchService;
|
|
3698
|
+
private readonly nodeService;
|
|
3699
|
+
private readonly emissionCategoryService;
|
|
3700
|
+
private readonly initialTerms;
|
|
3701
|
+
protected readonly nodeVersionKey: (node?: {
|
|
3702
|
+
"@id"?: string;
|
|
3703
|
+
dataVersion?: string;
|
|
3704
|
+
}) => string;
|
|
3705
|
+
protected readonly impactAssessments: _angular_core.InputSignal<IImpactAssessmentJSONLD[]>;
|
|
3706
|
+
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
3707
|
+
protected readonly isRecalculated: _angular_core.Signal<boolean>;
|
|
3708
|
+
protected readonly filteredImpactAssessments: _angular_core.Signal<IImpactAssessmentJSONLD[]>;
|
|
3709
|
+
protected readonly selectedImpactAssessmentId: _angular_core.WritableSignal<string>;
|
|
3710
|
+
private readonly selectedImpactAssessment;
|
|
3711
|
+
private readonly nodeLogsResource;
|
|
3712
|
+
private readonly nodeLogs;
|
|
3713
|
+
private readonly logTermIds;
|
|
3714
|
+
private readonly allTermsResource;
|
|
3715
|
+
protected readonly allTerms: _angular_core.Signal<ITermMapping>;
|
|
3716
|
+
protected readonly noData: _angular_core.Signal<boolean>;
|
|
3717
|
+
protected readonly warnings: _angular_core.Signal<string[]>;
|
|
3718
|
+
protected readonly showWarnings: _angular_core.WritableSignal<boolean>;
|
|
3719
|
+
protected readonly error: _angular_core.WritableSignal<string>;
|
|
3720
|
+
protected readonly selectedModelId: _angular_core.WritableSignal<string>;
|
|
3721
|
+
protected readonly models: _angular_core.Signal<Partial<ITermJSONLD>[]>;
|
|
3722
|
+
protected readonly categories: _hestia_earth_ui_components_charts.IEmissionCategory[];
|
|
3723
|
+
protected readonly selectedCategory: _angular_core.WritableSignal<string>;
|
|
3724
|
+
protected readonly chartData: _angular_core.Signal<IChartData[]>;
|
|
3725
|
+
protected readonly loading: _angular_core.Signal<boolean>;
|
|
3726
|
+
protected readonly showChart: _angular_core.Signal<boolean>;
|
|
3727
|
+
constructor();
|
|
3728
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ImpactAssessmentsGraphComponent, never>;
|
|
3729
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ImpactAssessmentsGraphComponent, "he-impact-assessments-graph", never, { "impactAssessments": { "alias": "impactAssessments"; "required": false; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3730
|
+
}
|
|
3731
|
+
|
|
3732
|
+
declare enum View$1 {
|
|
3733
|
+
table = "Table",
|
|
3734
|
+
breakdown = "Breakdown",
|
|
3735
|
+
chart = "Compare",
|
|
3736
|
+
logs = "Recalculations logs"
|
|
3737
|
+
}
|
|
3738
|
+
type groupedEmissions = {
|
|
3739
|
+
[methodTier in IndicatorMethodTier]: IGroupedKeys<Indicator>[];
|
|
3740
|
+
};
|
|
3741
|
+
declare class ImpactAssessmentsProductsComponent {
|
|
3742
|
+
private readonly modalService;
|
|
3743
|
+
private readonly nodeStoreService;
|
|
3744
|
+
protected readonly componentId: _angular_core.Signal<string>;
|
|
3745
|
+
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
3746
|
+
protected readonly nodeKey: _angular_core.InputSignal<BlankNodesKey>;
|
|
3747
|
+
protected readonly filterTermTypes: _angular_core.InputSignal<TermTermType[]>;
|
|
3748
|
+
protected readonly enableFilterMethodModel: _angular_core.InputSignal<boolean>;
|
|
3749
|
+
protected readonly schemaBaseUrl: string;
|
|
3750
|
+
protected readonly productTerm: (impactAssessment: any) => Term;
|
|
3751
|
+
protected readonly nodeVersionKey: (node?: {
|
|
3752
|
+
"@id"?: string;
|
|
3753
|
+
dataVersion?: string;
|
|
3754
|
+
}) => string;
|
|
3755
|
+
protected readonly countGroupVisibleNodes: <T>(blankNodes: IGroupedKeys<T>[]) => number;
|
|
3756
|
+
protected readonly headerKeys: _angular_core.Signal<string[]>;
|
|
3757
|
+
protected readonly View: typeof View$1;
|
|
3758
|
+
protected readonly viewIcon: {
|
|
3759
|
+
Table: svgIconNames;
|
|
3760
|
+
Breakdown: svgIconNames;
|
|
3761
|
+
Compare: svgIconNames;
|
|
3762
|
+
"Recalculations logs": svgIconNames;
|
|
4350
3763
|
};
|
|
4351
3764
|
private readonly showView;
|
|
4352
3765
|
protected readonly views: _angular_core.Signal<View$1[]>;
|
|
@@ -4447,7 +3860,7 @@ declare class ImpactAssessmentsIndicatorBreakdownChartComponent {
|
|
|
4447
3860
|
private readonly responsiveService;
|
|
4448
3861
|
protected readonly impactAssessment: _angular_core.InputSignal<IImpactAssessmentJSONLD>;
|
|
4449
3862
|
protected readonly indicators: _angular_core.InputSignal<Indicator[]>;
|
|
4450
|
-
protected readonly maximumValues: _angular_core.Signal<
|
|
3863
|
+
protected readonly maximumValues: _angular_core.Signal<10 | 20>;
|
|
4451
3864
|
protected readonly categories: _hestia_earth_ui_components_charts.IEmissionCategory[];
|
|
4452
3865
|
protected readonly selectedCategory: _angular_core.WritableSignal<string>;
|
|
4453
3866
|
protected readonly logsResource: _angular_core.ResourceRef<IContributionLog[]>;
|
|
@@ -4997,854 +4410,1261 @@ interface IJLogTermGroup {
|
|
|
4997
4410
|
isOpen: boolean;
|
|
4998
4411
|
allSucceeded: boolean;
|
|
4999
4412
|
}
|
|
5000
|
-
/**
|
|
5001
|
-
* Group the `.jlog` logs for one node key into rows, one per term, keeping every blank node distinct.
|
|
5002
|
-
*
|
|
5003
|
-
* @param jlog The full parsed `.jlog`.
|
|
5004
|
-
* @param nodeKey The node field being shown (e.g. `inputs`, `measurements`).
|
|
5005
|
-
* @param recalculatedValues The recalculated blank nodes for that key (index-aligned with the `.jlog`).
|
|
5006
|
-
* @param originalValues The original blank nodes for that key (matched by uniqueness for the delta).
|
|
5007
|
-
* @param nodeType The node type.
|
|
5008
|
-
* @param getTerm Resolve a term by `@id` (used for `<key>-failed` entries that have no blank node).
|
|
5009
|
-
* @param config The orchestrator config, used to list models that could run for a term.
|
|
5010
|
-
*/
|
|
5011
|
-
declare const groupJLogByTerm: (jlog: Record<string, any>, nodeKey: string, recalculatedValues?: blankNodesTypeValue[], originalValues?: blankNodesTypeValue[], nodeType?: NodeType, getTerm?: (id: string) => ITermJSONLD, config?: IOrchestratorConfig) => IJLogTermGroup[];
|
|
5012
|
-
/**
|
|
5013
|
-
* Group the `.jlog` logs for a metadata or completeness node (a `key -> value` map, not blank nodes).
|
|
5014
|
-
*
|
|
5015
|
-
* Each key is one row: the model logs come from the field's own `.jlog` entry (e.g. `startDate`), or
|
|
5016
|
-
* from the shared node-key entry for completeness (`completeness`). Values come from the `key -> value`
|
|
5017
|
-
* original/recalculated maps.
|
|
5018
|
-
*
|
|
5019
|
-
* @param jlog The full parsed `.jlog`.
|
|
5020
|
-
* @param nodeKey The node field being shown (`completeness`, or empty for cycle metadata).
|
|
5021
|
-
* @param originalValues The original `key -> value` map.
|
|
5022
|
-
* @param recalculatedValues The recalculated `key -> value` map.
|
|
5023
|
-
* @param nodeType The node type.
|
|
5024
|
-
*/
|
|
5025
|
-
declare const groupJLogByField: (jlog: Record<string, any>, nodeKey: string, originalValues: nonBlankNodesTypeValue, recalculatedValues: nonBlankNodesTypeValue, nodeType?: NodeType) => IJLogTermGroup[];
|
|
5026
|
-
/**
|
|
5027
|
-
* One blank node, labelled by what tells it apart from the others sharing its term.
|
|
5028
|
-
*/
|
|
5029
|
-
interface IBlankNodeIdentityRow {
|
|
4413
|
+
/**
|
|
4414
|
+
* Group the `.jlog` logs for one node key into rows, one per term, keeping every blank node distinct.
|
|
4415
|
+
*
|
|
4416
|
+
* @param jlog The full parsed `.jlog`.
|
|
4417
|
+
* @param nodeKey The node field being shown (e.g. `inputs`, `measurements`).
|
|
4418
|
+
* @param recalculatedValues The recalculated blank nodes for that key (index-aligned with the `.jlog`).
|
|
4419
|
+
* @param originalValues The original blank nodes for that key (matched by uniqueness for the delta).
|
|
4420
|
+
* @param nodeType The node type.
|
|
4421
|
+
* @param getTerm Resolve a term by `@id` (used for `<key>-failed` entries that have no blank node).
|
|
4422
|
+
* @param config The orchestrator config, used to list models that could run for a term.
|
|
4423
|
+
*/
|
|
4424
|
+
declare const groupJLogByTerm: (jlog: Record<string, any>, nodeKey: string, recalculatedValues?: blankNodesTypeValue[], originalValues?: blankNodesTypeValue[], nodeType?: NodeType, getTerm?: (id: string) => ITermJSONLD, config?: IOrchestratorConfig) => IJLogTermGroup[];
|
|
4425
|
+
/**
|
|
4426
|
+
* Group the `.jlog` logs for a metadata or completeness node (a `key -> value` map, not blank nodes).
|
|
4427
|
+
*
|
|
4428
|
+
* Each key is one row: the model logs come from the field's own `.jlog` entry (e.g. `startDate`), or
|
|
4429
|
+
* from the shared node-key entry for completeness (`completeness`). Values come from the `key -> value`
|
|
4430
|
+
* original/recalculated maps.
|
|
4431
|
+
*
|
|
4432
|
+
* @param jlog The full parsed `.jlog`.
|
|
4433
|
+
* @param nodeKey The node field being shown (`completeness`, or empty for cycle metadata).
|
|
4434
|
+
* @param originalValues The original `key -> value` map.
|
|
4435
|
+
* @param recalculatedValues The recalculated `key -> value` map.
|
|
4436
|
+
* @param nodeType The node type.
|
|
4437
|
+
*/
|
|
4438
|
+
declare const groupJLogByField: (jlog: Record<string, any>, nodeKey: string, originalValues: nonBlankNodesTypeValue, recalculatedValues: nonBlankNodesTypeValue, nodeType?: NodeType) => IJLogTermGroup[];
|
|
4439
|
+
/**
|
|
4440
|
+
* One blank node, labelled by what tells it apart from the others sharing its term.
|
|
4441
|
+
*/
|
|
4442
|
+
interface IBlankNodeIdentityRow {
|
|
4443
|
+
index: number;
|
|
4444
|
+
value: any;
|
|
4445
|
+
segments: IIdentitySegment[];
|
|
4446
|
+
scalars: IIdentityScalar[];
|
|
4447
|
+
label: string;
|
|
4448
|
+
}
|
|
4449
|
+
interface IBlankNodeIdentityGroup {
|
|
4450
|
+
term?: ITermJSONLD;
|
|
4451
|
+
termId: string;
|
|
4452
|
+
type?: SchemaType;
|
|
4453
|
+
rows: IBlankNodeIdentityRow[];
|
|
4454
|
+
canOpen: boolean;
|
|
4455
|
+
value: propertyValueType;
|
|
4456
|
+
valueFormula?: string;
|
|
4457
|
+
}
|
|
4458
|
+
/**
|
|
4459
|
+
* Group blank nodes by term, labelling those that share one - the grouping the recalculation logs
|
|
4460
|
+
* show, for a view that has no `.jlog` to read (the aggregation logs).
|
|
4461
|
+
*
|
|
4462
|
+
* The labels come from the schema `uniquenessFields`, so two entries for the same term read as e.g.
|
|
4463
|
+
* "depths: 0-30" or "inputs: Wheat, grain" exactly as they do in the recalculation logs.
|
|
4464
|
+
*
|
|
4465
|
+
* @param values The blank nodes of one node key (e.g. a cycle's `inputs`).
|
|
4466
|
+
* @param nodeType The type of the node holding them (e.g. `Cycle`), for the parent uniqueness fields.
|
|
4467
|
+
* @param nodeKey The node field they were read from (e.g. `inputs`).
|
|
4468
|
+
*/
|
|
4469
|
+
declare const groupBlankNodesByTermIdentity: (values: any[], nodeType?: NodeType, nodeKey?: string) => IBlankNodeIdentityGroup[];
|
|
4470
|
+
/**
|
|
4471
|
+
* The maximum number of model columns across all rows, to size the "Model N" columns.
|
|
4472
|
+
*/
|
|
4473
|
+
declare const jLogModelCount: (groups: IJLogTermGroup[]) => number;
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* Get the most recent version of the models used to recalculate the node.
|
|
4477
|
+
*
|
|
4478
|
+
* @param node
|
|
4479
|
+
* @returns The latest version
|
|
4480
|
+
*/
|
|
4481
|
+
declare const nodeVersion: (node: any) => string;
|
|
4482
|
+
|
|
4483
|
+
declare class NodeAggregatedComponent {
|
|
4484
|
+
protected readonly showInfo: _angular_core.InputSignal<boolean>;
|
|
4485
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedComponent, never>;
|
|
4486
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregatedComponent, "he-node-aggregated", never, { "showInfo": { "alias": "showInfo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4489
|
+
declare class NodeAggregatedInfoComponent {
|
|
4490
|
+
protected readonly icon: _angular_core.InputSignal<svgIconNames>;
|
|
4491
|
+
protected readonly showSource: _angular_core.InputSignal<boolean>;
|
|
4492
|
+
protected readonly showSites: _angular_core.InputSignal<boolean>;
|
|
4493
|
+
protected readonly triggers: _angular_core.InputSignal<string>;
|
|
4494
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedInfoComponent, never>;
|
|
4495
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregatedInfoComponent, "he-node-aggregated-info", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showSource": { "alias": "showSource"; "required": false; "isSignal": true; }; "showSites": { "alias": "showSites"; "required": false; "isSignal": true; }; "triggers": { "alias": "triggers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
/**
|
|
4499
|
+
* What a rule computes: the aggregated value, or one of the weights the values are combined by.
|
|
4500
|
+
*/
|
|
4501
|
+
type IFormulaGroup = 'value' | 'weights';
|
|
4502
|
+
/**
|
|
4503
|
+
* One column of the contributors table, named by the symbol the formula reads it with, so the
|
|
4504
|
+
* table and the formula above it use the same names.
|
|
4505
|
+
*/
|
|
4506
|
+
interface IContributorColumn {
|
|
4507
|
+
symbol: string;
|
|
4508
|
+
description?: string;
|
|
4509
|
+
column: string;
|
|
4510
|
+
}
|
|
4511
|
+
/**
|
|
4512
|
+
* How the contributors of one stage are named: what a row of the table is, what the group of them is
|
|
4513
|
+
* called mid-sentence, and the heading over them. A Cycle is a node type and keeps its capital; the
|
|
4514
|
+
* aggregations are not.
|
|
4515
|
+
*/
|
|
4516
|
+
interface IContributorNames {
|
|
4517
|
+
row: string;
|
|
4518
|
+
group: string;
|
|
4519
|
+
heading: string;
|
|
4520
|
+
}
|
|
4521
|
+
/**
|
|
4522
|
+
* One plantation phase a value was combined from, as the aggregation recorded it: the weight `w_p`
|
|
4523
|
+
* its Cycles shared, how many of them shared it, and the share of the value they ended up with.
|
|
4524
|
+
*/
|
|
4525
|
+
interface IPlantationPhase {
|
|
4526
|
+
id: string;
|
|
4527
|
+
label: string;
|
|
4528
|
+
count?: number;
|
|
4529
|
+
weight?: number;
|
|
4530
|
+
share?: number;
|
|
4531
|
+
}
|
|
4532
|
+
/**
|
|
4533
|
+
* Which Cycles contributed to an aggregated value, and what a Cycle reporting none of it counted
|
|
4534
|
+
* as. It is the half of the calculation the formulas cannot show: they combine what went in, this
|
|
4535
|
+
* says what went in at all, and it is the rule the aggregation applies per Term rather than per
|
|
4536
|
+
* aggregation.
|
|
4537
|
+
*/
|
|
4538
|
+
interface IInclusionRule {
|
|
4539
|
+
included: string;
|
|
4540
|
+
blank: string;
|
|
4541
|
+
}
|
|
4542
|
+
interface IAggregationSection {
|
|
4543
|
+
id: IFormulaGroup;
|
|
4544
|
+
heading: string;
|
|
4545
|
+
formulas: IFormula[];
|
|
4546
|
+
}
|
|
4547
|
+
|
|
4548
|
+
declare class NodeAggregatedFormulasComponent {
|
|
4549
|
+
/**
|
|
4550
|
+
* The `termType` of the aggregation's primary product, which selects the product-specific page.
|
|
4551
|
+
* Omit it to show the general rules only.
|
|
4552
|
+
*/
|
|
4553
|
+
readonly termType: _angular_core.InputSignal<string>;
|
|
4554
|
+
/**
|
|
4555
|
+
* The `@id` of the aggregation's primary product, which decides whether the plantation rules ran.
|
|
4556
|
+
*/
|
|
4557
|
+
readonly termId: _angular_core.InputSignal<string>;
|
|
4558
|
+
/**
|
|
4559
|
+
* The blank node key the formulas are shown for (`products`, `emissions`, ...). Omit it to show
|
|
4560
|
+
* every rule; set it and only the rules that apply to that kind of data item are kept.
|
|
4561
|
+
*/
|
|
4562
|
+
readonly nodeKey: _angular_core.InputSignal<string>;
|
|
4563
|
+
/**
|
|
4564
|
+
* The Term of the data item shown, which decides how a Cycle reporting no value for it was
|
|
4565
|
+
* counted: some are zero-filled, others skipped.
|
|
4566
|
+
*/
|
|
4567
|
+
readonly term: _angular_core.InputSignal<ITermJSONLD>;
|
|
4568
|
+
/**
|
|
4569
|
+
* The quantities the formulas bind to, for this data item. Supplied by the caller from the
|
|
4570
|
+
* node's `.jlog` entries recorded by the aggregation (`model: "aggregation"`). Leave it empty
|
|
4571
|
+
* and every symbol stays symbolic, which is a valid state: aggregation logs are opt-in
|
|
4572
|
+
* (`LOG_JSON_ENABLED`) and absent for most aggregations.
|
|
4573
|
+
*/
|
|
4574
|
+
readonly values: _angular_core.InputSignal<Record<string, unknown>>;
|
|
4575
|
+
/**
|
|
4576
|
+
* Whether the aggregation covers the World rather than one country. A World aggregation combines
|
|
4577
|
+
* country aggregations by their share of world production; a country one never does, so that rule
|
|
4578
|
+
* is not part of how its values were produced.
|
|
4579
|
+
*/
|
|
4580
|
+
readonly worldAggregation: _angular_core.InputSignal<boolean>;
|
|
4581
|
+
/**
|
|
4582
|
+
* Whether the Cycle is one of the sub-aggregations an aggregation is combined from, in which case
|
|
4583
|
+
* the sub-system weighting is one of the stages that produced its values. Defaults to showing the
|
|
4584
|
+
* stage, so a caller that cannot tell keeps the rule documented.
|
|
4585
|
+
*/
|
|
4586
|
+
readonly subAggregation: _angular_core.InputSignal<boolean>;
|
|
4587
|
+
protected readonly substituted: _angular_core.ModelSignal<boolean>;
|
|
4588
|
+
/**
|
|
4589
|
+
* The rules that produced this value, grouped by what each one computes.
|
|
4590
|
+
*/
|
|
4591
|
+
protected readonly sections: _angular_core.Signal<IAggregationSection[]>;
|
|
4592
|
+
protected readonly inclusion: _angular_core.Signal<IInclusionRule>;
|
|
4593
|
+
protected readonly weighted: _angular_core.Signal<boolean>;
|
|
4594
|
+
protected readonly hasSubstitutions: _angular_core.Signal<boolean>;
|
|
4595
|
+
/**
|
|
4596
|
+
* What this value was combined from, as the aggregation recorded it: one row per contributor,
|
|
4597
|
+
* under the symbols the formulas above read them with. Absent where the contributors were too
|
|
4598
|
+
* many to record, which is every aggregation built straight from source Cycles - their number
|
|
4599
|
+
* is shown instead.
|
|
4600
|
+
*/
|
|
4601
|
+
protected readonly contributors: _angular_core.Signal<{
|
|
4602
|
+
rows: {
|
|
4603
|
+
node: {
|
|
4604
|
+
'@type': NodeType;
|
|
4605
|
+
'@id': string;
|
|
4606
|
+
};
|
|
4607
|
+
id: string;
|
|
4608
|
+
label: string;
|
|
4609
|
+
values: (string | undefined)[];
|
|
4610
|
+
}[];
|
|
4611
|
+
columns: IContributorColumn[];
|
|
4612
|
+
count?: number;
|
|
4613
|
+
}>;
|
|
4614
|
+
protected readonly phases: _angular_core.Signal<IPlantationPhase[]>;
|
|
4615
|
+
protected readonly contributor: _angular_core.Signal<IContributorNames>;
|
|
4616
|
+
protected readonly renderedSections: _angular_core.Signal<{
|
|
4617
|
+
formulas: {
|
|
4618
|
+
rendered: string;
|
|
4619
|
+
section: string;
|
|
4620
|
+
context: string;
|
|
4621
|
+
variables: {
|
|
4622
|
+
symbol: string;
|
|
4623
|
+
description: string;
|
|
4624
|
+
missing: boolean;
|
|
4625
|
+
note: string;
|
|
4626
|
+
}[];
|
|
4627
|
+
}[];
|
|
4628
|
+
id: IFormulaGroup;
|
|
4629
|
+
heading: string;
|
|
4630
|
+
}[]>;
|
|
4631
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedFormulasComponent, never>;
|
|
4632
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregatedFormulasComponent, "he-node-aggregated-formulas", never, { "termType": { "alias": "termType"; "required": false; "isSignal": true; }; "termId": { "alias": "termId"; "required": false; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "term": { "alias": "term"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "worldAggregation": { "alias": "worldAggregation"; "required": false; "isSignal": true; }; "subAggregation": { "alias": "subAggregation"; "required": false; "isSignal": true; }; "substituted": { "alias": "substituted"; "required": false; "isSignal": true; }; }, { "substituted": "substitutedChange"; }, never, never, true, never>;
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4635
|
+
interface IAggregationRow {
|
|
5030
4636
|
index: number;
|
|
5031
4637
|
value: any;
|
|
5032
|
-
|
|
5033
|
-
|
|
4638
|
+
term?: ITermJSONLD;
|
|
4639
|
+
segments: IBlankNodeIdentityGroup['rows'][0]['segments'];
|
|
4640
|
+
scalars: IBlankNodeIdentityGroup['rows'][0]['scalars'];
|
|
5034
4641
|
label: string;
|
|
4642
|
+
values: Record<string, unknown>;
|
|
4643
|
+
displayValue: propertyValueType;
|
|
4644
|
+
observations?: number;
|
|
5035
4645
|
}
|
|
5036
|
-
interface IBlankNodeIdentityGroup {
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
4646
|
+
interface IAggregationGroup extends Omit<IBlankNodeIdentityGroup, 'rows'> {
|
|
4647
|
+
rows: IAggregationRow[];
|
|
4648
|
+
isOpen: boolean;
|
|
4649
|
+
observations?: string;
|
|
4650
|
+
}
|
|
4651
|
+
declare class NodeAggregationLogsComponent {
|
|
4652
|
+
private readonly nodeLogsModelsService;
|
|
4653
|
+
/**
|
|
4654
|
+
* The aggregated node the data items are read from.
|
|
4655
|
+
*/
|
|
4656
|
+
readonly node: _angular_core.InputSignal<IJSONNode>;
|
|
4657
|
+
/**
|
|
4658
|
+
* The blank node key shown, e.g. `products` or `emissions`. It also selects which rules apply
|
|
4659
|
+
* to each row: the economic value share is only rescaled for products, and zero-filling only
|
|
4660
|
+
* applies where terms carry a completeness area.
|
|
4661
|
+
*/
|
|
4662
|
+
readonly nodeKey: _angular_core.InputSignal<string>;
|
|
4663
|
+
/**
|
|
4664
|
+
* The `termType` of the aggregation's primary product, which selects the product-specific rules.
|
|
4665
|
+
*/
|
|
4666
|
+
readonly termType: _angular_core.InputSignal<string>;
|
|
4667
|
+
/**
|
|
4668
|
+
* The `@id` of the aggregation's primary product, which decides whether the plantation rules ran.
|
|
4669
|
+
*/
|
|
4670
|
+
readonly termId: _angular_core.InputSignal<string>;
|
|
4671
|
+
/**
|
|
4672
|
+
* For a grouped sub-node view (e.g. an animal's inputs), the `.jlog` is nested under its parent:
|
|
4673
|
+
* scope to `jlog[<parentKey>][<parentIndex>]`, as the recalculation logs do.
|
|
4674
|
+
*/
|
|
4675
|
+
readonly jlogParentKey: _angular_core.InputSignal<string>;
|
|
4676
|
+
readonly jlogParentIndex: _angular_core.InputSignal<number>;
|
|
4677
|
+
protected readonly guideEnabled: boolean;
|
|
4678
|
+
protected readonly modelName = "Aggregation";
|
|
4679
|
+
protected readonly guidePage: _angular_core.Signal<string>;
|
|
4680
|
+
protected readonly guideHref: _angular_core.Signal<string>;
|
|
4681
|
+
private readonly nodeType;
|
|
4682
|
+
protected readonly worldAggregation: _angular_core.Signal<boolean>;
|
|
4683
|
+
/**
|
|
4684
|
+
* The node's `.jlog`, fetched like the recalculation logs fetch theirs: the aggregation records the
|
|
4685
|
+
* quantities its formulas bind to in the same file, under the same `{<field>: {<index>: {logs: []}}}`
|
|
4686
|
+
* shape. It is empty for most aggregations - the logs are opt-in (`LOG_JSON_ENABLED`) - and every
|
|
4687
|
+
* rule then renders symbolically, which is a valid state rather than an error.
|
|
4688
|
+
*/
|
|
4689
|
+
private readonly jlogResource;
|
|
4690
|
+
private readonly jlog;
|
|
4691
|
+
private readonly scopedJlog;
|
|
4692
|
+
private readonly nodeValues;
|
|
4693
|
+
protected readonly subAggregation: _angular_core.Signal<boolean>;
|
|
4694
|
+
/**
|
|
4695
|
+
* The `.jlog` of every sub-aggregation this Cycle was combined from, for the country shares the
|
|
4696
|
+
* aggregation only records on them. Best effort: a reader without access to a sub-aggregation
|
|
4697
|
+
* gets nothing back, and those symbols stay symbolic - which is how they render today.
|
|
4698
|
+
*/
|
|
4699
|
+
private readonly contributorsResource;
|
|
4700
|
+
private readonly sharedLookups;
|
|
4701
|
+
private readonly openGroups;
|
|
4702
|
+
/**
|
|
4703
|
+
* The aggregated data items, grouped by term exactly as the recalculation logs group them: several
|
|
4704
|
+
* entries for one term (e.g. a measurement at two depths) collapse into one expandable group whose
|
|
4705
|
+
* rows are labelled by what tells them apart.
|
|
4706
|
+
*/
|
|
4707
|
+
private readonly allGroups;
|
|
4708
|
+
/**
|
|
4709
|
+
* The rules that produced these values, which the row's `Logs` panel shows. They are read from the
|
|
4710
|
+
* documentation shipped by `@hestia-earth/aggregation-engine`, so an older copy of it can document
|
|
4711
|
+
* none that apply to this aggregation - and the panel would then open on nothing.
|
|
4712
|
+
*/
|
|
4713
|
+
protected readonly hasRules: _angular_core.Signal<boolean>;
|
|
4714
|
+
protected readonly term: _angular_core.WritableSignal<ITermJSONLD>;
|
|
4715
|
+
protected readonly typeaheadFocus: (e: Event) => void;
|
|
4716
|
+
protected readonly allTerms: _angular_core.Signal<ITermJSONLD[]>;
|
|
4717
|
+
protected readonly enableFilterByTerm: _angular_core.Signal<boolean>;
|
|
4718
|
+
protected readonly termFormatter: ({ name }: ITermJSONLD) => string;
|
|
4719
|
+
protected readonly suggestTerm: (text$: Observable<string>) => Observable<ITermJSONLD[]>;
|
|
4720
|
+
protected readonly groups: _angular_core.Signal<IAggregationGroup[]>;
|
|
4721
|
+
protected toggleGroup(group: IAggregationGroup): void;
|
|
4722
|
+
protected trackByGroup(_index: number, group: IAggregationGroup): string;
|
|
4723
|
+
protected trackByRow(_index: number, row: IAggregationRow): string;
|
|
4724
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregationLogsComponent, never>;
|
|
4725
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregationLogsComponent, "he-node-aggregation-logs", never, { "node": { "alias": "node"; "required": false; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "termType": { "alias": "termType"; "required": false; "isSignal": true; }; "termId": { "alias": "termId"; "required": false; "isSignal": true; }; "jlogParentKey": { "alias": "jlogParentKey"; "required": false; "isSignal": true; }; "jlogParentIndex": { "alias": "jlogParentIndex"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5044
4726
|
}
|
|
5045
|
-
/**
|
|
5046
|
-
* Group blank nodes by term, labelling those that share one - the grouping the recalculation logs
|
|
5047
|
-
* show, for a view that has no `.jlog` to read (the aggregation logs).
|
|
5048
|
-
*
|
|
5049
|
-
* The labels come from the schema `uniquenessFields`, so two entries for the same term read as e.g.
|
|
5050
|
-
* "depths: 0-30" or "inputs: Wheat, grain" exactly as they do in the recalculation logs.
|
|
5051
|
-
*
|
|
5052
|
-
* @param values The blank nodes of one node key (e.g. a cycle's `inputs`).
|
|
5053
|
-
* @param nodeType The type of the node holding them (e.g. `Cycle`), for the parent uniqueness fields.
|
|
5054
|
-
* @param nodeKey The node field they were read from (e.g. `inputs`).
|
|
5055
|
-
*/
|
|
5056
|
-
declare const groupBlankNodesByTermIdentity: (values: any[], nodeType?: NodeType, nodeKey?: string) => IBlankNodeIdentityGroup[];
|
|
5057
|
-
/**
|
|
5058
|
-
* The maximum number of model columns across all rows, to size the "Model N" columns.
|
|
5059
|
-
*/
|
|
5060
|
-
declare const jLogModelCount: (groups: IJLogTermGroup[]) => number;
|
|
5061
|
-
|
|
5062
|
-
/**
|
|
5063
|
-
* Get the most recent version of the models used to recalculate the node.
|
|
5064
|
-
*
|
|
5065
|
-
* @param node
|
|
5066
|
-
* @returns The latest version
|
|
5067
|
-
*/
|
|
5068
|
-
declare const nodeVersion: (node: any) => string;
|
|
5069
4727
|
|
|
5070
|
-
declare class
|
|
4728
|
+
declare class NodeAggregatedQualityScoreComponent {
|
|
4729
|
+
private readonly searchService;
|
|
4730
|
+
private readonly nodeService;
|
|
4731
|
+
private readonly nodeLogsModelsService;
|
|
4732
|
+
protected get hidden(): boolean;
|
|
4733
|
+
protected readonly node: _angular_core.InputSignal<IImpactAssessmentJSONLD | ICycleJSONLD>;
|
|
4734
|
+
protected readonly country: _angular_core.InputSignal<Term | ITermJSONLD>;
|
|
4735
|
+
/**
|
|
4736
|
+
* Load and show info tooltip.
|
|
4737
|
+
*/
|
|
5071
4738
|
protected readonly showInfo: _angular_core.InputSignal<boolean>;
|
|
5072
|
-
|
|
5073
|
-
|
|
4739
|
+
protected readonly mode: _angular_core.InputSignal<"text" | "tag">;
|
|
4740
|
+
protected readonly placement: _angular_core.InputSignal<string>;
|
|
4741
|
+
private readonly nodeCountry;
|
|
4742
|
+
protected readonly countryName: _angular_core.Signal<string>;
|
|
4743
|
+
private readonly countryResource;
|
|
4744
|
+
private readonly countryId;
|
|
4745
|
+
private readonly jlogResource;
|
|
4746
|
+
private readonly jlogLogs;
|
|
4747
|
+
private readonly loadingJLog;
|
|
4748
|
+
private readonly useJLog;
|
|
4749
|
+
private readonly logsResource;
|
|
4750
|
+
protected readonly logs: _angular_core.Signal<any>;
|
|
4751
|
+
protected readonly validScores: _angular_core.Signal<{
|
|
4752
|
+
[position: number]: boolean;
|
|
4753
|
+
}>;
|
|
4754
|
+
protected readonly minObservations: _angular_core.Signal<number>;
|
|
4755
|
+
protected readonly observations: _angular_core.Signal<number>;
|
|
4756
|
+
private readonly missingEmissionIds;
|
|
4757
|
+
private readonly missingEmissionsResource;
|
|
4758
|
+
protected readonly missingEmissions: _angular_core.Signal<ITermJSONLD[]>;
|
|
4759
|
+
protected readonly missingCompletenessFields: _angular_core.Signal<string[]>;
|
|
4760
|
+
protected readonly isCycle: _angular_core.Signal<boolean>;
|
|
4761
|
+
private readonly product;
|
|
4762
|
+
protected readonly score: _angular_core.Signal<number>;
|
|
4763
|
+
protected readonly scoreMax: _angular_core.Signal<number>;
|
|
4764
|
+
protected readonly scoreLevel: _angular_core.Signal<_hestia_earth_ui_components.NodeQualityScore>;
|
|
4765
|
+
protected readonly scoreColor: _angular_core.Signal<string>;
|
|
4766
|
+
protected readonly isCrop: _angular_core.Signal<boolean>;
|
|
4767
|
+
protected readonly isGlobal: _angular_core.Signal<any>;
|
|
4768
|
+
protected readonly schemaBaseUrl: _angular_core.Signal<string>;
|
|
4769
|
+
protected readonly schemaUrl: _angular_core.Signal<string>;
|
|
4770
|
+
protected readonly hasFaostatYield: _angular_core.Signal<boolean>;
|
|
4771
|
+
protected readonly hasProductionQuantity: _angular_core.Signal<boolean>;
|
|
4772
|
+
protected readonly regionProductionQuantity: _angular_core.Signal<number>;
|
|
4773
|
+
protected readonly countriesProductionQuantity: _angular_core.Signal<number>;
|
|
4774
|
+
protected readonly loading: _angular_core.Signal<boolean>;
|
|
4775
|
+
protected completenessUrl(key: string): string;
|
|
4776
|
+
protected trackByTerm(index: number, term: ITermJSONLD): string;
|
|
4777
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedQualityScoreComponent, never>;
|
|
4778
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregatedQualityScoreComponent, "he-node-aggregated-quality-score", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "country": { "alias": "country"; "required": false; "isSignal": true; }; "showInfo": { "alias": "showInfo"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
interface INodeIncluded {
|
|
4782
|
+
node: JSONLD<any>;
|
|
4783
|
+
included: boolean;
|
|
4784
|
+
}
|
|
4785
|
+
declare class NodeCsvExportConfirmComponent {
|
|
4786
|
+
private readonly domSanitizer;
|
|
4787
|
+
private readonly activeModal;
|
|
4788
|
+
protected readonly headers: _angular_core.WritableSignal<string[]>;
|
|
4789
|
+
readonly nodes: _angular_core.ModelSignal<(JSONLD<any> | JSON<any>)[]>;
|
|
4790
|
+
readonly filename: _angular_core.ModelSignal<string>;
|
|
4791
|
+
readonly headerKeys: _angular_core.ModelSignal<string[]>;
|
|
4792
|
+
readonly extension: _angular_core.ModelSignal<SupportedExtensions>;
|
|
4793
|
+
readonly isUpload: _angular_core.ModelSignal<boolean>;
|
|
4794
|
+
protected readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
4795
|
+
protected readonly showIncludeNodes: _angular_core.WritableSignal<boolean>;
|
|
4796
|
+
protected readonly includedNodes: _angular_core.Signal<INodeIncluded[]>;
|
|
4797
|
+
private readonly included;
|
|
4798
|
+
protected readonly csvData: _angular_core.Signal<string>;
|
|
4799
|
+
protected readonly csvContent: _angular_core.Signal<_angular_platform_browser.SafeResourceUrl>;
|
|
4800
|
+
protected readonly downloadFilename: _angular_core.Signal<string>;
|
|
4801
|
+
protected close(): void;
|
|
4802
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeCsvExportConfirmComponent, never>;
|
|
4803
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeCsvExportConfirmComponent, "he-node-csv-export-confirm", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "filename": { "alias": "filename"; "required": false; "isSignal": true; }; "headerKeys": { "alias": "headerKeys"; "required": false; "isSignal": true; }; "extension": { "alias": "extension"; "required": false; "isSignal": true; }; "isUpload": { "alias": "isUpload"; "required": false; "isSignal": true; }; }, { "nodes": "nodesChange"; "filename": "filenameChange"; "headerKeys": "headerKeysChange"; "extension": "extensionChange"; "isUpload": "isUploadChange"; "closed": "closed"; }, never, never, true, never>;
|
|
5074
4804
|
}
|
|
5075
4805
|
|
|
5076
|
-
declare class
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
protected readonly
|
|
5081
|
-
|
|
5082
|
-
|
|
4806
|
+
declare class NodeCsvPreviewComponent {
|
|
4807
|
+
private readonly domSanitizer;
|
|
4808
|
+
private readonly schemaService;
|
|
4809
|
+
private readonly schemas;
|
|
4810
|
+
protected readonly nodes: _angular_core.InputSignal<any[]>;
|
|
4811
|
+
protected readonly compacted: _angular_core.InputSignal<boolean>;
|
|
4812
|
+
protected readonly showDownload: _angular_core.InputSignal<boolean>;
|
|
4813
|
+
protected readonly csvOptions: _angular_core.InputSignal<IConvertCSVOptions>;
|
|
4814
|
+
protected readonly csvNotice: _angular_core.InputSignal<string>;
|
|
4815
|
+
private readonly _csv;
|
|
4816
|
+
protected readonly csv: _angular_core.Signal<_angular_platform_browser.SafeResourceUrl>;
|
|
4817
|
+
private readonly parsedCsv;
|
|
4818
|
+
protected readonly headers: _angular_core.Signal<string[]>;
|
|
4819
|
+
protected readonly rows: _angular_core.Signal<string[][]>;
|
|
4820
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeCsvPreviewComponent, never>;
|
|
4821
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeCsvPreviewComponent, "he-node-csv-preview", never, { "nodes": { "alias": "nodes"; "required": true; "isSignal": true; }; "compacted": { "alias": "compacted"; "required": false; "isSignal": true; }; "showDownload": { "alias": "showDownload"; "required": false; "isSignal": true; }; "csvOptions": { "alias": "csvOptions"; "required": false; "isSignal": true; }; "csvNotice": { "alias": "csvNotice"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5083
4822
|
}
|
|
5084
4823
|
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
*/
|
|
5093
|
-
interface IContributorColumn {
|
|
5094
|
-
symbol: string;
|
|
5095
|
-
description?: string;
|
|
5096
|
-
column: string;
|
|
4824
|
+
interface IHeader {
|
|
4825
|
+
key: string;
|
|
4826
|
+
selected: boolean;
|
|
4827
|
+
/**
|
|
4828
|
+
* `false` if it is an `internal` field.
|
|
4829
|
+
*/
|
|
4830
|
+
included: boolean;
|
|
5097
4831
|
}
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
row: string;
|
|
5105
|
-
group: string;
|
|
5106
|
-
heading: string;
|
|
4832
|
+
interface IGroup {
|
|
4833
|
+
key: string;
|
|
4834
|
+
selected: boolean;
|
|
4835
|
+
partialSelected: boolean;
|
|
4836
|
+
open: boolean;
|
|
4837
|
+
headers: IHeader[];
|
|
5107
4838
|
}
|
|
5108
|
-
|
|
5109
|
-
|
|
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;
|
|
4839
|
+
interface IGroupedHeaders {
|
|
4840
|
+
[group: string]: IGroup;
|
|
5118
4841
|
}
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
4842
|
+
declare class NodeCsvSelectHeadersComponent {
|
|
4843
|
+
private readonly schemaService;
|
|
4844
|
+
protected readonly csv: _angular_core.InputSignal<string>;
|
|
4845
|
+
protected readonly keys: _angular_core.InputSignal<string[]>;
|
|
4846
|
+
protected readonly includeDefaultCSV: _angular_core.InputSignal<boolean>;
|
|
4847
|
+
protected readonly headersChanged: _angular_core.OutputEmitterRef<string[]>;
|
|
4848
|
+
protected readonly termFields: string[];
|
|
4849
|
+
protected readonly selectedTermFields: _angular_core.WritableSignal<string[]>;
|
|
4850
|
+
protected readonly showNonIncluded: _angular_core.WritableSignal<boolean>;
|
|
4851
|
+
protected readonly allSelected: _angular_core.Signal<boolean>;
|
|
4852
|
+
private readonly selectedHeaders;
|
|
4853
|
+
private readonly schemas;
|
|
4854
|
+
private readonly headersResource;
|
|
4855
|
+
protected readonly loading: _angular_core.Signal<boolean>;
|
|
4856
|
+
private readonly csvHeaders;
|
|
4857
|
+
protected readonly headers: _angular_core.WritableSignal<IGroupedHeaders>;
|
|
4858
|
+
protected readonly groups: _angular_core.Signal<IGroup[]>;
|
|
4859
|
+
constructor();
|
|
4860
|
+
private updateHeadersGroup;
|
|
4861
|
+
protected dropHeader(event: CdkDragDrop<IHeader[]>, group: IGroup): void;
|
|
4862
|
+
protected selectAll(allSelected: boolean): void;
|
|
4863
|
+
protected updateGroup(selected: boolean, group: IGroup): void;
|
|
4864
|
+
protected updateHeader(selected: boolean, group: IGroup, header: IHeader): void;
|
|
4865
|
+
protected isTermFieldSelect(field: string): boolean;
|
|
4866
|
+
protected toggleTermField(selected: boolean, field: string): void;
|
|
4867
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeCsvSelectHeadersComponent, never>;
|
|
4868
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeCsvSelectHeadersComponent, "he-node-csv-select-headers", never, { "csv": { "alias": "csv"; "required": true; "isSignal": true; }; "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "includeDefaultCSV": { "alias": "includeDefaultCSV"; "required": false; "isSignal": true; }; }, { "headersChanged": "headersChanged"; }, never, never, true, never>;
|
|
5128
4869
|
}
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
4870
|
+
|
|
4871
|
+
declare class NodeIconComponent {
|
|
4872
|
+
protected readonly type: _angular_core.InputSignal<NodeType>;
|
|
4873
|
+
protected readonly size: _angular_core.InputSignal<_hestia_earth_ui_components.svgIconSizes>;
|
|
4874
|
+
protected readonly icon: _angular_core.Signal<_hestia_earth_ui_components.svgIconNames>;
|
|
4875
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeIconComponent, never>;
|
|
4876
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeIconComponent, "he-node-icon", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5133
4877
|
}
|
|
5134
4878
|
|
|
5135
|
-
declare class
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
/**
|
|
5142
|
-
* The `@id` of the aggregation's primary product, which decides whether the plantation rules ran.
|
|
5143
|
-
*/
|
|
5144
|
-
readonly termId: _angular_core.InputSignal<string>;
|
|
5145
|
-
/**
|
|
5146
|
-
* The blank node key the formulas are shown for (`products`, `emissions`, ...). Omit it to show
|
|
5147
|
-
* every rule; set it and only the rules that apply to that kind of data item are kept.
|
|
5148
|
-
*/
|
|
5149
|
-
readonly nodeKey: _angular_core.InputSignal<string>;
|
|
5150
|
-
/**
|
|
5151
|
-
* The Term of the data item shown, which decides how a Cycle reporting no value for it was
|
|
5152
|
-
* counted: some are zero-filled, others skipped.
|
|
5153
|
-
*/
|
|
5154
|
-
readonly term: _angular_core.InputSignal<ITermJSONLD>;
|
|
5155
|
-
/**
|
|
5156
|
-
* The quantities the formulas bind to, for this data item. Supplied by the caller from the
|
|
5157
|
-
* node's `.jlog` entries recorded by the aggregation (`model: "aggregation"`). Leave it empty
|
|
5158
|
-
* and every symbol stays symbolic, which is a valid state: aggregation logs are opt-in
|
|
5159
|
-
* (`LOG_JSON_ENABLED`) and absent for most aggregations.
|
|
5160
|
-
*/
|
|
5161
|
-
readonly values: _angular_core.InputSignal<Record<string, unknown>>;
|
|
5162
|
-
/**
|
|
5163
|
-
* Whether the aggregation covers the World rather than one country. A World aggregation combines
|
|
5164
|
-
* country aggregations by their share of world production; a country one never does, so that rule
|
|
5165
|
-
* is not part of how its values were produced.
|
|
5166
|
-
*/
|
|
5167
|
-
readonly worldAggregation: _angular_core.InputSignal<boolean>;
|
|
5168
|
-
/**
|
|
5169
|
-
* Whether the Cycle is one of the sub-aggregations an aggregation is combined from, in which case
|
|
5170
|
-
* the sub-system weighting is one of the stages that produced its values. Defaults to showing the
|
|
5171
|
-
* stage, so a caller that cannot tell keeps the rule documented.
|
|
5172
|
-
*/
|
|
5173
|
-
readonly subAggregation: _angular_core.InputSignal<boolean>;
|
|
5174
|
-
protected readonly substituted: _angular_core.ModelSignal<boolean>;
|
|
5175
|
-
/**
|
|
5176
|
-
* The rules that produced this value, grouped by what each one computes.
|
|
5177
|
-
*/
|
|
5178
|
-
protected readonly sections: _angular_core.Signal<IAggregationSection[]>;
|
|
5179
|
-
protected readonly inclusion: _angular_core.Signal<IInclusionRule>;
|
|
5180
|
-
protected readonly weighted: _angular_core.Signal<boolean>;
|
|
5181
|
-
protected readonly hasSubstitutions: _angular_core.Signal<boolean>;
|
|
5182
|
-
/**
|
|
5183
|
-
* What this value was combined from, as the aggregation recorded it: one row per contributor,
|
|
5184
|
-
* under the symbols the formulas above read them with. Absent where the contributors were too
|
|
5185
|
-
* many to record, which is every aggregation built straight from source Cycles - their number
|
|
5186
|
-
* is shown instead.
|
|
5187
|
-
*/
|
|
5188
|
-
protected readonly contributors: _angular_core.Signal<{
|
|
5189
|
-
rows: {
|
|
5190
|
-
node: {
|
|
5191
|
-
'@type': NodeType;
|
|
5192
|
-
'@id': string;
|
|
5193
|
-
};
|
|
5194
|
-
id: string;
|
|
5195
|
-
label: string;
|
|
5196
|
-
values: (string | undefined)[];
|
|
5197
|
-
}[];
|
|
5198
|
-
columns: IContributorColumn[];
|
|
5199
|
-
count?: number;
|
|
5200
|
-
}>;
|
|
5201
|
-
protected readonly phases: _angular_core.Signal<IPlantationPhase[]>;
|
|
5202
|
-
protected readonly contributor: _angular_core.Signal<IContributorNames>;
|
|
5203
|
-
protected readonly renderedSections: _angular_core.Signal<{
|
|
5204
|
-
formulas: {
|
|
5205
|
-
rendered: string;
|
|
5206
|
-
section: string;
|
|
5207
|
-
context: string;
|
|
5208
|
-
variables: {
|
|
5209
|
-
symbol: string;
|
|
5210
|
-
description: string;
|
|
5211
|
-
missing: boolean;
|
|
5212
|
-
note: string;
|
|
5213
|
-
}[];
|
|
5214
|
-
}[];
|
|
5215
|
-
id: IFormulaGroup;
|
|
5216
|
-
heading: string;
|
|
5217
|
-
}[]>;
|
|
5218
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedFormulasComponent, never>;
|
|
5219
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregatedFormulasComponent, "he-node-aggregated-formulas", never, { "termType": { "alias": "termType"; "required": false; "isSignal": true; }; "termId": { "alias": "termId"; "required": false; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "term": { "alias": "term"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "worldAggregation": { "alias": "worldAggregation"; "required": false; "isSignal": true; }; "subAggregation": { "alias": "subAggregation"; "required": false; "isSignal": true; }; "substituted": { "alias": "substituted"; "required": false; "isSignal": true; }; }, { "substituted": "substitutedChange"; }, never, never, true, never>;
|
|
4879
|
+
declare class NodeJsonldComponent {
|
|
4880
|
+
protected readonly node: _angular_core.InputSignal<any>;
|
|
4881
|
+
protected readonly data: _angular_core.Signal<any>;
|
|
4882
|
+
protected readonly enableCsv: _angular_core.InputSignal<boolean>;
|
|
4883
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeJsonldComponent, never>;
|
|
4884
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeJsonldComponent, "he-node-jsonld", never, { "node": { "alias": "node"; "required": false; "isSignal": true; }; "enableCsv": { "alias": "enableCsv"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5220
4885
|
}
|
|
5221
4886
|
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
segments: IBlankNodeIdentityGroup['rows'][0]['segments'];
|
|
5227
|
-
scalars: IBlankNodeIdentityGroup['rows'][0]['scalars'];
|
|
5228
|
-
label: string;
|
|
5229
|
-
values: Record<string, unknown>;
|
|
5230
|
-
displayValue: propertyValueType;
|
|
5231
|
-
observations?: number;
|
|
4887
|
+
declare enum Views {
|
|
4888
|
+
jsonld = "JSON-LD",
|
|
4889
|
+
csv = "CSV",
|
|
4890
|
+
csvCompacted = "CSV (Compacted)"
|
|
5232
4891
|
}
|
|
5233
|
-
|
|
5234
|
-
|
|
5235
|
-
|
|
5236
|
-
|
|
4892
|
+
declare class NodeJsonldSchemaComponent {
|
|
4893
|
+
protected readonly content: _angular_core.InputSignal<any>;
|
|
4894
|
+
protected readonly enableCsv: _angular_core.InputSignal<boolean>;
|
|
4895
|
+
protected readonly csvOptions: _angular_core.InputSignal<IConvertCSVOptions>;
|
|
4896
|
+
protected readonly csvNotice: _angular_core.InputSignal<string>;
|
|
4897
|
+
protected readonly showSchemaButton: _angular_core.InputSignal<boolean>;
|
|
4898
|
+
protected readonly useTabs: _angular_core.InputSignal<boolean>;
|
|
4899
|
+
protected readonly Views: typeof Views;
|
|
4900
|
+
protected readonly views: _angular_core.Signal<Views[]>;
|
|
4901
|
+
protected readonly selectedView: _angular_core.ModelSignal<Views>;
|
|
4902
|
+
protected readonly nodes: _angular_core.Signal<any>;
|
|
4903
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeJsonldSchemaComponent, never>;
|
|
4904
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeJsonldSchemaComponent, "he-node-jsonld-schema", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "enableCsv": { "alias": "enableCsv"; "required": false; "isSignal": true; }; "csvOptions": { "alias": "csvOptions"; "required": false; "isSignal": true; }; "csvNotice": { "alias": "csvNotice"; "required": false; "isSignal": true; }; "showSchemaButton": { "alias": "showSchemaButton"; "required": false; "isSignal": true; }; "useTabs": { "alias": "useTabs"; "required": false; "isSignal": true; }; "selectedView": { "alias": "selectedView"; "required": false; "isSignal": true; }; }, { "selectedView": "selectedViewChange"; }, never, never, true, never>;
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4907
|
+
declare class NodeLinkComponent {
|
|
4908
|
+
private readonly route;
|
|
4909
|
+
private readonly dataVersion;
|
|
4910
|
+
protected readonly node: _angular_core.InputSignal<Pick<JSONLD<NodeType>, "@id" | "@type">>;
|
|
4911
|
+
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
4912
|
+
protected readonly showExternalLink: _angular_core.InputSignal<boolean>;
|
|
4913
|
+
protected readonly linkClass: _angular_core.InputSignal<string>;
|
|
4914
|
+
protected readonly id: _angular_core.Signal<string>;
|
|
4915
|
+
protected readonly type: _angular_core.Signal<NodeType>;
|
|
4916
|
+
protected readonly aggregated: _angular_core.Signal<boolean>;
|
|
4917
|
+
protected readonly url: _angular_core.Signal<string>;
|
|
4918
|
+
protected readonly showLink: _angular_core.Signal<boolean>;
|
|
4919
|
+
protected readonly target: _angular_core.Signal<"_self" | "_blank">;
|
|
4920
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLinkComponent, never>;
|
|
4921
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLinkComponent, "he-node-link", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; "showExternalLink": { "alias": "showExternalLink"; "required": false; "isSignal": true; }; "linkClass": { "alias": "linkClass"; "required": false; "isSignal": true; }; }, {}, never, ["*", "*"], true, never>;
|
|
5237
4922
|
}
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
*/
|
|
5243
|
-
readonly node: _angular_core.InputSignal<IJSONNode>;
|
|
5244
|
-
/**
|
|
5245
|
-
* The blank node key shown, e.g. `products` or `emissions`. It also selects which rules apply
|
|
5246
|
-
* to each row: the economic value share is only rescaled for products, and zero-filling only
|
|
5247
|
-
* applies where terms carry a completeness area.
|
|
5248
|
-
*/
|
|
5249
|
-
readonly nodeKey: _angular_core.InputSignal<string>;
|
|
5250
|
-
/**
|
|
5251
|
-
* The `termType` of the aggregation's primary product, which selects the product-specific rules.
|
|
5252
|
-
*/
|
|
5253
|
-
readonly termType: _angular_core.InputSignal<string>;
|
|
5254
|
-
/**
|
|
5255
|
-
* The `@id` of the aggregation's primary product, which decides whether the plantation rules ran.
|
|
5256
|
-
*/
|
|
5257
|
-
readonly termId: _angular_core.InputSignal<string>;
|
|
5258
|
-
/**
|
|
5259
|
-
* For a grouped sub-node view (e.g. an animal's inputs), the `.jlog` is nested under its parent:
|
|
5260
|
-
* scope to `jlog[<parentKey>][<parentIndex>]`, as the recalculation logs do.
|
|
5261
|
-
*/
|
|
5262
|
-
readonly jlogParentKey: _angular_core.InputSignal<string>;
|
|
5263
|
-
readonly jlogParentIndex: _angular_core.InputSignal<number>;
|
|
4923
|
+
|
|
4924
|
+
declare class NodeJLogModelsComponent {
|
|
4925
|
+
private readonly searchService;
|
|
4926
|
+
private readonly engineService;
|
|
5264
4927
|
protected readonly guideEnabled: boolean;
|
|
5265
|
-
protected readonly
|
|
5266
|
-
protected readonly
|
|
5267
|
-
protected readonly
|
|
5268
|
-
|
|
5269
|
-
protected readonly
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
|
|
5294
|
-
private readonly allGroups;
|
|
5295
|
-
/**
|
|
5296
|
-
* The rules that produced these values, which the row's `Logs` panel shows. They are read from the
|
|
5297
|
-
* documentation shipped by `@hestia-earth/aggregation-engine`, so an older copy of it can document
|
|
5298
|
-
* none that apply to this aggregation - and the panel would then open on nothing.
|
|
5299
|
-
*/
|
|
5300
|
-
protected readonly hasRules: _angular_core.Signal<boolean>;
|
|
5301
|
-
protected readonly term: _angular_core.WritableSignal<ITermJSONLD>;
|
|
4928
|
+
protected readonly node: _angular_core.InputSignal<IJSONNode>;
|
|
4929
|
+
protected readonly nodeKey: _angular_core.InputSignal<string>;
|
|
4930
|
+
protected readonly originalValues: _angular_core.InputSignal<blankNodesTypeValue[]>;
|
|
4931
|
+
protected readonly recalculatedValues: _angular_core.InputSignal<blankNodesTypeValue[]>;
|
|
4932
|
+
protected readonly filterTermTypes: _angular_core.InputSignal<TermTermType[]>;
|
|
4933
|
+
protected readonly filterTermTypesLabel: _angular_core.InputSignal<string>;
|
|
4934
|
+
protected readonly cycle: _angular_core.InputSignal<ICycleJSONLD>;
|
|
4935
|
+
protected readonly jlog: _angular_core.InputSignal<Record<string, any>>;
|
|
4936
|
+
protected readonly jlogParentKey: _angular_core.InputSignal<string>;
|
|
4937
|
+
protected readonly jlogParentIndex: _angular_core.InputSignal<number>;
|
|
4938
|
+
protected readonly scopedJlog: _angular_core.Signal<any>;
|
|
4939
|
+
protected readonly schemaBaseUrl: string;
|
|
4940
|
+
protected readonly isExternal: boolean;
|
|
4941
|
+
protected readonly LogStatus: typeof LogStatus;
|
|
4942
|
+
protected readonly logIcon: {
|
|
4943
|
+
successful?: svgIconNames;
|
|
4944
|
+
failed?: svgIconNames;
|
|
4945
|
+
"not run (model higher up hierarchy run instead)"?: svgIconNames;
|
|
4946
|
+
"not run (user provided data retained)"?: svgIconNames;
|
|
4947
|
+
"not relevant"?: svgIconNames;
|
|
4948
|
+
};
|
|
4949
|
+
protected readonly logColor: {
|
|
4950
|
+
successful?: string;
|
|
4951
|
+
failed?: string;
|
|
4952
|
+
"not run (model higher up hierarchy run instead)"?: string;
|
|
4953
|
+
"not run (user provided data retained)"?: string;
|
|
4954
|
+
"not relevant"?: string;
|
|
4955
|
+
};
|
|
4956
|
+
protected readonly isInSystemBoundary: (id: string) => boolean;
|
|
5302
4957
|
protected readonly typeaheadFocus: (e: Event) => void;
|
|
4958
|
+
protected readonly isNumber: (value: any) => value is number;
|
|
4959
|
+
protected readonly isEmptyValue: (value: any) => boolean;
|
|
4960
|
+
protected readonly onlyRequired: _angular_core.WritableSignal<boolean>;
|
|
4961
|
+
protected readonly onlyRequiredId: string;
|
|
4962
|
+
protected readonly term: _angular_core.WritableSignal<ITermJSONLD>;
|
|
4963
|
+
protected readonly nodeType: _angular_core.Signal<NodeType>;
|
|
4964
|
+
protected readonly hasContributions: _angular_core.Signal<boolean>;
|
|
4965
|
+
protected readonly isBlankNodes: _angular_core.Signal<boolean>;
|
|
4966
|
+
private readonly failedTermIds;
|
|
4967
|
+
private readonly failedTermsResource;
|
|
4968
|
+
private readonly failedTerms;
|
|
4969
|
+
private readonly configResource;
|
|
4970
|
+
private readonly config;
|
|
4971
|
+
private readonly allGroups;
|
|
4972
|
+
protected readonly groups: _angular_core.Signal<IJLogTermGroup[]>;
|
|
4973
|
+
protected readonly hasLogs: _angular_core.Signal<boolean>;
|
|
4974
|
+
protected readonly methodModelsCount: _angular_core.Signal<number>;
|
|
4975
|
+
protected readonly filteredType: _angular_core.Signal<string>;
|
|
5303
4976
|
protected readonly allTerms: _angular_core.Signal<ITermJSONLD[]>;
|
|
5304
4977
|
protected readonly enableFilterByTerm: _angular_core.Signal<boolean>;
|
|
5305
4978
|
protected readonly termFormatter: ({ name }: ITermJSONLD) => string;
|
|
5306
4979
|
protected readonly suggestTerm: (text$: Observable<string>) => Observable<ITermJSONLD[]>;
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
protected
|
|
5310
|
-
protected
|
|
5311
|
-
|
|
5312
|
-
|
|
4980
|
+
private readonly methodsById;
|
|
4981
|
+
private searchTerms;
|
|
4982
|
+
protected methodName({ methodId, modelKey }: IJLogModelRun): string;
|
|
4983
|
+
protected modelMethodTier(model: IJLogModelRun): any;
|
|
4984
|
+
protected readonly isArray: (arg: any) => arg is any[];
|
|
4985
|
+
protected toggleGroup(group: IJLogTermGroup): void;
|
|
4986
|
+
protected toggleRow(row: IJLogBlankNode): void;
|
|
4987
|
+
protected trackByGroup(_index: number, group: IJLogTermGroup): string;
|
|
4988
|
+
protected trackByRow(_index: number, row: IJLogBlankNode): string;
|
|
4989
|
+
protected trackByModel(_index: number, model: IJLogModelRun): string;
|
|
4990
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeJLogModelsComponent, never>;
|
|
4991
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeJLogModelsComponent, "he-node-jlog-models", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "originalValues": { "alias": "originalValues"; "required": false; "isSignal": true; }; "recalculatedValues": { "alias": "recalculatedValues"; "required": false; "isSignal": true; }; "filterTermTypes": { "alias": "filterTermTypes"; "required": false; "isSignal": true; }; "filterTermTypesLabel": { "alias": "filterTermTypesLabel"; "required": false; "isSignal": true; }; "cycle": { "alias": "cycle"; "required": false; "isSignal": true; }; "jlog": { "alias": "jlog"; "required": false; "isSignal": true; }; "jlogParentKey": { "alias": "jlogParentKey"; "required": false; "isSignal": true; }; "jlogParentIndex": { "alias": "jlogParentIndex"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5313
4992
|
}
|
|
5314
4993
|
|
|
5315
|
-
declare class
|
|
5316
|
-
private readonly
|
|
4994
|
+
declare class NodeLogsFileComponent {
|
|
4995
|
+
private readonly domSanitizer;
|
|
4996
|
+
private readonly nodeService;
|
|
4997
|
+
protected readonly node: _angular_core.InputSignal<JSONLD<NodeType>>;
|
|
4998
|
+
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
4999
|
+
private readonly nodeLogResource;
|
|
5000
|
+
protected readonly nodeLog: _angular_core.Signal<any>;
|
|
5001
|
+
protected readonly loading: _angular_core.Signal<boolean>;
|
|
5002
|
+
private readonly allLogs;
|
|
5003
|
+
protected readonly Level: typeof Level;
|
|
5004
|
+
protected readonly showFilters: _angular_core.WritableSignal<boolean>;
|
|
5005
|
+
protected readonly modelFilter: _angular_core.WritableSignal<string>;
|
|
5006
|
+
protected readonly termFilter: _angular_core.WritableSignal<string>;
|
|
5007
|
+
protected readonly selectedLevel: _angular_core.WritableSignal<Level>;
|
|
5008
|
+
protected readonly fileToExt: (path: string, extension?: string) => string;
|
|
5009
|
+
protected readonly nodeLogLines: _angular_core.Signal<_hestia_earth_ui_components.ILine[]>;
|
|
5010
|
+
protected readonly csvContent: _angular_core.Signal<_angular_platform_browser.SafeResourceUrl>;
|
|
5011
|
+
protected readonly csvFilename: _angular_core.Signal<string>;
|
|
5012
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsFileComponent, never>;
|
|
5013
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLogsFileComponent, "he-node-logs-file", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5014
|
+
}
|
|
5015
|
+
|
|
5016
|
+
declare class NodeLogsModelsComponent {
|
|
5317
5017
|
private readonly nodeService;
|
|
5318
5018
|
private readonly nodeLogsModelsService;
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
protected readonly
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
protected readonly
|
|
5326
|
-
protected readonly
|
|
5327
|
-
protected readonly
|
|
5328
|
-
|
|
5329
|
-
protected readonly
|
|
5330
|
-
|
|
5331
|
-
|
|
5019
|
+
private readonly searchService;
|
|
5020
|
+
private readonly engineService;
|
|
5021
|
+
protected readonly guideEnabled: boolean;
|
|
5022
|
+
protected readonly node: _angular_core.InputSignal<IJSONNode>;
|
|
5023
|
+
protected readonly nodeKey: _angular_core.InputSignal<blankNodesKey | nonBlankNodesKey>;
|
|
5024
|
+
protected readonly originalValues: _angular_core.InputSignal<_hestia_earth_schema.Completeness | blankNodesTypeValue[]>;
|
|
5025
|
+
protected readonly recalculatedValues: _angular_core.InputSignal<_hestia_earth_schema.Completeness | blankNodesTypeValue[]>;
|
|
5026
|
+
protected readonly terms: _angular_core.InputSignal<ITermJSONLD[]>;
|
|
5027
|
+
protected readonly filterTermTypes: _angular_core.InputSignal<TermTermType[]>;
|
|
5028
|
+
protected readonly filterTermTypesLabel: _angular_core.InputSignal<string>;
|
|
5029
|
+
protected readonly logsKey: _angular_core.InputSignal<string>;
|
|
5030
|
+
protected readonly noDataMessage: _angular_core.InputSignal<string>;
|
|
5031
|
+
protected readonly cycle: _angular_core.InputSignal<ICycleJSONLD>;
|
|
5032
|
+
protected readonly jlogParentKey: _angular_core.InputSignal<string>;
|
|
5033
|
+
protected readonly jlogParentIndex: _angular_core.InputSignal<number>;
|
|
5034
|
+
protected readonly isEmpty: (value: any, minKeys?: number) => boolean;
|
|
5035
|
+
protected readonly schemaBaseUrl: string;
|
|
5036
|
+
protected readonly isExternal: boolean;
|
|
5037
|
+
protected readonly NodeType: typeof NodeType;
|
|
5038
|
+
protected readonly CycleFunctionalUnit: typeof CycleFunctionalUnit;
|
|
5039
|
+
protected readonly EmissionMethodTier: typeof EmissionMethodTier;
|
|
5040
|
+
protected readonly LogStatus: typeof LogStatus;
|
|
5041
|
+
protected readonly logIcon: {
|
|
5042
|
+
successful?: svgIconNames;
|
|
5043
|
+
failed?: svgIconNames;
|
|
5044
|
+
"not run (model higher up hierarchy run instead)"?: svgIconNames;
|
|
5045
|
+
"not run (user provided data retained)"?: svgIconNames;
|
|
5046
|
+
"not relevant"?: svgIconNames;
|
|
5047
|
+
};
|
|
5048
|
+
protected readonly logColor: {
|
|
5049
|
+
successful?: string;
|
|
5050
|
+
failed?: string;
|
|
5051
|
+
"not run (model higher up hierarchy run instead)"?: string;
|
|
5052
|
+
"not run (user provided data retained)"?: string;
|
|
5053
|
+
"not relevant"?: string;
|
|
5054
|
+
};
|
|
5055
|
+
protected readonly getModelsAt: (log: IBlankNodeLogSubValue | IBlankNodeLog, index: number) => IConfigModel | IConfigModel[];
|
|
5056
|
+
protected readonly isInSystemBoundary: (id: string) => boolean;
|
|
5057
|
+
protected readonly showLegend: _angular_core.WritableSignal<boolean>;
|
|
5058
|
+
protected readonly onlyRequired: _angular_core.WritableSignal<boolean>;
|
|
5059
|
+
protected readonly onlyRequiredId: string;
|
|
5060
|
+
protected readonly showContributionsLogs: _angular_core.WritableSignal<boolean>;
|
|
5061
|
+
private readonly schemaType;
|
|
5062
|
+
protected readonly filteredType: _angular_core.Signal<string>;
|
|
5063
|
+
protected readonly functionalUnit: _angular_core.Signal<any>;
|
|
5064
|
+
protected readonly hasContributions: _angular_core.Signal<boolean>;
|
|
5065
|
+
protected readonly nodeType: _angular_core.Signal<NodeType>;
|
|
5332
5066
|
private readonly jlogResource;
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
private readonly
|
|
5344
|
-
private readonly
|
|
5345
|
-
|
|
5346
|
-
protected readonly
|
|
5347
|
-
|
|
5348
|
-
private readonly
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
protected readonly
|
|
5353
|
-
protected readonly
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
protected readonly
|
|
5358
|
-
protected readonly
|
|
5359
|
-
protected readonly
|
|
5360
|
-
protected readonly
|
|
5067
|
+
protected readonly jlog: _angular_core.Signal<Record<string, any>>;
|
|
5068
|
+
protected readonly loadingJLog: _angular_core.Signal<boolean>;
|
|
5069
|
+
protected readonly useJLog: _angular_core.Signal<boolean>;
|
|
5070
|
+
protected readonly logsUrl: _angular_core.Signal<string>;
|
|
5071
|
+
private readonly logsResource;
|
|
5072
|
+
private readonly allLogs;
|
|
5073
|
+
protected readonly hasLogs: _angular_core.Signal<boolean>;
|
|
5074
|
+
private readonly configResource;
|
|
5075
|
+
private readonly config;
|
|
5076
|
+
private readonly inputGroupsResource;
|
|
5077
|
+
private readonly animalGroups;
|
|
5078
|
+
private readonly termsGrouping;
|
|
5079
|
+
private readonly logs;
|
|
5080
|
+
protected readonly isBlankNodes: _angular_core.Signal<boolean>;
|
|
5081
|
+
private readonly extraTermsFromLogsResource;
|
|
5082
|
+
private readonly extraTermsByTermTypesResource;
|
|
5083
|
+
private readonly extraTerms;
|
|
5084
|
+
private readonly allTerms;
|
|
5085
|
+
private readonly allBlankNodes;
|
|
5086
|
+
protected readonly blankNodes: _angular_core.Signal<IBlankNodeLog[]>;
|
|
5087
|
+
protected readonly methodModelsCount: _angular_core.Signal<any>;
|
|
5088
|
+
private readonly methodsById;
|
|
5089
|
+
private readonly termsByIdResource;
|
|
5090
|
+
private readonly termsById;
|
|
5091
|
+
protected readonly term: _angular_core.WritableSignal<ITermJSONLD>;
|
|
5092
|
+
protected readonly enableFilterByTerm: _angular_core.Signal<boolean>;
|
|
5093
|
+
protected readonly termFormatter: ({ name }: ITermJSONLD) => string;
|
|
5094
|
+
protected readonly suggestTerm: (text$: Observable<string>) => Observable<ITermJSONLD[]>;
|
|
5095
|
+
protected readonly typeaheadFocus: (e: Event) => void;
|
|
5361
5096
|
protected readonly loading: _angular_core.Signal<boolean>;
|
|
5362
|
-
protected
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5097
|
+
protected readonly isNumber: (value: any) => value is number;
|
|
5098
|
+
private searchTerms;
|
|
5099
|
+
protected trackByBlankNode(_index: number, node: any): any;
|
|
5100
|
+
protected trackBySubValue({ id, key }: IBlankNodeLogSubValue): string;
|
|
5101
|
+
protected methodName({ methodId, model }: IConfigModel): string;
|
|
5102
|
+
protected termById(id: string): ITermJSONLD;
|
|
5103
|
+
protected toggleBlankNode(blankNode: IBlankNodeLog): void;
|
|
5104
|
+
protected subValuesKey({ subValues }: IBlankNodeLog, defaultValue: string): string;
|
|
5105
|
+
protected hasCompleteSuccess({ subValues }: IBlankNodeLog): boolean;
|
|
5106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsModelsComponent, never>;
|
|
5107
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLogsModelsComponent, "he-node-logs-models", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "originalValues": { "alias": "originalValues"; "required": false; "isSignal": true; }; "recalculatedValues": { "alias": "recalculatedValues"; "required": false; "isSignal": true; }; "terms": { "alias": "terms"; "required": false; "isSignal": true; }; "filterTermTypes": { "alias": "filterTermTypes"; "required": false; "isSignal": true; }; "filterTermTypesLabel": { "alias": "filterTermTypesLabel"; "required": false; "isSignal": true; }; "logsKey": { "alias": "logsKey"; "required": false; "isSignal": true; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; "isSignal": true; }; "cycle": { "alias": "cycle"; "required": false; "isSignal": true; }; "jlogParentKey": { "alias": "jlogParentKey"; "required": false; "isSignal": true; }; "jlogParentIndex": { "alias": "jlogParentIndex"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5366
5108
|
}
|
|
5367
5109
|
|
|
5368
|
-
interface
|
|
5369
|
-
|
|
5370
|
-
|
|
5110
|
+
interface ITimeLog {
|
|
5111
|
+
model_model: string;
|
|
5112
|
+
model_value?: string;
|
|
5113
|
+
memory_used: number;
|
|
5114
|
+
time: number;
|
|
5371
5115
|
}
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
protected readonly headers: _angular_core.WritableSignal<string[]>;
|
|
5376
|
-
readonly nodes: _angular_core.ModelSignal<(JSONLD<any> | JSON<any>)[]>;
|
|
5377
|
-
readonly filename: _angular_core.ModelSignal<string>;
|
|
5378
|
-
readonly headerKeys: _angular_core.ModelSignal<string[]>;
|
|
5379
|
-
readonly extension: _angular_core.ModelSignal<SupportedExtensions>;
|
|
5380
|
-
readonly isUpload: _angular_core.ModelSignal<boolean>;
|
|
5381
|
-
protected readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
5382
|
-
protected readonly showIncludeNodes: _angular_core.WritableSignal<boolean>;
|
|
5383
|
-
protected readonly includedNodes: _angular_core.Signal<INodeIncluded[]>;
|
|
5384
|
-
private readonly included;
|
|
5385
|
-
protected readonly csvData: _angular_core.Signal<string>;
|
|
5386
|
-
protected readonly csvContent: _angular_core.Signal<_angular_platform_browser.SafeResourceUrl>;
|
|
5387
|
-
protected readonly downloadFilename: _angular_core.Signal<string>;
|
|
5388
|
-
protected close(): void;
|
|
5389
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeCsvExportConfirmComponent, never>;
|
|
5390
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeCsvExportConfirmComponent, "he-node-csv-export-confirm", never, { "nodes": { "alias": "nodes"; "required": false; "isSignal": true; }; "filename": { "alias": "filename"; "required": false; "isSignal": true; }; "headerKeys": { "alias": "headerKeys"; "required": false; "isSignal": true; }; "extension": { "alias": "extension"; "required": false; "isSignal": true; }; "isUpload": { "alias": "isUpload"; "required": false; "isSignal": true; }; }, { "nodes": "nodesChange"; "filename": "filenameChange"; "headerKeys": "headerKeysChange"; "extension": "extensionChange"; "isUpload": "isUploadChange"; "closed": "closed"; }, never, never, true, never>;
|
|
5116
|
+
interface ISorting {
|
|
5117
|
+
sortBy: string;
|
|
5118
|
+
sortOrder: 'asc' | 'desc';
|
|
5391
5119
|
}
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
protected readonly
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
protected readonly
|
|
5404
|
-
|
|
5405
|
-
protected
|
|
5406
|
-
protected
|
|
5407
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
5408
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<
|
|
5120
|
+
declare class NodeLogsTimeComponent {
|
|
5121
|
+
private readonly nodeService;
|
|
5122
|
+
protected readonly node: _angular_core.InputSignal<JSONLD<NodeType>>;
|
|
5123
|
+
protected readonly showMemoryUsage: _angular_core.InputSignal<boolean>;
|
|
5124
|
+
protected readonly nodeLogsResource: _angular_core.ResourceRef<any>;
|
|
5125
|
+
protected readonly logs: _angular_core.Signal<{
|
|
5126
|
+
time: number;
|
|
5127
|
+
model_model: string;
|
|
5128
|
+
model_value?: string;
|
|
5129
|
+
memory_used: number;
|
|
5130
|
+
}[]>;
|
|
5131
|
+
protected readonly totalTime: _angular_core.Signal<number>;
|
|
5132
|
+
protected readonly sorting: ISorting;
|
|
5133
|
+
protected toggleSort(sortBy: string): void;
|
|
5134
|
+
protected runModelCmd({ model_model, model_value }: ITimeLog): string;
|
|
5135
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsTimeComponent, never>;
|
|
5136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLogsTimeComponent, "he-node-logs-time", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "showMemoryUsage": { "alias": "showMemoryUsage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5409
5137
|
}
|
|
5410
5138
|
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
included: boolean;
|
|
5418
|
-
}
|
|
5419
|
-
interface IGroup {
|
|
5420
|
-
key: string;
|
|
5421
|
-
selected: boolean;
|
|
5422
|
-
partialSelected: boolean;
|
|
5423
|
-
open: boolean;
|
|
5424
|
-
headers: IHeader[];
|
|
5139
|
+
declare class NodeMissingLookupFactorsComponent {
|
|
5140
|
+
private readonly nodeService;
|
|
5141
|
+
protected readonly node: _angular_core.InputSignal<JSONLD<NodeType>>;
|
|
5142
|
+
protected readonly logsResource: _angular_core.ResourceRef<_hestia_earth_ui_components.INodeMissingLookupLog[]>;
|
|
5143
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeMissingLookupFactorsComponent, never>;
|
|
5144
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeMissingLookupFactorsComponent, "he-node-missing-lookup-factors", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5425
5145
|
}
|
|
5426
|
-
|
|
5427
|
-
|
|
5146
|
+
|
|
5147
|
+
declare enum NodeField {
|
|
5148
|
+
inputs = "inputs",
|
|
5149
|
+
measurements = "measurements",
|
|
5150
|
+
practices = "practices",
|
|
5151
|
+
products = "products"
|
|
5428
5152
|
}
|
|
5429
|
-
declare class
|
|
5430
|
-
private readonly
|
|
5431
|
-
protected readonly
|
|
5432
|
-
protected readonly
|
|
5433
|
-
protected readonly
|
|
5434
|
-
protected readonly
|
|
5435
|
-
protected readonly
|
|
5436
|
-
protected readonly
|
|
5437
|
-
protected readonly
|
|
5438
|
-
|
|
5439
|
-
private readonly
|
|
5440
|
-
private readonly
|
|
5441
|
-
private readonly
|
|
5442
|
-
|
|
5443
|
-
private readonly
|
|
5444
|
-
protected readonly headers: _angular_core.WritableSignal<IGroupedHeaders>;
|
|
5445
|
-
protected readonly groups: _angular_core.Signal<IGroup[]>;
|
|
5153
|
+
declare class NodeRecommendationsComponent {
|
|
5154
|
+
private readonly engineService;
|
|
5155
|
+
protected readonly node: _angular_core.InputSignal<any>;
|
|
5156
|
+
protected readonly nodeField: _angular_core.InputSignal<NodeField>;
|
|
5157
|
+
protected readonly buttonClass: _angular_core.InputSignal<string>;
|
|
5158
|
+
protected readonly selectRecommendation: _angular_core.OutputEmitterRef<string>;
|
|
5159
|
+
protected readonly loading: _angular_core.WritableSignal<boolean>;
|
|
5160
|
+
protected readonly visible: _angular_core.WritableSignal<boolean>;
|
|
5161
|
+
protected readonly recommendations: _angular_core.WritableSignal<string[]>;
|
|
5162
|
+
private readonly type;
|
|
5163
|
+
private readonly termType;
|
|
5164
|
+
private readonly validField;
|
|
5165
|
+
private readonly existingIds;
|
|
5166
|
+
private readonly filters;
|
|
5167
|
+
private readonly filters$;
|
|
5446
5168
|
constructor();
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
protected updateGroup(selected: boolean, group: IGroup): void;
|
|
5451
|
-
protected updateHeader(selected: boolean, group: IGroup, header: IHeader): void;
|
|
5452
|
-
protected isTermFieldSelect(field: string): boolean;
|
|
5453
|
-
protected toggleTermField(selected: boolean, field: string): void;
|
|
5454
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeCsvSelectHeadersComponent, never>;
|
|
5455
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeCsvSelectHeadersComponent, "he-node-csv-select-headers", never, { "csv": { "alias": "csv"; "required": true; "isSignal": true; }; "keys": { "alias": "keys"; "required": false; "isSignal": true; }; "includeDefaultCSV": { "alias": "includeDefaultCSV"; "required": false; "isSignal": true; }; }, { "headersChanged": "headersChanged"; }, never, never, true, never>;
|
|
5456
|
-
}
|
|
5457
|
-
|
|
5458
|
-
declare class NodeIconComponent {
|
|
5459
|
-
protected readonly type: _angular_core.InputSignal<NodeType>;
|
|
5460
|
-
protected readonly size: _angular_core.InputSignal<_hestia_earth_ui_components.svgIconSizes>;
|
|
5461
|
-
protected readonly icon: _angular_core.Signal<_hestia_earth_ui_components.svgIconNames>;
|
|
5462
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeIconComponent, never>;
|
|
5463
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeIconComponent, "he-node-icon", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5169
|
+
protected add(id: string, index: number): void;
|
|
5170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeRecommendationsComponent, never>;
|
|
5171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeRecommendationsComponent, "he-node-recommendations", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "nodeField": { "alias": "nodeField"; "required": true; "isSignal": true; }; "buttonClass": { "alias": "buttonClass"; "required": false; "isSignal": true; }; }, { "selectRecommendation": "selectRecommendation"; }, never, never, true, never>;
|
|
5464
5172
|
}
|
|
5465
5173
|
|
|
5466
|
-
declare class
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5174
|
+
declare class NodeSelectComponent {
|
|
5175
|
+
private readonly nodeStoreService;
|
|
5176
|
+
private readonly _nodes;
|
|
5177
|
+
private readonly nodes;
|
|
5178
|
+
private readonly _nodeTypes;
|
|
5179
|
+
readonly selectedNodeType: _angular_core.ModelSignal<NodeType>;
|
|
5180
|
+
readonly selectedNodeId: _angular_core.ModelSignal<string>;
|
|
5181
|
+
readonly selectedDataState: _angular_core.ModelSignal<DataState>;
|
|
5182
|
+
protected readonly selectFirstId: _angular_core.InputSignal<boolean>;
|
|
5183
|
+
protected readonly enableTypes: _angular_core.InputSignal<NodeType[]>;
|
|
5184
|
+
protected readonly enableNodeType: _angular_core.InputSignal<boolean>;
|
|
5185
|
+
protected readonly enableDataState: _angular_core.InputSignal<boolean>;
|
|
5186
|
+
protected readonly showLabel: _angular_core.InputSignal<boolean>;
|
|
5187
|
+
protected readonly direction: _angular_core.InputSignal<"column" | "row">;
|
|
5188
|
+
protected readonly nodeSelected: _angular_core.OutputEmitterRef<JSONLD<NodeType>>;
|
|
5189
|
+
readonly selectedNode: _angular_core.Signal<JSONLD<NodeType>>;
|
|
5190
|
+
protected readonly nodeTypes: _angular_core.Signal<NodeType[]>;
|
|
5191
|
+
protected readonly nodeIds: _angular_core.Signal<string[]>;
|
|
5192
|
+
protected readonly dataStates: _angular_core.Signal<DataState[]>;
|
|
5193
|
+
constructor();
|
|
5194
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeSelectComponent, never>;
|
|
5195
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeSelectComponent, "he-node-select", ["heNodeSelect"], { "selectedNodeType": { "alias": "selectedNodeType"; "required": false; "isSignal": true; }; "selectedNodeId": { "alias": "selectedNodeId"; "required": false; "isSignal": true; }; "selectedDataState": { "alias": "selectedDataState"; "required": false; "isSignal": true; }; "selectFirstId": { "alias": "selectFirstId"; "required": false; "isSignal": true; }; "enableTypes": { "alias": "enableTypes"; "required": false; "isSignal": true; }; "enableNodeType": { "alias": "enableNodeType"; "required": false; "isSignal": true; }; "enableDataState": { "alias": "enableDataState"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, { "selectedNodeType": "selectedNodeTypeChange"; "selectedNodeId": "selectedNodeIdChange"; "selectedDataState": "selectedDataStateChange"; "nodeSelected": "nodeSelected"; }, never, never, true, never>;
|
|
5472
5196
|
}
|
|
5473
5197
|
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
csvCompacted = "CSV (Compacted)"
|
|
5198
|
+
interface IStoredKey {
|
|
5199
|
+
key: string;
|
|
5200
|
+
selected: boolean;
|
|
5478
5201
|
}
|
|
5479
|
-
declare class
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
protected readonly
|
|
5483
|
-
protected readonly
|
|
5484
|
-
protected readonly
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
protected readonly
|
|
5490
|
-
|
|
5491
|
-
|
|
5202
|
+
declare class NodeValueDetailsComponent<T extends Exclude<blankNodesType, Infrastructure | Property | Transformation>> {
|
|
5203
|
+
private readonly schemaService;
|
|
5204
|
+
private readonly localStorage;
|
|
5205
|
+
protected readonly schemaBaseUrl: string;
|
|
5206
|
+
protected readonly keys: string[];
|
|
5207
|
+
protected readonly additionalKeys: string[];
|
|
5208
|
+
private readonly schemas;
|
|
5209
|
+
private readonly schemaKeys;
|
|
5210
|
+
private readonly schemaKeys$;
|
|
5211
|
+
private readonly storedTableKeys;
|
|
5212
|
+
protected readonly tableKeys: _angular_core.Signal<IStoredKey[]>;
|
|
5213
|
+
private readonly availableTableKeys;
|
|
5214
|
+
protected readonly visibleTableKeys: _angular_core.Signal<string[]>;
|
|
5215
|
+
protected readonly data: _angular_core.InputSignal<IGroupedNode<T>>;
|
|
5216
|
+
protected readonly nodeType: _angular_core.InputSignal<NodeType>;
|
|
5217
|
+
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
5218
|
+
protected readonly dataKey: _angular_core.InputSignal<string>;
|
|
5219
|
+
protected readonly aggregated: _angular_core.InputSignal<boolean>;
|
|
5220
|
+
protected readonly nodes: _angular_core.Signal<T[]>;
|
|
5221
|
+
protected readonly node: _angular_core.Signal<T>;
|
|
5222
|
+
protected readonly term: _angular_core.Signal<_hestia_earth_schema.Term>;
|
|
5223
|
+
protected readonly type: _angular_core.Signal<SchemaType>;
|
|
5224
|
+
private readonly type$;
|
|
5225
|
+
protected readonly showInline: _angular_core.Signal<boolean>;
|
|
5226
|
+
protected readonly showDistribution: _angular_core.WritableSignal<T>;
|
|
5227
|
+
protected readonly chartDistribution: _angular_core.Signal<number[]>;
|
|
5228
|
+
protected readonly chartValue: _angular_core.Signal<any>;
|
|
5229
|
+
protected readonly chartLabel: _angular_core.Signal<string>;
|
|
5230
|
+
protected readonly models: _angular_core.Signal<{
|
|
5231
|
+
name: string;
|
|
5232
|
+
link: string;
|
|
5233
|
+
}[]>;
|
|
5234
|
+
constructor();
|
|
5235
|
+
private updateSchemaTableKeys;
|
|
5236
|
+
private createSchemaTableKeys;
|
|
5237
|
+
private updateKeys;
|
|
5238
|
+
protected defaultValue(key: string): "" | "N/A (from Cycle)";
|
|
5239
|
+
protected onTableKeyChange(key: IStoredKey, index: number, selected: boolean): void;
|
|
5240
|
+
protected dropTableKey({ previousIndex, currentIndex }: CdkDragDrop<any, any, IStoredKey>): void;
|
|
5241
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeValueDetailsComponent<any>, never>;
|
|
5242
|
+
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>;
|
|
5492
5243
|
}
|
|
5493
5244
|
|
|
5494
|
-
declare class
|
|
5495
|
-
private readonly
|
|
5496
|
-
private readonly
|
|
5497
|
-
|
|
5498
|
-
protected readonly
|
|
5499
|
-
protected readonly
|
|
5500
|
-
protected readonly
|
|
5501
|
-
protected readonly
|
|
5502
|
-
protected readonly
|
|
5503
|
-
protected readonly
|
|
5504
|
-
protected readonly
|
|
5505
|
-
protected readonly
|
|
5506
|
-
protected readonly
|
|
5507
|
-
|
|
5508
|
-
static
|
|
5245
|
+
declare class SchemaInfoComponent {
|
|
5246
|
+
private readonly schemaService;
|
|
5247
|
+
private readonly schemas;
|
|
5248
|
+
private readonly schema;
|
|
5249
|
+
protected readonly type: _angular_core.InputSignal<SchemaType>;
|
|
5250
|
+
protected readonly field: _angular_core.InputSignal<string>;
|
|
5251
|
+
protected readonly content: _angular_core.InputSignal<string>;
|
|
5252
|
+
protected readonly placement: _angular_core.InputSignal<"left" | "top" | "right" | "bottom">;
|
|
5253
|
+
protected readonly triggers: _angular_core.InputSignal<"hover" | "click">;
|
|
5254
|
+
protected readonly container: _angular_core.InputSignal<"-" | "body">;
|
|
5255
|
+
protected readonly iconName: _angular_core.InputSignal<svgIconNames>;
|
|
5256
|
+
protected readonly iconSize: _angular_core.InputSignal<svgIconSizes>;
|
|
5257
|
+
protected readonly contentString: _angular_core.Signal<string>;
|
|
5258
|
+
protected readonly autoClose: _angular_core.Signal<true | "outside">;
|
|
5259
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SchemaInfoComponent, never>;
|
|
5260
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SchemaInfoComponent, "he-schema-info", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "field": { "alias": "field"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "triggers": { "alias": "triggers"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "iconName": { "alias": "iconName"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5509
5261
|
}
|
|
5510
5262
|
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5263
|
+
type searchableType = NodeType.Cycle | NodeType.Source;
|
|
5264
|
+
declare const searchableTypes: searchableType[];
|
|
5265
|
+
type multiMatchType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
5266
|
+
type multiMatchAnalyzer = 'standard';
|
|
5267
|
+
declare const matchType: (type: NodeType | string) => Readonly<{
|
|
5268
|
+
match: {
|
|
5269
|
+
'@type.keyword': string;
|
|
5270
|
+
};
|
|
5271
|
+
}>;
|
|
5272
|
+
declare const matchId: (id: string) => Readonly<{
|
|
5273
|
+
match: {
|
|
5274
|
+
'@id.keyword': string;
|
|
5275
|
+
};
|
|
5276
|
+
}>;
|
|
5277
|
+
declare const matchTermType: (termType: TermTermType | string) => Readonly<Readonly<{
|
|
5278
|
+
match: {
|
|
5279
|
+
[x: string]: {
|
|
5280
|
+
boost?: number;
|
|
5281
|
+
query: any;
|
|
5282
|
+
};
|
|
5283
|
+
};
|
|
5284
|
+
}>>;
|
|
5285
|
+
declare const matchRegex: (key: string, value: string | RegExp) => Readonly<{
|
|
5286
|
+
regexp: {
|
|
5287
|
+
[x: string]: {
|
|
5288
|
+
value: string;
|
|
5289
|
+
};
|
|
5290
|
+
};
|
|
5291
|
+
}>;
|
|
5292
|
+
declare const matchQuery: (key: string, value: any, boost?: number) => Readonly<{
|
|
5293
|
+
match: {
|
|
5294
|
+
[x: string]: {
|
|
5295
|
+
boost?: number;
|
|
5296
|
+
query: any;
|
|
5297
|
+
};
|
|
5298
|
+
};
|
|
5299
|
+
}>;
|
|
5300
|
+
declare const matchExactQuery: (key: string, value: any, boost?: number) => Readonly<{
|
|
5301
|
+
match: {
|
|
5302
|
+
[x: string]: {
|
|
5303
|
+
boost?: number;
|
|
5304
|
+
query: any;
|
|
5305
|
+
};
|
|
5306
|
+
};
|
|
5307
|
+
}>;
|
|
5308
|
+
declare const matchNameNormalized: (query: string, boost?: number) => Readonly<{
|
|
5309
|
+
match: {
|
|
5310
|
+
nameNormalized: {
|
|
5311
|
+
query: string;
|
|
5312
|
+
boost: number;
|
|
5313
|
+
};
|
|
5314
|
+
};
|
|
5315
|
+
}>;
|
|
5316
|
+
declare const numberGte: (key: string, value: number) => Readonly<{
|
|
5317
|
+
range: {
|
|
5318
|
+
[x: string]: {
|
|
5319
|
+
gte: number;
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
5322
|
+
}>;
|
|
5323
|
+
declare const multiMatchQuery: (query: string, fields: string[], type?: multiMatchType, boost?: number, analyzer?: multiMatchAnalyzer) => Readonly<{
|
|
5324
|
+
multi_match: {
|
|
5325
|
+
analyzer?: "standard";
|
|
5326
|
+
boost?: number;
|
|
5327
|
+
query: string;
|
|
5328
|
+
fields: string[];
|
|
5329
|
+
type: multiMatchType;
|
|
5330
|
+
};
|
|
5331
|
+
}>;
|
|
5332
|
+
declare const matchPhraseQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
5333
|
+
match: {
|
|
5334
|
+
[x: string]: {
|
|
5335
|
+
boost?: number;
|
|
5336
|
+
query: any;
|
|
5337
|
+
};
|
|
5338
|
+
};
|
|
5339
|
+
}> | Readonly<{
|
|
5340
|
+
multi_match: {
|
|
5341
|
+
analyzer?: "standard";
|
|
5342
|
+
boost?: number;
|
|
5343
|
+
query: string;
|
|
5344
|
+
fields: string[];
|
|
5345
|
+
type: multiMatchType;
|
|
5346
|
+
};
|
|
5347
|
+
}>;
|
|
5348
|
+
declare const matchPhrasePrefixQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
5349
|
+
multi_match: {
|
|
5350
|
+
analyzer?: "standard";
|
|
5351
|
+
boost?: number;
|
|
5352
|
+
query: string;
|
|
5353
|
+
fields: string[];
|
|
5354
|
+
type: multiMatchType;
|
|
5355
|
+
};
|
|
5356
|
+
}> | Readonly<{
|
|
5357
|
+
match_phrase_prefix: {
|
|
5358
|
+
nameSearchAsYouType: {
|
|
5359
|
+
query: string;
|
|
5360
|
+
boost: number;
|
|
5361
|
+
};
|
|
5362
|
+
};
|
|
5363
|
+
}>;
|
|
5364
|
+
declare const matchBoolPrefixQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
5365
|
+
multi_match: {
|
|
5366
|
+
analyzer?: "standard";
|
|
5367
|
+
boost?: number;
|
|
5368
|
+
query: string;
|
|
5369
|
+
fields: string[];
|
|
5370
|
+
type: multiMatchType;
|
|
5371
|
+
};
|
|
5372
|
+
}> | Readonly<{
|
|
5373
|
+
match_bool_prefix: {
|
|
5374
|
+
name: {
|
|
5375
|
+
query: string;
|
|
5376
|
+
boost: number;
|
|
5377
|
+
};
|
|
5378
|
+
};
|
|
5379
|
+
}>;
|
|
5380
|
+
declare const wildcardQuery: (query: string, boost?: number, ...fields: string[]) => Readonly<{
|
|
5381
|
+
simple_query_string: {
|
|
5382
|
+
query: string;
|
|
5383
|
+
fields: string[];
|
|
5384
|
+
analyze_wildcard: boolean;
|
|
5385
|
+
boost: number;
|
|
5386
|
+
};
|
|
5387
|
+
}>;
|
|
5388
|
+
declare const matchGlobalRegion: {
|
|
5389
|
+
regexp: {
|
|
5390
|
+
'@id': string;
|
|
5391
|
+
};
|
|
5392
|
+
};
|
|
5393
|
+
declare const matchCountry: Readonly<{
|
|
5394
|
+
bool: {
|
|
5395
|
+
should: ({
|
|
5396
|
+
match: {
|
|
5397
|
+
gadmLevel: number;
|
|
5398
|
+
};
|
|
5399
|
+
} | {
|
|
5400
|
+
regexp: {
|
|
5401
|
+
'@id': string;
|
|
5402
|
+
};
|
|
5403
|
+
})[];
|
|
5404
|
+
minimum_should_match: number;
|
|
5405
|
+
};
|
|
5406
|
+
}>;
|
|
5407
|
+
declare const countriesQuery: Readonly<{
|
|
5408
|
+
bool: {
|
|
5409
|
+
must: ({
|
|
5410
|
+
match: {
|
|
5411
|
+
gadmLevel: number;
|
|
5412
|
+
};
|
|
5413
|
+
} | Readonly<{
|
|
5414
|
+
match: {
|
|
5415
|
+
'@type.keyword': string;
|
|
5416
|
+
};
|
|
5417
|
+
}> | Readonly<Readonly<{
|
|
5418
|
+
match: {
|
|
5419
|
+
[x: string]: {
|
|
5420
|
+
boost?: number;
|
|
5421
|
+
query: any;
|
|
5422
|
+
};
|
|
5423
|
+
};
|
|
5424
|
+
}>>)[];
|
|
5425
|
+
};
|
|
5426
|
+
}>;
|
|
5427
|
+
declare const allCountriesQuery: Readonly<{
|
|
5428
|
+
bool: {
|
|
5429
|
+
should: ({
|
|
5430
|
+
match: {
|
|
5431
|
+
gadmLevel: number;
|
|
5432
|
+
};
|
|
5433
|
+
} | {
|
|
5434
|
+
regexp: {
|
|
5435
|
+
'@id': string;
|
|
5436
|
+
};
|
|
5437
|
+
})[];
|
|
5438
|
+
minimum_should_match: number;
|
|
5439
|
+
must: (Readonly<{
|
|
5440
|
+
match: {
|
|
5441
|
+
'@type.keyword': string;
|
|
5442
|
+
};
|
|
5443
|
+
}> | Readonly<Readonly<{
|
|
5444
|
+
match: {
|
|
5445
|
+
[x: string]: {
|
|
5446
|
+
boost?: number;
|
|
5447
|
+
query: any;
|
|
5448
|
+
};
|
|
5449
|
+
};
|
|
5450
|
+
}>>)[];
|
|
5535
5451
|
};
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5452
|
+
}>;
|
|
5453
|
+
declare const matchRegion: Readonly<{
|
|
5454
|
+
range: {
|
|
5455
|
+
[x: string]: {
|
|
5456
|
+
gte: number;
|
|
5457
|
+
};
|
|
5542
5458
|
};
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
protected readonly enableFilterByTerm: _angular_core.Signal<boolean>;
|
|
5565
|
-
protected readonly termFormatter: ({ name }: ITermJSONLD) => string;
|
|
5566
|
-
protected readonly suggestTerm: (text$: Observable<string>) => Observable<ITermJSONLD[]>;
|
|
5567
|
-
private readonly methodsById;
|
|
5568
|
-
private searchTerms;
|
|
5569
|
-
protected methodName({ methodId, modelKey }: IJLogModelRun): string;
|
|
5570
|
-
protected modelMethodTier(model: IJLogModelRun): any;
|
|
5571
|
-
protected readonly isArray: (arg: any) => arg is any[];
|
|
5572
|
-
protected toggleGroup(group: IJLogTermGroup): void;
|
|
5573
|
-
protected toggleRow(row: IJLogBlankNode): void;
|
|
5574
|
-
protected trackByGroup(_index: number, group: IJLogTermGroup): string;
|
|
5575
|
-
protected trackByRow(_index: number, row: IJLogBlankNode): string;
|
|
5576
|
-
protected trackByModel(_index: number, model: IJLogModelRun): string;
|
|
5577
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeJLogModelsComponent, never>;
|
|
5578
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeJLogModelsComponent, "he-node-jlog-models", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "originalValues": { "alias": "originalValues"; "required": false; "isSignal": true; }; "recalculatedValues": { "alias": "recalculatedValues"; "required": false; "isSignal": true; }; "filterTermTypes": { "alias": "filterTermTypes"; "required": false; "isSignal": true; }; "filterTermTypesLabel": { "alias": "filterTermTypesLabel"; "required": false; "isSignal": true; }; "cycle": { "alias": "cycle"; "required": false; "isSignal": true; }; "jlog": { "alias": "jlog"; "required": false; "isSignal": true; }; "jlogParentKey": { "alias": "jlogParentKey"; "required": false; "isSignal": true; }; "jlogParentIndex": { "alias": "jlogParentIndex"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5579
|
-
}
|
|
5580
|
-
|
|
5581
|
-
declare class NodeLogsFileComponent {
|
|
5582
|
-
private readonly domSanitizer;
|
|
5583
|
-
private readonly nodeService;
|
|
5584
|
-
protected readonly node: _angular_core.InputSignal<JSONLD<NodeType>>;
|
|
5585
|
-
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
5586
|
-
private readonly nodeLogResource;
|
|
5587
|
-
protected readonly nodeLog: _angular_core.Signal<any>;
|
|
5588
|
-
protected readonly loading: _angular_core.Signal<boolean>;
|
|
5589
|
-
private readonly allLogs;
|
|
5590
|
-
protected readonly Level: typeof Level;
|
|
5591
|
-
protected readonly showFilters: _angular_core.WritableSignal<boolean>;
|
|
5592
|
-
protected readonly modelFilter: _angular_core.WritableSignal<string>;
|
|
5593
|
-
protected readonly termFilter: _angular_core.WritableSignal<string>;
|
|
5594
|
-
protected readonly selectedLevel: _angular_core.WritableSignal<Level>;
|
|
5595
|
-
protected readonly fileToExt: (path: string, extension?: string) => string;
|
|
5596
|
-
protected readonly nodeLogLines: _angular_core.Signal<_hestia_earth_ui_components.ILine[]>;
|
|
5597
|
-
protected readonly csvContent: _angular_core.Signal<_angular_platform_browser.SafeResourceUrl>;
|
|
5598
|
-
protected readonly csvFilename: _angular_core.Signal<string>;
|
|
5599
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsFileComponent, never>;
|
|
5600
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLogsFileComponent, "he-node-logs-file", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5601
|
-
}
|
|
5602
|
-
|
|
5603
|
-
declare class NodeLogsModelsComponent {
|
|
5604
|
-
private readonly nodeService;
|
|
5605
|
-
private readonly nodeLogsModelsService;
|
|
5606
|
-
private readonly searchService;
|
|
5607
|
-
private readonly engineService;
|
|
5608
|
-
protected readonly guideEnabled: boolean;
|
|
5609
|
-
protected readonly node: _angular_core.InputSignal<IJSONNode>;
|
|
5610
|
-
protected readonly nodeKey: _angular_core.InputSignal<blankNodesKey | nonBlankNodesKey>;
|
|
5611
|
-
protected readonly originalValues: _angular_core.InputSignal<_hestia_earth_schema.Completeness | blankNodesTypeValue[]>;
|
|
5612
|
-
protected readonly recalculatedValues: _angular_core.InputSignal<_hestia_earth_schema.Completeness | blankNodesTypeValue[]>;
|
|
5613
|
-
protected readonly terms: _angular_core.InputSignal<ITermJSONLD[]>;
|
|
5614
|
-
protected readonly filterTermTypes: _angular_core.InputSignal<TermTermType[]>;
|
|
5615
|
-
protected readonly filterTermTypesLabel: _angular_core.InputSignal<string>;
|
|
5616
|
-
protected readonly logsKey: _angular_core.InputSignal<string>;
|
|
5617
|
-
protected readonly noDataMessage: _angular_core.InputSignal<string>;
|
|
5618
|
-
protected readonly cycle: _angular_core.InputSignal<ICycleJSONLD>;
|
|
5619
|
-
protected readonly jlogParentKey: _angular_core.InputSignal<string>;
|
|
5620
|
-
protected readonly jlogParentIndex: _angular_core.InputSignal<number>;
|
|
5621
|
-
protected readonly isEmpty: (value: any, minKeys?: number) => boolean;
|
|
5622
|
-
protected readonly schemaBaseUrl: string;
|
|
5623
|
-
protected readonly isExternal: boolean;
|
|
5624
|
-
protected readonly NodeType: typeof NodeType;
|
|
5625
|
-
protected readonly CycleFunctionalUnit: typeof CycleFunctionalUnit;
|
|
5626
|
-
protected readonly EmissionMethodTier: typeof EmissionMethodTier;
|
|
5627
|
-
protected readonly LogStatus: typeof LogStatus;
|
|
5628
|
-
protected readonly logIcon: {
|
|
5629
|
-
successful?: svgIconNames;
|
|
5630
|
-
failed?: svgIconNames;
|
|
5631
|
-
"not run (model higher up hierarchy run instead)"?: svgIconNames;
|
|
5632
|
-
"not run (user provided data retained)"?: svgIconNames;
|
|
5633
|
-
"not relevant"?: svgIconNames;
|
|
5459
|
+
}>;
|
|
5460
|
+
declare const regionsQuery: Readonly<{
|
|
5461
|
+
bool: {
|
|
5462
|
+
must: (Readonly<{
|
|
5463
|
+
match: {
|
|
5464
|
+
'@type.keyword': string;
|
|
5465
|
+
};
|
|
5466
|
+
}> | Readonly<Readonly<{
|
|
5467
|
+
match: {
|
|
5468
|
+
[x: string]: {
|
|
5469
|
+
boost?: number;
|
|
5470
|
+
query: any;
|
|
5471
|
+
};
|
|
5472
|
+
};
|
|
5473
|
+
}>> | Readonly<{
|
|
5474
|
+
range: {
|
|
5475
|
+
[x: string]: {
|
|
5476
|
+
gte: number;
|
|
5477
|
+
};
|
|
5478
|
+
};
|
|
5479
|
+
}>)[];
|
|
5634
5480
|
};
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5481
|
+
}>;
|
|
5482
|
+
declare const cropsQuery: Readonly<{
|
|
5483
|
+
bool: {
|
|
5484
|
+
must: (Readonly<{
|
|
5485
|
+
match: {
|
|
5486
|
+
'@type.keyword': string;
|
|
5487
|
+
};
|
|
5488
|
+
}> | Readonly<Readonly<{
|
|
5489
|
+
match: {
|
|
5490
|
+
[x: string]: {
|
|
5491
|
+
boost?: number;
|
|
5492
|
+
query: any;
|
|
5493
|
+
};
|
|
5494
|
+
};
|
|
5495
|
+
}>>)[];
|
|
5641
5496
|
};
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
protected readonly enableFilterByTerm: _angular_core.Signal<boolean>;
|
|
5680
|
-
protected readonly termFormatter: ({ name }: ITermJSONLD) => string;
|
|
5681
|
-
protected readonly suggestTerm: (text$: Observable<string>) => Observable<ITermJSONLD[]>;
|
|
5682
|
-
protected readonly typeaheadFocus: (e: Event) => void;
|
|
5683
|
-
protected readonly loading: _angular_core.Signal<boolean>;
|
|
5684
|
-
protected readonly isNumber: (value: any) => value is number;
|
|
5685
|
-
private searchTerms;
|
|
5686
|
-
protected trackByBlankNode(_index: number, node: any): any;
|
|
5687
|
-
protected trackBySubValue({ id, key }: IBlankNodeLogSubValue): string;
|
|
5688
|
-
protected methodName({ methodId, model }: IConfigModel): string;
|
|
5689
|
-
protected termById(id: string): ITermJSONLD;
|
|
5690
|
-
protected toggleBlankNode(blankNode: IBlankNodeLog): void;
|
|
5691
|
-
protected subValuesKey({ subValues }: IBlankNodeLog, defaultValue: string): string;
|
|
5692
|
-
protected hasCompleteSuccess({ subValues }: IBlankNodeLog): boolean;
|
|
5693
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsModelsComponent, never>;
|
|
5694
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLogsModelsComponent, "he-node-logs-models", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "originalValues": { "alias": "originalValues"; "required": false; "isSignal": true; }; "recalculatedValues": { "alias": "recalculatedValues"; "required": false; "isSignal": true; }; "terms": { "alias": "terms"; "required": false; "isSignal": true; }; "filterTermTypes": { "alias": "filterTermTypes"; "required": false; "isSignal": true; }; "filterTermTypesLabel": { "alias": "filterTermTypesLabel"; "required": false; "isSignal": true; }; "logsKey": { "alias": "logsKey"; "required": false; "isSignal": true; }; "noDataMessage": { "alias": "noDataMessage"; "required": false; "isSignal": true; }; "cycle": { "alias": "cycle"; "required": false; "isSignal": true; }; "jlogParentKey": { "alias": "jlogParentKey"; "required": false; "isSignal": true; }; "jlogParentIndex": { "alias": "jlogParentIndex"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
5695
|
-
}
|
|
5696
|
-
|
|
5697
|
-
interface ITimeLog {
|
|
5698
|
-
model_model: string;
|
|
5699
|
-
model_value?: string;
|
|
5700
|
-
memory_used: number;
|
|
5701
|
-
time: number;
|
|
5702
|
-
}
|
|
5703
|
-
interface ISorting {
|
|
5704
|
-
sortBy: string;
|
|
5705
|
-
sortOrder: 'asc' | 'desc';
|
|
5706
|
-
}
|
|
5707
|
-
declare class NodeLogsTimeComponent {
|
|
5708
|
-
private readonly nodeService;
|
|
5709
|
-
protected readonly node: _angular_core.InputSignal<JSONLD<NodeType>>;
|
|
5710
|
-
protected readonly showMemoryUsage: _angular_core.InputSignal<boolean>;
|
|
5711
|
-
protected readonly nodeLogsResource: _angular_core.ResourceRef<any>;
|
|
5712
|
-
protected readonly logs: _angular_core.Signal<{
|
|
5713
|
-
time: number;
|
|
5714
|
-
model_model: string;
|
|
5715
|
-
model_value?: string;
|
|
5716
|
-
memory_used: number;
|
|
5717
|
-
}[]>;
|
|
5718
|
-
protected readonly totalTime: _angular_core.Signal<number>;
|
|
5719
|
-
protected readonly sorting: ISorting;
|
|
5720
|
-
protected toggleSort(sortBy: string): void;
|
|
5721
|
-
protected runModelCmd({ model_model, model_value }: ITimeLog): string;
|
|
5722
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsTimeComponent, never>;
|
|
5723
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeLogsTimeComponent, "he-node-logs-time", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "showMemoryUsage": { "alias": "showMemoryUsage"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5724
|
-
}
|
|
5725
|
-
|
|
5726
|
-
declare class NodeMissingLookupFactorsComponent {
|
|
5727
|
-
private readonly nodeService;
|
|
5728
|
-
protected readonly node: _angular_core.InputSignal<JSONLD<NodeType>>;
|
|
5729
|
-
protected readonly logsResource: _angular_core.ResourceRef<_hestia_earth_ui_components.INodeMissingLookupLog[]>;
|
|
5730
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeMissingLookupFactorsComponent, never>;
|
|
5731
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeMissingLookupFactorsComponent, "he-node-missing-lookup-factors", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5732
|
-
}
|
|
5497
|
+
}>;
|
|
5498
|
+
declare const productsQuery: Readonly<{
|
|
5499
|
+
bool: {
|
|
5500
|
+
must: Readonly<{
|
|
5501
|
+
match: {
|
|
5502
|
+
'@type.keyword': string;
|
|
5503
|
+
};
|
|
5504
|
+
}>[];
|
|
5505
|
+
should: Readonly<Readonly<{
|
|
5506
|
+
match: {
|
|
5507
|
+
[x: string]: {
|
|
5508
|
+
boost?: number;
|
|
5509
|
+
query: any;
|
|
5510
|
+
};
|
|
5511
|
+
};
|
|
5512
|
+
}>>[];
|
|
5513
|
+
minimum_should_match: number;
|
|
5514
|
+
};
|
|
5515
|
+
}>;
|
|
5516
|
+
declare const matchAggregatedQuery: Readonly<{
|
|
5517
|
+
match: {
|
|
5518
|
+
[x: string]: {
|
|
5519
|
+
boost?: number;
|
|
5520
|
+
query: any;
|
|
5521
|
+
};
|
|
5522
|
+
};
|
|
5523
|
+
}>;
|
|
5524
|
+
declare const matchAggregatedValidatedQuery: Readonly<{
|
|
5525
|
+
match: {
|
|
5526
|
+
[x: string]: {
|
|
5527
|
+
boost?: number;
|
|
5528
|
+
query: any;
|
|
5529
|
+
};
|
|
5530
|
+
};
|
|
5531
|
+
}>;
|
|
5532
|
+
declare const matchNestedKey: (key: string, query: any) => any;
|
|
5533
|
+
declare const matchPrimaryProductQuery: (product: string) => any;
|
|
5733
5534
|
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
products = "products"
|
|
5535
|
+
type searchResult = ICycleJSONLD | ISourceJSONLD | IImpactAssessmentJSONLD | ITermJSONLD;
|
|
5536
|
+
type sortOrders = 'asc' | 'desc';
|
|
5537
|
+
interface ISearchParamSort {
|
|
5538
|
+
[key: string]: sortOrders;
|
|
5739
5539
|
}
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
protected readonly loading: _angular_core.WritableSignal<boolean>;
|
|
5747
|
-
protected readonly visible: _angular_core.WritableSignal<boolean>;
|
|
5748
|
-
protected readonly recommendations: _angular_core.WritableSignal<string[]>;
|
|
5749
|
-
private readonly type;
|
|
5750
|
-
private readonly termType;
|
|
5751
|
-
private readonly validField;
|
|
5752
|
-
private readonly existingIds;
|
|
5753
|
-
private readonly filters;
|
|
5754
|
-
private readonly filters$;
|
|
5755
|
-
constructor();
|
|
5756
|
-
protected add(id: string, index: number): void;
|
|
5757
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeRecommendationsComponent, never>;
|
|
5758
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeRecommendationsComponent, "he-node-recommendations", never, { "node": { "alias": "node"; "required": true; "isSignal": true; }; "nodeField": { "alias": "nodeField"; "required": true; "isSignal": true; }; "buttonClass": { "alias": "buttonClass"; "required": false; "isSignal": true; }; }, { "selectRecommendation": "selectRecommendation"; }, never, never, true, never>;
|
|
5540
|
+
interface ISearchScript {
|
|
5541
|
+
_script: {
|
|
5542
|
+
type?: string;
|
|
5543
|
+
order?: sortOrders;
|
|
5544
|
+
script: string;
|
|
5545
|
+
};
|
|
5759
5546
|
}
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
|
|
5766
|
-
readonly selectedNodeType: _angular_core.ModelSignal<NodeType>;
|
|
5767
|
-
readonly selectedNodeId: _angular_core.ModelSignal<string>;
|
|
5768
|
-
readonly selectedDataState: _angular_core.ModelSignal<DataState>;
|
|
5769
|
-
protected readonly selectFirstId: _angular_core.InputSignal<boolean>;
|
|
5770
|
-
protected readonly enableTypes: _angular_core.InputSignal<NodeType[]>;
|
|
5771
|
-
protected readonly enableNodeType: _angular_core.InputSignal<boolean>;
|
|
5772
|
-
protected readonly enableDataState: _angular_core.InputSignal<boolean>;
|
|
5773
|
-
protected readonly showLabel: _angular_core.InputSignal<boolean>;
|
|
5774
|
-
protected readonly direction: _angular_core.InputSignal<"column" | "row">;
|
|
5775
|
-
protected readonly nodeSelected: _angular_core.OutputEmitterRef<JSONLD<NodeType>>;
|
|
5776
|
-
readonly selectedNode: _angular_core.Signal<JSONLD<NodeType>>;
|
|
5777
|
-
protected readonly nodeTypes: _angular_core.Signal<NodeType[]>;
|
|
5778
|
-
protected readonly nodeIds: _angular_core.Signal<string[]>;
|
|
5779
|
-
protected readonly dataStates: _angular_core.Signal<DataState[]>;
|
|
5780
|
-
constructor();
|
|
5781
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeSelectComponent, never>;
|
|
5782
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeSelectComponent, "he-node-select", ["heNodeSelect"], { "selectedNodeType": { "alias": "selectedNodeType"; "required": false; "isSignal": true; }; "selectedNodeId": { "alias": "selectedNodeId"; "required": false; "isSignal": true; }; "selectedDataState": { "alias": "selectedDataState"; "required": false; "isSignal": true; }; "selectFirstId": { "alias": "selectFirstId"; "required": false; "isSignal": true; }; "enableTypes": { "alias": "enableTypes"; "required": false; "isSignal": true; }; "enableNodeType": { "alias": "enableNodeType"; "required": false; "isSignal": true; }; "enableDataState": { "alias": "enableDataState"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, { "selectedNodeType": "selectedNodeTypeChange"; "selectedNodeId": "selectedNodeIdChange"; "selectedDataState": "selectedDataStateChange"; "nodeSelected": "nodeSelected"; }, never, never, true, never>;
|
|
5547
|
+
interface ISearchParams {
|
|
5548
|
+
limit?: number;
|
|
5549
|
+
offset?: number;
|
|
5550
|
+
fields?: string[];
|
|
5551
|
+
sort?: ISearchParamSort[] | ISearchScript;
|
|
5552
|
+
query?: any;
|
|
5783
5553
|
}
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5554
|
+
interface ISearchResultExtended {
|
|
5555
|
+
_score: number;
|
|
5556
|
+
location?: {
|
|
5557
|
+
lat: number;
|
|
5558
|
+
lon: number;
|
|
5559
|
+
};
|
|
5560
|
+
properties?: string[];
|
|
5561
|
+
expanded?: boolean;
|
|
5562
|
+
extended?: boolean;
|
|
5563
|
+
pinned?: boolean;
|
|
5564
|
+
loading?: boolean;
|
|
5565
|
+
selected?: boolean;
|
|
5566
|
+
inputsCount?: number;
|
|
5567
|
+
emissionsCount?: number;
|
|
5568
|
+
productsCount?: number;
|
|
5788
5569
|
}
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
protected readonly tableKeys: _angular_core.Signal<IStoredKey[]>;
|
|
5800
|
-
private readonly availableTableKeys;
|
|
5801
|
-
protected readonly visibleTableKeys: _angular_core.Signal<string[]>;
|
|
5802
|
-
protected readonly data: _angular_core.InputSignal<IGroupedNode<T>>;
|
|
5803
|
-
protected readonly nodeType: _angular_core.InputSignal<NodeType>;
|
|
5804
|
-
protected readonly dataState: _angular_core.InputSignal<DataState>;
|
|
5805
|
-
protected readonly dataKey: _angular_core.InputSignal<string>;
|
|
5806
|
-
protected readonly aggregated: _angular_core.InputSignal<boolean>;
|
|
5807
|
-
protected readonly nodes: _angular_core.Signal<T[]>;
|
|
5808
|
-
protected readonly node: _angular_core.Signal<T>;
|
|
5809
|
-
protected readonly term: _angular_core.Signal<_hestia_earth_schema.Term>;
|
|
5810
|
-
protected readonly type: _angular_core.Signal<SchemaType>;
|
|
5811
|
-
private readonly type$;
|
|
5812
|
-
protected readonly showInline: _angular_core.Signal<boolean>;
|
|
5813
|
-
protected readonly showDistribution: _angular_core.WritableSignal<T>;
|
|
5814
|
-
protected readonly chartDistribution: _angular_core.Signal<number[]>;
|
|
5815
|
-
protected readonly chartValue: _angular_core.Signal<any>;
|
|
5816
|
-
protected readonly chartLabel: _angular_core.Signal<string>;
|
|
5817
|
-
protected readonly models: _angular_core.Signal<{
|
|
5818
|
-
name: string;
|
|
5819
|
-
link: string;
|
|
5820
|
-
}[]>;
|
|
5821
|
-
constructor();
|
|
5822
|
-
private updateSchemaTableKeys;
|
|
5823
|
-
private createSchemaTableKeys;
|
|
5824
|
-
private updateKeys;
|
|
5825
|
-
protected defaultValue(key: string): "" | "N/A (from Cycle)";
|
|
5826
|
-
protected onTableKeyChange(key: IStoredKey, index: number, selected: boolean): void;
|
|
5827
|
-
protected dropTableKey({ previousIndex, currentIndex }: CdkDragDrop<any, any, IStoredKey>): void;
|
|
5828
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeValueDetailsComponent<any>, never>;
|
|
5829
|
-
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>;
|
|
5570
|
+
interface ISearchResults<C extends JSONLD<T>, T extends NodeType = searchableType> {
|
|
5571
|
+
/**
|
|
5572
|
+
* Amount of time the query took
|
|
5573
|
+
*/
|
|
5574
|
+
time: number;
|
|
5575
|
+
/**
|
|
5576
|
+
* Numnber of results
|
|
5577
|
+
*/
|
|
5578
|
+
count: number;
|
|
5579
|
+
results: (C & ISearchResultExtended)[];
|
|
5830
5580
|
}
|
|
5831
|
-
|
|
5832
|
-
declare
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5581
|
+
declare const MAX_RESULTS = 10000;
|
|
5582
|
+
declare const suggestMatchQuery: (query: string) => (Readonly<{
|
|
5583
|
+
match: {
|
|
5584
|
+
[x: string]: {
|
|
5585
|
+
boost?: number;
|
|
5586
|
+
query: any;
|
|
5587
|
+
};
|
|
5588
|
+
};
|
|
5589
|
+
}> | Readonly<{
|
|
5590
|
+
match: {
|
|
5591
|
+
nameNormalized: {
|
|
5592
|
+
query: string;
|
|
5593
|
+
boost: number;
|
|
5594
|
+
};
|
|
5595
|
+
};
|
|
5596
|
+
}> | Readonly<{
|
|
5597
|
+
multi_match: {
|
|
5598
|
+
analyzer?: "standard";
|
|
5599
|
+
boost?: number;
|
|
5600
|
+
query: string;
|
|
5601
|
+
fields: string[];
|
|
5602
|
+
type: "best_fields" | "most_fields" | "cross_fields" | "phrase" | "phrase_prefix" | "bool_prefix";
|
|
5603
|
+
};
|
|
5604
|
+
}> | Readonly<{
|
|
5605
|
+
match_phrase_prefix: {
|
|
5606
|
+
nameSearchAsYouType: {
|
|
5607
|
+
query: string;
|
|
5608
|
+
boost: number;
|
|
5609
|
+
};
|
|
5610
|
+
};
|
|
5611
|
+
}>)[];
|
|
5612
|
+
declare const suggestQuery: <T extends NodeType = searchableType>(query: string, type?: T, extraQueries?: any[]) => {
|
|
5613
|
+
bool: {
|
|
5614
|
+
must: any[];
|
|
5615
|
+
should: {
|
|
5616
|
+
bool: {
|
|
5617
|
+
must: Readonly<{
|
|
5618
|
+
match: {
|
|
5619
|
+
'@type.keyword': string;
|
|
5620
|
+
};
|
|
5621
|
+
}>[];
|
|
5622
|
+
should: (Readonly<{
|
|
5623
|
+
match: {
|
|
5624
|
+
[x: string]: {
|
|
5625
|
+
boost?: number;
|
|
5626
|
+
query: any;
|
|
5627
|
+
};
|
|
5628
|
+
};
|
|
5629
|
+
}> | Readonly<{
|
|
5630
|
+
match: {
|
|
5631
|
+
nameNormalized: {
|
|
5632
|
+
query: string;
|
|
5633
|
+
boost: number;
|
|
5634
|
+
};
|
|
5635
|
+
};
|
|
5636
|
+
}> | Readonly<{
|
|
5637
|
+
multi_match: {
|
|
5638
|
+
analyzer?: "standard";
|
|
5639
|
+
boost?: number;
|
|
5640
|
+
query: string;
|
|
5641
|
+
fields: string[];
|
|
5642
|
+
type: "best_fields" | "most_fields" | "cross_fields" | "phrase" | "phrase_prefix" | "bool_prefix";
|
|
5643
|
+
};
|
|
5644
|
+
}> | Readonly<{
|
|
5645
|
+
match_phrase_prefix: {
|
|
5646
|
+
nameSearchAsYouType: {
|
|
5647
|
+
query: string;
|
|
5648
|
+
boost: number;
|
|
5649
|
+
};
|
|
5650
|
+
};
|
|
5651
|
+
}>)[];
|
|
5652
|
+
minimum_should_match: number;
|
|
5653
|
+
};
|
|
5654
|
+
}[];
|
|
5655
|
+
minimum_should_match: number;
|
|
5656
|
+
};
|
|
5657
|
+
};
|
|
5658
|
+
declare class HeSearchService {
|
|
5659
|
+
protected readonly http: HttpClient;
|
|
5660
|
+
protected readonly commonService: HeCommonService;
|
|
5661
|
+
search$<C extends JSONLD<T>, T extends NodeType = searchableType>(params: ISearchParams, dataVersion?: string, searchPath?: string): rxjs.Observable<ISearchResults<C, T>>;
|
|
5662
|
+
count$(params?: {}, dataVersion?: string, countPath?: string): rxjs.Observable<number>;
|
|
5663
|
+
get$<C extends JSONLD<T>, T extends NodeType>(type: T, id: string, searchPath?: string): rxjs.Observable<C & ISearchResultExtended>;
|
|
5664
|
+
suggest$<C extends JSONLD<T>, T extends NodeType = searchableType>(term: string, type?: T, extraQueries?: any[], fullQuery?: any, limit?: number, includes?: string[], searchPath?: string): rxjs.Observable<Omit<C & ISearchResultExtended, "_score">[]>;
|
|
5665
|
+
suggestSource$(term: string, limit?: number, fields?: string[], includes?: string[]): rxjs.Observable<Partial<Source>[]>;
|
|
5666
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeSearchService, never>;
|
|
5667
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<HeSearchService>;
|
|
5848
5668
|
}
|
|
5849
5669
|
|
|
5850
5670
|
type SelectValue<T> = T | T[] | null;
|
|
@@ -6328,5 +6148,5 @@ declare class TermsUnitsDescriptionComponent {
|
|
|
6328
6148
|
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>;
|
|
6329
6149
|
}
|
|
6330
6150
|
|
|
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,
|
|
6332
|
-
export type { ButtonGroupItem,
|
|
6151
|
+
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, coordinatesToPoint, copyObject, countGroupVisibleNodes, countriesQuery, createMarker, cropsQuery, dataPathLabel, dataPathToKey, dataVersionHeader, dataVersionHeaderKey, defaultFeature, defaultLabel, defaultSuggestionType, definitionToSchemaType, distinctUntilChangedDeep, ellipsis, engineGitBaseUrl, engineGitUrl, errorText, errorsLabel, evaluateSuccess, 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, 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 };
|
|
6152
|
+
export type { ButtonGroupItem, FilterData, FilterElement, FilterFn, FilterGroup, FilterOption, FilterState, 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 };
|