@masterteam/dashboard-builder 0.0.107 → 0.0.108

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 { aV as ActionsSettings, b1 as ArrayBuilderField, a3 as BarChartHandler, aO as BarControlUi, bf as CHART_CAPABILITIES, aR as CHART_TYPES, bu as CONFIG_DOMAINS, bY as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, $ as ChartDataService, b5 as ChartFilterDrawer, aK as ChartSettingsDrawer, aW as ChartViewer, b0 as ColorListField, ae as ComparisonChartHandler, a2 as DASHBOARD_ITEM_VISIBILITY, R as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aD as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ay as DashboardList, aE as DashboardStoreService, e as DashboardViewer, aU as DataSourceSettings, bb as DatasourcePanelComponent, aM as DefaultControlUi, aL as DisplaySettings, u as DynamicFiltersComponent, aJ as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, z as EntityInfoComponent, G as EntityPreviewCardComponent, ba as FilterBuilderComponent, bd as FilterByGroupPipe, b9 as FilterChipsBarComponent, a8 as GaugeChartHandler, aT as GeneralSettings, be as GetChartActionsPipe, b8 as GuidedConfigDialogComponent, aC as HTTPMethod, H as HeaderCardComponent, cd as ITEM_GUIDANCE_REGISTRY, b4 as ItemCardMenuComponent, b7 as ItemConfigPopoverComponent, b6 as ItemContextToolbarComponent, cf as ItemGuidanceService, b2 as KeyValueMapField, L as LastHistoryLevelCardComponent, b3 as LegendOrderField, ag as LevelCardHandler, ac as LineChartHandler, I as ListStatisticCardComponent, T as MAP_DATA_ATTRIBUTION, J as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, Q as MAP_REGIONS, az as MODULE_CLASSIFICATION_LOG, aA as MODULE_CLASSIFICATION_LOG_NAME, aH as ManageBreadcrumb, aI as ManageFilterOnPage, aQ as ManageItem, aS as ManageItemService, aG as ManagePages, ah as MapChartHandler, V as MapViewComponent, aa as OverviewCardHandler, bx as POPOVER_TABS, by as POPOVER_TAB_SPECS, ak as PhaseGateStepperHandler, a4 as PieChartHandler, aN as PieControlUi, P as PropertiesCardComponent, ai as RingGaugeChartHandler, aj as SPlusChartHandler, bP as STYLE_PRESETS, bc as SchemaControlRendererComponent, a$ as SegmentedField, W as SkeletonCardComponent, ad as SnapshotHandler, af as SplitterChartHandler, a5 as StackBarChartHandler, aP as StackBarControlUi, S as StaticFiltersComponent, Y as StatisticCardComponent, a_ as StyleField, aY as StyleSettingsRenderer, aX as StyleStudioDrawer, Z as TableCardComponent, a9 as TableViewHandler, ab as TimelineHandler, _ as TopbarCardComponent, n as addCommasToNumber, bL as applyBehaviorToPersisted, b$ as applyControlPatchToPersisted, c0 as applyControlPatchesToPersisted, bM as applyFilterChipsToPersisted, bJ as applyLabelLegendFormatToPersisted, bH as applyLayoutToPersisted, bF as applyStyleToPersisted, bA as applyTitleToPersisted, a6 as axisFormatters, bK as behaviorToUi, c8 as bindingKey, bO as buildAssembly, c7 as buildDisplayFieldPredicate, O as buildMapChartOption, c as cloneDeep, aq as createAxisFormatter, ar as createTooltipFormatter, bB as datasourceToUi, bW as deepMerge, ce as describeGuidance, bv as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aZ as expandResetPatches, bC as fieldsToUi, bD as filtersToUi, bw as findDomain, bR as findPreset, c5 as flattenSchema, as as formatAxisLabel, al as formatCurrency, ap as formatDate, bX as formatForEditor, ao as formatNumber, an as formatPercentage, k as formatValue, at as formatWordsUnderBar, au as formatXAxis, j as generalConfiguration, c9 as getBinding, bg as getCapabilityById, q as getColorFromConditions, c1 as getControlSchema, am as getCurrencySuffix, c4 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a7 as groupDatesByYearAndMonth, bU as groupIssuesByDomain, aw as handleFilterForCard, ax as handleFilterForSnapshot, av as handleFiltersForCustom, bT as hasBlockingIssues, aB as isLogClassification, aF as isManagePagesDeleteResult, p as isMobilePlatform, K as isPlottable, bI as labelLegendFormatToUi, bG as layoutToUi, ca as listBindings, cb as listBindingsForChart, c2 as listControlSchemaIds, c3 as listControlSchemas, a1 as loadImmediately, B as mergePropertyAppearance, bo as moduleIdFromSelector, bl as normalizeAggregateFunction, bt as normalizeBeforeRequest, bs as normalizeBeforeSave, bj as normalizeChartTypeForRequest, A as normalizeDashboardCardEntityValue, bk as normalizeFilterOperation, bm as normalizeFilters, br as normalizeOnLoad, a0 as observeNearViewport, bV as parseAdvancedJson, bN as persistedToUi, N as plottableGroups, bQ as presetsForCapability, cc as readBoundValue, bZ as readByPath, bh as resolveCapability, c6 as resolveDisplayFields, y as resolveEntityCheckbox, x as resolveEntityUserPhoto, U as resolveMapRegion, X as resolveStatisticIconPlacement, bn as selectorFromLegacy, b_ as setByPath, m as sortChartData, o as sortDataTableView, bE as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bz as titleToUi, bi as toBackendChartType, bp as toBackendSourceLink, bq as toFormSourceLink, bS as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-CNW8uIYA.mjs';
1
+ export { aV as ActionsSettings, b1 as ArrayBuilderField, a3 as BarChartHandler, aO as BarControlUi, bf as CHART_CAPABILITIES, aR as CHART_TYPES, bu as CONFIG_DOMAINS, bY as CUSTOM_COLOR_OPTION, C as CardContentComponent, t as CardFilterComponent, v as CardInfoComponent, w as ChartCardComponent, $ as ChartDataService, b5 as ChartFilterDrawer, aK as ChartSettingsDrawer, aW as ChartViewer, b0 as ColorListField, ae as ComparisonChartHandler, a2 as DASHBOARD_ITEM_VISIBILITY, R as DEFAULT_MAP_REGION_KEY, d as DashboardBuilder, aD as DashboardBuilderService, a as DashboardItem, D as DashboardItemStoreService, ay as DashboardList, aE as DashboardStoreService, e as DashboardViewer, aU as DataSourceSettings, bb as DatasourcePanelComponent, aM as DefaultControlUi, aL as DisplaySettings, u as DynamicFiltersComponent, aJ as DynamicFiltersConfig, E as EChartComponent, P as EntitiesPreviewCardComponent, z as EntityInfoComponent, G as EntityPreviewCardComponent, ba as FilterBuilderComponent, bd as FilterByGroupPipe, b9 as FilterChipsBarComponent, a8 as GaugeChartHandler, aT as GeneralSettings, be as GetChartActionsPipe, b8 as GuidedConfigDialogComponent, aC as HTTPMethod, H as HeaderCardComponent, cd as ITEM_GUIDANCE_REGISTRY, b4 as ItemCardMenuComponent, b7 as ItemConfigPopoverComponent, b6 as ItemContextToolbarComponent, cf as ItemGuidanceService, b2 as KeyValueMapField, L as LastHistoryLevelCardComponent, b3 as LegendOrderField, ag as LevelCardHandler, ac as LineChartHandler, I as ListStatisticCardComponent, T as MAP_DATA_ATTRIBUTION, J as MAP_FALLBACK_COLORS, M as MAP_MARKER_PATH, Q as MAP_REGIONS, az as MODULE_CLASSIFICATION_LOG, aA as MODULE_CLASSIFICATION_LOG_NAME, aH as ManageBreadcrumb, aI as ManageFilterOnPage, aQ as ManageItem, aS as ManageItemService, aG as ManagePages, ah as MapChartHandler, V as MapViewComponent, aa as OverviewCardHandler, bx as POPOVER_TABS, by as POPOVER_TAB_SPECS, ak as PhaseGateStepperHandler, a4 as PieChartHandler, aN as PieControlUi, P as PropertiesCardComponent, ai as RingGaugeChartHandler, aj as SPlusChartHandler, bP as STYLE_PRESETS, bc as SchemaControlRendererComponent, a$ as SegmentedField, W as SkeletonCardComponent, ad as SnapshotHandler, af as SplitterChartHandler, a5 as StackBarChartHandler, aP as StackBarControlUi, S as StaticFiltersComponent, Y as StatisticCardComponent, a_ as StyleField, aY as StyleSettingsRenderer, aX as StyleStudioDrawer, Z as TableCardComponent, a9 as TableViewHandler, ab as TimelineHandler, _ as TopbarCardComponent, n as addCommasToNumber, bL as applyBehaviorToPersisted, b$ as applyControlPatchToPersisted, c0 as applyControlPatchesToPersisted, bM as applyFilterChipsToPersisted, bJ as applyLabelLegendFormatToPersisted, bH as applyLayoutToPersisted, bF as applyStyleToPersisted, bA as applyTitleToPersisted, a6 as axisFormatters, bK as behaviorToUi, c8 as bindingKey, bO as buildAssembly, c7 as buildDisplayFieldPredicate, O as buildMapChartOption, c as cloneDeep, aq as createAxisFormatter, ar as createTooltipFormatter, bB as datasourceToUi, bW as deepMerge, ce as describeGuidance, bv as domainsForCapability, i as dynamicReorder, h as dynamicTextReplace, aZ as expandResetPatches, bC as fieldsToUi, bD as filtersToUi, bw as findDomain, bR as findPreset, c5 as flattenSchema, as as formatAxisLabel, al as formatCurrency, ap as formatDate, bX as formatForEditor, ao as formatNumber, an as formatPercentage, k as formatValue, at as formatWordsUnderBar, au as formatXAxis, j as generalConfiguration, c9 as getBinding, bg as getCapabilityById, q as getColorFromConditions, c1 as getControlSchema, am as getCurrencySuffix, c4 as getFallbackControlSchema, l as getLocalizedTitle, g as getNestedData, a7 as groupDatesByYearAndMonth, bU as groupIssuesByDomain, aw as handleFilterForCard, ax as handleFilterForSnapshot, av as handleFiltersForCustom, bT as hasBlockingIssues, aB as isLogClassification, aF as isManagePagesDeleteResult, p as isMobilePlatform, K as isPlottable, bI as labelLegendFormatToUi, bG as layoutToUi, ca as listBindings, cb as listBindingsForChart, c2 as listControlSchemaIds, c3 as listControlSchemas, a1 as loadImmediately, B as mergePropertyAppearance, bo as moduleIdFromSelector, bl as normalizeAggregateFunction, bt as normalizeBeforeRequest, bs as normalizeBeforeSave, bj as normalizeChartTypeForRequest, A as normalizeDashboardCardEntityValue, bk as normalizeFilterOperation, bm as normalizeFilters, br as normalizeOnLoad, a0 as observeNearViewport, bV as parseAdvancedJson, bN as persistedToUi, N as plottableGroups, bQ as presetsForCapability, cc as readBoundValue, bZ as readByPath, bh as resolveCapability, c6 as resolveDisplayFields, y as resolveEntityCheckbox, x as resolveEntityUserPhoto, U as resolveMapRegion, X as resolveStatisticIconPlacement, bn as selectorFromLegacy, b_ as setByPath, m as sortChartData, o as sortDataTableView, bE as styleToUi, f as switchAllKeysSmall, s as switchAllKeysToLower, bz as titleToUi, bi as toBackendChartType, bp as toBackendSourceLink, bq as toFormSourceLink, bS as validate } from './masterteam-dashboard-builder-masterteam-dashboard-builder-RdBmY0WP.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.107",
3
+ "version": "0.0.108",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/dashboard-builder",
6
6
  "linkDirectory": true,
@@ -24,7 +24,7 @@
24
24
  "rxjs": "^7.8.2",
25
25
  "tailwindcss": "^4.2.2",
26
26
  "@masterteam/icons": "^0.0.17",
27
- "@masterteam/components": "^0.0.327",
27
+ "@masterteam/components": "^0.0.329",
28
28
  "@masterteam/timeline": "^0.0.23"
29
29
  },
