@masterteam/dashboard-builder 0.0.106 → 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.
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-Dk-e61r-.mjs → masterteam-dashboard-builder-dashboard-dialog.component-BGVYbA1H.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-Dk-e61r-.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-BGVYbA1H.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-CNW8uIYA.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-RdBmY0WP.mjs} +241 -187
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-RdBmY0WP.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +4 -4
- package/types/masterteam-dashboard-builder.d.ts +12 -5
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-CNW8uIYA.mjs.map +0 -1
|
@@ -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-
|
|
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.
|
|
3
|
+
"version": "0.0.108",
|
|
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/
|
|
27
|
-
"@masterteam/
|
|
28
|
-
"@masterteam/
|
|
26
|
+
"@masterteam/icons": "^0.0.17",
|
|
27
|
+
"@masterteam/components": "^0.0.329",
|
|
28
|
+
"@masterteam/timeline": "^0.0.23"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.8.1",
|
|
@@ -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';
|
|
@@ -4657,7 +4658,7 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
|
|
|
4657
4658
|
/** Icon name */
|
|
4658
4659
|
readonly icon: _angular_core.Signal<string>;
|
|
4659
4660
|
/** Position of the layout icon relative to the header title. */
|
|
4660
|
-
readonly iconPlacement: _angular_core.Signal<"
|
|
4661
|
+
readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
|
|
4661
4662
|
/** Logo configuration */
|
|
4662
4663
|
readonly logo: _angular_core.Signal<any>;
|
|
4663
4664
|
/** Logo URL */
|
|
@@ -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
|
|
@@ -5165,7 +5172,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
5165
5172
|
readonly showSubtitle: _angular_core.Signal<boolean>;
|
|
5166
5173
|
readonly icon: _angular_core.Signal<any>;
|
|
5167
5174
|
/** Position of the layout icon relative to the topbar title. */
|
|
5168
|
-
readonly iconPlacement: _angular_core.Signal<"
|
|
5175
|
+
readonly iconPlacement: _angular_core.Signal<"start" | "end" | "top">;
|
|
5169
5176
|
/**
|
|
5170
5177
|
* Center the icon/title block within the topbar row
|
|
5171
5178
|
* (configAsType.headerCardConfig.isHeaderCentered === true) — same source
|
|
@@ -8455,7 +8462,7 @@ declare class DataSourceSettings {
|
|
|
8455
8462
|
* Active tab within the selection cycle: Selection (pick modules) · Source
|
|
8456
8463
|
* Links (joins, only with >1 selection) · Query (fields).
|
|
8457
8464
|
*/
|
|
8458
|
-
readonly activeSection: _angular_core.WritableSignal<"
|
|
8465
|
+
readonly activeSection: _angular_core.WritableSignal<"query" | "selection" | "sourceLinks">;
|
|
8459
8466
|
/** Selection mode inside the selection tab (informative authoring). */
|
|
8460
8467
|
readonly selectionMode: _angular_core.WritableSignal<"advanced" | "context">;
|
|
8461
8468
|
readonly contextTargetSelector: _angular_core.WritableSignal<string | null>;
|
|
@@ -9438,7 +9445,7 @@ interface MapRow {
|
|
|
9438
9445
|
* boolean). Controlled: `value` in, `valueChange` out.
|
|
9439
9446
|
*/
|
|
9440
9447
|
declare class KeyValueMapField {
|
|
9441
|
-
readonly value: _angular_core.InputSignal<
|
|
9448
|
+
readonly value: _angular_core.InputSignal<Record<string, unknown> | unknown[] | null>;
|
|
9442
9449
|
readonly keys: _angular_core.InputSignal<ControlOption[]>;
|
|
9443
9450
|
readonly valueFields: _angular_core.InputSignal<ControlField[]>;
|
|
9444
9451
|
/** When true, store/read a positional array aligned to `keys` order. */
|
|
@@ -9447,7 +9454,7 @@ declare class KeyValueMapField {
|
|
|
9447
9454
|
/** Properties Card: edit localized labels in the same positional row. */
|
|
9448
9455
|
readonly integratedLabels: _angular_core.InputSignal<boolean>;
|
|
9449
9456
|
readonly labelOverrides: _angular_core.InputSignal<Record<string, unknown>>;
|
|
9450
|
-
readonly valueChange: _angular_core.OutputEmitterRef<
|
|
9457
|
+
readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown> | unknown[]>;
|
|
9451
9458
|
readonly labelOverridesChange: _angular_core.OutputEmitterRef<Record<string, unknown>>;
|
|
9452
9459
|
readonly rows: WritableSignal<MapRow[]>;
|
|
9453
9460
|
readonly expandedRows: WritableSignal<ReadonlySet<string>>;
|