@nova-ui/dashboards 20.0.7 → 20.0.8

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.
Files changed (24) hide show
  1. package/fesm2022/nova-ui-dashboards.mjs +455 -5
  2. package/fesm2022/nova-ui-dashboards.mjs.map +1 -1
  3. package/index.d.ts +122 -4
  4. package/package.json +3 -3
  5. package/sdk/atoms/src/lib/components/public-api.d.ts +1 -0
  6. package/sdk/atoms/src/lib/components/public-api.js +1 -0
  7. package/sdk/atoms/src/lib/components/public-api.js.map +1 -1
  8. package/sdk/atoms/src/lib/components/views/kpi-tile-view/kpi-tile-view.component.d.ts +32 -0
  9. package/sdk/atoms/src/lib/components/views/kpi-tile-view/kpi-tile-view.component.js +137 -0
  10. package/sdk/atoms/src/lib/components/views/kpi-tile-view/kpi-tile-view.component.js.map +1 -0
  11. package/sdk/atoms/src/lib/components/views/proportional-chart-view/proportional-chart-view.component.d.ts +55 -0
  12. package/sdk/atoms/src/lib/components/views/proportional-chart-view/proportional-chart-view.component.js +282 -0
  13. package/sdk/atoms/src/lib/components/views/proportional-chart-view/proportional-chart-view.component.js.map +1 -0
  14. package/sdk/atoms/src/lib/components/views/public-api.d.ts +4 -0
  15. package/sdk/atoms/src/lib/components/views/public-api.js +27 -0
  16. package/sdk/atoms/src/lib/components/views/public-api.js.map +1 -0
  17. package/sdk/atoms/src/lib/components/views/types.d.ts +19 -0
  18. package/sdk/atoms/src/lib/components/views/types.js +22 -0
  19. package/sdk/atoms/src/lib/components/views/types.js.map +1 -0
  20. package/sdk/atoms/src/lib/components/views/views.module.d.ts +7 -0
  21. package/sdk/atoms/src/lib/components/views/views.module.js +59 -0
  22. package/sdk/atoms/src/lib/components/views/views.module.js.map +1 -0
  23. package/sdk/atoms/src/lib/dashboards.module.js +2 -0
  24. package/sdk/atoms/src/lib/dashboards.module.js.map +1 -1
package/index.d.ts CHANGED
@@ -7,7 +7,7 @@ import { AbstractControl, FormGroup, FormGroupDirective, FormBuilder, FormContro
7
7
  import * as i4 from '@angular/common';
8
8
  import { KeyValue } from '@angular/common';
9
9
  import { BehaviorSubject, Observable, ReplaySubject, Subject, noop } from 'rxjs';
10
- import * as i35 from '@nova-ui/charts';
10
+ import * as i5 from '@nova-ui/charts';
11
11
  import { TimeseriesZoomPlugin, ZoomPlugin, IScale, IXYScales, ChartAssist, Renderer, IAccessors, IChartAssistSeries, IValueProvider, ChartPalette, IChartSeries, IAllAround, ChartDonutContentPlugin, SparkChartAssist, StatusAccessors, TimeseriesZoomPluginsSyncService, ITimeseriesZoomPluginInspectionFrame } from '@nova-ui/charts';
12
12
  import * as i70 from 'angular-gridster2';
13
13
  import { GridsterItem, GridsterConfig, GridsterComponent, GridsterItemComponent } from 'angular-gridster2';
@@ -2238,6 +2238,124 @@ declare class TimeseriesInspectionMenuComponent implements OnInit, OnChanges, On
2238
2238
  static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesInspectionMenuComponent, "nui-timeseries-inspection-menu", never, { "plugin": { "alias": "plugin"; "required": false; }; "exploringEnabled": { "alias": "exploringEnabled"; "required": false; }; "metricIds": { "alias": "metricIds"; "required": false; }; "collectionId": { "alias": "collectionId"; "required": false; }; "allowed": { "alias": "allowed"; "required": false; }; }, {}, never, never, false, never>;
2239
2239
  }
2240
2240
 
