@meshmakers/octo-meshboard 3.5.470 → 3.5.490
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
|
@@ -510,6 +510,8 @@ interface KpiWidgetConfig extends WidgetConfig {
|
|
|
510
510
|
staticValue?: string;
|
|
511
511
|
/** Comparison text displayed below the value in trend color (e.g., '+3,1% vs. Vorwoche'). Supports ${variables}. */
|
|
512
512
|
comparisonText?: string;
|
|
513
|
+
/** Fixed number of fraction digits (integer 0-3) for a numeric value; unset or invalid: two digits for a fractional value, none for a whole number. */
|
|
514
|
+
decimalPlaces?: number;
|
|
513
515
|
/**
|
|
514
516
|
* Scale factor applied to a NUMERIC query value before display (non-numeric
|
|
515
517
|
* values pass through unchanged). Use case: cumulated energy from uniformly
|
|
@@ -3515,6 +3517,8 @@ declare class KpiWidgetComponent implements DashboardWidget<KpiWidgetConfig, Run
|
|
|
3515
3517
|
* Unresolved variable placeholders (e.g. ${variableName}) are shown as '-'.
|
|
3516
3518
|
*/
|
|
3517
3519
|
private formatDisplayValue;
|
|
3520
|
+
private static strictNumber;
|
|
3521
|
+
private formatWithDecimals;
|
|
3518
3522
|
readonly label: _angular_core.Signal<string>;
|
|
3519
3523
|
readonly trendIcon: _angular_core.Signal<_progress_kendo_svg_icons.SVGIcon>;
|
|
3520
3524
|
readonly trendClass: _angular_core.Signal<"trend-up" | "trend-down" | "trend-neutral">;
|
|
@@ -3583,6 +3587,7 @@ interface KpiConfigResult extends WidgetConfigResult {
|
|
|
3583
3587
|
suffix?: string;
|
|
3584
3588
|
trend?: 'up' | 'down' | 'neutral';
|
|
3585
3589
|
comparisonText?: string;
|
|
3590
|
+
decimalPlaces?: number;
|
|
3586
3591
|
filters?: FieldFilterDto[];
|
|
3587
3592
|
}
|
|
3588
3593
|
interface TrendOption {
|
|
@@ -3619,6 +3624,7 @@ declare class KpiConfigDialogComponent implements OnInit {
|
|
|
3619
3624
|
initialSuffix?: string;
|
|
3620
3625
|
initialTrend?: 'up' | 'down' | 'neutral';
|
|
3621
3626
|
initialComparisonText?: string;
|
|
3627
|
+
initialDecimalPlaces?: number;
|
|
3622
3628
|
initialDataSourceType?: KpiDataSourceType;
|
|
3623
3629
|
initialQueryRtId?: string;
|
|
3624
3630
|
initialQueryName?: string;
|
|
@@ -3668,6 +3674,7 @@ declare class KpiConfigDialogComponent implements OnInit {
|
|
|
3668
3674
|
suffix: string;
|
|
3669
3675
|
trend: "up" | "down" | "neutral" | undefined;
|
|
3670
3676
|
comparisonText: string;
|
|
3677
|
+
decimalPlaces: number | null;
|
|
3671
3678
|
queryValueField: string;
|
|
3672
3679
|
queryCategoryField: string;
|
|
3673
3680
|
queryCategoryValue: string;
|
|
@@ -3701,6 +3708,7 @@ declare class KpiConfigDialogComponent implements OnInit {
|
|
|
3701
3708
|
/** Circular reference introduced by the pending formula / output name, or `null` */
|
|
3702
3709
|
get cycleError(): string | null;
|
|
3703
3710
|
readonly variableSyntaxHint = "${variableName}";
|
|
3711
|
+
get maxDecimalPlaces(): number;
|
|
3704
3712
|
trendOptions: TrendOption[];
|
|
3705
3713
|
queryModeOptions: {
|
|
3706
3714
|
value: KpiQueryMode;
|
|
@@ -3719,6 +3727,7 @@ declare class KpiConfigDialogComponent implements OnInit {
|
|
|
3719
3727
|
onEntitySelected(entity: RuntimeEntityItem): void;
|
|
3720
3728
|
onEntityCleared(): void;
|
|
3721
3729
|
onSave(): void;
|
|
3730
|
+
private displayFields;
|
|
3722
3731
|
onCancel(): void;
|
|
3723
3732
|
onDataSourceTypeChange(type: KpiDataSourceType): void;
|
|
3724
3733
|
/** Appends a `${name}` reference to the formula */
|
|
@@ -3737,7 +3746,7 @@ declare class KpiConfigDialogComponent implements OnInit {
|
|
|
3737
3746
|
private loadCategoryValuesForField;
|
|
3738
3747
|
onFiltersChange(updatedFilters: FieldFilterItem[]): void;
|
|
3739
3748
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<KpiConfigDialogComponent, never>;
|
|
3740
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KpiConfigDialogComponent, "mm-kpi-config-dialog", never, { "initialCkTypeId": { "alias": "initialCkTypeId"; "required": false; }; "initialRtId": { "alias": "initialRtId"; "required": false; }; "initialValueAttribute": { "alias": "initialValueAttribute"; "required": false; }; "initialLabelAttribute": { "alias": "initialLabelAttribute"; "required": false; }; "initialPrefix": { "alias": "initialPrefix"; "required": false; }; "initialSuffix": { "alias": "initialSuffix"; "required": false; }; "initialTrend": { "alias": "initialTrend"; "required": false; }; "initialComparisonText": { "alias": "initialComparisonText"; "required": false; }; "initialDataSourceType": { "alias": "initialDataSourceType"; "required": false; }; "initialQueryRtId": { "alias": "initialQueryRtId"; "required": false; }; "initialQueryName": { "alias": "initialQueryName"; "required": false; }; "initialQueryFamily": { "alias": "initialQueryFamily"; "required": false; }; "initialIgnoreTimeFilter": { "alias": "initialIgnoreTimeFilter"; "required": false; }; "initialEntitySelectorId": { "alias": "initialEntitySelectorId"; "required": false; }; "initialQueryMode": { "alias": "initialQueryMode"; "required": false; }; "initialQueryValueField": { "alias": "initialQueryValueField"; "required": false; }; "initialQueryCategoryField": { "alias": "initialQueryCategoryField"; "required": false; }; "initialQueryCategoryValue": { "alias": "initialQueryCategoryValue"; "required": false; }; "initialStaticValue": { "alias": "initialStaticValue"; "required": false; }; "initialWidgetId": { "alias": "initialWidgetId"; "required": false; }; "initialFormula": { "alias": "initialFormula"; "required": false; }; "initialOutputVariableName": { "alias": "initialOutputVariableName"; "required": false; }; "initialFilters": { "alias": "initialFilters"; "required": false; }; }, {}, never, never, true, never>;
|
|
3749
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<KpiConfigDialogComponent, "mm-kpi-config-dialog", never, { "initialCkTypeId": { "alias": "initialCkTypeId"; "required": false; }; "initialRtId": { "alias": "initialRtId"; "required": false; }; "initialValueAttribute": { "alias": "initialValueAttribute"; "required": false; }; "initialLabelAttribute": { "alias": "initialLabelAttribute"; "required": false; }; "initialPrefix": { "alias": "initialPrefix"; "required": false; }; "initialSuffix": { "alias": "initialSuffix"; "required": false; }; "initialTrend": { "alias": "initialTrend"; "required": false; }; "initialComparisonText": { "alias": "initialComparisonText"; "required": false; }; "initialDecimalPlaces": { "alias": "initialDecimalPlaces"; "required": false; }; "initialDataSourceType": { "alias": "initialDataSourceType"; "required": false; }; "initialQueryRtId": { "alias": "initialQueryRtId"; "required": false; }; "initialQueryName": { "alias": "initialQueryName"; "required": false; }; "initialQueryFamily": { "alias": "initialQueryFamily"; "required": false; }; "initialIgnoreTimeFilter": { "alias": "initialIgnoreTimeFilter"; "required": false; }; "initialEntitySelectorId": { "alias": "initialEntitySelectorId"; "required": false; }; "initialQueryMode": { "alias": "initialQueryMode"; "required": false; }; "initialQueryValueField": { "alias": "initialQueryValueField"; "required": false; }; "initialQueryCategoryField": { "alias": "initialQueryCategoryField"; "required": false; }; "initialQueryCategoryValue": { "alias": "initialQueryCategoryValue"; "required": false; }; "initialStaticValue": { "alias": "initialStaticValue"; "required": false; }; "initialWidgetId": { "alias": "initialWidgetId"; "required": false; }; "initialFormula": { "alias": "initialFormula"; "required": false; }; "initialOutputVariableName": { "alias": "initialOutputVariableName"; "required": false; }; "initialFilters": { "alias": "initialFilters"; "required": false; }; }, {}, never, never, true, never>;
|
|
3741
3750
|
}
|
|
3742
3751
|
|
|
3743
3752
|
interface GroupedAssociation {
|
|
@@ -5719,6 +5728,7 @@ declare class WidgetGroupConfigDialogComponent implements OnInit {
|
|
|
5719
5728
|
initialMinChildWidth?: number;
|
|
5720
5729
|
initialGap?: number;
|
|
5721
5730
|
initialEmptyMessage?: string;
|
|
5731
|
+
get maxDecimalPlaces(): number;
|
|
5722
5732
|
dataSourceMode: WidgetGroupDataSourceMode;
|
|
5723
5733
|
selectedPersistentQuery: PersistentQueryItem | null;
|
|
5724
5734
|
selectedCkType: CkTypeSelectorItem | null;
|
|
@@ -5735,6 +5745,7 @@ declare class WidgetGroupConfigDialogComponent implements OnInit {
|
|
|
5735
5745
|
valueAttribute: string;
|
|
5736
5746
|
prefix: string;
|
|
5737
5747
|
suffix: string;
|
|
5748
|
+
decimalPlaces: number | null;
|
|
5738
5749
|
gaugeType: GaugeType;
|
|
5739
5750
|
gaugeMin: number;
|
|
5740
5751
|
gaugeMax: number;
|
|
@@ -6288,10 +6299,6 @@ declare const MESHBOARD_MESSAGES: InjectionToken<MeshBoardMessagesSource>;
|
|
|
6288
6299
|
/** The resolved MeshBoard texts: defaults with the host layer on top (missing / null members keep the default). */
|
|
6289
6300
|
declare function resolveMeshBoardMessages(messages: MeshBoardMessages | null | undefined): MeshBoardMessages & typeof DEFAULT_MESHBOARD_MESSAGES;
|
|
6290
6301
|
|
|
6291
|
-
/**
|
|
6292
|
-
* Registers all built-in widget types with the registry.
|
|
6293
|
-
* Called during app initialization.
|
|
6294
|
-
*/
|
|
6295
6302
|
declare function registerDefaultWidgets(registry: WidgetRegistryService): void;
|
|
6296
6303
|
/**
|
|
6297
6304
|
* Provides the widget registry with all built-in widgets registered.
|