@hestia-earth/ui-components 0.40.1 → 0.40.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -26,6 +26,7 @@ import * as _angular_platform_browser from '@angular/platform-browser';
|
|
|
26
26
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
27
27
|
import { ResizeEvent } from 'angular-resizable-element';
|
|
28
28
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
29
|
+
import * as chartjs_plugin_annotation from 'chartjs-plugin-annotation';
|
|
29
30
|
|
|
30
31
|
declare class HeAuthService {
|
|
31
32
|
private _token?;
|
|
@@ -119,16 +120,49 @@ interface ChartExportMetadata {
|
|
|
119
120
|
declare const convertToSvg: (config: Partial<ChartConfiguration>, metadata?: ChartExportMetadata) => Promise<string>;
|
|
120
121
|
declare const exportAsSVG: (config: Partial<ChartConfiguration>, metadata: ChartExportMetadata) => Promise<void>;
|
|
121
122
|
declare const downloadSvg: (svgElement: HTMLElement) => void;
|
|
123
|
+
declare const downloadPng: (svgElement: HTMLElement, { width, height }?: {
|
|
124
|
+
width?: number;
|
|
125
|
+
height?: number;
|
|
126
|
+
}) => Promise<void>;
|
|
122
127
|
|
|
123
128
|
declare const registerChart: (items?: ChartComponentLike[]) => () => void;
|
|
124
129
|
|
|
130
|
+
declare class ChartConfigurationDirective {
|
|
131
|
+
private readonly _elementRef;
|
|
132
|
+
private _chart;
|
|
133
|
+
private readonly _observer;
|
|
134
|
+
/**
|
|
135
|
+
* The chart configuration.
|
|
136
|
+
* This is used to initialize the chart.
|
|
137
|
+
*
|
|
138
|
+
* @param configuration The chart configuration
|
|
139
|
+
*/
|
|
140
|
+
protected readonly chartConfiguration: _angular_core.InputSignal<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>;
|
|
141
|
+
/**
|
|
142
|
+
* The container element of the chart.
|
|
143
|
+
* This is used to observe the size of the container and resize the chart accordingly. (chart.js update charts only on the window resize event)
|
|
144
|
+
* If not provided, the chart will not be resized.
|
|
145
|
+
*
|
|
146
|
+
* @param container The container element of the chart
|
|
147
|
+
*/
|
|
148
|
+
protected readonly chartContainer: _angular_core.InputSignal<HTMLElement>;
|
|
149
|
+
constructor();
|
|
150
|
+
private removeChart;
|
|
151
|
+
get chart(): Chart<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>;
|
|
152
|
+
resize(): void;
|
|
153
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartConfigurationDirective, never>;
|
|
154
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartConfigurationDirective, "[chartConfiguration]", ["chart"], { "chartConfiguration": { "alias": "chartConfiguration"; "required": false; "isSignal": true; }; "chartContainer": { "alias": "chartContainer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
155
|
+
}
|
|
156
|
+
|
|
125
157
|
declare class ChartComponent {
|
|
126
158
|
protected readonly data: _angular_core.InputSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>;
|
|
127
159
|
protected readonly config: _angular_core.InputSignal<Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>>;
|
|
128
160
|
protected readonly showExportButton: _angular_core.InputSignal<boolean>;
|
|
129
161
|
readonly exporting: _angular_core.WritableSignal<boolean>;
|
|
162
|
+
protected readonly chartRef: _angular_core.Signal<ChartConfigurationDirective>;
|
|
130
163
|
protected readonly configuration: _angular_core.Signal<Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>>;
|
|
131
164
|
exportAsSvg(config?: Partial<ChartExportMetadata>): Promise<void>;
|
|
165
|
+
exportAsPng(): void;
|
|
132
166
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
133
167
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "he-chart", ["chart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "showExportButton": { "alias": "showExportButton"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
134
168
|
}
|
|
@@ -314,6 +348,7 @@ declare class BarChartComponent {
|
|
|
314
348
|
};
|
|
315
349
|
} & Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>>;
|
|
316
350
|
exportAsSvg(config?: Partial<ChartExportMetadata>): Promise<void>;
|
|
351
|
+
exportAsPng(): void;
|
|
317
352
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
318
353
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "he-bar-chart", ["barChart"], { "title": { "alias": "title"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "datasets": { "alias": "datasets"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "datasetLabel": { "alias": "datasetLabel"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "showExportButton": { "alias": "showExportButton"; "required": false; "isSignal": true; }; "showNegativeValues": { "alias": "showNegativeValues"; "required": false; "isSignal": true; }; "maximumValues": { "alias": "maximumValues"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
319
354
|
}
|
|
@@ -321,6 +356,7 @@ declare class BarChartComponent {
|
|
|
321
356
|
declare class ChartExportButtonComponent {
|
|
322
357
|
protected readonly chart: _angular_core.InputSignal<ChartComponent>;
|
|
323
358
|
protected readonly config: _angular_core.InputSignal<ChartExportMetadata>;
|
|
359
|
+
protected export(format: 'svg' | 'png'): void | Promise<void>;
|
|
324
360
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartExportButtonComponent, never>;
|
|
325
361
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartExportButtonComponent, "he-chart-export-button", never, { "chart": { "alias": "chart"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
326
362
|
}
|
|
@@ -500,7 +536,10 @@ type horizontalTooltipData = BarChartDataItem & {
|
|
|
500
536
|
declare class HorizontalBarChartComponent extends BarChartComponent {
|
|
501
537
|
protected readonly tooltipFn: _angular_core.InputSignal<chartTooltipContentFn<BarChartDataItem>>;
|
|
502
538
|
protected readonly afterBarDrawSettings: _angular_core.InputSignal<AfterBarDrawSettings>;
|
|
539
|
+
protected readonly minHeight: _angular_core.InputSignal<number>;
|
|
540
|
+
protected readonly maxHeight: _angular_core.InputSignal<number>;
|
|
503
541
|
private readonly tooltip;
|
|
542
|
+
protected readonly height: _angular_core.Signal<number>;
|
|
504
543
|
protected readonly horizontalConfiguration: _angular_core.Signal<{
|
|
505
544
|
plugins: (chart_js.Plugin<keyof chart_js.ChartTypeRegistry, node_modules_chart_js_dist_types_basic.AnyObject> | {
|
|
506
545
|
id: string;
|
|
@@ -597,34 +636,7 @@ declare class HorizontalBarChartComponent extends BarChartComponent {
|
|
|
597
636
|
platform?: typeof chart_js.BasePlatform;
|
|
598
637
|
}>;
|
|
599
638
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HorizontalBarChartComponent, never>;
|
|
600
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalBarChartComponent, "he-horizontal-bar-chart", ["horizontalBarChart"], { "tooltipFn": { "alias": "tooltipFn"; "required": false; "isSignal": true; }; "afterBarDrawSettings": { "alias": "afterBarDrawSettings"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
declare class ChartConfigurationDirective {
|
|
604
|
-
private readonly _elementRef;
|
|
605
|
-
private _chart;
|
|
606
|
-
private readonly _observer;
|
|
607
|
-
/**
|
|
608
|
-
* The chart configuration.
|
|
609
|
-
* This is used to initialize the chart.
|
|
610
|
-
*
|
|
611
|
-
* @param configuration The chart configuration
|
|
612
|
-
*/
|
|
613
|
-
protected readonly chartConfiguration: _angular_core.InputSignal<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>;
|
|
614
|
-
/**
|
|
615
|
-
* The container element of the chart.
|
|
616
|
-
* This is used to observe the size of the container and resize the chart accordingly. (chart.js update charts only on the window resize event)
|
|
617
|
-
* If not provided, the chart will not be resized.
|
|
618
|
-
*
|
|
619
|
-
* @param container The container element of the chart
|
|
620
|
-
*/
|
|
621
|
-
protected readonly chartContainer: _angular_core.InputSignal<HTMLElement>;
|
|
622
|
-
constructor();
|
|
623
|
-
private removeChart;
|
|
624
|
-
get chart(): Chart<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>;
|
|
625
|
-
resize(): void;
|
|
626
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartConfigurationDirective, never>;
|
|
627
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartConfigurationDirective, "[chartConfiguration]", ["chart"], { "chartConfiguration": { "alias": "chartConfiguration"; "required": false; "isSignal": true; }; "chartContainer": { "alias": "chartContainer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
639
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalBarChartComponent, "he-horizontal-bar-chart", ["horizontalBarChart"], { "tooltipFn": { "alias": "tooltipFn"; "required": false; "isSignal": true; }; "afterBarDrawSettings": { "alias": "afterBarDrawSettings"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
628
640
|
}
|
|
629
641
|
|
|
630
642
|
declare enum ColorPalette {
|
|
@@ -1198,7 +1210,7 @@ declare class NavigationMenuComponent {
|
|
|
1198
1210
|
protected linkActiveOptions(link: INavigationMenuLink, level?: number): IsActiveMatchOptions | {
|
|
1199
1211
|
exact: boolean;
|
|
1200
1212
|
};
|
|
1201
|
-
protected
|
|
1213
|
+
protected selectLink($event: Event, link: INavigationMenuLink): boolean;
|
|
1202
1214
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavigationMenuComponent, never>;
|
|
1203
1215
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationMenuComponent, "he-navigation-menu", never, { "links": { "alias": "links"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "routerLinkMatchOptions": { "alias": "routerLinkMatchOptions"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[header]", "[footer]"], true, never>;
|
|
1204
1216
|
}
|
|
@@ -1542,6 +1554,7 @@ declare class SearchExtendComponent {
|
|
|
1542
1554
|
protected readonly disabled: _angular_core.InputSignal<boolean>;
|
|
1543
1555
|
protected readonly placeholder: _angular_core.InputSignal<string>;
|
|
1544
1556
|
protected readonly class: _angular_core.InputSignal<string>;
|
|
1557
|
+
protected readonly collapsedClass: _angular_core.InputSignal<string>;
|
|
1545
1558
|
protected readonly searchText: _angular_core.OutputEmitterRef<any>;
|
|
1546
1559
|
protected readonly extended: _angular_core.WritableSignal<boolean>;
|
|
1547
1560
|
private extend;
|
|
@@ -1549,7 +1562,7 @@ declare class SearchExtendComponent {
|
|
|
1549
1562
|
protected clear(): void;
|
|
1550
1563
|
protected submit(): void;
|
|
1551
1564
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchExtendComponent, never>;
|
|
1552
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchExtendComponent, "he-search-extend", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "searchText": "searchText"; }, never, never, true, never>;
|
|
1565
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchExtendComponent, "he-search-extend", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "collapsedClass": { "alias": "collapsedClass"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "searchText": "searchText"; }, never, never, true, never>;
|
|
1553
1566
|
}
|
|
1554
1567
|
|
|
1555
1568
|
declare class SkeletonTextComponent {
|
|
@@ -3542,13 +3555,7 @@ interface IChartInputLog {
|
|
|
3542
3555
|
units: string;
|
|
3543
3556
|
weightedValue: number;
|
|
3544
3557
|
value: number;
|
|
3545
|
-
operations:
|
|
3546
|
-
id: string;
|
|
3547
|
-
weightedValue: number;
|
|
3548
|
-
label: string;
|
|
3549
|
-
units: string;
|
|
3550
|
-
value: number;
|
|
3551
|
-
}[];
|
|
3558
|
+
operations: IChartInputLog[];
|
|
3552
3559
|
}
|
|
3553
3560
|
interface IChartData {
|
|
3554
3561
|
indicator: string;
|
|
@@ -3678,6 +3685,7 @@ declare class ImpactAssessmentsProductsComponent {
|
|
|
3678
3685
|
'@id': string;
|
|
3679
3686
|
name: string;
|
|
3680
3687
|
}>;
|
|
3688
|
+
protected readonly selectedCycle: _angular_core.Signal<ICycleJSONLD>;
|
|
3681
3689
|
protected readonly showSelectImpact: _angular_core.Signal<boolean>;
|
|
3682
3690
|
protected readonly isOriginal: _angular_core.Signal<boolean>;
|
|
3683
3691
|
protected readonly isNodeKeyAllowed: _angular_core.Signal<boolean>;
|
|
@@ -3925,7 +3933,7 @@ type blankNodesTypeValue = Exclude<blankNodesType, Infrastructure | Transformati
|
|
|
3925
3933
|
type nonBlankNodesTypeValue = Exclude<nonBlankNodesType, Bibliography>;
|
|
3926
3934
|
declare const isNonNodeModelKey: (value: string) => boolean;
|
|
3927
3935
|
declare const inputGroupsTermTypes: TermTermType[];
|
|
3928
|
-
declare const groupLogsByModel: (data?: string, groupByAnimal?: boolean) => INodeLogs;
|
|
3936
|
+
declare const groupLogsByModel: (data?: string, groupBySubValue?: boolean, groupByAnimal?: boolean) => INodeLogs;
|
|
3929
3937
|
declare const computeTerms: (originalValues: blankNodesTypeValue[], recalculatedValues: blankNodesTypeValue[], terms?: ITermJSONLD[], filterTermTypes?: TermTermType[], extraTerms?: ITermJSONLD[]) => ITermJSONLD[];
|
|
3930
3938
|
declare const computeKeys: (originalValues: nonBlankNodesTypeValue, recalculatedValues: nonBlankNodesTypeValue) => string[];
|
|
3931
3939
|
declare enum LogStatus {
|
|
@@ -3996,7 +4004,7 @@ interface INonBlankNodeLog extends ILog {
|
|
|
3996
4004
|
blankNode: false;
|
|
3997
4005
|
key: string;
|
|
3998
4006
|
}
|
|
3999
|
-
declare const groupLogsByTerm: (node: IJSONNode, logs: INodeLogs, config: IOrchestratorConfig, allOriginalValues: blankNodesTypeValue[], allRecalculatedValues: blankNodesTypeValue[], nodeKey: blankNodesKey, termsGrouping?: Record<string, string[]
|
|
4007
|
+
declare const groupLogsByTerm: (node: IJSONNode, logs: INodeLogs, config: IOrchestratorConfig, allOriginalValues: blankNodesTypeValue[], allRecalculatedValues: blankNodesTypeValue[], nodeKey: blankNodesKey, termsGrouping?: Record<string, string[]>, cycle?: ICycleJSONLD) => (term: ITermJSONLD) => IBlankNodeLog;
|
|
4000
4008
|
declare const groupdLogsByKey: (node: IJSONNode, nodeKey: nonBlankNodesKey, logs: INodeLogs, originalValue?: nonBlankNodesTypeValue, recalculatedValue?: nonBlankNodesTypeValue) => (key: string) => INonBlankNodeLog;
|
|
4001
4009
|
declare const groupsLogsByFields: (node: IJSONNode, logs: INodeLogs, originalValue?: Record<string, string | number>, recalculatedValue?: Record<string, string | number>) => (key: string) => INonBlankNodeLog;
|
|
4002
4010
|
declare const modelCount: (blankNodeLogs: IBlankNodeLog[]) => any;
|
|
@@ -4423,6 +4431,7 @@ declare class NodeLogsModelsComponent {
|
|
|
4423
4431
|
protected readonly filterTermTypesLabel: _angular_core.InputSignal<string>;
|
|
4424
4432
|
protected readonly logsKey: _angular_core.InputSignal<string>;
|
|
4425
4433
|
protected readonly noDataMessage: _angular_core.InputSignal<string>;
|
|
4434
|
+
protected readonly cycle: _angular_core.InputSignal<ICycleJSONLD>;
|
|
4426
4435
|
protected readonly isEmpty: (value: any, minKeys?: number) => boolean;
|
|
4427
4436
|
protected readonly schemaBaseUrl: string;
|
|
4428
4437
|
protected readonly isExternal: boolean;
|
|
@@ -4490,7 +4499,7 @@ declare class NodeLogsModelsComponent {
|
|
|
4490
4499
|
protected subValuesKey({ subValues }: IBlankNodeLog, defaultValue: string): string;
|
|
4491
4500
|
protected hasCompleteSuccess({ subValues }: IBlankNodeLog): boolean;
|
|
4492
4501
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeLogsModelsComponent, never>;
|
|
4493
|
-
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; }; }, {}, never, ["*"], true, never>;
|
|
4502
|
+
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; }; }, {}, never, ["*"], true, never>;
|
|
4494
4503
|
}
|
|
4495
4504
|
|
|
4496
4505
|
interface ITimeLog {
|
|
@@ -4768,14 +4777,23 @@ declare const maxAreaSize = 5000;
|
|
|
4768
4777
|
declare const siteTooBig: ({ area }: ISiteJSONLD) => boolean;
|
|
4769
4778
|
declare const measurementValue: ({ value, depthLower, depthUpper, nodes }: Partial<IGroupedNode<Measurement>>, termId: string) => any;
|
|
4770
4779
|
declare const siteTypeToIcon: Record<SiteSiteType, svgIconNames>;
|
|
4780
|
+
declare const siteTypeToColor: Record<SiteSiteType, string>;
|
|
4771
4781
|
|
|
4772
4782
|
interface ISelectedChart {
|
|
4773
4783
|
termType: TermTermType;
|
|
4774
|
-
blankNodesGroup
|
|
4784
|
+
blankNodesGroup: string;
|
|
4785
|
+
}
|
|
4786
|
+
interface ICycleDate {
|
|
4787
|
+
key: 'startDate';
|
|
4788
|
+
endDate: any;
|
|
4789
|
+
date: number;
|
|
4775
4790
|
}
|
|
4776
4791
|
declare class SitesManagementChartComponent {
|
|
4777
4792
|
private readonly nodeService;
|
|
4793
|
+
private readonly locale;
|
|
4778
4794
|
protected readonly site: _angular_core.InputSignal<ISiteJSONLD>;
|
|
4795
|
+
protected readonly cycles: _angular_core.InputSignal<ICycleJSONLD[]>;
|
|
4796
|
+
private readonly tooltip;
|
|
4779
4797
|
private readonly management;
|
|
4780
4798
|
private readonly propertyLookupsResource;
|
|
4781
4799
|
private readonly propertyToGroup;
|
|
@@ -4787,8 +4805,10 @@ declare class SitesManagementChartComponent {
|
|
|
4787
4805
|
private readonly selectedManagement;
|
|
4788
4806
|
private readonly selectedManagementTerms;
|
|
4789
4807
|
private readonly dates;
|
|
4808
|
+
protected readonly cycleDates: _angular_core.Signal<ICycleDate[]>;
|
|
4809
|
+
protected readonly chartTooltipFn: chartTooltipContentFn<ICycleDate>;
|
|
4790
4810
|
protected readonly chartColors: _angular_core.Signal<{
|
|
4791
|
-
[k: string]:
|
|
4811
|
+
[k: string]: any;
|
|
4792
4812
|
}>;
|
|
4793
4813
|
private readonly chartDates;
|
|
4794
4814
|
private readonly chartValues;
|
|
@@ -4799,15 +4819,32 @@ declare class SitesManagementChartComponent {
|
|
|
4799
4819
|
x: number;
|
|
4800
4820
|
y: any;
|
|
4801
4821
|
}[];
|
|
4802
|
-
backgroundColor:
|
|
4803
|
-
borderColor: string;
|
|
4822
|
+
backgroundColor: (context: any) => any;
|
|
4804
4823
|
barPercentage: number;
|
|
4805
4824
|
barThickness: "flex";
|
|
4825
|
+
order: number;
|
|
4806
4826
|
}[];
|
|
4807
4827
|
}>;
|
|
4808
|
-
protected readonly chartConfig: {
|
|
4828
|
+
protected readonly chartConfig: _angular_core.Signal<{
|
|
4809
4829
|
type: "bar";
|
|
4810
4830
|
options: {
|
|
4831
|
+
plugins: {
|
|
4832
|
+
annotation: {
|
|
4833
|
+
annotations: {
|
|
4834
|
+
type: "box";
|
|
4835
|
+
xMin: number;
|
|
4836
|
+
xMax: number;
|
|
4837
|
+
yMin: string;
|
|
4838
|
+
yMax: string;
|
|
4839
|
+
borderWidth: number;
|
|
4840
|
+
borderDash: number[];
|
|
4841
|
+
borderColor: string;
|
|
4842
|
+
backgroundColor: string;
|
|
4843
|
+
enter: (context: chartjs_plugin_annotation.EventContext, event: chart_js.ChartEvent) => void;
|
|
4844
|
+
leave: (context: chartjs_plugin_annotation.EventContext) => void;
|
|
4845
|
+
}[];
|
|
4846
|
+
};
|
|
4847
|
+
};
|
|
4811
4848
|
scales: {
|
|
4812
4849
|
x: {
|
|
4813
4850
|
type: "time";
|
|
@@ -4823,10 +4860,10 @@ declare class SitesManagementChartComponent {
|
|
|
4823
4860
|
};
|
|
4824
4861
|
};
|
|
4825
4862
|
};
|
|
4826
|
-
}
|
|
4863
|
+
}>;
|
|
4827
4864
|
constructor();
|
|
4828
4865
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SitesManagementChartComponent, never>;
|
|
4829
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SitesManagementChartComponent, "he-sites-management-chart", never, { "site": { "alias": "site"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4866
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SitesManagementChartComponent, "he-sites-management-chart", never, { "site": { "alias": "site"; "required": true; "isSignal": true; }; "cycles": { "alias": "cycles"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
4830
4867
|
}
|
|
4831
4868
|
|
|
4832
4869
|
type site = ISiteJSONLD | Site | IOrganisationJSONLD | Organisation;
|
|
@@ -4895,6 +4932,7 @@ declare class SitesNodesComponent {
|
|
|
4895
4932
|
protected readonly selectedView: _angular_core.WritableSignal<View>;
|
|
4896
4933
|
private readonly originalSites;
|
|
4897
4934
|
protected readonly sites: _angular_core.Signal<ISiteJSONLD[]>;
|
|
4935
|
+
protected readonly cycles: _angular_core.Signal<ISiteJSONLD[]>;
|
|
4898
4936
|
protected readonly showSelectSite: _angular_core.Signal<boolean>;
|
|
4899
4937
|
private readonly selectedIndex;
|
|
4900
4938
|
private readonly ogirinalSelectedSite;
|
|
@@ -5014,5 +5052,5 @@ declare class TermsUnitsDescriptionComponent {
|
|
|
5014
5052
|
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>;
|
|
5015
5053
|
}
|
|
5016
5054
|
|
|
5017
|
-
export { ARRAY_DELIMITER, ApplyPurePipe, BarChartComponent, BibliographiesSearchConfirmComponent, BlankNodeStateComponent, BlankNodeStateNoticeComponent, BlankNodeValueDeltaComponent, CapitalizePipe, ChartComponent, ChartConfigurationDirective, ChartExportButtonComponent, ChartTooltipComponent, ClickOutsideDirective, ClipboardComponent, CollapsibleBoxComponent, ColorPalette, CompoundDirective, CompoundPipe, ControlValueAccessor, CycleNodesKeyGroup, CyclesCompletenessComponent, CyclesEmissionsChartComponent, CyclesFunctionalUnitMeasureComponent, CyclesMetadataComponent, CyclesNodesComponent, CyclesNodesTimelineComponent, CyclesResultComponent, DataTableComponent, DefaultPipe, DeltaColour, DistributionChartComponent, DrawerContainerComponent, DurationPipe, EllipsisPipe, EngineModelsLinkComponent, EngineModelsLookupInfoComponent, EngineModelsStageComponent, EngineModelsStageDeepComponent, EngineModelsStageDeepService, EngineModelsVersionLinkComponent, EngineOrchestratorEditComponent, EngineRequirementsFormComponent, FileSizePipe, FileUploadErrorKeys, FilesErrorSummaryComponent, FilesFormComponent, FilesFormEditableComponent, FilesUploadErrorsComponent, FilterAccordionComponent, GUIDE_ENABLED, GetPipe, GlossaryMigrationFormat, GuideOverlayComponent, HESvgIconComponent, HE_API_BASE_URL, HE_CALCULATIONS_BASE_URL, HE_MAP_LOADED, HeAuthService, HeCommonService, HeEngineService, HeGlossaryService, HeMendeleyService, HeNodeCsvService, HeNodeService, HeNodeStoreService, HeSchemaService, HeSearchService, HeToastService, HorizontalBarChartComponent, HorizontalButtonsGroupComponent, ImpactAssessmentsGraphComponent, ImpactAssessmentsIndicatorBreakdownChartComponent, ImpactAssessmentsIndicatorsChartComponent, ImpactAssessmentsProductsComponent, IsArrayPipe, IsObjectPipe, IssueConfirmComponent, KeyToLabelPipe, Level, LineChartComponent, LinkKeyValueComponent, LogStatus, LongPressDirective, MAX_RESULTS, MapsDrawingComponent, MapsDrawingConfirmComponent, MendeleySearchResult, MobileShellComponent, NavigationMenuComponent, NoExtPipe, NodeAggregatedComponent, NodeAggregatedInfoComponent, NodeAggregatedQualityScoreComponent, NodeCsvExportConfirmComponent, NodeCsvPreviewComponent, NodeCsvSelectHeadersComponent, NodeIconComponent, NodeJsonldComponent, NodeJsonldSchemaComponent, NodeKeyState, NodeLinkComponent, NodeLogsFileComponent, NodeLogsModelsComponent, NodeLogsTimeComponent, NodeMissingLookupFactorsComponent, NodeQualityScore, NodeRecommendationsComponent, NodeSelectComponent, NodeValueDetailsComponent, PluralizePipe, PopoverComponent, PopoverConfirmComponent, PrecisionPipe, RelatedNodeResult, RemoveMarkdownPipe, RepeatPipe, Repository, ResizedDirective, ResizedEvent, ResponsiveService, SchemaInfoComponent, SchemaVersionLinkComponent, SearchExtendComponent, ShelfDialogComponent, ShellComponent, SitesManagementChartComponent, SitesMapsComponent, SitesNodesComponent, SkeletonTextComponent, SocialTagsComponent, SortByPipe, SortSelectComponent, TagsInputDirective, Template, TermsPropertyContentComponent, TermsSubClassOfContentComponent, TermsUnitsDescriptionComponent, ThousandSuffixesPipe, ThousandsPipe, TimesPipe, ToastComponent, UncapitalizePipe, addPolygonToFeature, afterBarDrawPlugin, allCountriesQuery, allGroups, allOptions, arrayValue, availableProperties, backgroundHoverPlugin, baseApiUrl, baseUrl, bottom, buildSummary, bytesSize, calculateCycleDuration, calculateCycleDurationEnabled, calculateCycleStartDate, calculateCycleStartDateEnabled, capitalize, changelogUrl, clustererImage, code, colorToRgba, compoundToHtml, computeKeys, computeTerms, contactUsEmail, contactUsLink, convertToSvg, coordinatesToPoint, copyObject, countriesQuery, createMarker, cropsQuery, d3ellipse, d3wrap, dataPathLabel, dataPathToKey, defaultFeature, defaultLabel, defaultSuggestionType, defaultSvgIconSize, definitionToSchemaType, distinctUntilChangedDeep, downloadFile, downloadSvg, ellipsis, engineGitBaseUrl, engineGitUrl, errorHasError, errorHasWarning, errorText, evaluateSuccess, exportAsSVG, externalLink, externalNodeLink, fillColor, fillStyle, filterBlankNode, filterError, filterParams, findConfigModels, findMatchingModel, findModels, findNodeModel, findOrchestratorModel, findProperty, findPropertyById, flatFilterData, flatFilterNode, formatCustomErrorMessage, formatDate, formatError, formatPropertyError, formatter, getColor, getDatesBetween, gitBranch, gitHome, gitlabRawUrl, glossaryBaseUrl, glossaryLink, groupChanged, groupLogsByModel, groupLogsByTerm, groupNodesByTerm, groupdLogsByKey, grouppedKeys, grouppedValueKeys, groupsLogsByFields, guideModelUrl, guideNamespace, guidePageId, handleAPIError, handleGuideEvent, hasError, hasValidationError, hasWarning, hexToRgba, iconSizes, icons, ignoreKeys, initialFilterState, injectResizeEvent$, inputGroupsTermTypes, isAddPropertyEnabled, isChrome, isDateBetween, isEqual, isExternal, isGroupVisible, isKeyClosedVisible, isKeyHidden, isMaxStage, isMethodModelAllowed, isMigrationError, isMissingOneOfError, isMissingPropertyError, isNonNodeModelKey, isSchemaIri, isScrolledBelow, isState, isTermTypeAllowed, isValidKey, keyToDataPath, levels, listColor, listColorContinuous, listColorWithAlpha, loadMapApi, loadSvgSprite, locationQuery, logToCsv, logValueArray, logsKey, lollipopChartPlugin, lookupUrl, mapFilterData, mapsUrl, markerIcon, markerPie, matchAggregatedQuery, matchAggregatedValidatedQuery, matchBoolPrefixQuery, matchCountry, matchExactQuery, matchGlobalRegion, matchId, matchNameNormalized, matchNestedKey, matchPhrasePrefixQuery, matchPhraseQuery, matchPrimaryProductQuery, matchQuery, matchRegex, matchRegion, matchTermType, matchType, maxAreaSize, measurementValue, mergeDataWithHeaders, methodTierOrder, migrationErrorMessage, migrationsUrl, missingNodeErrors, modelCount, modelKeyParams, modelParams, models, multiMatchQuery, nestedProperty, nestingEnabled, nestingTypeEnabled, nodeAvailableProperties, nodeById, nodeColours, nodeDataState, nodeId, nodeIds, nodeLink, nodeLinkEnabled, nodeLinkTypeEnabled, nodeLogsUrl, nodeQualityScoreColor, nodeQualityScoreLevel, nodeQualityScoreMaxDefault, nodeQualityScoreOrder, nodeSecondaryColours, nodeToAggregationFilename, nodeType, nodeTypeDataState, nodeTypeIcon, nodeUrl, nodeUrlParams, nodeVersion, nodesByState, nodesByType, numberGte, optionsFromGroup, parentKey, parentProperty, parseColor, parseData, parseDataPath, parseLines, parseMessage, parseNewValue, pluralize, pointToCoordinates, polygonBounds, polygonToCoordinates, polygonToMap, polygonsFromFeature, populateWithTrackIdsFilterData, postGuideEvent, primaryProduct, productsQuery, propertyError, propertyId, recursiveProperties, refToSchemaType, refreshPropertyKeys, regionsQuery, registerChart, repeat, reportIssueLink, reportIssueUrl, safeJSONParse, safeJSONStringify, schemaBaseUrl, schemaDataBaseUrl, schemaLink, schemaRequiredProperties, schemaTypeToDefaultValue, scrollToEl, scrollTop, searchFilterData, searchableTypes, siblingProperty, singleProperty, siteTooBig, siteTypeToIcon, sortProperties, sortedDates, strokeColor, strokeStyle, suggestMatchQuery, suggestQuery, takeAfterViewInit, termLocation, termLocationName, termProperties, termTypeLabel, toSnakeCase, toThousands, typeToNewProperty, typeaheadFocus, uncapitalize, uniqueDatesBetween, updateProperties, valueTypeToDefault, waitFor, wildcardQuery };
|
|
5055
|
+
export { ARRAY_DELIMITER, ApplyPurePipe, BarChartComponent, BibliographiesSearchConfirmComponent, BlankNodeStateComponent, BlankNodeStateNoticeComponent, BlankNodeValueDeltaComponent, CapitalizePipe, ChartComponent, ChartConfigurationDirective, ChartExportButtonComponent, ChartTooltipComponent, ClickOutsideDirective, ClipboardComponent, CollapsibleBoxComponent, ColorPalette, CompoundDirective, CompoundPipe, ControlValueAccessor, CycleNodesKeyGroup, CyclesCompletenessComponent, CyclesEmissionsChartComponent, CyclesFunctionalUnitMeasureComponent, CyclesMetadataComponent, CyclesNodesComponent, CyclesNodesTimelineComponent, CyclesResultComponent, DataTableComponent, DefaultPipe, DeltaColour, DistributionChartComponent, DrawerContainerComponent, DurationPipe, EllipsisPipe, EngineModelsLinkComponent, EngineModelsLookupInfoComponent, EngineModelsStageComponent, EngineModelsStageDeepComponent, EngineModelsStageDeepService, EngineModelsVersionLinkComponent, EngineOrchestratorEditComponent, EngineRequirementsFormComponent, FileSizePipe, FileUploadErrorKeys, FilesErrorSummaryComponent, FilesFormComponent, FilesFormEditableComponent, FilesUploadErrorsComponent, FilterAccordionComponent, GUIDE_ENABLED, GetPipe, GlossaryMigrationFormat, GuideOverlayComponent, HESvgIconComponent, HE_API_BASE_URL, HE_CALCULATIONS_BASE_URL, HE_MAP_LOADED, HeAuthService, HeCommonService, HeEngineService, HeGlossaryService, HeMendeleyService, HeNodeCsvService, HeNodeService, HeNodeStoreService, HeSchemaService, HeSearchService, HeToastService, HorizontalBarChartComponent, HorizontalButtonsGroupComponent, ImpactAssessmentsGraphComponent, ImpactAssessmentsIndicatorBreakdownChartComponent, ImpactAssessmentsIndicatorsChartComponent, ImpactAssessmentsProductsComponent, IsArrayPipe, IsObjectPipe, IssueConfirmComponent, KeyToLabelPipe, Level, LineChartComponent, LinkKeyValueComponent, LogStatus, LongPressDirective, MAX_RESULTS, MapsDrawingComponent, MapsDrawingConfirmComponent, MendeleySearchResult, MobileShellComponent, NavigationMenuComponent, NoExtPipe, NodeAggregatedComponent, NodeAggregatedInfoComponent, NodeAggregatedQualityScoreComponent, NodeCsvExportConfirmComponent, NodeCsvPreviewComponent, NodeCsvSelectHeadersComponent, NodeIconComponent, NodeJsonldComponent, NodeJsonldSchemaComponent, NodeKeyState, NodeLinkComponent, NodeLogsFileComponent, NodeLogsModelsComponent, NodeLogsTimeComponent, NodeMissingLookupFactorsComponent, NodeQualityScore, NodeRecommendationsComponent, NodeSelectComponent, NodeValueDetailsComponent, PluralizePipe, PopoverComponent, PopoverConfirmComponent, PrecisionPipe, RelatedNodeResult, RemoveMarkdownPipe, RepeatPipe, Repository, ResizedDirective, ResizedEvent, ResponsiveService, SchemaInfoComponent, SchemaVersionLinkComponent, SearchExtendComponent, ShelfDialogComponent, ShellComponent, SitesManagementChartComponent, SitesMapsComponent, SitesNodesComponent, SkeletonTextComponent, SocialTagsComponent, SortByPipe, SortSelectComponent, TagsInputDirective, Template, TermsPropertyContentComponent, TermsSubClassOfContentComponent, TermsUnitsDescriptionComponent, ThousandSuffixesPipe, ThousandsPipe, TimesPipe, ToastComponent, UncapitalizePipe, addPolygonToFeature, afterBarDrawPlugin, allCountriesQuery, allGroups, allOptions, arrayValue, availableProperties, backgroundHoverPlugin, baseApiUrl, baseUrl, bottom, buildSummary, bytesSize, calculateCycleDuration, calculateCycleDurationEnabled, calculateCycleStartDate, calculateCycleStartDateEnabled, capitalize, changelogUrl, clustererImage, code, colorToRgba, compoundToHtml, computeKeys, computeTerms, contactUsEmail, contactUsLink, convertToSvg, coordinatesToPoint, copyObject, countriesQuery, createMarker, cropsQuery, d3ellipse, d3wrap, dataPathLabel, dataPathToKey, defaultFeature, defaultLabel, defaultSuggestionType, defaultSvgIconSize, definitionToSchemaType, distinctUntilChangedDeep, downloadFile, downloadPng, downloadSvg, ellipsis, engineGitBaseUrl, engineGitUrl, errorHasError, errorHasWarning, errorText, evaluateSuccess, exportAsSVG, externalLink, externalNodeLink, fillColor, fillStyle, filterBlankNode, filterError, filterParams, findConfigModels, findMatchingModel, findModels, findNodeModel, findOrchestratorModel, findProperty, findPropertyById, flatFilterData, flatFilterNode, formatCustomErrorMessage, formatDate, formatError, formatPropertyError, formatter, getColor, getDatesBetween, gitBranch, gitHome, gitlabRawUrl, glossaryBaseUrl, glossaryLink, groupChanged, groupLogsByModel, groupLogsByTerm, groupNodesByTerm, groupdLogsByKey, grouppedKeys, grouppedValueKeys, groupsLogsByFields, guideModelUrl, guideNamespace, guidePageId, handleAPIError, handleGuideEvent, hasError, hasValidationError, hasWarning, hexToRgba, iconSizes, icons, ignoreKeys, initialFilterState, injectResizeEvent$, inputGroupsTermTypes, isAddPropertyEnabled, isChrome, isDateBetween, isEqual, isExternal, isGroupVisible, isKeyClosedVisible, isKeyHidden, isMaxStage, isMethodModelAllowed, isMigrationError, isMissingOneOfError, isMissingPropertyError, isNonNodeModelKey, isSchemaIri, isScrolledBelow, isState, isTermTypeAllowed, isValidKey, keyToDataPath, levels, listColor, listColorContinuous, listColorWithAlpha, loadMapApi, loadSvgSprite, locationQuery, logToCsv, logValueArray, logsKey, lollipopChartPlugin, lookupUrl, mapFilterData, mapsUrl, markerIcon, markerPie, matchAggregatedQuery, matchAggregatedValidatedQuery, matchBoolPrefixQuery, matchCountry, matchExactQuery, matchGlobalRegion, matchId, matchNameNormalized, matchNestedKey, matchPhrasePrefixQuery, matchPhraseQuery, matchPrimaryProductQuery, matchQuery, matchRegex, matchRegion, matchTermType, matchType, maxAreaSize, measurementValue, mergeDataWithHeaders, methodTierOrder, migrationErrorMessage, migrationsUrl, missingNodeErrors, modelCount, modelKeyParams, modelParams, models, multiMatchQuery, nestedProperty, nestingEnabled, nestingTypeEnabled, nodeAvailableProperties, nodeById, nodeColours, nodeDataState, nodeId, nodeIds, nodeLink, nodeLinkEnabled, nodeLinkTypeEnabled, nodeLogsUrl, nodeQualityScoreColor, nodeQualityScoreLevel, nodeQualityScoreMaxDefault, nodeQualityScoreOrder, nodeSecondaryColours, nodeToAggregationFilename, nodeType, nodeTypeDataState, nodeTypeIcon, nodeUrl, nodeUrlParams, nodeVersion, nodesByState, nodesByType, numberGte, optionsFromGroup, parentKey, parentProperty, parseColor, parseData, parseDataPath, parseLines, parseMessage, parseNewValue, pluralize, pointToCoordinates, polygonBounds, polygonToCoordinates, polygonToMap, polygonsFromFeature, populateWithTrackIdsFilterData, postGuideEvent, primaryProduct, productsQuery, propertyError, propertyId, recursiveProperties, refToSchemaType, refreshPropertyKeys, regionsQuery, registerChart, repeat, reportIssueLink, reportIssueUrl, safeJSONParse, safeJSONStringify, schemaBaseUrl, schemaDataBaseUrl, schemaLink, schemaRequiredProperties, schemaTypeToDefaultValue, scrollToEl, scrollTop, searchFilterData, searchableTypes, siblingProperty, singleProperty, siteTooBig, siteTypeToColor, siteTypeToIcon, sortProperties, sortedDates, strokeColor, strokeStyle, suggestMatchQuery, suggestQuery, takeAfterViewInit, termLocation, termLocationName, termProperties, termTypeLabel, toSnakeCase, toThousands, typeToNewProperty, typeaheadFocus, uncapitalize, uniqueDatesBetween, updateProperties, valueTypeToDefault, waitFor, wildcardQuery };
|
|
5018
5056
|
export type { AfterBarDrawSettings, BarChartDataItem, ButtonGroupItem, ChartExportMetadata, FilterData, FilterElement, FilterFn, FilterGroup, FilterOption, FilterState, HistogramChartDataItem, IBlankNodeLog, IBlankNodeLogSubValue, ICalculationsModel, ICalculationsModelsParams, ICalculationsRequirementsParams, ICloseMessage, IConfigModel, ICustomValidationRules, ICycleJSONLDExtended, IErrorProperty, IFeature, IFeatureCollection, IFileUploadError, IGeometryCollection, IGlossaryMigration, IGlossaryMigrations, IGroupedKeys, IGroupedNode, IGroupedNodes, IGroupedNodesValue, IGroupedNodesValues, IImpactAssessmentJSONLDExtended, IJSONData, IJSONNode, ILine, ILog, IMarker, IMessage, IMobileShellMenuButton, INavigationMenuLink, INewProperty, INodeErrorLog, INodeHeaders, INodeLogs, INodeMissingLookupLog, INodeProperty, INodeRequestParams, INodeTermLog, INodeTermLogs, INonBlankNodeLog, IPolygonMap, IRelatedNode, ISearchParams, ISearchResultExtended, ISearchResults, IShellMenuButton, ISiteJSONLDExtended, IStoredNode, ISummary, ISummaryError, IToast, IValidationError, IValidationErrorWithIndex, LollipopPluginSettings, RgbColor, SelectValue, SortOption, SortSelectEvent, SortSelectOrder, blankNodesTypeValue, chartTooltipContentFn, feature, horizontalTooltipData, modelKey, nodes, nonBlankNodesTypeValue, searchResult, searchableType, sortOrders, suggestionType, svgIconNames, svgIconSizes, validationErrorKeyword, validationErrorLevel, validationErrorParam };
|