@masterteam/dashboard-builder 0.0.79 → 0.0.81

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-BcRAl_HF.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-CfkXAJPl.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.79",
3
+ "version": "0.0.81",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -23,10 +23,10 @@
23
23
  "quill": "^2.0.3",
24
24
  "rxjs": "^7.8.2",
25
25
  "tailwindcss": "^4.2.2",
26
- "@masterteam/components": "^0.0.261",
27
- "@masterteam/icons": "^0.0.17",
28
- "@masterteam/formula-builder": "^0.0.27",
29
- "@masterteam/timeline": "^0.0.21"
26
+ "@masterteam/formula-builder": "^0.0.29",
27
+ "@masterteam/timeline": "^0.0.23",
28
+ "@masterteam/components": "^0.0.274",
29
+ "@masterteam/icons": "^0.0.17"
30
30
  },
31
31
  "dependencies": {
32
32
  "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
  }
@@ -3651,7 +3660,7 @@ declare class CardFilterComponent implements OnInit {
3651
3660
  /** Language code */
3652
3661
  readonly langCode: _angular_core.Signal<string>;
3653
3662
  /** Filter type */
3654
- readonly filterType: _angular_core.Signal<"date" | "select" | "text" | "multiselect" | "multiSelect" | "daterange">;
3663
+ readonly filterType: _angular_core.Signal<"text" | "date" | "select" | "multiselect" | "multiSelect" | "daterange">;
3655
3664
  /** Filter options */
3656
3665
  readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
3657
3666
  /** Placeholder text */
@@ -3887,7 +3896,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3887
3896
  readonly timelineResources: _angular_core.Signal<any[]>;
3888
3897
  readonly timelineLabels: _angular_core.Signal<any[]>;
3889
3898
  readonly timelineLegendIconType: _angular_core.Signal<string>;
3890
- readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3899
+ readonly timelineLegendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
3891
3900
  /** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
3892
3901
  readonly timelineLegendShow: _angular_core.Signal<boolean>;
3893
3902
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
@@ -4015,7 +4024,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
4015
4024
  readonly showCustomLegend: _angular_core.Signal<boolean>;
4016
4025
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
4017
4026
  /** Custom HTML legend placement from the configured legend position. */
4018
- readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4027
+ readonly customLegendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
4019
4028
  constructor();
4020
4029
  ngOnInit(): Promise<void>;
4021
4030
  ngAfterViewInit(): void;
@@ -4380,7 +4389,7 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
4380
4389
  /** Icon name */
4381
4390
  readonly icon: _angular_core.Signal<string>;
4382
4391
  /** Position of the layout icon relative to the header title. */
4383
- readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
4392
+ readonly iconPlacement: _angular_core.Signal<"top" | "start" | "end">;
4384
4393
  /** Logo configuration */
4385
4394
  readonly logo: _angular_core.Signal<any>;
4386
4395
  /** Logo URL */
@@ -4696,7 +4705,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4696
4705
  * two never disagree about visibility.
4697
4706
  */
4698
4707
  readonly hasLegend: _angular_core.Signal<boolean>;
4699
- readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4708
+ readonly legendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
4700
4709
  readonly legendIconType: _angular_core.Signal<string>;
4701
4710
  readonly isSideLegend: _angular_core.Signal<boolean>;
4702
4711
  /** Processed table rows */
@@ -4885,7 +4894,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
4885
4894
  readonly showSubtitle: _angular_core.Signal<boolean>;
4886
4895
  readonly icon: _angular_core.Signal<any>;
4887
4896
  /** Position of the layout icon relative to the topbar title. */
4888
- readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
4897
+ readonly iconPlacement: _angular_core.Signal<"top" | "start" | "end">;
4889
4898
  /**
4890
4899
  * Center the icon/title block within the topbar row
4891
4900
  * (configAsType.headerCardConfig.isHeaderCentered === true) — same source
@@ -6420,6 +6429,9 @@ declare class DashboardBuilderService {
6420
6429
  * `Modules?LevelId=` returns the whole module catalog and flags the level's
6421
6430
  * own modules with `isActive`, so both predicates are required: `isActive`
6422
6431
  * scopes to the level, `classification` keeps logs and drops Process modules.
6432
+ *
6433
+ * The classification test goes through `isLogClassification` because this
6434
+ * endpoint serializes the enum as its **name**, not its ordinal.
6423
6435
  */
6424
6436
  private toLevelLogs;
6425
6437
  /** Available lookups for the page-filter "Lookup" dropdown. */
@@ -8625,6 +8637,15 @@ declare class ChartViewer {
8625
8637
  readonly config: _angular_core.InputSignal<ItemConfig | null>;
8626
8638
  /** Chart type ID */
8627
8639
  readonly chartTypeId: _angular_core.InputSignal<string>;
8640
+ /**
8641
+ * Drop the viewer's own "Preview" toolbar and panel chrome.
8642
+ *
8643
+ * For hosts that already frame the preview themselves — the Style Studio's
8644
+ * dialog chrome, where a second toolbar inside the mocked dialog body would
8645
+ * read as part of the dialog. Refresh stays available programmatically via
8646
+ * `refresh()`, which is how the Style Studio drives it anyway.
8647
+ */
8648
+ readonly hideHeader: _angular_core.InputSignal<boolean>;
8628
8649
  /** Loading state for refresh */
8629
8650
  readonly loading: _angular_core.WritableSignal<boolean>;
8630
8651
  private readonly destroyRef;
@@ -8639,7 +8660,17 @@ declare class ChartViewer {
8639
8660
  */
8640
8661
  refresh(): void;
8641
8662
  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>;
8663
+ 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>;
8664
+ }
8665
+
8666
+ /** What `ActionService.showDialog` puts on `DynamicDialogConfig.data`. */
8667
+ interface DashboardDialogHeaderData {
8668
+ /** Resolved, already-localized header text. */
8669
+ title?: string;
8670
+ /** MT icon name (e.g. `general.info-circle`); empty hides the icon. */
8671
+ icon?: string;
8672
+ /** Optional icon color; falls back to the header's own text color. */
8673
+ iconColor?: string;
8643
8674
  }
8644
8675
 
8645
8676
  interface LegendColorChange {
@@ -8744,6 +8775,22 @@ declare class StyleStudioDrawer {
8744
8775
  /** Chart-type id handed to the live ChartViewer (renders ALL widget types). */
8745
8776
  readonly previewChartTypeId: _angular_core.Signal<string>;
8746
8777
  readonly previewTitle: _angular_core.Signal<string>;
8778
+ /**
8779
+ * A linked dialog is edited here but never drawn on the canvas: at runtime it
8780
+ * renders inside a modal whose header carries the title + icon that the
8781
+ * "Dialog header" section writes, and the inner table hides its own card
8782
+ * header. Without the chrome below, the preview showed a bare table and every
8783
+ * header edit looked like it did nothing.
8784
+ */
8785
+ readonly isDialogPreview: _angular_core.Signal<boolean>;
8786
+ /**
8787
+ * Live dialog header, resolved exactly the way the runtime resolves it — so
8788
+ * the Arabic title only shows while the UI is in Arabic, same as production.
8789
+ */
8790
+ readonly dialogHeaderPreview: _angular_core.Signal<DashboardDialogHeaderData>;
8791
+ /** `contents` keeps the non-dialog preview layout byte-for-byte unchanged. */
8792
+ 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">;
8793
+ readonly previewBodyClass: _angular_core.Signal<"contents" | "min-h-0 flex-1">;
8747
8794
  /**
8748
8795
  * Preview data — the source for the legend-order entries. Reads the isolated
8749
8796
  * preview store, which `syncPreviewStore()` keeps re-processed against the
@@ -9040,5 +9087,5 @@ declare class GetChartActionsPipe implements PipeTransform {
9040
9087
  */
9041
9088
  declare function cloneDeep<T>(obj: T): T;
9042
9089
 
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 };
9090
+ 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
9091
  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-3gUffpic.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,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