2241
+ /** A single data item in the proportional chart. */
2242
+ interface IProportionalDataItem {
2243
+ /** Unique identifier for the segment. */
2244
+ id: string;
2245
+ /** Display name shown in legend. */
2246
+ name: string;
2247
+ /** Numeric value determining segment size. */
2248
+ value: number;
2249
+ /** Optional CSS color (hex or token). If not provided, palette is used. */
2250
+ color?: string;
2251
+ /** Optional icon name displayed in legend. */
2252
+ icon?: string;
2253
+ /** Optional link for drill-down interaction. */
2254
+ link?: string;
2255
+ }
2256
+ /** Chart type variants the view supports. */
2257
+ type ProportionalChartType = "donut" | "pie" | "verticalBar" | "horizontalBar";
2258
+ /** Legend placement relative to the chart. */
2259
+ type ViewLegendPlacement = "right" | "bottom" | "none";
2260
+
2261
+ declare class ProportionalChartViewComponent implements AfterViewInit, OnChanges, OnDestroy {
2262
+ private static NO_SWITCH_LAYOUT_INTERVAL_SIZE;
2263
+ private static MAX_ROW_LAYOUT_SIZE;
2264
+ private static TICK_LABEL_MAX_WIDTH;
2265
+ data: Array<IProportionalDataItem>;
2266
+ chartType: ProportionalChartType;
2267
+ legendPlacement: ViewLegendPlacement;
2268
+ colors: Array<string> | Record<string, string>;
2269
+ interactive: boolean;
2270
+ donutContentTemplate: TemplateRef<any>;
2271
+ legendItemTemplate: TemplateRef<any>;
2272
+ itemClick: EventEmitter<IProportionalDataItem>;
2273
+ chartAssist: ChartAssist;
2274
+ accessors: IAccessors;
2275
+ donutContentPlugin: ChartDonutContentPlugin | null;
2276
+ prioritizedGridRows: {
2277
+ right: boolean;
2278
+ bottom: boolean;
2279
+ };
2280
+ private gridContainer;
2281
+ private changeDetector;
2282
+ private ngZone;
2283
+ private kvDiffers;
2284
+ private differ;
2285
+ private renderer;
2286
+ private scales;
2287
+ private chartPalette;
2288
+ private resizeObserver;
2289
+ private chartTypeSubscription$;
2290
+ private unitConversionPipe;
2291
+ private chartSeries;
2292
+ get isEmpty(): boolean;
2293
+ ngOnChanges(changes: SimpleChanges): void;
2294
+ ngAfterViewInit(): void;
2295
+ ngOnDestroy(): void;
2296
+ isDonutChart(): boolean;
2297
+ hasLegend(): boolean;
2298
+ legendShouldBeAlignedRight(): boolean;
2299
+ onInteraction(legendSeries: any): void;
2300
+ computeLegendTileValue(legendSeries: unknown): string | undefined;
2301
+ private buildChart;
2302
+ private handleGridFlowOnResize;
2303
+ private applyTickLabelMaxWidths;
2304
+ private onResize;
2305
+ private isContainerInNoSwitchLayoutInterval;
2306
+ private containerHasRowLayoutWidth;
2307
+ private updateChart;
2308
+ private updateChartColors;
2309
+ private getDataDrivenColorProvider;
2310
+ private getConfigurationColorProvider;
2311
+ private mapDataToSeries;
2312
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProportionalChartViewComponent, never>;
2313
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProportionalChartViewComponent, "nui-proportional-chart-view", never, { "data": { "alias": "data"; "required": false; }; "chartType": { "alias": "chartType"; "required": false; }; "legendPlacement": { "alias": "legendPlacement"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "donutContentTemplate": { "alias": "donutContentTemplate"; "required": false; }; "legendItemTemplate": { "alias": "legendItemTemplate"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, false, never>;
2314
+ }
2315
+
2316
+ interface IKpiTileViewBroker {
2317
+ id: string;
2318
+ type?: "min" | "max";
2319
+ in$: BehaviorSubject<IBrokerValue>;
2320
+ out$: BehaviorSubject<IBrokerValue>;
2321
+ }
2322
+ declare class KpiTileViewComponent {
2323
+ value: string | number | null;
2324
+ label: string;
2325
+ units: string;
2326
+ backgroundColor: string;
2327
+ textColor: string;
2328
+ icon: string;
2329
+ link: string;
2330
+ interactive: boolean;
2331
+ loading: boolean;
2332
+ empty: boolean;
2333
+ fontSize: string;
2334
+ margin: number;
2335
+ syncValuesBroker: Array<IKpiTileViewBroker>;
2336
+ valueTemplate: TemplateRef<any>;
2337
+ tileClick: EventEmitter<void>;
2338
+ defaultColor: string;
2339
+ get computedTextColor(): string;
2340
+ get isInteractive(): boolean;
2341
+ get showEmpty(): boolean;
2342
+ onInteraction(): void;
2343
+ getScaleBroker(id: string): IKpiTileViewBroker | undefined;
2344
+ static ɵfac: i0.ɵɵFactoryDeclaration<KpiTileViewComponent, never>;
2345
+ static ɵcmp: i0.ɵɵComponentDeclaration<KpiTileViewComponent, "nui-kpi-tile-view", never, { "value": { "alias": "value"; "required": false; }; "label": { "alias": "label"; "required": false; }; "units": { "alias": "units"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "link": { "alias": "link"; "required": false; }; "interactive": { "alias": "interactive"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "empty": { "alias": "empty"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "syncValuesBroker": { "alias": "syncValuesBroker"; "required": false; }; "valueTemplate": { "alias": "valueTemplate"; "required": false; }; }, { "tileClick": "tileClick"; }, never, never, false, never>;
2346
+ }
2347
+
2348
+ /**
2349
+ * A Pizzagna-free module that exports standalone view components for
2350
+ * proportional charts and KPI tiles. Consumers can import this module
2351
+ * without needing PIZZAGNA_EVENT_BUS, DATA_SOURCE, or any Pizzagna providers.
2352
+ */
2353
+ declare class NuiDashboardViewsModule {
2354
+ static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardViewsModule, never>;
2355
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardViewsModule, [typeof ProportionalChartViewComponent, typeof KpiTileViewComponent], [typeof i4.CommonModule, typeof i73.NuiBusyModule, typeof i5.NuiChartsModule, typeof i73.NuiCommonModule, typeof i73.NuiIconModule, typeof NuiDashboardsCommonModule], [typeof ProportionalChartViewComponent, typeof KpiTileViewComponent]>;
2356
+ static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardViewsModule>;
2357
+ }
2358
+
2241
2359
  /** @ignore */
2242
2360
  declare class ConfiguratorComponent implements OnInit, OnDestroy {
2243
2361
  widgetTypesService: WidgetTypesService;
@@ -4381,7 +4499,7 @@ declare class NuiDashboardConfiguratorModule {
4381
4499
  declare class NuiDashboardsModule {
4382
4500
  constructor(widgetTypesService: WidgetTypesService, componentRegistry: ComponentRegistryService, eventRegistry: EventRegistryService, kpiFormattersRegistry: KpiFormattersRegistryService, riskScoreFormattersRegistry: RiskScoreFormattersRegistryService);
4383
4501
  static ɵfac: i0.ɵɵFactoryDeclaration<NuiDashboardsModule, never>;
4384
- static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof DashboardComponent, typeof EmbeddedContentComponent, typeof GridsterItemWidgetIdDirective, typeof KpiComponent, typeof RiskScoreTileComponent, typeof LineChartComponent, typeof LoadingComponent, typeof ProportionalWidgetComponent, typeof StackComponent, typeof StackedAreaChartComponent, typeof StackedBarChartComponent, typeof StackedPercentageAreaChartComponent, typeof StatusBarChartComponent, typeof TableWidgetComponent, typeof DelayedMousePresenceDetectionDirective, typeof TemplateLoadErrorComponent, typeof TilesComponent, typeof TimeframeSelectionComponent, typeof TimeseriesWidgetComponent, typeof WidgetBodyComponent, typeof WidgetBodyContentComponent, typeof WidgetComponent, typeof WidgetEditorDirective, typeof WidgetHeaderComponent, typeof ListWidgetComponent, typeof ListLeafItemComponent, typeof ListGroupItemComponent, typeof ListNavigationBarComponent, typeof WidgetSearchComponent, typeof ProportionalDonutContentComponent, typeof TimeseriesInspectionMenuComponent], [typeof NuiDashboardsCommonModule, typeof i70.GridsterModule, typeof i73.NuiBusyModule, typeof i73.NuiButtonModule, typeof i35.NuiChartsModule, typeof NuiDashboardConfiguratorModule, typeof i73.NuiIconModule, typeof i73.NuiImageModule, typeof i73.NuiMenuModule, typeof NuiPizzagnaModule, typeof i73.NuiPopupModule, typeof i73.NuiProgressModule, typeof i73.NuiTableModule, typeof i73.NuiTimeFrameBarModule, typeof i67.ScrollingModule, typeof i73.NuiTimeFramePickerModule, typeof _angular_forms.ReactiveFormsModule, typeof i73.NuiSpinnerModule, typeof i73.NuiTooltipModule, typeof i73.NuiSearchModule, typeof i73.NuiCommonModule, typeof i73.NuiRepeatModule, typeof i73.NuiRiskScoreModule, typeof i73.NuiSelectModule, typeof i73.NuiPopoverModule, typeof i73.NuiPaginatorModule, typeof i73.NuiMessageModule], [typeof DashboardComponent, typeof EmbeddedContentComponent, typeof GridsterItemWidgetIdDirective, typeof KpiComponent, typeof RiskScoreTileComponent, typeof LineChartComponent, typeof LoadingComponent, typeof ProportionalWidgetComponent, typeof StackComponent, typeof StackedAreaChartComponent, typeof StackedBarChartComponent, typeof StackedPercentageAreaChartComponent, typeof StatusBarChartComponent, typeof TableWidgetComponent, typeof DelayedMousePresenceDetectionDirective, typeof TemplateLoadErrorComponent, typeof TilesComponent, typeof TimeframeSelectionComponent, typeof TimeseriesWidgetComponent, typeof WidgetBodyComponent, typeof WidgetBodyContentComponent, typeof WidgetComponent, typeof WidgetEditorDirective, typeof WidgetHeaderComponent, typeof ListWidgetComponent, typeof ListLeafItemComponent, typeof ListGroupItemComponent, typeof ListNavigationBarComponent, typeof WidgetSearchComponent, typeof ProportionalDonutContentComponent, typeof TimeseriesInspectionMenuComponent]>;
4502
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NuiDashboardsModule, [typeof DashboardComponent, typeof EmbeddedContentComponent, typeof GridsterItemWidgetIdDirective, typeof KpiComponent, typeof RiskScoreTileComponent, typeof LineChartComponent, typeof LoadingComponent, typeof ProportionalWidgetComponent, typeof StackComponent, typeof StackedAreaChartComponent, typeof StackedBarChartComponent, typeof StackedPercentageAreaChartComponent, typeof StatusBarChartComponent, typeof TableWidgetComponent, typeof DelayedMousePresenceDetectionDirective, typeof TemplateLoadErrorComponent, typeof TilesComponent, typeof TimeframeSelectionComponent, typeof TimeseriesWidgetComponent, typeof WidgetBodyComponent, typeof WidgetBodyContentComponent, typeof WidgetComponent, typeof WidgetEditorDirective, typeof WidgetHeaderComponent, typeof ListWidgetComponent, typeof ListLeafItemComponent, typeof ListGroupItemComponent, typeof ListNavigationBarComponent, typeof WidgetSearchComponent, typeof ProportionalDonutContentComponent, typeof TimeseriesInspectionMenuComponent], [typeof NuiDashboardsCommonModule, typeof NuiDashboardViewsModule, typeof i70.GridsterModule, typeof i73.NuiBusyModule, typeof i73.NuiButtonModule, typeof i5.NuiChartsModule, typeof NuiDashboardConfiguratorModule, typeof i73.NuiIconModule, typeof i73.NuiImageModule, typeof i73.NuiMenuModule, typeof NuiPizzagnaModule, typeof i73.NuiPopupModule, typeof i73.NuiProgressModule, typeof i73.NuiTableModule, typeof i73.NuiTimeFrameBarModule, typeof i67.ScrollingModule, typeof i73.NuiTimeFramePickerModule, typeof _angular_forms.ReactiveFormsModule, typeof i73.NuiSpinnerModule, typeof i73.NuiTooltipModule, typeof i73.NuiSearchModule, typeof i73.NuiCommonModule, typeof i73.NuiRepeatModule, typeof i73.NuiRiskScoreModule, typeof i73.NuiSelectModule, typeof i73.NuiPopoverModule, typeof i73.NuiPaginatorModule, typeof i73.NuiMessageModule], [typeof DashboardComponent, typeof EmbeddedContentComponent, typeof GridsterItemWidgetIdDirective, typeof KpiComponent, typeof RiskScoreTileComponent, typeof LineChartComponent, typeof LoadingComponent, typeof ProportionalWidgetComponent, typeof StackComponent, typeof StackedAreaChartComponent, typeof StackedBarChartComponent, typeof StackedPercentageAreaChartComponent, typeof StatusBarChartComponent, typeof TableWidgetComponent, typeof DelayedMousePresenceDetectionDirective, typeof TemplateLoadErrorComponent, typeof TilesComponent, typeof TimeframeSelectionComponent, typeof TimeseriesWidgetComponent, typeof WidgetBodyComponent, typeof WidgetBodyContentComponent, typeof WidgetComponent, typeof WidgetEditorDirective, typeof WidgetHeaderComponent, typeof ListWidgetComponent, typeof ListLeafItemComponent, typeof ListGroupItemComponent, typeof ListNavigationBarComponent, typeof WidgetSearchComponent, typeof ProportionalDonutContentComponent, typeof TimeseriesInspectionMenuComponent]>;
4385
4503
  static ɵinj: i0.ɵɵInjectorDeclaration<NuiDashboardsModule>;
4386
4504
  }
4387
4505
 
@@ -4697,5 +4815,5 @@ declare const DEFAULT_KPI_BACKGROUND_COLORS: {
4697
4815
  label: string;
4698
4816
  }[];
4699
4817
 
4700
- export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseConverter, BaseLayout, CHANGE_SELECTION, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_RISK_SCORE_FORMATTERS_REGISTRY, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TABLE_SCROLL_TYPE_CONVERTER, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, RiskScoreFormatterTypes, RiskScoreFormattersRegistryService, RiskScoreTileComponent, RiskScoreTileDescriptionConfigurationComponent, RiskScoreTilesConfigurationComponent, SCROLL_NEXT_PAGE, SELECTED_ITEMS, SELECTION, SET_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, ScrollType, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TIMESERIES_INSPECTION_MENU_CLEAR, TIMESERIES_INSPECTION_MENU_CLOSE, TIMESERIES_INSPECTION_MENU_EXPLORE, TIMESERIES_INSPECTION_MENU_SYNCHRONIZE, TIMESERIES_INSPECTION_MENU_ZOOM_IN, TIMESERIES_INSPECTION_MENU_ZOOM_OUT, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableScrollTypeEditorComponent, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UnitTestRegistryService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorAccordionHeaderComponent, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
4701
- export type { BroadcasterTrackOnType, ComparatorFn, ComparatorTypes, DeepPartial, IAddFormattersOptions, IAggregatorConfiguratorProperties, IBackgroundColorComparator, IBroadcasterConfig, IBroker, IBrokerUserConfig, IBrokerValue, IChartPreset, IComparatorsDict, IComponentConfiguration, IComponentIdPayload, IComponentPortalBundle, IComponentWithLateLoadKey, IConfigurable, IConfigurator, IConfiguratorConverter, IConfiguratorForm, IConfiguratorSource, IConverterFormPartsProperties, IDashboard, IDashboardBelowFoldLazyLoadingConfig, IDashboardPersistenceHandler, IDashwizButtonsComponent, IDashwizComponent, IDashwizStepComponent, IDashwizStepNavigatedEvent, IDashwizWaitEvent, IDataSourceBusyPayload, IDataSourceError, IDataSourceOutput, IDataSourceOutputPayload, IDonutContentConfig, IDrilldownComponentConfiguration, IDrilldownComponentsConfiguration, IFieldMapperAggregatorProperties, IFormatter, IFormatterConfigurator, IFormatterDefinition, IFormatterDefinitionProperties, IFormatterProperties, IHasChangeDetector, IHasComponent, IHasForm, IHeaderLinkProvider, IInfoMessage, IInfoMessageProperties, IInteractionHandlerProperties, IInteractionPayload, IItemConfiguration, IKpiColorRules, IKpiConfiguration, IKpiData, IKpiFormatterProperties, IKpiFormattersConfiguration, IKpiItemConfiguration, IKpiThresholdsConfig, IKpiWidgetIndicatorData, ILegendFormat, ILegendPlacementOption, ILinkDefinition, IListWidgetConfiguration, INavigationBarButtons, INavigationBarConfig, IPageSizeSetMenuOption, IPaginatorState, IPaletteColor, IPercentageAggregatorProperties, IPizza, IPizzagna, IPizzagnaLayer, IPizzagnaProperty, IPortalEnvironment, IPreviewEventPayload, IProperties, IProportionalAggregatorFn, IProportionalAggregatorOrigin, IProportionalDataFieldsConfig, IProportionalDonutContentAggregator, IProportionalDonutContentAggregatorDefinition, IProportionalDonutContentAggregatorProperties, IProportionalWidgetChartEditorOptions, IProportionalWidgetChartOptions, IProportionalWidgetChartTypeConfiguration, IProportionalWidgetConfig, IProportionalWidgetData, IProviderConfiguration, IProviderConfigurationForDisplay, IProviderProperties, IRefresherProperties, IRegistryAddOptions, IRemoveMetricPayload, IRiskScoreConfiguration, IRiskScoreData, IRiskScoreFormatterProperties, IRiskScoreFormattersConfiguration, IRiskScoreItemConfiguration, ISearchOnKeyUp, ISerializableTimeframe, ISetPropertyPayload, IStaticProviders, ITableFormatterDefinition, ITableWidgetColumnConfig, ITableWidgetConfig, ITableWidgetPaginatorConfig, ITableWidgetSorterConfig, ITickLabelConfig, ITimeSpanOption, ITimeseriesChartTypeOption, ITimeseriesDataSourceAdapterConfiguration, ITimeseriesItemConfiguration, ITimeseriesOutput, ITimeseriesScaleConfig, ITimeseriesScalesConfig, ITimeseriesWidgetConfig, ITimeseriesWidgetData, ITimeseriesWidgetSeries, ITimeseriesWidgetSeriesData, ITimeseriesWidgetStatusData, ITimeseriesZoomPluginExploreData, IUrlInteractionHandlerProperties, IValueChange, IWidget, IWidgetEditor, IWidgetErrorDisplayProperties, IWidgetEvent, IWidgetMetadata, IWidgetPayload, IWidgetResizePayload, IWidgetSearchConfiguration, IWidgetSelector, IWidgetTemplateSelector, IWidgetToDashboardEventProxyConfiguration, IWidgetTypeDefinition, IWidgets, TableWidgetSelectionConfig, TimeseriesWidgetZoomPlugin, WidgetRemovalOperation, WidgetUpdateOperation };
4818
+ export { AccordionState, AddDataPipe, AggregatorMetricSelectorConfigurationComponent, BackgroundColorRulesConfigurationComponent, BaseConverter, BaseLayout, CHANGE_SELECTION, CHART_METRIC_REMOVE, CHART_PALETTE_CS3_ALTERNATIVE_NAMES, CHART_PALETTE_CS_S_EXTENDED_ALTERNATIVE_NAMES, CONFIGURATOR_CONVERTER, ComponentPortalDirective, ComponentPortalService, ComponentRegistryService, ConfiguratorComponent, ConfiguratorHeadingComponent, ConfiguratorHeadingService, ConfiguratorService, DASHBOARD_EDIT_MODE, DASHBOARD_EVENT_BUS, DATA_SOURCE, DATA_SOURCE_BUSY, DATA_SOURCE_CHANGE, DATA_SOURCE_CREATED, DATA_SOURCE_DESTROYED, DATA_SOURCE_INVOKED, DATA_SOURCE_OUTPUT, DEFAULT_COMPARATORS, DEFAULT_KPI_BACKGROUND_COLORS, DEFAULT_KPI_FORMATTERS, DEFAULT_KPI_TILE_COLOR, DEFAULT_LEGEND_FORMATTERS, DEFAULT_PIZZAGNA_ROOT, DEFAULT_PROPORTIONAL_CONTENT_AGGREGATORS, DEFAULT_PROPORTIONAL_CONTENT_FORMATTERS, DEFAULT_REFRESH_INTERVAL, DEFAULT_UNIT_CONVERSION_THRESHOLD, DONUT_CONTENT_CONFIGURATION_SLICE, DRILLDOWN, DashboardComponent, DashboardUnitConversionPipe, DashwizButtonsComponent, DashwizComponent, DashwizStepComponent, DataSourceAdapter, DataSourceConfigurationComponent, DataSourceConfigurationV2Component, DataSourceErrorComponent, DelayedMousePresenceDetectionDirective, DescriptionConfigurationComponent, DescriptionConfigurationV2Component, DonutChartFormatterConfiguratorComponent, DonutContentConfigurationComponent, DonutContentPercentageConfigurationComponent, DonutContentPercentageFormatterComponent, DonutContentRawFormatterComponent, DonutContentSumFormatterComponent, DropAreaComponent, DynamicComponentCreator, ERROR_FALLBACK_MAP, ERROR_NODES, EVENT_PROXY, EmbeddedContentComponent, EmbeddedContentConfigurationComponent, EmbeddedContentMode, EntityFormattingConfigurationComponent, ErrorNodeKey, EventRegistryService, FORMATTERS_REGISTRY, FieldMapperAggregatorConfiguratorComponent, FormHeaderIconPipePipe, FormStackComponent, FormatterConfiguratorComponent, FormatterRegistryService, GridsterItemWidgetIdDirective, GroupingConfigurationComponent, HEADER_LINK_PROVIDER, HttpStatusCode, INTERACTION, IconFormatterComponent, InfoMessageConfigurationComponent, InteractionHandler, ItemsDynamicComponent, KpiColorComparatorsRegistryService, KpiComponent, KpiDescriptionConfigurationComponent, KpiFormatterTypes, KpiFormattersRegistryService, KpiTileViewComponent, KpiTilesConfigurationComponent, KpiTilesConverterService, KpiWidgetColorService, KpiWidgetFontSizes, KpiWidgetThresholdColors, LegendPlacement, LineChartComponent, LinkConfiguratorComponent, LinkFormatterComponent, ListGroupItemComponent, ListLeafItemComponent, ListNavigationBarComponent, ListWidgetComponent, LoadingComponent, NOVA_CONFIGURATOR_DATA_SOURCE_MANAGER, NOVA_DASHBOARD_EVENT_PROXY, NOVA_DATASOURCE_ADAPTER, NOVA_DATASOURCE_INTERVAL_REFRESHER, NOVA_DRILLDOWN_DATASOURCE_ADAPTER, NOVA_EVENT_BUS_DEBUGGER, NOVA_GENERIC_ARRAY_CONVERTER, NOVA_GENERIC_CONVERTER, NOVA_KPI_COLOR_PRIORITIZER, NOVA_KPI_DATASOURCE_ADAPTER, NOVA_KPI_FORMATTERS_REGISTRY, NOVA_KPI_SCALE_SYNC_BROKER, NOVA_KPI_SECTION_CONVERTER, NOVA_KPI_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_KPI_TILES_CONVERTER, NOVA_LOADING_ADAPTER, NOVA_PIZZAGNA_BROADCASTER, NOVA_PROPORTIONAL_CONTENT_FORMATTERS_REGISTRY, NOVA_PROPORTIONAL_WIDGET_CHART_OPTIONS_CONVERTER, NOVA_RISK_SCORE_FORMATTERS_REGISTRY, NOVA_STATUS_CONTENT_FALLBACK_ADAPTER, NOVA_TABLE_COLUMNS_CONVERTER, NOVA_TABLE_DATASOURCE_ADAPTER, NOVA_TABLE_FILTERS_CONVERTER, NOVA_TABLE_FORMATTERS_REGISTRY, NOVA_TABLE_SCROLL_TYPE_CONVERTER, NOVA_TEST_REGISTRY, NOVA_TIMESERIES_DATASOURCE_ADAPTER, NOVA_TIMESERIES_METADATA_CONVERTER, NOVA_TIMESERIES_SERIES_CONVERTER, NOVA_TIMESERIES_TILE_INDICATOR_DATA_CONVERTER, NOVA_TITLE_AND_DESCRIPTION_CONVERTER, NOVA_URL_INTERACTION_HANDLER, NOVA_VIRTUAL_VIEWPORT_MANAGER, NuiDashboardConfiguratorModule, NuiDashboardViewsModule, NuiDashboardsCommonModule, NuiDashboardsModule, NuiPizzagnaModule, PIZZAGNA_EVENT_BUS, PREVIEW_EVENT, PercentageFormatterComponent, PizzagnaComponent, PizzagnaLayer, PizzagnaRootPipe, PizzagnaService, PresentationConfigurationComponent, PresentationConfigurationV2Component, PreviewOverlayComponent, PreviewPlaceholderComponent, PreviewService, ProportionalChartOptionsEditorComponent, ProportionalChartOptionsEditorV2Component, ProportionalChartViewComponent, ProportionalContentAggregatorsRegistryService, ProportionalDonutContentComponent, ProportionalDonutContentFormattersRegistryService, ProportionalLegendFormattersRegistryService, ProportionalWidgetChartOptionsConverterService, ProportionalWidgetChartTypes, ProportionalWidgetComponent, ProviderRegistryService, REFRESH, REFRESHER_CONFIGURATOR, RawFormatterComponent, RefreshRateConfiguratorComponent, Refresher, RefresherConfigurationComponent, RefresherSettingsService, RiskScoreFormatterTypes, RiskScoreFormattersRegistryService, RiskScoreTileComponent, RiskScoreTileDescriptionConfigurationComponent, RiskScoreTilesConfigurationComponent, SCROLL_NEXT_PAGE, SELECTED_ITEMS, SELECTION, SET_NEXT_PAGE, SET_PROPERTY_VALUE, SET_TIMEFRAME, SUMMARY_LEGEND_BCG_COLOR, SUMMARY_LEGEND_COLOR, ScrollType, SiUnitsFormatterComponent, StackComponent, StackedAreaChartComponent, StackedBarChartComponent, StackedPercentageAreaChartComponent, StatusBarChartComponent, StatusWithIconFormatterComponent, TEST_REGISTRY, TIMESERIES_INSPECTION_MENU_CLEAR, TIMESERIES_INSPECTION_MENU_CLOSE, TIMESERIES_INSPECTION_MENU_EXPLORE, TIMESERIES_INSPECTION_MENU_SYNCHRONIZE, TIMESERIES_INSPECTION_MENU_ZOOM_IN, TIMESERIES_INSPECTION_MENU_ZOOM_OUT, TableColumnConfigurationComponent, TableColumnsConfigurationComponent, TableColumnsConfigurationV2Component, TableDataSourceAdapter, TableDataSourceErrorComponent, TableFiltersEditorComponent, TableFormatterRegistryService, TableScrollTypeEditorComponent, TableWidgetComponent, TemplateLoadErrorComponent, ThresholdsConfigurationComponent, TilesComponent, TimeframeSelectionComponent, TimeframeSerializationService, TimeseriesChartPreset, TimeseriesChartPresetService, TimeseriesChartTypes, TimeseriesDataSourceAdapter, TimeseriesInspectionMenuComponent, TimeseriesInteractionType, TimeseriesMetadataConfigurationComponent, TimeseriesScaleType, TimeseriesSeriesCollectionConfigurationComponent, TimeseriesSeriesConverterService, TimeseriesTileDescriptionConfigurationComponent, TimeseriesTileIndicatorDataConfigurationComponent, TimeseriesTransformer, TimeseriesWidgetComponent, TimeseriesWidgetProjectType, TitleAndDescriptionConfigurationComponent, TitleAndDescriptionConverterService, UnitTestRegistryService, UrlInteractionHandler, UrlInteractionService, ValueSelectorComponent, WIDGET_BODY, WIDGET_CREATE, WIDGET_EDIT, WIDGET_HEADER, WIDGET_LOADING, WIDGET_POSITION_CHANGE, WIDGET_READY, WIDGET_REMOVE, WIDGET_RESIZE, WIDGET_SEARCH, WellKnownDataSourceFeatures, WellKnownPathKey, WellKnownProviders, WidgetBodyComponent, WidgetBodyContentComponent, WidgetClonerComponent, WidgetClonerService, WidgetComponent, WidgetConfigurationService, WidgetConfiguratorSectionComponent, WidgetConfiguratorSectionHeaderPipe, WidgetEditorAccordionComponent, WidgetEditorAccordionFormStatePipe, WidgetEditorAccordionHeaderComponent, WidgetEditorComponent, WidgetEditorDirective, WidgetEditorService, WidgetErrorComponent, WidgetHeaderComponent, WidgetSearchComponent, WidgetToDashboardEventProxyService, WidgetTypesService, WindowObject, XYChartComponent, applyStatusEndpoints, chartPaletteColorMap, fieldMapper, getPizzagnaPropertyPath, hasControlInErrorState, hasTimeseriesWidgetSummaryLegend, mapDataToFormatterProperties, mergeChanges, metricsSeriesMeasurementsMinMax, percentageAggregator, refresher, sumAggregator, timeSeriesDatetimeFormatter, transformChangePoint, transformDifference, transformFloatingAverage, transformLinReg, transformLoessSmoothing, transformLoessStandardize, transformNormalize, transformPercentileStd, transformStandardize, widgetBodyContentNodes };
4819
+ export type { BroadcasterTrackOnType, ComparatorFn, ComparatorTypes, DeepPartial, IAddFormattersOptions, IAggregatorConfiguratorProperties, IBackgroundColorComparator, IBroadcasterConfig, IBroker, IBrokerUserConfig, IBrokerValue, IChartPreset, IComparatorsDict, IComponentConfiguration, IComponentIdPayload, IComponentPortalBundle, IComponentWithLateLoadKey, IConfigurable, IConfigurator, IConfiguratorConverter, IConfiguratorForm, IConfiguratorSource, IConverterFormPartsProperties, IDashboard, IDashboardBelowFoldLazyLoadingConfig, IDashboardPersistenceHandler, IDashwizButtonsComponent, IDashwizComponent, IDashwizStepComponent, IDashwizStepNavigatedEvent, IDashwizWaitEvent, IDataSourceBusyPayload, IDataSourceError, IDataSourceOutput, IDataSourceOutputPayload, IDonutContentConfig, IDrilldownComponentConfiguration, IDrilldownComponentsConfiguration, IFieldMapperAggregatorProperties, IFormatter, IFormatterConfigurator, IFormatterDefinition, IFormatterDefinitionProperties, IFormatterProperties, IHasChangeDetector, IHasComponent, IHasForm, IHeaderLinkProvider, IInfoMessage, IInfoMessageProperties, IInteractionHandlerProperties, IInteractionPayload, IItemConfiguration, IKpiColorRules, IKpiConfiguration, IKpiData, IKpiFormatterProperties, IKpiFormattersConfiguration, IKpiItemConfiguration, IKpiThresholdsConfig, IKpiTileViewBroker, IKpiWidgetIndicatorData, ILegendFormat, ILegendPlacementOption, ILinkDefinition, IListWidgetConfiguration, INavigationBarButtons, INavigationBarConfig, IPageSizeSetMenuOption, IPaginatorState, IPaletteColor, IPercentageAggregatorProperties, IPizza, IPizzagna, IPizzagnaLayer, IPizzagnaProperty, IPortalEnvironment, IPreviewEventPayload, IProperties, IProportionalAggregatorFn, IProportionalAggregatorOrigin, IProportionalDataFieldsConfig, IProportionalDataItem, IProportionalDonutContentAggregator, IProportionalDonutContentAggregatorDefinition, IProportionalDonutContentAggregatorProperties, IProportionalWidgetChartEditorOptions, IProportionalWidgetChartOptions, IProportionalWidgetChartTypeConfiguration, IProportionalWidgetConfig, IProportionalWidgetData, IProviderConfiguration, IProviderConfigurationForDisplay, IProviderProperties, IRefresherProperties, IRegistryAddOptions, IRemoveMetricPayload, IRiskScoreConfiguration, IRiskScoreData, IRiskScoreFormatterProperties, IRiskScoreFormattersConfiguration, IRiskScoreItemConfiguration, ISearchOnKeyUp, ISerializableTimeframe, ISetPropertyPayload, IStaticProviders, ITableFormatterDefinition, ITableWidgetColumnConfig, ITableWidgetConfig, ITableWidgetPaginatorConfig, ITableWidgetSorterConfig, ITickLabelConfig, ITimeSpanOption, ITimeseriesChartTypeOption, ITimeseriesDataSourceAdapterConfiguration, ITimeseriesItemConfiguration, ITimeseriesOutput, ITimeseriesScaleConfig, ITimeseriesScalesConfig, ITimeseriesWidgetConfig, ITimeseriesWidgetData, ITimeseriesWidgetSeries, ITimeseriesWidgetSeriesData, ITimeseriesWidgetStatusData, ITimeseriesZoomPluginExploreData, IUrlInteractionHandlerProperties, IValueChange, IWidget, IWidgetEditor, IWidgetErrorDisplayProperties, IWidgetEvent, IWidgetMetadata, IWidgetPayload, IWidgetResizePayload, IWidgetSearchConfiguration, IWidgetSelector, IWidgetTemplateSelector, IWidgetToDashboardEventProxyConfiguration, IWidgetTypeDefinition, IWidgets, ProportionalChartType, TableWidgetSelectionConfig, TimeseriesWidgetZoomPlugin, ViewLegendPlacement, WidgetRemovalOperation, WidgetUpdateOperation };
package/package.json CHANGED
@@ -48,8 +48,8 @@
48
48
  "license": "Apache-2.0",
49
49
  "name": "@nova-ui/dashboards",
50
50
  "dependencies": {
51
- "@nova-ui/bits": "~20.0.7",
52
- "@nova-ui/charts": "~20.0.7",
51
+ "@nova-ui/bits": "~20.0.8",
52
+ "@nova-ui/charts": "~20.0.8",
53
53
  "tslib": "^2.3.0"
54
54
  },
55
55
  "peerDependencies": {
@@ -63,7 +63,7 @@
63
63
  "moment": "^2.29.4"
64
64
  },
65
65
  "schematics": "./sdk/schematics/collection.json",
66
- "version": "20.0.7",
66
+ "version": "20.0.8",
67
67
  "module": "fesm2022/nova-ui-dashboards.mjs",
68
68
  "typings": "index.d.ts",
69
69
  "sideEffects": false
@@ -15,3 +15,4 @@ export * from "./embedded-content/embedded-content.component";
15
15
  export * from "./list-widget/public-api";
16
16
  export * from "./widget-search/widget-search.component";
17
17
  export * from "./widget-search/types";
18
+ export * from "./views/public-api";
@@ -37,4 +37,5 @@ tslib_1.__exportStar(require("./embedded-content/embedded-content.component"), e
37
37
  tslib_1.__exportStar(require("./list-widget/public-api"), exports);
38
38
  tslib_1.__exportStar(require("./widget-search/widget-search.component"), exports);
39
39
  tslib_1.__exportStar(require("./widget-search/types"), exports);
40
+ tslib_1.__exportStar(require("./views/public-api"), exports);
40
41
  //# sourceMappingURL=public-api.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../src/lib/components/public-api.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,iEAAuC;AACvC,8DAAoC;AACpC,+DAAqC;AACrC,2EAAiD;AACjD,2EAAiD;AACjD,kEAAwC;AACxC,uEAA6C;AAC7C,yEAA+C;AAC/C,oEAA0C;AAC1C,iEAAuC;AACvC,kDAAwB;AACxB,4EAAkD;AAClD,+DAAqC;AACrC,wFAA8D;AAC9D,mEAAyC;AACzC,kFAAwD;AACxD,gEAAsC"}
1
+ {"version":3,"file":"public-api.js","sourceRoot":"","sources":["../../../../../../src/lib/components/public-api.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,EAAE;AACF,+EAA+E;AAC/E,4EAA4E;AAC5E,8EAA8E;AAC9E,+EAA+E;AAC/E,8EAA8E;AAC9E,4DAA4D;AAC5D,EAAE;AACF,6EAA6E;AAC7E,uDAAuD;AACvD,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,iFAAiF;AACjF,6EAA6E;AAC7E,iBAAiB;;;AAEjB,iEAAuC;AACvC,8DAAoC;AACpC,+DAAqC;AACrC,2EAAiD;AACjD,2EAAiD;AACjD,kEAAwC;AACxC,uEAA6C;AAC7C,yEAA+C;AAC/C,oEAA0C;AAC1C,iEAAuC;AACvC,kDAAwB;AACxB,4EAAkD;AAClD,+DAAqC;AACrC,wFAA8D;AAC9D,mEAAyC;AACzC,kFAAwD;AACxD,gEAAsC;AACtC,6DAAmC"}
@@ -0,0 +1,32 @@
1
+ import { EventEmitter, TemplateRef } from "@angular/core";
2
+ import { BehaviorSubject } from "rxjs";
3
+ import { IBrokerValue } from "../../providers/types";
4
+ export interface IKpiTileViewBroker {
5
+ id: string;
6
+ type?: "min" | "max";
7
+ in$: BehaviorSubject<IBrokerValue>;
8
+ out$: BehaviorSubject<IBrokerValue>;
9
+ }
10
+ export declare class KpiTileViewComponent {
11
+ value: string | number | null;
12
+ label: string;
13
+ units: string;
14
+ backgroundColor: string;
15
+ textColor: string;
16
+ icon: string;
17
+ link: string;
18
+ interactive: boolean;
19
+ loading: boolean;
20
+ empty: boolean;
21
+ fontSize: string;
22
+ margin: number;
23
+ syncValuesBroker: Array<IKpiTileViewBroker>;
24
+ valueTemplate: TemplateRef<any>;
25
+ tileClick: EventEmitter<void>;
26
+ defaultColor: string;
27
+ get computedTextColor(): string;
28
+ get isInteractive(): boolean;
29
+ get showEmpty(): boolean;
30
+ onInteraction(): void;
31
+ getScaleBroker(id: string): IKpiTileViewBroker | undefined;
32
+ }
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ // © 2022 SolarWinds Worldwide, LLC. All rights reserved.
3
+ //
4
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ // of this software and associated documentation files (the "Software"), to
6
+ // deal in the Software without restriction, including without limitation the
7
+ // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8
+ // sell copies of the Software, and to permit persons to whom the Software is
9
+ // furnished to do so, subject to the following conditions:
10
+ //
11
+ // The above copyright notice and this permission notice shall be included in
12
+ // all copies or substantial portions of the Software.
13
+ //
14
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+ // THE SOFTWARE.
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ exports.KpiTileViewComponent = void 0;
23
+ const tslib_1 = require("tslib");
24
+ const core_1 = require("@angular/core");
25
+ const isNil_1 = tslib_1.__importDefault(require("lodash/isNil"));
26
+ let KpiTileViewComponent = class KpiTileViewComponent {
27
+ constructor() {
28
+ this.interactive = false;
29
+ this.loading = false;
30
+ this.empty = false;
31
+ this.margin = 2;
32
+ this.tileClick = new core_1.EventEmitter();
33
+ this.defaultColor = "var(--nui-color-bg-secondary)";
34
+ }
35
+ get computedTextColor() {
36
+ return this.textColor || this.backgroundColor || this.defaultColor;
37
+ }
38
+ get isInteractive() {
39
+ return this.interactive && !this.showEmpty;
40
+ }
41
+ get showEmpty() {
42
+ if (this.empty) {
43
+ return true;
44
+ }
45
+ if (typeof this.value === "boolean") {
46
+ return false;
47
+ }
48
+ if (Array.isArray(this.value) && this.value.length === 0) {
49
+ return true;
50
+ }
51
+ return (0, isNil_1.default)(this.value) && this.value !== 0;
52
+ }
53
+ onInteraction() {
54
+ if (!this.isInteractive) {
55
+ return;
56
+ }
57
+ this.tileClick.emit();
58
+ }
59
+ getScaleBroker(id) {
60
+ if (this.syncValuesBroker) {
61
+ return this.syncValuesBroker.find((b) => b.id === id);
62
+ }
63
+ return undefined;
64
+ }
65
+ };
66
+ exports.KpiTileViewComponent = KpiTileViewComponent;
67
+ tslib_1.__decorate([
68
+ (0, core_1.Input)(),
69
+ tslib_1.__metadata("design:type", Object)
70
+ ], KpiTileViewComponent.prototype, "value", void 0);
71
+ tslib_1.__decorate([
72
+ (0, core_1.Input)(),
73
+ tslib_1.__metadata("design:type", String)
74
+ ], KpiTileViewComponent.prototype, "label", void 0);
75
+ tslib_1.__decorate([
76
+ (0, core_1.Input)(),
77
+ tslib_1.__metadata("design:type", String)
78
+ ], KpiTileViewComponent.prototype, "units", void 0);
79
+ tslib_1.__decorate([
80
+ (0, core_1.Input)(),
81
+ tslib_1.__metadata("design:type", String)
82
+ ], KpiTileViewComponent.prototype, "backgroundColor", void 0);
83
+ tslib_1.__decorate([
84
+ (0, core_1.Input)(),
85
+ tslib_1.__metadata("design:type", String)
86
+ ], KpiTileViewComponent.prototype, "textColor", void 0);
87
+ tslib_1.__decorate([
88
+ (0, core_1.Input)(),
89
+ tslib_1.__metadata("design:type", String)
90
+ ], KpiTileViewComponent.prototype, "icon", void 0);
91
+ tslib_1.__decorate([
92
+ (0, core_1.Input)(),
93
+ tslib_1.__metadata("design:type", String)
94
+ ], KpiTileViewComponent.prototype, "link", void 0);
95
+ tslib_1.__decorate([
96
+ (0, core_1.Input)(),
97
+ tslib_1.__metadata("design:type", Object)
98
+ ], KpiTileViewComponent.prototype, "interactive", void 0);
99
+ tslib_1.__decorate([
100
+ (0, core_1.Input)(),
101
+ tslib_1.__metadata("design:type", Object)
102
+ ], KpiTileViewComponent.prototype, "loading", void 0);
103
+ tslib_1.__decorate([
104
+ (0, core_1.Input)(),
105
+ tslib_1.__metadata("design:type", Object)
106
+ ], KpiTileViewComponent.prototype, "empty", void 0);
107
+ tslib_1.__decorate([
108
+ (0, core_1.Input)(),
109
+ tslib_1.__metadata("design:type", String)
110
+ ], KpiTileViewComponent.prototype, "fontSize", void 0);
111
+ tslib_1.__decorate([
112
+ (0, core_1.Input)(),
113
+ tslib_1.__metadata("design:type", Number)
114
+ ], KpiTileViewComponent.prototype, "margin", void 0);
115
+ tslib_1.__decorate([
116
+ (0, core_1.Input)(),
117
+ tslib_1.__metadata("design:type", Array)
118
+ ], KpiTileViewComponent.prototype, "syncValuesBroker", void 0);
119
+ tslib_1.__decorate([
120
+ (0, core_1.Input)(),
121
+ tslib_1.__metadata("design:type", core_1.TemplateRef)
122
+ ], KpiTileViewComponent.prototype, "valueTemplate", void 0);
123
+ tslib_1.__decorate([
124
+ (0, core_1.Output)(),
125
+ tslib_1.__metadata("design:type", Object)
126
+ ], KpiTileViewComponent.prototype, "tileClick", void 0);
127
+ exports.KpiTileViewComponent = KpiTileViewComponent = tslib_1.__decorate([
128
+ (0, core_1.Component)({
129
+ selector: "nui-kpi-tile-view",
130
+ templateUrl: "./kpi-tile-view.component.html",
131
+ styleUrls: ["./kpi-tile-view.component.less"],
132
+ encapsulation: core_1.ViewEncapsulation.Emulated,
133
+ changeDetection: core_1.ChangeDetectionStrategy.OnPush,
134
+ standalone: false,
135
+ })
136
+ ], KpiTileViewComponent);
137
+ //# sourceMappingURL=kpi-tile-view.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kpi-tile-view.component.js","sourceRoot":"","sources":["../../../../../../../../src/lib/components/views/kpi-tile-view/kpi-tile-view.component.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,55 @@
1
+ import { AfterViewInit, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from "@angular/core";
2
+ import { ChartAssist, ChartDonutContentPlugin, IAccessors } from "@nova-ui/charts";
3
+ import { IProportionalDataItem, ProportionalChartType, ViewLegendPlacement } from "../types";
4
+ export declare class ProportionalChartViewComponent implements AfterViewInit, OnChanges, OnDestroy {
5
+ private static NO_SWITCH_LAYOUT_INTERVAL_SIZE;
6
+ private static MAX_ROW_LAYOUT_SIZE;
7
+ private static TICK_LABEL_MAX_WIDTH;
8
+ data: Array<IProportionalDataItem>;
9
+ chartType: ProportionalChartType;
10
+ legendPlacement: ViewLegendPlacement;
11
+ colors: Array<string> | Record<string, string>;
12
+ interactive: boolean;
13
+ donutContentTemplate: TemplateRef<any>;
14
+ legendItemTemplate: TemplateRef<any>;
15
+ itemClick: EventEmitter<IProportionalDataItem>;
16
+ chartAssist: ChartAssist;
17
+ accessors: IAccessors;
18
+ donutContentPlugin: ChartDonutContentPlugin | null;
19
+ prioritizedGridRows: {
20
+ right: boolean;
21
+ bottom: boolean;
22
+ };
23
+ private gridContainer;
24
+ private changeDetector;
25
+ private ngZone;
26
+ private kvDiffers;
27
+ private differ;
28
+ private renderer;
29
+ private scales;
30
+ private chartPalette;
31
+ private resizeObserver;
32
+ private chartTypeSubscription$;
33
+ private unitConversionPipe;
34
+ private chartSeries;
35
+ get isEmpty(): boolean;
36
+ ngOnChanges(changes: SimpleChanges): void;
37
+ ngAfterViewInit(): void;
38
+ ngOnDestroy(): void;
39
+ isDonutChart(): boolean;
40
+ hasLegend(): boolean;
41
+ legendShouldBeAlignedRight(): boolean;
42
+ onInteraction(legendSeries: any): void;
43
+ computeLegendTileValue(legendSeries: unknown): string | undefined;
44
+ private buildChart;
45
+ private handleGridFlowOnResize;
46
+ private applyTickLabelMaxWidths;
47
+ private onResize;
48
+ private isContainerInNoSwitchLayoutInterval;
49
+ private containerHasRowLayoutWidth;
50
+ private updateChart;
51
+ private updateChartColors;
52
+ private getDataDrivenColorProvider;
53
+ private getConfigurationColorProvider;
54
+ private mapDataToSeries;
55
+ }