@hestia-earth/ui-components 0.43.15 → 0.43.16
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/fesm2022/hestia-earth-ui-components-file-errors.mjs +6 -1
- package/fesm2022/hestia-earth-ui-components-file-errors.mjs.map +1 -1
- package/fesm2022/hestia-earth-ui-components.mjs +109 -14
- package/fesm2022/hestia-earth-ui-components.mjs.map +1 -1
- package/package.json +1 -1
- package/types/hestia-earth-ui-components.d.ts +24 -1
package/package.json
CHANGED
|
@@ -5184,6 +5184,16 @@ interface IContributorNames {
|
|
|
5184
5184
|
group: string;
|
|
5185
5185
|
heading: string;
|
|
5186
5186
|
}
|
|
5187
|
+
/**
|
|
5188
|
+
* Which Cycles contributed to an aggregated value, and what a Cycle reporting none of it counted
|
|
5189
|
+
* as. It is the half of the calculation the formulas cannot show: they combine what went in, this
|
|
5190
|
+
* says what went in at all, and it is the rule the aggregation applies per Term rather than per
|
|
5191
|
+
* aggregation.
|
|
5192
|
+
*/
|
|
5193
|
+
interface IInclusionRule {
|
|
5194
|
+
included: string;
|
|
5195
|
+
blank: string;
|
|
5196
|
+
}
|
|
5187
5197
|
|
|
5188
5198
|
declare class NodeAggregatedFormulasComponent {
|
|
5189
5199
|
/**
|
|
@@ -5200,6 +5210,11 @@ declare class NodeAggregatedFormulasComponent {
|
|
|
5200
5210
|
* every rule; set it and only the rules that apply to that kind of data item are kept.
|
|
5201
5211
|
*/
|
|
5202
5212
|
readonly nodeKey: _angular_core.InputSignal<string>;
|
|
5213
|
+
/**
|
|
5214
|
+
* The Term of the data item shown, which decides how a Cycle reporting no value for it was
|
|
5215
|
+
* counted: some are zero-filled, others skipped.
|
|
5216
|
+
*/
|
|
5217
|
+
readonly term: _angular_core.InputSignal<ITermJSONLD>;
|
|
5203
5218
|
/**
|
|
5204
5219
|
* The quantities the formulas bind to, for this data item. Supplied by the caller from the
|
|
5205
5220
|
* node's `.jlog` entries recorded by the aggregation (`model: "aggregation"`). Leave it empty
|
|
@@ -5235,7 +5250,14 @@ declare class NodeAggregatedFormulasComponent {
|
|
|
5235
5250
|
* which is the whole-aggregation view.
|
|
5236
5251
|
*/
|
|
5237
5252
|
private appliesToNodeKey;
|
|
5253
|
+
/**
|
|
5254
|
+
* Whether the values were combined by a weighting structure rather than counted equally, which
|
|
5255
|
+
* decides which of the two means is shown. Only `crop` aggregations are split into sub-systems, so
|
|
5256
|
+
* every other product type combines its Cycles unweighted however it was built.
|
|
5257
|
+
*/
|
|
5258
|
+
protected readonly weighted: _angular_core.Signal<boolean>;
|
|
5238
5259
|
private applies;
|
|
5260
|
+
protected readonly inclusion: _angular_core.Signal<IInclusionRule>;
|
|
5239
5261
|
protected readonly hasSubstitutions: _angular_core.Signal<boolean>;
|
|
5240
5262
|
/**
|
|
5241
5263
|
* The rules that produced this value, grouped by what each one computes.
|
|
@@ -5281,12 +5303,13 @@ declare class NodeAggregatedFormulasComponent {
|
|
|
5281
5303
|
heading: string;
|
|
5282
5304
|
}[]>;
|
|
5283
5305
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NodeAggregatedFormulasComponent, never>;
|
|
5284
|
-
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>;
|
|
5306
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NodeAggregatedFormulasComponent, "he-node-aggregated-formulas", never, { "termType": { "alias": "termType"; "required": false; "isSignal": true; }; "termId": { "alias": "termId"; "required": false; "isSignal": true; }; "nodeKey": { "alias": "nodeKey"; "required": false; "isSignal": true; }; "term": { "alias": "term"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "worldAggregation": { "alias": "worldAggregation"; "required": false; "isSignal": true; }; "subAggregation": { "alias": "subAggregation"; "required": false; "isSignal": true; }; "substituted": { "alias": "substituted"; "required": false; "isSignal": true; }; }, { "substituted": "substitutedChange"; }, never, never, true, never>;
|
|
5285
5307
|
}
|
|
5286
5308
|
|
|
5287
5309
|
interface IAggregationRow {
|
|
5288
5310
|
index: number;
|
|
5289
5311
|
value: any;
|
|
5312
|
+
term?: ITermJSONLD;
|
|
5290
5313
|
segments: IBlankNodeIdentityGroup['rows'][0]['segments'];
|
|
5291
5314
|
scalars: IBlankNodeIdentityGroup['rows'][0]['scalars'];
|
|
5292
5315
|
label: string;
|