@masterteam/dashboard-builder 0.0.84 → 0.0.86
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/README.md +458 -456
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BUztpCFu.mjs → masterteam-dashboard-builder-dashboard-dialog.component-Cw9EV2Xn.mjs} +2 -2
- package/fesm2022/{masterteam-dashboard-builder-dashboard-dialog.component-BUztpCFu.mjs.map → masterteam-dashboard-builder-dashboard-dialog.component-Cw9EV2Xn.mjs.map} +1 -1
- package/fesm2022/{masterteam-dashboard-builder-masterteam-dashboard-builder-YD5LrCCJ.mjs → masterteam-dashboard-builder-masterteam-dashboard-builder-Bcn8YzoD.mjs} +48 -32
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-Bcn8YzoD.mjs.map +1 -0
- package/fesm2022/masterteam-dashboard-builder.mjs +1 -1
- package/package.json +2 -2
- package/types/masterteam-dashboard-builder.d.ts +19 -9
- package/fesm2022/masterteam-dashboard-builder-masterteam-dashboard-builder-YD5LrCCJ.mjs.map +0 -1
|
@@ -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-
|
|
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-Bcn8YzoD.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.86",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/dashboard-builder",
|
|
6
6
|
"linkDirectory": true,
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tailwindcss": "^4.2.2",
|
|
26
26
|
"@masterteam/timeline": "^0.0.23",
|
|
27
27
|
"@masterteam/icons": "^0.0.17",
|
|
28
|
-
"@masterteam/components": "^0.0.
|
|
28
|
+
"@masterteam/components": "^0.0.280"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.8.1",
|
|
@@ -3662,7 +3662,7 @@ declare class CardFilterComponent implements OnInit {
|
|
|
3662
3662
|
/** Language code */
|
|
3663
3663
|
readonly langCode: _angular_core.Signal<string>;
|
|
3664
3664
|
/** Filter type */
|
|
3665
|
-
readonly filterType: _angular_core.Signal<"
|
|
3665
|
+
readonly filterType: _angular_core.Signal<"text" | "date" | "select" | "multiselect" | "multiSelect" | "daterange">;
|
|
3666
3666
|
/** Filter options */
|
|
3667
3667
|
readonly options: _angular_core.Signal<_masterteam_dashboard_builder.FilterOption[]>;
|
|
3668
3668
|
/** Placeholder text */
|
|
@@ -3891,14 +3891,14 @@ declare class ChartCardComponent implements OnInit, OnDestroy {
|
|
|
3891
3891
|
/** Whether the user can act on the Configure CTA (builder mode). */
|
|
3892
3892
|
readonly canConfigure: _angular_core.Signal<boolean>;
|
|
3893
3893
|
readonly hasSplitterData: _angular_core.Signal<boolean>;
|
|
3894
|
-
readonly splitterOrientation: _angular_core.Signal<"
|
|
3894
|
+
readonly splitterOrientation: _angular_core.Signal<"horizontal" | "vertical">;
|
|
3895
3895
|
readonly splitterGap: _angular_core.Signal<number>;
|
|
3896
3896
|
readonly hasTimelineData: _angular_core.Signal<boolean>;
|
|
3897
3897
|
readonly timelineEvents: _angular_core.Signal<any[]>;
|
|
3898
3898
|
readonly timelineResources: _angular_core.Signal<any[]>;
|
|
3899
3899
|
readonly timelineLabels: _angular_core.Signal<any[]>;
|
|
3900
3900
|
readonly timelineLegendIconType: _angular_core.Signal<string>;
|
|
3901
|
-
readonly timelineLegendPosition: _angular_core.Signal<"
|
|
3901
|
+
readonly timelineLegendPosition: _angular_core.Signal<"right" | "left" | "top" | "bottom">;
|
|
3902
3902
|
/** Timeline legend visibility — honors the Style Studio "Show legend" toggle. */
|
|
3903
3903
|
readonly timelineLegendShow: _angular_core.Signal<boolean>;
|
|
3904
3904
|
readonly timelineHeaderBgColor: _angular_core.Signal<string | null>;
|
|
@@ -4026,7 +4026,7 @@ declare class EChartComponent implements OnInit, AfterViewInit, OnChanges, OnDes
|
|
|
4026
4026
|
readonly showCustomLegend: _angular_core.Signal<boolean>;
|
|
4027
4027
|
readonly customLegendIconIsRect: _angular_core.Signal<boolean>;
|
|
4028
4028
|
/** Custom HTML legend placement from the configured legend position. */
|
|
4029
|
-
readonly customLegendPosition: _angular_core.Signal<"
|
|
4029
|
+
readonly customLegendPosition: _angular_core.Signal<"right" | "left" | "top" | "bottom">;
|
|
4030
4030
|
constructor();
|
|
4031
4031
|
ngOnInit(): Promise<void>;
|
|
4032
4032
|
ngAfterViewInit(): void;
|
|
@@ -4391,7 +4391,7 @@ declare class HeaderCardComponent implements OnInit, OnDestroy {
|
|
|
4391
4391
|
/** Icon name */
|
|
4392
4392
|
readonly icon: _angular_core.Signal<string>;
|
|
4393
4393
|
/** Position of the layout icon relative to the header title. */
|
|
4394
|
-
readonly iconPlacement: _angular_core.Signal<"
|
|
4394
|
+
readonly iconPlacement: _angular_core.Signal<"top" | "start" | "end">;
|
|
4395
4395
|
/** Logo configuration */
|
|
4396
4396
|
readonly logo: _angular_core.Signal<any>;
|
|
4397
4397
|
/** Logo URL */
|
|
@@ -4707,7 +4707,7 @@ declare class TableCardComponent implements OnInit, OnDestroy {
|
|
|
4707
4707
|
* two never disagree about visibility.
|
|
4708
4708
|
*/
|
|
4709
4709
|
readonly hasLegend: _angular_core.Signal<boolean>;
|
|
4710
|
-
readonly legendPosition: _angular_core.Signal<"
|
|
4710
|
+
readonly legendPosition: _angular_core.Signal<"right" | "left" | "top" | "bottom">;
|
|
4711
4711
|
readonly legendIconType: _angular_core.Signal<string>;
|
|
4712
4712
|
readonly isSideLegend: _angular_core.Signal<boolean>;
|
|
4713
4713
|
/** Processed table rows */
|
|
@@ -4896,7 +4896,7 @@ declare class TopbarCardComponent implements OnInit, OnDestroy {
|
|
|
4896
4896
|
readonly showSubtitle: _angular_core.Signal<boolean>;
|
|
4897
4897
|
readonly icon: _angular_core.Signal<any>;
|
|
4898
4898
|
/** Position of the layout icon relative to the topbar title. */
|
|
4899
|
-
readonly iconPlacement: _angular_core.Signal<"
|
|
4899
|
+
readonly iconPlacement: _angular_core.Signal<"top" | "start" | "end">;
|
|
4900
4900
|
/**
|
|
4901
4901
|
* Center the icon/title block within the topbar row
|
|
4902
4902
|
* (configAsType.headerCardConfig.isHeaderCentered === true) — same source
|
|
@@ -5182,6 +5182,16 @@ declare class BarChartHandler {
|
|
|
5182
5182
|
* Transforms bar chart data into entity preview format (flat array of properties)
|
|
5183
5183
|
*/
|
|
5184
5184
|
handleEntityPreviewWithFormula(dataResponse: any, config: ItemConfig): any;
|
|
5185
|
+
/**
|
|
5186
|
+
* #1549 — a bar in the chart response is identified by `barType`, not `key`.
|
|
5187
|
+
* `ChartTypesServiceV2.BuildSingleCategoryChart` emits
|
|
5188
|
+
* `{ barType, value, color, extraValues }` and matches it against
|
|
5189
|
+
* `barTypes[].key`. Reading `key` alone made every lookup miss: the category
|
|
5190
|
+
* axis rendered a row of empty strings, the response's per-bar colors were
|
|
5191
|
+
* dropped, and grouped mode discarded every bar. `key` stays as the fallback
|
|
5192
|
+
* for the older, entity-shaped payloads that do carry it.
|
|
5193
|
+
*/
|
|
5194
|
+
private resolveBarKey;
|
|
5185
5195
|
private normalizeLegendPosition;
|
|
5186
5196
|
private getLegendLayout;
|
|
5187
5197
|
private getLegendGridOffset;
|
|
@@ -9040,12 +9050,12 @@ interface MapRow {
|
|
|
9040
9050
|
* boolean). Controlled: `value` in, `valueChange` out.
|
|
9041
9051
|
*/
|
|
9042
9052
|
declare class KeyValueMapField {
|
|
9043
|
-
readonly value: _angular_core.InputSignal<Record<string, unknown> |
|
|
9053
|
+
readonly value: _angular_core.InputSignal<unknown[] | Record<string, unknown> | null>;
|
|
9044
9054
|
readonly keys: _angular_core.InputSignal<ControlOption[]>;
|
|
9045
9055
|
readonly valueFields: _angular_core.InputSignal<ControlField[]>;
|
|
9046
9056
|
/** When true, store/read a positional array aligned to `keys` order. */
|
|
9047
9057
|
readonly asArray: _angular_core.InputSignal<boolean>;
|
|
9048
|
-
readonly valueChange: _angular_core.OutputEmitterRef<Record<string, unknown
|
|
9058
|
+
readonly valueChange: _angular_core.OutputEmitterRef<unknown[] | Record<string, unknown>>;
|
|
9049
9059
|
readonly rows: _angular_core.WritableSignal<MapRow[]>;
|
|
9050
9060
|
private readonly destroyRef;
|
|
9051
9061
|
/** Subscriptions for the current row set; torn down on every rebuild. */
|