30
30
  "dependencies": {
@@ -13,6 +13,7 @@ import { MTIcon } from '@masterteam/icons';
13
13
  import { TimelineScaleMode, TimelineColumnConfig, TimelineGanttMapping } from '@masterteam/timeline';
14
14
  import { EntityData as EntityData$1, EntityViewType, EntityConfiguration } from '@masterteam/components/entities';
15
15
  import { HttpContext } from '@angular/common/http';
16
+ import * as _masterteam_components_table from '@masterteam/components/table';
16
17
  import { ColumnDef, TableAction, CellChangeEvent } from '@masterteam/components/table';
17
18
  import { ActivatedRoute } from '@angular/router';
18
19
  import { ModalService } from '@masterteam/components/modal';
@@ -4977,6 +4978,11 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4977
4978
  readonly legendIconType: _angular_core.Signal<string>;
4978
4979
  readonly isSideLegend: _angular_core.Signal<boolean>;
4979
4980
  /** Processed table rows */
4981
+ protected readonly replacementRenderer: _angular_core.Type<_masterteam_components_table.TableRendererComponent> | null;
4982
+ private readonly replacementCells;
4983
+ private readonly replacementHeaders;
4984
+ protected readonly replacementRows: _angular_core.Signal<any[]>;
4985
+ protected readonly replacementColumns: _angular_core.Signal<ColumnDef[]>;
4980
4986
  readonly tableRows: _angular_core.WritableSignal<any[]>;
4981
4987
  /** Grouped data */
4982
4988
  readonly groupedData: _angular_core.WritableSignal<any[]>;
@@ -5131,6 +5137,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
5131
5137
  onRowClick(row: any): void;
5132
5138
  /** Handle row double click — the Actions drawer offers it for tables too. */
5133
5139
  onRowDblClick(row: any): void;
5140
+ protected onReplacementDoubleClick(event: MouseEvent): void;
5134
5141
  private emitRowAction;
5135
5142
  /**
5136
5143
  * Handle header click