@hestia-earth/ui-components 0.41.21 → 0.41.23
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.
|
@@ -8,6 +8,7 @@ import * as chart_js from 'chart.js';
|
|
|
8
8
|
import { Chart, BarOptions, Plugin, ChartEvent, Color, ChartConfiguration, ChartComponentLike, ChartData, ChartDataset } from 'chart.js';
|
|
9
9
|
import * as rxjs from 'rxjs';
|
|
10
10
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
11
|
+
import { PlacementArray } from '@ng-bootstrap/ng-bootstrap';
|
|
11
12
|
import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
|
|
12
13
|
import * as node_modules_chart_js_dist_types_basic from 'node_modules/chart.js/dist/types/basic';
|
|
13
14
|
import { Selection } from 'd3-selection';
|
|
@@ -18,7 +19,6 @@ import { IModel, IOrchestratorModelConfig, IOrchestratorConfig, allowedType } fr
|
|
|
18
19
|
import { DataState, File, SupportedExtensions } from '@hestia-earth/api';
|
|
19
20
|
import * as _hestia_earth_ui_components from '@hestia-earth/ui-components';
|
|
20
21
|
import { DeltaDisplayType } from '@hestia-earth/utils/dist/delta';
|
|
21
|
-
import { PlacementArray } from '@ng-bootstrap/ng-bootstrap';
|
|
22
22
|
import { AnimationEvent } from '@angular/animations';
|
|
23
23
|
import { IsActiveMatchOptions } from '@angular/router';
|
|
24
24
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -400,12 +400,16 @@ declare class ChartExportButtonComponent {
|
|
|
400
400
|
}
|
|
401
401
|
|
|
402
402
|
type chartTooltipContentFn<T> = (data: T) => string;
|
|
403
|
+
interface ITooltipOptions {
|
|
404
|
+
placement?: PlacementArray;
|
|
405
|
+
container?: 'body';
|
|
406
|
+
}
|
|
403
407
|
declare class ChartTooltipComponent<T> {
|
|
404
408
|
protected readonly tooltipFn: _angular_core.InputSignal<chartTooltipContentFn<T>>;
|
|
405
409
|
private readonly tooltip;
|
|
406
410
|
protected readonly tooltipX: _angular_core.WritableSignal<number>;
|
|
407
411
|
protected readonly tooltipY: _angular_core.WritableSignal<number>;
|
|
408
|
-
show(data: T, x: number, y: number): void;
|
|
412
|
+
show(data: T, x: number, y: number, options?: ITooltipOptions): void;
|
|
409
413
|
hide(): void;
|
|
410
414
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipComponent<any>, never>;
|
|
411
415
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartTooltipComponent<any>, "he-chart-tooltip", ["chartTooltip"], { "tooltipFn": { "alias": "tooltipFn"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1171,7 +1175,7 @@ declare class BlankNodeValueDeltaComponent {
|
|
|
1171
1175
|
|
|
1172
1176
|
type svgIconSizes = '16' | '20' | '24' | '40' | '48';
|
|
1173
1177
|
declare const iconSizes: string[];
|
|
1174
|
-
type svgIconNames = 'aggregation' | 'api' | 'api-circle' | 'archive' | 'arrow-down' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'autogenerate' | 'autogenerate-circle' | 'aws' | 'ban' | 'bell' | 'bell-with-badge' | 'book' | 'breakdown' | 'bug' | 'buoy' | 'calculation-toolkit' | 'calculator' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'certificate' | 'chart' | 'checkmark' | 'checkmark-circle' | 'checkmark-circle-filled' | 'checkmark-circle-filled-with-shadow' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'citation' | 'citation-square' | 'clock' | 'cloud' | 'collapse' | 'collapse-panel' | 'commit' | 'community' | 'community-edition' | 'compare' | 'copy' | 'corner-drag' | 'csv-file' | 'cycle' | 'dashboard' | 'data-format' | 'database-wheat' | 'dot-circle' | 'dot-filled' | 'download' | 'drag' | 'edit' | 'edit-withfield' | 'embed' | 'exclamation' | 'exclamation-triangle' | 'exclamation-triangle-filled' | 'export' | 'external-link' | 'feedback' | 'fence' | 'film' | 'filter-funnel' | 'filter-slider' | 'flash' | 'folder' | 'folder-open' | 'foodprocessor' | 'globe-continents' | 'globe-lines' | 'glossary' | 'greenhouse' | 'guide' | 'guide-overlay' | 'help' | 'help-circle' | 'history' | 'home' | 'husk' | 'image' | 'incognito' | 'indexed' | 'info' | 'info-circle' | 'lake' | 'link' | 'list-indented' | 'livestock' | 'loading' | 'loading-bar' | 'loading-circle-filled' | 'loading-circle-filled-withshadow' | 'log' | 'mail' | 'map' | 'menu' | 'messages' | 'messages-with-badge' | 'metrics' | 'migration' | 'minus' | 'model-docs' | 'news' | 'node' | 'notepad' | 'ocean' | 'organisation' | 'overflow-menu' | 'pin' | 'plus' | 'pond' | 'private-eye' | 'private-eye-crossed' | 'private-lock' | 'profile-checkmark' | 'profile-circle' | 'profile-gear' | 'progress' | 'python' | 'refresh' | 'rename' | 'retailer' | 'review' | 'river' | 'save' | 'schema' | 'search' | 'search-with-minus' | 'search-with-plus' | 'settings' | 'share' | 'share-socials' | 'shrub' | 'sign-out' | 'slack' | 'socials-gitlab' | 'socials-google' | 'socials-linkedin' | 'socials-linkedin-circle' | 'socials-orcid' | 'socials-orcid-circle' | 'sort-ascending' | 'sort-caret-down-filled' | 'sort-caret-stacked-filled-stacked' | 'sort-caret-up-filled' | 'source' | 'star' | 'table' | 'tag-filled' | 'target' | 'term' | 'textform-list' | 'tool' | 'trash' | 'tree' | 'turn-phone' | 'unit' | 'upload' | 'video' | 'xmark' | 'xmark-circle' | 'xmark-circle-filled' | 'xmark-circle-filled-with-shadow' | 'zip';
|
|
1178
|
+
type svgIconNames = 'aggregation' | 'api' | 'api-circle' | 'archive' | 'arrow-down' | 'arrow-down-right' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'autogenerate' | 'autogenerate-circle' | 'aws' | 'ban' | 'bell' | 'bell-with-badge' | 'book' | 'breakdown' | 'bug' | 'buoy' | 'calculation-toolkit' | 'calculator' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'certificate' | 'chart' | 'checkmark' | 'checkmark-circle' | 'checkmark-circle-filled' | 'checkmark-circle-filled-with-shadow' | 'chevron-double-left' | 'chevron-double-right' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'citation' | 'citation-square' | 'clock' | 'cloud' | 'collapse' | 'collapse-panel' | 'commit' | 'community' | 'community-edition' | 'compare' | 'copy' | 'corner-drag' | 'csv-file' | 'cycle' | 'dashboard' | 'data-format' | 'database-wheat' | 'dot-circle' | 'dot-filled' | 'download' | 'drag' | 'edit' | 'edit-withfield' | 'embed' | 'exclamation' | 'exclamation-triangle' | 'exclamation-triangle-filled' | 'export' | 'external-link' | 'feedback' | 'fence' | 'film' | 'filter-funnel' | 'filter-slider' | 'flash' | 'folder' | 'folder-open' | 'foodprocessor' | 'globe-continents' | 'globe-lines' | 'glossary' | 'greenhouse' | 'guide' | 'guide-overlay' | 'help' | 'help-circle' | 'history' | 'home' | 'husk' | 'image' | 'incognito' | 'indexed' | 'info' | 'info-circle' | 'lake' | 'link' | 'list-indented' | 'livestock' | 'loading' | 'loading-bar' | 'loading-circle-filled' | 'loading-circle-filled-withshadow' | 'log' | 'magnifier' | 'mail' | 'map' | 'menu' | 'messages' | 'messages-with-badge' | 'metrics' | 'migration' | 'minus' | 'model-docs' | 'news' | 'node' | 'notepad' | 'ocean' | 'organisation' | 'overflow-menu' | 'pin' | 'plus' | 'pond' | 'private-eye' | 'private-eye-crossed' | 'private-lock' | 'profile-checkmark' | 'profile-circle' | 'profile-gear' | 'progress' | 'python' | 'refresh' | 'rename' | 'retailer' | 'review' | 'river' | 'save' | 'schema' | 'search' | 'search-with-minus' | 'search-with-plus' | 'settings' | 'share' | 'share-socials' | 'shrub' | 'sign-out' | 'slack' | 'socials-gitlab' | 'socials-google' | 'socials-linkedin' | 'socials-linkedin-circle' | 'socials-orcid' | 'socials-orcid-circle' | 'sort-ascending' | 'sort-caret-down-filled' | 'sort-caret-stacked-filled-stacked' | 'sort-caret-up-filled' | 'source' | 'star' | 'table' | 'tag-filled' | 'target' | 'term' | 'textform-list' | 'tool' | 'trash' | 'tree' | 'truck' | 'turn-phone' | 'unit' | 'upload' | 'video' | 'xmark' | 'xmark-circle' | 'xmark-circle-filled' | 'xmark-circle-filled-with-shadow' | 'zip';
|
|
1175
1179
|
declare const icons: svgIconNames[];
|
|
1176
1180
|
|
|
1177
1181
|
declare class ClipboardComponent {
|
|
@@ -1264,6 +1268,7 @@ interface INavigationMenuLink extends INavigationMenuLinkBase {
|
|
|
1264
1268
|
}
|
|
1265
1269
|
declare class NavigationMenuComponent {
|
|
1266
1270
|
protected readonly links: _angular_core.InputSignal<INavigationMenuLink[]>;
|
|
1271
|
+
protected readonly secondaryLinks: _angular_core.InputSignal<INavigationMenuLink[]>;
|
|
1267
1272
|
protected readonly sticky: _angular_core.InputSignal<boolean>;
|
|
1268
1273
|
protected readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
1269
1274
|
protected readonly routerLinkMatchOptions: _angular_core.InputSignal<IsActiveMatchOptions>;
|
|
@@ -1280,7 +1285,7 @@ declare class NavigationMenuComponent {
|
|
|
1280
1285
|
};
|
|
1281
1286
|
protected selectLink($event: Event, link: INavigationMenuLink): boolean;
|
|
1282
1287
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavigationMenuComponent, never>;
|
|
1283
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationMenuComponent, "he-navigation-menu", never, { "links": { "alias": "links"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "routerLinkMatchOptions": { "alias": "routerLinkMatchOptions"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[header]", "[footer]"], true, never>;
|
|
1288
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationMenuComponent, "he-navigation-menu", never, { "links": { "alias": "links"; "required": false; "isSignal": true; }; "secondaryLinks": { "alias": "secondaryLinks"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "routerLinkMatchOptions": { "alias": "routerLinkMatchOptions"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["[header]", "[footer]"], true, never>;
|
|
1284
1289
|
}
|
|
1285
1290
|
|
|
1286
1291
|
declare class DrawerContainerComponent {
|
|
@@ -1311,6 +1316,7 @@ declare class DrawerContainerComponent {
|
|
|
1311
1316
|
protected readonly contentPaddingStyles: _angular_core.InputSignal<string>;
|
|
1312
1317
|
protected readonly menuOverlap: _angular_core.InputSignal<boolean>;
|
|
1313
1318
|
protected readonly links: _angular_core.InputSignal<INavigationMenuLink[]>;
|
|
1319
|
+
protected readonly secondaryLinks: _angular_core.InputSignal<INavigationMenuLink[]>;
|
|
1314
1320
|
protected readonly drawerHeaderTemplate: _angular_core.InputSignal<TemplateRef<any>>;
|
|
1315
1321
|
/**
|
|
1316
1322
|
* Drawer content is not visible when the drawer is compacted.
|
|
@@ -1370,7 +1376,7 @@ declare class DrawerContainerComponent {
|
|
|
1370
1376
|
protected animationDone(event: AnimationEvent): void;
|
|
1371
1377
|
private _getContentLeftSideSpace;
|
|
1372
1378
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DrawerContainerComponent, never>;
|
|
1373
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerContainerComponent, "he-drawer-container", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "compactBreakpoint": { "alias": "compactBreakpoint"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "contentStyles": { "alias": "contentStyles"; "required": false; "isSignal": true; }; "contentPaddingStyles": { "alias": "contentPaddingStyles"; "required": false; "isSignal": true; }; "menuOverlap": { "alias": "menuOverlap"; "required": false; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; "drawerHeaderTemplate": { "alias": "drawerHeaderTemplate"; "required": false; "isSignal": true; }; "drawerContentTemplate": { "alias": "drawerContentTemplate"; "required": false; "isSignal": true; }; "drawerFooterTemplate": { "alias": "drawerFooterTemplate"; "required": false; "isSignal": true; }; "drawerMenuHeaderTemplate": { "alias": "drawerMenuHeaderTemplate"; "required": false; "isSignal": true; }; "drawerMenuFooterTemplate": { "alias": "drawerMenuFooterTemplate"; "required": false; "isSignal": true; }; "compactMenuLabel": { "alias": "compactMenuLabel"; "required": false; "isSignal": true; }; "compactHeaderClass": { "alias": "compactHeaderClass"; "required": false; "isSignal": true; }; "compactMenuHeaderClass": { "alias": "compactMenuHeaderClass"; "required": false; "isSignal": true; }; "minMenuDistance": { "alias": "minMenuDistance"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "width": "widthChange"; "opened": "opened"; "closed": "closed"; }, never, ["[drawer-content]"], true, never>;
|
|
1379
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DrawerContainerComponent, "he-drawer-container", never, { "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "compactBreakpoint": { "alias": "compactBreakpoint"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "collapsible": { "alias": "collapsible"; "required": false; "isSignal": true; }; "contentStyles": { "alias": "contentStyles"; "required": false; "isSignal": true; }; "contentPaddingStyles": { "alias": "contentPaddingStyles"; "required": false; "isSignal": true; }; "menuOverlap": { "alias": "menuOverlap"; "required": false; "isSignal": true; }; "links": { "alias": "links"; "required": false; "isSignal": true; }; "secondaryLinks": { "alias": "secondaryLinks"; "required": false; "isSignal": true; }; "drawerHeaderTemplate": { "alias": "drawerHeaderTemplate"; "required": false; "isSignal": true; }; "drawerContentTemplate": { "alias": "drawerContentTemplate"; "required": false; "isSignal": true; }; "drawerFooterTemplate": { "alias": "drawerFooterTemplate"; "required": false; "isSignal": true; }; "drawerMenuHeaderTemplate": { "alias": "drawerMenuHeaderTemplate"; "required": false; "isSignal": true; }; "drawerMenuFooterTemplate": { "alias": "drawerMenuFooterTemplate"; "required": false; "isSignal": true; }; "compactMenuLabel": { "alias": "compactMenuLabel"; "required": false; "isSignal": true; }; "compactHeaderClass": { "alias": "compactHeaderClass"; "required": false; "isSignal": true; }; "compactMenuHeaderClass": { "alias": "compactMenuHeaderClass"; "required": false; "isSignal": true; }; "minMenuDistance": { "alias": "minMenuDistance"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "width": "widthChange"; "opened": "opened"; "closed": "closed"; }, never, ["[drawer-content]"], true, never>;
|
|
1374
1380
|
}
|
|
1375
1381
|
|
|
1376
1382
|
interface ButtonGroupItem {
|
|
@@ -4209,7 +4215,7 @@ declare const nodeQualityScoreOrder: string[];
|
|
|
4209
4215
|
declare const nodeToAggregationFilename: (node: any, countryId: string) => string;
|
|
4210
4216
|
declare const isMaxStage: (node: any) => boolean;
|
|
4211
4217
|
declare const nodeTypeIcon: {
|
|
4212
|
-
[nodeType in
|
|
4218
|
+
[nodeType in SchemaType]?: svgIconNames;
|
|
4213
4219
|
};
|
|
4214
4220
|
|
|
4215
4221
|
declare const nodeColours: {
|