@hestia-earth/ui-components 0.32.42 → 0.32.44
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/chart/index.d.ts +1 -0
- package/common/blank-node-state/blank-node-state.component.d.ts +1 -1
- package/engine/engine-models-link/engine-models-link.component.d.ts +1 -1
- package/engine/engine-orchestrator-edit/engine-orchestrator-edit.component.d.ts +4 -5
- package/engine/engine.service.d.ts +5 -28
- package/fesm2022/hestia-earth-ui-components.mjs +301 -243
- package/fesm2022/hestia-earth-ui-components.mjs.map +1 -1
- package/guide/guide-overlay/guide-overlay.component.d.ts +24 -0
- package/guide/guide.model.d.ts +13 -0
- package/guide/index.d.ts +2 -0
- package/node/node-aggregated-info/node-aggregated-info.component.d.ts +3 -1
- package/node/node-logs-models/node-logs-models.component.d.ts +1 -0
- package/node/node-logs-models/node-logs-models.model.d.ts +2 -3
- package/package.json +2 -1
- package/public-api.d.ts +1 -0
- package/select/filter-accordion.component.d.ts +2 -1
package/chart/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class BlankNodeStateComponent {
|
|
|
19
19
|
protected readonly stars: import("@angular/core").Signal<number[]>;
|
|
20
20
|
protected readonly showLink: import("@angular/core").Signal<boolean>;
|
|
21
21
|
private readonly model$;
|
|
22
|
-
protected readonly model: import("@angular/core").Signal<import("
|
|
22
|
+
protected readonly model: import("@angular/core").Signal<import("@hestia-earth/engine-models").IModel>;
|
|
23
23
|
protected readonly modelUrl: import("@angular/core").Signal<string>;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<BlankNodeStateComponent, never>;
|
|
25
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<BlankNodeStateComponent, "he-blank-node-state", never, { "dataState": { "alias": "dataState"; "required": false; "isSignal": true; }; "nodeType": { "alias": "nodeType"; "required": false; "isSignal": true; }; "dataKey": { "alias": "dataKey"; "required": false; "isSignal": true; }; "key": { "alias": "key"; "required": false; "isSignal": true; }; "node": { "alias": "node"; "required": true; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "linkClass": { "alias": "linkClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -9,7 +9,7 @@ export declare class EngineModelsLinkComponent {
|
|
|
9
9
|
* Show the content even if no model is found matching params.
|
|
10
10
|
*/
|
|
11
11
|
protected readonly showNoModelFound: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
protected readonly model: import("@angular/core").Signal<
|
|
12
|
+
protected readonly model: import("@angular/core").Signal<IModel>;
|
|
13
13
|
private readonly modelName;
|
|
14
14
|
protected readonly name: import("@angular/core").Signal<string>;
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<EngineModelsLinkComponent, never>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ITermJSONLD } from '@hestia-earth/schema';
|
|
2
|
-
import { allowedType, IOrchestratorConfig, IOrchestratorModelConfig } from '@hestia-earth/engine-models';
|
|
3
|
-
import { IModelExtended } from '../engine.service';
|
|
2
|
+
import { IModel, allowedType, IOrchestratorConfig, IOrchestratorModelConfig } from '@hestia-earth/engine-models';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class EngineOrchestratorEditComponent {
|
|
6
5
|
private readonly searchService;
|
|
@@ -14,7 +13,7 @@ export declare class EngineOrchestratorEditComponent {
|
|
|
14
13
|
}>;
|
|
15
14
|
protected readonly configUrl: string;
|
|
16
15
|
protected readonly modelKeyName: (modelKey: string) => string;
|
|
17
|
-
protected readonly modelKeyUrl: ({ modelKey }:
|
|
16
|
+
protected readonly modelKeyUrl: ({ modelKey }: IModel, model: string) => string;
|
|
18
17
|
protected readonly isArray: (arg: any) => arg is any[];
|
|
19
18
|
protected readonly generalDocsUrl: string;
|
|
20
19
|
protected readonly strategiesDocs: string;
|
|
@@ -28,8 +27,8 @@ export declare class EngineOrchestratorEditComponent {
|
|
|
28
27
|
}>;
|
|
29
28
|
protected readonly selectedGroupedKey: import("@angular/core").WritableSignal<string>;
|
|
30
29
|
constructor();
|
|
31
|
-
protected findModelLink({ model, value }: IOrchestratorModelConfig):
|
|
32
|
-
protected findModelPathLink({ model, value }: IOrchestratorModelConfig):
|
|
30
|
+
protected findModelLink({ model, value }: IOrchestratorModelConfig): IModel;
|
|
31
|
+
protected findModelPathLink({ model, value }: IOrchestratorModelConfig): IModel;
|
|
33
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<EngineOrchestratorEditComponent, never>;
|
|
34
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<EngineOrchestratorEditComponent, "he-engine-orchestrator-edit", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "nodeType": { "alias": "nodeType"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
35
34
|
}
|
|
@@ -7,25 +7,10 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare const HE_CALCULATIONS_BASE_URL: InjectionToken<string>;
|
|
8
8
|
export declare const engineGitBaseUrl: () => string;
|
|
9
9
|
export declare const engineGitUrl: () => string;
|
|
10
|
-
export declare const pathToApiDocsPath: (model: string, term?: string) => string;
|
|
11
|
-
export interface IModelExtended extends IModel {
|
|
12
|
-
/**
|
|
13
|
-
* Is model from EcoinventV3.
|
|
14
|
-
*/
|
|
15
|
-
ecoinvent: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Path to the API Documentation.
|
|
18
|
-
*/
|
|
19
|
-
apiDocsPath?: string;
|
|
20
|
-
}
|
|
21
10
|
export declare const models: {
|
|
22
11
|
path: string;
|
|
23
12
|
docPath: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Is model from EcoinventV3.
|
|
27
|
-
*/
|
|
28
|
-
ecoinvent: boolean;
|
|
13
|
+
guidePath: string;
|
|
29
14
|
model: string;
|
|
30
15
|
term?: string;
|
|
31
16
|
methodTier?: EmissionMethodTier;
|
|
@@ -35,25 +20,21 @@ export declare const models: {
|
|
|
35
20
|
export declare const findModels: (termId: string) => {
|
|
36
21
|
path: string;
|
|
37
22
|
docPath: string;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Is model from EcoinventV3.
|
|
41
|
-
*/
|
|
42
|
-
ecoinvent: boolean;
|
|
23
|
+
guidePath: string;
|
|
43
24
|
model: string;
|
|
44
25
|
term?: string;
|
|
45
26
|
methodTier?: EmissionMethodTier;
|
|
46
27
|
modelKey?: string;
|
|
47
28
|
dependencies?: string[];
|
|
48
29
|
}[];
|
|
49
|
-
export declare const findMatchingModel: (model: Partial<IModel>) =>
|
|
30
|
+
export declare const findMatchingModel: (model: Partial<IModel>) => IModel;
|
|
50
31
|
export declare const modelParams: (node: Partial<blankNodesType>, includeTerm?: boolean, key?: string) => {
|
|
51
32
|
[x: string]: string;
|
|
52
33
|
};
|
|
53
34
|
export declare const modelKeyParams: (node: Partial<blankNodesType>, key: string) => {
|
|
54
35
|
[x: string]: string;
|
|
55
36
|
};
|
|
56
|
-
export declare const findNodeModel: (node: Partial<blankNodesType>, key?: string) =>
|
|
37
|
+
export declare const findNodeModel: (node: Partial<blankNodesType>, key?: string) => IModel;
|
|
57
38
|
/**
|
|
58
39
|
* Find models from the orchestrator configuration.
|
|
59
40
|
*
|
|
@@ -66,11 +47,7 @@ export declare const findNodeModel: (node: Partial<blankNodesType>, key?: string
|
|
|
66
47
|
export declare const findConfigModels: (config: IOrchestratorConfig, termId: string, modelKey: string) => {
|
|
67
48
|
path: string;
|
|
68
49
|
docPath: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Is model from EcoinventV3.
|
|
72
|
-
*/
|
|
73
|
-
ecoinvent: boolean;
|
|
50
|
+
guidePath: string;
|
|
74
51
|
model: string;
|
|
75
52
|
term?: string;
|
|
76
53
|
methodTier?: EmissionMethodTier;
|