@hestia-earth/ui-components 0.40.5 → 0.40.7
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
|
@@ -20,12 +20,12 @@ import * as _hestia_earth_ui_components from '@hestia-earth/ui-components';
|
|
|
20
20
|
import { DeltaDisplayType } from '@hestia-earth/utils/dist/delta';
|
|
21
21
|
import { AnimationEvent } from '@angular/animations';
|
|
22
22
|
import { IsActiveMatchOptions } from '@angular/router';
|
|
23
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
23
24
|
import { definition, definitions, IDefinition, IDefinitionObject } from '@hestia-earth/json-schema';
|
|
24
25
|
import { ErrorKeys, IJSONConversionParams, IConvertCSVOptions } from '@hestia-earth/schema-convert';
|
|
25
26
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
26
27
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
27
28
|
import { ResizeEvent } from 'angular-resizable-element';
|
|
28
|
-
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
29
29
|
import * as chartjs_plugin_annotation from 'chartjs-plugin-annotation';
|
|
30
30
|
|
|
31
31
|
declare class HeAuthService {
|
|
@@ -1327,17 +1327,20 @@ interface ButtonGroupItem {
|
|
|
1327
1327
|
}
|
|
1328
1328
|
declare class HorizontalButtonsGroupComponent extends ControlValueAccessor<string> {
|
|
1329
1329
|
protected readonly value: _angular_core.WritableSignal<string>;
|
|
1330
|
-
protected readonly buttons: _angular_core.
|
|
1330
|
+
protected readonly buttons: _angular_core.ModelSignal<ButtonGroupItem[]>;
|
|
1331
1331
|
protected readonly defaultSelectedIndex: _angular_core.InputSignal<number>;
|
|
1332
1332
|
protected readonly removable: _angular_core.InputSignal<boolean>;
|
|
1333
|
+
protected readonly sortable: _angular_core.InputSignal<boolean>;
|
|
1333
1334
|
protected readonly styles: _angular_core.InputSignal<"primary" | "secondary">;
|
|
1334
1335
|
readonly itemRemoved: _angular_core.OutputEmitterRef<string>;
|
|
1336
|
+
readonly itemMoved: _angular_core.OutputEmitterRef<ButtonGroupItem[]>;
|
|
1335
1337
|
writeValue(value: string): void;
|
|
1338
|
+
protected drop(event: CdkDragDrop<ButtonGroupItem[]>): void;
|
|
1336
1339
|
protected select({ id }: ButtonGroupItem): void;
|
|
1337
1340
|
protected remove(event: Event, { id }: ButtonGroupItem): void;
|
|
1338
1341
|
constructor();
|
|
1339
1342
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HorizontalButtonsGroupComponent, never>;
|
|
1340
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalButtonsGroupComponent, "he-horizontal-buttons-group", never, { "buttons": { "alias": "buttons"; "required": true; "isSignal": true; }; "defaultSelectedIndex": { "alias": "defaultSelectedIndex"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; }, { "itemRemoved": "itemRemoved"; }, never, never, true, never>;
|
|
1343
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HorizontalButtonsGroupComponent, "he-horizontal-buttons-group", never, { "buttons": { "alias": "buttons"; "required": true; "isSignal": true; }; "defaultSelectedIndex": { "alias": "defaultSelectedIndex"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "sortable": { "alias": "sortable"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; }, { "buttons": "buttonsChange"; "itemRemoved": "itemRemoved"; "itemMoved": "itemMoved"; }, never, never, true, never>;
|
|
1341
1344
|
}
|
|
1342
1345
|
|
|
1343
1346
|
declare class IssueConfirmComponent {
|
|
@@ -1974,7 +1977,6 @@ declare class CyclesCompletenessComponent {
|
|
|
1974
1977
|
protected readonly isOriginal: _angular_core.Signal<boolean>;
|
|
1975
1978
|
protected readonly completenessKeys: _angular_core.Signal<string[]>;
|
|
1976
1979
|
constructor();
|
|
1977
|
-
protected trackById(_index: number, item: ICycleJSONLD): string;
|
|
1978
1980
|
protected selectIndex({ target: { value } }: {
|
|
1979
1981
|
target: {
|
|
1980
1982
|
value: any;
|
|
@@ -2048,7 +2050,6 @@ declare class CyclesMetadataComponent {
|
|
|
2048
2050
|
[k: string]: string | number | boolean | string[] | _hestia_earth_schema.ISiteJSONLD | number[] | _hestia_earth_schema.ISourceJSONLD | (string | _hestia_earth_schema.IContext)[] | Date | _hestia_earth_schema.Product[] | _hestia_earth_schema.Input[] | _hestia_earth_schema.Animal[] | _hestia_earth_schema.Emission[] | _hestia_earth_schema.Practice[] | _hestia_earth_schema.Transformation[] | _hestia_earth_schema.ISourceJSONLD[] | _hestia_earth_schema.Completeness | ICycleJSONLD[] | _hestia_earth_schema.ISiteJSONLD[] | null[][];
|
|
2049
2051
|
}>;
|
|
2050
2052
|
protected readonly keys: _angular_core.Signal<(keyof ICycleJSONLD)[]>;
|
|
2051
|
-
protected trackById(_index: number, item: ICycleJSONLD): string;
|
|
2052
2053
|
protected selectIndex({ target: { value } }: {
|
|
2053
2054
|
target: {
|
|
2054
2055
|
value: any;
|
|
@@ -2259,7 +2260,6 @@ declare class CyclesNodesComponent {
|
|
|
2259
2260
|
constructor();
|
|
2260
2261
|
private groupNodesByKey;
|
|
2261
2262
|
private groupEmissions;
|
|
2262
|
-
protected trackById(_index: number, item: ICycleJSONLD | groupedNode): any;
|
|
2263
2263
|
protected selectIndex({ target: { value } }: {
|
|
2264
2264
|
target: {
|
|
2265
2265
|
value: any;
|
|
@@ -3722,7 +3722,6 @@ declare class ImpactAssessmentsProductsComponent {
|
|
|
3722
3722
|
protected groupIndicators(): IGroupedKeys<Indicator>[];
|
|
3723
3723
|
private groupEmissions;
|
|
3724
3724
|
constructor();
|
|
3725
|
-
protected trackById(_index: number, item: IImpactAssessmentJSONLD): string;
|
|
3726
3725
|
protected updateSelectedMethodModel(termName: string): void;
|
|
3727
3726
|
protected impactName(impact: IImpactAssessmentJSONLD): any;
|
|
3728
3727
|
protected cycleLabel({ '@id': id, name }: any): any;
|
|
@@ -5016,7 +5015,6 @@ declare class SitesNodesComponent {
|
|
|
5016
5015
|
protected readonly csvFilename: _angular_core.Signal<string>;
|
|
5017
5016
|
protected readonly data: _angular_core.Signal<IGroupedKeys<Measurement | Management>[]>;
|
|
5018
5017
|
constructor();
|
|
5019
|
-
protected trackById(_index: number, item: ISiteJSONLD): string;
|
|
5020
5018
|
protected selectIndex({ target: { value } }: {
|
|
5021
5019
|
target: {
|
|
5022
5020
|
value: any;
|