@masterteam/dashboard-builder 0.0.51 → 0.0.53

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-BPYkRRH5.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-BlBnHwDv.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.51",
3
+ "version": "0.0.53",
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/timeline": "^0.0.17",
25
- "@masterteam/components": "^0.0.216",
26
- "@masterteam/icons": "^0.0.17"
24
+ "@masterteam/icons": "^0.0.17",
25
+ "@masterteam/components": "^0.0.219",
26
+ "@masterteam/timeline": "^0.0.17"
27
27
  },
28
28
  "dependencies": {
29
29
  "tslib": "^2.8.1",
@@ -2188,7 +2188,7 @@ declare class DatasourcePanelComponent {
2188
2188
  sourceStatus: string;
2189
2189
  sourceIcon: string;
2190
2190
  sourceLabel: string;
2191
- fieldsStatus: "missing" | "ok";
2191
+ fieldsStatus: "ok" | "missing";
2192
2192
  fieldsIcon: string;
2193
2193
  fieldsLabel: string;
2194
2194
  missing: string[];
@@ -3664,7 +3664,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3664
3664
  /** Whether the user can act on the Configure CTA (builder mode). */
3665
3665
  readonly canConfigure: _angular_core.Signal<boolean>;
3666
3666
  readonly hasSplitterData: _angular_core.Signal<boolean>;
3667
- readonly splitterOrientation: _angular_core.Signal<"vertical" | "horizontal">;
3667
+ readonly splitterOrientation: _angular_core.Signal<"horizontal" | "vertical">;
3668
3668
  readonly splitterGap: _angular_core.Signal<number>;
3669
3669
  readonly hasTimelineData: _angular_core.Signal<boolean>;
3670
3670
  readonly timelineEvents: _angular_core.Signal<any[]>;
@@ -3798,7 +3798,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
3798
3798
  readonly showCustomLegend: _angular_core.Signal<boolean>;
3799
3799
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
3800
3800
  /** Custom HTML legend placement from the configured legend position. */
3801
- readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3801
+ readonly customLegendPosition: _angular_core.Signal<"top" | "bottom" | "left" | "right">;
3802
3802
  constructor();
3803
3803
  ngOnInit(): Promise<void>;
3804
3804
  ngAfterViewInit(): void;
@@ -5176,6 +5176,7 @@ declare class LevelCardHandler {
5176
5176
  * [[{ data: levelProps }]]
5177
5177
  */
5178
5178
  handlelevelCardsWithFilter(result: any, _config: ItemConfig): any;
5179
+ private normalizeLevelCardProperty;
5179
5180
  /**
5180
5181
  * Handle grouped level cards (multiple selections)
5181
5182
  * Returns data directly
@@ -5197,6 +5198,7 @@ declare class LevelCardHandler {
5197
5198
  * Get display value from property
5198
5199
  */
5199
5200
  private getDisplayValue;
5201
+ private shouldRenderLevelCardDisplayValue;
5200
5202
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LevelCardHandler, never>;
5201
5203
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<LevelCardHandler>;
5202
5204
  }
@@ -7558,7 +7560,7 @@ declare class DataSourceSettings {
7558
7560
  * Active tab within the selection cycle: Selection (pick modules) · Source
7559
7561
  * Links (joins, only with >1 selection) · Query (fields).
7560
7562
  */
7561
- readonly activeSection: _angular_core.WritableSignal<"query" | "selection" | "sourceLinks">;
7563
+ readonly activeSection: _angular_core.WritableSignal<"selection" | "sourceLinks" | "query">;
7562
7564
  /** Selection mode inside the selection tab (informative authoring). */
7563
7565
  readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
7564
7566
  readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
@@ -8336,12 +8338,12 @@ interface MapRow {
8336
8338
  * boolean). Controlled: `value` in, `valueChange` out.
8337
8339
  */
8338
8340
  declare class KeyValueMapField {
8339
- readonly value: _angular_core.InputSignal<Record<string, unknown> | unknown[] | null>;
8341
+ readonly value: _angular_core.InputSignal<unknown[] | Record<string, unknown> | null>;
8340
8342
  readonly keys: _angular_core.InputSignal<ControlOption[]>;
8341
8343
  readonly valueFields: _angular_core.InputSignal<ControlField[]>;
8342
8344
  /** When true, store/read a positional array aligned to `keys` order. */
8343
8345
  readonly asArray: _angular_core.InputSignal<boolean>;
8344
- readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown> | unknown[]>;
8346
+ readonly valueChange: _angular_core.OutputEmitterRef<unknown[] | Record<string, unknown>>;
8345
8347
  readonly rows: _angular_core.WritableSignal<MapRow[]>;
8346
8348
  private readonly destroyRef;
8347
8349
  /** Subscriptions for the current row set; torn down on every rebuild. */