@masterteam/dashboard-builder 0.0.48 → 0.0.50

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.
@@ -1,2 +1,2 @@
1
- export { aw as ActionsSettings, aE as ArrayBuilderField, G as BarChartHandler, ap as BarControlUi, aS as CHART_CAPABILITIES, as as CHART_TYPES, b5 as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, B as ChartDataService, aI as ChartFilterDrawer, al as ChartSettingsDrawer, ax as ChartViewer, aD as ColorListField, W as ComparisonChartHandler, b as DashboardBuilder, af as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ad as DashboardList, ag as DashboardStoreService, d as DashboardViewer, av as DataSourceSettings, aO as DatasourcePanelComponent, an as DefaultControlUi, am as DisplaySettings, r as DynamicFiltersComponent, ak as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, v as EntityInfoComponent, w as EntityPreviewCardComponent, aN as FilterBuilderComponent, aQ as FilterByGroupPipe, aM as FilterChipsBarComponent, N as GaugeChartHandler, au as GeneralSettings, aR as GetChartActionsPipe, aL as GuidedConfigDialogComponent, ae as HTTPMethod, H as HeaderCardComponent, bP as ITEM_GUIDANCE_REGISTRY, aH as ItemCardMenuComponent, aK as ItemConfigPopoverComponent, aJ as ItemContextToolbarComponent, bR as ItemGuidanceService, aF as KeyValueMapField, L as LastHistoryLevelCardComponent, aG as LegendOrderField, Y as LevelCardHandler, U as LineChartHandler, x as ListStatisticCardComponent, ai as ManageBreadcrumb, aj as ManageFilterOnPage, ar as ManageItem, at as ManageItemService, ah as ManagePages, Z as MapChartHandler, Q as OverviewCardHandler, b8 as POPOVER_TABS, b9 as POPOVER_TAB_SPECS, a0 as PhaseGateStepperHandler, I as PieChartHandler, ao as PieControlUi, P as PropertiesCardComponent, _ as RingGaugeChartHandler, $ as SPlusChartHandler, bq as STYLE_PRESETS, aP as SchemaControlRendererComponent, aC as SegmentedField, y as SkeletonCardComponent, V as SnapshotHandler, X as SplitterChartHandler, J as StackBarChartHandler, aq as StackBarControlUi, S as StaticFiltersComponent, z as StatisticCardComponent, aB as StyleField, az as StyleSettingsRenderer, ay as StyleStudioDrawer, T as TableCardComponent, O as TableViewHandler, R as TimelineHandler, A as TopbarCardComponent, m as addCommasToNumber, bm as applyBehaviorToPersisted, bB as applyControlPatchToPersisted, bC as applyControlPatchesToPersisted, bn as applyFilterChipsToPersisted, bk as applyLabelLegendFormatToPersisted, bi as applyLayoutToPersisted, bg as applyStyleToPersisted, bb as applyTitleToPersisted, K as axisFormatters, bl as behaviorToUi, bK as bindingKey, bp as buildAssembly, bJ as buildDisplayFieldPredicate, c as cloneDeep, a6 as createAxisFormatter, a7 as createTooltipFormatter, bc as datasourceToUi, bx as deepMerge, bQ as describeGuidance, b6 as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aA as expandResetPatches, bd as fieldsToUi, be as filtersToUi, b7 as findDomain, bs as findPreset, bH as flattenSchema, a1 as formatCurrency, a5 as formatDate, by as formatForEditor, a4 as formatNumber, a3 as formatPercentage, j as formatValue, a8 as formatWordsUnderBar, a9 as formatXAxis, i as generalConfiguration, bL as getBinding, aT as getCapabilityById, p as getColorFromConditions, bD as getControlSchema, a2 as getCurrencySuffix, bG as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, M as groupDatesByYearAndMonth, bv as groupIssuesByDomain, ab as handleFilterForCard, ac as handleFilterForSnapshot, aa as handleFiltersForCustom, bu as hasBlockingIssues, o as isMobilePlatform, bj as labelLegendFormatToUi, bh as layoutToUi, bM as listBindings, bN as listBindingsForChart, bE as listControlSchemaIds, bF as listControlSchemas, a$ as moduleIdFromSelector, aY as normalizeAggregateFunction, b4 as normalizeBeforeRequest, b3 as normalizeBeforeSave, aW as normalizeChartTypeForRequest, aX as normalizeFilterOperation, aZ as normalizeFilters, b2 as normalizeOnLoad, bw as parseAdvancedJson, bo as persistedToUi, br as presetsForCapability, bO as readBoundValue, bz as readByPath, aU as resolveCapability, bI as resolveDisplayFields, a_ as selectorFromLegacy, bA as setByPath, l as sortChartData, n as sortDataTableView, bf as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, ba as titleToUi, aV as toBackendChartType, b0 as toBackendSourceLink, b1 as toFormSourceLink, bt as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-78XZqtjp.mjs';
1
+ export { aw as ActionsSettings, aE as ArrayBuilderField, G as BarChartHandler, ap as BarControlUi, aS as CHART_CAPABILITIES, as as CHART_TYPES, b5 as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, B as ChartDataService, aI as ChartFilterDrawer, al as ChartSettingsDrawer, ax as ChartViewer, aD as ColorListField, W as ComparisonChartHandler, b as DashboardBuilder, af as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ad as DashboardList, ag as DashboardStoreService, d as DashboardViewer, av as DataSourceSettings, aO as DatasourcePanelComponent, an as DefaultControlUi, am as DisplaySettings, r as DynamicFiltersComponent, ak as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, v as EntityInfoComponent, w as EntityPreviewCardComponent, aN as FilterBuilderComponent, aQ as FilterByGroupPipe, aM as FilterChipsBarComponent, N as GaugeChartHandler, au as GeneralSettings, aR as GetChartActionsPipe, aL as GuidedConfigDialogComponent, ae as HTTPMethod, H as HeaderCardComponent, bP as ITEM_GUIDANCE_REGISTRY, aH as ItemCardMenuComponent, aK as ItemConfigPopoverComponent, aJ as ItemContextToolbarComponent, bR as ItemGuidanceService, aF as KeyValueMapField, L as LastHistoryLevelCardComponent, aG as LegendOrderField, Y as LevelCardHandler, U as LineChartHandler, x as ListStatisticCardComponent, ai as ManageBreadcrumb, aj as ManageFilterOnPage, ar as ManageItem, at as ManageItemService, ah as ManagePages, Z as MapChartHandler, Q as OverviewCardHandler, b8 as POPOVER_TABS, b9 as POPOVER_TAB_SPECS, a0 as PhaseGateStepperHandler, I as PieChartHandler, ao as PieControlUi, P as PropertiesCardComponent, _ as RingGaugeChartHandler, $ as SPlusChartHandler, bq as STYLE_PRESETS, aP as SchemaControlRendererComponent, aC as SegmentedField, y as SkeletonCardComponent, V as SnapshotHandler, X as SplitterChartHandler, J as StackBarChartHandler, aq as StackBarControlUi, S as StaticFiltersComponent, z as StatisticCardComponent, aB as StyleField, az as StyleSettingsRenderer, ay as StyleStudioDrawer, T as TableCardComponent, O as TableViewHandler, R as TimelineHandler, A as TopbarCardComponent, m as addCommasToNumber, bm as applyBehaviorToPersisted, bB as applyControlPatchToPersisted, bC as applyControlPatchesToPersisted, bn as applyFilterChipsToPersisted, bk as applyLabelLegendFormatToPersisted, bi as applyLayoutToPersisted, bg as applyStyleToPersisted, bb as applyTitleToPersisted, K as axisFormatters, bl as behaviorToUi, bK as bindingKey, bp as buildAssembly, bJ as buildDisplayFieldPredicate, c as cloneDeep, a6 as createAxisFormatter, a7 as createTooltipFormatter, bc as datasourceToUi, bx as deepMerge, bQ as describeGuidance, b6 as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aA as expandResetPatches, bd as fieldsToUi, be as filtersToUi, b7 as findDomain, bs as findPreset, bH as flattenSchema, a1 as formatCurrency, a5 as formatDate, by as formatForEditor, a4 as formatNumber, a3 as formatPercentage, j as formatValue, a8 as formatWordsUnderBar, a9 as formatXAxis, i as generalConfiguration, bL as getBinding, aT as getCapabilityById, p as getColorFromConditions, bD as getControlSchema, a2 as getCurrencySuffix, bG as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, M as groupDatesByYearAndMonth, bv as groupIssuesByDomain, ab as handleFilterForCard, ac as handleFilterForSnapshot, aa as handleFiltersForCustom, bu as hasBlockingIssues, o as isMobilePlatform, bj as labelLegendFormatToUi, bh as layoutToUi, bM as listBindings, bN as listBindingsForChart, bE as listControlSchemaIds, bF as listControlSchemas, a$ as moduleIdFromSelector, aY as normalizeAggregateFunction, b4 as normalizeBeforeRequest, b3 as normalizeBeforeSave, aW as normalizeChartTypeForRequest, aX as normalizeFilterOperation, aZ as normalizeFilters, b2 as normalizeOnLoad, bw as parseAdvancedJson, bo as persistedToUi, br as presetsForCapability, bO as readBoundValue, bz as readByPath, aU as resolveCapability, bI as resolveDisplayFields, a_ as selectorFromLegacy, bA as setByPath, l as sortChartData, n as sortDataTableView, bf as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, ba as titleToUi, aV as toBackendChartType, b0 as toBackendSourceLink, b1 as toFormSourceLink, bt as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-YVu_-WlK.mjs';
2
2
  //# sourceMappingURL=masterteam-dashboard-builder.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@masterteam/dashboard-builder",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -21,9 +21,9 @@
21
21
  "primeng": "21.1.5",
22
22
  "rxjs": "^7.8.2",
23
23
  "tailwindcss": "^4.2.2",
24
- "@masterteam/components": "^0.0.210",
24
+ "@masterteam/timeline": "^0.0.16",
25
25
  "@masterteam/icons": "^0.0.17",
26
- "@masterteam/timeline": "^0.0.16"
26
+ "@masterteam/components": "^0.0.210"
27
27
  },
28
28
  "dependencies": {
29
29
  "tslib": "^2.8.1",
@@ -1,6 +1,6 @@
1
1
  import * as _masterteam_dashboard_builder from '@masterteam/dashboard-builder';
2
2
  import * as _angular_core from '@angular/core';
3
- import { OnInit, OnDestroy, ElementRef, AfterViewInit, OnChanges, SimpleChanges, TemplateRef, PipeTransform } from '@angular/core';
3
+ import { OnInit, OnDestroy, AfterViewInit, OnChanges, SimpleChanges, TemplateRef, PipeTransform } from '@angular/core';
4
4
  import { GridsterItem, GridsterConfig } from 'angular-gridster2';
5
5
  import { ContextMenu } from 'primeng/contextmenu';
6
6
  import { MenuItem } from 'primeng/api';
@@ -532,7 +532,7 @@ interface CustomApi {
532
532
  /**
533
533
  * Action emitted from the kebab menu. The host (`dashboard-builder`)
534
534
  * routes each id to a single concrete owner (ManageItem, ChartSettingsDrawer,
535
- * ChartFilterDrawer, inline title input, or destructive action).
535
+ * ChartFilterDrawer, host title editor dialog, or destructive action).
536
536
  */
537
537
  type ItemCardMenuAction = {
538
538
  type: 'configure-datasource';
@@ -1218,6 +1218,16 @@ interface ControlField {
1218
1218
  type: ControlFieldType;
1219
1219
  /** Persisted dotted path (read/write target). */
1220
1220
  path: string;
1221
+ /**
1222
+ * Additional dotted paths to MIRROR the value into on every write. Used when
1223
+ * different chart types' renderers read the same logical style from different
1224
+ * persisted paths (e.g. card-content reads the title color from
1225
+ * `configAsType.headerCardConfig.headerColor` while statistic-card reads it
1226
+ * from `displayConfig.StyleConfig.color`). The value is written to `path` and
1227
+ * every `mirrorPaths` entry so one control reflects across all chart types.
1228
+ * Reads fall back to the first non-empty path among `[path, ...mirrorPaths]`.
1229
+ */
1230
+ mirrorPaths?: string[];
1221
1231
  /**
1222
1232
  * Default value applied when the field is missing on the persisted shape.
1223
1233
  * The default is *only* read for display — it is never silently written.
@@ -1590,8 +1600,6 @@ interface ItemGuidanceDescriptor {
1590
1600
  secondaryAction?: ItemGuidanceAction;
1591
1601
  /** Whether to render the center primary CTA card. */
1592
1602
  showCenterCta: boolean;
1593
- /** Whether the inline title editor should be visible (builder mode). */
1594
- showTitleEdit: boolean;
1595
1603
  /** Whether the top-end "More actions" kebab should be visible (builder). */
1596
1604
  showTopEndMenu: boolean;
1597
1605
  }
@@ -2371,7 +2379,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2371
2379
  * No surface duplicates another. There is no other code path that opens
2372
2380
  * a separate popover/wizard.
2373
2381
  */
2374
- onItemCardMenuAction(chart: DashboardChartItem, action: ItemCardMenuAction): void;
2382
+ onItemCardMenuAction(chart: DashboardChartItem, action: ItemCardMenuAction, parentItem?: DashboardChartItem): void;
2375
2383
  requestLayoutTitleEdit(chart: DashboardChartItem, event: Event): void;
2376
2384
  private openTitleEditor;
2377
2385
  /** Whether the chart has a linked dialog (Manage menu shows dialog entries). */
@@ -2384,6 +2392,14 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2384
2392
  showContextToolbar(chart: DashboardChartItem): boolean;
2385
2393
  isPropertiesListChart(chart: DashboardChartItem): boolean;
2386
2394
  isTopbarChart(chart: DashboardChartItem): boolean;
2395
+ getGroupChildren(groupItem: DashboardChartItem): DashboardChartItem[];
2396
+ getSelectedGroupChild(groupItem: DashboardChartItem): DashboardChartItem | null;
2397
+ getItemTitle(item: DashboardChartItem, fallbackIndex?: number): string;
2398
+ getGroupTitle(groupItem: DashboardChartItem): string;
2399
+ getGroupHeaderConfig(groupItem: DashboardChartItem): Record<string, any> | null;
2400
+ getGroupCardStyleConfig(groupItem: DashboardChartItem): Record<string, any> | null;
2401
+ getGroupStyleConfig(groupItem: DashboardChartItem): Record<string, any> | null;
2402
+ selectGroupChild(groupItem: DashboardChartItem, index: number, event?: Event): void;
2387
2403
  editItem(chart: DashboardChartItem, parentItem?: DashboardChartItem, defaultTab?: 'general' | 'dataSource' | 'actions'): void;
2388
2404
  deleteItem(chart: DashboardChartItem): void;
2389
2405
  /**
@@ -2415,7 +2431,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2415
2431
  */
2416
2432
  addWidgetByType(widgetType: ChartTypeConfig): void;
2417
2433
  /**
2418
- * Pass-2: persist an inline title edit committed from the chart card.
2434
+ * Persist a title update reported by an item renderer.
2419
2435
  * Updates `clientConfig.title.{en,ar}` for the matched chart.
2420
2436
  */
2421
2437
  onChartTitleEdited(chart: DashboardChartItem, newTitle: string): void;
@@ -2487,6 +2503,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2487
2503
  * Simple reactive store for dashboard builder state management
2488
2504
  */
2489
2505
  declare class DashboardStoreService {
2506
+ private readonly limitedHttp;
2490
2507
  /** Query parameters */
2491
2508
  private queryParamsSignal;
2492
2509
  readonly queryParams: _angular_core.Signal<Record<string, any>>;
@@ -2506,9 +2523,16 @@ declare class DashboardStoreService {
2506
2523
  private reloadCurrentPageSubject;
2507
2524
  readonly reloadCurrentPage$: rxjs.Observable<void>;
2508
2525
  /**
2509
- * Trigger reload of current page
2526
+ * Trigger reload of current page.
2527
+ *
2528
+ * @param force When true, the LimitedHttpService response cache is cleared
2529
+ * first so dashboard items re-fetch fresh data from the network instead of
2530
+ * being served a cached (potentially stale) response. Pass `true` after a
2531
+ * data mutation (create/update/delete) so counts/KPIs reflect the new state
2532
+ * without requiring a full page refresh. Defaults to `false` to preserve the
2533
+ * existing cache-friendly behaviour for plain re-renders.
2510
2534
  */
2511
- triggerReloadCurrentPage(): void;
2535
+ triggerReloadCurrentPage(force?: boolean): void;
2512
2536
  /**
2513
2537
  * Update query parameters
2514
2538
  */
@@ -3032,7 +3056,7 @@ declare class DashboardItem implements OnInit, OnDestroy {
3032
3056
  readonly ignoreQueryFilter: _angular_core.InputSignal<boolean>;
3033
3057
  /**
3034
3058
  * Whether the host is rendering in builder mode (not viewer). Enables
3035
- * the inline title edit + Configure datasource CTA on the chart card.
3059
+ * builder-only guidance actions such as Configure datasource.
3036
3060
  */
3037
3061
  readonly builderMode: _angular_core.InputSignal<boolean>;
3038
3062
  /** Emitted when an action is triggered (useful for dialog communication) */
@@ -3044,8 +3068,8 @@ declare class DashboardItem implements OnInit, OnDestroy {
3044
3068
  */
3045
3069
  readonly configureRequested: _angular_core.OutputEmitterRef<void>;
3046
3070
  /**
3047
- * Emitted when the user inline-edits the chart title. Host (dashboard-builder)
3048
- * should persist the new title into clientConfig.title.{en,ar}.
3071
+ * Emitted when a child renderer reports a title change. Normal builder title
3072
+ * edits are handled by the host edit-title action/modal.
3049
3073
  */
3050
3074
  readonly titleEdited: _angular_core.OutputEmitterRef<string>;
3051
3075
  /** Dashboard ID - derived from config or chartTypeId */
@@ -3062,8 +3086,6 @@ declare class DashboardItem implements OnInit, OnDestroy {
3062
3086
  readonly languageCode: _angular_core.Signal<string>;
3063
3087
  /** Chart type from service config */
3064
3088
  readonly chartType: _angular_core.Signal<string | undefined>;
3065
- /** Whether the inline title input should be shown in the needs-config overlay. */
3066
- readonly titleEditableEnabled: _angular_core.Signal<boolean>;
3067
3089
  /** Current title in active language (or English / Arabic fallback). */
3068
3090
  readonly currentTitle: _angular_core.Signal<string>;
3069
3091
  /**
@@ -3151,9 +3173,9 @@ declare class DashboardItem implements OnInit, OnDestroy {
3151
3173
  */
3152
3174
  onSecondaryRequested(): void;
3153
3175
  /**
3154
- * Handle inline title edit committed by the chart card. Forwarded to host
3155
- * to persist into clientConfig.title.{en,ar}. We also patch the local
3156
- * store so the change shows immediately.
3176
+ * Handle title updates reported by child layout renderers. Forwarded to host
3177
+ * to persist into clientConfig.title.{en,ar}. We also patch the local store
3178
+ * so the change shows immediately.
3157
3179
  */
3158
3180
  onTitleChange(newTitle: string): void;
3159
3181
  doActions(eventData: any, eventType: string): void;
@@ -3177,6 +3199,7 @@ interface HeaderCardConfig$1 {
3177
3199
  }
3178
3200
  interface CardBorderStyleConfig {
3179
3201
  'border-width'?: number;
3202
+ 'border-color'?: string;
3180
3203
  'border-top-show'?: boolean;
3181
3204
  'border-top-color'?: string;
3182
3205
  'border-right-show'?: boolean;
@@ -3222,6 +3245,11 @@ declare class CardContentComponent {
3222
3245
  * key fall back to `comfortable` via the absence-of-attribute baseline.
3223
3246
  */
3224
3247
  readonly density: _angular_core.InputSignal<string | null>;
3248
+ /**
3249
+ * Optional card body padding in px (from `configAsType.padding`). When unset,
3250
+ * the CSS-class baseline padding applies — so existing cards are unchanged.
3251
+ */
3252
+ readonly padding: _angular_core.InputSignal<number | null>;
3225
3253
  /** Whether to show header */
3226
3254
  readonly showHeader: _angular_core.InputSignal<boolean>;
3227
3255
  /** Whether header is clickable */
@@ -3233,19 +3261,12 @@ declare class CardContentComponent {
3233
3261
  /** Header click event */
3234
3262
  readonly headerClick: _angular_core.OutputEmitterRef<void>;
3235
3263
  /**
3236
- * Whether the title is click-to-edit (builder mode only). Falsy by
3237
- * default so view-mode cards keep their existing behavior.
3264
+ * Deprecated compatibility input. Card titles are display-only here; builder
3265
+ * title changes are owned by the host edit-title action/modal.
3238
3266
  */
3239
3267
  readonly titleEditable: _angular_core.InputSignal<boolean>;
3240
- /** Emitted when the user commits an edited title (Enter / blur). */
3268
+ /** Deprecated compatibility output; title edits are host-owned. */
3241
3269
  readonly titleChange: _angular_core.OutputEmitterRef<string>;
3242
- /** Internal: whether the title input is currently being edited. */
3243
- readonly editingTitle: _angular_core.WritableSignal<boolean>;
3244
- /** Internal: draft text while editing. */
3245
- readonly titleDraft: _angular_core.WritableSignal<string>;
3246
- /** Reference to the inline title input (if visible). */
3247
- readonly titleInputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
3248
- constructor();
3249
3270
  /** Computed show header */
3250
3271
  readonly showHeaderState: _angular_core.Signal<boolean>;
3251
3272
  /** Computed header clickable */
@@ -3257,20 +3278,8 @@ declare class CardContentComponent {
3257
3278
  /** Computed border radius style */
3258
3279
  readonly borderRadiusStyle: _angular_core.Signal<string>;
3259
3280
  onHeaderClick(): void;
3260
- /**
3261
- * Begin inline title editing. Only triggered when `titleEditable` is true.
3262
- * The title text is replaced by an `<input>` until Enter/blur (commit) or
3263
- * Escape (cancel).
3264
- */
3265
- onStartEditTitle(event: Event): void;
3266
- /** Commit the in-progress title edit. */
3267
- onCommitTitle(): void;
3268
- /** Cancel the in-progress title edit. */
3269
- onCancelTitle(): void;
3270
- /** Track input changes during edit. */
3271
- onTitleInput(value: string): void;
3272
3281
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CardContentComponent, never>;
3273
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardContentComponent, "mt-card-content", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "headerConfig": { "alias": "headerConfig"; "required": false; "isSignal": true; }; "styleConfig": { "alias": "styleConfig"; "required": false; "isSignal": true; }; "cardStyleConfig": { "alias": "cardStyleConfig"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "isNoTopEnd": { "alias": "isNoTopEnd"; "required": false; "isSignal": true; }; "isChart": { "alias": "isChart"; "required": false; "isSignal": true; }; "titleEditable": { "alias": "titleEditable"; "required": false; "isSignal": true; }; }, { "headerClick": "headerClick"; "titleChange": "titleChange"; }, never, ["[topEnd]", "[body]", "[footer]"], true, never>;
3282
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CardContentComponent, "mt-card-content", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; "headerConfig": { "alias": "headerConfig"; "required": false; "isSignal": true; }; "styleConfig": { "alias": "styleConfig"; "required": false; "isSignal": true; }; "cardStyleConfig": { "alias": "cardStyleConfig"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "padding": { "alias": "padding"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "isNoTopEnd": { "alias": "isNoTopEnd"; "required": false; "isSignal": true; }; "isChart": { "alias": "isChart"; "required": false; "isSignal": true; }; "titleEditable": { "alias": "titleEditable"; "required": false; "isSignal": true; }; }, { "headerClick": "headerClick"; "titleChange": "titleChange"; }, never, ["[topEnd]", "[body]", "[footer]"], true, never>;
3274
3283
  }
3275
3284
 
3276
3285
  declare class CardFilterComponent implements OnInit {
@@ -3590,7 +3599,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3590
3599
  readonly inGroup: _angular_core.InputSignal<boolean>;
3591
3600
  /** Config mode flag (drawer preview) */
3592
3601
  readonly isConfigMode: _angular_core.InputSignal<boolean>;
3593
- /** Whether title is click-to-edit (builder mode only). */
3602
+ /** Builder-mode flag retained for legacy configure CTA behavior. */
3594
3603
  readonly titleEditable: _angular_core.InputSignal<boolean>;
3595
3604
  /** Action event output */
3596
3605
  readonly onAction: _angular_core.OutputEmitterRef<{
@@ -3599,7 +3608,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3599
3608
  }>;
3600
3609
  /** Emitted when the empty card "Configure datasource" CTA is clicked. */
3601
3610
  readonly onConfigure: _angular_core.OutputEmitterRef<void>;
3602
- /** Emitted when title is edited inline. */
3611
+ /** Deprecated compatibility output; title edits are host-owned. */
3603
3612
  readonly onTitleChange: _angular_core.OutputEmitterRef<string>;
3604
3613
  /** Configuration item */
3605
3614
  readonly configurationItem: _angular_core.WritableSignal<ItemConfig | null>;
@@ -3650,6 +3659,8 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3650
3659
  readonly timelineResources: _angular_core.Signal<any[]>;
3651
3660
  readonly timelineLabels: _angular_core.Signal<any[]>;
3652
3661
  readonly timelineLegendIconType: _angular_core.Signal<string>;
3662
+ /** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
3663
+ readonly timelineLegendShow: _angular_core.Signal<boolean>;
3653
3664
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
3654
3665
  readonly timelineHeaderTextColor: _angular_core.Signal<string | null>;
3655
3666
  readonly timelineMode: _angular_core.WritableSignal<TimelineScaleMode>;
@@ -3728,6 +3739,9 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3728
3739
  private chart;
3729
3740
  private resizeObserver;
3730
3741
  private echarts;
3742
+ private legendSelectedState;
3743
+ private pendingCustomLegendSelection;
3744
+ private readonly handleLegendSelectionChanged;
3731
3745
  /** Dashboard ID */
3732
3746
  readonly dashboardId: _angular_core.InputSignal<string | number>;
3733
3747
  /** Chart configuration/data - can be ECharts option directly or wrapped format */
@@ -3772,7 +3786,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3772
3786
  readonly showCustomLegend: _angular_core.Signal<boolean>;
3773
3787
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
3774
3788
  /** Custom HTML legend placement from the configured legend position. */
3775
- readonly customLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
3789
+ readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3776
3790
  constructor();
3777
3791
  ngOnInit(): Promise<void>;
3778
3792
  ngAfterViewInit(): void;
@@ -3783,6 +3797,14 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3783
3797
  */
3784
3798
  private processLegends;
3785
3799
  private hasPieSeries;
3800
+ private applyLegendSelectionToOption;
3801
+ private readLegendSelectedMap;
3802
+ private storeLegendSelection;
3803
+ private syncLegendItems;
3804
+ private updatePieCenterTotal;
3805
+ private getFirstPieSeries;
3806
+ private getCenterGraphicGroup;
3807
+ private hasCenterGraphicChildren;
3786
3808
  /**
3787
3809
  * Toggle legend item visibility
3788
3810
  */
@@ -3841,6 +3863,8 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3841
3863
  private getResponsiveGridOffsets;
3842
3864
  private applyResponsiveLegend;
3843
3865
  private applyConfiguredLegend;
3866
+ private applyLegendOverrideOrder;
3867
+ private orderSeriesDataByLegend;
3844
3868
  private mapLegendConfig;
3845
3869
  private applyLegendSideCoordinates;
3846
3870
  private estimateCategoryCount;
@@ -3857,6 +3881,7 @@ interface EntityData {
3857
3881
  settings?: any;
3858
3882
  showInfoUser?: boolean;
3859
3883
  displayAreas?: any[];
3884
+ statusColor?: string;
3860
3885
  }
3861
3886
  declare class EntityInfoComponent {
3862
3887
  /** Entity data to display */
@@ -3952,6 +3977,8 @@ declare class PropertiesCardComponent implements OnInit, OnDestroy {
3952
3977
  readonly currentTabItems: _angular_core.Signal<DashboardTabItem[]>;
3953
3978
  readonly selectedProperties: _angular_core.Signal<string[]>;
3954
3979
  readonly propsConfigAsIndex: _angular_core.Signal<PropertyRuntimeConfig[]>;
3980
+ readonly propertyColorOverrides: _angular_core.Signal<unknown>;
3981
+ readonly numberFormat: _angular_core.Signal<unknown>;
3955
3982
  readonly legacyHiddenPropertyKeys: _angular_core.Signal<string[]>;
3956
3983
  readonly tabOptions: _angular_core.Signal<DashboardCardTabOption[]>;
3957
3984
  readonly showTabs: _angular_core.Signal<boolean>;
@@ -3978,6 +4005,28 @@ declare class PropertiesCardComponent implements OnInit, OnDestroy {
3978
4005
  private resolveTabLabel;
3979
4006
  private readString;
3980
4007
  private resolveEntityName;
4008
+ /**
4009
+ * Resolve a per-property label override from
4010
+ * configAsType.overrideSelectedPropertiesLabels[propKey][lang]. The map may be
4011
+ * stored with original-case keys, so match the property key case-insensitively.
4012
+ */
4013
+ private resolveLabelOverride;
4014
+ /**
4015
+ * Resolve a per-property color override from
4016
+ * configAsType.overrideSelectedPropertiesColors. Shape is
4017
+ * `{ [targetPropKey]: { selectedKey: sourcePropKeyOrColor } }` — the color is
4018
+ * sourced from another property's value (matching the ring-gauge handler) or,
4019
+ * when `selectedKey` is a literal color, used directly. Case-insensitive on
4020
+ * the property key. Returns '' when no override applies.
4021
+ */
4022
+ private resolvePropertyColorOverride;
4023
+ /**
4024
+ * Apply Style Studio "Number format" (clientConfig.format) to numeric entity
4025
+ * values (percentage / currency / number). Gated: only formats string/number
4026
+ * scalar values for those view types; absent format or non-scalar values pass
4027
+ * through unchanged so existing dashboards keep their current rendering.
4028
+ */
4029
+ private applyNumberFormat;
3981
4030
  private readLocalizedText;
3982
4031
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropertiesCardComponent, never>;
3983
4032
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<PropertiesCardComponent, "mt-properties-card, mt-entities-preview-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; "inGroup": { "alias": "inGroup"; "required": false; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
@@ -4002,6 +4051,28 @@ declare class EntityPreviewCardComponent implements OnInit, OnDestroy {
4002
4051
  private readLegacyHiddenPropertyKeys;
4003
4052
  private mapViewType;
4004
4053
  private resolveEntityName;
4054
+ /**
4055
+ * Resolve a per-property label override from
4056
+ * configAsType.overrideSelectedPropertiesLabels[propKey][lang]. The map may be
4057
+ * stored with original-case keys, so match the property key case-insensitively.
4058
+ */
4059
+ private resolveLabelOverride;
4060
+ /**
4061
+ * Resolve a per-property color override from
4062
+ * configAsType.overrideSelectedPropertiesColors. Shape is
4063
+ * `{ [targetPropKey]: { selectedKey: sourcePropKeyOrColor } }` — the color is
4064
+ * sourced from another property's value (matching the ring-gauge handler) or,
4065
+ * when `selectedKey` is a literal color, used directly. Case-insensitive on
4066
+ * the property key. Returns '' when no override applies.
4067
+ */
4068
+ private resolvePropertyColorOverride;
4069
+ /**
4070
+ * Apply Style Studio "Number format" (clientConfig.format) to numeric entity
4071
+ * values (percentage / currency / number). Gated: only formats string/number
4072
+ * scalar values for those view types; absent format or non-scalar values pass
4073
+ * through unchanged so existing dashboards keep their current rendering.
4074
+ */
4075
+ private applyNumberFormat;
4005
4076
  private readLocalizedText;
4006
4077
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<EntityPreviewCardComponent, never>;
4007
4078
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<EntityPreviewCardComponent, "mt-entity-preview-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4071,6 +4142,24 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
4071
4142
  readonly containerStyles: _angular_core.Signal<any>;
4072
4143
  /** Card styles */
4073
4144
  readonly cardStyles: _angular_core.Signal<any>;
4145
+ /**
4146
+ * Header text alignment, written by the `textAlign` control as
4147
+ * `clientConfig.displayConfig.StyleConfig['justify-content']`
4148
+ * (values: start | center | end). When `isHeaderCentered` is set it forces
4149
+ * `center`. Returns '' when nothing is configured so the existing layout is
4150
+ * preserved.
4151
+ */
4152
+ readonly headerJustify: _angular_core.Signal<string>;
4153
+ /**
4154
+ * Center the header block
4155
+ * (configAsType.headerCardConfig.isHeaderCentered === true).
4156
+ */
4157
+ readonly isHeaderCentered: _angular_core.Signal<boolean>;
4158
+ /**
4159
+ * Hide the header band
4160
+ * (configAsType.headerCardConfig.isHeaderHidden === true).
4161
+ */
4162
+ readonly isHeaderHidden: _angular_core.Signal<boolean>;
4074
4163
  /** Status indicators */
4075
4164
  readonly statuses: _angular_core.WritableSignal<StatusItem[]>;
4076
4165
  readonly editingTitle: _angular_core.WritableSignal<boolean>;
@@ -4133,6 +4222,11 @@ declare class ListStatisticCardComponent implements OnInit, OnDestroy {
4133
4222
  private readonly subscription;
4134
4223
  /** Dashboard ID */
4135
4224
  readonly dashboardId: _angular_core.InputSignal<string | number>;
4225
+ /** Action output — routed through dashboard-item.doActions -> ActionService. */
4226
+ readonly onAction: _angular_core.OutputEmitterRef<{
4227
+ type: string;
4228
+ data: any;
4229
+ }>;
4136
4230
  /** Configuration item - matches OLD: ConfigurationItem */
4137
4231
  readonly configurationItem: _angular_core.WritableSignal<ItemConfig | null>;
4138
4232
  /** Handled data - matches OLD: DataHandled - receives direct format from handler */
@@ -4147,7 +4241,7 @@ declare class ListStatisticCardComponent implements OnInit, OnDestroy {
4147
4241
  */
4148
4242
  doActions(event: any, type: string): void;
4149
4243
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListStatisticCardComponent, never>;
4150
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListStatisticCardComponent, "mt-list-statistic-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
4244
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListStatisticCardComponent, "mt-list-statistic-card", never, { "dashboardId": { "alias": "dashboardId"; "required": true; "isSignal": true; }; }, { "onAction": "onAction"; }, never, never, true, never>;
4151
4245
  }
4152
4246
 
4153
4247
  interface SkeletonConfig {
@@ -4210,6 +4304,10 @@ declare class StatisticCardComponent implements OnInit {
4210
4304
  }>;
4211
4305
  /** Card styles */
4212
4306
  readonly cardStyles: _angular_core.Signal<Record<string, any>>;
4307
+ /** Center the title/header block (configAsType.headerCardConfig.isHeaderCentered). */
4308
+ readonly isHeaderCentered: _angular_core.Signal<boolean>;
4309
+ /** Hide the title row (configAsType.headerCardConfig.isHeaderHidden / showHeader === false). */
4310
+ readonly isHeaderHidden: _angular_core.Signal<boolean>;
4213
4311
  /** Border top style */
4214
4312
  readonly borderTopStyle: _angular_core.Signal<{
4215
4313
  'border-top'?: undefined;
@@ -4261,7 +4359,19 @@ interface TableStyleConfig {
4261
4359
  groupBackgroundColor?: string;
4262
4360
  hiddenColumns?: string[];
4263
4361
  hideTableSubheader?: boolean;
4362
+ /** When true, skip currency formatting and render the raw numeric value. */
4363
+ disableCurrencyFormat?: boolean;
4264
4364
  hideIndex?: boolean;
4365
+ /** Alternating-row shading. */
4366
+ striped?: boolean;
4367
+ /** Default sort applied on load. */
4368
+ sortConfig?: {
4369
+ column?: string;
4370
+ direction?: 'asc' | 'desc';
4371
+ };
4372
+ /** Render percentage cells as a progress bar / status dot. */
4373
+ showPercentageAsProgressBar?: boolean;
4374
+ showPercentageStatus?: boolean;
4265
4375
  }
4266
4376
  interface TableVirtualRow {
4267
4377
  trackId: string;
@@ -4315,6 +4425,32 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4315
4425
  readonly title: _angular_core.Signal<string>;
4316
4426
  /** Table style config */
4317
4427
  readonly tableStyleConfig: _angular_core.Signal<TableStyleConfig | null>;
4428
+ /**
4429
+ * Hide the table's column-header (subheader) row.
4430
+ * Reads `clientConfig.tableFormat.hideTableSubheader`. Gated: defaults to
4431
+ * showing the header (current behavior) unless the flag is explicitly true.
4432
+ */
4433
+ readonly hideSubheader: _angular_core.Signal<boolean>;
4434
+ /**
4435
+ * Whether to skip currency formatting on cells.
4436
+ * Reads `clientConfig.tableFormat.disableCurrencyFormat`. Gated: only true
4437
+ * when the flag is explicitly set.
4438
+ */
4439
+ readonly disableCurrencyFormat: _angular_core.Signal<boolean>;
4440
+ /** "% status color" toggle — color percentage cells by the row's status. */
4441
+ readonly showPercentageStatus: _angular_core.Signal<boolean>;
4442
+ /**
4443
+ * Resolve the row's status colour from the column whose viewType is 'status'
4444
+ * (e.g. Delayed -> red, Completed -> green). Used to tint percentage cells.
4445
+ */
4446
+ private getRowStatusColor;
4447
+ /**
4448
+ * Extra-columns-from-lookup config persisted at `clientConfig.tableCoulmns`
4449
+ * (misspelling preserved on purpose). Shape: { extraCoulmnFromLookup,
4450
+ * lookupId, groupedBy, propKey }. Read here so the renderer can react to it;
4451
+ * the data-join itself is performed in buildTable when present.
4452
+ */
4453
+ readonly extraColumnsConfig: _angular_core.Signal<any>;
4318
4454
  /** Whether to show index column */
4319
4455
  readonly showIndex: _angular_core.Signal<boolean>;
4320
4456
  /** Whether table is grouped */
@@ -4357,6 +4493,13 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4357
4493
  * Build flat (non-grouped) table
4358
4494
  */
4359
4495
  private buildFlatTable;
4496
+ /**
4497
+ * Apply the configured default sort (tableFormat.sortConfig) on load. The
4498
+ * configured column is a selected-property key; match it against the built
4499
+ * columns (by keyPure / key prefix, case-insensitive) and sort the flat rows.
4500
+ * No-op when no sortConfig.column is set.
4501
+ */
4502
+ private applyDefaultSort;
4360
4503
  /**
4361
4504
  * Build grouped table
4362
4505
  */
@@ -4725,6 +4868,12 @@ declare class PieChartHandler {
4725
4868
 
4726
4869
  declare class StackBarChartHandler {
4727
4870
  private readonly storeService;
4871
+ /**
4872
+ * Clamp a configured series label position to a valid ECharts bar label
4873
+ * position. Returns the fallback unchanged when the config value is absent
4874
+ * or not a recognized position (keeps existing behavior).
4875
+ */
4876
+ private resolveBarLabelPosition;
4728
4877
  private resolveStackBarBorderRadius;
4729
4878
  /**
4730
4879
  * Helper method to convert legend position based on language
@@ -4957,6 +5106,7 @@ declare class ComparisonChartHandler {
4957
5106
  }
4958
5107
 
4959
5108
  declare class SplitterChartHandler {
5109
+ private readonly storeService;
4960
5110
  /**
4961
5111
  * handleSplitterChart - matches functionName from CHART_TYPES
4962
5112
  * Returns data directly in the format:
@@ -5049,6 +5199,18 @@ declare class MapChartHandler {
5049
5199
  * Returns data directly as array of grouped records
5050
5200
  */
5051
5201
  handleLeafletMap(dataResponse: any, config: ItemConfig): any;
5202
+ /**
5203
+ * Reads the Style Studio map controls from the persisted clientConfig exactly
5204
+ * as the schema writes them and returns only the keys that are present.
5205
+ *
5206
+ * Schema write paths (control-schema.registry.ts MAP_SECTION):
5207
+ * - mapRegion -> clientConfig.map
5208
+ * - tileLayer -> clientConfig.configAsType.mapChart.tileLayer
5209
+ * - showClusters -> clientConfig.configAsType.mapChart.showClusters
5210
+ * - minZoom -> clientConfig.configAsType.mapChart.minZoom
5211
+ * - maxZoom -> clientConfig.configAsType.mapChart.maxZoom
5212
+ */
5213
+ private buildMapConfig;
5052
5214
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<MapChartHandler, never>;
5053
5215
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<MapChartHandler>;
5054
5216
  }
@@ -7381,7 +7543,7 @@ declare class DataSourceSettings {
7381
7543
  * Active tab within the selection cycle: Selection (pick modules) · Source
7382
7544
  * Links (joins, only with >1 selection) · Query (fields).
7383
7545
  */
7384
- readonly activeSection: _angular_core.WritableSignal<"selection" | "sourceLinks" | "query">;
7546
+ readonly activeSection: _angular_core.WritableSignal<"query" | "selection" | "sourceLinks">;
7385
7547
  /** Selection mode inside the selection tab (informative authoring). */
7386
7548
  readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
7387
7549
  readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
@@ -7885,6 +8047,7 @@ declare class StyleStudioDrawer {
7885
8047
  /** Free-text "find a setting" filter. */
7886
8048
  readonly searchControl: FormControl<string>;
7887
8049
  readonly search: _angular_core.Signal<string>;
8050
+ private readonly activeLang;
7888
8051
  /** Section the rail highlights as active (scroll-spy). */
7889
8052
  readonly activeSection: _angular_core.WritableSignal<string>;
7890
8053
  /**
@@ -7967,6 +8130,8 @@ interface RenderSection {
7967
8130
  * the persisted config (one-way data flow → the live preview reacts).
7968
8131
  */
7969
8132
  declare class StyleSettingsRenderer {
8133
+ private readonly transloco;
8134
+ private readonly activeLang;
7970
8135
  readonly schema: _angular_core.InputSignal<ControlSchema>;
7971
8136
  readonly persisted: _angular_core.InputSignal<_masterteam_dashboard_builder.ItemConfig | null>;
7972
8137
  readonly capability: _angular_core.InputSignal<ChartCapability | null>;
@@ -7982,6 +8147,7 @@ declare class StyleSettingsRenderer {
7982
8147
  readonly isEmpty: _angular_core.Signal<boolean>;
7983
8148
  /** Composite/full-width field types span both grid columns. */
7984
8149
  isComposite(field: ControlField): boolean;
8150
+ message(key: string, fallback: string): string;
7985
8151
  sectionId(section: ControlSection): string;
7986
8152
  onPatch(patch: ControlPatch): void;
7987
8153
  /** Clear every visible field in a section back to its (unset) default. */
@@ -7996,7 +8162,7 @@ declare class StyleSettingsRenderer {
7996
8162
  * `cardStyleConfig.shadows` array, so a reset must clear BOTH or the rendered
7997
8163
  * box-shadow lingers. Shared by resetSection() and resetAll().
7998
8164
  */
7999
- declare function expandResetPatches(path: string): ControlPatch[];
8165
+ declare function expandResetPatches(path: string, mirrorPaths?: string[]): ControlPatch[];
8000
8166
  /**
8001
8167
  * Renders ONE schema `ControlField` as the appropriate `mt-*` control using
8002
8168
  * reactive forms (no ngModel). Scalar types own a `FormControl` synced from the
@@ -8016,11 +8182,15 @@ declare class StyleField {
8016
8182
  readonly jsonControl: FormControl<string>;
8017
8183
  readonly jsonError: _angular_core.WritableSignal<string | null>;
8018
8184
  private readonly destroyRef;
8185
+ private readonly transloco;
8186
+ private readonly activeLang;
8019
8187
  private syncing;
8020
8188
  private syncingJson;
8021
8189
  /** True for types that own their own state (controlled, no FormControl). */
8022
8190
  readonly isComposite: _angular_core.Signal<boolean>;
8023
8191
  readonly currentValue: _angular_core.Signal<unknown>;
8192
+ /** Read the field value from `path`, falling back to the first non-empty mirror. */
8193
+ private readCurrent;
8024
8194
  constructor();
8025
8195
  options(): ControlOption[];
8026
8196
  /** select uses a search box once the list is long enough to need one. */
@@ -8029,6 +8199,7 @@ declare class StyleField {
8029
8199
  get numberMin(): number;
8030
8200
  get numberMax(): number;
8031
8201
  conditionFields(): ControlField[];
8202
+ addLabel(fallback: string): string;
8032
8203
  mapKeys(): ControlOption[];
8033
8204
  readArray(): unknown[];
8034
8205
  readColors(): string[];
@@ -8109,6 +8280,7 @@ declare class ArrayBuilderField {
8109
8280
  readonly valueChange: _angular_core.OutputEmitterRef<unknown[]>;
8110
8281
  readonly rows: _angular_core.WritableSignal<ArrayRow[]>;
8111
8282
  private readonly destroyRef;
8283
+ private readonly transloco;
8112
8284
  /** Subscriptions for the current row set; torn down on every rebuild. */
8113
8285
  private rowSubs;
8114
8286
  private nextId;
@@ -8148,12 +8320,12 @@ interface MapRow {
8148
8320
  * boolean). Controlled: `value` in, `valueChange` out.
8149
8321
  */
8150
8322
  declare class KeyValueMapField {
8151
- readonly value: _angular_core.InputSignal<unknown[] | Record<string, unknown> | null>;
8323
+ readonly value: _angular_core.InputSignal<Record<string, unknown> | unknown[] | null>;
8152
8324
  readonly keys: _angular_core.InputSignal<ControlOption[]>;
8153
8325
  readonly valueFields: _angular_core.InputSignal<ControlField[]>;
8154
8326
  /** When true, store/read a positional array aligned to `keys` order. */
8155
8327
  readonly asArray: _angular_core.InputSignal<boolean>;
8156
- readonly valueChange: _angular_core.OutputEmitterRef<unknown[] | Record<string, unknown>>;
8328
+ readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown> | unknown[]>;
8157
8329
  readonly rows: _angular_core.WritableSignal<MapRow[]>;
8158
8330
  private readonly destroyRef;
8159
8331
  /** Subscriptions for the current row set; torn down on every rebuild. */