@masterteam/dashboard-builder 0.0.96 → 0.0.98

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 { aR as ActionsSettings, aZ as ArrayBuilderField, $ as BarChartHandler, aK as BarControlUi, bb as CHART_CAPABILITIES, aN as CHART_TYPES, bq as CONFIG_DOMAINS, bU as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b1 as ChartFilterDrawer, aG as ChartSettingsDrawer, aS as ChartViewer, aY as ColorListField, aa as ComparisonChartHandler, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, az as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, au as DashboardList, aA as DashboardStoreService, e as DashboardViewer, aQ as DataSourceSettings, b7 as DatasourcePanelComponent, aI as DefaultControlUi, aH as DisplaySettings, u as DynamicFiltersComponent, aF as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b6 as FilterBuilderComponent, b9 as FilterByGroupPipe, b5 as FilterChipsBarComponent, a4 as GaugeChartHandler, aP as GeneralSettings, ba as GetChartActionsPipe, b4 as GuidedConfigDialogComponent, ay as HTTPMethod, H as HeaderCardComponent, c9 as ITEM_GUIDANCE_REGISTRY, b0 as ItemCardMenuComponent, b3 as ItemConfigPopoverComponent, b2 as ItemContextToolbarComponent, cb as ItemGuidanceService, a_ as KeyValueMapField, L as LastHistoryLevelCardComponent, a$ as LegendOrderField, ac as LevelCardHandler, a8 as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, av as MODULE_CLASSIFICATION_LOG, aw as MODULE_CLASSIFICATION_LOG_NAME, aD as ManageBreadcrumb, aE as ManageFilterOnPage, aM as ManageItem, aO as ManageItemService, aC as ManagePages, ad as MapChartHandler, U as MapViewComponent, a6 as OverviewCardHandler, bt as POPOVER_TABS, bu as POPOVER_TAB_SPECS, ag as PhaseGateStepperHandler, a0 as PieChartHandler, aJ as PieControlUi, P as PropertiesCardComponent, ae as RingGaugeChartHandler, af as SPlusChartHandler, bL as STYLE_PRESETS, b8 as SchemaControlRendererComponent, aX as SegmentedField, V as SkeletonCardComponent, a9 as SnapshotHandler, ab as SplitterChartHandler, a1 as StackBarChartHandler, aL as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aW as StyleField, aU as StyleSettingsRenderer, aT as StyleStudioDrawer, Y as TableCardComponent, a5 as TableViewHandler, a7 as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bH as applyBehaviorToPersisted, bX as applyControlPatchToPersisted, bY as applyControlPatchesToPersisted, bI as applyFilterChipsToPersisted, bF as applyLabelLegendFormatToPersisted, bD as applyLayoutToPersisted, bB as applyStyleToPersisted, bw as applyTitleToPersisted, a2 as axisFormatters, bG as behaviorToUi, c4 as bindingKey, bK as buildAssembly, c3 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, am as createAxisFormatter, an as createTooltipFormatter, bx as datasourceToUi, bS as deepMerge, ca as describeGuidance, br as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aV as expandResetPatches, by as fieldsToUi, bz as filtersToUi, bs as findDomain, bN as findPreset, c1 as flattenSchema, ao as formatAxisLabel, ah as formatCurrency, al as formatDate, bT as formatForEditor, ak as formatNumber, aj as formatPercentage, k as formatValue, ap as formatWordsUnderBar, aq as formatXAxis, j as generalConfiguration, c5 as getBinding, bc as getCapabilityById, q as getColorFromConditions, bZ as getControlSchema, ai as getCurrencySuffix, c0 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a3 as groupDatesByYearAndMonth, bQ as groupIssuesByDomain, as as handleFilterForCard, at as handleFilterForSnapshot, ar as handleFiltersForCustom, bP as hasBlockingIssues, ax as isLogClassification, aB as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bE as labelLegendFormatToUi, bC as layoutToUi, c6 as listBindings, c7 as listBindingsForChart, b_ as listControlSchemaIds, b$ as listControlSchemas, A as mergePropertyAppearance, bk as moduleIdFromSelector, bh as normalizeAggregateFunction, bp as normalizeBeforeRequest, bo as normalizeBeforeSave, bf as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bg as normalizeFilterOperation, bi as normalizeFilters, bn as normalizeOnLoad, bR as parseAdvancedJson, bJ as persistedToUi, K as plottableGroups, bM as presetsForCapability, c8 as readBoundValue, bV as readByPath, bd as resolveCapability, c2 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bj as selectorFromLegacy, bW as setByPath, m as sortChartData, o as sortDataTableView, bA as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bv as titleToUi, be as toBackendChartType, bl as toBackendSourceLink, bm as toFormSourceLink, bO as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-oJge6v9b.mjs';
1
+ export { aR as ActionsSettings, aZ as ArrayBuilderField, $ as BarChartHandler, aK as BarControlUi, bb as CHART_CAPABILITIES, aN as CHART_TYPES, bq as CONFIG_DOMAINS, bU as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, _ as ChartDataService, b1 as ChartFilterDrawer, aG as ChartSettingsDrawer, aS as ChartViewer, aY as ColorListField, aa as ComparisonChartHandler, Q as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, az as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, au as DashboardList, aA as DashboardStoreService, e as DashboardViewer, aQ as DataSourceSettings, b7 as DatasourcePanelComponent, aI as DefaultControlUi, aH as DisplaySettings, u as DynamicFiltersComponent, aF as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, y as EntityInfoComponent, B as EntityPreviewCardComponent, b6 as FilterBuilderComponent, b9 as FilterByGroupPipe, b5 as FilterChipsBarComponent, a4 as GaugeChartHandler, aP as GeneralSettings, ba as GetChartActionsPipe, b4 as GuidedConfigDialogComponent, ay as HTTPMethod, H as HeaderCardComponent, c9 as ITEM_GUIDANCE_REGISTRY, b0 as ItemCardMenuComponent, b3 as ItemConfigPopoverComponent, b2 as ItemContextToolbarComponent, cb as ItemGuidanceService, a_ as KeyValueMapField, L as LastHistoryLevelCardComponent, a$ as LegendOrderField, ac as LevelCardHandler, a8 as LineChartHandler, G as ListStatisticCardComponent, R as MAP_DATA_ATTRIBUTION, I as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, O as MAP_REGIONS, av as MODULE_CLASSIFICATION_LOG, aw as MODULE_CLASSIFICATION_LOG_NAME, aD as ManageBreadcrumb, aE as ManageFilterOnPage, aM as ManageItem, aO as ManageItemService, aC as ManagePages, ad as MapChartHandler, U as MapViewComponent, a6 as OverviewCardHandler, bt as POPOVER_TABS, bu as POPOVER_TAB_SPECS, ag as PhaseGateStepperHandler, a0 as PieChartHandler, aJ as PieControlUi, P as PropertiesCardComponent, ae as RingGaugeChartHandler, af as SPlusChartHandler, bL as STYLE_PRESETS, b8 as SchemaControlRendererComponent, aX as SegmentedField, V as SkeletonCardComponent, a9 as SnapshotHandler, ab as SplitterChartHandler, a1 as StackBarChartHandler, aL as StackBarControlUi, S as StaticFiltersComponent, X as StatisticCardComponent, aW as StyleField, aU as StyleSettingsRenderer, aT as StyleStudioDrawer, Y as TableCardComponent, a5 as TableViewHandler, a7 as TimelineHandler, Z as TopbarCardComponent, n as addCommasToNumber, bH as applyBehaviorToPersisted, bX as applyControlPatchToPersisted, bY as applyControlPatchesToPersisted, bI as applyFilterChipsToPersisted, bF as applyLabelLegendFormatToPersisted, bD as applyLayoutToPersisted, bB as applyStyleToPersisted, bw as applyTitleToPersisted, a2 as axisFormatters, bG as behaviorToUi, c4 as bindingKey, bK as buildAssembly, c3 as buildDisplayFieldPredicate, N as buildMapChartOption, c as cloneDeep, am as createAxisFormatter, an as createTooltipFormatter, bx as datasourceToUi, bS as deepMerge, ca as describeGuidance, br as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aV as expandResetPatches, by as fieldsToUi, bz as filtersToUi, bs as findDomain, bN as findPreset, c1 as flattenSchema, ao as formatAxisLabel, ah as formatCurrency, al as formatDate, bT as formatForEditor, ak as formatNumber, aj as formatPercentage, k as formatValue, ap as formatWordsUnderBar, aq as formatXAxis, j as generalConfiguration, c5 as getBinding, bc as getCapabilityById, q as getColorFromConditions, bZ as getControlSchema, ai as getCurrencySuffix, c0 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a3 as groupDatesByYearAndMonth, bQ as groupIssuesByDomain, as as handleFilterForCard, at as handleFilterForSnapshot, ar as handleFiltersForCustom, bP as hasBlockingIssues, ax as isLogClassification, aB as isManagePagesDeleteResult, p as isMobilePlatform, J as isPlottable, bE as labelLegendFormatToUi, bC as layoutToUi, c6 as listBindings, c7 as listBindingsForChart, b_ as listControlSchemaIds, b$ as listControlSchemas, A as mergePropertyAppearance, bk as moduleIdFromSelector, bh as normalizeAggregateFunction, bp as normalizeBeforeRequest, bo as normalizeBeforeSave, bf as normalizeChartTypeForRequest, z as normalizeDashboardCardEntityValue, bg as normalizeFilterOperation, bi as normalizeFilters, bn as normalizeOnLoad, bR as parseAdvancedJson, bJ as persistedToUi, K as plottableGroups, bM as presetsForCapability, c8 as readBoundValue, bV as readByPath, bd as resolveCapability, c2 as resolveDisplayFields, x as resolveEntityUserPhoto, T as resolveMapRegion, W as resolveStatisticIconPlacement, bj as selectorFromLegacy, bW as setByPath, m as sortChartData, o as sortDataTableView, bA as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bv as titleToUi, be as toBackendChartType, bl as toBackendSourceLink, bm as toFormSourceLink, bO as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-D7NG978U.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.96",
3
+ "version": "0.0.98",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -23,9 +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.308",
27
- "@masterteam/icons": "^0.0.17",
28
- "@masterteam/timeline": "^0.0.23"
26
+ "@masterteam/timeline": "^0.0.23",
27
+ "@masterteam/components": "^0.0.311",
28
+ "@masterteam/icons": "^0.0.17"
29
29
  },
30
30
  "dependencies": {
31
31
  "tslib": "^2.8.1",
@@ -2560,6 +2560,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2560
2560
  /** Reference to chart settings drawer */
2561
2561
  private chartSettingsRef;
2562
2562
  readonly languageCode: _angular_core.Signal<string>;
2563
+ readonly pageQueryParams: _angular_core.Signal<Record<string, any>>;
2563
2564
  /** Reactive layout direction, driven by the app's current direction. */
2564
2565
  readonly direction: _angular_core.Signal<"rtl" | "ltr">;
2565
2566
  readonly chartActionsContext: ChartActionsContext;
@@ -6667,10 +6668,10 @@ declare class DashboardBuilderService {
6667
6668
  getLookupItems(lookupId: string | number | null | undefined): any[];
6668
6669
  /**
6669
6670
  * Status values for a level (or status-log), for the runtime `status` filter.
6670
- * Mirrors the old `getStatuses(levelId, module)`: filters the cached
6671
- * `basicLevelsStatuses` by moduleId + module ('Level' or 'Log').
6671
+ * Canonical Log definitions use the selected schema level's override, or the
6672
+ * module default. Legacy flat statuses retain their moduleId + module scope.
6672
6673
  */
6673
- getStatuses(levelId: string | number | null | undefined, module?: 'Level' | 'Log'): DashboardFilterStatusItem[];
6674
+ getStatuses(targetId: string | number | null | undefined, module?: 'Level' | 'Log', schemaLevelId?: string | number | null): DashboardFilterStatusItem[];
6674
6675
  /**
6675
6676
  * Raw status metadata (host-owned, else the cached client settings). Exposed
6676
6677
  * because the status filter derives its level-scoped "Log" options from the
@@ -8897,6 +8898,8 @@ declare class ActionsSettings {
8897
8898
  * Used in manage-item to show live preview of the chart being configured.
8898
8899
  */
8899
8900
  declare class ChartViewer {
8901
+ private readonly storeService;
8902
+ readonly pageQueryParams: _angular_core.Signal<Record<string, any>>;
8900
8903
  /** Chart configuration */
8901
8904
  readonly config: _angular_core.InputSignal<ItemConfig | null>;
8902
8905
  /** Chart type ID */