@hestia-earth/ui-components 0.41.21 → 0.41.22

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 {
@@ -4209,7 +4213,7 @@ declare const nodeQualityScoreOrder: string[];
4209
4213
  declare const nodeToAggregationFilename: (node: any, countryId: string) => string;
4210
4214
  declare const isMaxStage: (node: any) => boolean;
4211
4215
  declare const nodeTypeIcon: {
4212
- [nodeType in NodeType]: svgIconNames;
4216
+ [nodeType in SchemaType]?: svgIconNames;
4213
4217
  };
4214
4218
 
4215
4219
  declare const nodeColours: {