@masterteam/dashboard-builder 0.0.80 → 0.0.82

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 { aC as ActionsSettings, aK as ArrayBuilderField, K as BarChartHandler, av as BarControlUi, aY as CHART_CAPABILITIES, ay as CHART_TYPES, bb as CONFIG_DOMAINS, C as CardContentComponent, q as CardFilterComponent, t as CardInfoComponent, u as ChartCardComponent, J as ChartDataService, aO as ChartFilterDrawer, ar as ChartSettingsDrawer, aD as ChartViewer, aJ as ColorListField, Z as ComparisonChartHandler, b as DashboardBuilder, ak as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ah as DashboardList, al as DashboardStoreService, d as DashboardViewer, aB as DataSourceSettings, aU as DatasourcePanelComponent, at as DefaultControlUi, as as DisplaySettings, r as DynamicFiltersComponent, aq as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, w as EntityInfoComponent, y as EntityPreviewCardComponent, aT as FilterBuilderComponent, aW as FilterByGroupPipe, aS as FilterChipsBarComponent, R as GaugeChartHandler, aA as GeneralSettings, aX as GetChartActionsPipe, aR as GuidedConfigDialogComponent, aj as HTTPMethod, H as HeaderCardComponent, bV as ITEM_GUIDANCE_REGISTRY, aN as ItemCardMenuComponent, aQ as ItemConfigPopoverComponent, aP as ItemContextToolbarComponent, bX as ItemGuidanceService, aL as KeyValueMapField, L as LastHistoryLevelCardComponent, aM as LegendOrderField, $ as LevelCardHandler, X as LineChartHandler, z as ListStatisticCardComponent, ai as MODULE_CLASSIFICATION_LOG, ao as ManageBreadcrumb, ap as ManageFilterOnPage, ax as ManageItem, az as ManageItemService, an as ManagePages, a0 as MapChartHandler, V as OverviewCardHandler, be as POPOVER_TABS, bf as POPOVER_TAB_SPECS, a3 as PhaseGateStepperHandler, M as PieChartHandler, au as PieControlUi, P as PropertiesCardComponent, a1 as RingGaugeChartHandler, a2 as SPlusChartHandler, bw as STYLE_PRESETS, aV as SchemaControlRendererComponent, aI as SegmentedField, A as SkeletonCardComponent, Y as SnapshotHandler, _ as SplitterChartHandler, N as StackBarChartHandler, aw as StackBarControlUi, S as StaticFiltersComponent, G as StatisticCardComponent, aH as StyleField, aF as StyleSettingsRenderer, aE as StyleStudioDrawer, T as TableCardComponent, U as TableViewHandler, W as TimelineHandler, I as TopbarCardComponent, m as addCommasToNumber, bs as applyBehaviorToPersisted, bH as applyControlPatchToPersisted, bI as applyControlPatchesToPersisted, bt as applyFilterChipsToPersisted, bq as applyLabelLegendFormatToPersisted, bo as applyLayoutToPersisted, bm as applyStyleToPersisted, bh as applyTitleToPersisted, O as axisFormatters, br as behaviorToUi, bQ as bindingKey, bv as buildAssembly, bP as buildDisplayFieldPredicate, c as cloneDeep, a9 as createAxisFormatter, aa as createTooltipFormatter, bi as datasourceToUi, bD as deepMerge, bW as describeGuidance, bc as domainsForCapability, h as dynamicReorder, f as dynamicTextReplace, aG as expandResetPatches, bj as fieldsToUi, bk as filtersToUi, bd as findDomain, by as findPreset, bN as flattenSchema, ab as formatAxisLabel, a4 as formatCurrency, a8 as formatDate, bE as formatForEditor, a7 as formatNumber, a6 as formatPercentage, j as formatValue, ac as formatWordsUnderBar, ad as formatXAxis, i as generalConfiguration, bR as getBinding, aZ as getCapabilityById, p as getColorFromConditions, bJ as getControlSchema, a5 as getCurrencySuffix, bM as getFallbackControlSchema, k as getLocalizedTitle, g as getNestedData, Q as groupDatesByYearAndMonth, bB as groupIssuesByDomain, af as handleFilterForCard, ag as handleFilterForSnapshot, ae as handleFiltersForCustom, bA as hasBlockingIssues, am as isManagePagesDeleteResult, o as isMobilePlatform, bp as labelLegendFormatToUi, bn as layoutToUi, bS as listBindings, bT as listBindingsForChart, bK as listControlSchemaIds, bL as listControlSchemas, b5 as moduleIdFromSelector, b2 as normalizeAggregateFunction, ba as normalizeBeforeRequest, b9 as normalizeBeforeSave, b0 as normalizeChartTypeForRequest, x as normalizeDashboardCardEntityValue, b1 as normalizeFilterOperation, b3 as normalizeFilters, b8 as normalizeOnLoad, bC as parseAdvancedJson, bu as persistedToUi, bx as presetsForCapability, bU as readBoundValue, bF as readByPath, a_ as resolveCapability, bO as resolveDisplayFields, v as resolveEntityUserPhoto, B as resolveStatisticIconPlacement, b4 as selectorFromLegacy, bG as setByPath, l as sortChartData, n as sortDataTableView, bl as styleToUi, e as switchAllKeysSmall, s as switchAllKeysToLower, bg as titleToUi, a$ as toBackendChartType, b6 as toBackendSourceLink, b7 as toFormSourceLink, bz as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-DwcYTQ0c.mjs';
1
+ export { aG as ActionsSettings, aO as ArrayBuilderField, N as BarChartHandler, az as BarControlUi, b0 as CHART_CAPABILITIES, aC as CHART_TYPES, bf as CONFIG_DOMAINS, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, M as ChartDataService, aS as ChartFilterDrawer, av as ChartSettingsDrawer, aH as ChartViewer, aN as ColorListField, $ as ComparisonChartHandler, d as DashboardBuilder, ao as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, aj as DashboardList, ap as DashboardStoreService, e as DashboardViewer, aF as DataSourceSettings, aY as DatasourcePanelComponent, ax as DefaultControlUi, aw as DisplaySettings, u as DynamicFiltersComponent, au as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, A as EntityPreviewCardComponent, aX as FilterBuilderComponent, a_ as FilterByGroupPipe, aW as FilterChipsBarComponent, V as GaugeChartHandler, aE as GeneralSettings, a$ as GetChartActionsPipe, aV as GuidedConfigDialogComponent, an as HTTPMethod, H as HeaderCardComponent, bZ as ITEM_GUIDANCE_REGISTRY, aR as ItemCardMenuComponent, aU as ItemConfigPopoverComponent, aT as ItemContextToolbarComponent, b$ as ItemGuidanceService, aP as KeyValueMapField, L as LastHistoryLevelCardComponent, aQ as LegendOrderField, a1 as LevelCardHandler, Z as LineChartHandler, B as ListStatisticCardComponent, ak as MODULE_CLASSIFICATION_LOG, al as MODULE_CLASSIFICATION_LOG_NAME, as as ManageBreadcrumb, at as ManageFilterOnPage, aB as ManageItem, aD as ManageItemService, ar as ManagePages, a2 as MapChartHandler, X as OverviewCardHandler, bi as POPOVER_TABS, bj as POPOVER_TAB_SPECS, a5 as PhaseGateStepperHandler, O as PieChartHandler, ay as PieControlUi, P as PropertiesCardComponent, a3 as RingGaugeChartHandler, a4 as SPlusChartHandler, bA as STYLE_PRESETS, aZ as SchemaControlRendererComponent, aM as SegmentedField, G as SkeletonCardComponent, _ as SnapshotHandler, a0 as SplitterChartHandler, Q as StackBarChartHandler, aA as StackBarControlUi, S as StaticFiltersComponent, J as StatisticCardComponent, aL as StyleField, aJ as StyleSettingsRenderer, aI as StyleStudioDrawer, T as TableCardComponent, W as TableViewHandler, Y as TimelineHandler, K as TopbarCardComponent, n as addCommasToNumber, bw as applyBehaviorToPersisted, bL as applyControlPatchToPersisted, bM as applyControlPatchesToPersisted, bx as applyFilterChipsToPersisted, bu as applyLabelLegendFormatToPersisted, bs as applyLayoutToPersisted, bq as applyStyleToPersisted, bl as applyTitleToPersisted, R as axisFormatters, bv as behaviorToUi, bU as bindingKey, bz as buildAssembly, bT as buildDisplayFieldPredicate, c as cloneDeep, ab as createAxisFormatter, ac as createTooltipFormatter, bm as datasourceToUi, bH as deepMerge, b_ as describeGuidance, bg as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aK as expandResetPatches, bn as fieldsToUi, bo as filtersToUi, bh as findDomain, bC as findPreset, bR as flattenSchema, ad as formatAxisLabel, a6 as formatCurrency, aa as formatDate, bI as formatForEditor, a9 as formatNumber, a8 as formatPercentage, k as formatValue, ae as formatWordsUnderBar, af as formatXAxis, j as generalConfiguration, bV as getBinding, b1 as getCapabilityById, q as getColorFromConditions, bN as getControlSchema, a7 as getCurrencySuffix, bQ as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, U as groupDatesByYearAndMonth, bF as groupIssuesByDomain, ah as handleFilterForCard, ai as handleFilterForSnapshot, ag as handleFiltersForCustom, bE as hasBlockingIssues, am as isLogClassification, aq as isManagePagesDeleteResult, p as isMobilePlatform, bt as labelLegendFormatToUi, br as layoutToUi, bW as listBindings, bX as listBindingsForChart, bO as listControlSchemaIds, bP as listControlSchemas, b9 as moduleIdFromSelector, b6 as normalizeAggregateFunction, be as normalizeBeforeRequest, bd as normalizeBeforeSave, b4 as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, b5 as normalizeFilterOperation, b7 as normalizeFilters, bc as normalizeOnLoad, bG as parseAdvancedJson, by as persistedToUi, bB as presetsForCapability, bY as readBoundValue, bJ as readByPath, b2 as resolveCapability, bS as resolveDisplayFields, x as resolveEntityUserPhoto, I as resolveStatisticIconPlacement, b8 as selectorFromLegacy, bK as setByPath, m as sortChartData, o as sortDataTableView, bp as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bk as titleToUi, b3 as toBackendChartType, ba as toBackendSourceLink, bb as toFormSourceLink, bD as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-B_mWi5v-.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.80",
3
+ "version": "0.0.82",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -23,10 +23,9 @@
23
23
  "quill": "^2.0.3",
24
24
  "rxjs": "^7.8.2",
25
25
  "tailwindcss": "^4.2.2",
26
- "@masterteam/components": "^0.0.271",
26
+ "@masterteam/components": "^0.0.274",
27
27
  "@masterteam/icons": "^0.0.17",
28
- "@masterteam/formula-builder": "^0.0.27",
29
- "@masterteam/timeline": "^0.0.22"
28
+ "@masterteam/timeline": "^0.0.23"
30
29
  },
31
30
  "dependencies": {
32
31
  "tslib": "^2.8.1",
@@ -83,23 +83,32 @@ interface DashboardFilterLevelLog {
83
83
  name?: string;
84
84
  }
85
85
  /**
86
- * `ModuleClassificationEnum.Log`. The backend serializes enums as numbers, so
87
- * a level's logs are its modules with `classification === 0`; `1` is `Process`.
86
+ * `ModuleClassificationEnum.Log` — `1` is `Process`.
87
+ *
88
+ * Enum serialization is NOT uniform across the API: `GET Modules?LevelId=`
89
+ * emits the enum **name** (`"Log"` / `"Process"`) while other endpoints emit
90
+ * the ordinal. Compare through `isLogClassification`, never with a bare `===`
91
+ * against this constant — a strict ordinal check silently drops every module.
88
92
  */
89
93
  declare const MODULE_CLASSIFICATION_LOG = 0;
94
+ /** The name form of `MODULE_CLASSIFICATION_LOG`. */
95
+ declare const MODULE_CLASSIFICATION_LOG_NAME = "Log";
96
+ /** True when a `ModuleDto.classification` means `Log`, in either serialization. */
97
+ declare function isLogClassification(classification: number | string | null | undefined): boolean;
90
98
  /**
91
99
  * One entry of `GET Modules?LevelId={levelId}` (`ModuleDto`).
92
100
  *
93
101
  * The endpoint returns the whole module catalog, NOT the level's modules:
94
102
  * `GetAllModulesQueryHandler` marks level membership with `isActive` instead of
95
103
  * filtering. A level's logs are therefore `isActive === true` **and**
96
- * `classification === MODULE_CLASSIFICATION_LOG`.
104
+ * `isLogClassification(classification)`.
97
105
  */
98
106
  interface DashboardLevelModule {
99
107
  id: number;
100
108
  key: string;
101
109
  name?: DashboardFilterLocalizedText;
102
- classification?: number;
110
+ /** The enum name (`"Log"`) on this endpoint; an ordinal on others. */
111
+ classification?: number | string;
103
112
  isActive?: boolean;
104
113
  order?: number;
105
114
  }
@@ -2521,7 +2530,8 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2521
2530
  x: number;
2522
2531
  y: number;
2523
2532
  }>;
2524
- readonly stopActionsOnCards: _angular_core.WritableSignal<boolean>;
2533
+ readonly preview: _angular_core.WritableSignal<boolean>;
2534
+ readonly isReadonly: _angular_core.Signal<boolean>;
2525
2535
  readonly pendingWidgetType: _angular_core.WritableSignal<ChartTypeConfig | null>;
2526
2536
  /** Whether the most recent action can be reverted (drives the Undo button). */
2527
2537
  readonly canUndo: _angular_core.WritableSignal<boolean>;
@@ -2534,6 +2544,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2534
2544
  readonly direction: _angular_core.Signal<"rtl" | "ltr">;
2535
2545
  readonly chartActionsContext: ChartActionsContext;
2536
2546
  readonly options: GridsterConfig;
2547
+ private readonly gridsterEditableEffect;
2537
2548
  private subscription;
2538
2549
  private isDragging;
2539
2550
  private scrollInterval;
@@ -2780,7 +2791,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2780
2791
  openQuickManage(event: Event, item: DashboardChartItem): void;
2781
2792
  /** Handle apply from chart settings drawer */
2782
2793
  onQuickManageApply(updatedItem: DashboardChartItem): void;
2783
- stopAndActiveActions(): void;
2794
+ togglePreview(): void;
2784
2795
  reRenderItem(item: DashboardChartItem): void;
2785
2796
  isSelected(chart: DashboardChartItem): boolean;
2786
2797
  showQuickManageButton(chart: DashboardChartItem): boolean;
@@ -3887,7 +3898,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3887
3898
  readonly timelineResources: _angular_core.Signal<any[]>;
3888
3899
  readonly timelineLabels: _angular_core.Signal<any[]>;
3889
3900
  readonly timelineLegendIconType: _angular_core.Signal<string>;
3890
- readonly timelineLegendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
3901
+ readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3891
3902
  /** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
3892
3903
  readonly timelineLegendShow: _angular_core.Signal<boolean>;
3893
3904
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
@@ -4015,7 +4026,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
4015
4026
  readonly showCustomLegend: _angular_core.Signal<boolean>;
4016
4027
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
4017
4028
  /** Custom HTML legend placement from the configured legend position. */
4018
- readonly customLegendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
4029
+ readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4019
4030
  constructor();
4020
4031
  ngOnInit(): Promise<void>;
4021
4032
  ngAfterViewInit(): void;
@@ -4696,7 +4707,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4696
4707
  * two never disagree about visibility.
4697
4708
  */
4698
4709
  readonly hasLegend: _angular_core.Signal<boolean>;
4699
- readonly legendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
4710
+ readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4700
4711
  readonly legendIconType: _angular_core.Signal<string>;
4701
4712
  readonly isSideLegend: _angular_core.Signal<boolean>;
4702
4713
  /** Processed table rows */
@@ -6420,6 +6431,9 @@ declare class DashboardBuilderService {
6420
6431
  * `Modules?LevelId=` returns the whole module catalog and flags the level's
6421
6432
  * own modules with `isActive`, so both predicates are required: `isActive`
6422
6433
  * scopes to the level, `classification` keeps logs and drops Process modules.
6434
+ *
6435
+ * The classification test goes through `isLogClassification` because this
6436
+ * endpoint serializes the enum as its **name**, not its ordinal.
6423
6437
  */
6424
6438
  private toLevelLogs;
6425
6439
  /** Available lookups for the page-filter "Lookup" dropdown. */
@@ -8625,6 +8639,15 @@ declare class ChartViewer {
8625
8639
  readonly config: _angular_core.InputSignal<ItemConfig | null>;
8626
8640
  /** Chart type ID */
8627
8641
  readonly chartTypeId: _angular_core.InputSignal<string>;
8642
+ /**
8643
+ * Drop the viewer's own "Preview" toolbar and panel chrome.
8644
+ *
8645
+ * For hosts that already frame the preview themselves — the Style Studio's
8646
+ * dialog chrome, where a second toolbar inside the mocked dialog body would
8647
+ * read as part of the dialog. Refresh stays available programmatically via
8648
+ * `refresh()`, which is how the Style Studio drives it anyway.
8649
+ */
8650
+ readonly hideHeader: _angular_core.InputSignal<boolean>;
8628
8651
  /** Loading state for refresh */
8629
8652
  readonly loading: _angular_core.WritableSignal<boolean>;
8630
8653
  private readonly destroyRef;
@@ -8639,7 +8662,17 @@ declare class ChartViewer {
8639
8662
  */
8640
8663
  refresh(): void;
8641
8664
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartViewer, never>;
8642
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartViewer, "mt-chart-viewer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8665
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartViewer, "mt-chart-viewer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; "chartTypeId": { "alias": "chartTypeId"; "required": false; "isSignal": true; }; "hideHeader": { "alias": "hideHeader"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8666
+ }
8667
+
8668
+ /** What `ActionService.showDialog` puts on `DynamicDialogConfig.data`. */
8669
+ interface DashboardDialogHeaderData {
8670
+ /** Resolved, already-localized header text. */
8671
+ title?: string;
8672
+ /** MT icon name (e.g. `general.info-circle`); empty hides the icon. */
8673
+ icon?: string;
8674
+ /** Optional icon color; falls back to the header's own text color. */
8675
+ iconColor?: string;
8643
8676
  }
8644
8677
 
8645
8678
  interface LegendColorChange {
@@ -8744,6 +8777,22 @@ declare class StyleStudioDrawer {
8744
8777
  /** Chart-type id handed to the live ChartViewer (renders ALL widget types). */
8745
8778
  readonly previewChartTypeId: _angular_core.Signal<string>;
8746
8779
  readonly previewTitle: _angular_core.Signal<string>;
8780
+ /**
8781
+ * A linked dialog is edited here but never drawn on the canvas: at runtime it
8782
+ * renders inside a modal whose header carries the title + icon that the
8783
+ * "Dialog header" section writes, and the inner table hides its own card
8784
+ * header. Without the chrome below, the preview showed a bare table and every
8785
+ * header edit looked like it did nothing.
8786
+ */
8787
+ readonly isDialogPreview: _angular_core.Signal<boolean>;
8788
+ /**
8789
+ * Live dialog header, resolved exactly the way the runtime resolves it — so
8790
+ * the Arabic title only shows while the UI is in Arabic, same as production.
8791
+ */
8792
+ readonly dialogHeaderPreview: _angular_core.Signal<DashboardDialogHeaderData>;
8793
+ /** `contents` keeps the non-dialog preview layout byte-for-byte unchanged. */
8794
+ readonly previewFrameClass: _angular_core.Signal<"flex h-full min-h-0 flex-col overflow-hidden rounded-xl border border-surface-200 bg-surface-0 shadow-sm" | "contents">;
8795
+ readonly previewBodyClass: _angular_core.Signal<"contents" | "min-h-0 flex-1">;
8747
8796
  /**
8748
8797
  * Preview data — the source for the legend-order entries. Reads the isolated
8749
8798
  * preview store, which `syncPreviewStore()` keeps re-processed against the
@@ -9040,5 +9089,5 @@ declare class GetChartActionsPipe implements PipeTransform {
9040
9089
  */
9041
9090
  declare function cloneDeep<T>(obj: T): T;
9042
9091
 
9043
- export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, MODULE_CLASSIFICATION_LOG, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9092
+ export { ActionsSettings, ArrayBuilderField, BarChartHandler, BarControlUi, CHART_CAPABILITIES, CHART_TYPES, CONFIG_DOMAINS, CardContentComponent, CardFilterComponent, CardInfoComponent, ChartCardComponent, ChartDataService, ChartFilterDrawer, ChartSettingsDrawer, ChartViewer, ColorListField, ComparisonChartHandler, DashboardBuilder, DashboardBuilderService, DashboardItem, DashboardItemStoreService, DashboardList, DashboardStoreService, DashboardViewer, DataSourceSettings, DatasourcePanelComponent, DefaultControlUi, DisplaySettings, DynamicFiltersComponent, DynamicFiltersConfig, EChartComponent, PropertiesCardComponent as EntitiesPreviewCardComponent, EntityInfoComponent, EntityPreviewCardComponent, FilterBuilderComponent, FilterByGroupPipe, FilterChipsBarComponent, GaugeChartHandler, GeneralSettings, GetChartActionsPipe, GuidedConfigDialogComponent, HTTPMethod, HeaderCardComponent, ITEM_GUIDANCE_REGISTRY, ItemCardMenuComponent, ItemConfigPopoverComponent, ItemContextToolbarComponent, ItemGuidanceService, KeyValueMapField, LastHistoryLevelCardComponent, LegendOrderField, LevelCardHandler, LineChartHandler, ListStatisticCardComponent, MODULE_CLASSIFICATION_LOG, MODULE_CLASSIFICATION_LOG_NAME, ManageBreadcrumb, ManageFilterOnPage, ManageItem, ManageItemService, ManagePages, MapChartHandler, OverviewCardHandler, POPOVER_TABS, POPOVER_TAB_SPECS, PhaseGateStepperHandler, PieChartHandler, PieControlUi, PropertiesCardComponent, RingGaugeChartHandler, SPlusChartHandler, STYLE_PRESETS, SchemaControlRendererComponent, SegmentedField, SkeletonCardComponent, SnapshotHandler, SplitterChartHandler, StackBarChartHandler, StackBarControlUi, StaticFiltersComponent, StatisticCardComponent, StyleField, StyleSettingsRenderer, StyleStudioDrawer, TableCardComponent, TableViewHandler, TimelineHandler, TopbarCardComponent, addCommasToNumber, applyBehaviorToPersisted, applyControlPatchToPersisted, applyControlPatchesToPersisted, applyFilterChipsToPersisted, applyLabelLegendFormatToPersisted, applyLayoutToPersisted, applyStyleToPersisted, applyTitleToPersisted, axisFormatters, behaviorToUi, bindingKey, buildAssembly, buildDisplayFieldPredicate, cloneDeep, createAxisFormatter, createTooltipFormatter, datasourceToUi, deepMerge, describeGuidance, domainsForCapability, dynamicReorder, dynamicTextReplace, expandResetPatches, fieldsToUi, filtersToUi, findDomain, findPreset, flattenSchema, formatAxisLabel, formatCurrency, formatDate, formatForEditor, formatNumber, formatPercentage, formatValue, formatWordsUnderBar, formatXAxis, generalConfiguration, getBinding, getCapabilityById, getColorFromConditions, getControlSchema, getCurrencySuffix, getFallbackControlSchema, getLocalizedTitle, getNestedData, groupDatesByYearAndMonth, groupIssuesByDomain, handleFilterForCard, handleFilterForSnapshot, handleFiltersForCustom, hasBlockingIssues, isLogClassification, isManagePagesDeleteResult, isMobilePlatform, labelLegendFormatToUi, layoutToUi, listBindings, listBindingsForChart, listControlSchemaIds, listControlSchemas, moduleIdFromSelector, normalizeAggregateFunction, normalizeBeforeRequest, normalizeBeforeSave, normalizeChartTypeForRequest, normalizeDashboardCardEntityValue, normalizeFilterOperation, normalizeFilters, normalizeOnLoad, parseAdvancedJson, persistedToUi, presetsForCapability, readBoundValue, readByPath, resolveCapability, resolveDisplayFields, resolveEntityUserPhoto, resolveStatisticIconPlacement, selectorFromLegacy, setByPath, sortChartData, sortDataTableView, styleToUi, switchAllKeysSmall, switchAllKeysToLower, titleToUi, toBackendChartType, toBackendSourceLink, toFormSourceLink, validate };
9044
9093
  export type { ActionConfig, ApiResponse, AxisLabelWrapConfig, AxisLabelWrapMode, AxisLabelWrapOptions, BackendChartType, BarChartData, BehaviorUi, BindingScope, BreadcrumbItem, BulkLinkChartRequest, BulkLinkChartResponse, BulkPropertiesRequest, BulkPropertiesResponse, BulkPropertiesResponseItem, BulkPropertiesResponseItemDto, BulkPropertyRequestItem, CardBorderStyleConfig, CardInfoConfig$1 as CardInfoConfig, CardStyleConfig$1 as CardStyleConfig, CatalogPropertyDto, ChartActionEvent, ChartActionsContext, ChartCapability, ChartCapabilityLegacyAliases, RequestType$1 as ChartCapabilityRequestType, ChartData, ChartDataHandled, ChartDomainSupport, ChartLabel, ChartLinkConfiguration, ChartTypeConfig, ClientConfig, ComponentType, ConfigDomainKey, ConfigDomainSpec, ConfigLookupShape, ConfigViewAssembly, ControlBinding, ControlBindingIndex, ControlBindingValueAdapter, ControlDomain, ControlField, ControlFieldType, ControlOption, ControlPatch, ControlSchema, ControlSection, ControlSectionScope, ControlVisiblePredicate, CustomApi, DashboardBuilderData, DashboardChartItem, DashboardChartTemplate, DashboardDialogItem, DashboardFilterLevelLog, DashboardFilterLevelSchema, DashboardFilterLocalizedText, DashboardFilterLookup, DashboardFilterLookupItem, DashboardFilterStatus, DashboardFilterStatusDefinition, DashboardFilterStatusItem, DashboardInformativeContext, DashboardItemStore, DashboardLevelLogsResolver, DashboardLevelModule, DashboardListEvent, DashboardPage, DashboardSaveRequestOptions, DashboardTargetOption, DashboardTargetPathStep, DashboardTargetTemplateFilter, DashboardTargetTemplateSelection, DashboardTargetTemplateSourceLink, DashboardTargetsContextInfo, DashboardTargetsResponse, DatasourceUi, DisplayConfig, DisplayField, DisplayFieldQuery, DisplaySchema, EChartSeriesItem, ExcelSheet, FieldAssignment, FieldsUi, FilterChip, FilterConfig, FilterOperator, FilterOption, FilterScope, FilterSource, FiltersUi, FlattenedControl, FormatXAxisConfig$1 as FormatXAxisConfig, GroupedModuleOption, GroupedParentOption, GuidanceInput, GuidedConfigDialogData, GuidedConfigDialogResult, GuidedStep, HandleAction, HeaderCardConfig$1 as HeaderCardConfig, IModule, IModuleType, IProperty, IPropertyWithGroup, ISelection, ItemCardMenuAction, ItemConfig, ItemConfigPopoverData, ItemConfigPopoverResult, ItemContextAction, ItemGuidanceAction, ItemGuidanceDescriptor, ItemGuidanceSeverity, ItemGuidanceState, LabelLegendFormatUi, LayoutUi, LegendOrderItem, LevelCardData, LevelCardProperty, LinkChartRequest, LocalizedName, ManageFilterOnPageResult, ManagePagesDeleteResult, ModuleItem, ModuleSelectOption, ModuleType, ModuleValue, ModuleValueExtra, ModulesTreeRequest, ModulesTreeResponse, ParentSelectOption, ParseResult, PersistedItemConfig, PhaseGateProperty, PhaseGateStep, PieChartData, PopoverTab, PopoverTabSpec, Product, PropertiesResponse, PropertyItem, PropertyItemOption, PropertyItemsResponse, QueryEditorKind, QueryField, QuerySchema, QuickManageType, RendererKey, Report, ReportChartLink, ReportDashboardConfig, ReportExcelConfig, ReportType, ReportUrl, RequestType, RuntimeItemConfig, SelectionFilter, ServiceConfig, ServiceItem, SnapshotLevelDataOption, SourceLink, StaticFilterConfig, StaticFilterItem, StatisticCardData, StatisticIconPlacement, StyleConfig, StylePreset, StylePresetKey, StyleUi, TableColumn$1 as TableColumn, TableViewData, TimelineData, TimelineItem, TitleUi, UiItemConfig, UnlinkChartRequest, ValidateOptions, ValidationIssue, ValidationSeverity };
@@ -1 +0,0 @@
1
- {"version":3,"file":"masterteam-dashboard-builder-dashboard-dialog.component-BsX3GS-x.mjs","sources":["../../../../packages/masterteam/dashboard-builder/src/lib/dashboard-item/components/dashboard-dialog/dashboard-dialog.component.ts","../../../../packages/masterteam/dashboard-builder/src/lib/dashboard-item/components/dashboard-dialog/dashboard-dialog.component.html"],"sourcesContent":["/**\r\n * Dashboard Dialog Component\r\n *\r\n * A flexible dialog wrapper that renders a DashboardItem inside.\r\n * Uses the same ItemConfig structure - maximum code reuse.\r\n *\r\n * The dialog simply wraps DashboardItem, so any chart/table/card\r\n * that works inline will work in a dialog too.\r\n */\r\n\r\nimport {\r\n Component,\r\n inject,\r\n input,\r\n signal,\r\n computed,\r\n OnInit,\r\n} from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TranslocoDirective, TranslocoService } from '@jsverse/transloco';\r\nimport { ModalService } from '@masterteam/components/modal';\r\nimport { ModalRef } from '@masterteam/components/dialog';\r\nimport { ItemConfig } from '../../../models/dashboard.model';\r\nimport { DashboardItemStoreService } from '../../services/item-store.service';\r\nimport { FilterUtilsService } from '../../services/filter-utils.service';\r\nimport { DashboardItem } from '../../dashboard-item';\r\n\r\n/**\r\n * Dashboard Dialog Component\r\n *\r\n * Opened via ModalService, renders a DashboardItem inside.\r\n * Usage:\r\n * this.modalService.open(DashboardDialogComponent, {\r\n * data: { config: itemConfig, params: queryParams }\r\n * });\r\n */\r\n@Component({\r\n selector: 'mt-dashboard-dialog',\r\n standalone: true,\r\n imports: [CommonModule, TranslocoDirective, DashboardItem],\r\n templateUrl: './dashboard-dialog.component.html',\r\n})\r\nexport class DashboardDialogComponent implements OnInit {\r\n private readonly itemStore = inject(DashboardItemStoreService);\r\n private readonly filterUtils = inject(FilterUtilsService);\r\n private readonly transloco = inject(TranslocoService);\r\n readonly modal = inject(ModalService);\r\n private readonly ref = inject(ModalRef);\r\n\r\n // Inputs from modal data\r\n readonly config = input<ItemConfig | null>(null);\r\n readonly params = input<Record<string, any>>({});\r\n readonly title = input<string | null>(null);\r\n readonly reportId = input<string | number | null>(null);\r\n\r\n // State\r\n readonly dialogConfig = signal<ItemConfig | null>(null);\r\n readonly actionParams = signal<Record<string, any>>({});\r\n\r\n // Computed\r\n readonly mergedParams = computed(() => ({\r\n ...this.params(),\r\n ...this.actionParams(),\r\n }));\r\n\r\n readonly processedConfig = computed(() => {\r\n const config = this.dialogConfig();\r\n if (!config) return null;\r\n\r\n // Deep clone and process filters\r\n const cloned = JSON.parse(JSON.stringify(config)) as ItemConfig;\r\n\r\n // Apply filter processing if service config exists\r\n if (cloned.serviceConfig) {\r\n const processed = this.filterUtils.handleFiltersForCustom(\r\n cloned.serviceConfig,\r\n this.mergedParams(),\r\n );\r\n cloned.serviceConfig = processed;\r\n }\r\n return cloned;\r\n });\r\n\r\n ngOnInit(): void {\r\n // Set config from input\r\n const config = this.config();\r\n if (config) {\r\n this.dialogConfig.set(config);\r\n }\r\n\r\n // Set params from input\r\n const params = this.params();\r\n if (params) {\r\n this.actionParams.set(params);\r\n }\r\n }\r\n\r\n /**\r\n * Close dialog\r\n */\r\n close(result?: any): void {\r\n this.ref.close(result);\r\n }\r\n\r\n /**\r\n * Handle actions from the inner DashboardItem\r\n */\r\n onItemAction(event: any): void {\r\n // If it's a close action, close the dialog\r\n if (event?.type === 'closeDialog') {\r\n this.close(event?.data);\r\n return;\r\n }\r\n\r\n // For navigation actions, close dialog and let parent handle\r\n if (event?.type === 'navigate' || event?.type === 'navigateTo') {\r\n this.close(event);\r\n return;\r\n }\r\n\r\n // For other action types, the inner mt-dashboard-item already\r\n // dispatches via ActionService — nothing more to do at the dialog host.\r\n }\r\n}\r\n\r\n/**\r\n * Helper service for opening dashboard dialogs\r\n */\r\nexport function openDashboardDialog(\r\n modalService: ModalService,\r\n config: ItemConfig,\r\n params?: Record<string, any>,\r\n options?: {\r\n title?: string;\r\n size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';\r\n reportId?: string | number | null;\r\n },\r\n): ModalRef {\r\n const sizeClass = {\r\n sm: 'max-w-md',\r\n md: 'max-w-2xl',\r\n lg: 'max-w-4xl',\r\n xl: 'max-w-6xl',\r\n full: 'max-w-[95vw]',\r\n }[options?.size || 'lg'];\r\n\r\n const inputValues = {\r\n config,\r\n params: params || {},\r\n title: options?.title,\r\n reportId: options?.reportId ?? null,\r\n };\r\n return modalService.openModal(DashboardDialogComponent, 'dialog', {\r\n header: options?.title || '',\r\n styleClass: sizeClass,\r\n data: inputValues,\r\n inputValues,\r\n });\r\n}\r\n","<!--\r\n Inline height is intentional: the global `.mt-dialog .p-dialog-content\r\n .mt-modal-content { height:100% }` rule (common.css, unlayered) overrides any\r\n `h-[80vh]` class, and `.p-dialog` itself has no definite height, so a\r\n class-based height collapses to content. An inline style beats the unlayered\r\n rule, and `80vh` is viewport-relative (definite regardless of ancestors),\r\n giving the inner item -> table the bounded height it needs to scroll.\r\n padding-bottom is zeroed (the global 5rem reserves space for a footer this\r\n dialog does not render).\r\n-->\r\n<div\r\n [class]=\"modal.contentClass + ' flex min-h-[300px] flex-col p-0'\"\r\n style=\"height: 80vh; padding-bottom: 0\"\r\n *transloco=\"let t; prefix: 'dashboardBuilder'\"\r\n>\r\n <!-- Dashboard Item renders whatever the config specifies. A definite height\r\n lets the inner table own its scroll (its virtual window depends on the\r\n scroll container, not the outer dialog). -->\r\n @if (processedConfig()) {\r\n <mt-dashboard-item\r\n class=\"block min-h-0 flex-1\"\r\n [config]=\"processedConfig()!\"\r\n [queryParams]=\"mergedParams()\"\r\n [reportId]=\"reportId()\"\r\n [isDialog]=\"true\"\r\n (actionTriggered)=\"onItemAction($event)\"\r\n />\r\n } @else if (config()) {\r\n <!-- Config provided but still being processed -->\r\n <div class=\"flex flex-1 items-center justify-center\">\r\n <i class=\"pi pi-spin pi-spinner text-4xl text-primary\"></i>\r\n </div>\r\n } @else {\r\n <!-- No dialog config could be resolved (linked dialog deleted or failed to\r\n load). Show an explicit unavailable state instead of silently\r\n rendering the wrong widget. -->\r\n <div\r\n class=\"flex flex-1 flex-col items-center justify-center gap-3 px-6 text-center\"\r\n >\r\n <i class=\"pi pi-exclamation-triangle text-4xl text-surface-400\"></i>\r\n <p class=\"text-surface-600 dark:text-surface-300\">\r\n {{ t(\"dialogUnavailable\") }}\r\n </p>\r\n </div>\r\n }\r\n</div>\r\n<!--\r\n<div [class]=\"modal.footerClass\" *transloco=\"let t; prefix: 'dashboard'\">\r\n <mt-button [label]=\"t('close')\" severity=\"secondary\" (onClick)=\"close()\" />\r\n</div> -->\r\n"],"names":[],"mappings":";;;;;;;;AAAA;;;;;;;;AAQG;AAmBH;;;;;;;;AAQG;MAOU,wBAAwB,CAAA;AAClB,IAAA,SAAS,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC7C,IAAA,WAAW,GAAG,MAAM,CAAC,kBAAkB,CAAC;AACxC,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC5C,IAAA,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC;AACpB,IAAA,GAAG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