@hestia-earth/ui-components 0.41.13 → 0.41.15
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.
|
@@ -168,8 +168,8 @@ var Repository;
|
|
|
168
168
|
Repository["models"] = "hestia-engine-models";
|
|
169
169
|
Repository["aggregation"] = "hestia-aggregation-engine";
|
|
170
170
|
Repository["community"] = "hestia-community-edition";
|
|
171
|
-
Repository["frontend"] = "hestia-front-end";
|
|
172
171
|
Repository["schema"] = "hestia-schema";
|
|
172
|
+
Repository["frontend"] = "hestia-front-end";
|
|
173
173
|
})(Repository || (Repository = {}));
|
|
174
174
|
var Template;
|
|
175
175
|
(function (Template) {
|
|
@@ -7188,6 +7188,7 @@ var LogStatus;
|
|
|
7188
7188
|
})(LogStatus || (LogStatus = {}));
|
|
7189
7189
|
const hasLogs = (logs) => !!logs?.requirements || !!logs?.logs || logs?.missingLookups?.length > 0;
|
|
7190
7190
|
const hasLogDetails = (status, logs) => [LogStatus.success, LogStatus.error, LogStatus.dataProvided].includes(status) && hasLogs(logs);
|
|
7191
|
+
const isRecalculatedByModel = (data, model) => 'recalculated' in data && data.recalculated?.some(value => blankNodeModelId(value) === model.methodId);
|
|
7191
7192
|
const logStatus = (data, logs, model, hasPreviousSuccess = false) => {
|
|
7192
7193
|
const termLogs = logs?.[model.methodId];
|
|
7193
7194
|
const withLogs = hasLog(termLogs);
|
|
@@ -7215,7 +7216,10 @@ const logStatus = (data, logs, model, hasPreviousSuccess = false) => {
|
|
|
7215
7216
|
: LogStatus.error
|
|
7216
7217
|
: LogStatus.dataProvided
|
|
7217
7218
|
: data.isRecalculated
|
|
7218
|
-
?
|
|
7219
|
+
? // if the model runs twice, the first time it can succeed and the second time `isRunOrchestrator` is false
|
|
7220
|
+
isRecalculatedByModel(data, model)
|
|
7221
|
+
? LogStatus.success
|
|
7222
|
+
: LogStatus.skipHierarchy
|
|
7219
7223
|
: LogStatus.dataProvided
|
|
7220
7224
|
: isCalculated
|
|
7221
7225
|
? isCurrentModel
|
|
@@ -9941,6 +9945,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
9941
9945
|
args: [{ selector: 'he-engine-models-stage', changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (inProgress()) {\n <span class=\"tag is-warning\">\n <span>Calculation in progress (stage {{ stage() }} out of {{ maxStage() }})</span>\n </span>\n}\n", styles: [":host{display:inline-block}\n"] }]
|
|
9942
9946
|
}], propDecorators: { node: [{ type: i0.Input, args: [{ isSignal: true, alias: "node", required: true }] }] } });
|
|
9943
9947
|
|
|
9948
|
+
class EngineModelsStageDeepService {
|
|
9949
|
+
constructor() {
|
|
9950
|
+
this.focusedNode = signal(undefined, ...(ngDevMode ? [{ debugName: "focusedNode" }] : []));
|
|
9951
|
+
}
|
|
9952
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsStageDeepService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
9953
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsStageDeepService, providedIn: 'root' }); }
|
|
9954
|
+
}
|
|
9955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsStageDeepService, decorators: [{
|
|
9956
|
+
type: Injectable,
|
|
9957
|
+
args: [{
|
|
9958
|
+
providedIn: 'root'
|
|
9959
|
+
}]
|
|
9960
|
+
}] });
|
|
9961
|
+
|
|
9944
9962
|
class EngineModelsVersionLinkComponent {
|
|
9945
9963
|
constructor() {
|
|
9946
9964
|
this.node = input.required(...(ngDevMode ? [{ debugName: "node" }] : []));
|
|
@@ -9955,19 +9973,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
9955
9973
|
args: [{ selector: 'he-engine-models-version-link', changeDetection: ChangeDetectionStrategy.OnPush, imports: [HESvgIconComponent], template: "@if (version()) {\n <div class=\"tags has-addons\">\n <a class=\"tag is-info\" [href]=\"url()\" target=\"_blank\" (click)=\"$event.stopPropagation()\">\n {{ version() }}\n <he-svg-icon name=\"external-link\" size=\"20\" class=\"ml-2\" />\n </a>\n </div>\n}\n", styles: [":host{display:inline-block}a{color:inherit}\n"] }]
|
|
9956
9974
|
}], propDecorators: { node: [{ type: i0.Input, args: [{ isSignal: true, alias: "node", required: true }] }] } });
|
|
9957
9975
|
|
|
9958
|
-
class
|
|
9976
|
+
class EngineModelsVersionInfoComponent {
|
|
9959
9977
|
constructor() {
|
|
9960
|
-
this.
|
|
9978
|
+
this.node = input.required(...(ngDevMode ? [{ debugName: "node" }] : []));
|
|
9979
|
+
this.recalculatedAt = computed(() => this.node()?.['last-modified'] || this.node()?.updatedAt || this.node()?.createdAt, ...(ngDevMode ? [{ debugName: "recalculatedAt" }] : []));
|
|
9961
9980
|
}
|
|
9962
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type:
|
|
9963
|
-
static { this.ɵ
|
|
9981
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsVersionInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9982
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.6", type: EngineModelsVersionInfoComponent, isStandalone: true, selector: "he-engine-models-version-info", inputs: { node: { classPropertyName: "node", publicName: "node", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"is-flex is-flex-direction-column is-gap-4 has-text-white w-100\">\n <div class=\"is-flex is-align-items-center is-gap-8 w-100\">\n <span class=\"has-text-weight-bold\">Calculated Date:</span>\n <span>{{ recalculatedAt() | date: (recalculatedAt().length === 10 ? 'mediumDate' : 'medium') }}</span>\n </div>\n <div class=\"is-flex is-align-items-center is-gap-8 w-100\">\n <span class=\"has-text-weight-bold\">Calculated Version:</span>\n <he-engine-models-version-link [node]=\"node()\" />\n </div>\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: EngineModelsVersionLinkComponent, selector: "he-engine-models-version-link", inputs: ["node"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
|
|
9964
9983
|
}
|
|
9965
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type:
|
|
9966
|
-
type:
|
|
9967
|
-
args: [{
|
|
9968
|
-
|
|
9969
|
-
}]
|
|
9970
|
-
}] });
|
|
9984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsVersionInfoComponent, decorators: [{
|
|
9985
|
+
type: Component$1,
|
|
9986
|
+
args: [{ selector: 'he-engine-models-version-info', imports: [DatePipe, EngineModelsVersionLinkComponent], template: "<div class=\"is-flex is-flex-direction-column is-gap-4 has-text-white w-100\">\n <div class=\"is-flex is-align-items-center is-gap-8 w-100\">\n <span class=\"has-text-weight-bold\">Calculated Date:</span>\n <span>{{ recalculatedAt() | date: (recalculatedAt().length === 10 ? 'mediumDate' : 'medium') }}</span>\n </div>\n <div class=\"is-flex is-align-items-center is-gap-8 w-100\">\n <span class=\"has-text-weight-bold\">Calculated Version:</span>\n <he-engine-models-version-link [node]=\"node()\" />\n </div>\n</div>\n" }]
|
|
9987
|
+
}], propDecorators: { node: [{ type: i0.Input, args: [{ isSignal: true, alias: "node", required: true }] }] } });
|
|
9971
9988
|
|
|
9972
9989
|
const nestedNodesByType = {
|
|
9973
9990
|
[NodeType.Cycle]: (node) => [
|
|
@@ -10049,7 +10066,7 @@ class EngineModelsStageDeepComponent {
|
|
|
10049
10066
|
this.service.focusedNode.set(node);
|
|
10050
10067
|
}
|
|
10051
10068
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsStageDeepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10052
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: EngineModelsStageDeepComponent, isStandalone: true, selector: "he-engine-models-stage-deep", inputs: { node: { classPropertyName: "node", publicName: "node", isSignal: true, isRequired: true, transformFunction: null }, enableExpand: { classPropertyName: "enableExpand", publicName: "enableExpand", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, expandedNode: { classPropertyName: "expandedNode", publicName: "expandedNode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expanded: "expandedChange" }, ngImport: i0, template: "<div class=\"is-flex is-flex-direction-column is-gap-8\">\n <div class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-center\">\n <div\n class=\"is-flex is-flex-direction-column is-align-items-flex-start is-align-self-stretch is-justify-content-space-between is-gap-4 is-radius-3 | is-type-{{\n type()\n }}-border\">\n <div\n class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-self-start is-align-self-stretch is-px-1 | is-type-{{\n type()\n }}-background\">\n <span>{{ type() | keyToLabel }}</span>\n\n <div class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\">\n <span class=\"is-size-7\">ID:</span>\n <he-node-link [node]=\"node()\">\n <span class=\"has-text-link is-size-7\">{{ id() }}</span>\n </he-node-link>\n </div>\n </div>\n\n <div class=\"is-px-1 is-pb-1 w-100\">\n @if (hasError()) {\n <a class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\" (click)=\"openError(node())\">\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n\n <span class=\"is-size-7 is-flex-grow-1\">Validation Error</span>\n\n <he-svg-icon name=\"chevron-right\" class=\"has-text-secondary\" />\n </a>\n }\n\n <div\n class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\"\n [class.is-clickable]=\"canExpand()\"\n (click)=\"canExpand() && expanded.set(!expanded())\">\n @if (inProgress()) {\n <he-svg-icon name=\"loading-circle-filled\" size=\"24\" animation=\"spin\" class=\"has-text-info\" />\n } @else if (recalculatedAt()) {\n <he-svg-icon name=\"checkmark-circle-filled\" size=\"24\" class=\"has-text-success\" />\n } @else {\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n }\n\n <span class=\"is-size-7 is-flex-grow-1\">\n @if (inProgress()) {\n Stage {{ stage() }} / {{ maxStage() }}\n } @else if (recalculatedAt()) {\n <span\n class=\"trigger-popover\"\n [ngbPopover]=\"popoverDetails\"\n autoClose=\"outside\"\n popoverClass=\"is-narrow\"\n placement=\"left auto\"\n container=\"body\"\n (click)=\"$event.stopPropagation()\">\n <span>Complete</span>\n </span>\n } @else {\n Failed\n }\n </span>\n\n @if (canExpand()) {\n <he-svg-icon [name]=\"expanded() ? 'chevron-down' : 'chevron-right'\" class=\"has-text-secondary\" />\n }\n </div>\n </div>\n </div>\n </div>\n\n @if (expanded()) {\n @if (loading() && nodesLength() > 0) {\n @for (node of nodesLength() | times; track $index) {\n <he-skeleton-text [width]=\"60\" />\n }\n }\n\n <div class=\"is-flex is-flex-direction-column is-gap-8 is-overflow-hidden is-pl-2 | related-stage\">\n @for (relatedNode of expandableNodes(); track trackNode(relatedNode)) {\n <he-engine-models-stage-deep\n class=\"is-flex-grow-1\"\n [node]=\"relatedNode\"\n [expanded]=\"false\"\n [expandedNode]=\"expandedNode() || node()\" />\n }\n </div>\n }\n</div>\n\n<ng-template #popoverDetails>\n <
|
|
10069
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: EngineModelsStageDeepComponent, isStandalone: true, selector: "he-engine-models-stage-deep", inputs: { node: { classPropertyName: "node", publicName: "node", isSignal: true, isRequired: true, transformFunction: null }, enableExpand: { classPropertyName: "enableExpand", publicName: "enableExpand", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null }, expandedNode: { classPropertyName: "expandedNode", publicName: "expandedNode", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expanded: "expandedChange" }, ngImport: i0, template: "<div class=\"is-flex is-flex-direction-column is-gap-8\">\n <div class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-center\">\n <div\n class=\"is-flex is-flex-direction-column is-align-items-flex-start is-align-self-stretch is-justify-content-space-between is-gap-4 is-radius-3 | is-type-{{\n type()\n }}-border\">\n <div\n class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-self-start is-align-self-stretch is-px-1 | is-type-{{\n type()\n }}-background\">\n <span>{{ type() | keyToLabel }}</span>\n\n <div class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\">\n <span class=\"is-size-7\">ID:</span>\n <he-node-link [node]=\"node()\">\n <span class=\"has-text-link is-size-7\">{{ id() }}</span>\n </he-node-link>\n </div>\n </div>\n\n <div class=\"is-px-1 is-pb-1 w-100\">\n @if (hasError()) {\n <a class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\" (click)=\"openError(node())\">\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n\n <span class=\"is-size-7 is-flex-grow-1\">Validation Error</span>\n\n <he-svg-icon name=\"chevron-right\" class=\"has-text-secondary\" />\n </a>\n }\n\n <div\n class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\"\n [class.is-clickable]=\"canExpand()\"\n (click)=\"canExpand() && expanded.set(!expanded())\">\n @if (inProgress()) {\n <he-svg-icon name=\"loading-circle-filled\" size=\"24\" animation=\"spin\" class=\"has-text-info\" />\n } @else if (recalculatedAt()) {\n <he-svg-icon name=\"checkmark-circle-filled\" size=\"24\" class=\"has-text-success\" />\n } @else {\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n }\n\n <span class=\"is-size-7 is-flex-grow-1\">\n @if (inProgress()) {\n Stage {{ stage() }} / {{ maxStage() }}\n } @else if (recalculatedAt()) {\n <span\n class=\"trigger-popover\"\n [ngbPopover]=\"popoverDetails\"\n autoClose=\"outside\"\n popoverClass=\"is-narrow\"\n placement=\"left auto\"\n container=\"body\"\n (click)=\"$event.stopPropagation()\">\n <span>Complete</span>\n </span>\n } @else {\n Failed\n }\n </span>\n\n @if (canExpand()) {\n <he-svg-icon [name]=\"expanded() ? 'chevron-down' : 'chevron-right'\" class=\"has-text-secondary\" />\n }\n </div>\n </div>\n </div>\n </div>\n\n @if (expanded()) {\n @if (loading() && nodesLength() > 0) {\n @for (node of nodesLength() | times; track $index) {\n <he-skeleton-text [width]=\"60\" />\n }\n }\n\n <div class=\"is-flex is-flex-direction-column is-gap-8 is-overflow-hidden is-pl-2 | related-stage\">\n @for (relatedNode of expandableNodes(); track trackNode(relatedNode)) {\n <he-engine-models-stage-deep\n class=\"is-flex-grow-1\"\n [node]=\"relatedNode\"\n [expanded]=\"false\"\n [expandedNode]=\"expandedNode() || node()\" />\n }\n </div>\n }\n</div>\n\n<ng-template #popoverDetails>\n <he-engine-models-version-info [node]=\"node()\" />\n</ng-template>\n", styles: [".is-type-Cycle-border{border:1px solid #ecf1ff}.is-type-Cycle-background{background-color:#ecf1ff}.is-type-Site-border{border:1px solid #d5f3d8}.is-type-Site-background{background-color:#d5f3d8}.is-type-ImpactAssessment-border{border:1px solid #e7e0cb}.is-type-ImpactAssessment-background{background-color:#e7e0cb}.is-type-Source-border{border:1px solid #f5f5f5}.is-type-Source-background{background-color:#f5f5f5}.related-stage{border-left:1px solid #4c7194}\n"], dependencies: [{ kind: "component", type: EngineModelsStageDeepComponent, selector: "he-engine-models-stage-deep", inputs: ["node", "enableExpand", "expanded", "expandedNode"], outputs: ["expandedChange"] }, { kind: "component", type: HESvgIconComponent, selector: "he-svg-icon", inputs: ["name", "size", "animation"] }, { kind: "ngmodule", type: NgbPopoverModule }, { kind: "directive", type: i1$1.NgbPopover, selector: "[ngbPopover]", inputs: ["animation", "autoClose", "ngbPopover", "popoverTitle", "placement", "popperOptions", "triggers", "positionTarget", "container", "disablePopover", "popoverClass", "popoverContext", "openDelay", "closeDelay"], outputs: ["shown", "hidden"], exportAs: ["ngbPopover"] }, { kind: "ngmodule", type: NgbTooltipModule }, { kind: "component", type: EngineModelsVersionInfoComponent, selector: "he-engine-models-version-info", inputs: ["node"] }, { kind: "component", type: SkeletonTextComponent, selector: "he-skeleton-text", inputs: ["animated", "width", "height"] }, { kind: "component", type: NodeLinkComponent, selector: "he-node-link", inputs: ["node", "dataState", "showExternalLink", "linkClass"] }, { kind: "pipe", type: KeyToLabelPipe, name: "keyToLabel" }, { kind: "pipe", type: TimesPipe, name: "times" }] }); }
|
|
10053
10070
|
}
|
|
10054
10071
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: EngineModelsStageDeepComponent, decorators: [{
|
|
10055
10072
|
type: Component$1,
|
|
@@ -10059,11 +10076,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
10059
10076
|
HESvgIconComponent,
|
|
10060
10077
|
NgbPopoverModule,
|
|
10061
10078
|
NgbTooltipModule,
|
|
10062
|
-
|
|
10079
|
+
EngineModelsVersionInfoComponent,
|
|
10063
10080
|
SkeletonTextComponent,
|
|
10064
10081
|
TimesPipe,
|
|
10065
10082
|
NodeLinkComponent
|
|
10066
|
-
], template: "<div class=\"is-flex is-flex-direction-column is-gap-8\">\n <div class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-center\">\n <div\n class=\"is-flex is-flex-direction-column is-align-items-flex-start is-align-self-stretch is-justify-content-space-between is-gap-4 is-radius-3 | is-type-{{\n type()\n }}-border\">\n <div\n class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-self-start is-align-self-stretch is-px-1 | is-type-{{\n type()\n }}-background\">\n <span>{{ type() | keyToLabel }}</span>\n\n <div class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\">\n <span class=\"is-size-7\">ID:</span>\n <he-node-link [node]=\"node()\">\n <span class=\"has-text-link is-size-7\">{{ id() }}</span>\n </he-node-link>\n </div>\n </div>\n\n <div class=\"is-px-1 is-pb-1 w-100\">\n @if (hasError()) {\n <a class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\" (click)=\"openError(node())\">\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n\n <span class=\"is-size-7 is-flex-grow-1\">Validation Error</span>\n\n <he-svg-icon name=\"chevron-right\" class=\"has-text-secondary\" />\n </a>\n }\n\n <div\n class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\"\n [class.is-clickable]=\"canExpand()\"\n (click)=\"canExpand() && expanded.set(!expanded())\">\n @if (inProgress()) {\n <he-svg-icon name=\"loading-circle-filled\" size=\"24\" animation=\"spin\" class=\"has-text-info\" />\n } @else if (recalculatedAt()) {\n <he-svg-icon name=\"checkmark-circle-filled\" size=\"24\" class=\"has-text-success\" />\n } @else {\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n }\n\n <span class=\"is-size-7 is-flex-grow-1\">\n @if (inProgress()) {\n Stage {{ stage() }} / {{ maxStage() }}\n } @else if (recalculatedAt()) {\n <span\n class=\"trigger-popover\"\n [ngbPopover]=\"popoverDetails\"\n autoClose=\"outside\"\n popoverClass=\"is-narrow\"\n placement=\"left auto\"\n container=\"body\"\n (click)=\"$event.stopPropagation()\">\n <span>Complete</span>\n </span>\n } @else {\n Failed\n }\n </span>\n\n @if (canExpand()) {\n <he-svg-icon [name]=\"expanded() ? 'chevron-down' : 'chevron-right'\" class=\"has-text-secondary\" />\n }\n </div>\n </div>\n </div>\n </div>\n\n @if (expanded()) {\n @if (loading() && nodesLength() > 0) {\n @for (node of nodesLength() | times; track $index) {\n <he-skeleton-text [width]=\"60\" />\n }\n }\n\n <div class=\"is-flex is-flex-direction-column is-gap-8 is-overflow-hidden is-pl-2 | related-stage\">\n @for (relatedNode of expandableNodes(); track trackNode(relatedNode)) {\n <he-engine-models-stage-deep\n class=\"is-flex-grow-1\"\n [node]=\"relatedNode\"\n [expanded]=\"false\"\n [expandedNode]=\"expandedNode() || node()\" />\n }\n </div>\n }\n</div>\n\n<ng-template #popoverDetails>\n <
|
|
10083
|
+
], template: "<div class=\"is-flex is-flex-direction-column is-gap-8\">\n <div class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-center\">\n <div\n class=\"is-flex is-flex-direction-column is-align-items-flex-start is-align-self-stretch is-justify-content-space-between is-gap-4 is-radius-3 | is-type-{{\n type()\n }}-border\">\n <div\n class=\"is-flex is-flex-direction-column is-justify-content-center is-align-items-self-start is-align-self-stretch is-px-1 | is-type-{{\n type()\n }}-background\">\n <span>{{ type() | keyToLabel }}</span>\n\n <div class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\">\n <span class=\"is-size-7\">ID:</span>\n <he-node-link [node]=\"node()\">\n <span class=\"has-text-link is-size-7\">{{ id() }}</span>\n </he-node-link>\n </div>\n </div>\n\n <div class=\"is-px-1 is-pb-1 w-100\">\n @if (hasError()) {\n <a class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\" (click)=\"openError(node())\">\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n\n <span class=\"is-size-7 is-flex-grow-1\">Validation Error</span>\n\n <he-svg-icon name=\"chevron-right\" class=\"has-text-secondary\" />\n </a>\n }\n\n <div\n class=\"is-flex is-align-items-center is-align-self-stretch is-gap-4\"\n [class.is-clickable]=\"canExpand()\"\n (click)=\"canExpand() && expanded.set(!expanded())\">\n @if (inProgress()) {\n <he-svg-icon name=\"loading-circle-filled\" size=\"24\" animation=\"spin\" class=\"has-text-info\" />\n } @else if (recalculatedAt()) {\n <he-svg-icon name=\"checkmark-circle-filled\" size=\"24\" class=\"has-text-success\" />\n } @else {\n <he-svg-icon name=\"exclamation-triangle-filled\" size=\"24\" class=\"has-text-danger\" />\n }\n\n <span class=\"is-size-7 is-flex-grow-1\">\n @if (inProgress()) {\n Stage {{ stage() }} / {{ maxStage() }}\n } @else if (recalculatedAt()) {\n <span\n class=\"trigger-popover\"\n [ngbPopover]=\"popoverDetails\"\n autoClose=\"outside\"\n popoverClass=\"is-narrow\"\n placement=\"left auto\"\n container=\"body\"\n (click)=\"$event.stopPropagation()\">\n <span>Complete</span>\n </span>\n } @else {\n Failed\n }\n </span>\n\n @if (canExpand()) {\n <he-svg-icon [name]=\"expanded() ? 'chevron-down' : 'chevron-right'\" class=\"has-text-secondary\" />\n }\n </div>\n </div>\n </div>\n </div>\n\n @if (expanded()) {\n @if (loading() && nodesLength() > 0) {\n @for (node of nodesLength() | times; track $index) {\n <he-skeleton-text [width]=\"60\" />\n }\n }\n\n <div class=\"is-flex is-flex-direction-column is-gap-8 is-overflow-hidden is-pl-2 | related-stage\">\n @for (relatedNode of expandableNodes(); track trackNode(relatedNode)) {\n <he-engine-models-stage-deep\n class=\"is-flex-grow-1\"\n [node]=\"relatedNode\"\n [expanded]=\"false\"\n [expandedNode]=\"expandedNode() || node()\" />\n }\n </div>\n }\n</div>\n\n<ng-template #popoverDetails>\n <he-engine-models-version-info [node]=\"node()\" />\n</ng-template>\n", styles: [".is-type-Cycle-border{border:1px solid #ecf1ff}.is-type-Cycle-background{background-color:#ecf1ff}.is-type-Site-border{border:1px solid #d5f3d8}.is-type-Site-background{background-color:#d5f3d8}.is-type-ImpactAssessment-border{border:1px solid #e7e0cb}.is-type-ImpactAssessment-background{background-color:#e7e0cb}.is-type-Source-border{border:1px solid #f5f5f5}.is-type-Source-background{background-color:#f5f5f5}.related-stage{border-left:1px solid #4c7194}\n"] }]
|
|
10067
10084
|
}], propDecorators: { node: [{ type: i0.Input, args: [{ isSignal: true, alias: "node", required: true }] }], enableExpand: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableExpand", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }, { type: i0.Output, args: ["expandedChange"] }], expandedNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedNode", required: false }] }] } });
|
|
10068
10085
|
|
|
10069
10086
|
const schemaTypeKeys = Object.keys(SchemaType);
|
|
@@ -14453,5 +14470,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
14453
14470
|
* Generated bundle index. Do not edit.
|
|
14454
14471
|
*/
|
|
14455
14472
|
|
|
14456
|
-
export { ARRAY_DELIMITER, ApplyPurePipe, BarChartComponent, BibliographiesSearchConfirmComponent, BlankNodeStateComponent, BlankNodeStateNoticeComponent, BlankNodeValueDeltaComponent, CapitalizePipe, ChartComponent, ChartConfigurationDirective, ChartExportButtonComponent, ChartTooltipComponent, ClickOutsideDirective, ClipboardComponent, CollapsibleBoxComponent, CollapsibleBoxStyle, 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, availableProperties, backgroundHoverPlugin, baseApiUrl, baseUrl, bottom, buildSummary, bytesSize, calculateCycleDuration, calculateCycleDurationEnabled, calculateCycleStartDate, calculateCycleStartDateEnabled, capitalize, changelogUrl, clustererImage, code, colorToRgba, compoundToHtml, computeKeys, computeTerms, contactUsEmail, contactUsLink, convertToSvg, coordinatesToPoint, copyObject, countGroupVisibleNodes, countriesQuery, createMarker, cropsQuery, d3ellipse, d3wrap, dataPathLabel, dataPathToKey, dataVersionHeader, dataVersionHeaderKey, defaultFeature, defaultLabel, defaultSuggestionType, defaultSvgIconSize, defaultTicksFont, definitionToSchemaType, distinctUntilChangedDeep, downloadFile, downloadPng, downloadSvg, ellipsis, engineGitBaseUrl, engineGitUrl, errorHasError, errorHasWarning, errorText, evaluateSuccess, exportAsSVG, exportFormats, externalLink, externalNodeLink, fillColor, fillStyle, filterBlankNode$1 as 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$2 as ignoreKeys, initialFilterState, injectResizeEvent$, inputGroupsTermTypes, isAddPropertyEnabled, isChrome, isDateBetween, isEqual, isExternal, isKeyClosedVisible, isKeyHidden, isMaxStage, isMethodModelAllowed, isMigrationError, isMissingOneOfError, isMissingPropertyError, isNonNodeModelKey, isSchemaIri, isScrolledBelow, isState, isTermTypeAllowed, isValidKey, keyToDataPath, levels, listColor, listColorContinuous, listColorWithAlpha, loadMapApi, loadSvgSprite, locationQuery, logToCsv$1 as 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$1 as 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, parseLogMessage, 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, valueLink, valueToString, valueTypeToDefault, valueValue, waitFor, wildcardQuery };
|
|
14473
|
+
export { ARRAY_DELIMITER, ApplyPurePipe, BarChartComponent, BibliographiesSearchConfirmComponent, BlankNodeStateComponent, BlankNodeStateNoticeComponent, BlankNodeValueDeltaComponent, CapitalizePipe, ChartComponent, ChartConfigurationDirective, ChartExportButtonComponent, ChartTooltipComponent, ClickOutsideDirective, ClipboardComponent, CollapsibleBoxComponent, CollapsibleBoxStyle, ColorPalette, CompoundDirective, CompoundPipe, ControlValueAccessor, CycleNodesKeyGroup, CyclesCompletenessComponent, CyclesEmissionsChartComponent, CyclesFunctionalUnitMeasureComponent, CyclesMetadataComponent, CyclesNodesComponent, CyclesNodesTimelineComponent, CyclesResultComponent, DataTableComponent, DefaultPipe, DeltaColour, DistributionChartComponent, DrawerContainerComponent, DurationPipe, EllipsisPipe, EngineModelsLinkComponent, EngineModelsLookupInfoComponent, EngineModelsStageComponent, EngineModelsStageDeepComponent, EngineModelsStageDeepService, EngineModelsVersionInfoComponent, 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, availableProperties, backgroundHoverPlugin, baseApiUrl, baseUrl, bottom, buildSummary, bytesSize, calculateCycleDuration, calculateCycleDurationEnabled, calculateCycleStartDate, calculateCycleStartDateEnabled, capitalize, changelogUrl, clustererImage, code, colorToRgba, compoundToHtml, computeKeys, computeTerms, contactUsEmail, contactUsLink, convertToSvg, coordinatesToPoint, copyObject, countGroupVisibleNodes, countriesQuery, createMarker, cropsQuery, d3ellipse, d3wrap, dataPathLabel, dataPathToKey, dataVersionHeader, dataVersionHeaderKey, defaultFeature, defaultLabel, defaultSuggestionType, defaultSvgIconSize, defaultTicksFont, definitionToSchemaType, distinctUntilChangedDeep, downloadFile, downloadPng, downloadSvg, ellipsis, engineGitBaseUrl, engineGitUrl, errorHasError, errorHasWarning, errorText, evaluateSuccess, exportAsSVG, exportFormats, externalLink, externalNodeLink, fillColor, fillStyle, filterBlankNode$1 as 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$2 as ignoreKeys, initialFilterState, injectResizeEvent$, inputGroupsTermTypes, isAddPropertyEnabled, isChrome, isDateBetween, isEqual, isExternal, isKeyClosedVisible, isKeyHidden, isMaxStage, isMethodModelAllowed, isMigrationError, isMissingOneOfError, isMissingPropertyError, isNonNodeModelKey, isSchemaIri, isScrolledBelow, isState, isTermTypeAllowed, isValidKey, keyToDataPath, levels, listColor, listColorContinuous, listColorWithAlpha, loadMapApi, loadSvgSprite, locationQuery, logToCsv$1 as 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$1 as 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, parseLogMessage, 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, valueLink, valueToString, valueTypeToDefault, valueValue, waitFor, wildcardQuery };
|
|
14457
14474
|
//# sourceMappingURL=hestia-earth-ui-components.mjs.map
|