@masterteam/dashboard-builder 0.0.81 → 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 { 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';
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.81",
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/formula-builder": "^0.0.29",
27
- "@masterteam/timeline": "^0.0.23",
28
26
  "@masterteam/components": "^0.0.274",
29
- "@masterteam/icons": "^0.0.17"
27
+ "@masterteam/icons": "^0.0.17",
28
+ "@masterteam/timeline": "^0.0.23"
30
29
  },
31
30
  "dependencies": {
32
31
  "tslib": "^2.8.1",
@@ -2530,7 +2530,8 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2530
2530
  x: number;
2531
2531
  y: number;
2532
2532
  }>;
2533
- readonly stopActionsOnCards: _angular_core.WritableSignal<boolean>;
2533
+ readonly preview: _angular_core.WritableSignal<boolean>;
2534
+ readonly isReadonly: _angular_core.Signal<boolean>;
2534
2535
  readonly pendingWidgetType: _angular_core.WritableSignal<ChartTypeConfig | null>;
2535
2536
  /** Whether the most recent action can be reverted (drives the Undo button). */
2536
2537
  readonly canUndo: _angular_core.WritableSignal<boolean>;
@@ -2543,6 +2544,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2543
2544
  readonly direction: _angular_core.Signal<"rtl" | "ltr">;
2544
2545
  readonly chartActionsContext: ChartActionsContext;
2545
2546
  readonly options: GridsterConfig;
2547
+ private readonly gridsterEditableEffect;
2546
2548
  private subscription;
2547
2549
  private isDragging;
2548
2550
  private scrollInterval;
@@ -2789,7 +2791,7 @@ declare class DashboardBuilder implements OnInit, OnDestroy {
2789
2791
  openQuickManage(event: Event, item: DashboardChartItem): void;
2790
2792
  /** Handle apply from chart settings drawer */
2791
2793
  onQuickManageApply(updatedItem: DashboardChartItem): void;
2792
- stopAndActiveActions(): void;
2794
+ togglePreview(): void;
2793
2795
  reRenderItem(item: DashboardChartItem): void;
2794
2796
  isSelected(chart: DashboardChartItem): boolean;
2795
2797
  showQuickManageButton(chart: DashboardChartItem): boolean;
@@ -3660,7 +3662,7 @@ declare class CardFilterComponent implements OnInit {
3660
3662
  /** Language code */
3661
3663
  readonly langCode: _angular_core.Signal<string>;
3662
3664
  /** Filter type */
3663
- readonly filterType: _angular_core.Signal<"text" | "date" | "select" | "multiselect" | "multiSelect" | "daterange">;
3665
+ readonly filterType: _angular_core.Signal<"date" | "text" | "select" | "multiselect" | "multiSelect" | "daterange">;
3664
3666
  /** Filter options */
3665
3667
  readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
3666
3668
  /** Placeholder text */
@@ -3896,7 +3898,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3896
3898
  readonly timelineResources: _angular_core.Signal<any[]>;
3897
3899
  readonly timelineLabels: _angular_core.Signal<any[]>;
3898
3900
  readonly timelineLegendIconType: _angular_core.Signal<string>;
3899
- readonly timelineLegendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
3901
+ readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3900
3902
  /** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
3901
3903
  readonly timelineLegendShow: _angular_core.Signal<boolean>;
3902
3904
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
@@ -4024,7 +4026,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
4024
4026
  readonly showCustomLegend: _angular_core.Signal<boolean>;
4025
4027
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
4026
4028
  /** Custom HTML legend placement from the configured legend position. */
4027
- readonly customLegendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
4029
+ readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4028
4030
  constructor();
4029
4031
  ngOnInit(): Promise<void>;
4030
4032
  ngAfterViewInit(): void;
@@ -4389,7 +4391,7 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
4389
4391
  /** Icon name */
4390
4392
  readonly icon: _angular_core.Signal<string>;
4391
4393
  /** Position of the layout icon relative to the header title. */
4392
- readonly iconPlacement: _angular_core.Signal<"top" | "start" | "end">;
4394
+ readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
4393
4395
  /** Logo configuration */
4394
4396
  readonly logo: _angular_core.Signal<any>;
4395
4397
  /** Logo URL */
@@ -4705,7 +4707,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4705
4707
  * two never disagree about visibility.
4706
4708
  */
4707
4709
  readonly hasLegend: _angular_core.Signal<boolean>;
4708
- readonly legendPosition: _angular_core.Signal<"top" | "left" | "right" | "bottom">;
4710
+ readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4709
4711
  readonly legendIconType: _angular_core.Signal<string>;
4710
4712
  readonly isSideLegend: _angular_core.Signal<boolean>;
4711
4713
  /** Processed table rows */
@@ -4894,7 +4896,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
4894
4896
  readonly showSubtitle: _angular_core.Signal<boolean>;
4895
4897
  readonly icon: _angular_core.Signal<any>;
4896
4898
  /** Position of the layout icon relative to the topbar title. */
4897
- readonly iconPlacement: _angular_core.Signal<"top" | "start" | "end">;
4899
+ readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
4898
4900
  /**
4899
4901
  * Center the icon/title block within the topbar row
4900
4902
  * (configAsType.headerCardConfig.isHeaderCentered === true) — same source