@meshmakers/octo-meshboard 3.3.700 → 3.3.710
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
|
@@ -14,7 +14,7 @@ import { CkTypeSelectorInputComponent, FieldFilterItem, FilterVariable, Property
|
|
|
14
14
|
import * as _meshmakers_octo_meshboard from '@meshmakers/octo-meshboard';
|
|
15
15
|
import * as _progress_kendo_svg_icons from '@progress/kendo-svg-icons';
|
|
16
16
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
17
|
-
import { TileLayoutResizeEvent } from '@progress/kendo-angular-layout';
|
|
17
|
+
import { TileLayoutReorderEvent, TileLayoutResizeEvent } from '@progress/kendo-angular-layout';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Mapping from diagram exposed property to runtime data source
|
|
@@ -285,6 +285,12 @@ type DataSource = RuntimeEntityDataSource | StaticDataSource | PersistentQueryDa
|
|
|
285
285
|
* Supported widget types
|
|
286
286
|
*/
|
|
287
287
|
type WidgetType = 'entityCard' | 'entityWithAssociations' | 'kpi' | 'table' | 'gauge' | 'pieChart' | 'barChart' | 'lineChart' | 'heatmap' | 'statsGrid' | 'statusIndicator' | 'serviceHealth' | 'process' | 'widgetGroup' | 'markdown' | 'statusList' | 'summaryCard' | 'alertBanner' | 'alertList' | 'aiInsights';
|
|
288
|
+
/**
|
|
289
|
+
* Widget placement zone.
|
|
290
|
+
* - 'grid': Rendered inside the Kendo TileLayout grid (default)
|
|
291
|
+
* - 'banner': Rendered in the banner stack above the grid (full-width, no grid positioning)
|
|
292
|
+
*/
|
|
293
|
+
type WidgetZone = 'grid' | 'banner';
|
|
288
294
|
/**
|
|
289
295
|
* Base widget configuration
|
|
290
296
|
*/
|
|
@@ -304,6 +310,8 @@ interface WidgetConfig {
|
|
|
304
310
|
configurable?: boolean;
|
|
305
311
|
/** Hide widget chrome (title bar, border) in view mode */
|
|
306
312
|
chromeless?: boolean;
|
|
313
|
+
/** Which zone this widget is placed in (default: 'grid') */
|
|
314
|
+
zone?: WidgetZone;
|
|
307
315
|
}
|
|
308
316
|
/**
|
|
309
317
|
* Entity Card Widget - displays a single entity like a UML class diagram
|
|
@@ -1871,6 +1879,7 @@ interface BaseWidgetConfig {
|
|
|
1871
1879
|
rowSpan: number;
|
|
1872
1880
|
configurable?: boolean;
|
|
1873
1881
|
chromeless?: boolean;
|
|
1882
|
+
zone?: WidgetZone;
|
|
1874
1883
|
}
|
|
1875
1884
|
/**
|
|
1876
1885
|
* Persisted widget data from the backend.
|
|
@@ -4877,6 +4886,11 @@ interface WidgetPositionUpdate {
|
|
|
4877
4886
|
colSpan: number;
|
|
4878
4887
|
rowSpan: number;
|
|
4879
4888
|
chromeless?: boolean;
|
|
4889
|
+
zone?: WidgetZone;
|
|
4890
|
+
}
|
|
4891
|
+
interface ZoneOption {
|
|
4892
|
+
text: string;
|
|
4893
|
+
value: WidgetZone;
|
|
4880
4894
|
}
|
|
4881
4895
|
declare class EditWidgetDialogComponent implements OnInit {
|
|
4882
4896
|
widget: AnyWidgetConfig;
|
|
@@ -4885,9 +4899,12 @@ declare class EditWidgetDialogComponent implements OnInit {
|
|
|
4885
4899
|
gridService: MeshBoardGridService;
|
|
4886
4900
|
save: EventEmitter<WidgetPositionUpdate>;
|
|
4887
4901
|
cancelled: EventEmitter<void>;
|
|
4902
|
+
readonly zoneOptions: ZoneOption[];
|
|
4903
|
+
selectedZoneOption: ZoneOption;
|
|
4888
4904
|
form: WidgetPositionUpdate;
|
|
4889
4905
|
error: string;
|
|
4890
4906
|
ngOnInit(): void;
|
|
4907
|
+
onZoneChange(option: ZoneOption): void;
|
|
4891
4908
|
onSave(): void;
|
|
4892
4909
|
onCancel(): void;
|
|
4893
4910
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditWidgetDialogComponent, never>;
|
|
@@ -4927,6 +4944,9 @@ declare class MeshBoardViewComponent implements OnInit, OnDestroy, HasUnsavedCha
|
|
|
4927
4944
|
protected readonly undoIcon: _progress_kendo_svg_icons.SVGIcon;
|
|
4928
4945
|
protected readonly copyIcon: _progress_kendo_svg_icons.SVGIcon;
|
|
4929
4946
|
protected readonly infoCircleIcon: _progress_kendo_svg_icons.SVGIcon;
|
|
4947
|
+
protected readonly arrowUpIcon: _progress_kendo_svg_icons.SVGIcon;
|
|
4948
|
+
protected readonly arrowDownIcon: _progress_kendo_svg_icons.SVGIcon;
|
|
4949
|
+
private tileLayout?;
|
|
4930
4950
|
protected showEditWidgetDialog: boolean;
|
|
4931
4951
|
protected editingWidget: AnyWidgetConfig | null;
|
|
4932
4952
|
private configDialogSubscription;
|
|
@@ -5086,6 +5106,14 @@ declare class MeshBoardViewComponent implements OnInit, OnDestroy, HasUnsavedCha
|
|
|
5086
5106
|
* Removes a widget from the MeshBoard.
|
|
5087
5107
|
*/
|
|
5088
5108
|
removeWidget(widgetId: string): void;
|
|
5109
|
+
/**
|
|
5110
|
+
* Moves a banner widget up (earlier) in the widgets array.
|
|
5111
|
+
*/
|
|
5112
|
+
moveBannerUp(widgetId: string): void;
|
|
5113
|
+
/**
|
|
5114
|
+
* Moves a banner widget down (later) in the widgets array.
|
|
5115
|
+
*/
|
|
5116
|
+
moveBannerDown(widgetId: string): void;
|
|
5089
5117
|
/**
|
|
5090
5118
|
* Opens the configuration dialog for a widget.
|
|
5091
5119
|
* Uses the WidgetRegistryService to open a resizable Kendo Window.
|
|
@@ -5098,14 +5126,30 @@ declare class MeshBoardViewComponent implements OnInit, OnDestroy, HasUnsavedCha
|
|
|
5098
5126
|
/**
|
|
5099
5127
|
* Handles TileLayout reorder events.
|
|
5100
5128
|
*/
|
|
5101
|
-
onReorder(event:
|
|
5102
|
-
newIndex: number;
|
|
5103
|
-
oldIndex: number;
|
|
5104
|
-
}): void;
|
|
5129
|
+
onReorder(event: TileLayoutReorderEvent): void;
|
|
5105
5130
|
/**
|
|
5106
5131
|
* Handles TileLayout resize events.
|
|
5107
5132
|
*/
|
|
5108
5133
|
onResize(event: TileLayoutResizeEvent): void;
|
|
5134
|
+
/**
|
|
5135
|
+
* Syncs widget positions from a TileLayout reorder or resize event.
|
|
5136
|
+
*
|
|
5137
|
+
* At event time, the @Input() properties on TileLayoutItemComponent still
|
|
5138
|
+
* hold their old Angular binding values. The only reliable source for the
|
|
5139
|
+
* changed item's new position are the explicit event properties
|
|
5140
|
+
* (newCol/newRow for reorder, newColSpan/newRowSpan for resize).
|
|
5141
|
+
*
|
|
5142
|
+
* After updating the changed item, we schedule a deferred read of all
|
|
5143
|
+
* item positions from the TileLayout ViewChild (after Angular has processed
|
|
5144
|
+
* the change) to pick up any reflow of other widgets.
|
|
5145
|
+
*/
|
|
5146
|
+
private syncWidgetPositionsFromEvent;
|
|
5147
|
+
/**
|
|
5148
|
+
* Reads the current col/row/colSpan/rowSpan from all TileLayout items
|
|
5149
|
+
* and updates the widget state accordingly.
|
|
5150
|
+
* Called after Angular change detection so @Input() values are current.
|
|
5151
|
+
*/
|
|
5152
|
+
private syncAllWidgetPositionsFromTileLayout;
|
|
5109
5153
|
/**
|
|
5110
5154
|
* Track by function for widget rendering.
|
|
5111
5155
|
*/
|
|
@@ -5418,4 +5462,4 @@ declare class MeshBoardManagerDialogComponent implements OnInit {
|
|
|
5418
5462
|
}
|
|
5419
5463
|
|
|
5420
5464
|
export { AddWidgetDialogComponent, AiInsightsConfigDialogComponent, AiInsightsService, AiInsightsWidgetComponent, AlertBannerConfigDialogComponent, AlertBannerWidgetComponent, AlertListConfigDialogComponent, AlertListWidgetComponent, AssociationsConfigDialogComponent, BarChartConfigDialogComponent, BarChartWidgetComponent, DashboardDataService, DashboardGridService, EditModeStateService, EditWidgetDialogComponent, EntityAssociationsWidgetComponent, EntityCardConfigDialogComponent, EntityCardWidgetComponent, EntityDetailDialogComponent, EntitySelectorEditorComponent, EntitySelectorToolbarComponent, GaugeConfigDialogComponent, GaugeWidgetComponent, HeatmapConfigDialogComponent, HeatmapWidgetComponent, KpiConfigDialogComponent, KpiWidgetComponent, LineChartConfigDialogComponent, LineChartWidgetComponent, MESHBOARD_OPTIONS, MESHBOARD_TENANT_ID_PROVIDER, MarkdownConfigDialogComponent, MarkdownWidgetComponent, MeshBoardDataService, MeshBoardGridService, MeshBoardManagerDialogComponent, MeshBoardPersistenceService, MeshBoardSettingsDialogComponent, MeshBoardSettingsResult, MeshBoardStateService, MeshBoardViewComponent, PieChartConfigDialogComponent, PieChartWidgetComponent, QuerySelectorComponent, RuntimeEntitySelectorComponent, ServiceHealthConfigDialogComponent, ServiceHealthWidgetComponent, StatsGridConfigDialogComponent, StatsGridWidgetComponent, StatusIndicatorConfigDialogComponent, StatusIndicatorWidgetComponent, StatusListConfigDialogComponent, StatusListWidgetComponent, SummaryCardConfigDialogComponent, SummaryCardWidgetComponent, TableConfigDialogComponent, TableWidgetComponent, TableWidgetDataSourceDirective, WidgetFactoryService, WidgetGroupComponent, WidgetGroupConfigDialogComponent, WidgetNotConfiguredComponent, WidgetRegistryService, provideDefaultWidgets, provideMeshBoard, provideProcessWidget, provideWidgetRegistrations, registerDefaultWidgets, registerProcessWidget };
|
|
5421
|
-
export type { AggregationDataSource, AggregationQuery, AggregationType, AiInsightsConfigResult, AiInsightsWidgetConfig, AlertBannerConfigResult, AlertBannerWidgetConfig, AlertListConfigResult, AlertListWidgetConfig, AnyWidgetConfig, AssociationsConfigResult, BarChartColorThreshold, BarChartConfigResult, BarChartSeries, BarChartType, BarChartWidgetConfig, BaseWidgetConfig, CategoryValueItem, ChartReferenceLine, CkQueryResult, CkQueryTarget, CkTypeAttributeInfo, ConfigDialogResult, ConfigResultApplier, ConstructionKitQueryDataSource, DashboardConfig, DashboardWidget, DataSource, DataSourceType, DiagramPropertyMapping, EntityAssociation, EntityAttribute, EntityCardConfigResult, EntityCardWidgetConfig, EntityListWidget, EntitySelectorAttributeMapping, EntitySelectorClearEvent, EntitySelectorConfig, EntitySelectorEvent, EntityWidget, EntityWithAssociationsWidgetConfig, GaugeConfigResult, GaugeRange, GaugeType, GaugeWidgetConfig, GridCell, GridPosition, GroupChildWidgetType, GroupedDataItem, HeatmapAggregation, HeatmapColorScheme, HeatmapConfigResult, HeatmapWidgetConfig, KpiConfigResult, KpiDataSourceType, KpiQueryMode, KpiWidgetConfig, LineChartConfigResult, LineChartType, LineChartWidgetConfig, MarkdownConfigResult, MarkdownTextAlign, MarkdownWidgetConfig, MeshBoardConfig, MeshBoardOptions, MeshBoardTimeFilterConfig, MeshBoardVariable, MeshBoardVariableSource, MeshBoardVariableType, ParentAssociationMode, PersistedDashboard, PersistedMeshBoard, PersistedWidget, PersistedWidgetData, PersistentQueryDataSource, PersistentQueryItem, PieChartConfigResult, PieChartType, PieChartWidgetConfig, ProcessWidgetConfig, Quarter, QueryColumn, QueryColumnItem, RelativeTimeUnit, RepeaterDataItem, RepeaterQueryDataSource, RuntimeEntityData, RuntimeEntityDataSource, RuntimeEntitySelectorValue, ServiceCallDataSource, ServiceCallType, ServiceHealthConfigResult, ServiceHealthWidgetConfig, StatColor, StatItem, StaticDataSource, StatsGridConfigResult, StatsGridWidgetConfig, StatusIndicatorConfigResult, StatusIndicatorWidgetConfig, StatusListConfigResult, StatusListWidgetConfig, SummaryCardConfigResult, SummaryCardTile, SummaryCardWidgetConfig, TableColumn, TableColumnStatusIconMapping, TableConfigResult, TableFilterConfig, TableSortConfig, TableWidgetConfig, TargetEntityWithAttributes, TimeRangePickerConfig, TimeRangeSelection, TimeRangeType, UpdateDashboardResult, VariableResolutionError, WidgetConfig, WidgetConfigDialog, WidgetConfigDialogSize, WidgetConfigResult, WidgetCreationOptions, WidgetDataSource, WidgetFilterConfig, WidgetGroupAttributeMappings, WidgetGroupChildTemplate, WidgetGroupConfig, WidgetGroupConfigResult, WidgetGroupLayout, WidgetPersistenceData, WidgetPositionUpdate, WidgetRegistration, WidgetType };
|
|
5465
|
+
export type { AggregationDataSource, AggregationQuery, AggregationType, AiInsightsConfigResult, AiInsightsWidgetConfig, AlertBannerConfigResult, AlertBannerWidgetConfig, AlertListConfigResult, AlertListWidgetConfig, AnyWidgetConfig, AssociationsConfigResult, BarChartColorThreshold, BarChartConfigResult, BarChartSeries, BarChartType, BarChartWidgetConfig, BaseWidgetConfig, CategoryValueItem, ChartReferenceLine, CkQueryResult, CkQueryTarget, CkTypeAttributeInfo, ConfigDialogResult, ConfigResultApplier, ConstructionKitQueryDataSource, DashboardConfig, DashboardWidget, DataSource, DataSourceType, DiagramPropertyMapping, EntityAssociation, EntityAttribute, EntityCardConfigResult, EntityCardWidgetConfig, EntityListWidget, EntitySelectorAttributeMapping, EntitySelectorClearEvent, EntitySelectorConfig, EntitySelectorEvent, EntityWidget, EntityWithAssociationsWidgetConfig, GaugeConfigResult, GaugeRange, GaugeType, GaugeWidgetConfig, GridCell, GridPosition, GroupChildWidgetType, GroupedDataItem, HeatmapAggregation, HeatmapColorScheme, HeatmapConfigResult, HeatmapWidgetConfig, KpiConfigResult, KpiDataSourceType, KpiQueryMode, KpiWidgetConfig, LineChartConfigResult, LineChartType, LineChartWidgetConfig, MarkdownConfigResult, MarkdownTextAlign, MarkdownWidgetConfig, MeshBoardConfig, MeshBoardOptions, MeshBoardTimeFilterConfig, MeshBoardVariable, MeshBoardVariableSource, MeshBoardVariableType, ParentAssociationMode, PersistedDashboard, PersistedMeshBoard, PersistedWidget, PersistedWidgetData, PersistentQueryDataSource, PersistentQueryItem, PieChartConfigResult, PieChartType, PieChartWidgetConfig, ProcessWidgetConfig, Quarter, QueryColumn, QueryColumnItem, RelativeTimeUnit, RepeaterDataItem, RepeaterQueryDataSource, RuntimeEntityData, RuntimeEntityDataSource, RuntimeEntitySelectorValue, ServiceCallDataSource, ServiceCallType, ServiceHealthConfigResult, ServiceHealthWidgetConfig, StatColor, StatItem, StaticDataSource, StatsGridConfigResult, StatsGridWidgetConfig, StatusIndicatorConfigResult, StatusIndicatorWidgetConfig, StatusListConfigResult, StatusListWidgetConfig, SummaryCardConfigResult, SummaryCardTile, SummaryCardWidgetConfig, TableColumn, TableColumnStatusIconMapping, TableConfigResult, TableFilterConfig, TableSortConfig, TableWidgetConfig, TargetEntityWithAttributes, TimeRangePickerConfig, TimeRangeSelection, TimeRangeType, UpdateDashboardResult, VariableResolutionError, WidgetConfig, WidgetConfigDialog, WidgetConfigDialogSize, WidgetConfigResult, WidgetCreationOptions, WidgetDataSource, WidgetFilterConfig, WidgetGroupAttributeMappings, WidgetGroupChildTemplate, WidgetGroupConfig, WidgetGroupConfigResult, WidgetGroupLayout, WidgetPersistenceData, WidgetPositionUpdate, WidgetRegistration, WidgetType, WidgetZone };
|