@masterteam/dashboard-builder 0.0.88 → 0.0.89

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-DaN0WjWE.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-ziYTIFgC.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.88",
3
+ "version": "0.0.89",
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/timeline": "^0.0.23",
27
- "@masterteam/components": "^0.0.0-watch+1788938712186",
27
+ "@masterteam/components": "^0.0.287",
28
28
  "@masterteam/icons": "^0.0.17"
29
29
  },
30
30
  "dependencies": {
@@ -3910,7 +3910,7 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
3910
3910
  readonly timelineResources: _angular_core.Signal<any[]>;
3911
3911
  readonly timelineLabels: _angular_core.Signal<any[]>;
3912
3912
  readonly timelineLegendIconType: _angular_core.Signal<string>;
3913
- readonly timelineLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
3913
+ readonly timelineLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
3914
3914
  /** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
3915
3915
  readonly timelineLegendShow: _angular_core.Signal<boolean>;
3916
3916
  readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
@@ -4038,7 +4038,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
4038
4038
  readonly showCustomLegend: _angular_core.Signal<boolean>;
4039
4039
  readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
4040
4040
  /** Custom HTML legend placement from the configured legend position. */
4041
- readonly customLegendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4041
+ readonly customLegendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
4042
4042
  constructor();
4043
4043
  ngOnInit(): Promise<void>;
4044
4044
  ngAfterViewInit(): void;
@@ -4729,7 +4729,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4729
4729
  * two never disagree about visibility.
4730
4730
  */
4731
4731
  readonly hasLegend: _angular_core.Signal<boolean>;
4732
- readonly legendPosition: _angular_core.Signal<"bottom" | "top" | "right" | "left">;
4732
+ readonly legendPosition: _angular_core.Signal<"top" | "right" | "bottom" | "left">;
4733
4733
  readonly legendIconType: _angular_core.Signal<string>;
4734
4734
  readonly isSideLegend: _angular_core.Signal<boolean>;
4735
4735
  /** Processed table rows */
@@ -4885,6 +4885,9 @@ declare class TableCardComponent implements OnInit, OnDestroy {
4885
4885
  * Handle row click
4886
4886
  */
4887
4887
  onRowClick(row: any): void;
4888
+ /** Handle row double click — the Actions drawer offers it for tables too. */
4889
+ onRowDblClick(row: any): void;
4890
+ private emitRowAction;
4888
4891
  /**
4889
4892
  * Handle header click
4890
4893
  */
@@ -8556,8 +8559,9 @@ interface ActionFilter {
8556
8559
  * - Trigger types (click, double-click)
8557
8560
  * - A single unified "filters" section per action (replaces the old
8558
8561
  * static/dynamic split). Each filter is propertyKey + a select-or-write value
8559
- * field; any property used is auto-added to the chart's extraProperties so it
8560
- * is returned with the clicked row at runtime.
8562
+ * field. For charts, any property used is auto-added to the chart's
8563
+ * extraProperties so it is returned with the clicked point at runtime; a
8564
+ * table returns only its own properties, so the value field offers those.
8561
8565
  */
8562
8566
  declare class ActionsSettings {
8563
8567
  /** Current configuration */
@@ -8599,7 +8603,21 @@ declare class ActionsSettings {
8599
8603
  * value field's "Properties" tab and kept in sync as filters add keys.
8600
8604
  */
8601
8605
  readonly chartExtraProperties: _angular_core.Signal<string[]>;
8602
- readonly chartExtraPropertyOptions: _angular_core.Signal<(string | IProperty)[]>;
8606
+ /**
8607
+ * A table row carries no `extraValues` — only the table's own properties —
8608
+ * so for tables the value picker offers those properties, and the runtime
8609
+ * reads the clicked row's cell for them.
8610
+ */
8611
+ readonly isTableRowSource: _angular_core.Signal<boolean>;
8612
+ /** Property keys each clicked row of this table carries (empty for charts). */
8613
+ readonly tableRowProperties: _angular_core.Signal<string[]>;
8614
+ /** Properties offered in the value field's "Properties" tab. */
8615
+ readonly valueTokenPropertyOptions: _angular_core.Signal<(string | IProperty)[]>;
8616
+ /**
8617
+ * The property a table filter's `{{extraValues.<key>…}}` token names when
8618
+ * the table does not return it — that value would be empty at runtime.
8619
+ */
8620
+ missingRowProperty(filter: ActionFilter): string | null;
8603
8621
  private normalizeExtraProperties;
8604
8622
  /** Get current actions array safely */
8605
8623
  private getCurrentActions;