@hestia-earth/ui-components 0.43.10 → 0.43.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/ui-components",
3
- "version": "0.43.10",
3
+ "version": "0.43.11",
4
4
  "description": "HESTIA reusable components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -3683,6 +3683,11 @@ interface IFormulaVariable {
3683
3683
  * constant or a quantity that is deliberately not stored - those are not "missing".
3684
3684
  */
3685
3685
  missing?: boolean;
3686
+ /**
3687
+ * Why the symbol stayed symbolic, when there is more to say than "missing" - e.g. the values it
3688
+ * reads from were counted rather than listed one by one. Shown in place of the missing flag.
3689
+ */
3690
+ note?: string;
3686
3691
  }
3687
3692
  /**
3688
3693
  * A formula ready to display: the KaTeX source to render, and the variables shown beneath it.
@@ -3767,6 +3772,7 @@ declare class FormulaBlockComponent {
3767
3772
  symbol: string;
3768
3773
  description?: string;
3769
3774
  missing?: boolean;
3775
+ note?: string;
3770
3776
  }[];
3771
3777
  rendered: string;
3772
3778
  context?: string;
@@ -5110,6 +5116,12 @@ declare class NodeAggregatedFormulasComponent {
5110
5116
  * is not part of how its values were produced.
5111
5117
  */
5112
5118
  readonly worldAggregation: _angular_core.InputSignal<boolean>;
5119
+ /**
5120
+ * Whether the Cycle is one of the sub-aggregations an aggregation is combined from, in which case
5121
+ * the sub-system weighting is one of the stages that produced its values. Defaults to showing the
5122
+ * stage, so a caller that cannot tell keeps the rule documented.
5123
+ */
5124
+ readonly subAggregation: _angular_core.InputSignal<boolean>;
5113
5125
  protected readonly substituted: _angular_core.ModelSignal<boolean>;
5114
5126
  /**
5115
5127
  * The pages whose formulas are shown: the general rules, then the product-specific ones.
@@ -5148,6 +5160,7 @@ declare class NodeAggregatedFormulasComponent {
5148
5160
  symbol: string;
5149
5161
  description: string;
5150
5162
  missing: boolean;
5163
+ note: string;
5151
5164
  }[];
5152
5165
  }[];
5153
5166
  heading: string;
@@ -5155,7 +5168,7 @@ declare class NodeAggregatedFormulasComponent {
5155
5168
  page: string;
5156
5169
  }[]>;
5157
5170
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedFormulasComponent, never>;
5158
- 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; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "worldAggregation": { "alias": "worldAggregation"; "required": false; "isSignal": true; }; "substituted": { "alias": "substituted"; "required": false; "isSignal": true; }; }, { "substituted": "substitutedChange"; }, never, never, true, never>;
5171
+ 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; }; "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>;
5159
5172
  }
5160
5173
 
5161
5174
  interface IAggregationRow {
@@ -5214,6 +5227,15 @@ declare class NodeAggregationLogsComponent {
5214
5227
  private readonly jlogResource;
5215
5228
  private readonly jlog;
5216
5229
  private readonly scopedJlog;
5230
+ private readonly nodeValues;
5231
+ protected readonly subAggregation: _angular_core.Signal<boolean>;
5232
+ /**
5233
+ * The `.jlog` of every sub-aggregation this Cycle was combined from, for the country shares the
5234
+ * aggregation only records on them. Best effort: a reader without access to a sub-aggregation
5235
+ * gets nothing back, and those symbols stay symbolic - which is how they render today.
5236
+ */
5237
+ private readonly contributorsResource;
5238
+ private readonly sharedLookups;
5217
5239
  private readonly openGroups;
5218
5240
  /**
5219
5241
  * The aggregated data items, grouped by term exactly as the recalculation logs group them: several
@@ -5231,6 +5253,7 @@ declare class NodeAggregationLogsComponent {
5231
5253
  declare class NodeAggregatedQualityScoreComponent {
5232
5254
  private readonly searchService;
5233
5255
  private readonly nodeService;
5256
+ private readonly nodeLogsModelsService;
5234
5257
  protected get hidden(): boolean;
5235
5258
  protected readonly node: _angular_core.InputSignal<IImpactAssessmentJSONLD | ICycleJSONLD>;
5236
5259
  protected readonly country: _angular_core.InputSignal<Term | ITermJSONLD>;
@@ -5244,6 +5267,10 @@ declare class NodeAggregatedQualityScoreComponent {
5244
5267
  protected readonly countryName: _angular_core.Signal<string>;
5245
5268
  private readonly countryResource;
5246
5269
  private readonly countryId;
5270
+ private readonly jlogResource;
5271
+ private readonly jlogLogs;
5272
+ private readonly loadingJLog;
5273
+ private readonly useJLog;
5247
5274
  private readonly logsResource;
5248
5275
  protected readonly logs: _angular_core.Signal<any>;
5249
5276
  protected readonly validScores: _angular_core.Signal<{
@@ -5265,6 +5292,7 @@ declare class NodeAggregatedQualityScoreComponent {
5265
5292
  protected readonly isGlobal: _angular_core.Signal<any>;
5266
5293
  protected readonly schemaBaseUrl: _angular_core.Signal<string>;
5267
5294
  protected readonly schemaUrl: _angular_core.Signal<string>;
5295
+ protected readonly hasFaostatYield: _angular_core.Signal<boolean>;
5268
5296
  protected readonly hasProductionQuantity: _angular_core.Signal<boolean>;
5269
5297
  protected readonly regionProductionQuantity: _angular_core.Signal<number>;
5270
5298
  protected readonly countriesProductionQuantity: _angular_core.Signal<number>;